diff --git a/arch/arm64/boot/dts/apple/t6050-j714c.dts b/arch/arm64/boot/dts/apple/t6050-j714c.dts index cf1d62c690fcc..7b42e646a5679 100644 --- a/arch/arm64/boot/dts/apple/t6050-j714c.dts +++ b/arch/arm64/boot/dts/apple/t6050-j714c.dts @@ -221,12 +221,27 @@ status = "okay"; }; +/* The MTP and its DockChannel FIFO, which carry the keyboard and trackpad */ +&mtp_mbox { + status = "okay"; +}; + +&mtp_dart { + status = "okay"; +}; + +&mtp { + status = "okay"; +}; + /* * The keyboard and trackpad: the HID transport on the MTP's DockChannel FIFO. * The J714c's MTP firmware owns the trackpad AFE reset, so there is no reset * GPIO here, unlike the J716c. */ &mtp_dockchannel { + status = "okay"; + mtp_hid: input@8000 { compatible = "apple,dockchannel-hid"; reg = <0x8000 0x1000>, <0xc000 0x1000>, diff --git a/arch/arm64/boot/dts/apple/t6050-j714s.dts b/arch/arm64/boot/dts/apple/t6050-j714s.dts index 383ec08bedbe2..1f2cadbc3f750 100644 --- a/arch/arm64/boot/dts/apple/t6050-j714s.dts +++ b/arch/arm64/boot/dts/apple/t6050-j714s.dts @@ -238,12 +238,27 @@ status = "okay"; }; +/* The MTP and its DockChannel FIFO, which carry the keyboard and trackpad */ +&mtp_mbox { + status = "okay"; +}; + +&mtp_dart { + status = "okay"; +}; + +&mtp { + status = "okay"; +}; + /* * The keyboard and trackpad: the HID transport on the MTP's DockChannel FIFO * (ADT dockchannel-mtp/mtp-transport: multi-touch, keyboard, stm, actuator, * tp-accel), as on J716s. */ &mtp_dockchannel { + status = "okay"; + mtp_hid: input@8000 { compatible = "apple,dockchannel-hid"; reg = <0x8000 0x1000>, <0xc000 0x1000>, diff --git a/arch/arm64/boot/dts/apple/t6050-j716c.dts b/arch/arm64/boot/dts/apple/t6050-j716c.dts index 8fdea5242027b..49dbe5f2cc08f 100644 --- a/arch/arm64/boot/dts/apple/t6050-j716c.dts +++ b/arch/arm64/boot/dts/apple/t6050-j716c.dts @@ -197,8 +197,23 @@ status = "okay"; }; +/* The MTP and its DockChannel FIFO, which carry the keyboard and trackpad */ +&mtp_mbox { + status = "okay"; +}; + +&mtp_dart { + status = "okay"; +}; + +&mtp { + status = "okay"; +}; + /* The keyboard and trackpad: the HID transport on the MTP's DockChannel FIFO */ &mtp_dockchannel { + status = "okay"; + mtp_hid: input@8000 { compatible = "apple,dockchannel-hid"; reg = <0x8000 0x1000>, <0xc000 0x1000>, diff --git a/arch/arm64/boot/dts/apple/t6050-j716s.dts b/arch/arm64/boot/dts/apple/t6050-j716s.dts index 43747a4ce6be7..72ef21fce1bf4 100644 --- a/arch/arm64/boot/dts/apple/t6050-j716s.dts +++ b/arch/arm64/boot/dts/apple/t6050-j716s.dts @@ -527,8 +527,23 @@ status = "okay"; }; +/* The MTP and its DockChannel FIFO, which carry the keyboard and trackpad */ +&mtp_mbox { + status = "okay"; +}; + +&mtp_dart { + status = "okay"; +}; + +&mtp { + status = "okay"; +}; + /* The keyboard and trackpad: the HID transport on the MTP's DockChannel FIFO */ &mtp_dockchannel { + status = "okay"; + mtp_hid: input@8000 { compatible = "apple,dockchannel-hid"; reg = <0x8000 0x1000>, <0xc000 0x1000>, diff --git a/arch/arm64/boot/dts/apple/t6050-k114-k116.dtsi b/arch/arm64/boot/dts/apple/t6050-k114-k116.dtsi index f7cedd1a4c854..c5249bc50b714 100644 --- a/arch/arm64/boot/dts/apple/t6050-k114-k116.dtsi +++ b/arch/arm64/boot/dts/apple/t6050-k114-k116.dtsi @@ -190,11 +190,26 @@ status = "disabled"; }; +/* The MTP and its DockChannel FIFO, which carry the keyboard and trackpad */ +&mtp_mbox { + status = "okay"; +}; + +&mtp_dart { + status = "okay"; +}; + +&mtp { + status = "okay"; +}; + /* * The keyboard, trackpad and touchscreen: the HID transport on the MTP's * DockChannel FIFO, laid out as on J716c (ADT dockchannel-mtp/mtp-transport). */ &mtp_dockchannel { + status = "okay"; + mtp_hid: input@8000 { compatible = "apple,dockchannel-hid"; reg = <0x8000 0x1000>, <0xc000 0x1000>, diff --git a/arch/arm64/boot/dts/apple/t6050-max.dtsi b/arch/arm64/boot/dts/apple/t6050-max.dtsi index 7952525ab1d3c..d85b653e21620 100644 --- a/arch/arm64/boot/dts/apple/t6050-max.dtsi +++ b/arch/arm64/boot/dts/apple/t6050-max.dtsi @@ -139,6 +139,11 @@ * +0x8000; interrupts [677, 676, 679, 678]: 676..679 in send-empty, send-not-empty, recv-empty, * recv-not-empty order), dart-mtp 0x294800000 (interrupt 659, SID 0, vm-base 0x100_00004000), * dockchannel-mtp 0x294b14000 for its interrupts (660) and 0x294b28000.. for the FIFOs. + * + * Only the laptops have this block: their ADTs carry mtp, dart-mtp and dockchannel-mtp, while + * the desktops' (J775c, J873s) carry none of them, and nothing brings the MTP up there. Its + * registers are then not live, so the first access at probe takes an SError. The four nodes are + * therefore off here, and each laptop board that adds the HID transport turns them on. */ &die0 { mtp_mbox: mailbox@294608000 { @@ -151,6 +156,7 @@ interrupt-names = "send-empty", "send-not-empty", "recv-empty", "recv-not-empty"; #mbox-cells = <0>; + status = "disabled"; }; mtp_dart: iommu@294800000 { @@ -159,6 +165,7 @@ interrupts = ; #iommu-cells = <1>; apple,dma-range = <0x100 0x4000 0x0 0xffff0000>; + status = "disabled"; }; mtp: mtp@294600000 { @@ -170,6 +177,7 @@ mboxes = <&mtp_mbox>; iommus = <&mtp_dart 0>; #helper-cells = <0>; + status = "disabled"; }; mtp_dockchannel: fifo@294b14000 { @@ -183,6 +191,7 @@ #size-cells = <1>; interrupt-controller; #interrupt-cells = <2>; + status = "disabled"; }; #if defined(T6050_J714C) || defined(T6050_J716C)