aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/am335x-evmsk.dts
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2014-03-03 04:02:56 -0500
committerTony Lindgren <tony@atomide.com>2014-03-04 13:46:33 -0500
commit90f4f01ba5c61c5a510664fbf105fee3bd137be4 (patch)
tree8ad66ef9ee721e7580f87210832521fd2088b357 /arch/arm/boot/dts/am335x-evmsk.dts
parentc792349ee7eb94a3a4f60408333cac4ad40d6279 (diff)
ARM: OMAP2+: Use pdata quirks for wl12xx on the AM335x EV-MSK
Enable the WiLink6 connected to mmc2. Signed-off-by: Imre Kaloz <kaloz@openwrt.org Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/am335x-evmsk.dts')
-rw-r--r--arch/arm/boot/dts/am335x-evmsk.dts40
1 files changed, 40 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts
index 413e5e133b3e..ac1f7597f1b1 100644
--- a/arch/arm/boot/dts/am335x-evmsk.dts
+++ b/arch/arm/boot/dts/am335x-evmsk.dts
@@ -45,6 +45,18 @@
45 regulator-boot-on; 45 regulator-boot-on;
46 }; 46 };
47 47
48 wl12xx_vmmc: fixedregulator@2 {
49 pinctrl-names = "default";
50 pinctrl-0 = <&wl12xx_gpio>;
51 compatible = "regulator-fixed";
52 regulator-name = "vwl1271";
53 regulator-min-microvolt = <1800000>;
54 regulator-max-microvolt = <1800000>;
55 gpio = <&gpio1 29 0>;
56 startup-delay-us = <70000>;
57 enable-active-high;
58 };
59
48 leds { 60 leds {
49 pinctrl-names = "default"; 61 pinctrl-names = "default";
50 pinctrl-0 = <&user_leds_s0>; 62 pinctrl-0 = <&user_leds_s0>;
@@ -264,6 +276,24 @@
264 0x144 (PIN_INPUT_PULLDOWN | MUX_MODE4) /* rmii1_ref_clk.mcasp1_axr3 */ 276 0x144 (PIN_INPUT_PULLDOWN | MUX_MODE4) /* rmii1_ref_clk.mcasp1_axr3 */
265 >; 277 >;
266 }; 278 };
279
280 mmc2_pins: pinmux_mmc2_pins {
281 pinctrl-single,pins = <
282 0x74 (PIN_INPUT_PULLUP | MUX_MODE7) /* gpmc_wpn.gpio0_31 */
283 0x80 (PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_csn1.mmc1_clk */
284 0x84 (PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_csn2.mmc1_cmd */
285 0x00 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad0.mmc1_dat0 */
286 0x04 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad1.mmc1_dat1 */
287 0x08 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad2.mmc1_dat2 */
288 0x0c (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad3.mmc1_dat3 */
289 >;
290 };
291
292 wl12xx_gpio: pinmux_wl12xx_gpio {
293 pinctrl-single,pins = <
294 0x7c (PIN_OUTPUT_PULLUP | MUX_MODE7) /* gpmc_csn0.gpio1_29 */
295 >;
296 };
267}; 297};
268 298
269&uart0 { 299&uart0 {
@@ -479,6 +509,16 @@
479 ti,no-reset-on-init; 509 ti,no-reset-on-init;
480}; 510};
481 511
512&mmc2 {
513 status = "okay";
514 vmmc-supply = <&wl12xx_vmmc>;
515 ti,non-removable;
516 bus-width = <4>;
517 cap-power-off-card;
518 pinctrl-names = "default";
519 pinctrl-0 = <&mmc2_pins>;
520};
521
482&mcasp1 { 522&mcasp1 {
483 pinctrl-names = "default"; 523 pinctrl-names = "default";
484 pinctrl-0 = <&mcasp1_pins>; 524 pinctrl-0 = <&mcasp1_pins>;