Commit 2ba4d1ca authored by Gwenhael Goavec-Merou's avatar Gwenhael Goavec-Merou Committed by Shawn Guo

ARM: dts: apf28dev: set gpio polarity for usb regulator and pinctrl for regulator gpio

Signed-off-by: default avatarGwenhael Goavec-Merou <gwenhael.goavec-merou@armadeus.com>
Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
parent 6ece55b3
...@@ -66,6 +66,16 @@ MX28_PAD_LCD_CS__LCD_ENABLE ...@@ -66,6 +66,16 @@ MX28_PAD_LCD_CS__LCD_ENABLE
fsl,voltage = <MXS_VOLTAGE_HIGH>; fsl,voltage = <MXS_VOLTAGE_HIGH>;
fsl,pull-up = <MXS_PULL_DISABLE>; fsl,pull-up = <MXS_PULL_DISABLE>;
}; };
usb0_otg_apf28dev: otg-apf28dev@0 {
reg = <0>;
fsl,pinmux-ids = <
MX28_PAD_LCD_D23__GPIO_1_23
>;
fsl,drive-strength = <MXS_DRIVE_4mA>;
fsl,voltage = <MXS_VOLTAGE_HIGH>;
fsl,pull-up = <MXS_PULL_DISABLE>;
};
}; };
lcdif@80030000 { lcdif@80030000 {
...@@ -131,6 +141,8 @@ usbphy1: usbphy@8007e000 { ...@@ -131,6 +141,8 @@ usbphy1: usbphy@8007e000 {
ahb@80080000 { ahb@80080000 {
usb0: usb@80080000 { usb0: usb@80080000 {
pinctrl-names = "default";
pinctrl-0 = <&usb0_otg_apf28dev>;
vbus-supply = <&reg_usb0_vbus>; vbus-supply = <&reg_usb0_vbus>;
status = "okay"; status = "okay";
}; };
...@@ -160,6 +172,7 @@ reg_usb0_vbus: regulator@0 { ...@@ -160,6 +172,7 @@ reg_usb0_vbus: regulator@0 {
regulator-min-microvolt = <5000000>; regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>; regulator-max-microvolt = <5000000>;
gpio = <&gpio1 23 1>; gpio = <&gpio1 23 1>;
enable-active-high;
}; };
}; };
......
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