ARM: dts: exynos: Enable WLAN support for the Trats board
authorMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 26 Mar 2020 09:46:24 +0000 (10:46 +0100)
committerKrzysztof Kozlowski <krzk@kernel.org>
Mon, 13 Apr 2020 09:42:36 +0000 (11:42 +0200)
Add a node for BCM4330/3 SDIO chip on SDHCI bus #3 and the required MMC
power sequence node for the Exynos4210-based Trats board.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm/boot/dts/exynos4210-trats.dts

index 7c39dd1..df901f1 100644 (file)
                };
        };
 
+       wlan_pwrseq: sdhci3-pwrseq {
+               compatible = "mmc-pwrseq-simple";
+               reset-gpios = <&gpl1 2 GPIO_ACTIVE_LOW>;
+       };
+
        fixed-rate-clocks {
                xxti {
                        compatible = "samsung,clock-xxti";
        status = "okay";
 };
 
+&sdhci_3 {
+       status = "okay";
+
+       #address-cells = <1>;
+       #size-cells = <0>;
+
+       non-removable;
+       bus-width = <4>;
+       mmc-pwrseq = <&wlan_pwrseq>;
+       vmmc-supply = <&tflash_reg>;
+
+       pinctrl-names = "default";
+       pinctrl-0 = <&sd3_clk>, <&sd3_cmd>, <&sd3_bus4>;
+
+       brcmf: wifi@1 {
+               compatible = "brcm,bcm4330-fmac";
+               reg = <1>;
+
+               interrupt-parent = <&gpx2>;
+               interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
+               interrupt-names = "host-wake";
+       };
+};
+
 &serial_0 {
        status = "okay";
 };