diff options
author | Enric Balletbo i Serra <eballetbo@iseebcn.com> | 2014-11-06 07:01:45 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2014-11-12 10:04:37 -0500 |
commit | 2de584ed31aa0a0b7e3c936286f55245e6ebd58a (patch) | |
tree | 028069d0b31428b2dc3083c72f34de5f5ec23a09 /arch/arm/boot/dts/omap3-igep0020.dts | |
parent | 9927064e8cd94ef23589546b47e5b9038fbb175f (diff) |
ARM: dts: omap3-igep00x0: Move outside common file the on board Wifi module.
New IGEP boards revisions will use another Wifi module, so this patch moves
the DT nodes outside the common omap3-igep.dtsi file to specific DT for every
board.
Signed-off-by: Enric Balletbo i Serra <eballetbo@iseebcn.com>
Acked-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/omap3-igep0020.dts')
-rw-r--r-- | arch/arm/boot/dts/omap3-igep0020.dts | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap3-igep0020.dts b/arch/arm/boot/dts/omap3-igep0020.dts index 75a3ac3ef169..0d82f0993214 100644 --- a/arch/arm/boot/dts/omap3-igep0020.dts +++ b/arch/arm/boot/dts/omap3-igep0020.dts | |||
@@ -45,6 +45,27 @@ | |||
45 | }; | 45 | }; |
46 | }; | 46 | }; |
47 | 47 | ||
48 | /* Regulator to trigger the WIFI_PDN signal of the Wifi module */ | ||
49 | lbee1usjyc_pdn: lbee1usjyc_pdn { | ||
50 | compatible = "regulator-fixed"; | ||
51 | regulator-name = "regulator-lbee1usjyc-pdn"; | ||
52 | regulator-min-microvolt = <3300000>; | ||
53 | regulator-max-microvolt = <3300000>; | ||
54 | gpio = <&gpio5 10 GPIO_ACTIVE_HIGH>; /* gpio_138 - WIFI_PDN */ | ||
55 | startup-delay-us = <10000>; | ||
56 | enable-active-high; | ||
57 | }; | ||
58 | |||
59 | /* Regulator to trigger the RESET_N_W signal of the Wifi module */ | ||
60 | lbee1usjyc_reset_n_w: lbee1usjyc_reset_n_w { | ||
61 | compatible = "regulator-fixed"; | ||
62 | regulator-name = "regulator-lbee1usjyc-reset-n-w"; | ||
63 | regulator-min-microvolt = <3300000>; | ||
64 | regulator-max-microvolt = <3300000>; | ||
65 | gpio = <&gpio5 11 GPIO_ACTIVE_HIGH>; /* gpio_139 - RESET_N_W */ | ||
66 | enable-active-high; | ||
67 | }; | ||
68 | |||
48 | /* HS USB Port 1 Power */ | 69 | /* HS USB Port 1 Power */ |
49 | hsusb1_power: hsusb1_power_reg { | 70 | hsusb1_power: hsusb1_power_reg { |
50 | compatible = "regulator-fixed"; | 71 | compatible = "regulator-fixed"; |
@@ -150,6 +171,14 @@ | |||
150 | >; | 171 | >; |
151 | }; | 172 | }; |
152 | 173 | ||
174 | lbee1usjyc_pins: pinmux_lbee1usjyc_pins { | ||
175 | pinctrl-single,pins = < | ||
176 | OMAP3_CORE1_IOPAD(0x2166, PIN_OUTPUT | MUX_MODE4) /* sdmmc2_dat5.gpio_137 - RESET_N_W */ | ||
177 | OMAP3_CORE1_IOPAD(0x2168, PIN_OUTPUT | MUX_MODE4) /* sdmmc2_dat6.gpio_138 - WIFI_PDN */ | ||
178 | OMAP3_CORE1_IOPAD(0x216a, PIN_OUTPUT | MUX_MODE4) /* sdmmc2_dat7.gpio_139 - RST_N_B */ | ||
179 | >; | ||
180 | }; | ||
181 | |||
153 | uart2_pins: pinmux_uart2_pins { | 182 | uart2_pins: pinmux_uart2_pins { |
154 | pinctrl-single,pins = < | 183 | pinctrl-single,pins = < |
155 | OMAP3_CORE1_IOPAD(0x2174, PIN_INPUT | MUX_MODE0) /* uart2_cts.uart2_cts */ | 184 | OMAP3_CORE1_IOPAD(0x2174, PIN_INPUT | MUX_MODE0) /* uart2_cts.uart2_cts */ |
@@ -218,6 +247,16 @@ | |||
218 | }; | 247 | }; |
219 | }; | 248 | }; |
220 | 249 | ||
250 | /* On board Wifi module */ | ||
251 | &mmc2 { | ||
252 | pinctrl-names = "default"; | ||
253 | pinctrl-0 = <&mmc2_pins &lbee1usjyc_pins>; | ||
254 | vmmc-supply = <&lbee1usjyc_pdn>; | ||
255 | vmmc_aux-supply = <&lbee1usjyc_reset_n_w>; | ||
256 | bus-width = <4>; | ||
257 | non-removable; | ||
258 | }; | ||
259 | |||
221 | &uart2 { | 260 | &uart2 { |
222 | pinctrl-names = "default"; | 261 | pinctrl-names = "default"; |
223 | pinctrl-0 = <&uart2_pins>; | 262 | pinctrl-0 = <&uart2_pins>; |