Skip to content

Commit 8d6e910

Browse files
committed
arm64: dts: apple: Add wifi/bluetooth for t8122-j613
The sub-nodes, and also the aliases so m1n1 can populate fields. Signed-off-by: Alyssa Milburn <[email protected]>
1 parent 63f8638 commit 8d6e910

1 file changed

Lines changed: 28 additions & 2 deletions

File tree

arch/arm64/boot/dts/apple/t8122-j613.dts

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@
1717
compatible = "apple,j613", "apple,t8122", "apple,arm-platform";
1818
model = "Apple MacBook Air (13-inch, M3, 2024)";
1919

20+
aliases {
21+
bluetooth0 = &bluetooth0;
22+
wifi0 = &wifi0;
23+
};
24+
2025
led-controller {
2126
compatible = "pwm-leds";
2227
led-0 {
@@ -35,9 +40,30 @@
3540
power-domains = <&ps_disp_cpu>, <&ps_dptx_ext_phy>;
3641
};
3742

43+
/*
44+
* Force the bus number assignments so that we can declare some of the
45+
* on-board devices and properties that are populated by the bootloader
46+
* (such as MAC addresses).
47+
*/
3848
&port00 {
39-
bus-range = <1 1>;
40-
pwren-gpios = <&smc_gpio 13 GPIO_ACTIVE_HIGH>;
49+
bus-range = <1 1>;
50+
pwren-gpios = <&smc_gpio 13 GPIO_ACTIVE_HIGH>;
51+
wifi0: wifi@0,0 {
52+
compatible = "pci14e4,4434";
53+
reg = <0x10000 0x0 0x0 0x0 0x0>;
54+
/* To be filled by the loader */
55+
local-mac-address = [00 00 00 00 00 00];
56+
apple,antenna-sku = "XX";
57+
brcm,board-type = "apple,dnieper";
58+
};
59+
60+
bluetooth0: bluetooth@0,1 {
61+
compatible = "pci14e4,5f72";
62+
reg = <0x10100 0x0 0x0 0x0 0x0>;
63+
/* To be filled by the loader */
64+
local-bd-address = [00 00 00 00 00 00];
65+
brcm,board-type = "apple,dnieper";
66+
};
4167
};
4268

4369
&fpwm1 {

0 commit comments

Comments
 (0)