arm64: tegra: Remove simple regulators bus

The standard way to do this is to list out the regulators at the top-
level. Adopt the standard way to fix validation.

Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
Thierry Reding 2020-06-12 09:02:05 +02:00
parent 393a403ed8
commit 7517248ad2
9 changed files with 660 additions and 790 deletions

View File

@ -1055,158 +1055,139 @@ panel: panel {
ddc-i2c-bus = <&dpaux>; ddc-i2c-bus = <&dpaux>;
}; };
regulators { vdd_mux: regulator@0 {
compatible = "simple-bus"; compatible = "regulator-fixed";
#address-cells = <1>; regulator-name = "+VDD_MUX";
#size-cells = <0>; regulator-min-microvolt = <19000000>;
regulator-max-microvolt = <19000000>;
regulator-always-on;
regulator-boot-on;
};
vdd_mux: regulator@0 { vdd_5v0_sys: regulator@1 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <0>; regulator-name = "+5V_SYS";
regulator-name = "+VDD_MUX"; regulator-min-microvolt = <5000000>;
regulator-min-microvolt = <19000000>; regulator-max-microvolt = <5000000>;
regulator-max-microvolt = <19000000>; regulator-always-on;
regulator-always-on; regulator-boot-on;
regulator-boot-on; vin-supply = <&vdd_mux>;
}; };
vdd_5v0_sys: regulator@1 { vdd_3v3_sys: regulator@2 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <1>; regulator-name = "+3.3V_SYS";
regulator-name = "+5V_SYS"; regulator-min-microvolt = <3300000>;
regulator-min-microvolt = <5000000>; regulator-max-microvolt = <3300000>;
regulator-max-microvolt = <5000000>; regulator-always-on;
regulator-always-on; regulator-boot-on;
regulator-boot-on; vin-supply = <&vdd_mux>;
vin-supply = <&vdd_mux>; };
};
vdd_3v3_sys: regulator@2 { vdd_3v3_run: regulator@3 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <2>; regulator-name = "+3.3V_RUN";
regulator-name = "+3.3V_SYS"; regulator-min-microvolt = <3300000>;
regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
regulator-max-microvolt = <3300000>; regulator-always-on;
regulator-always-on; regulator-boot-on;
regulator-boot-on; gpio = <&as3722 1 GPIO_ACTIVE_HIGH>;
vin-supply = <&vdd_mux>; enable-active-high;
}; vin-supply = <&vdd_3v3_sys>;
};
vdd_3v3_run: regulator@3 { vdd_3v3_hdmi: regulator@4 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <3>; regulator-name = "+3.3V_AVDD_HDMI_AP_GATED";
regulator-name = "+3.3V_RUN"; regulator-min-microvolt = <3300000>;
regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
regulator-max-microvolt = <3300000>; vin-supply = <&vdd_3v3_run>;
regulator-always-on; };
regulator-boot-on;
gpio = <&as3722 1 GPIO_ACTIVE_HIGH>;
enable-active-high;
vin-supply = <&vdd_3v3_sys>;
};
vdd_3v3_hdmi: regulator@4 { vdd_led: regulator@5 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <4>; regulator-name = "+VDD_LED";
regulator-name = "+3.3V_AVDD_HDMI_AP_GATED"; regulator-min-microvolt = <3300000>;
regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
regulator-max-microvolt = <3300000>; gpio = <&gpio TEGRA_GPIO(P, 2) GPIO_ACTIVE_HIGH>;
vin-supply = <&vdd_3v3_run>; enable-active-high;
}; vin-supply = <&vdd_mux>;
};
vdd_led: regulator@5 { vdd_usb1_vbus: regulator@6 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <5>; regulator-name = "+5V_USB_HS";
regulator-name = "+VDD_LED"; regulator-min-microvolt = <5000000>;
regulator-min-microvolt = <3300000>; regulator-max-microvolt = <5000000>;
regulator-max-microvolt = <3300000>; gpio = <&gpio TEGRA_GPIO(N, 4) GPIO_ACTIVE_HIGH>;
gpio = <&gpio TEGRA_GPIO(P, 2) GPIO_ACTIVE_HIGH>; enable-active-high;
enable-active-high; gpio-open-drain;
vin-supply = <&vdd_mux>; vin-supply = <&vdd_5v0_sys>;
}; };
vdd_usb1_vbus: regulator@6 { vdd_usb3_vbus: regulator@7 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <6>; regulator-name = "+5V_USB_SS";
regulator-name = "+5V_USB_HS"; regulator-min-microvolt = <5000000>;
regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>;
regulator-max-microvolt = <5000000>; gpio = <&gpio TEGRA_GPIO(N, 5) GPIO_ACTIVE_HIGH>;
gpio = <&gpio TEGRA_GPIO(N, 4) GPIO_ACTIVE_HIGH>; enable-active-high;
enable-active-high; gpio-open-drain;
gpio-open-drain; vin-supply = <&vdd_5v0_sys>;
vin-supply = <&vdd_5v0_sys>; };
};
vdd_usb3_vbus: regulator@7 { vdd_3v3_panel: regulator@8 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <7>; regulator-name = "+3.3V_PANEL";
regulator-name = "+5V_USB_SS"; regulator-min-microvolt = <3300000>;
regulator-min-microvolt = <5000000>; regulator-max-microvolt = <3300000>;
regulator-max-microvolt = <5000000>; gpio = <&as3722 4 GPIO_ACTIVE_HIGH>;
gpio = <&gpio TEGRA_GPIO(N, 5) GPIO_ACTIVE_HIGH>; enable-active-high;
enable-active-high; vin-supply = <&vdd_3v3_sys>;
gpio-open-drain; };
vin-supply = <&vdd_5v0_sys>;
};
vdd_3v3_panel: regulator@8 { vdd_hdmi_pll: regulator@9 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <8>; regulator-name = "+1.05V_RUN_AVDD_HDMI_PLL_AP_GATE";
regulator-name = "+3.3V_PANEL"; regulator-min-microvolt = <1050000>;
regulator-min-microvolt = <3300000>; regulator-max-microvolt = <1050000>;
regulator-max-microvolt = <3300000>; gpio = <&gpio TEGRA_GPIO(H, 7) GPIO_ACTIVE_LOW>;
gpio = <&as3722 4 GPIO_ACTIVE_HIGH>; vin-supply = <&vdd_1v05_run>;
enable-active-high; };
vin-supply = <&vdd_3v3_sys>;
};
vdd_hdmi_pll: regulator@9 { vdd_5v0_hdmi: regulator@10 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <9>; regulator-name = "+5V_HDMI_CON";
regulator-name = "+1.05V_RUN_AVDD_HDMI_PLL_AP_GATE"; regulator-min-microvolt = <5000000>;
regulator-min-microvolt = <1050000>; regulator-max-microvolt = <5000000>;
regulator-max-microvolt = <1050000>; gpio = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_HIGH>;
gpio = <&gpio TEGRA_GPIO(H, 7) GPIO_ACTIVE_LOW>; enable-active-high;
vin-supply = <&vdd_1v05_run>; vin-supply = <&vdd_5v0_sys>;
}; };
vdd_5v0_hdmi: regulator@10 { vdd_5v0_ts: regulator@11 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <10>; regulator-name = "+5V_VDD_TS";
regulator-name = "+5V_HDMI_CON"; regulator-min-microvolt = <5000000>;
regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>;
regulator-max-microvolt = <5000000>; regulator-always-on;
gpio = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_HIGH>; regulator-boot-on;
enable-active-high; gpio = <&gpio TEGRA_GPIO(K, 1) GPIO_ACTIVE_HIGH>;
vin-supply = <&vdd_5v0_sys>; enable-active-high;
}; };
vdd_5v0_ts: regulator@11 { vdd_3v3_lp0: regulator@12 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <11>; regulator-name = "+3.3V_LP0";
regulator-name = "+5V_VDD_TS"; regulator-min-microvolt = <3300000>;
regulator-min-microvolt = <5000000>; regulator-max-microvolt = <3300000>;
regulator-max-microvolt = <5000000>; /*
regulator-always-on; * TODO: find a way to wire this up with the USB EHCI
regulator-boot-on; * controllers so that it can be enabled on demand.
gpio = <&gpio TEGRA_GPIO(K, 1) GPIO_ACTIVE_HIGH>; */
enable-active-high; regulator-always-on;
}; gpio = <&as3722 2 GPIO_ACTIVE_HIGH>;
enable-active-high;
vdd_3v3_lp0: regulator@12 { vin-supply = <&vdd_3v3_sys>;
compatible = "regulator-fixed";
reg = <12>;
regulator-name = "+3.3V_LP0";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
/*
* TODO: find a way to wire this up with the USB EHCI
* controllers so that it can be enabled on demand.
*/
regulator-always-on;
gpio = <&as3722 2 GPIO_ACTIVE_HIGH>;
enable-active-high;
vin-supply = <&vdd_3v3_sys>;
};
}; };
}; };

