Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: Add VAR-SOM-OM44 WLAN nodes

Both the VAR-STK-OM44 and VAR-DVK-OM44 boards comes with the
WLAN/BT version of the system on module VAR-SOM-OM44.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>

authored by

Joachim Eastwood and committed by
Tony Lindgren
05773878 bdfd0abd

+70
+1
arch/arm/boot/dts/omap4-var-dvk-om44.dts
··· 8 8 /dts-v1/; 9 9 10 10 #include "omap4-var-som-om44.dtsi" 11 + #include "omap4-var-som-om44-wlan.dtsi" 11 12 #include "omap4-var-om44customboard.dtsi" 12 13 13 14 / {
+68
arch/arm/boot/dts/omap4-var-som-om44-wlan.dtsi
··· 1 + /* 2 + * Copyright (C) 2014 Joachim Eastwood <manabian@gmail.com> 3 + * 4 + * This program is free software; you can redistribute it and/or modify 5 + * it under the terms of the GNU General Public License version 2 as 6 + * published by the Free Software Foundation. 7 + */ 8 + 9 + / { 10 + /* regulator for wl12xx on sdio4 */ 11 + wl12xx_vmmc: wl12xx_vmmc { 12 + pinctrl-names = "default"; 13 + pinctrl-0 = <&wl12xx_ctrl_pins>; 14 + compatible = "regulator-fixed"; 15 + regulator-name = "vwl1271"; 16 + regulator-min-microvolt = <1800000>; 17 + regulator-max-microvolt = <1800000>; 18 + gpio = <&gpio2 11 0>; /* gpio 43 */ 19 + startup-delay-us = <70000>; 20 + enable-active-high; 21 + }; 22 + }; 23 + 24 + &omap4_pmx_core { 25 + uart2_pins: pinmux_uart2_pins { 26 + pinctrl-single,pins = < 27 + OMAP4_IOPAD(0x118, PIN_INPUT_PULLUP | MUX_MODE0) /* uart2_cts.uart2_cts */ 28 + OMAP4_IOPAD(0x11a, PIN_OUTPUT | MUX_MODE0) /* uart2_rts.uart2_rts */ 29 + OMAP4_IOPAD(0x11c, PIN_INPUT_PULLUP | MUX_MODE0) /* uart2_rx.uart2_rx */ 30 + OMAP4_IOPAD(0x11e, PIN_OUTPUT | MUX_MODE0) /* uart2_tx.uart2_tx */ 31 + >; 32 + }; 33 + 34 + wl12xx_ctrl_pins: pinmux_wl12xx_ctrl_pins { 35 + pinctrl-single,pins = < 36 + OMAP4_IOPAD(0x062, PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_a17.gpio_41 (WLAN_IRQ) */ 37 + OMAP4_IOPAD(0x064, PIN_OUTPUT | MUX_MODE3) /* gpmc_a18.gpio_42 (BT_EN) */ 38 + OMAP4_IOPAD(0x066, PIN_OUTPUT | MUX_MODE3) /* gpmc_a19.gpio_43 (WLAN_EN) */ 39 + >; 40 + }; 41 + 42 + mmc4_pins: pinmux_mmc4_pins { 43 + pinctrl-single,pins = < 44 + OMAP4_IOPAD(0x154, PIN_INPUT_PULLUP | MUX_MODE1) /* mcspi4_clk.sdmmc4_clk */ 45 + OMAP4_IOPAD(0x156, PIN_INPUT_PULLUP | MUX_MODE1) /* mcspi4_simo.sdmmc4_cmd */ 46 + OMAP4_IOPAD(0x158, PIN_INPUT_PULLUP | MUX_MODE1) /* mcspi4_somi.sdmmc4_dat0 */ 47 + OMAP4_IOPAD(0x15e, PIN_INPUT_PULLUP | MUX_MODE1) /* uart4_tx.sdmmc4_dat1 */ 48 + OMAP4_IOPAD(0x15c, PIN_INPUT_PULLUP | MUX_MODE1) /* uart4_rx.sdmmc4_dat2 */ 49 + OMAP4_IOPAD(0x15a, PIN_INPUT_PULLUP | MUX_MODE1) /* mcspi4_cs0.sdmmc4_dat3 */ 50 + >; 51 + }; 52 + }; 53 + 54 + &uart2 { 55 + pinctrl-names = "default"; 56 + pinctrl-0 = <&uart2_pins>; 57 + status = "okay"; 58 + }; 59 + 60 + &mmc4 { 61 + pinctrl-names = "default"; 62 + pinctrl-0 = <&mmc4_pins>; 63 + vmmc-supply = <&wl12xx_vmmc>; 64 + non-removable; 65 + bus-width = <4>; 66 + cap-power-off-card; 67 + status = "okay"; 68 + };
+1
arch/arm/boot/dts/omap4-var-stk-om44.dts
··· 8 8 /dts-v1/; 9 9 10 10 #include "omap4-var-som-om44.dtsi" 11 + #include "omap4-var-som-om44-wlan.dtsi" 11 12 #include "omap4-var-om44customboard.dtsi" 12 13 13 14 / {