ARM: dts: vf-colibri: add USB regulators
Add structure of USB supply logic. The USB hosts power enable regulator is needed to control VBUS supply on the Colibri carrier board. Signed-off-by: Stefan Agner <stefan@agner.ch> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
This commit is contained in:
parent
1b61feea3f
commit
505251e504
2 changed files with 38 additions and 0 deletions
|
@ -11,6 +11,34 @@
|
||||||
chosen {
|
chosen {
|
||||||
bootargs = "console=ttyLP0,115200";
|
bootargs = "console=ttyLP0,115200";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
regulators {
|
||||||
|
compatible = "simple-bus";
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
|
||||||
|
sys_5v0_reg: regulator@0 {
|
||||||
|
compatible = "regulator-fixed";
|
||||||
|
reg = <0>;
|
||||||
|
regulator-name = "5v0";
|
||||||
|
regulator-min-microvolt = <5000000>;
|
||||||
|
regulator-max-microvolt = <5000000>;
|
||||||
|
regulator-always-on;
|
||||||
|
};
|
||||||
|
|
||||||
|
/* USBH_PEN */
|
||||||
|
usbh_vbus_reg: regulator@1 {
|
||||||
|
compatible = "regulator-fixed";
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&pinctrl_usbh1_reg>;
|
||||||
|
reg = <1>;
|
||||||
|
regulator-name = "usbh_vbus";
|
||||||
|
regulator-min-microvolt = <5000000>;
|
||||||
|
regulator-max-microvolt = <5000000>;
|
||||||
|
gpio = <&gpio3 19 GPIO_ACTIVE_LOW>;
|
||||||
|
vin-supply = <&sys_5v0_reg>;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&bl {
|
&bl {
|
||||||
|
@ -62,3 +90,7 @@
|
||||||
&uart2 {
|
&uart2 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&usbh1 {
|
||||||
|
vbus-supply = <&usbh_vbus_reg>;
|
||||||
|
};
|
||||||
|
|
|
@ -176,5 +176,11 @@
|
||||||
VF610_PAD_PTD3__UART2_CTS 0x21a1
|
VF610_PAD_PTD3__UART2_CTS 0x21a1
|
||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pinctrl_usbh1_reg: gpio_usb_vbus {
|
||||||
|
fsl,pins = <
|
||||||
|
VF610_PAD_PTD4__GPIO_83 0x22ed
|
||||||
|
>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue