From 32a8e38258badc8b1f41fe9805db4803aac11ac0 Mon Sep 17 00:00:00 2001 From: Ryan Murray Date: Sun, 29 Nov 2026 22:39:30 +1100 Subject: [PATCH 1/6] arm64: dts: apple: t6050-j716s: describe the left-back port and the right USB4 router The J716s ADT has the left-back port (hpm0, atc-phy0, usb-drd0, acio0, acio-cpu0, dart-acio0, apciec0, dart-apciec0) and the right port's USB4/Thunderbolt router (acio2, acio-cpu2, dart-acio2, apciec2, dart-apciec2) at the T6050 addresses (adt-coverage/t6050-j716s.txt), but its device tree described neither: the left-back port was absent and the right port got USB only. Enable them as the K boards do. The ATC0 enable overlay is renamed from t6050-k114-k116-atc0.dtsi to t6050-atc0-enable.dtsi, since it is no longer K-board only, and gives the J716s the 16-inch RX_TOP value. The right router takes t6050-max-atc2-router.dtsi, the ATC2 DP tunnel and the router domains as in t6050-k114-usb.dtsi, with the K114sAP host DROM (the boot loader replaces it), and the AOP GPIO controller exposes pins 77 and 81. The shared ATC0 connector label typec2 becomes atc0_typec: the J716s already calls its right connector typec2. Labels are not in the DTBs, so only t6050-j716s.dtb changes; every other T6050 DTB is byte-identical, and CHECK_DTBS reports the same as main. The left-front router stays with #3281 and the MagSafe controller with #2397. Signed-off-by: Ryan Murray --- ...-k116-atc0.dtsi => t6050-atc0-enable.dtsi} | 15 ++-- arch/arm64/boot/dts/apple/t6050-atc0.dtsi | 20 +++--- .../boot/dts/apple/t6050-j714s-display.dtsi | 2 +- arch/arm64/boot/dts/apple/t6050-j716s.dts | 68 ++++++++++++++++++- .../boot/dts/apple/t6050-k114-k116-usb.dtsi | 6 +- arch/arm64/boot/dts/apple/t6050-k114c.dts | 2 +- arch/arm64/boot/dts/apple/t6050-k114s.dts | 2 +- arch/arm64/boot/dts/apple/t6050-k116c.dts | 2 +- arch/arm64/boot/dts/apple/t6050-k116s.dts | 2 +- 9 files changed, 93 insertions(+), 26 deletions(-) rename arch/arm64/boot/dts/apple/{t6050-k114-k116-atc0.dtsi => t6050-atc0-enable.dtsi} (76%) diff --git a/arch/arm64/boot/dts/apple/t6050-k114-k116-atc0.dtsi b/arch/arm64/boot/dts/apple/t6050-atc0-enable.dtsi similarity index 76% rename from arch/arm64/boot/dts/apple/t6050-k114-k116-atc0.dtsi rename to arch/arm64/boot/dts/apple/t6050-atc0-enable.dtsi index 836c33c6cfa68..812f03ceca517 100644 --- a/arch/arm64/boot/dts/apple/t6050-k114-k116-atc0.dtsi +++ b/arch/arm64/boot/dts/apple/t6050-atc0-enable.dtsi @@ -1,11 +1,12 @@ // SPDX-License-Identifier: GPL-2.0+ OR MIT /* - * The K114c, K114s, K116c and K116s left-back USB-C port (ATC0), next to MagSafe: USB 2/3, the - * PD controller (hpm0, SN201202x on nub-spmi-a0 at 0xc, port-number 1, acio-parent acio0), the - * USB4/Thunderbolt router and its PCIe tunnel, and its DisplayPort tunnels, enabled as the - * left-front and right ports are. The nodes are in t6050-atc0.dtsi; the K114sAP and K116sAP ADTs - * have the J714sAP's values for every ATC0 node except the PHY's PLL calibration tables, which - * the boot loader exports for this machine, and the K116s's CIO RX_TOP tunables (below). + * The T6050 laptops' left-back USB-C port (ATC0), next to MagSafe, enabled: USB 2/3, the PD + * controller (hpm0, SN201202x on nub-spmi-a0 at 0xc, port-number 1, acio-parent acio0), the + * USB4/Thunderbolt router and its PCIe tunnel, and its DisplayPort tunnels, as the left-front and + * right ports are. For K114c, K114s, K116c, K116s and J716s; J714s hands the port over with its + * own group instead. The nodes are in t6050-atc0.dtsi; the K114sAP and K116sAP ADTs have the + * J714sAP's values for every ATC0 node except the PHY's PLL calibration tables, which the boot + * loader exports for this machine, and the 16-inch boards' CIO RX_TOP tunables (below). * * This is also Apple's debug (DFU) port and the boot loader's debug link (the DockChannel * console and, on request, its USB proxy). On a debug boot the boot loader keeps the port for @@ -125,7 +126,7 @@ status = "okay"; }; -#if defined(T6050_K116C) || defined(T6050_K116S) +#if defined(T6050_K116C) || defined(T6050_K116S) || defined(T6050_J716S) /* * The 16-inch boards' CIO80 RX_TOP tunables: 0x0, the K116sAP ADT's atc-phy0 * tunable_LN0/LN1_RX_TOP_CIO_DFLT (as J716c's ports), not the 14-inch boards' 0x200. diff --git a/arch/arm64/boot/dts/apple/t6050-atc0.dtsi b/arch/arm64/boot/dts/apple/t6050-atc0.dtsi index 965b21b617294..f84613190d5fb 100644 --- a/arch/arm64/boot/dts/apple/t6050-atc0.dtsi +++ b/arch/arm64/boot/dts/apple/t6050-atc0.dtsi @@ -82,7 +82,7 @@ port { atc0_phy_typec: endpoint { - remote-endpoint = <&typec2_ss>; + remote-endpoint = <&atc0_typec_ss>; }; }; }; @@ -125,14 +125,14 @@ port { usb_drd0_hs: endpoint { - remote-endpoint = <&typec2_hs>; + remote-endpoint = <&atc0_typec_hs>; }; }; }; /* - * typec2: the third connector, after the right (typec0) and left-front (typec1) ports, so - * those keep their names. + * The left-back connector. Its label names the port, not a connector index, since boards number + * their other connectors differently (J716s calls its right port typec2). */ &nub_spmi_a0 { hpm0: usb-pd@c { @@ -140,7 +140,7 @@ compatible = "apple,sn201202x"; reg = <0xc SPMI_USID>; - typec2: connector { + atc0_typec: connector { compatible = "usb-c-connector"; label = "USB-C Left-back"; power-role = "dual"; @@ -152,14 +152,14 @@ port@0 { reg = <0>; - typec2_hs: endpoint { + atc0_typec_hs: endpoint { remote-endpoint = <&usb_drd0_hs>; }; }; port@1 { reg = <1>; - typec2_ss: endpoint { + atc0_typec_ss: endpoint { remote-endpoint = <&atc0_phy_typec>; }; }; @@ -411,11 +411,11 @@ apple,tunable-lane1-rx-top-cio = <0x35c 0xe00 0x200>; }; -&typec2 { +&atc0_typec { ports { port@3 { reg = <3>; - typec2_usb4: endpoint { + atc0_typec_usb4: endpoint { remote-endpoint = <&acio0_tbt>; }; }; @@ -470,7 +470,7 @@ port@1 { reg = <1>; acio0_tbt: endpoint { - remote-endpoint = <&typec2_usb4>; + remote-endpoint = <&atc0_typec_usb4>; }; }; }; diff --git a/arch/arm64/boot/dts/apple/t6050-j714s-display.dtsi b/arch/arm64/boot/dts/apple/t6050-j714s-display.dtsi index f5728882e70b8..46addcce850d2 100644 --- a/arch/arm64/boot/dts/apple/t6050-j714s-display.dtsi +++ b/arch/arm64/boot/dts/apple/t6050-j714s-display.dtsi @@ -244,7 +244,7 @@ }; }; -&typec2 { +&atc0_typec { ports { port@2 { reg = <2>; diff --git a/arch/arm64/boot/dts/apple/t6050-j716s.dts b/arch/arm64/boot/dts/apple/t6050-j716s.dts index bbaecf6ef51ae..93752f6583255 100644 --- a/arch/arm64/boot/dts/apple/t6050-j716s.dts +++ b/arch/arm64/boot/dts/apple/t6050-j716s.dts @@ -16,6 +16,8 @@ /dts-v1/; #include +/* ADT /arm-io/acio2: the right port's USB4/Thunderbolt router (t6050-max.dtsi) */ +#define T6050_ATC2_USB4_ROUTER #include "t6050-max.dtsi" / { @@ -272,7 +274,7 @@ /* * Type-C, from the ADT: - * ATC0 usb-drd0 left-back hpm0 nub-spmi-a0 0x0c (the debug port, not described) + * ATC0 usb-drd0 left-back hpm0 nub-spmi-a0 0x0c (the debug port; t6050-atc0-enable.dtsi, end of file) * ATC1 usb-drd1 left-front hpm1 nub-spmi-a0 0x0a * ATC2 usb-drd2 right hpm2 nub-spmi-a1 0x0c * MagSafe hpm5 nub-spmi-a0 0x08 (not a USB-C connector) @@ -586,8 +588,72 @@ }; #define T6050_J716S +/* ADT /arm-io/acio0: the left-back port's USB4/Thunderbolt router (t6050-atc0-enable.dtsi) */ +#define T6050_ATC0_USB4_ROUTER #include "t6050-peripherals.dtsi" #include "t6050-media.dtsi" /* The camera. The loader sets the platform ID from the ADT isp0 sensor-type (0x76). */ #include "t6050-isp.dtsi" + +/* + * The left-back port (ATC0): USB 2/3, hpm0, the USB4/Thunderbolt router and its PCIe and DP + * tunnels, as on the K boards. The J716s ADT has hpm0, atc-phy0, usb-drd0, acio0, acio-cpu0, + * dart-acio0, apciec0 and dart-apciec0 at the T6050 addresses (adt-coverage/t6050-j716s.txt). + */ +#include "t6050-atc0-enable.dtsi" + +/* + * The right port's USB4/Thunderbolt router (ADT acio2, acio-cpu2, dart-acio2, apciec2, + * dart-apciec2) and its PCIe tunnel and DP tunnels, as on the K114 boards + * (t6050-k114-usb.dtsi). The host DROM below is the K114sAP's and K116sAP's (the same + * there); the boot loader replaces it. + */ +#include "t6050-max-atc2-router.dtsi" +#include "t6050-atc2-dp-tunnel.dtsi" + +&acio2_nhi { + apple,thunderbolt-drom = [fd 02 00 00 00 00 00 00 00 90 19 c3 8c 00 5c 00 + 00 00 00 00 00 00 08 81 82 02 82 00 00 00 08 82 + 92 01 82 00 00 00 03 83 20 08 84 00 00 00 00 00 + 00 08 85 00 00 00 00 00 00 05 86 09 01 00 08 87 + 00 00 00 00 00 00 05 88 09 01 00 05 89 09 01 00 + 05 8a 09 01 00 0e 01 41 70 70 6c 65 2c 20 49 6e + 63 2e 00 06 02 69 4f 53 00 00 00 00]; +}; + +&ps_atc2_cio { + status = "okay"; +}; + +&ps_atc2_cio_pcie { + status = "okay"; +}; + +&ps_atc2_cio_usb { + status = "okay"; +}; + +&ps_atc2_cio_auss { + status = "okay"; +}; + +&ps_atc2_pcie { + status = "okay"; +}; + +&acio2_mbox { + status = "okay"; +}; + +&acio2 { + status = "okay"; + power-domains = <&ps_atc2_cio>, <&ps_atc2_cio_pcie>, + <&ps_atc2_cio_usb>, <&ps_atc2_cio_auss>, <&ps_atc2_pcie>; + apple,pcie-tunnel = <&acio2_pcie_tunnel>; +}; + +/* The LSTX pins of the described routers: 77 (acio0) and 81 (acio2) */ +&pinctrl_aop { + gpio-reserved-ranges = <0 77>, <78 3>, <82 3>; +}; diff --git a/arch/arm64/boot/dts/apple/t6050-k114-k116-usb.dtsi b/arch/arm64/boot/dts/apple/t6050-k114-k116-usb.dtsi index e98edb5be5de7..df57fa93d8caf 100644 --- a/arch/arm64/boot/dts/apple/t6050-k114-k116-usb.dtsi +++ b/arch/arm64/boot/dts/apple/t6050-k114-k116-usb.dtsi @@ -1,7 +1,7 @@ // SPDX-License-Identifier: GPL-2.0+ OR MIT /* * The K114c, K114s, K116c and K116s USB-C ports: USB 2/3 and the PD controllers of ATC1 - * (left-front) and ATC2 (right) here, and the left-back port ATC0 in t6050-k114-k116-atc0.dtsi + * (left-front) and ATC2 (right) here, and the left-back port ATC0 in t6050-atc0-enable.dtsi * (included at the end). A board file includes this after t6050-peripherals.dtsi, which * describes nub-spmi-a1 for these boards. * @@ -10,7 +10,7 @@ * ATC1 usb-drd1 left-front hpm1 nub-spmi-a0 0x0a, port-number 2, acio-parent acio1 * ATC2 usb-drd2 right hpm2 nub-spmi-a1 0x0c, port-number 3, acio-parent acio2 * hpm5 nub-spmi-a0 0x08 (MagSafe, not a USB-C connector) - * The PD controllers are SN201202x. The ATC0 router (acio0) is in t6050-k114-k116-atc0.dtsi; + * The PD controllers are SN201202x. The ATC0 router (acio0) is in t6050-atc0-enable.dtsi; * the K114c and K114s describe the ATC1 and ATC2 routers in t6050-k114-usb.dtsi. The * DisplayPort routes are the boot loader's (t6050-k114-k116-display.dtsi). * @@ -198,4 +198,4 @@ status = "okay"; }; -#include "t6050-k114-k116-atc0.dtsi" +#include "t6050-atc0-enable.dtsi" diff --git a/arch/arm64/boot/dts/apple/t6050-k114c.dts b/arch/arm64/boot/dts/apple/t6050-k114c.dts index 797ed5ae4310c..6a5318af1a7be 100644 --- a/arch/arm64/boot/dts/apple/t6050-k114c.dts +++ b/arch/arm64/boot/dts/apple/t6050-k114c.dts @@ -18,7 +18,7 @@ #define T6050_ATC2_USB4_ROUTER /* ADT /arm-io/acio1: the left-front port's USB4/Thunderbolt router (t6050-k114-usb.dtsi) */ #define T6050_ATC1_USB4_ROUTER -/* ADT /arm-io/acio0: the left-back port's USB4/Thunderbolt router (t6050-k114-k116-atc0.dtsi) */ +/* ADT /arm-io/acio0: the left-back port's USB4/Thunderbolt router (t6050-atc0-enable.dtsi) */ #define T6050_ATC0_USB4_ROUTER /* The N1's firmware and this board's ADT board-id, for t6050-k114-k116.dtsi */ #define T6050_K_N1_FIRMWARE "apple/centauri/k114c-ftab.bin" diff --git a/arch/arm64/boot/dts/apple/t6050-k114s.dts b/arch/arm64/boot/dts/apple/t6050-k114s.dts index 15fd81e9e0402..6f69954e65e4f 100644 --- a/arch/arm64/boot/dts/apple/t6050-k114s.dts +++ b/arch/arm64/boot/dts/apple/t6050-k114s.dts @@ -16,7 +16,7 @@ #define T6050_ATC2_USB4_ROUTER /* ADT /arm-io/acio1: the left-front port's USB4/Thunderbolt router (t6050-k114-usb.dtsi) */ #define T6050_ATC1_USB4_ROUTER -/* ADT /arm-io/acio0: the left-back port's USB4/Thunderbolt router (t6050-k114-k116-atc0.dtsi) */ +/* ADT /arm-io/acio0: the left-back port's USB4/Thunderbolt router (t6050-atc0-enable.dtsi) */ #define T6050_ATC0_USB4_ROUTER /* The N1's firmware and this board's ADT board-id, for t6050-k114-k116.dtsi */ #define T6050_K_N1_FIRMWARE "apple/centauri/k114s-ftab.bin" diff --git a/arch/arm64/boot/dts/apple/t6050-k116c.dts b/arch/arm64/boot/dts/apple/t6050-k116c.dts index 6da67e32524d7..a2bdc158f71f3 100644 --- a/arch/arm64/boot/dts/apple/t6050-k116c.dts +++ b/arch/arm64/boot/dts/apple/t6050-k116c.dts @@ -24,7 +24,7 @@ }; #define T6050_K116C -/* ADT /arm-io/acio0: the left-back port's USB4/Thunderbolt router (t6050-k114-k116-atc0.dtsi) */ +/* ADT /arm-io/acio0: the left-back port's USB4/Thunderbolt router (t6050-atc0-enable.dtsi) */ #define T6050_ATC0_USB4_ROUTER /* The M5 Max die-0 blocks (nub-spmi1, nub-spmi4) */ #include "t6050-soc-max.dtsi" diff --git a/arch/arm64/boot/dts/apple/t6050-k116s.dts b/arch/arm64/boot/dts/apple/t6050-k116s.dts index 81ebe4e4480c4..0d8cfdb086952 100644 --- a/arch/arm64/boot/dts/apple/t6050-k116s.dts +++ b/arch/arm64/boot/dts/apple/t6050-k116s.dts @@ -24,7 +24,7 @@ }; #define T6050_K116S -/* ADT /arm-io/acio0: the left-back port's USB4/Thunderbolt router (t6050-k114-k116-atc0.dtsi) */ +/* ADT /arm-io/acio0: the left-back port's USB4/Thunderbolt router (t6050-atc0-enable.dtsi) */ #define T6050_ATC0_USB4_ROUTER #include "t6050-peripherals.dtsi" #include "t6050-media.dtsi" From 8e33920bc2d4db419da3f22d2d32ce3dfa88a83d Mon Sep 17 00:00:00 2001 From: Ryan Murray Date: Sun, 29 Nov 2026 22:47:13 +1100 Subject: [PATCH 2/6] arm64: dts: apple: t6050-j716s: leave ATC0 RX_TOP unset, state the DROM's evidence The J716s's atc-phy0 CIO RX_TOP value is not in hand (14-inch boards use 0x200, the 16-inch K116s and J716c 0x0) and no boot loader exports it, so leave it unset on this board: the PHY driver skips an absent CIO80 tunable, as #3281 does for its ATC1. The shared overlay keeps 0x0 for the K116 boards only. The ATC2 host DROM comment claimed the boot loader replaces it; on the laptops nothing does (no usb4-N-nhi alias). Its evidence is that the body, everything but the CRC and router UID in bytes 0..8, is the same on K114s, K116s, J714s and J716c for both acio0 and acio2. Signed-off-by: Ryan Murray --- arch/arm64/boot/dts/apple/t6050-atc0-enable.dtsi | 2 +- arch/arm64/boot/dts/apple/t6050-j716s.dts | 15 +++++++++++++-- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/apple/t6050-atc0-enable.dtsi b/arch/arm64/boot/dts/apple/t6050-atc0-enable.dtsi index 812f03ceca517..41c4d90117997 100644 --- a/arch/arm64/boot/dts/apple/t6050-atc0-enable.dtsi +++ b/arch/arm64/boot/dts/apple/t6050-atc0-enable.dtsi @@ -126,7 +126,7 @@ status = "okay"; }; -#if defined(T6050_K116C) || defined(T6050_K116S) || defined(T6050_J716S) +#if defined(T6050_K116C) || defined(T6050_K116S) /* * The 16-inch boards' CIO80 RX_TOP tunables: 0x0, the K116sAP ADT's atc-phy0 * tunable_LN0/LN1_RX_TOP_CIO_DFLT (as J716c's ports), not the 14-inch boards' 0x200. diff --git a/arch/arm64/boot/dts/apple/t6050-j716s.dts b/arch/arm64/boot/dts/apple/t6050-j716s.dts index 93752f6583255..8bff5a076ba18 100644 --- a/arch/arm64/boot/dts/apple/t6050-j716s.dts +++ b/arch/arm64/boot/dts/apple/t6050-j716s.dts @@ -603,11 +603,22 @@ */ #include "t6050-atc0-enable.dtsi" +/* + * The J716s's atc-phy0 CIO RX_TOP value is not known here (the 14-inch boards have 0x200, the + * 16-inch K116s and J716c 0x0) and the boot loader does not export it, so it is left out: the PHY + * driver skips an absent CIO80 tunable, as for this board's ATC1 (#3281). + */ +&atc0_phy { + /delete-property/ apple,tunable-lane0-rx-top-cio; + /delete-property/ apple,tunable-lane1-rx-top-cio; +}; + /* * The right port's USB4/Thunderbolt router (ADT acio2, acio-cpu2, dart-acio2, apciec2, * dart-apciec2) and its PCIe tunnel and DP tunnels, as on the K114 boards - * (t6050-k114-usb.dtsi). The host DROM below is the K114sAP's and K116sAP's (the same - * there); the boot loader replaces it. + * (t6050-k114-usb.dtsi). The host DROM below is the K114s's: its body (all but the CRC and + * router UID in bytes 0..8) is the same on K114s, K116s, J714s and J716c, for acio0 and acio2, + * so it is the T6050 laptops'. No boot loader replaces it on the laptops (no usb4-N-nhi alias). */ #include "t6050-max-atc2-router.dtsi" #include "t6050-atc2-dp-tunnel.dtsi" From 86fb973ea66d9752e99803b7a3f3bd156ab3c5af Mon Sep 17 00:00:00 2001 From: Ryan Murray Date: Mon, 30 Nov 2026 01:36:47 +1100 Subject: [PATCH 3/6] arm64: dts: apple: adt-coverage: map the J716s's left-back port and right router dt-checks' ADT coverage step broke on the two PCIe tunnel DARTs, which moved from the inventory (/soc/iommu@2a4000000, /soc/iommu@384000000) into their tunnels. Map them there, and map the nodes this series describes: apciec0/2, acio0/2, dart-acio0/2, acio-cpu0/2, atc-phy0 and hpm0, as #3281 does for ATC1. J716s MISSING 696 -> 686, broken 0. Signed-off-by: Ryan Murray --- .../dts/apple/adt-coverage/t6050-j716s.txt | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/arch/arm64/boot/dts/apple/adt-coverage/t6050-j716s.txt b/arch/arm64/boot/dts/apple/adt-coverage/t6050-j716s.txt index b7d69b9fd04ad..d5643adf57c49 100644 --- a/arch/arm64/boot/dts/apple/adt-coverage/t6050-j716s.txt +++ b/arch/arm64/boot/dts/apple/adt-coverage/t6050-j716s.txt @@ -153,13 +153,13 @@ /arm-io/secure-repair 0x2881e4000 -> /soc/pinctrl@2881e4000 /arm-io/eic - -> MISSING /arm-io/aod2 - -> MISSING -/arm-io/apciec0 0x1c50000000 -> MISSING +/arm-io/apciec0 0x1c50000000 -> /pcie-tunnel-0/pcie@1c50000000 /arm-io/apciec0/pcic0-bridge - -> WAIVED: PCI root-port topology; PCIe controller hardware is inventoried separately. -/arm-io/dart-apciec0 0x2a4000000 -> /soc/iommu@2a4000000 -/arm-io/dart-apciec0/mapper-apciec0-piodma - -> /soc/iommu@2a4000000 +/arm-io/dart-apciec0 0x2a4000000 -> /pcie-tunnel-0/iommu@2a4000000 +/arm-io/dart-apciec0/mapper-apciec0-piodma - -> /pcie-tunnel-0/iommu@2a4000000 /arm-io/apciec0-piodma 0x2a4068000 -> /soc/dma-controller@2a4068000 -/arm-io/acio0 0x2a1f00000 -> MISSING -/arm-io/dart-acio0 0x2a1a80000 -> MISSING +/arm-io/acio0 0x2a1f00000 -> /soc@200000000/acio@2a1ac0000/nhi@f00000 +/arm-io/dart-acio0 0x2a1a80000 -> /soc@200000000/acio@2a1ac0000/iommu@a80000 /arm-io/dart-acio0/mapper-acio0-tx-0 - -> WAIVED: IOMMU stream, described by iommus or iommu-map; DART hardware is inventoried separately. /arm-io/dart-acio0/mapper-acio0-tx-1 - -> WAIVED: IOMMU stream, described by iommus or iommu-map; DART hardware is inventoried separately. /arm-io/dart-acio0/mapper-acio0-tx-2 - -> WAIVED: IOMMU stream, described by iommus or iommu-map; DART hardware is inventoried separately. @@ -184,7 +184,7 @@ /arm-io/dart-acio0/mapper-acio0-rx-9 - -> WAIVED: IOMMU stream, described by iommus or iommu-map; DART hardware is inventoried separately. /arm-io/dart-acio0/mapper-acio0-rx-10 - -> WAIVED: IOMMU stream, described by iommus or iommu-map; DART hardware is inventoried separately. /arm-io/dart-acio0/mapper-acio0-rx-11 - -> WAIVED: IOMMU stream, described by iommus or iommu-map; DART hardware is inventoried separately. -/arm-io/acio-cpu0 0x2a1108000 -> MISSING +/arm-io/acio-cpu0 0x2a1108000 -> /soc@200000000/mailbox@2a1108000 /arm-io/acio-cpu0/iop-acio0-nub - -> WAIVED: Firmware endpoint container; hosting coprocessor is inventoried separately. /arm-io/apciec1 0x1c60000000 -> MISSING /arm-io/apciec1/pcic1-bridge - -> WAIVED: PCI root-port topology; PCIe controller hardware is inventoried separately. @@ -219,13 +219,13 @@ /arm-io/dart-acio1/mapper-acio1-rx-11 - -> WAIVED: IOMMU stream, described by iommus or iommu-map; DART hardware is inventoried separately. /arm-io/acio-cpu1 0x2a9108000 -> MISSING /arm-io/acio-cpu1/iop-acio1-nub - -> WAIVED: Firmware endpoint container; hosting coprocessor is inventoried separately. -/arm-io/apciec2 0x1c70000000 -> MISSING +/arm-io/apciec2 0x1c70000000 -> /pcie-tunnel-2/pcie@1c70000000 /arm-io/apciec2/pcic2-bridge - -> WAIVED: PCI root-port topology; PCIe controller hardware is inventoried separately. -/arm-io/dart-apciec2 0x384000000 -> /soc/iommu@384000000 -/arm-io/dart-apciec2/mapper-apciec2-piodma - -> /soc/iommu@384000000 +/arm-io/dart-apciec2 0x384000000 -> /pcie-tunnel-2/iommu@384000000 +/arm-io/dart-apciec2/mapper-apciec2-piodma - -> /pcie-tunnel-2/iommu@384000000 /arm-io/apciec2-piodma 0x384068000 -> /soc/dma-controller@384068000 -/arm-io/acio2 0x381f00000 -> MISSING -/arm-io/dart-acio2 0x381a80000 -> MISSING +/arm-io/acio2 0x381f00000 -> /soc@200000000/acio@381ac0000/nhi@f00000 +/arm-io/dart-acio2 0x381a80000 -> /soc@200000000/acio@381ac0000/iommu@a80000 /arm-io/dart-acio2/mapper-acio2-tx-0 - -> WAIVED: IOMMU stream, described by iommus or iommu-map; DART hardware is inventoried separately. /arm-io/dart-acio2/mapper-acio2-tx-1 - -> WAIVED: IOMMU stream, described by iommus or iommu-map; DART hardware is inventoried separately. /arm-io/dart-acio2/mapper-acio2-tx-2 - -> WAIVED: IOMMU stream, described by iommus or iommu-map; DART hardware is inventoried separately. @@ -250,7 +250,7 @@ /arm-io/dart-acio2/mapper-acio2-rx-9 - -> WAIVED: IOMMU stream, described by iommus or iommu-map; DART hardware is inventoried separately. /arm-io/dart-acio2/mapper-acio2-rx-10 - -> WAIVED: IOMMU stream, described by iommus or iommu-map; DART hardware is inventoried separately. /arm-io/dart-acio2/mapper-acio2-rx-11 - -> WAIVED: IOMMU stream, described by iommus or iommu-map; DART hardware is inventoried separately. -/arm-io/acio-cpu2 0x381108000 -> MISSING +/arm-io/acio-cpu2 0x381108000 -> /soc@200000000/mailbox@381108000 /arm-io/acio-cpu2/iop-acio2-nub - -> WAIVED: Firmware endpoint container; hosting coprocessor is inventoried separately. /arm-io/bluetooth - -> /pcie@1cb0000000/pci@0,0/bluetooth@0,2 /arm-io/centauri - -> MISSING @@ -1301,7 +1301,7 @@ /arm-io/qspi/spinor/anvram - -> WAIVED: Firmware NVRAM partition; parent flash hardware is inventoried separately. /arm-io/qspi/spinor/syscfg - -> WAIVED: Firmware configuration partition; parent flash hardware is inventoried separately. /arm-io/dp2hdmi-gpio0 - -> MISSING -/arm-io/atc-phy0 0x2a2a90000 -> MISSING +/arm-io/atc-phy0 0x2a2a90000 -> /soc@200000000/phy@2a3000000 /arm-io/dart-usb0 0x2a2f00000 -> /soc/iommu@2a2f00000 /arm-io/dart-usb0/mapper-usb0 - -> /soc/iommu@2a2f00000 /arm-io/usb-drd0 0x2a2280000 -> /soc/usb@2a2280000 @@ -1332,7 +1332,7 @@ /arm-io/nub-spmi3 0x28a0d4000 -> /soc/spmi@28a0d4000 /arm-io/nub-spmi3/spmi-abbeyF2 /arm-io/nub-spmi3@0xe -> MISSING /arm-io/nub-spmi-a0 0x28a188000 -> /soc@200000000/spmi@28a188000 -/arm-io/nub-spmi-a0/hpm0 /arm-io/nub-spmi-a0@0xc -> MISSING +/arm-io/nub-spmi-a0/hpm0 /arm-io/nub-spmi-a0@0xc -> /soc@200000000/spmi@28a188000/usb-pd@c /arm-io/nub-spmi-a0/hpm1 /arm-io/nub-spmi-a0@0xa -> /soc@200000000/spmi@28a188000/usb-pd@a /arm-io/nub-spmi-a0/hpm5 /arm-io/nub-spmi-a0@0x8 -> MISSING /arm-io/aop-spmi0 0x290914000 -> /soc/spmi@290914000 From 647786f06b150fb0fc489d59e22855620aad7d49 Mon Sep 17 00:00:00 2001 From: Ryan Murray Date: Tue, 1 Dec 2026 20:50:32 +1100 Subject: [PATCH 4/6] arm64: dts: apple: t6050-j714c, j873s: include the renamed ATC0 enable file This branch renames t6050-k114-k116-atc0.dtsi to t6050-atc0-enable.dtsi; the J714c and J873s trees that main added since still named the old file, so their DTBs no longer built after the merge of main. Point them at the new name. Both DTBs are identical to main's (dtc -s decompile, no diff). --- arch/arm64/boot/dts/apple/t6050-j714c.dts | 2 +- arch/arm64/boot/dts/apple/t6050-j873s.dts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/apple/t6050-j714c.dts b/arch/arm64/boot/dts/apple/t6050-j714c.dts index aa1223fc03735..d2f61bff26a3f 100644 --- a/arch/arm64/boot/dts/apple/t6050-j714c.dts +++ b/arch/arm64/boot/dts/apple/t6050-j714c.dts @@ -532,7 +532,7 @@ */ #include "t6050-j714s-left-usb4.dtsi" #include "t6050-atc1-dp-tunnel.dtsi" -#include "t6050-k114-k116-atc0.dtsi" +#include "t6050-atc0-enable.dtsi" /* The LSTX pins of the three routers: 77 (acio0), 79 (acio1) and 81 (acio2) */ &pinctrl_aop { diff --git a/arch/arm64/boot/dts/apple/t6050-j873s.dts b/arch/arm64/boot/dts/apple/t6050-j873s.dts index 3286bbe31e6a3..3ed8c503ebdc5 100644 --- a/arch/arm64/boot/dts/apple/t6050-j873s.dts +++ b/arch/arm64/boot/dts/apple/t6050-j873s.dts @@ -156,7 +156,7 @@ */ #include "t6050-j714s-left-usb4.dtsi" #include "t6050-atc1-dp-tunnel.dtsi" -#include "t6050-k114-k116-atc0.dtsi" +#include "t6050-atc0-enable.dtsi" &atc0_phy { /delete-property/ apple,tunable-lane0-rx-top-cio; From db85cec21fbcb23a6d24cd1b72fe1b7f81475fb2 Mon Sep 17 00:00:00 2001 From: Ryan Murray Date: Tue, 1 Dec 2026 22:11:58 +1100 Subject: [PATCH 5/6] arm64: dts: apple: t6050-j716s: leave all three LSTX pins valid The merge of main kept main's &pinctrl_aop block (#3281: pin 79 valid for acio1) and this branch's later block (77 and 81), and the later one won, so AOP pin 79 was reserved again and acio1 could not take its LSTX pin back (-EINVAL). Keep one gpio-reserved-ranges, after the router includes, that leaves 77, 79 and 81 valid, as t6050-j714c.dts does. --- arch/arm64/boot/dts/apple/t6050-j716s.dts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/apple/t6050-j716s.dts b/arch/arm64/boot/dts/apple/t6050-j716s.dts index 8b6ab276348f4..8564528bab079 100644 --- a/arch/arm64/boot/dts/apple/t6050-j716s.dts +++ b/arch/arm64/boot/dts/apple/t6050-j716s.dts @@ -628,7 +628,6 @@ }; &pinctrl_aop { - gpio-reserved-ranges = <0 79>, <80 5>; status = "okay"; }; @@ -717,7 +716,7 @@ apple,pcie-tunnel = <&acio2_pcie_tunnel>; }; -/* The LSTX pins of the described routers: 77 (acio0) and 81 (acio2) */ +/* The LSTX pins of the three routers: 77 (acio0), 79 (acio1) and 81 (acio2) */ &pinctrl_aop { - gpio-reserved-ranges = <0 77>, <78 3>, <82 3>; + gpio-reserved-ranges = <0 77>, <78 1>, <80 1>, <82 3>; }; From 991af2d983e829310f9fa6e5469141637a7c5fe1 Mon Sep 17 00:00:00 2001 From: Ryan Murray Date: Tue, 1 Dec 2026 22:20:48 +1100 Subject: [PATCH 6/6] arm64: dts: apple: t6050-j775d: include the renamed ATC0 enable file Main added the J775d tree (#3637) with the old t6050-k114-k116-atc0.dtsi name, which this branch renames to t6050-atc0-enable.dtsi. The J775d DTB is identical to main's (dtc -s decompile, no diff); all Apple DTBs build. --- arch/arm64/boot/dts/apple/t6050-j775d.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/apple/t6050-j775d.dts b/arch/arm64/boot/dts/apple/t6050-j775d.dts index 6edef95975d5b..d39396b6e0290 100644 --- a/arch/arm64/boot/dts/apple/t6050-j775d.dts +++ b/arch/arm64/boot/dts/apple/t6050-j775d.dts @@ -560,7 +560,7 @@ */ #include "t6050-j714s-left-usb4.dtsi" #include "t6050-atc1-dp-tunnel.dtsi" -#include "t6050-k114-k116-atc0.dtsi" +#include "t6050-atc0-enable.dtsi" &atc0_phy { /delete-property/ apple,tunable-lane0-rx-top-cio;