View File

@ -333,62 +333,51 @@ volume-down {
}; };
}; };
regulators { vdd_sd: regulator@100 {
vdd_sd: regulator@100 { compatible = "regulator-fixed";
compatible = "regulator-fixed"; regulator-name = "SD_CARD_SW_PWR";
reg = <100>; regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-name = "SD_CARD_SW_PWR"; gpio = <&gpio TEGRA186_MAIN_GPIO(P, 6) GPIO_ACTIVE_HIGH>;
regulator-min-microvolt = <3300000>; enable-active-high;
regulator-max-microvolt = <3300000>;
gpio = <&gpio TEGRA186_MAIN_GPIO(P, 6) vin-supply = <&vdd_3v3_sys>;
GPIO_ACTIVE_HIGH>; };
enable-active-high;
vin-supply = <&vdd_3v3_sys>; vdd_hdmi: regulator@101 {
}; compatible = "regulator-fixed";
regulator-name = "VDD_HDMI_5V0";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
vdd_hdmi: regulator@101 { gpio = <&exp1 14 GPIO_ACTIVE_HIGH>;
compatible = "regulator-fixed"; enable-active-high;
reg = <101>;
regulator-name = "VDD_HDMI_5V0"; vin-supply = <&vdd_5v0_sys>;
regulator-min-microvolt = <5000000>; };
regulator-max-microvolt = <5000000>;
gpio = <&exp1 14 GPIO_ACTIVE_HIGH>; vdd_usb0: regulator@102 {
enable-active-high; compatible = "regulator-fixed";
regulator-name = "VDD_USB0";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
vin-supply = <&vdd_5v0_sys>; gpio = <&gpio TEGRA186_MAIN_GPIO(L, 4) GPIO_ACTIVE_HIGH>;
}; enable-active-high;
vdd_usb0: regulator@102 { vin-supply = <&vdd_5v0_sys>;
compatible = "regulator-fixed"; };
reg = <102>;
regulator-name = "VDD_USB0"; vdd_usb1: regulator@103 {
regulator-min-microvolt = <5000000>; compatible = "regulator-fixed";
regulator-max-microvolt = <5000000>; regulator-name = "VDD_USB1";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio = <&gpio TEGRA186_MAIN_GPIO(L, 4) GPIO_ACTIVE_HIGH>; gpio = <&gpio TEGRA186_MAIN_GPIO(L, 5) GPIO_ACTIVE_HIGH>;
enable-active-high; enable-active-high;
vin-supply = <&vdd_5v0_sys>; vin-supply = <&vdd_5v0_sys>;
};
vdd_usb1: regulator@103 {
compatible = "regulator-fixed";
reg = <103>;
regulator-name = "VDD_USB1";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio = <&gpio TEGRA186_MAIN_GPIO(L, 5) GPIO_ACTIVE_HIGH>;
enable-active-high;
vin-supply = <&vdd_5v0_sys>;
};
}; };
}; };

