arm64: dts: apple: Add WiFi module and antenna properties
authorHector Martin <marcan@marcan.st>
Fri, 16 Sep 2022 16:03:22 +0000 (17:03 +0100)
committerKalle Valo <kvalo@kernel.org>
Mon, 19 Sep 2022 09:59:35 +0000 (12:59 +0300)
Add the new module-instance/antenna-sku properties required to select
WiFi firmwares properly to all board device trees.

Signed-off-by: Hector Martin <marcan@marcan.st>
Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
Acked-by: Hector Martin <marcan@marcan.st>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/E1oZDoI-0077b3-Dd@rmk-PC.armlinux.org.uk
arch/arm64/boot/dts/apple/t8103-j274.dts
arch/arm64/boot/dts/apple/t8103-j293.dts
arch/arm64/boot/dts/apple/t8103-j313.dts
arch/arm64/boot/dts/apple/t8103-j456.dts
arch/arm64/boot/dts/apple/t8103-j457.dts
arch/arm64/boot/dts/apple/t8103-jxxx.dtsi

index 2cd429e..c1f3ba9 100644 (file)
        };
 };
 
+&wifi0 {
+       brcm,board-type = "apple,atlantisb";
+};
+
 /*
  * Force the bus number assignments so that we can declare some of the
  * on-board devices and properties that are populated by the bootloader
index 49cdf4b..ecb10d2 100644 (file)
        model = "Apple MacBook Pro (13-inch, M1, 2020)";
 };
 
+&wifi0 {
+       brcm,board-type = "apple,honshu";
+};
+
 /*
  * Remove unused PCIe ports and disable the associated DARTs.
  */
index b0ebb45..df74173 100644 (file)
        model = "Apple MacBook Air (M1, 2020)";
 };
 
+&wifi0 {
+       brcm,board-type = "apple,shikoku";
+};
+
 /*
  * Remove unused PCIe ports and disable the associated DARTs.
  */
index 884fddf..8c6bf95 100644 (file)
        };
 };
 
+&wifi0 {
+       brcm,board-type = "apple,capri";
+};
+
 &i2c0 {
        hpm2: usb-pd@3b {
                compatible = "apple,cd321x";
index d7c6229..fe7c0aa 100644 (file)
        };
 };
 
+&wifi0 {
+       brcm,board-type = "apple,santorini";
+};
+
 /*
  * Force the bus number assignments so that we can declare some of the
  * on-board devices and properties that are populated by the bootloader
index fe2ae40..3d15b8e 100644 (file)
 &port00 {
        bus-range = <1 1>;
        wifi0: network@0,0 {
+               compatible = "pci14e4,4425";
                reg = <0x10000 0x0 0x0 0x0 0x0>;
                /* To be filled by the loader */
                local-mac-address = [00 00 00 00 00 00];
+               apple,antenna-sku = "XX";
        };
 };