Commit b263b006 authored by Biju Das's avatar Biju Das Committed by Simon Horman
Browse files

arm64: dts: renesas: cat874: Add WLAN support



This patch enables WLAN support for the CAT874 board.

Signed-off-by: default avatarBiju Das <biju.das@bp.renesas.com>
Reviewed-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent a461b5bf
Loading
Loading
Loading
Loading
+38 −0
Original line number Diff line number Diff line
@@ -104,6 +104,17 @@
			  1800000 0>;
	};

	wlan_en_reg: fixedregulator {
		compatible = "regulator-fixed";
		regulator-name = "wlan-en-regulator";
		regulator-min-microvolt = <1800000>;
		regulator-max-microvolt = <1800000>;
		startup-delay-us = <70000>;

		gpio = <&gpio2 25 GPIO_ACTIVE_HIGH>;
		enable-active-high;
	};

	x13_clk: x13 {
		compatible = "fixed-clock";
		#clock-cells = <0>;
@@ -243,6 +254,12 @@
		power-source = <1800>;
	};

	sdhi3_pins: sd3 {
		groups = "sdhi3_data4", "sdhi3_ctrl";
		function = "sdhi3";
		power-source = <1800>;
	};

	sound_pins: sound {
		groups = "ssi01239_ctrl", "ssi0_data";
		function = "ssi";
@@ -300,6 +317,27 @@
	status = "okay";
};

&sdhi3 {
	status = "okay";
	pinctrl-0 = <&sdhi3_pins>;
	pinctrl-names = "default";

	vmmc-supply = <&wlan_en_reg>;
	bus-width = <4>;
	non-removable;
	cap-power-off-card;
	keep-power-in-suspend;

	#address-cells = <1>;
	#size-cells = <0>;
	wlcore: wlcore@2 {
		compatible = "ti,wl1837";
		reg = <2>;
		interrupt-parent = <&gpio1>;
		interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
	};
};

&usb2_phy0 {
	renesas,no-otg-pins;
	status = "okay";