Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1337892

[PATCH 5/5] arm64: dts: add wifi nodes support for hi6220-hikey

From Guodong Xu <guodong.xu@linaro.org>
Newsgroups linux.kernel
Subject [PATCH 5/5] arm64: dts: add wifi nodes support for hi6220-hikey
Date 2016-02-19 06:30 +0100
Message-ID <r3LNE-d0-9@gated-at.bofh.it> (permalink)
References <r3LDX-8wv-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Add wifi nodes support for hi6220-hikey

Signed-off-by: Guodong Xu <guodong.xu@linaro.org>
---
 arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 28 ++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts
index 5a004b4..eba6ec7 100644
--- a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts
+++ b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts
@@ -47,6 +47,7 @@
 		i2c0: i2c@f7100000 {
 			status = "ok";
 		};
+
 		i2c1: i2c@f7101000 {
 			status = "ok";
 		};
@@ -62,6 +63,33 @@
 		uart3: uart@f7113000 {
 			status = "ok";
 		};
+
+		dwmmc_2: dwmmc2@f723f000 {
+			/* 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: fixedregulator@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 {
-- 
1.9.1

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/5] add DTS for hi6220 and HiKey Guodong Xu <guodong.xu@linaro.org> - 2016-02-19 06:20 +0100
  [PATCH 2/5] arm64: dts: add LED nodes for hi6220-hikey Guodong Xu <guodong.xu@linaro.org> - 2016-02-19 06:20 +0100
  [PATCH 5/5] arm64: dts: add wifi nodes support for hi6220-hikey Guodong Xu <guodong.xu@linaro.org> - 2016-02-19 06:30 +0100
  [PATCH 3/5] arm64: dts: add dwmmc nodes for hi6220 Guodong Xu <guodong.xu@linaro.org> - 2016-02-19 06:30 +0100

csiph-web