Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions arch/arm64/boot/dts/apple/adt-coverage/t6050-j873s.txt
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,13 @@
/arm-io/acio-phy-cpu3 0x38b148000 -> /soc@200000000/mailbox@38b148000
/arm-io/acio-phy-cpu3/iop-aciophy3-nub - -> /soc@200000000/mailbox@38b148000
/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.
Expand All @@ -112,15 +112,15 @@
/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 0x1c60000000 -> /pcie-tunnel-1/pcie@1c60000000
/arm-io/apciec1/pcic1-bridge - -> WAIVED: PCI root-port topology; PCIe controller hardware is inventoried separately.
/arm-io/dart-apciec1 0x2ac000000 -> /soc/iommu@2ac000000
/arm-io/dart-apciec1/mapper-apciec1-piodma - -> /soc/iommu@2ac000000
/arm-io/dart-apciec1 0x2ac000000 -> /pcie-tunnel-1/iommu@2ac000000
/arm-io/dart-apciec1/mapper-apciec1-piodma - -> /pcie-tunnel-1/iommu@2ac000000
/arm-io/apciec1-piodma 0x2ac068000 -> /soc/dma-controller@2ac068000
/arm-io/acio1 0x2a9f00000 -> MISSING
/arm-io/dart-acio1 0x2a9a80000 -> MISSING
/arm-io/acio1 0x2a9f00000 -> /soc@200000000/acio@2a9ac0000/nhi@f00000
/arm-io/dart-acio1 0x2a9a80000 -> /soc@200000000/acio@2a9ac0000/iommu@a80000
/arm-io/dart-acio1/mapper-acio1-tx-0 - -> WAIVED: IOMMU stream, described by iommus or iommu-map; DART hardware is inventoried separately.
/arm-io/dart-acio1/mapper-acio1-tx-1 - -> WAIVED: IOMMU stream, described by iommus or iommu-map; DART hardware is inventoried separately.
/arm-io/dart-acio1/mapper-acio1-tx-2 - -> WAIVED: IOMMU stream, described by iommus or iommu-map; DART hardware is inventoried separately.
Expand All @@ -145,7 +145,7 @@
/arm-io/dart-acio1/mapper-acio1-rx-9 - -> WAIVED: IOMMU stream, described by iommus or iommu-map; DART hardware is inventoried separately.
/arm-io/dart-acio1/mapper-acio1-rx-10 - -> WAIVED: IOMMU stream, described by iommus or iommu-map; DART hardware is inventoried separately.
/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 0x2a9108000 -> /soc@200000000/mailbox@2a9108000
/arm-io/acio-cpu1/iop-acio1-nub - -> WAIVED: Firmware endpoint container; hosting coprocessor is inventoried separately.
/arm-io/apciec2 0x1c70000000 -> MISSING
/arm-io/apciec2/pcic2-bridge - -> WAIVED: PCI root-port topology; PCIe controller hardware is inventoried separately.
Expand Down Expand Up @@ -1228,7 +1228,7 @@
/arm-io/spi3/usb3hub-flash/usb3hub-fw - -> MISSING
/arm-io/dp2hdmi-gpio0 - -> MISSING
/arm-io/lpdptx-phy0 0x29c240000 -> /soc/phy@29c200000
/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
Expand Down Expand Up @@ -1267,8 +1267,8 @@
/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/hpm1 /arm-io/nub-spmi-a0@0xa -> 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/hpm2 /arm-io/nub-spmi-a0@0x8 -> MISSING
/arm-io/aop-spmi0 0x290914000 -> /soc/spmi@290914000
/arm-io/aop-spmi0/stockholm-spmi /arm-io/aop-spmi0@0x9 -> MISSING
Expand Down
4 changes: 3 additions & 1 deletion arch/arm64/boot/dts/apple/t6050-desktop.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -58,18 +58,20 @@
* debug console (KIS) through usb-drd0; a probe wakes the controller and sets its
* power state even when polled. No ATC0, usb-drd0 or dart-usb0 node either.
*/
#ifndef T6050_ATC0_USB4_ROUTER
hpm0: usb-pd@c {
compatible = "apple,sn201202x";
reg = <0xc SPMI_USID>;
status = "disabled";
};
#endif

