diff options
author | Gwenhael Goavec-Merou <gwenhael.goavec-merou@armadeus.com> | 2013-11-30 03:51:13 -0500 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2014-02-09 08:33:10 -0500 |
commit | 2ba4d1ca835a606d69cd949be406d6305266ac71 (patch) | |
tree | d0cc22d8d4ddc1877d5d420eb1cb004bc5f3aa74 /arch/arm/boot/dts/imx28-apf28dev.dts | |
parent | 6ece55b39218d35d44e050d6e47b28a6489edd2b (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.dts | 13 |
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 @@ | |||
66 | fsl,voltage = <MXS_VOLTAGE_HIGH>; | 66 | fsl,voltage = <MXS_VOLTAGE_HIGH>; |
67 | fsl,pull-up = <MXS_PULL_DISABLE>; | 67 | fsl,pull-up = <MXS_PULL_DISABLE>; |
68 | }; | 68 | }; |
69 | |||
70 | usb0_otg_apf28dev: otg-apf28dev@0 { | ||
71 | reg = <0>; | ||
72 | fsl,pinmux-ids = < | ||
73 | MX28_PAD_LCD_D23__GPIO_1_23 | ||
74 | >; | ||
75 | fsl,drive-strength = <MXS_DRIVE_4mA>; | ||
76 | fsl,voltage = <MXS_VOLTAGE_HIGH>; | ||
77 | fsl,pull-up = <MXS_PULL_DISABLE>; | ||
78 | }; | ||
69 | }; | 79 | }; |
70 | 80 | ||
71 | lcdif@80030000 { | 81 | lcdif@80030000 { |
@@ -131,6 +141,8 @@ | |||
131 | 141 | ||
132 | ahb@80080000 { | 142 | ahb@80080000 { |
133 | usb0: usb@80080000 { | 143 | usb0: usb@80080000 { |
144 | pinctrl-names = "default"; | ||
145 | pinctrl-0 = <&usb0_otg_apf28dev>; | ||
134 | vbus-supply = <®_usb0_vbus>; | 146 | vbus-supply = <®_usb0_vbus>; |
135 | status = "okay"; | 147 | status = "okay"; |
136 | }; | 148 | }; |
@@ -160,6 +172,7 @@ | |||
160 | regulator-min-microvolt = <5000000>; | 172 | regulator-min-microvolt = <5000000>; |
161 | regulator-max-microvolt = <5000000>; | 173 | regulator-max-microvolt = <5000000>; |
162 | gpio = <&gpio1 23 1>; | 174 | gpio = <&gpio1 23 1>; |
175 | enable-active-high; | ||
163 | }; | 176 | }; |
164 | }; | 177 | }; |
165 | 178 | ||