Commit 7517248a authored by Thierry Reding's avatar Thierry Reding

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: default avatarThierry Reding <treding@nvidia.com>
parent 393a403e
...@@ -1055,158 +1055,139 @@ panel: panel { ...@@ -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>;
vdd_mux: regulator@0 { regulator-always-on;
compatible = "regulator-fixed"; regulator-boot-on;
reg = <0>; };
regulator-name = "+VDD_MUX";
regulator-min-microvolt = <19000000>;
regulator-max-microvolt = <19000000>;
regulator-always-on;
regulator-boot-on;
};
vdd_5v0_sys: regulator@1 { vdd_5v0_sys: regulator@1 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <1>; regulator-name = "+5V_SYS";
regulator-name = "+5V_SYS"; 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; vin-supply = <&vdd_mux>;
vin-supply = <&vdd_mux>; };
};
vdd_3v3_sys: regulator@2 { vdd_3v3_sys: regulator@2 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <2>; regulator-name = "+3.3V_SYS";
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; vin-supply = <&vdd_mux>;
vin-supply = <&vdd_mux>; };
};
vdd_3v3_run: regulator@3 { vdd_3v3_run: regulator@3 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <3>; regulator-name = "+3.3V_RUN";
regulator-name = "+3.3V_RUN"; 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>;
gpio = <&as3722 1 GPIO_ACTIVE_HIGH>; enable-active-high;
enable-active-high; vin-supply = <&vdd_3v3_sys>;
vin-supply = <&vdd_3v3_sys>; };
};
vdd_3v3_hdmi: regulator@4 { vdd_3v3_hdmi: regulator@4 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <4>; regulator-name = "+3.3V_AVDD_HDMI_AP_GATED";
regulator-name = "+3.3V_AVDD_HDMI_AP_GATED"; regulator-min-microvolt = <3300000>;
regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
regulator-max-microvolt = <3300000>; vin-supply = <&vdd_3v3_run>;
vin-supply = <&vdd_3v3_run>; };
};
vdd_led: regulator@5 { vdd_led: regulator@5 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <5>; regulator-name = "+VDD_LED";
regulator-name = "+VDD_LED"; 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>;
gpio = <&gpio TEGRA_GPIO(P, 2) GPIO_ACTIVE_HIGH>; enable-active-high;
enable-active-high; vin-supply = <&vdd_mux>;
vin-supply = <&vdd_mux>; };
};
vdd_usb1_vbus: regulator@6 { vdd_usb1_vbus: regulator@6 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <6>; regulator-name = "+5V_USB_HS";
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, 4) 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_usb3_vbus: regulator@7 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <7>; regulator-name = "+5V_USB_SS";
regulator-name = "+5V_USB_SS"; 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, 5) 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_3v3_panel: regulator@8 { vdd_3v3_panel: regulator@8 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <8>; regulator-name = "+3.3V_PANEL";
regulator-name = "+3.3V_PANEL"; regulator-min-microvolt = <3300000>;
regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
regulator-max-microvolt = <3300000>; gpio = <&as3722 4 GPIO_ACTIVE_HIGH>;
gpio = <&as3722 4 GPIO_ACTIVE_HIGH>; enable-active-high;
enable-active-high; vin-supply = <&vdd_3v3_sys>;
vin-supply = <&vdd_3v3_sys>; };
};
vdd_hdmi_pll: regulator@9 { vdd_hdmi_pll: regulator@9 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <9>; regulator-name = "+1.05V_RUN_AVDD_HDMI_PLL_AP_GATE";
regulator-name = "+1.05V_RUN_AVDD_HDMI_PLL_AP_GATE"; regulator-min-microvolt = <1050000>;
regulator-min-microvolt = <1050000>; regulator-max-microvolt = <1050000>;
regulator-max-microvolt = <1050000>; gpio = <&gpio TEGRA_GPIO(H, 7) GPIO_ACTIVE_LOW>;
gpio = <&gpio TEGRA_GPIO(H, 7) GPIO_ACTIVE_LOW>; vin-supply = <&vdd_1v05_run>;
vin-supply = <&vdd_1v05_run>; };
};
vdd_5v0_hdmi: regulator@10 { vdd_5v0_hdmi: regulator@10 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <10>; regulator-name = "+5V_HDMI_CON";
regulator-name = "+5V_HDMI_CON"; regulator-min-microvolt = <5000000>;
regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>;
regulator-max-microvolt = <5000000>; gpio = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_HIGH>;
gpio = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_HIGH>; enable-active-high;
enable-active-high; vin-supply = <&vdd_5v0_sys>;
vin-supply = <&vdd_5v0_sys>; };
};
vdd_5v0_ts: regulator@11 { vdd_5v0_ts: regulator@11 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <11>; regulator-name = "+5V_VDD_TS";
regulator-name = "+5V_VDD_TS"; 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 = <&gpio TEGRA_GPIO(K, 1) GPIO_ACTIVE_HIGH>;
gpio = <&gpio TEGRA_GPIO(K, 1) GPIO_ACTIVE_HIGH>; enable-active-high;
enable-active-high; };
};
vdd_3v3_lp0: regulator@12 { vdd_3v3_lp0: regulator@12 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <12>; regulator-name = "+3.3V_LP0";
regulator-name = "+3.3V_LP0"; regulator-min-microvolt = <3300000>;
regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
regulator-max-microvolt = <3300000>; /*
/* * TODO: find a way to wire this up with the USB EHCI
* TODO: find a way to wire this up with the USB EHCI * controllers so that it can be enabled on demand.
* controllers so that it can be enabled on demand. */
*/ regulator-always-on;
regulator-always-on; gpio = <&as3722 2 GPIO_ACTIVE_HIGH>;
gpio = <&as3722 2 GPIO_ACTIVE_HIGH>; enable-active-high;
enable-active-high; vin-supply = <&vdd_3v3_sys>;
vin-supply = <&vdd_3v3_sys>;
};
}; };
}; };
...@@ -333,62 +333,51 @@ volume-down { ...@@ -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";
reg = <101>;
regulator-name = "VDD_HDMI_5V0";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio = <&exp1 14 GPIO_ACTIVE_HIGH>; vdd_hdmi: regulator@101 {
enable-active-high; compatible = "regulator-fixed";
regulator-name = "VDD_HDMI_5V0";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
vin-supply = <&vdd_5v0_sys>; gpio = <&exp1 14 GPIO_ACTIVE_HIGH>;
}; enable-active-high;
vdd_usb0: regulator@102 { vin-supply = <&vdd_5v0_sys>;
compatible = "regulator-fixed"; };
reg = <102>;
regulator-name = "VDD_USB0";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio = <&gpio TEGRA186_MAIN_GPIO(L, 4) 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_usb1: regulator@103 { vin-supply = <&vdd_5v0_sys>;
compatible = "regulator-fixed"; };
reg = <103>;
regulator-name = "VDD_USB1"; 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, 5) 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>;
};
}; };
}; };
...@@ -392,45 +392,33 @@ psci { ...@@ -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>;
gnd: regulator@0 { regulator-always-on;
compatible = "regulator-fixed"; regulator-boot-on;
reg = <0>; };
regulator-name = "GND";
regulator-min-microvolt = <0>;
regulator-max-microvolt = <0>;
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;
};
vdd_1v8_ap: regulator@2 { vdd_5v0_sys: regulator@1 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <2>; regulator-name = "VDD_5V0_SYS";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-always-on;
regulator-boot-on;
};
regulator-name = "VDD_1V8_AP"; vdd_1v8_ap: regulator@2 {
regulator-min-microvolt = <1800000>; compatible = "regulator-fixed";
regulator-max-microvolt = <1800000>; regulator-name = "VDD_1V8_AP";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
gpio = <&pmic 1 GPIO_ACTIVE_HIGH>; gpio = <&pmic 1 GPIO_ACTIVE_HIGH>;
enable-active-high; enable-active-high;
vin-supply = <&vdd_1v8>; vin-supply = <&vdd_1v8>;
};
}; };
}; };
...@@ -293,65 +293,49 @@ temperature-sensor@4c { ...@@ -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>;
vdd_5v0_sys: regulator@0 { regulator-always-on;
compatible = "regulator-fixed"; regulator-boot-on;
reg = <0>; };
regulator-name = "VIN_SYS_5V0";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-always-on;
regulator-boot-on;
};
vdd_hdmi: regulator@1 {
compatible = "regulator-fixed";
reg = <1>;
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;
};
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 { vdd_hdmi: regulator@1 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <3>; 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 = "VDD_12V"; vdd_3v3_pcie: regulator@2 {
regulator-min-microvolt = <1200000>; compatible = "regulator-fixed";
regulator-max-microvolt = <1200000>; regulator-name = "PEX_3V3";
gpio = <&gpio TEGRA194_MAIN_GPIO(A, 1) GPIO_ACTIVE_HIGH>; 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_5v_sata: regulator@4 { vdd_12v_pcie: regulator@3 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <4>; 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_5V_SATA"; 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(Z, 1) 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;
}; };
}; };
...@@ -335,18 +335,15 @@ psci { ...@@ -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>;
};
}; };
}; };
...@@ -1523,152 +1523,6 @@ usb@700d0000 { ...@@ -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 { ...@@ -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>;
};
}; };
...@@ -691,120 +691,109 @@ psci { ...@@ -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>; regulator-name = "VDD_5V0_SYS";
regulator-min-microvolt = <5000000>;
vdd_5v0_sys: regulator@0 { regulator-max-microvolt = <5000000>;
compatible = "regulator-fixed"; regulator-always-on;
reg = <0>; regulator-boot-on;
};
regulator-name = "VDD_5V0_SYS";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-always-on;
regulator-boot-on;
};
vdd_3v3_sys: regulator@1 { vdd_3v3_sys: regulator@1 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <1>;
regulator-name = "VDD_3V3_SYS";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-enable-ramp-delay = <240>;
regulator-disable-ramp-delay = <11340>;
regulator-always-on;
regulator-boot-on;
gpio = <&pmic 3 GPIO_ACTIVE_HIGH>;
enable-active-high;
vin-supply = <&vdd_5v0_sys>;
};
vdd_3v3_sd: regulator@2 { regulator-name = "VDD_3V3_SYS";
compatible = "regulator-fixed"; regulator-min-microvolt = <3300000>;
reg = <2>; regulator-max-microvolt = <3300000>;
regulator-enable-ramp-delay = <240>;
regulator-disable-ramp-delay = <11340>;
regulator-always-on;
regulator-boot-on;
regulator-name = "VDD_3V3_SD"; gpio = <&pmic 3 GPIO_ACTIVE_HIGH>;
regulator-min-microvolt = <3300000>; enable-active-high;
regulator-max-microvolt = <3300000>;
gpio = <&gpio TEGRA_GPIO(Z, 3) GPIO_ACTIVE_HIGH>; vin-supply = <&vdd_5v0_sys>;
enable-active-high; };
vin-supply = <&vdd_3v3_sys>; vdd_3v3_sd: regulator@2 {
}; compatible = "regulator-fixed";
vdd_hdmi: regulator@3 { regulator-name = "VDD_3V3_SD";
compatible = "regulator-fixed"; regulator-min-microvolt = <3300000>;
reg = <3>; regulator-max-microvolt = <3300000>;
regulator-name = "VDD_HDMI_5V0"; gpio = <&gpio TEGRA_GPIO(Z, 3) GPIO_ACTIVE_HIGH>;
regulator-min-microvolt = <5000000>; enable-active-high;
regulator-max-microvolt = <5000000>;
vin-supply = <&vdd_5v0_sys>; vin-supply = <&vdd_3v3_sys>;
}; };
vdd_hub_3v3: regulator@4 { vdd_hdmi: regulator@3 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <4>;
regulator-name = "VDD_HUB_3V3"; regulator-name = "VDD_HDMI_5V0";
regulator-min-microvolt = <3300000>; regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <3300000>; regulator-max-microvolt = <5000000>;
gpio = <&gpio TEGRA_GPIO(A, 6) GPIO_ACTIVE_HIGH>; vin-supply = <&vdd_5v0_sys>;
enable-active-high; };
vin-supply = <&vdd_5v0_sys>; vdd_hub_3v3: regulator@4 {
}; compatible = "regulator-fixed";
regulator-name = "VDD_HUB_3V3";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
vdd_cpu: regulator@5 { gpio = <&gpio TEGRA_GPIO(A, 6) GPIO_ACTIVE_HIGH>;
compatible = "regulator-fixed"; enable-active-high;
reg = <5>;
regulator-name = "VDD_CPU"; vin-supply = <&vdd_5v0_sys>;
regulator-min-microvolt = <5000000>; };
regulator-max-microvolt = <5000000>;
regulator-always-on;
regulator-boot-on;
gpio = <&pmic 5 GPIO_ACTIVE_HIGH>; vdd_cpu: regulator@5 {
enable-active-high; compatible = "regulator-fixed";
vin-supply = <&vdd_5v0_sys>; regulator-name = "VDD_CPU";
}; regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-always-on;
regulator-boot-on;
vdd_gpu: regulator@6 { gpio = <&pmic 5 GPIO_ACTIVE_HIGH>;
compatible = "pwm-regulator"; enable-active-high;
reg = <6>;
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 { vin-supply = <&vdd_5v0_sys>;
compatible = "regulator-fixed"; };
reg = <7>;
regulator-name = "AVDD_IO_EDP_1V05"; vdd_gpu: regulator@6 {
regulator-min-microvolt = <1050000>; compatible = "pwm-regulator";
regulator-max-microvolt = <1050000>; pwms = <&pwm 1 4880>;
gpio = <&pmic 7 GPIO_ACTIVE_HIGH>; regulator-name = "VDD_GPU";
enable-active-high; regulator-min-microvolt = <710000>;
regulator-max-microvolt = <1320000>;
regulator-ramp-delay = <80>;
regulator-enable-ramp-delay = <2000>;
regulator-settling-time-us = <160>;
vin-supply = <&avdd_1v05_pll>; enable-gpios = <&pmic 6 GPIO_ACTIVE_HIGH>;
}; vin-supply = <&vdd_5v0_sys>;
};
avdd_io_edp_1v05: regulator@7 {
compatible = "regulator-fixed";
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>;
}; };
}; };
...@@ -1807,88 +1807,73 @@ psci { ...@@ -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 { };
compatible = "regulator-fixed";
reg = <0>;
regulator-name = "PPVAR_SYS";
regulator-min-microvolt = <4400000>;
regulator-max-microvolt = <4400000>;
regulator-always-on;
};
pplcd_vdd: regulator@1 { pplcd_vdd: regulator@1 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <1>; regulator-name = "PPLCD_VDD";
regulator-name = "PPLCD_VDD"; regulator-min-microvolt = <4400000>;
regulator-min-microvolt = <4400000>; regulator-max-microvolt = <4400000>;
regulator-max-microvolt = <4400000>; gpio = <&gpio TEGRA_GPIO(V, 4) 0>;
gpio = <&gpio TEGRA_GPIO(V, 4) 0>; enable-active-high;
enable-active-high; regulator-boot-on;
regulator-boot-on; };
};
pp3000_always: regulator@2 { pp3000_always: regulator@2 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <2>; regulator-name = "PP3000_ALWAYS";
regulator-name = "PP3000_ALWAYS"; regulator-min-microvolt = <3000000>;
regulator-min-microvolt = <3000000>; regulator-max-microvolt = <3000000>;
regulator-max-microvolt = <3000000>; regulator-always-on;
regulator-always-on; };
};
pp3300: regulator@3 { pp3300: regulator@3 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <3>; regulator-name = "PP3300";
regulator-name = "PP3300"; regulator-min-microvolt = <3300000>;
regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
regulator-max-microvolt = <3300000>; regulator-boot-on;
regulator-boot-on; regulator-always-on;
regulator-always-on; enable-active-high;
enable-active-high; };
};
pp5000: regulator@4 { pp5000: regulator@4 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <4>; regulator-name = "PP5000";
regulator-name = "PP5000"; regulator-min-microvolt = <5000000>;
regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>;
regulator-max-microvolt = <5000000>; regulator-always-on;
regulator-always-on; };
};
pp1800_lcdio: regulator@5 { pp1800_lcdio: regulator@5 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <5>; regulator-name = "PP1800_LCDIO";
regulator-name = "PP1800_LCDIO"; regulator-min-microvolt = <1800000>;
regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>;
regulator-max-microvolt = <1800000>; gpio = <&gpio TEGRA_GPIO(V, 3) 0>;
gpio = <&gpio TEGRA_GPIO(V, 3) 0>; enable-active-high;
enable-active-high; regulator-boot-on;
regulator-boot-on; };
};
pp1800_cam: regulator@6 { pp1800_cam: regulator@6 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg= <6>; regulator-name = "PP1800_CAM";
regulator-name = "PP1800_CAM"; 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(K, 3) 0>; enable-active-high;
enable-active-high; };
};
usbc_vbus: regulator@7 { usbc_vbus: regulator@7 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
reg = <7>; regulator-name = "USBC_VBUS";
regulator-name = "USBC_VBUS"; regulator-min-microvolt = <5000000>;
regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
};
}; };
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment