Commit a5002c41 authored by Shohei Maruyama's avatar Shohei Maruyama Committed by Heiko Stuebner

arm64: dts: rockchip: add WiFi module support for Firefly-RK3399

This commit adds WiFi module support for the Firefly-RK3399.
Signed-off-by: default avatarShohei Maruyama <cheat.sc.linux@outlook.com>
Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent 707fa9e3
...@@ -622,6 +622,12 @@ vcc5v0_host_en: vcc5v0-host-en { ...@@ -622,6 +622,12 @@ vcc5v0_host_en: vcc5v0-host-en {
}; };
}; };
wifi {
wifi_host_wake_l: wifi-host-wake-l {
rockchip,pins = <0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>;
};
};
leds { leds {
work_led_gpio: work_led-gpio { work_led_gpio: work_led-gpio {
rockchip,pins = <2 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>; rockchip,pins = <2 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>;
...@@ -646,6 +652,36 @@ &saradc { ...@@ -646,6 +652,36 @@ &saradc {
status = "okay"; status = "okay";
}; };
&sdio0 {
/* WiFi & BT combo module Ampak AP6356S */
bus-width = <4>;
cap-sdio-irq;
cap-sd-highspeed;
keep-power-in-suspend;
mmc-pwrseq = <&sdio_pwrseq>;
non-removable;
num-slots = <1>;
pinctrl-names = "default";
pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>;
sd-uhs-sdr104;
/* Power supply */
vqmmc-supply = &vcc1v8_s3; /* IO line */
vmmc-supply = &vcc_sdio; /* card's power */
status = "okay";
brcmf: wifi@1 {
compatible = "brcm,bcm4329-fmac";
interrupt-parent = <&gpio0>;
interrupts = <RK_PA3 GPIO_ACTIVE_HIGH>;
interrupt-names = "host-wake";
brcm,drive-strength = <5>;
pinctrl-names = "default";
pinctrl-0 = <&wifi_host_wake_l>;
};
};
&sdmmc { &sdmmc {
bus-width = <4>; bus-width = <4>;
cap-mmc-highspeed; cap-mmc-highspeed;
......
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