Skip to content

Commit 9b17a67

Browse files
jannaumarcan
authored andcommitted
arm64: dts: apple: t8112: Add touchbar digitizer node
Signed-off-by: Janne Grunau <j@jannau.net>
1 parent 9f0d601 commit 9b17a67

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

arch/arm64/boot/dts/apple/t8112-j493.dts

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
bluetooth0 = &bluetooth0;
2222
wifi0 = &wifi0;
2323
keyboard = &keyboard;
24+
touchbar0 = &touchbar0;
2425
};
2526

2627
led-controller {
@@ -190,6 +191,25 @@
190191
};
191192
};
192193

194+
&spi3 {
195+
status = "okay";
196+
197+
touchbar0: touchbar@0 {
198+
compatible = "apple,j493-touchbar", "apple,z2-touchbar", "apple,z2-multitouch";
199+
reg = <0>;
200+
label = "Mac14,7 Touch Bar";
201+
spi-max-frequency = <8000000>;
202+
spi-cs-setup-delay-ns = <2000>;
203+
spi-cs-hold-delay-ns = <2000>;
204+
205+
reset-gpios = <&pinctrl_ap 170 GPIO_ACTIVE_LOW>;
206+
interrupts-extended = <&pinctrl_ap 174 IRQ_TYPE_EDGE_FALLING>;
207+
firmware-name = "apple/dfrmtfw-j493.bin";
208+
touchscreen-size-x = <23045>;
209+
touchscreen-size-y = <640>;
210+
};
211+
};
212+
193213
&mtp {
194214
status = "okay";
195215
};

0 commit comments

Comments
 (0)