View File

@ -392,45 +392,33 @@ psci {
method = "smc"; method = "smc";
}; };
regulators { gnd: regulator@0 {
compatible = "simple-bus"; compatible = "regulator-fixed";
#address-cells = <1>; regulator-name = "GND";
#size-cells = <0>; regulator-min-microvolt = <0>;
regulator-max-microvolt = <0>;
regulator-always-on;
regulator-boot-on;
};
gnd: regulator@0 { vdd_5v0_sys: regulator@1 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <0>; regulator-name = "VDD_5V0_SYS";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-always-on;
regulator-boot-on;
};
regulator-name = "GND"; vdd_1v8_ap: regulator@2 {
regulator-min-microvolt = <0>; compatible = "regulator-fixed";
regulator-max-microvolt = <0>; regulator-name = "VDD_1V8_AP";
regulator-always-on; regulator-min-microvolt = <1800000>;
regulator-boot-on; regulator-max-microvolt = <1800000>;
};
vdd_5v0_sys: regulator@1 { gpio = <&pmic 1 GPIO_ACTIVE_HIGH>;
compatible = "regulator-fixed"; enable-active-high;
reg = <1>;
regulator-name = "VDD_5V0_SYS"; vin-supply = <&vdd_1v8>;
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-always-on;
regulator-boot-on;
};
vdd_1v8_ap: regulator@2 {
compatible = "regulator-fixed";
reg = <2>;
regulator-name = "VDD_1V8_AP";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
gpio = <&pmic 1 GPIO_ACTIVE_HIGH>;
enable-active-high;
vin-supply = <&vdd_1v8>;
};
}; };
}; };

View File

@ -293,65 +293,49 @@ temperature-sensor@4c {
}; };
}; };
regulators { vdd_5v0_sys: regulator@0 {
compatible = "simple-bus"; compatible = "regulator-fixed";
#address-cells = <1>; regulator-name = "VIN_SYS_5V0";
#size-cells = <0>; regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-always-on;
regulator-boot-on;
};
vdd_5v0_sys: regulator@0 { vdd_hdmi: regulator@1 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <0>; regulator-name = "VDD_5V0_HDMI_CON";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio = <&gpio TEGRA194_MAIN_GPIO(A, 3) GPIO_ACTIVE_HIGH>;
enable-active-high;
};
regulator-name = "VIN_SYS_5V0"; vdd_3v3_pcie: regulator@2 {
regulator-min-microvolt = <5000000>; compatible = "regulator-fixed";
regulator-max-microvolt = <5000000>; regulator-name = "PEX_3V3";
regulator-always-on; regulator-min-microvolt = <3300000>;
regulator-boot-on; regulator-max-microvolt = <3300000>;
}; gpio = <&gpio TEGRA194_MAIN_GPIO(Z, 2) GPIO_ACTIVE_HIGH>;
regulator-boot-on;
enable-active-high;
};
vdd_hdmi: regulator@1 { vdd_12v_pcie: regulator@3 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <1>; regulator-name = "VDD_12V";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
gpio = <&gpio TEGRA194_MAIN_GPIO(A, 1) GPIO_ACTIVE_HIGH>;
regulator-boot-on;
};
regulator-name = "VDD_5V0_HDMI_CON"; vdd_5v_sata: regulator@4 {
regulator-min-microvolt = <5000000>; compatible = "regulator-fixed";
regulator-max-microvolt = <5000000>; regulator-name = "VDD_5V_SATA";
gpio = <&gpio TEGRA194_MAIN_GPIO(A, 3) GPIO_ACTIVE_HIGH>; regulator-min-microvolt = <5000000>;
enable-active-high; regulator-max-microvolt = <5000000>;
}; gpio = <&gpio TEGRA194_MAIN_GPIO(Z, 1) GPIO_ACTIVE_HIGH>;
enable-active-high;
vdd_3v3_pcie: regulator@2 {
compatible = "regulator-fixed";
reg = <2>;
regulator-name = "PEX_3V3";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
gpio = <&gpio TEGRA194_MAIN_GPIO(Z, 2) GPIO_ACTIVE_HIGH>;
regulator-boot-on;
enable-active-high;
};
vdd_12v_pcie: regulator@3 {
compatible = "regulator-fixed";
reg = <3>;
regulator-name = "VDD_12V";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
gpio = <&gpio TEGRA194_MAIN_GPIO(A, 1) GPIO_ACTIVE_HIGH>;
regulator-boot-on;
};
vdd_5v_sata: regulator@4 {
compatible = "regulator-fixed";
reg = <4>;
regulator-name = "VDD_5V_SATA";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio = <&gpio TEGRA194_MAIN_GPIO(Z, 1) GPIO_ACTIVE_HIGH>;
enable-active-high;
};
}; };
}; };

View File

