Skip to content

Commit d183f64

Browse files
IntegralPilotjannau
authored andcommitted
arm64: dts: apple: t8122: Add MTP device nodes to Macbook board files
Add mtp device nodes for t8122 (M3) based MacBooks. Signed-off-by: Michael Reeves <michael.reeves077@gmail.com>
1 parent e6916c0 commit d183f64

File tree

3 files changed

+117
-0
lines changed

3 files changed

+117
-0
lines changed

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

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,42 @@
6262
status = "okay";
6363
};
6464

65+
&mtp {
66+
status = "okay";
67+
};
68+
69+
&mtp_mbox {
70+
status = "okay";
71+
};
72+
73+
&mtp_dart {
74+
status = "okay";
75+
};
76+
77+
&mtp_dockchannel {
78+
status = "okay";
79+
};
80+
81+
&mtp_hid {
82+
apple,afe-reset-gpios = <&smc_gpio 8 GPIO_ACTIVE_LOW>;
83+
apple,stm-reset-gpios = <&smc_gpio 24 GPIO_ACTIVE_LOW>;
84+
85+
multi-touch {
86+
firmware-name = "apple/tpmtfw-j504.bin";
87+
};
88+
89+
keyboard: keyboard {
90+
hid-country-code = <0>;
91+
apple,keyboard-layout-id = <0>;
92+
};
93+
94+
stm {
95+
};
96+
97+
actuator {
98+
};
99+
100+
tp_accel {
101+
};
102+
};
103+

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

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,42 @@
4141
&fpwm1 {
4242
status = "okay";
4343
};
44+
45+
&mtp {
46+
status = "okay";
47+
};
48+
49+
&mtp_mbox {
50+
status = "okay";
51+
};
52+
53+
&mtp_dart {
54+
status = "okay";
55+
};
56+
57+
&mtp_dockchannel {
58+
status = "okay";
59+
};
60+
61+
&mtp_hid {
62+
apple,afe-reset-gpios = <&smc_gpio 8 GPIO_ACTIVE_LOW>;
63+
apple,stm-reset-gpios = <&smc_gpio 24 GPIO_ACTIVE_LOW>;
64+
65+
multi-touch {
66+
firmware-name = "apple/tpmtfw-j613.bin";
67+
};
68+
69+
keyboard: keyboard {
70+
hid-country-code = <0>;
71+
apple,keyboard-layout-id = <0>;
72+
};
73+
74+
stm {
75+
};
76+
77+
actuator {
78+
};
79+
80+
tp_accel {
81+
};
82+
};

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

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,42 @@
4141
&fpwm1 {
4242
status = "okay";
4343
};
44+
45+
&mtp {
46+
status = "okay";
47+
};
48+
49+
&mtp_mbox {
50+
status = "okay";
51+
};
52+
53+
&mtp_dart {
54+
status = "okay";
55+
};
56+
57+
&mtp_dockchannel {
58+
status = "okay";
59+
};
60+
61+
&mtp_hid {
62+
apple,afe-reset-gpios = <&smc_gpio 8 GPIO_ACTIVE_LOW>;
63+
apple,stm-reset-gpios = <&smc_gpio 24 GPIO_ACTIVE_LOW>;
64+
65+
multi-touch {
66+
firmware-name = "apple/tpmtfw-j615.bin";
67+
};
68+
69+
keyboard: keyboard {
70+
hid-country-code = <0>;
71+
apple,keyboard-layout-id = <0>;
72+
};
73+
74+
stm {
75+
};
76+
77+
actuator {
78+
};
79+
80+
tp_accel {
81+
};
82+
};

0 commit comments

Comments
 (0)