ARM64: dts: meson-gx-p23x-q20x: move the wifi node to each board's .dts
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sat, 23 Jun 2018 19:38:28 +0000 (21:38 +0200)
committerKevin Hilman <khilman@baylibre.com>
Fri, 20 Jul 2018 15:18:22 +0000 (08:18 -0700)
meson-gx-p23x-q20x.dtsi is currently used by five boards:
- Amlogic P230 and P231 (which should be identical, apart from the
  external RGMII PHY on P230 whereas P231 can only use the internal PHY)
- Amlogic Q200 (identical to P230 but with an S912 GXM SoC instead of a
  GXL S905D SoC) and Q201 (identical to P231 but with an S912 GXM SoC
  instead of a GXL S905D SoC)
- NEXBOX A1 (based on the S912 GXM SoC)

The Amlogic P230 board uses a Broadcom BCM4356 SDIO wifi chip. Since the
other Amlogic reference design boards are very similar it's safe to
assume that these also use a Broadcom based SDIO wifi chip (which is
also how it was configured in meson-gx-p23x-q20x.dtsi).

However, NEXBOX A1 comes with a "longsys LTM8830" SDIO wifi module,
which is based on the "Qualcomm Atheros QCA9377-3(QCA1023-0)" chipset.

Thus move the wifi node from meson-gx-p23x-q20x.dtsi to each of the
four Amlogic reference board's .dts files.
There are no devicetree bindings for the QCA9377 SDIO wifi module yet,
so nothing is added to meson-gxm-nexbox-a1.dts.

Fixes: f51b454549b812 ("ARM64: dts: meson-gxm: Add support for the Nexbox A1")
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi
arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts
arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p231.dts
arch/arm64/boot/dts/amlogic/meson-gxm-q200.dts
arch/arm64/boot/dts/amlogic/meson-gxm-q201.dts

index 01616982af0d33d4d61cdd3b64ce8eec2e26e5ba..765247bc4f2477e423a32d4c0efa7d83b0b3a4e9 100644 (file)
 
        vmmc-supply = <&vddao_3v3>;
        vqmmc-supply = <&vddio_boot>;
-
-       brcmf: wifi@1 {
-               reg = <1>;
-               compatible = "brcm,bcm4329-fmac";
-       };
 };
 
 /* SD card */
index 9c5be060fd5e08855d94b761866ffcc3672659ae..15014faa2ab2517ddd63e12d675bccf775c14b3e 100644 (file)
                remote-endpoint = <&hdmi_connector_in>;
        };
 };
+
+&sd_emmc_a {
+       brcmf: wifi@1 {
+               reg = <1>;
+               compatible = "brcm,bcm4329-fmac";
+       };
+};
index 80a231476b80997c3d1801bda9c5e9c43dbca428..92c425d0259cc66021ae480e84738ee778fe930f 100644 (file)
        phy-mode = "rmii";
        phy-handle = <&internal_phy>;
 };
+
+&sd_emmc_a {
+       brcmf: wifi@1 {
+               reg = <1>;
+               compatible = "brcm,bcm4329-fmac";
+       };
+};
index 432f7a435fbaf35d99aad1993975fff39152ca96..73d656e4aadeae9be4346de49de06aa49a91ee2e 100644 (file)
                interrupts = <25 IRQ_TYPE_LEVEL_LOW>;
        };
 };
+
+&sd_emmc_a {
+       brcmf: wifi@1 {
+               reg = <1>;
+               compatible = "brcm,bcm4329-fmac";
+       };
+};
index 8d132b17514a85229ddaeb117b4e1c73b86de68c..d02b80d77378664309ce664e623e5256ba62aa89 100644 (file)
        phy-mode = "rmii";
        phy-handle = <&internal_phy>;
 };
+
+&sd_emmc_a {
+       brcmf: wifi@1 {
+               reg = <1>;
+               compatible = "brcm,bcm4329-fmac";
+       };
+};