Skip to content

Commit a30ab93

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 45594e3 commit a30ab93

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
@@ -21,6 +21,10 @@
2121
power-domains = <&ps_disp_cpu>;
2222
};
2323

24+
&mtp_mt {
25+
firmware-name = "apple/tpmtfw-j514s.bin";
26+
};
27+
2428
&wifi0 {
2529
brcm,board-type = "apple,texa";
2630
};

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@
2121
power-domains = <&ps_disp_cpu>;
2222
};
2323

24+
&mtp_mt {
25+
firmware-name = "apple/tpmtfw-j516s.bin";
26+
};
27+
2428
&wifi0 {
2529
brcm,board-type = "apple,jura";
2630
};

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
@@ -72,6 +72,44 @@
7272
clock-frequency = <900000000>;
7373
};
7474

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

77115
/*

0 commit comments

Comments
 (0)