arm64: dts: apple: t8103: Expose PCI node for the WiFi MAC address
authorMark Kettenis <kettenis@openbsd.org>
Mon, 6 Dec 2021 18:38:16 +0000 (19:38 +0100)
committerHector Martin <marcan@marcan.st>
Tue, 7 Dec 2021 04:41:32 +0000 (13:41 +0900)
Expose the PCI node corresponding to the WiFi device and give it
a 'local-mac-address' property. The bootloader will update it
(m1n1 already has the required feature).

Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
Acked-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Hector Martin <marcan@marcan.st>
arch/arm64/boot/dts/apple/t8103-jxxx.dtsi

index e11d5de..fe2ae40 100644 (file)
@@ -13,6 +13,7 @@
        aliases {
                serial0 = &serial0;
                serial2 = &serial2;
+               wifi0 = &wifi0;
        };
 
        chosen {
@@ -69,4 +70,9 @@
  */
 &port00 {
        bus-range = <1 1>;
+       wifi0: network@0,0 {
+               reg = <0x10000 0x0 0x0 0x0 0x0>;
+               /* To be filled by the loader */
+               local-mac-address = [00 00 00 00 00 00];
+       };
 };