ARM: tegra: apalis_t30: regulator clean-up
Just cosmetic regulator clean-up. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:

committed by
Thierry Reding

parent
a772d28d90
commit
f98439c3bb
@@ -153,7 +153,7 @@
|
|||||||
usb-phy@7d000000 {
|
usb-phy@7d000000 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
dr_mode = "otg";
|
dr_mode = "otg";
|
||||||
vbus-supply = <&usbo1_vbus_reg>;
|
vbus-supply = <®_usbo1_vbus>;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* EHCI instance 1: USB2_DP/N -> USBH2_DP/N */
|
/* EHCI instance 1: USB2_DP/N -> USBH2_DP/N */
|
||||||
@@ -163,7 +163,7 @@
|
|||||||
|
|
||||||
usb-phy@7d004000 {
|
usb-phy@7d004000 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
vbus-supply = <&usbh_vbus_reg>;
|
vbus-supply = <®_usbh_vbus>;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* EHCI instance 2: USB3_DP/N -> USBH3_DP/N */
|
/* EHCI instance 2: USB3_DP/N -> USBH3_DP/N */
|
||||||
@@ -173,7 +173,7 @@
|
|||||||
|
|
||||||
usb-phy@7d008000 {
|
usb-phy@7d008000 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
vbus-supply = <&usbh_vbus_reg>;
|
vbus-supply = <®_usbh_vbus>;
|
||||||
};
|
};
|
||||||
|
|
||||||
backlight: backlight {
|
backlight: backlight {
|
||||||
@@ -231,38 +231,32 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
regulators {
|
reg_5v0: regulator-5v0 {
|
||||||
sys_5v0_reg: regulator@1 {
|
compatible = "regulator-fixed";
|
||||||
compatible = "regulator-fixed";
|
regulator-name = "5V_SW";
|
||||||
reg = <1>;
|
regulator-min-microvolt = <5000000>;
|
||||||
regulator-name = "5v0";
|
regulator-max-microvolt = <5000000>;
|
||||||
regulator-min-microvolt = <5000000>;
|
};
|
||||||
regulator-max-microvolt = <5000000>;
|
|
||||||
regulator-always-on;
|
|
||||||
};
|
|
||||||
|
|
||||||
/* USBO1_EN */
|
/* USBO1_EN */
|
||||||
usbo1_vbus_reg: regulator@2 {
|
reg_usbo1_vbus: regulator-usbo1-vbus {
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
reg = <2>;
|
regulator-name = "VCC_USBO1";
|
||||||
regulator-name = "usbo1_vbus";
|
regulator-min-microvolt = <5000000>;
|
||||||
regulator-min-microvolt = <5000000>;
|
regulator-max-microvolt = <5000000>;
|
||||||
regulator-max-microvolt = <5000000>;
|
gpio = <&gpio TEGRA_GPIO(T, 5) GPIO_ACTIVE_HIGH>;
|
||||||
gpio = <&gpio TEGRA_GPIO(T, 5) GPIO_ACTIVE_HIGH>;
|
enable-active-high;
|
||||||
enable-active-high;
|
vin-supply = <®_5v0>;
|
||||||
vin-supply = <&sys_5v0_reg>;
|
};
|
||||||
};
|
|
||||||
|
|
||||||
/* USBH_EN */
|
/* USBH_EN */
|
||||||
usbh_vbus_reg: regulator@3 {
|
reg_usbh_vbus: regulator-usbh-vbus {
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
reg = <3>;
|
regulator-name = "VCC_USBH(2A|2C|2D|3|4)";
|
||||||
regulator-name = "usbh_vbus";
|
regulator-min-microvolt = <5000000>;
|
||||||
regulator-min-microvolt = <5000000>;
|
regulator-max-microvolt = <5000000>;
|
||||||
regulator-max-microvolt = <5000000>;
|
gpio = <&gpio TEGRA_GPIO(DD, 1) GPIO_ACTIVE_HIGH>;
|
||||||
gpio = <&gpio TEGRA_GPIO(DD, 1) GPIO_ACTIVE_HIGH>;
|
enable-active-high;
|
||||||
enable-active-high;
|
vin-supply = <®_5v0>;
|
||||||
vin-supply = <&sys_5v0_reg>;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@@ -20,8 +20,8 @@
|
|||||||
avdd-pexb-supply = <&vdd2_reg>;
|
avdd-pexb-supply = <&vdd2_reg>;
|
||||||
avdd-pex-pll-supply = <&vdd2_reg>;
|
avdd-pex-pll-supply = <&vdd2_reg>;
|
||||||
avdd-plle-supply = <&ldo6_reg>;
|
avdd-plle-supply = <&ldo6_reg>;
|
||||||
hvdd-pex-supply = <&sys_3v3_reg>;
|
hvdd-pex-supply = <®_module_3v3>;
|
||||||
vddio-pex-ctl-supply = <&sys_3v3_reg>;
|
vddio-pex-ctl-supply = <®_module_3v3>;
|
||||||
vdd-pexa-supply = <&vdd2_reg>;
|
vdd-pexa-supply = <&vdd2_reg>;
|
||||||
vdd-pexb-supply = <&vdd2_reg>;
|
vdd-pexb-supply = <&vdd2_reg>;
|
||||||
|
|
||||||
@@ -51,8 +51,8 @@
|
|||||||
nvidia,ddc-i2c-bus = <&hdmiddc>;
|
nvidia,ddc-i2c-bus = <&hdmiddc>;
|
||||||
nvidia,hpd-gpio =
|
nvidia,hpd-gpio =
|
||||||
<&gpio TEGRA_GPIO(N, 7) GPIO_ACTIVE_HIGH>;
|
<&gpio TEGRA_GPIO(N, 7) GPIO_ACTIVE_HIGH>;
|
||||||
pll-supply = <&avdd_hdmi_pll_1v8_reg>;
|
pll-supply = <®_1v8_avdd_hdmi_pll>;
|
||||||
vdd-supply = <&avdd_hdmi_3v3_reg>;
|
vdd-supply = <®_3v3_avdd_hdmi>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -465,8 +465,8 @@
|
|||||||
sgtl5000: codec@a {
|
sgtl5000: codec@a {
|
||||||
compatible = "fsl,sgtl5000";
|
compatible = "fsl,sgtl5000";
|
||||||
reg = <0x0a>;
|
reg = <0x0a>;
|
||||||
VDDA-supply = <&sys_3v3_reg>;
|
VDDA-supply = <®_module_3v3>;
|
||||||
VDDIO-supply = <&sys_3v3_reg>;
|
VDDIO-supply = <®_module_3v3>;
|
||||||
clocks = <&tegra_car TEGRA30_CLK_EXTERN1>;
|
clocks = <&tegra_car TEGRA30_CLK_EXTERN1>;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -483,43 +483,38 @@
|
|||||||
#gpio-cells = <2>;
|
#gpio-cells = <2>;
|
||||||
gpio-controller;
|
gpio-controller;
|
||||||
|
|
||||||
vcc1-supply = <&sys_3v3_reg>;
|
vcc1-supply = <®_module_3v3>;
|
||||||
vcc2-supply = <&sys_3v3_reg>;
|
vcc2-supply = <®_module_3v3>;
|
||||||
vcc3-supply = <&vio_reg>;
|
vcc3-supply = <®_1v8_vio>;
|
||||||
vcc4-supply = <&sys_3v3_reg>;
|
vcc4-supply = <®_module_3v3>;
|
||||||
vcc5-supply = <&sys_3v3_reg>;
|
vcc5-supply = <®_module_3v3>;
|
||||||
vcc6-supply = <&vio_reg>;
|
vcc6-supply = <®_1v8_vio>;
|
||||||
vcc7-supply = <&charge_pump_5v0_reg>;
|
vcc7-supply = <®_5v0_charge_pump>;
|
||||||
vccio-supply = <&sys_3v3_reg>;
|
vccio-supply = <®_module_3v3>;
|
||||||
|
|
||||||
regulators {
|
regulators {
|
||||||
/* SW1: +V1.35_VDDIO_DDR */
|
|
||||||
vdd1_reg: vdd1 {
|
vdd1_reg: vdd1 {
|
||||||
regulator-name = "vddio_ddr_1v35";
|
regulator-name = "+V1.35_VDDIO_DDR";
|
||||||
regulator-min-microvolt = <1350000>;
|
regulator-min-microvolt = <1350000>;
|
||||||
regulator-max-microvolt = <1350000>;
|
regulator-max-microvolt = <1350000>;
|
||||||
regulator-always-on;
|
regulator-always-on;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* SW2: +V1.05 */
|
|
||||||
vdd2_reg: vdd2 {
|
vdd2_reg: vdd2 {
|
||||||
regulator-name =
|
regulator-name = "+V1.05";
|
||||||
"vdd_pexa,vdd_pexb,vdd_sata";
|
|
||||||
regulator-min-microvolt = <1050000>;
|
regulator-min-microvolt = <1050000>;
|
||||||
regulator-max-microvolt = <1050000>;
|
regulator-max-microvolt = <1050000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* SW CTRL: +V1.0_VDD_CPU */
|
|
||||||
vddctrl_reg: vddctrl {
|
vddctrl_reg: vddctrl {
|
||||||
regulator-name = "vdd_cpu,vdd_sys";
|
regulator-name = "+V1.0_VDD_CPU";
|
||||||
regulator-min-microvolt = <1150000>;
|
regulator-min-microvolt = <1150000>;
|
||||||
regulator-max-microvolt = <1150000>;
|
regulator-max-microvolt = <1150000>;
|
||||||
regulator-always-on;
|
regulator-always-on;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* SWIO: +V1.8 */
|
reg_1v8_vio: vio {
|
||||||
vio_reg: vio {
|
regulator-name = "+V1.8";
|
||||||
regulator-name = "vdd_1v8_gen";
|
|
||||||
regulator-min-microvolt = <1800000>;
|
regulator-min-microvolt = <1800000>;
|
||||||
regulator-max-microvolt = <1800000>;
|
regulator-max-microvolt = <1800000>;
|
||||||
regulator-always-on;
|
regulator-always-on;
|
||||||
@@ -529,27 +524,24 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* EN_+V3.3 switching via FET:
|
* EN_+V3.3 switching via FET:
|
||||||
* +V3.3_AUDIO_AVDD_S, +V3.3 and +V1.8_VDD_LAN
|
* +V3.3_AUDIO_AVDD_S, +V3.3
|
||||||
* see also v3_3 fixed supply
|
* see also +V3.3 fixed supply
|
||||||
*/
|
*/
|
||||||
ldo2_reg: ldo2 {
|
ldo2_reg: ldo2 {
|
||||||
regulator-name = "en_3v3";
|
regulator-name = "EN_+V3.3";
|
||||||
regulator-min-microvolt = <3300000>;
|
regulator-min-microvolt = <3300000>;
|
||||||
regulator-max-microvolt = <3300000>;
|
regulator-max-microvolt = <3300000>;
|
||||||
regulator-always-on;
|
regulator-always-on;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* +V1.2_CSI */
|
|
||||||
ldo3_reg: ldo3 {
|
ldo3_reg: ldo3 {
|
||||||
regulator-name =
|
regulator-name = "+V1.2_CSI";
|
||||||
"avdd_dsi_csi,pwrdet_mipi";
|
|
||||||
regulator-min-microvolt = <1200000>;
|
regulator-min-microvolt = <1200000>;
|
||||||
regulator-max-microvolt = <1200000>;
|
regulator-max-microvolt = <1200000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* +V1.2_VDD_RTC */
|
|
||||||
ldo4_reg: ldo4 {
|
ldo4_reg: ldo4 {
|
||||||
regulator-name = "vdd_rtc";
|
regulator-name = "+V1.2_VDD_RTC";
|
||||||
regulator-min-microvolt = <1200000>;
|
regulator-min-microvolt = <1200000>;
|
||||||
regulator-max-microvolt = <1200000>;
|
regulator-max-microvolt = <1200000>;
|
||||||
regulator-always-on;
|
regulator-always-on;
|
||||||
@@ -557,10 +549,10 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* +V2.8_AVDD_VDAC:
|
* +V2.8_AVDD_VDAC:
|
||||||
* only required for analog RGB
|
* only required for (unsupported) analog RGB
|
||||||
*/
|
*/
|
||||||
ldo5_reg: ldo5 {
|
ldo5_reg: ldo5 {
|
||||||
regulator-name = "avdd_vdac";
|
regulator-name = "+V2.8_AVDD_VDAC";
|
||||||
regulator-min-microvolt = <2800000>;
|
regulator-min-microvolt = <2800000>;
|
||||||
regulator-max-microvolt = <2800000>;
|
regulator-max-microvolt = <2800000>;
|
||||||
regulator-always-on;
|
regulator-always-on;
|
||||||
@@ -572,22 +564,20 @@
|
|||||||
* granularity
|
* granularity
|
||||||
*/
|
*/
|
||||||
ldo6_reg: ldo6 {
|
ldo6_reg: ldo6 {
|
||||||
regulator-name = "avdd_plle";
|
regulator-name = "+V1.05_AVDD_PLLE";
|
||||||
regulator-min-microvolt = <1100000>;
|
regulator-min-microvolt = <1100000>;
|
||||||
regulator-max-microvolt = <1100000>;
|
regulator-max-microvolt = <1100000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* +V1.2_AVDD_PLL */
|
|
||||||
ldo7_reg: ldo7 {
|
ldo7_reg: ldo7 {
|
||||||
regulator-name = "avdd_pll";
|
regulator-name = "+V1.2_AVDD_PLL";
|
||||||
regulator-min-microvolt = <1200000>;
|
regulator-min-microvolt = <1200000>;
|
||||||
regulator-max-microvolt = <1200000>;
|
regulator-max-microvolt = <1200000>;
|
||||||
regulator-always-on;
|
regulator-always-on;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* +V1.0_VDD_DDR_HS */
|
|
||||||
ldo8_reg: ldo8 {
|
ldo8_reg: ldo8 {
|
||||||
regulator-name = "vdd_ddr_hs";
|
regulator-name = "+V1.0_VDD_DDR_HS";
|
||||||
regulator-min-microvolt = <1000000>;
|
regulator-min-microvolt = <1000000>;
|
||||||
regulator-max-microvolt = <1000000>;
|
regulator-max-microvolt = <1000000>;
|
||||||
regulator-always-on;
|
regulator-always-on;
|
||||||
@@ -732,50 +722,40 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
regulators {
|
reg_1v8_avdd_hdmi_pll: regulator-1v8-avdd-hdmi-pll {
|
||||||
compatible = "simple-bus";
|
compatible = "regulator-fixed";
|
||||||
#address-cells = <1>;
|
regulator-name = "+V1.8_AVDD_HDMI_PLL";
|
||||||
#size-cells = <0>;
|
regulator-min-microvolt = <1800000>;
|
||||||
|
regulator-max-microvolt = <1800000>;
|
||||||
|
enable-active-high;
|
||||||
|
gpio = <&pmic 6 GPIO_ACTIVE_HIGH>;
|
||||||
|
vin-supply = <®_1v8_vio>;
|
||||||
|
};
|
||||||
|
|
||||||
avdd_hdmi_pll_1v8_reg: regulator@100 {
|
reg_3v3_avdd_hdmi: regulator-3v3-avdd-hdmi {
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
reg = <100>;
|
regulator-name = "+V3.3_AVDD_HDMI";
|
||||||
regulator-name = "+V1.8_AVDD_HDMI_PLL";
|
regulator-min-microvolt = <3300000>;
|
||||||
regulator-min-microvolt = <1800000>;
|
regulator-max-microvolt = <3300000>;
|
||||||
regulator-max-microvolt = <1800000>;
|
enable-active-high;
|
||||||
enable-active-high;
|
gpio = <&pmic 6 GPIO_ACTIVE_HIGH>;
|
||||||
gpio = <&pmic 6 GPIO_ACTIVE_HIGH>;
|
vin-supply = <®_module_3v3>;
|
||||||
vin-supply = <&vio_reg>;
|
};
|
||||||
};
|
|
||||||
|
|
||||||
sys_3v3_reg: regulator@101 {
|
reg_5v0_charge_pump: regulator-5v0-charge-pump {
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
reg = <101>;
|
regulator-name = "+V5.0";
|
||||||
regulator-name = "3v3";
|
regulator-min-microvolt = <5000000>;
|
||||||
regulator-min-microvolt = <3300000>;
|
regulator-max-microvolt = <5000000>;
|
||||||
regulator-max-microvolt = <3300000>;
|
regulator-always-on;
|
||||||
regulator-always-on;
|
};
|
||||||
};
|
|
||||||
|
|
||||||
avdd_hdmi_3v3_reg: regulator@102 {
|
reg_module_3v3: regulator-module-3v3 {
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
reg = <102>;
|
regulator-name = "+V3.3";
|
||||||
regulator-name = "+V3.3_AVDD_HDMI";
|
regulator-min-microvolt = <3300000>;
|
||||||
regulator-min-microvolt = <3300000>;
|
regulator-max-microvolt = <3300000>;
|
||||||
regulator-max-microvolt = <3300000>;
|
regulator-always-on;
|
||||||
enable-active-high;
|
|
||||||
gpio = <&pmic 6 GPIO_ACTIVE_HIGH>;
|
|
||||||
vin-supply = <&sys_3v3_reg>;
|
|
||||||
};
|
|
||||||
|
|
||||||
charge_pump_5v0_reg: regulator@103 {
|
|
||||||
compatible = "regulator-fixed";
|
|
||||||
reg = <103>;
|
|
||||||
regulator-name = "5v0";
|
|
||||||
regulator-min-microvolt = <5000000>;
|
|
||||||
regulator-max-microvolt = <5000000>;
|
|
||||||
regulator-always-on;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
sound {
|
sound {
|
||||||
|
Reference in New Issue
Block a user