diff options
author | vijay | 2013-09-12 18:06:09 -0500 |
---|---|---|
committer | Yaniv Machani | 2015-08-04 06:29:52 -0500 |
commit | d64e11265efa4cdd74b151fd055cb7090c25963a (patch) | |
tree | 086589f653731f68ceb0f5508c6e8e0869f7fbe7 | |
parent | ae49774e4c44075af0aa2d4353ca082f01f013cb (diff) | |
download | kernel-audio-d64e11265efa4cdd74b151fd055cb7090c25963a.tar.gz kernel-audio-d64e11265efa4cdd74b151fd055cb7090c25963a.tar.xz kernel-audio-d64e11265efa4cdd74b151fd055cb7090c25963a.zip |
ARM: DRA7: Add wlan support for DRA7
The wilink module is a combo wireless connectivity sdio card based on
Texas Instrument's wl18xx solution.
It is a 4-wire, 1.8V, embedded sdio wlan device with an external irq
line and is power-controlled by a gpio-based fixed regulator.
Add support for the wlan capabilities of this module by muxing the
relevant mmc and gpio lines, and setting the required platform data.
Change-Id: Id362627c3038306876be72020ddaefd0989d70c3
Signed-off-by: Ido Yariv <ido@wizery.com>
Signed-off-by: bvijay <bvijay@ti.com>
[adapted for 3.14 and new wlcore interrupt scheme]
[remove uart2 pin muxes as they are used for mmc4 and wlan]
[remove uart1 flow control pin muxes as they are used for mmc4 ]
Signed-off-by: Eyal Reizer <eyalr@ti.com>
[adapted for 4.1 and new wlcore interrupt scheme]
[Remove pinmux related settings as they are now done by u-boot]
Signed-off-by: Eyal Reizer <eyalr@ti.com>
-rw-r--r-- | arch/arm/boot/dts/dra7-evm.dts | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts index 10fa595ae8eb..bcbfbb70769e 100644 --- a/arch/arm/boot/dts/dra7-evm.dts +++ b/arch/arm/boot/dts/dra7-evm.dts | |||
@@ -37,6 +37,16 @@ | |||
37 | regulator-max-microvolt = <1800000>; | 37 | regulator-max-microvolt = <1800000>; |
38 | }; | 38 | }; |
39 | 39 | ||
40 | vmmcwl_fixed: fixedregulator-mmcwl { | ||
41 | compatible = "regulator-fixed"; | ||
42 | regulator-name = "vmmcwl_fixed"; | ||
43 | regulator-min-microvolt = <1800000>; | ||
44 | regulator-max-microvolt = <1800000>; | ||
45 | gpio = <&gpio5 8 0>; /* gpio5_8 */ | ||
46 | startup-delay-us = <70000>; | ||
47 | enable-active-high; | ||
48 | }; | ||
49 | |||
40 | extcon_usb1: extcon_usb1 { | 50 | extcon_usb1: extcon_usb1 { |
41 | compatible = "linux,extcon-usb-gpio"; | 51 | compatible = "linux,extcon-usb-gpio"; |
42 | id-gpio = <&pcf_gpio_21 1 GPIO_ACTIVE_HIGH>; | 52 | id-gpio = <&pcf_gpio_21 1 GPIO_ACTIVE_HIGH>; |
@@ -457,6 +467,24 @@ | |||
457 | bus-width = <8>; | 467 | bus-width = <8>; |
458 | }; | 468 | }; |
459 | 469 | ||
470 | &mmc4 { | ||
471 | status = "okay"; | ||
472 | vmmc-supply = <&vmmcwl_fixed>; | ||
473 | bus-width = <4>; | ||
474 | cap-power-off-card; | ||
475 | keep-power-in-suspend; | ||
476 | ti,non-removable; | ||
477 | |||
478 | #address-cells = <1>; | ||
479 | #size-cells = <0>; | ||
480 | wlcore: wlcore@0 { | ||
481 | compatible = "ti,wl1835"; | ||
482 | reg = <2>; | ||
483 | interrupt-parent = <&gpio5>; | ||
484 | interrupts = <7 IRQ_TYPE_LEVEL_HIGH>; | ||
485 | }; | ||
486 | }; | ||
487 | |||
460 | &cpu0 { | 488 | &cpu0 { |
461 | cpu0-voltdm = <&voltdm_mpu>; | 489 | cpu0-voltdm = <&voltdm_mpu>; |
462 | voltage-tolerance = <1>; | 490 | voltage-tolerance = <1>; |