diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2014-06-23 10:21:05 -0400 |
---|---|---|
committer | Shawn Guo <shawn.guo@freescale.com> | 2014-07-18 04:49:39 -0400 |
commit | 960fefff8b07640aa6cd53812ff502f76b220fc8 (patch) | |
tree | 39df5ec113f006713a97aae9296db28c096f1c64 /arch/arm/boot/dts/imx6sx-sdb.dts | |
parent | b29f4fa16e33cdd68bc0346999c16a142d02f07d (diff) |
ARM: dts: imx6sx-sdb: Add USB support
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Diffstat (limited to 'arch/arm/boot/dts/imx6sx-sdb.dts')
-rw-r--r-- | arch/arm/boot/dts/imx6sx-sdb.dts | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6sx-sdb.dts b/arch/arm/boot/dts/imx6sx-sdb.dts index da40f1396798..18c228eb7f52 100644 --- a/arch/arm/boot/dts/imx6sx-sdb.dts +++ b/arch/arm/boot/dts/imx6sx-sdb.dts | |||
@@ -58,6 +58,30 @@ | |||
58 | gpio = <&gpio2 11 GPIO_ACTIVE_HIGH>; | 58 | gpio = <&gpio2 11 GPIO_ACTIVE_HIGH>; |
59 | enable-active-high; | 59 | enable-active-high; |
60 | }; | 60 | }; |
61 | |||
62 | reg_usb_otg1_vbus: regulator@1 { | ||
63 | compatible = "regulator-fixed"; | ||
64 | reg = <1>; | ||
65 | pinctrl-names = "default"; | ||
66 | pinctrl-0 = <&pinctrl_usb_otg1>; | ||
67 | regulator-name = "usb_otg1_vbus"; | ||
68 | regulator-min-microvolt = <5000000>; | ||
69 | regulator-max-microvolt = <5000000>; | ||
70 | gpio = <&gpio1 9 GPIO_ACTIVE_HIGH>; | ||
71 | enable-active-high; | ||
72 | }; | ||
73 | |||
74 | reg_usb_otg2_vbus: regulator@2 { | ||
75 | compatible = "regulator-fixed"; | ||
76 | reg = <2>; | ||
77 | pinctrl-names = "default"; | ||
78 | pinctrl-0 = <&pinctrl_usb_otg2>; | ||
79 | regulator-name = "usb_otg2_vbus"; | ||
80 | regulator-min-microvolt = <5000000>; | ||
81 | regulator-max-microvolt = <5000000>; | ||
82 | gpio = <&gpio1 12 GPIO_ACTIVE_HIGH>; | ||
83 | enable-active-high; | ||
84 | }; | ||
61 | }; | 85 | }; |
62 | }; | 86 | }; |
63 | 87 | ||
@@ -81,6 +105,19 @@ | |||
81 | status = "okay"; | 105 | status = "okay"; |
82 | }; | 106 | }; |
83 | 107 | ||
108 | &usbotg1 { | ||
109 | vbus-supply = <®_usb_otg1_vbus>; | ||
110 | pinctrl-names = "default"; | ||
111 | pinctrl-0 = <&pinctrl_usb_otg1_id>; | ||
112 | status = "okay"; | ||
113 | }; | ||
114 | |||
115 | &usbotg2 { | ||
116 | vbus-supply = <®_usb_otg2_vbus>; | ||
117 | dr_mode = "host"; | ||
118 | status = "okay"; | ||
119 | }; | ||
120 | |||
84 | &usdhc2 { | 121 | &usdhc2 { |
85 | pinctrl-names = "default"; | 122 | pinctrl-names = "default"; |
86 | pinctrl-0 = <&pinctrl_usdhc2>; | 123 | pinctrl-0 = <&pinctrl_usdhc2>; |
@@ -163,6 +200,24 @@ | |||
163 | >; | 200 | >; |
164 | }; | 201 | }; |
165 | 202 | ||
203 | pinctrl_usb_otg1: usbotg1grp { | ||
204 | fsl,pins = < | ||
205 | MX6SX_PAD_GPIO1_IO09__GPIO1_IO_9 0x10b0 | ||
206 | >; | ||
207 | }; | ||
208 | |||
209 | pinctrl_usb_otg1_id: usbotg1idgrp { | ||
210 | fsl,pins = < | ||
211 | MX6SX_PAD_GPIO1_IO10__ANATOP_OTG1_ID 0x17059 | ||
212 | >; | ||
213 | }; | ||
214 | |||
215 | pinctrl_usb_otg2: usbot2ggrp { | ||
216 | fsl,pins = < | ||
217 | MX6SX_PAD_GPIO1_IO12__GPIO1_IO_12 0x10b0 | ||
218 | >; | ||
219 | }; | ||
220 | |||
166 | pinctrl_usdhc2: usdhc2grp { | 221 | pinctrl_usdhc2: usdhc2grp { |
167 | fsl,pins = < | 222 | fsl,pins = < |
168 | MX6SX_PAD_SD2_CMD__USDHC2_CMD 0x17059 | 223 | MX6SX_PAD_SD2_CMD__USDHC2_CMD 0x17059 |