Commit 69167ae5 authored by H. Nikolaus Schaller's avatar H. Nikolaus Schaller Committed by Ulf Hansson
Browse files

Documentation: dt: wireless: update wl1251 for sdio



The standard method for sdio devices connected to
an sdio interface is to define them as a child node
like we can see with wlcore.

Signed-off-by: default avatarH. Nikolaus Schaller <hns@goldelico.com>
Acked-by: default avatarKalle Valo <kvalo@codeaurora.org>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Cc: <stable@vger.kernel.org> # v4.7+
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 6ca228d1
Loading
Loading
Loading
Loading
+26 −0
Original line number Diff line number Diff line
@@ -35,3 +35,29 @@ Examples:
		ti,power-gpio = <&gpio3 23 GPIO_ACTIVE_HIGH>; /* 87 */
	};
};

&mmc3 {
	vmmc-supply = <&wlan_en>;

	bus-width = <4>;
	non-removable;
	ti,non-removable;
	cap-power-off-card;

	pinctrl-names = "default";
	pinctrl-0 = <&mmc3_pins>;

	#address-cells = <1>;
	#size-cells = <0>;

	wlan: wifi@1 {
		compatible = "ti,wl1251";

		reg = <1>;

		interrupt-parent = <&gpio1>;
		interrupts = <21 IRQ_TYPE_LEVEL_HIGH>;	/* GPIO_21 */

		ti,wl1251-has-eeprom;
	};
};