Documentation: dt: wireless: update wl1251 for sdio
authorH. Nikolaus Schaller <hns@goldelico.com>
Thu, 7 Nov 2019 10:30:34 +0000 (11:30 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Fri, 15 Nov 2019 08:59:19 +0000 (09:59 +0100)
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: H. Nikolaus Schaller <hns@goldelico.com>
Acked-by: Kalle Valo <kvalo@codeaurora.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Cc: <stable@vger.kernel.org> # v4.7+
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Documentation/devicetree/bindings/net/wireless/ti,wl1251.txt

index bb2fcde..f389505 100644 (file)
@@ -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;
+       };
+};