Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+36 −0
Original line number Original line Diff line number Diff line
@@ -622,6 +622,12 @@
		};
		};
	};
	};


	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 @@
	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;