Commit 7d8c3667 authored by Guodong Xu's avatar Guodong Xu Committed by Wei Xu

arm64: dts: hi3660-hikey960: add nodes for WiFi

Add nodes for WiFi. HiKey960 is using TI WL1837MOD module.
Signed-off-by: default avatarGuodong Xu <guodong.xu@linaro.org>
Signed-off-by: default avatarWei Xu <xuwei5@hisilicon.com>
parent 804d7d7a
...@@ -145,6 +145,20 @@ ldo16: LDO16 { /* SD VDD */ ...@@ -145,6 +145,20 @@ ldo16: LDO16 { /* SD VDD */
}; };
}; };
}; };
wlan_en: wlan-en-1-8v {
compatible = "regulator-fixed";
regulator-name = "wlan-en-regulator";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
/* GPIO_051_WIFI_EN */
gpio = <&gpio6 3 0>;
/* WLAN card specific delay */
startup-delay-us = <70000>;
enable-active-high;
};
}; };
&i2c0 { &i2c0 {
...@@ -208,3 +222,22 @@ &dwmmc1 { ...@@ -208,3 +222,22 @@ &dwmmc1 {
vqmmc-supply = <&ldo9>; vqmmc-supply = <&ldo9>;
status = "okay"; status = "okay";
}; };
&dwmmc2 { /* WIFI */
broken-cd;
/* WL_EN */
vmmc-supply = <&wlan_en>;
ti,non-removable;
non-removable;
#address-cells = <0x1>;
#size-cells = <0x0>;
status = "ok";
wlcore: wlcore@2 {
compatible = "ti,wl1837";
reg = <2>; /* sdio func num */
/* WL_IRQ, GPIO_179_WL_WAKEUP_AP */
interrupt-parent = <&gpio22>;
interrupts = <3 IRQ_TYPE_EDGE_RISING>;
};
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment