]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: exynos: Add bcm4334 device node to Trats2
authorSimon Shields <simon@lineageos.org>
Mon, 13 Nov 2017 00:52:03 +0000 (11:52 +1100)
committerKrzysztof Kozlowski <krzk@kernel.org>
Mon, 27 Nov 2017 18:13:40 +0000 (19:13 +0100)
This patch allows the bcm4334 to power on and enables WiFi functionality
on Trats2.

Signed-off-by: Simon Shields <simon@lineageos.org>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm/boot/dts/exynos4412-trats2.dts

index 9f4672ba99438819b7c3a659df966a766c69807d..f285790e8e047bb8823016bf73bd1208faab7849 100644 (file)
@@ -300,6 +300,13 @@ camera: camera {
 
        };
 
+       wlan_pwrseq: sdhci3-pwrseq {
+               compatible = "mmc-pwrseq-simple";
+               reset-gpios = <&gpj0 0 GPIO_ACTIVE_LOW>;
+               clocks = <&max77686 MAX77686_CLK_PMIC>;
+               clock-names = "ext_clock";
+       };
+
        sound {
                compatible = "samsung,trats2-audio";
                samsung,i2s-controller = <&i2s0>;
@@ -1350,6 +1357,26 @@ &sdhci_2 {
        status = "okay";
 };
 
+&sdhci_3 {
+       #address-cells = <1>;
+       #size-cells = <0>;
+       non-removable;
+       bus-width = <4>;
+
+       mmc-pwrseq = <&wlan_pwrseq>;
+       pinctrl-names = "default";
+       pinctrl-0 = <&sd3_clk &sd3_cmd &sd3_bus4>;
+       status = "okay";
+
+       brcmf: wifi@1 {
+               reg = <1>;
+               compatible = "brcm,bcm4329-fmac";
+               interrupt-parent = <&gpx2>;
+               interrupts = <5 IRQ_TYPE_NONE>;
+               interrupt-names = "host-wake";
+       };
+};
+
 &serial_0 {
        status = "okay";
 };