Skip to content

Commit

Permalink
arm64: dts: apple: Add WiFi module and antenna properties
Browse files Browse the repository at this point in the history
Add the new module-instance/antenna-sku properties required to select
WiFi firmwares properly to all board device trees.

Signed-off-by: Hector Martin <[email protected]>
  • Loading branch information
marcan committed Aug 2, 2022
1 parent d1cc45e commit 30c1cff
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arch/arm64/boot/dts/apple/t8103-j274.dts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
};
};

&wifi0 {
brcm,board-type = "apple,atlantisb";
};

/*
* Provide labels for the USB type C ports.
*/
Expand Down
4 changes: 4 additions & 0 deletions arch/arm64/boot/dts/apple/t8103-j293.dts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
model = "Apple MacBook Pro (13-inch, M1, 2020)";
};

&wifi0 {
brcm,board-type = "apple,honshu";
};

/*
* Provide labels for the USB type C ports.
*/
Expand Down
4 changes: 4 additions & 0 deletions arch/arm64/boot/dts/apple/t8103-j313.dts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
model = "Apple MacBook Air (M1, 2020)";
};

&wifi0 {
brcm,board-type = "apple,shikoku";
};

/*
* Provide labels for the USB type C ports.
*/
Expand Down
4 changes: 4 additions & 0 deletions arch/arm64/boot/dts/apple/t8103-j456.dts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
};
};

&wifi0 {
brcm,board-type = "apple,capri";
};

&i2c0 {
hpm2: usb-pd@3b {
compatible = "apple,cd321x";
Expand Down
4 changes: 4 additions & 0 deletions arch/arm64/boot/dts/apple/t8103-j457.dts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
};
};

&wifi0 {
brcm,board-type = "apple,santorini";
};

/*
* Provide labels for the USB type C ports.
*/
Expand Down
2 changes: 2 additions & 0 deletions arch/arm64/boot/dts/apple/t8103-jxxx.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,10 @@
&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";
};
};

0 comments on commit 30c1cff

Please sign in to comment.