/* /arm-io/nub-spmi-a0/hpm1: SN201202x (ACE3), SPMI address 0xa, port-number 2 */
hpm1: usb-pd@a {
compatible = "apple,sn201202x";
reg = <0xa SPMI_USID>;

connector {
typec1: connector {
compatible = "usb-c-connector";
label = T6050_DESKTOP_HPM1_LABEL;
power-role = "dual";
Expand Down
32 changes: 32 additions & 0 deletions arch/arm64/boot/dts/apple/t6050-j775d.dts
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,9 @@
};

#define T6050_J775D
/* ADT /arm-io/acio0 and acio1: rear ports 1 and 2's USB4/Thunderbolt routers (end of file) */
#define T6050_ATC0_USB4_ROUTER
#define T6050_ATC1_USB4_ROUTER
/* The M5 Max die-0 blocks (nub-spmi1, nub-spmi4) */
#include "t6050-soc-max.dtsi"
#include "t6050-peripherals.dtsi"
Expand Down Expand Up @@ -544,3 +547,32 @@
};

#include "t6050-j775d-gpu.dtsi"

/*
* Rear ports 1 and 2's USB4 routers with their PCIe and DP tunnels, and rear port 1 (ATC0, hpm0,
* the debug port) itself, as on the Mac mini (J873s). The J775d ADT's acio0-3, acio-cpu0-3,
* dart-acio0-3 and apciec0-3 have the J775c's interrupts, and the T6050 boards' router, NHI, DART
* and tunnel tunables and host DROM body are the same on every board checked. Rear port 1's PHY
* gets its tables from the boot loader on a normal boot (aura#574). The CIO RX_TOP values are not
* in hand for this board and are left unset. Rear port 3's router waits for aura's dcpext0
* display handoff, which enables that port's USB chain; rear port 4's (acio3, hpm3) for its own
* port check.
*/
#include "t6050-j714s-left-usb4.dtsi"
#include "t6050-atc1-dp-tunnel.dtsi"
#include "t6050-k114-k116-atc0.dtsi"

&atc0_phy {
/delete-property/ apple,tunable-lane0-rx-top-cio;
/delete-property/ apple,tunable-lane1-rx-top-cio;
};

&atc1_phy {
/delete-property/ apple,tunable-lane0-rx-top-cio;
/delete-property/ apple,tunable-lane1-rx-top-cio;
};

/* The LSTX pins of the two routers: 77 (acio0) and 79 (acio1) */
&pinctrl_aop {
gpio-reserved-ranges = <0 77>, <78 1>, <80 5>;
};
32 changes: 32 additions & 0 deletions arch/arm64/boot/dts/apple/t6050-j873s.dts
Original file line number Diff line number Diff line change
Expand Up @@ -138,5 +138,37 @@
*/

#define T6050_J873S
/* ADT /arm-io/acio0 and acio1: rear ports 1 and 2's USB4/Thunderbolt routers (end of file) */
#define T6050_ATC0_USB4_ROUTER
#define T6050_ATC1_USB4_ROUTER
#include "t6050-peripherals.dtsi"
#include "t6050-media.dtsi"

/*
* Rear ports 1 and 2's USB4 routers with their PCIe and DP tunnels, and rear port 1 (ATC0, hpm0,
* the debug port) itself. The J873s ADT has acio0-2, acio-cpu0-2, dart-acio0-2 and apciec0-2
* with the interrupts the T6050 laptops' have (J775c, J714s, K114s), and the laptops' router,
* NHI, DART and tunnel tunables and host DROM body are the same on every T6050 board checked
* (K114s, K116s, J714s, J716c). Rear port 1's PHY gets its tables from the boot loader on a normal
* boot (aura#574). The CIO RX_TOP values are not in hand for this board and are left unset (the
* PHY driver skips an absent CIO80 tunable). Rear port 3's router (acio2) waits: its USB chain is
* enabled by aura's dcpext0 display handoff (t6050-desktop.dtsi), which must stay in charge of it.
*/
#include "t6050-j714s-left-usb4.dtsi"
#include "t6050-atc1-dp-tunnel.dtsi"
#include "t6050-k114-k116-atc0.dtsi"

&atc0_phy {
/delete-property/ apple,tunable-lane0-rx-top-cio;
/delete-property/ apple,tunable-lane1-rx-top-cio;
};

&atc1_phy {
/delete-property/ apple,tunable-lane0-rx-top-cio;
/delete-property/ apple,tunable-lane1-rx-top-cio;
};

/* The LSTX pins of the two routers: 77 (acio0) and 79 (acio1) */
&pinctrl_aop {
gpio-reserved-ranges = <0 77>, <78 1>, <80 5>;
};