From: Xu Xuehui Date: Sat, 1 Apr 2017 01:43:33 +0000 (+0800) Subject: arm64: dts add Rockchip RK3328 EVB board for wifi X-Git-Tag: firefly_0821_release~157 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e43d9904991743158aa35fd2471ed7b838babc53;p=firefly-linux-kernel-4.4.55.git arm64: dts add Rockchip RK3328 EVB board for wifi Change-Id: Ia6588ebd31e34230ff137edc60cb7ffc433391e5 Signed-off-by: Xu Xuehui --- diff --git a/arch/arm64/boot/dts/rockchip/rk3328-evb.dts b/arch/arm64/boot/dts/rockchip/rk3328-evb.dts index 4f502fe0d394..2ff40704183e 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328-evb.dts +++ b/arch/arm64/boot/dts/rockchip/rk3328-evb.dts @@ -75,6 +75,30 @@ regulator-always-on; regulator-boot-on; }; + + sdio_pwrseq: sdio-pwrseq { + compatible = "mmc-pwrseq-simple"; + pinctrl-names = "default"; + pinctrl-0 = <&wifi_enable_h>; + + /* + * On the module itself this is one of these (depending + * on the actual card populated): + * - SDIO_RESET_L_WL_REG_ON + * - PDN (power down when low) + */ + reset-gpios = <&gpio1 18 GPIO_ACTIVE_LOW>; + }; + + wireless-wlan { + compatible = "wlan-platdata"; + rockchip,grf = <&grf>; + wifi_chip_type = "ap6354"; + sdio_vref = <1800>; + WIFI,host_wake_irq = <&gpio1 19 GPIO_ACTIVE_HIGH>; + status = "okay"; + }; + }; &cpu0 { @@ -314,4 +338,11 @@ <2 RK_PA6 RK_FUNC_GPIO &pcfg_pull_up>; /* gpio2_a6 */ }; }; + + sdio-pwrseq { + wifi_enable_h: wifi-enable-h { + rockchip,pins = + <1 18 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; };