Skip to content
This repository was archived by the owner on Oct 5, 2018. It is now read-only.

Commit 364422b

Browse files
docularxuvishalbhoj
authored andcommitted
dts: hikey: add WLAN_EN pin as fixed regulator
Add WLAN_EN GPIO pin into DTS as fixed regulator Signed-off-by: Guodong Xu <[email protected]>
1 parent 866d794 commit 364422b

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

arch/arm64/boot/dts/hi6220-hikey.dts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,4 +182,21 @@
182182

183183
};
184184

185+
/* power control mechanism for WLAN_EN */
186+
wlan_en_reg: fixedregulator@1 {
187+
compatible = "regulator-fixed";
188+
regulator-name = "wlan-en-regulator";
189+
regulator-min-microvolt = <1800000>;
190+
regulator-max-microvolt = <1800000>;
191+
192+
/* WLAN_EN GPIO for this board - GPIO_0_5 */
193+
gpio = <&gpio0 5 0>;
194+
195+
/* WLAN card specific delay */
196+
startup-delay-us = <70000>;
197+
enable-active-high;
198+
199+
/* temp solution */
200+
regulator-always-on;
201+
};
185202
};

0 commit comments

Comments
 (0)