Skip to content

Commit 64e441b

Browse files
committed
arm64: dts: apple: t603x-g514-j516: Active MTP based input
List trackpad firmware files and activate MTP devices nodes on all t6030, t6031 and t6034 based MacBooks. Signed-off-by: Janne Grunau <j@jannau.net>
1 parent 5ec5d05 commit 64e441b

7 files changed

Lines changed: 62 additions & 0 deletions

File tree

arch/arm64/boot/dts/apple/t6030-j514s.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717
model = "Apple MacBook Pro (14-inch, M3 Pro, Nov 2023)";
1818
};
1919

20+
&mtp_mt {
21+
firmware-name = "apple/tpmtfw-j514s.bin";
22+
};
23+
2024
&wifi0 {
2125
brcm,board-type = "apple,texa";
2226
};

arch/arm64/boot/dts/apple/t6030-j516s.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717
model = "Apple MacBook Pro (16-inch, M3 Pro, Nov 2023)";
1818
};
1919

20+
&mtp_mt {
21+
firmware-name = "apple/tpmtfw-j516s.bin";
22+
};
23+
2024
&wifi0 {
2125
brcm,board-type = "apple,jura";
2226
};

arch/arm64/boot/dts/apple/t6031-j514c.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717
model = "Apple MacBook Pro (14-inch, M3 Max, 16 CPU cores, Nov 2023)";
1818
};
1919

20+
&mtp_mt {
21+
firmware-name = "apple/tpmtfw-j514c.bin";
22+
};
23+
2024
&wifi0 {
2125
brcm,board-type = "apple,texa";
2226
};

arch/arm64/boot/dts/apple/t6031-j516c.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717
model = "Apple MacBook Pro (16-inch, M3 Max, 16 CPU cores, Nov 2023)";
1818
};
1919

20+
&mtp_mt {
21+
firmware-name = "apple/tpmtfw-j516c.bin";
22+
};
23+
2024
&wifi0 {
2125
brcm,board-type = "apple,jura";
2226
};

arch/arm64/boot/dts/apple/t6034-j514m.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717
model = "Apple MacBook Pro (14-inch, M3 Max, 14 CPU cores, Nov 2023)";
1818
};
1919

20+
&mtp_mt {
21+
firmware-name = "apple/tpmtfw-j514m.bin";
22+
};
23+
2024
&wifi0 {
2125
brcm,board-type = "apple,texa";
2226
};

arch/arm64/boot/dts/apple/t6034-j516m.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717
model = "Apple MacBook Pro (16-inch, M3 Max, 14 CPU cores, Nov 2023)";
1818
};
1919

20+
&mtp_mt {
21+
firmware-name = "apple/tpmtfw-j516m.bin";
22+
};
23+
2024
&wifi0 {
2125
brcm,board-type = "apple,jura";
2226
};

arch/arm64/boot/dts/apple/t603x-j514-j516.dtsi

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,44 @@
6868
status = "okay";
6969
};
7070

71+
&mtp {
72+
status = "okay";
73+
};
74+
75+
&mtp_mbox {
76+
status = "okay";
77+
};
78+
79+
&mtp_dart {
80+
status = "okay";
81+
};
82+
83+
&mtp_dockchannel {
84+
status = "okay";
85+
};
86+
87+
&mtp_hid {
88+
apple,afe-reset-gpios = <&smc_gpio_low 25 GPIO_ACTIVE_LOW>;
89+
apple,stm-reset-gpios = <&smc_gpio_low 26 GPIO_ACTIVE_LOW>;
90+
91+
mtp_mt: multi-touch {
92+
};
93+
94+
keyboard: keyboard {
95+
hid-country-code = <0>;
96+
apple,keyboard-layout-id = <0>;
97+
};
98+
99+
stm {
100+
};
101+
102+
actuator {
103+
};
104+
105+
tp_accel {
106+
};
107+
};
108+
71109
/* PCIe devices */
72110

73111
/*

0 commit comments

Comments
 (0)