@ -335,18 +335,15 @@ psci {
method = "smc"; method = "smc";
}; };
regulators { vdd_gpu: regulator@100 {
vdd_gpu: regulator@100 { compatible = "pwm-regulator";
compatible = "pwm-regulator"; pwms = <&pwm 1 4880>;
reg = <100>; regulator-name = "VDD_GPU";
pwms = <&pwm 1 4880>; regulator-min-microvolt = <710000>;
regulator-name = "VDD_GPU"; regulator-max-microvolt = <1320000>;
regulator-min-microvolt = <710000>; enable-gpios = <&pmic 6 GPIO_ACTIVE_HIGH>;
regulator-max-microvolt = <1320000>; regulator-ramp-delay = <80>;
enable-gpios = <&pmic 6 GPIO_ACTIVE_HIGH>; regulator-enable-ramp-delay = <2000>;
regulator-ramp-delay = <80>; regulator-settling-time-us = <160>;
regulator-enable-ramp-delay = <2000>;
regulator-settling-time-us = <160>;
};
}; };
}; };

View File

@ -1523,152 +1523,6 @@ usb@700d0000 {
hvdd-usb-supply = <&vdd_1v8>; hvdd-usb-supply = <&vdd_1v8>;
}; };
regulators {
compatible = "simple-bus";
#address-cells = <1>;
#size-cells = <0>;
vdd_sys_mux: regulator@0 {
compatible = "regulator-fixed";
reg = <0>;
regulator-name = "VDD_SYS_MUX";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-always-on;
regulator-boot-on;
};
vdd_5v0_sys: regulator@1 {
compatible = "regulator-fixed";
reg = <1>;
regulator-name = "VDD_5V0_SYS";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-always-on;
regulator-boot-on;
gpio = <&pmic 1 GPIO_ACTIVE_HIGH>;
enable-active-high;
vin-supply = <&vdd_sys_mux>;
};
vdd_3v3_sys: regulator@2 {
compatible = "regulator-fixed";
reg = <2>;
regulator-name = "VDD_3V3_SYS";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
regulator-boot-on;
gpio = <&pmic 3 GPIO_ACTIVE_HIGH>;
enable-active-high;
vin-supply = <&vdd_sys_mux>;
regulator-enable-ramp-delay = <160>;
regulator-disable-ramp-delay = <10000>;
};
vdd_5v0_io: regulator@3 {
compatible = "regulator-fixed";
reg = <3>;
regulator-name = "VDD_5V0_IO_SYS";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-always-on;
regulator-boot-on;
};
vdd_3v3_sd: regulator@4 {
compatible = "regulator-fixed";
reg = <4>;
regulator-name = "VDD_3V3_SD";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
gpio = <&gpio TEGRA_GPIO(Z, 4) GPIO_ACTIVE_HIGH>;
enable-active-high;
vin-supply = <&vdd_3v3_sys>;
regulator-enable-ramp-delay = <472>;
regulator-disable-ramp-delay = <4880>;
};
vdd_dsi_csi: regulator@5 {
compatible = "regulator-fixed";
reg = <5>;
regulator-name = "AVDD_DSI_CSI_1V2";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
vin-supply = <&vdd_sys_1v2>;
};
vdd_3v3_dis: regulator@6 {
compatible = "regulator-fixed";
reg = <6>;
regulator-name = "VDD_DIS_3V3_LCD";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
gpio = <&exp1 3 GPIO_ACTIVE_HIGH>;
enable-active-high;
vin-supply = <&vdd_3v3_sys>;
};
vdd_1v8_dis: regulator@7 {
compatible = "regulator-fixed";
reg = <7>;
regulator-name = "VDD_LCD_1V8_DIS";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
gpio = <&exp1 14 GPIO_ACTIVE_HIGH>;
enable-active-high;
vin-supply = <&vdd_1v8>;
};
vdd_5v0_rtl: regulator@8 {
compatible = "regulator-fixed";
reg = <8>;
regulator-name = "RTL_5V";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio = <&gpio TEGRA_GPIO(H, 1) GPIO_ACTIVE_HIGH>;
enable-active-high;
vin-supply = <&vdd_5v0_sys>;
};
vdd_usb_vbus: regulator@9 {
compatible = "regulator-fixed";
reg = <9>;
regulator-name = "USB_VBUS_EN1";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio = <&gpio TEGRA_GPIO(CC, 5) GPIO_ACTIVE_HIGH>;
enable-active-high;
vin-supply = <&vdd_5v0_sys>;
};
vdd_usb_vbus_otg: regulator@11 {
compatible = "regulator-fixed";
reg = <9>;
regulator-name = "USB_VBUS_EN0";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio = <&gpio TEGRA_GPIO(CC, 4) GPIO_ACTIVE_HIGH>;
enable-active-high;
vin-supply = <&vdd_5v0_sys>;
};
vdd_hdmi: regulator@10 {
compatible = "regulator-fixed";
reg = <10>;
regulator-name = "VDD_HDMI_5V0";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio = <&exp1 12 GPIO_ACTIVE_HIGH>;
enable-active-high;
vin-supply = <&vdd_5v0_sys>;
};
};
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
label = "gpio-keys"; label = "gpio-keys";
@ -1692,4 +1546,132 @@ volume_up {
linux,code = <KEY_VOLUMEUP>; linux,code = <KEY_VOLUMEUP>;
}; };
}; };
vdd_sys_mux: regulator@0 {
compatible = "regulator-fixed";
regulator-name = "VDD_SYS_MUX";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-always-on;
regulator-boot-on;
};
vdd_5v0_sys: regulator@1 {
compatible = "regulator-fixed";
regulator-name = "VDD_5V0_SYS";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-always-on;
regulator-boot-on;
gpio = <&pmic 1 GPIO_ACTIVE_HIGH>;
enable-active-high;
vin-supply = <&vdd_sys_mux>;
};
vdd_3v3_sys: regulator@2 {
compatible = "regulator-fixed";
regulator-name = "VDD_3V3_SYS";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
regulator-boot-on;
gpio = <&pmic 3 GPIO_ACTIVE_HIGH>;
enable-active-high;
vin-supply = <&vdd_sys_mux>;
regulator-enable-ramp-delay = <160>;
regulator-disable-ramp-delay = <10000>;
};
vdd_5v0_io: regulator@3 {
compatible = "regulator-fixed";
regulator-name = "VDD_5V0_IO_SYS";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-always-on;
regulator-boot-on;
};
vdd_3v3_sd: regulator@4 {
compatible = "regulator-fixed";
regulator-name = "VDD_3V3_SD";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
gpio = <&gpio TEGRA_GPIO(Z, 4) GPIO_ACTIVE_HIGH>;
enable-active-high;
vin-supply = <&vdd_3v3_sys>;
regulator-enable-ramp-delay = <472>;
regulator-disable-ramp-delay = <4880>;
};
vdd_dsi_csi: regulator@5 {
compatible = "regulator-fixed";
regulator-name = "AVDD_DSI_CSI_1V2";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
vin-supply = <&vdd_sys_1v2>;
};
vdd_3v3_dis: regulator@6 {
compatible = "regulator-fixed";
regulator-name = "VDD_DIS_3V3_LCD";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
gpio = <&exp1 3 GPIO_ACTIVE_HIGH>;
enable-active-high;
vin-supply = <&vdd_3v3_sys>;
};
vdd_1v8_dis: regulator@7 {
compatible = "regulator-fixed";
regulator-name = "VDD_LCD_1V8_DIS";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
gpio = <&exp1 14 GPIO_ACTIVE_HIGH>;
enable-active-high;
vin-supply = <&vdd_1v8>;
};
vdd_5v0_rtl: regulator@8 {
compatible = "regulator-fixed";
regulator-name = "RTL_5V";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio = <&gpio TEGRA_GPIO(H, 1) GPIO_ACTIVE_HIGH>;
enable-active-high;
vin-supply = <&vdd_5v0_sys>;
};
vdd_usb_vbus: regulator@9 {
compatible = "regulator-fixed";
regulator-name = "USB_VBUS_EN1";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio = <&gpio TEGRA_GPIO(CC, 5) GPIO_ACTIVE_HIGH>;
enable-active-high;
vin-supply = <&vdd_5v0_sys>;
};
vdd_usb_vbus_otg: regulator@11 {
compatible = "regulator-fixed";
regulator-name = "USB_VBUS_EN0";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio = <&gpio TEGRA_GPIO(CC, 4) GPIO_ACTIVE_HIGH>;
enable-active-high;
vin-supply = <&vdd_5v0_sys>;
};
vdd_hdmi: regulator@10 {
compatible = "regulator-fixed";
regulator-name = "VDD_HDMI_5V0";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio = <&exp1 12 GPIO_ACTIVE_HIGH>;
enable-active-high;
vin-supply = <&vdd_5v0_sys>;
};
}; };

