ARM: dts: dra76-evm: Add wilink8 wlan support
authorVishal Mahaveer <vishalm@ti.com>
Fri, 27 Apr 2018 12:09:02 +0000 (17:39 +0530)
committerTony Lindgren <tony@atomide.com>
Thu, 3 May 2018 17:32:18 +0000 (10:32 -0700)
Add support for WLAN using wilink8 module. On dra76-evm, MMC4 is
used for connecting to wilink8 module.

Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/dra76-evm.dts

index 2deb964..ad154c7 100644 (file)
                regulator-boot-on;
        };
 
+       vio_3v6: fixedregulator-vio_3v6 {
+               compatible = "regulator-fixed";
+               regulator-name = "vio_3v6";
+               regulator-min-microvolt = <3600000>;
+               regulator-max-microvolt = <3600000>;
+               vin-supply = <&vsys_5v0>;
+               regulator-always-on;
+               regulator-boot-on;
+       };
+
        vsys_3v3: fixedregulator-vsys3v3 {
                /* Output of Cntlr A of TPS43351-Q1 on dra76-evm */
                compatible = "regulator-fixed";
                vin-supply = <&smps5_reg>;
        };
 
+       vmmcwl_fixed: fixedregulator-mmcwl {
+               compatible = "regulator-fixed";
+               regulator-name = "vmmcwl_fixed";
+               regulator-min-microvolt = <1800000>;
+               regulator-max-microvolt = <1800000>;
+               gpio = <&gpio5 8 0>;    /* gpio5_8 */
+               startup-delay-us = <70000>;
+               enable-active-high;
+       };
+
        vtt_fixed: fixedregulator-vtt {
                compatible = "regulator-fixed";
                regulator-name = "vtt_fixed";
        pinctrl-3 = <&mmc2_pins_hs200 &mmc2_iodelay_hs200_conf>;
 };
 
+&mmc4 {
+       status = "okay";
+       vmmc-supply = <&vio_3v6>;
+       vqmmc-supply = <&vmmcwl_fixed>;
+       pinctrl-names = "default", "hs", "sdr12", "sdr25";
+       pinctrl-0 = <&mmc4_pins_hs &mmc4_iodelay_default_conf>;
+       pinctrl-1 = <&mmc4_pins_hs &mmc4_iodelay_manual1_conf>;
+       pinctrl-2 = <&mmc4_pins_hs &mmc4_iodelay_manual1_conf>;
+       pinctrl-3 = <&mmc4_pins_hs &mmc4_iodelay_manual1_conf>;
+};
+
 /* No RTC on this device */
 &rtc {
        status = "disabled";