ARM64: dts: meson-gxbb: Add P20x Wifi SDIO support
authorNeil Armstrong <narmstrong@baylibre.com>
Thu, 20 Oct 2016 11:42:56 +0000 (13:42 +0200)
committerKevin Hilman <khilman@baylibre.com>
Thu, 20 Oct 2016 17:18:28 +0000 (10:18 -0700)
Add Wifi module support on the Amlogic P20x boards on the SDIO port.
The Wifi module also needs a 32768Hz clock provided by the PWM E port
through a pwm-clock node in it's power sequence.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi

index 6861b0af6573afeb3583e65d519eb85d633d1f0d..203be28978d5ede48d7050356f14a2ad19423a7e 100644 (file)
                clock-frequency = <32768>;
                pwms = <&pwm_ef 0 30518 0>; /* PWM_E at 32.768KHz */
        };
+
+       sdio_pwrseq: sdio-pwrseq {
+               compatible = "mmc-pwrseq-simple";
+               reset-gpios = <&gpio GPIOX_6 GPIO_ACTIVE_LOW>;
+               clocks = <&wifi32k>;
+               clock-names = "ext_clock";
+       };
 };
 
 /* This UART is brought out to the DB9 connector */
        non-removable;
        disable-wp;
 
+       mmc-pwrseq = <&sdio_pwrseq>;
+
        vmmc-supply = <&vddao_3v3>;
        vqmmc-supply = <&vddio_boot>;
+
+       brcmf: bcrmf@1 {
+               reg = <1>;
+               compatible = "brcm,bcm4329-fmac";
+       };
 };
 
 /* SD card */