File tree Expand file tree Collapse file tree
arch/arm64/boot/dts/apple Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828 default-state = "keep";
2929 };
3030 };
31+
32+ aliases {
33+ touchbar0 = &touchbar0;
34+ };
3135};
3236
3337&dcp {
5963 label = "USB-C Left-front";
6064};
6165
66+ &spi0 {
67+ status = "okay";
68+
69+ touchbar0: touchbar@0 {
70+ compatible = "apple,j293-touchbar",
71+ "apple,z2-touchbar", "apple,z2-multitouch";
72+ reg = <0>;
73+ spi-max-frequency = <11500000>;
74+ spi-cs-setup-delay-ns = <2000>;
75+ spi-cs-hold-delay-ns = <2000>;
76+ reset-gpios = <&pinctrl_ap 139 GPIO_ACTIVE_LOW>;
77+ cs-gpios = <&pinctrl_ap 109 0>;
78+ interrupts-extended = <&pinctrl_ap 194 IRQ_TYPE_EDGE_FALLING>;
79+ firmware-name = "apple/dfrmtfw-j293.bin";
80+ touchscreen-size-x = <23045>;
81+ touchscreen-size-y = <640>;
82+ label = "MacBookPro17,1 Touch Bar";
83+ };
84+ };
85+
6286&spi3 {
6387 status = "okay";
6488
Original file line number Diff line number Diff line change 702702 status = "disabled";
703703 };
704704
705+ spi0: spi@235100000 {
706+ compatible = "apple,t8103-spi", "apple,spi";
707+ reg = <0x2 0x35100000 0x0 0x4000>;
708+ interrupt-parent = <&aic>;
709+ interrupts = <AIC_IRQ 614 IRQ_TYPE_LEVEL_HIGH>;
710+ clocks = <&clk_200m>;
711+ power-domains = <&ps_spi0>;
712+ #address-cells = <1>;
713+ #size-cells = <0>;
714+ status = "disabled"; /* only used in J293 */
715+ };
716+
705717 spi1: spi@235104000 {
706718 compatible = "apple,t8103-spi", "apple,spi";
707719 reg = <0x2 0x35104000 0x0 0x4000>;
You can’t perform that action at this time.
0 commit comments