View File

@ -1635,223 +1635,198 @@ psci {
method = "smc"; method = "smc";
}; };
regulators { battery_reg: regulator@0 {
compatible = "simple-bus"; compatible = "regulator-fixed";
device_type = "fixed-regulators"; regulator-name = "vdd-ac-bat";
#address-cells = <1>; regulator-min-microvolt = <5000000>;
#size-cells = <0>; regulator-max-microvolt = <5000000>;
regulator-always-on;
};
battery_reg: regulator@0 { vdd_3v3: regulator@1 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <0>; regulator-name = "vdd-3v3";
regulator-name = "vdd-ac-bat"; regulator-enable-ramp-delay = <160>;
regulator-min-microvolt = <5000000>; regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <5000000>; regulator-max-microvolt = <3300000>;
regulator-always-on; regulator-always-on;
};
vdd_3v3: regulator@1 { gpio = <&max77620 3 GPIO_ACTIVE_HIGH>;
compatible = "regulator-fixed"; enable-active-high;
reg = <1>; };
regulator-name = "vdd-3v3";
regulator-enable-ramp-delay = <160>;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
gpio = <&max77620 3 GPIO_ACTIVE_HIGH>; max77620_gpio7: regulator@2 {
enable-active-high; compatible = "regulator-fixed";
}; regulator-name = "max77620-gpio7";
regulator-enable-ramp-delay = <240>;
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
vin-supply = <&max77620_ldo0>;
regulator-always-on;
regulator-boot-on;
max77620_gpio7: regulator@2 { gpio = <&max77620 7 GPIO_ACTIVE_HIGH>;
compatible = "regulator-fixed"; enable-active-high;
reg = <2>; };
regulator-name = "max77620-gpio7";
regulator-enable-ramp-delay = <240>;
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
vin-supply = <&max77620_ldo0>;
regulator-always-on;
regulator-boot-on;
gpio = <&max77620 7 GPIO_ACTIVE_HIGH>; lcd_bl_en: regulator@3 {
enable-active-high; compatible = "regulator-fixed";
}; regulator-name = "lcd-bl-en";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-boot-on;
lcd_bl_en: regulator@3 { gpio = <&gpio TEGRA_GPIO(V, 1) GPIO_ACTIVE_HIGH>;
compatible = "regulator-fixed"; enable-active-high;
reg = <3>; };
regulator-name = "lcd-bl-en";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-boot-on;
gpio = <&gpio TEGRA_GPIO(V, 1) GPIO_ACTIVE_HIGH>; en_vdd_sd: regulator@4 {
enable-active-high; compatible = "regulator-fixed";
}; regulator-name = "en-vdd-sd";
regulator-enable-ramp-delay = <472>;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
vin-supply = <&vdd_3v3>;
en_vdd_sd: regulator@4 { gpio = <&gpio TEGRA_GPIO(Z, 4) GPIO_ACTIVE_HIGH>;
compatible = "regulator-fixed"; enable-active-high;
reg = <4>; };
regulator-name = "en-vdd-sd";
regulator-enable-ramp-delay = <472>;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
vin-supply = <&vdd_3v3>;
gpio = <&gpio TEGRA_GPIO(Z, 4) GPIO_ACTIVE_HIGH>; en_vdd_cam: regulator@5 {
enable-active-high; compatible = "regulator-fixed";
}; regulator-name = "en-vdd-cam";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
en_vdd_cam: regulator@5 { gpio = <&gpio TEGRA_GPIO(S, 4) GPIO_ACTIVE_HIGH>;
compatible = "regulator-fixed"; enable-active-high;
reg = <5>; };
regulator-name = "en-vdd-cam";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
gpio = <&gpio TEGRA_GPIO(S, 4) GPIO_ACTIVE_HIGH>; vdd_sys_boost: regulator@6 {
enable-active-high; compatible = "regulator-fixed";
}; regulator-name = "vdd-sys-boost";
regulator-enable-ramp-delay = <3090>;
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-always-on;
vdd_sys_boost: regulator@6 { gpio = <&max77620 1 GPIO_ACTIVE_HIGH>;
compatible = "regulator-fixed"; enable-active-high;
reg = <6>; };
regulator-name = "vdd-sys-boost";
regulator-enable-ramp-delay = <3090>;
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-always-on;
gpio = <&max77620 1 GPIO_ACTIVE_HIGH>; vdd_hdmi: regulator@7 {
enable-active-high; compatible = "regulator-fixed";
}; regulator-name = "vdd-hdmi";
regulator-enable-ramp-delay = <468>;
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
vin-supply = <&vdd_sys_boost>;
regulator-boot-on;
vdd_hdmi: regulator@7 { gpio = <&gpio TEGRA_GPIO(CC, 7) GPIO_ACTIVE_HIGH>;
compatible = "regulator-fixed"; enable-active-high;
reg = <7>; };
regulator-name = "vdd-hdmi";
regulator-enable-ramp-delay = <468>;
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
vin-supply = <&vdd_sys_boost>;
regulator-boot-on;
gpio = <&gpio TEGRA_GPIO(CC, 7) GPIO_ACTIVE_HIGH>; en_vdd_cpu_fixed: regulator@8 {
enable-active-high; compatible = "regulator-fixed";
}; regulator-name = "vdd-cpu-fixed";
regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <1000000>;
};
en_vdd_cpu_fixed: regulator@8 { vdd_aux_3v3: regulator@9 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <8>; regulator-name = "aux-3v3";
regulator-name = "vdd-cpu-fixed"; regulator-min-microvolt = <3300000>;
regulator-min-microvolt = <1000000>; regulator-max-microvolt = <3300000>;
regulator-max-microvolt = <1000000>; };
};
vdd_aux_3v3: regulator@9 { vdd_snsr_pm: regulator@10 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <9>; regulator-name = "snsr_pm";
regulator-name = "aux-3v3"; regulator-min-microvolt = <3300000>;
regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
};
vdd_snsr_pm: regulator@10 { enable-active-high;
compatible = "regulator-fixed"; };
reg = <10>;
regulator-name = "snsr_pm";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
enable-active-high; vdd_usb_5v0: regulator@11 {
}; compatible = "regulator-fixed";
status = "disabled";
regulator-name = "vdd-usb-5v0";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
vin-supply = <&vdd_3v3>;
vdd_usb_5v0: regulator@11 { enable-active-high;
compatible = "regulator-fixed"; };
reg = <11>;
status = "disabled";
regulator-name = "vdd-usb-5v0";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
vin-supply = <&vdd_3v3>;
enable-active-high; vdd_cdc_1v2_aud: regulator@101 {
}; compatible = "regulator-fixed";
status = "disabled";
regulator-name = "vdd_cdc_1v2_aud";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
startup-delay-us = <250000>;
vdd_cdc_1v2_aud: regulator@101 { enable-active-high;
compatible = "regulator-fixed"; };
reg = <101>;
status = "disabled";
regulator-name = "vdd_cdc_1v2_aud";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
startup-delay-us = <250000>;
enable-active-high; vdd_disp_3v0: regulator@12 {
}; compatible = "regulator-fixed";
regulator-name = "vdd-disp-3v0";
regulator-enable-ramp-delay = <232>;
regulator-min-microvolt = <3000000>;
regulator-max-microvolt = <3000000>;
regulator-always-on;
vdd_disp_3v0: regulator@12 { gpio = <&gpio TEGRA_GPIO(I, 3) GPIO_ACTIVE_HIGH>;
compatible = "regulator-fixed"; enable-active-high;
reg = <12>; };
regulator-name = "vdd-disp-3v0";
regulator-enable-ramp-delay = <232>;
regulator-min-microvolt = <3000000>;
regulator-max-microvolt = <3000000>;
regulator-always-on;
gpio = <&gpio TEGRA_GPIO(I, 3) GPIO_ACTIVE_HIGH>; vdd_fan: regulator@13 {
enable-active-high; compatible = "regulator-fixed";
}; regulator-name = "vdd-fan";
regulator-enable-ramp-delay = <284>;
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
vdd_fan: regulator@13 { gpio = <&gpio TEGRA_GPIO(E, 4) GPIO_ACTIVE_HIGH>;
compatible = "regulator-fixed"; enable-active-high;
reg = <13>; };
regulator-name = "vdd-fan";
regulator-enable-ramp-delay = <284>;
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio = <&gpio TEGRA_GPIO(E, 4) GPIO_ACTIVE_HIGH>; usb_vbus1: regulator@14 {
enable-active-high; compatible = "regulator-fixed";
}; regulator-name = "usb-vbus1";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
usb_vbus1: regulator@14 { gpio = <&gpio TEGRA_GPIO(CC, 5) GPIO_ACTIVE_HIGH>;
compatible = "regulator-fixed"; enable-active-high;
reg = <14>; gpio-open-drain;
regulator-name = "usb-vbus1"; };
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio = <&gpio TEGRA_GPIO(CC, 5) GPIO_ACTIVE_HIGH>; usb_vbus2: regulator@15 {
enable-active-high; compatible = "regulator-fixed";
gpio-open-drain; regulator-name = "usb-vbus2";
}; regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
usb_vbus2: regulator@15 { gpio = <&gpio TEGRA_GPIO(CC, 4) GPIO_ACTIVE_HIGH>;
compatible = "regulator-fixed"; enable-active-high;
reg = <15>; gpio-open-drain;
regulator-name = "usb-vbus2"; };
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio = <&gpio TEGRA_GPIO(CC, 4) GPIO_ACTIVE_HIGH>; vdd_3v3_eth: regulator@16 {
enable-active-high; compatible = "regulator-fixed";
gpio-open-drain; regulator-name = "vdd-3v3-eth-a02";
}; regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
regulator-boot-on;
vdd_3v3_eth: regulator@16 { gpio = <&gpio TEGRA_GPIO(D, 4) GPIO_ACTIVE_HIGH>;
compatible = "regulator-fixed"; enable-active-high;
reg = <16>; gpio-open-drain;
regulator-name = "vdd-3v3-eth-a02";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
regulator-boot-on;
gpio = <&gpio TEGRA_GPIO(D, 4) GPIO_ACTIVE_HIGH>;
enable-active-high;
gpio-open-drain;
};
}; };
}; };

