summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx28-apf28dev.dts
diff options
context:
space:
mode:
authorGwenhael Goavec-Merou <gwenhael.goavec-merou@armadeus.com>2013-11-30 09:51:13 +0100
committerShawn Guo <shawn.guo@linaro.org>2014-02-09 21:33:10 +0800
commit2ba4d1ca835a606d69cd949be406d6305266ac71 (patch)
treed0cc22d8d4ddc1877d5d420eb1cb004bc5f3aa74 /arch/arm/boot/dts/imx28-apf28dev.dts
parent6ece55b39218d35d44e050d6e47b28a6489edd2b (diff)
ARM: dts: apf28dev: set gpio polarity for usb regulator and pinctrl for regulator gpio
Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@armadeus.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/imx28-apf28dev.dts')
-rw-r--r--arch/arm/boot/dts/imx28-apf28dev.dts13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx28-apf28dev.dts b/arch/arm/boot/dts/imx28-apf28dev.dts
index 741aecbf0b32..334dea58e17e 100644
--- a/arch/arm/boot/dts/imx28-apf28dev.dts
+++ b/arch/arm/boot/dts/imx28-apf28dev.dts
@@ -66,6 +66,16 @@
fsl,voltage = <MXS_VOLTAGE_HIGH>;
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 {
@@ -131,6 +141,8 @@
ahb@80080000 {
usb0: usb@80080000 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&usb0_otg_apf28dev>;
vbus-supply = <&reg_usb0_vbus>;
status = "okay";
};
@@ -160,6 +172,7 @@
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio = <&gpio1 23 1>;
+ enable-active-high;
};
};