Skip to content

Commit 34bdad0

Browse files
marcanjannau
authored andcommitted
arm64: dts: apple: Add WiFi module and antenna properties
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>
1 parent 868ad8b commit 34bdad0

File tree

6 files changed

+21
-0
lines changed

6 files changed

+21
-0
lines changed

arch/arm64/boot/dts/apple/t6000-j314s.dts

+4
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,7 @@
1616
compatible = "apple,j314s", "apple,t6000", "apple,arm-platform";
1717
model = "Apple MacBook Pro (14-inch, M1 Pro, 2021)";
1818
};
19+
20+
&wifi0 {
21+
brcm,board-type = "apple,maldives";
22+
};

arch/arm64/boot/dts/apple/t6000-j316s.dts

+4
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,7 @@
1616
compatible = "apple,j316s", "apple,t6000", "apple,arm-platform";
1717
model = "Apple MacBook Pro (16-inch, M1 Pro, 2021)";
1818
};
19+
20+
&wifi0 {
21+
brcm,board-type = "apple,madagascar";
22+
};

arch/arm64/boot/dts/apple/t6001-j314c.dts

+4
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,7 @@
1616
compatible = "apple,j314c", "apple,t6001", "apple,arm-platform";
1717
model = "Apple MacBook Pro (14-inch, M1 Max, 2021)";
1818
};
19+
20+
&wifi0 {
21+
brcm,board-type = "apple,maldives";
22+
};

arch/arm64/boot/dts/apple/t6001-j316c.dts

+4
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,7 @@
1616
compatible = "apple,j316c", "apple,t6001", "apple,arm-platform";
1717
model = "Apple MacBook Pro (16-inch, M1 Max, 2021)";
1818
};
19+
20+
&wifi0 {
21+
brcm,board-type = "apple,madagascar";
22+
};

arch/arm64/boot/dts/apple/t600x-j314-j316.dtsi

+2
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,11 @@
174174
/* WLAN */
175175
bus-range = <1 1>;
176176
wifi0: wifi@0,0 {
177+
compatible = "pci14e4,4433";
177178
reg = <0x10000 0x0 0x0 0x0 0x0>;
178179
/* To be filled by the loader */
179180
local-mac-address = [00 10 18 00 00 10];
181+
apple,antenna-sku = "XX";
180182
};
181183
};
182184

arch/arm64/boot/dts/apple/t600x-j375.dtsi

+3
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,9 @@
190190
bus-range = <1 1>;
191191
wifi0: wifi@0,0 {
192192
reg = <0x10000 0x0 0x0 0x0 0x0>;
193+
compatible = "pci14e4,4433";
194+
brcm,board-type = "apple,okinawa";
195+
apple,antenna-sku = "XX";
193196
/* To be filled by the loader */
194197
local-mac-address = [00 10 18 00 00 10];
195198
};

0 commit comments

Comments
 (0)