View File

@ -691,120 +691,109 @@ psci {
method = "smc"; method = "smc";
}; };
regulators { vdd_5v0_sys: regulator@0 {
compatible = "simple-bus"; compatible = "regulator-fixed";
#address-cells = <1>;
#size-cells = <0>;
vdd_5v0_sys: regulator@0 { regulator-name = "VDD_5V0_SYS";
compatible = "regulator-fixed"; regulator-min-microvolt = <5000000>;
reg = <0>; regulator-max-microvolt = <5000000>;
regulator-always-on;
regulator-boot-on;
};
regulator-name = "VDD_5V0_SYS"; vdd_3v3_sys: regulator@1 {
regulator-min-microvolt = <5000000>; compatible = "regulator-fixed";
regulator-max-microvolt = <5000000>;
regulator-always-on;
regulator-boot-on;
};
vdd_3v3_sys: regulator@1 { regulator-name = "VDD_3V3_SYS";
compatible = "regulator-fixed"; regulator-min-microvolt = <3300000>;
reg = <1>; regulator-max-microvolt = <3300000>;
regulator-name = "VDD_3V3_SYS"; regulator-enable-ramp-delay = <240>;
regulator-min-microvolt = <3300000>; regulator-disable-ramp-delay = <11340>;
regulator-max-microvolt = <3300000>; regulator-always-on;
regulator-enable-ramp-delay = <240>; regulator-boot-on;
regulator-disable-ramp-delay = <11340>;
regulator-always-on;
regulator-boot-on;
gpio = <&pmic 3 GPIO_ACTIVE_HIGH>; gpio = <&pmic 3 GPIO_ACTIVE_HIGH>;
enable-active-high; enable-active-high;
vin-supply = <&vdd_5v0_sys>; vin-supply = <&vdd_5v0_sys>;
}; };
vdd_3v3_sd: regulator@2 { vdd_3v3_sd: regulator@2 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <2>;
regulator-name = "VDD_3V3_SD"; regulator-name = "VDD_3V3_SD";
regulator-min-microvolt = <3300000>; regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
gpio = <&gpio TEGRA_GPIO(Z, 3) GPIO_ACTIVE_HIGH>; gpio = <&gpio TEGRA_GPIO(Z, 3) GPIO_ACTIVE_HIGH>;
enable-active-high; enable-active-high;
vin-supply = <&vdd_3v3_sys>; vin-supply = <&vdd_3v3_sys>;
}; };
vdd_hdmi: regulator@3 { vdd_hdmi: regulator@3 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <3>;
regulator-name = "VDD_HDMI_5V0"; regulator-name = "VDD_HDMI_5V0";
regulator-min-microvolt = <5000000>; regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>; regulator-max-microvolt = <5000000>;
vin-supply = <&vdd_5v0_sys>; vin-supply = <&vdd_5v0_sys>;
}; };
vdd_hub_3v3: regulator@4 { vdd_hub_3v3: regulator@4 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <4>;
regulator-name = "VDD_HUB_3V3"; regulator-name = "VDD_HUB_3V3";
regulator-min-microvolt = <3300000>; regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
gpio = <&gpio TEGRA_GPIO(A, 6) GPIO_ACTIVE_HIGH>; gpio = <&gpio TEGRA_GPIO(A, 6) GPIO_ACTIVE_HIGH>;
enable-active-high; enable-active-high;
vin-supply = <&vdd_5v0_sys>; vin-supply = <&vdd_5v0_sys>;
}; };
vdd_cpu: regulator@5 { vdd_cpu: regulator@5 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <5>;
regulator-name = "VDD_CPU"; regulator-name = "VDD_CPU";
regulator-min-microvolt = <5000000>; regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>; regulator-max-microvolt = <5000000>;
regulator-always-on; regulator-always-on;
regulator-boot-on; regulator-boot-on;
gpio = <&pmic 5 GPIO_ACTIVE_HIGH>; gpio = <&pmic 5 GPIO_ACTIVE_HIGH>;
enable-active-high; enable-active-high;
vin-supply = <&vdd_5v0_sys>; vin-supply = <&vdd_5v0_sys>;
}; };
vdd_gpu: regulator@6 { vdd_gpu: regulator@6 {
compatible = "pwm-regulator"; compatible = "pwm-regulator";
reg = <6>; pwms = <&pwm 1 4880>;
pwms = <&pwm 1 4880>;
regulator-name = "VDD_GPU";
regulator-min-microvolt = <710000>;
regulator-max-microvolt = <1320000>;
regulator-ramp-delay = <80>;
regulator-enable-ramp-delay = <2000>;
regulator-settling-time-us = <160>;
enable-gpios = <&pmic 6 GPIO_ACTIVE_HIGH>;
vin-supply = <&vdd_5v0_sys>;
};
avdd_io_edp_1v05: regulator@7 { regulator-name = "VDD_GPU";
compatible = "regulator-fixed"; regulator-min-microvolt = <710000>;
reg = <7>; regulator-max-microvolt = <1320000>;
regulator-ramp-delay = <80>;
regulator-enable-ramp-delay = <2000>;
regulator-settling-time-us = <160>;
regulator-name = "AVDD_IO_EDP_1V05"; enable-gpios = <&pmic 6 GPIO_ACTIVE_HIGH>;
regulator-min-microvolt = <1050000>; vin-supply = <&vdd_5v0_sys>;
regulator-max-microvolt = <1050000>; };
gpio = <&pmic 7 GPIO_ACTIVE_HIGH>; avdd_io_edp_1v05: regulator@7 {
enable-active-high; compatible = "regulator-fixed";
vin-supply = <&avdd_1v05_pll>; regulator-name = "AVDD_IO_EDP_1V05";
}; regulator-min-microvolt = <1050000>;
regulator-max-microvolt = <1050000>;
gpio = <&pmic 7 GPIO_ACTIVE_HIGH>;
enable-active-high;
vin-supply = <&avdd_1v05_pll>;
}; };
}; };

