ARM: dts: imx6*-hummingboard2: rework regulators
Name the regulators according to the voltage rails they are feeding in the schematic. The USB 2-4 regulators are fixed regulators and are always on, as they are not a VBUS supply for a single USB host port on the i.MX6, but supply VBUS to ports behind a USB hub and there is currently no way to model this in mainline. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
parent
0ba13ae34e
commit
99af180402
@ -54,7 +54,7 @@
|
|||||||
|
|
||||||
reg_3p3v: regulator-3p3v {
|
reg_3p3v: regulator-3p3v {
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
regulator-name = "3P3V";
|
regulator-name = "VCC_3V2";
|
||||||
regulator-min-microvolt = <3300000>;
|
regulator-min-microvolt = <3300000>;
|
||||||
regulator-max-microvolt = <3300000>;
|
regulator-max-microvolt = <3300000>;
|
||||||
regulator-always-on;
|
regulator-always-on;
|
||||||
@ -62,7 +62,7 @@
|
|||||||
|
|
||||||
reg_1p8v: regulator-1p8v {
|
reg_1p8v: regulator-1p8v {
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
regulator-name = "1P8V";
|
regulator-name = "VCC_1V8";
|
||||||
regulator-min-microvolt = <1800000>;
|
regulator-min-microvolt = <1800000>;
|
||||||
regulator-max-microvolt = <1800000>;
|
regulator-max-microvolt = <1800000>;
|
||||||
regulator-always-on;
|
regulator-always-on;
|
||||||
@ -80,15 +80,16 @@
|
|||||||
startup-delay-us = <1000>;
|
startup-delay-us = <1000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
reg_usbh1_vbus: regulator-usb-h1-vbus {
|
reg_usbh2_vbus: regulator-usb-h1-vbus {
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
enable-active-high;
|
enable-active-high;
|
||||||
gpio = <&gpio1 0 GPIO_ACTIVE_HIGH>;
|
gpio = <&gpio1 0 GPIO_ACTIVE_HIGH>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&pinctrl_hummingboard2_usbh1_vbus>;
|
pinctrl-0 = <&pinctrl_hummingboard2_usbh1_vbus>;
|
||||||
regulator-name = "usb_h1_vbus";
|
regulator-name = "V_USB2";
|
||||||
regulator-min-microvolt = <5000000>;
|
regulator-min-microvolt = <5000000>;
|
||||||
regulator-max-microvolt = <5000000>;
|
regulator-max-microvolt = <5000000>;
|
||||||
|
regulator-always-on;
|
||||||
};
|
};
|
||||||
|
|
||||||
reg_usbotg_vbus: regulator-usb-otg-vbus {
|
reg_usbotg_vbus: regulator-usb-otg-vbus {
|
||||||
@ -97,33 +98,33 @@
|
|||||||
gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>;
|
gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&pinctrl_hummingboard2_usbotg_vbus>;
|
pinctrl-0 = <&pinctrl_hummingboard2_usbotg_vbus>;
|
||||||
regulator-name = "usb_otg_vbus";
|
regulator-name = "V_USB1";
|
||||||
regulator-min-microvolt = <5000000>;
|
regulator-min-microvolt = <5000000>;
|
||||||
regulator-max-microvolt = <5000000>;
|
regulator-max-microvolt = <5000000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
reg_usbh2_vbus: regulator-usb-h2-vbus {
|
reg_usbh3_vbus: regulator-usb-h2-vbus {
|
||||||
compatible = "regulator-gpio";
|
compatible = "regulator-fixed";
|
||||||
enable-active-high;
|
enable-active-high;
|
||||||
enable-gpio = <&gpio2 13 GPIO_ACTIVE_HIGH>;
|
enable-gpio = <&gpio2 13 GPIO_ACTIVE_HIGH>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&pinctrl_hummingboard2_usbh2_vbus>;
|
pinctrl-0 = <&pinctrl_hummingboard2_usbh2_vbus>;
|
||||||
regulator-name = "usb_h2_vbus";
|
regulator-name = "V_USB3";
|
||||||
regulator-min-microvolt = <5000000>;
|
regulator-min-microvolt = <5000000>;
|
||||||
regulator-max-microvolt = <5000000>;
|
regulator-max-microvolt = <5000000>;
|
||||||
regulator-boot-on;
|
regulator-always-on;
|
||||||
};
|
};
|
||||||
|
|
||||||
reg_usbh3_vbus: regulator-usb-h3-vbus {
|
reg_usbh4_vbus: regulator-usb-h3-vbus {
|
||||||
compatible = "regulator-gpio";
|
compatible = "regulator-fixed";
|
||||||
enable-active-high;
|
enable-active-high;
|
||||||
enable-gpio = <&gpio7 10 GPIO_ACTIVE_HIGH>;
|
enable-gpio = <&gpio7 10 GPIO_ACTIVE_HIGH>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&pinctrl_hummingboard2_usbh3_vbus>;
|
pinctrl-0 = <&pinctrl_hummingboard2_usbh3_vbus>;
|
||||||
regulator-name = "usb_h3_vbus";
|
regulator-name = "V_USB4";
|
||||||
regulator-min-microvolt = <5000000>;
|
regulator-min-microvolt = <5000000>;
|
||||||
regulator-max-microvolt = <5000000>;
|
regulator-max-microvolt = <5000000>;
|
||||||
regulator-boot-on;
|
regulator-always-on;
|
||||||
};
|
};
|
||||||
|
|
||||||
sound-sgtl5000 {
|
sound-sgtl5000 {
|
||||||
@ -484,7 +485,6 @@
|
|||||||
|
|
||||||
&usbh1 {
|
&usbh1 {
|
||||||
disable-over-current;
|
disable-over-current;
|
||||||
vbus-supply = <®_usbh1_vbus>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user