arm64: dts: add wifi nodes support for hi6220-hikey
authorGuodong Xu <guodong.xu@linaro.org>
Tue, 12 Apr 2016 23:55:52 +0000 (07:55 +0800)
committerWei Xu <xuwei5@hisilicon.com>
Fri, 15 Apr 2016 15:43:10 +0000 (16:43 +0100)
Add wifi nodes support for hi6220-hikey

Signed-off-by: Guodong Xu <guodong.xu@linaro.org>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts

index cc1148d911ad626c16d919dca82bb4e046ba2db9..e92a30c87a82cbe751078be010f7d671c5a277ab 100644 (file)
                uart3: uart@f7113000 {
                        status = "ok";
                };
+
+               dwmmc_2: dwmmc2@f723f000 {
+                       ti,non-removable;
+                       non-removable;
+                       /* WL_EN */
+                       vmmc-supply = <&wlan_en_reg>;
+
+                       #address-cells = <0x1>;
+                       #size-cells = <0x0>;
+                       wlcore: wlcore@2 {
+                               compatible = "ti,wl1835";
+                               reg = <2>;      /* sdio func num */
+                               /* WL_IRQ, WL_HOST_WAKE_GPIO1_3 */
+                               interrupt-parent = <&gpio1>;
+                               interrupts = <3 IRQ_TYPE_EDGE_RISING>;
+                       };
+               };
+
+               wlan_en_reg: regulator@1 {
+                       compatible = "regulator-fixed";
+                       regulator-name = "wlan-en-regulator";
+                       regulator-min-microvolt = <1800000>;
+                       regulator-max-microvolt = <1800000>;
+                       /* WLAN_EN GPIO */
+                       gpio = <&gpio0 5 0>;
+                       /* WLAN card specific delay */
+                       startup-delay-us = <70000>;
+                       enable-active-high;
+               };
        };
 
        leds {
This page took 0.025381 seconds and 5 git commands to generate.