View File

@ -1807,88 +1807,73 @@ psci {
method = "smc"; method = "smc";
}; };
regulators { ppvar_sys: regulator@0 {
compatible = "simple-bus"; compatible = "regulator-fixed";
device_type = "fixed-regulators"; regulator-name = "PPVAR_SYS";
#address-cells = <1>; regulator-min-microvolt = <4400000>;
#size-cells = <0>; regulator-max-microvolt = <4400000>;
regulator-always-on;
};
ppvar_sys: regulator@0 { pplcd_vdd: regulator@1 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <0>; regulator-name = "PPLCD_VDD";
regulator-name = "PPVAR_SYS"; regulator-min-microvolt = <4400000>;
regulator-min-microvolt = <4400000>; regulator-max-microvolt = <4400000>;
regulator-max-microvolt = <4400000>; gpio = <&gpio TEGRA_GPIO(V, 4) 0>;
regulator-always-on; enable-active-high;
}; regulator-boot-on;
};
pplcd_vdd: regulator@1 { pp3000_always: regulator@2 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <1>; regulator-name = "PP3000_ALWAYS";
regulator-name = "PPLCD_VDD"; regulator-min-microvolt = <3000000>;
regulator-min-microvolt = <4400000>; regulator-max-microvolt = <3000000>;
regulator-max-microvolt = <4400000>; regulator-always-on;
gpio = <&gpio TEGRA_GPIO(V, 4) 0>; };
enable-active-high;
regulator-boot-on;
};
pp3000_always: regulator@2 { pp3300: regulator@3 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <2>; regulator-name = "PP3300";
regulator-name = "PP3000_ALWAYS"; regulator-min-microvolt = <3300000>;
regulator-min-microvolt = <3000000>; regulator-max-microvolt = <3300000>;
regulator-max-microvolt = <3000000>; regulator-boot-on;
regulator-always-on; regulator-always-on;
}; enable-active-high;
};
pp3300: regulator@3 { pp5000: regulator@4 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <3>; regulator-name = "PP5000";
regulator-name = "PP3300"; regulator-min-microvolt = <5000000>;
regulator-min-microvolt = <3300000>; regulator-max-microvolt = <5000000>;
regulator-max-microvolt = <3300000>; regulator-always-on;
regulator-boot-on; };
regulator-always-on;
enable-active-high;
};
pp5000: regulator@4 { pp1800_lcdio: regulator@5 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <4>; regulator-name = "PP1800_LCDIO";
regulator-name = "PP5000"; regulator-min-microvolt = <1800000>;
regulator-min-microvolt = <5000000>; regulator-max-microvolt = <1800000>;
regulator-max-microvolt = <5000000>; gpio = <&gpio TEGRA_GPIO(V, 3) 0>;
regulator-always-on; enable-active-high;
}; regulator-boot-on;
};
pp1800_lcdio: regulator@5 { pp1800_cam: regulator@6 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <5>; regulator-name = "PP1800_CAM";
regulator-name = "PP1800_LCDIO"; regulator-min-microvolt = <1800000>;
regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>;
regulator-max-microvolt = <1800000>; gpio = <&gpio TEGRA_GPIO(K, 3) 0>;
gpio = <&gpio TEGRA_GPIO(V, 3) 0>; enable-active-high;
enable-active-high; };
regulator-boot-on;
};
pp1800_cam: regulator@6 { usbc_vbus: regulator@7 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg= <6>; regulator-name = "USBC_VBUS";
regulator-name = "PP1800_CAM"; regulator-min-microvolt = <5000000>;
regulator-min-microvolt = <1800000>; regulator-max-microvolt = <5000000>;
regulator-max-microvolt = <1800000>;
gpio = <&gpio TEGRA_GPIO(K, 3) 0>;
enable-active-high;
};
usbc_vbus: regulator@7 {
compatible = "regulator-fixed";
reg = <7>;
regulator-name = "USBC_VBUS";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
};
}; };
}; };