From 583dd2c55c5170be0ceebbc2635c14dfc1d920b0 Mon Sep 17 00:00:00 2001 From: Satya Benson Date: Mon, 9 Nov 2026 11:02:21 -0500 Subject: [PATCH 01/12] arm64: dts: apple: t6050: add disabled acio0/1/3 routers Describe die-0 ATC0, ATC1 and ATC3 in the shared T6050 files using acioN names and the integration ATC2 resource layout. ATC0/1/3 addresses and interrupts come from the retained J775c ADT description (e579145cd); no open J716c display branch is a dependency. Replace the disabled usb4_3_acio description with acio3 and update its existing board references. Keep tunables, DROMs, PD endpoints and activation in board files. Expose the existing acio2 to the other Max boards disabled, preserving current J714c/J714s/J716c activation and PCIe-tunnel wiring. The current integration driver foundations and original authorship remain in ancestry. Signed-off-by: Satya Benson Co-Authored-By: Claude Opus 5.5 (cherry picked from commit cd3e03d98f457741fc79e9f8ecd7ff62eeaad414) Signed-off-by: Diljit Singh --- arch/arm64/boot/dts/apple/t6050-acio.dtsi | 345 ++++++++++++++++++++++ arch/arm64/boot/dts/apple/t6050-die0.dtsi | 129 +------- arch/arm64/boot/dts/apple/t6050-j775d.dts | 8 +- arch/arm64/boot/dts/apple/t6050-max.dtsi | 18 +- 4 files changed, 365 insertions(+), 135 deletions(-) create mode 100644 arch/arm64/boot/dts/apple/t6050-acio.dtsi diff --git a/arch/arm64/boot/dts/apple/t6050-acio.dtsi b/arch/arm64/boot/dts/apple/t6050-acio.dtsi new file mode 100644 index 0000000000000..2df1454afa8e2 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6050-acio.dtsi @@ -0,0 +1,345 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Die-0 T6050 USB4 routers. Resources follow the shared ATC2 driver + * layout; ATC0/1/3 addresses and interrupts are from the J775c ADT. + * Boards supply tunables, DROMs, PD graphs and enable policy. + */ + +&pinctrl_aop { + acio0_lstx_pins: acio0-lstx-pins { + pinmux = <0x1004d>; + }; + acio1_lstx_pins: acio1-lstx-pins { + pinmux = <0x1004f>; + }; + acio3_lstx_pins: acio3-lstx-pins { + pinmux = <0x10053>; + }; +}; + +&die0 { + acio0_mbox: mailbox@2a1108000 { + compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x2 0xa1108000 0x0 0x4000>; + interrupts = , + , + , + ; + interrupt-names = "send-empty", "send-not-empty", + "recv-empty", "recv-not-empty"; + #mbox-cells = <0>; + status = "disabled"; + }; + + acio0: acio@2a1ac0000 { + compatible = "apple,t6050-usb4-acio"; + reg = <0x2 0xa1ac0000 0x0 0xc000>, + <0x2 0xa1080000 0x0 0x26000>, + <0x2 0xa1e44000 0x0 0x4000>, + <0x2 0xa1100000 0x0 0x4000>, + <0x2 0xa1c80000 0x0 0x4000>; + reg-names = "rc", "sram", "pcie-adapter", "cpu", "router-ap-fw"; + mboxes = <&acio0_mbox>; + resets = <&cio_reconfig0 0>; + power-domains = <&ps_atc0_cio>, <&ps_atc0_cio_pcie>, + <&ps_atc0_cio_usb>, <&ps_atc0_cio_auss>; + thunderbolt-switch; + status = "disabled"; + pinctrl-0 = <&acio0_lstx_pins>; + pinctrl-names = "lstx"; + lstx-gpios = <&pinctrl_aop 77 GPIO_ACTIVE_HIGH>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x2 0xa1000000 0x1000000>; + nonposted-mmio; + acio0_dart: iommu@a80000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0xa80000 0xc000>; + interrupts = ; + power-domains = <&ps_atc0_cio>; + #iommu-cells = <1>; + apple,dma-range = <0x100 0x4000 0x0 0xffff0000>; + apple,bypass-sids = <15>; + apple,full-error-reporting; + apple,ctc-flush; + }; + acio0_nhi: nhi@f00000 { + compatible = "apple,t6050-usb4-nhi"; + reg = <0xf00000 0x100000>; + reg-names = "nhi"; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + interrupt-names = "txring0", "txring1", "txring2", "txring3", + "txring4", "txring5", "txring6", "txring7", + "txring8", "txring9", "txring10", "txring11", + "rxring0", "rxring1", "rxring2", "rxring3", + "rxring4", "rxring5", "rxring6", "rxring7", + "rxring8", "rxring9", "rxring10", "rxring11", + "parity"; + iommus = <&acio0_dart 0>, + <&acio0_dart 1>, + <&acio0_dart 2>, + <&acio0_dart 3>, + <&acio0_dart 4>, + <&acio0_dart 5>, + <&acio0_dart 6>, + <&acio0_dart 7>, + <&acio0_dart 8>, + <&acio0_dart 9>, + <&acio0_dart 10>, + <&acio0_dart 11>, + <&acio0_dart 16>, + <&acio0_dart 17>, + <&acio0_dart 18>, + <&acio0_dart 19>, + <&acio0_dart 20>, + <&acio0_dart 21>, + <&acio0_dart 22>, + <&acio0_dart 23>, + <&acio0_dart 24>, + <&acio0_dart 25>, + <&acio0_dart 26>, + <&acio0_dart 27>; + }; + }; + + acio1_mbox: mailbox@2a9108000 { + compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x2 0xa9108000 0x0 0x4000>; + interrupts = , + , + , + ; + interrupt-names = "send-empty", "send-not-empty", + "recv-empty", "recv-not-empty"; + #mbox-cells = <0>; + status = "disabled"; + }; + + acio1: acio@2a9ac0000 { + compatible = "apple,t6050-usb4-acio"; + reg = <0x2 0xa9ac0000 0x0 0xc000>, + <0x2 0xa9080000 0x0 0x26000>, + <0x2 0xa9e44000 0x0 0x4000>, + <0x2 0xa9100000 0x0 0x4000>, + <0x2 0xa9c80000 0x0 0x4000>; + reg-names = "rc", "sram", "pcie-adapter", "cpu", "router-ap-fw"; + mboxes = <&acio1_mbox>; + resets = <&cio_reconfig0 1>; + power-domains = <&ps_atc1_cio>, <&ps_atc1_cio_pcie>, + <&ps_atc1_cio_usb>, <&ps_atc1_cio_auss>; + thunderbolt-switch; + status = "disabled"; + pinctrl-0 = <&acio1_lstx_pins>; + pinctrl-names = "lstx"; + lstx-gpios = <&pinctrl_aop 79 GPIO_ACTIVE_HIGH>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x2 0xa9000000 0x1000000>; + nonposted-mmio; + acio1_dart: iommu@a80000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0xa80000 0xc000>; + interrupts = ; + power-domains = <&ps_atc1_cio>; + #iommu-cells = <1>; + apple,dma-range = <0x100 0x4000 0x0 0xffff0000>; + apple,bypass-sids = <15>; + apple,full-error-reporting; + apple,ctc-flush; + }; + acio1_nhi: nhi@f00000 { + compatible = "apple,t6050-usb4-nhi"; + reg = <0xf00000 0x100000>; + reg-names = "nhi"; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + interrupt-names = "txring0", "txring1", "txring2", "txring3", + "txring4", "txring5", "txring6", "txring7", + "txring8", "txring9", "txring10", "txring11", + "rxring0", "rxring1", "rxring2", "rxring3", + "rxring4", "rxring5", "rxring6", "rxring7", + "rxring8", "rxring9", "rxring10", "rxring11", + "parity"; + iommus = <&acio1_dart 0>, + <&acio1_dart 1>, + <&acio1_dart 2>, + <&acio1_dart 3>, + <&acio1_dart 4>, + <&acio1_dart 5>, + <&acio1_dart 6>, + <&acio1_dart 7>, + <&acio1_dart 8>, + <&acio1_dart 9>, + <&acio1_dart 10>, + <&acio1_dart 11>, + <&acio1_dart 16>, + <&acio1_dart 17>, + <&acio1_dart 18>, + <&acio1_dart 19>, + <&acio1_dart 20>, + <&acio1_dart 21>, + <&acio1_dart 22>, + <&acio1_dart 23>, + <&acio1_dart 24>, + <&acio1_dart 25>, + <&acio1_dart 26>, + <&acio1_dart 27>; + }; + }; + + acio3_mbox: mailbox@389108000 { + compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x3 0x89108000 0x0 0x4000>; + interrupts = , + , + , + ; + interrupt-names = "send-empty", "send-not-empty", + "recv-empty", "recv-not-empty"; + #mbox-cells = <0>; + status = "disabled"; + }; + + acio3: acio@389ac0000 { + compatible = "apple,t6050-usb4-acio"; + reg = <0x3 0x89ac0000 0x0 0xc000>, + <0x3 0x89080000 0x0 0x26000>, + <0x3 0x89e44000 0x0 0x4000>, + <0x3 0x89100000 0x0 0x4000>, + <0x3 0x89c80000 0x0 0x4000>; + reg-names = "rc", "sram", "pcie-adapter", "cpu", "router-ap-fw"; + mboxes = <&acio3_mbox>; + resets = <&cio_reconfig0 3>; + power-domains = <&ps_atc3_cio>, <&ps_atc3_cio_pcie>, + <&ps_atc3_cio_usb>, <&ps_atc3_cio_auss>; + thunderbolt-switch; + status = "disabled"; + pinctrl-0 = <&acio3_lstx_pins>; + pinctrl-names = "lstx"; + lstx-gpios = <&pinctrl_aop 83 GPIO_ACTIVE_HIGH>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x3 0x89000000 0x1000000>; + nonposted-mmio; + acio3_dart: iommu@a80000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0xa80000 0xc000>; + interrupts = ; + power-domains = <&ps_atc3_cio>; + #iommu-cells = <1>; + apple,dma-range = <0x100 0x4000 0x0 0xffff0000>; + apple,bypass-sids = <15>; + apple,full-error-reporting; + apple,ctc-flush; + }; + acio3_nhi: nhi@f00000 { + compatible = "apple,t6050-usb4-nhi"; + reg = <0xf00000 0x100000>; + reg-names = "nhi"; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + interrupt-names = "txring0", "txring1", "txring2", "txring3", + "txring4", "txring5", "txring6", "txring7", + "txring8", "txring9", "txring10", "txring11", + "rxring0", "rxring1", "rxring2", "rxring3", + "rxring4", "rxring5", "rxring6", "rxring7", + "rxring8", "rxring9", "rxring10", "rxring11", + "parity"; + iommus = <&acio3_dart 0>, + <&acio3_dart 1>, + <&acio3_dart 2>, + <&acio3_dart 3>, + <&acio3_dart 4>, + <&acio3_dart 5>, + <&acio3_dart 6>, + <&acio3_dart 7>, + <&acio3_dart 8>, + <&acio3_dart 9>, + <&acio3_dart 10>, + <&acio3_dart 11>, + <&acio3_dart 16>, + <&acio3_dart 17>, + <&acio3_dart 18>, + <&acio3_dart 19>, + <&acio3_dart 20>, + <&acio3_dart 21>, + <&acio3_dart 22>, + <&acio3_dart 23>, + <&acio3_dart 24>, + <&acio3_dart 25>, + <&acio3_dart 26>, + <&acio3_dart 27>; + }; + }; + +}; diff --git a/arch/arm64/boot/dts/apple/t6050-die0.dtsi b/arch/arm64/boot/dts/apple/t6050-die0.dtsi index caa23251d0f92..739b7d9a4b1be 100644 --- a/arch/arm64/boot/dts/apple/t6050-die0.dtsi +++ b/arch/arm64/boot/dts/apple/t6050-die0.dtsi @@ -431,133 +431,6 @@ * ATC3: its combo PHY, usb-drd3 and dart-usb3, as ATC1's (ADT /arm-io/atc-phy3, * acio-phy-cpu3, usb-drd3, dart-usb3), and its USB4/Thunderbolt router. */ - /* - * ATC3's USB4/Thunderbolt router (/arm-io/acio3: rid 3, compatible acio,v2): the router - * coprocessor's mailbox, /arm-io/acio-cpu3 reg[0]. Its ADT interrupts - * are [868, 867, 870, 869]: send-empty is index 1 and recv-not-empty index 2, as for the - * PHY mailboxes. Disabled until the router driver is in. - */ - usb4_3_mbox: mailbox@389108000 { - compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; - reg = <0x3 0x89108000 0x0 0x4000>; - interrupts = , - , - , - ; - interrupt-names = "send-empty", "send-not-empty", "recv-empty", "recv-not-empty"; - #mbox-cells = <0>; - status = "disabled"; - }; - - /* - * /arm-io/acio3 reg[1..3] (RC 0x389ac0000, HBW and LBW fabric: one 0xc000 window), - * the coprocessor's data SRAM (iop-acio3-nub segment __DATA at 0x389080000, firmware - * address 0x10000000, 0x26000) and its MxWrap wrapper (acio-cpu3 reg[1]); the 16 MiB - * window at 0x389000000 holds the children. Power: power-gates [122, 85, 120, 121] in - * the order the coprocessor's start powers them. The loader fills apple,tunable-rc - * (top, HBW and LBW tables) through the usb4-3-acio alias. - */ - usb4_3_acio: cio@389ac0000 { - compatible = "apple,t6050-usb4-acio"; - reg = <0x3 0x89ac0000 0x0 0xc000>, - <0x3 0x89080000 0x0 0x26000>, - <0x3 0x89100000 0x0 0x4000>; - reg-names = "rc", "sram", "cpu"; - mboxes = <&usb4_3_mbox>; - resets = <&cio_reconfig0 3>; - power-domains = <&ps_atc3_cio>, <&ps_atc3_cio_pcie>, <&ps_atc3_cio_usb>, - <&ps_atc3_cio_auss>; - thunderbolt-switch; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x0 0x3 0x89000000 0x1000000>; - nonposted-mmio; - status = "disabled"; - - /* - * /arm-io/dart-acio3 reg[0] (0x389a80000), interrupt 1702, sid-count 28, page-size - * 16384. The loader fills apple,tunable (dart-tunables-instance-0, 22 records). - */ - usb4_3_dart: iommu@a80000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - reg = <0xa80000 0xc000>; - interrupt-parent = <&aic>; - interrupts = ; - #iommu-cells = <5>; - }; - - /* - * /arm-io/acio3 reg[0] (0x389f00000). Its ADT interrupts list RX rings 1687-1698, - * then TX 1675-1686 (ring indices number TX first), then 1704, which is not a - * ring. Streams: TX 0-11, RX 16-27 (dart-acio3 sid), each in the DART's vm-base - * 0x10000000000 + vm-size 0x30000000000. The loader fills apple,tunable-nhi - * (hi_up/hi_dn merge and fw_int_ctl_management tables) and the DROM through the - * usb4-3-nhi alias. - */ - usb4_3_nhi: nhi@f00000 { - compatible = "apple,t6050-usb4-nhi"; - reg = <0xf00000 0x100000>; - reg-names = "nhi"; - interrupt-parent = <&aic>; - interrupts = , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - ; - interrupt-names = "txring0", "txring1", "txring2", "txring3", - "txring4", "txring5", "txring6", "txring7", - "txring8", "txring9", "txring10", "txring11", - "rxring0", "rxring1", "rxring2", "rxring3", - "rxring4", "rxring5", "rxring6", "rxring7", - "rxring8", "rxring9", "rxring10", "rxring11"; - iommus = <&usb4_3_dart 0 0x100 0x0 0x300 0x0>, - <&usb4_3_dart 1 0x100 0x0 0x300 0x0>, - <&usb4_3_dart 2 0x100 0x0 0x300 0x0>, - <&usb4_3_dart 3 0x100 0x0 0x300 0x0>, - <&usb4_3_dart 4 0x100 0x0 0x300 0x0>, - <&usb4_3_dart 5 0x100 0x0 0x300 0x0>, - <&usb4_3_dart 6 0x100 0x0 0x300 0x0>, - <&usb4_3_dart 7 0x100 0x0 0x300 0x0>, - <&usb4_3_dart 8 0x100 0x0 0x300 0x0>, - <&usb4_3_dart 9 0x100 0x0 0x300 0x0>, - <&usb4_3_dart 10 0x100 0x0 0x300 0x0>, - <&usb4_3_dart 11 0x100 0x0 0x300 0x0>, - <&usb4_3_dart 16 0x100 0x0 0x300 0x0>, - <&usb4_3_dart 17 0x100 0x0 0x300 0x0>, - <&usb4_3_dart 18 0x100 0x0 0x300 0x0>, - <&usb4_3_dart 19 0x100 0x0 0x300 0x0>, - <&usb4_3_dart 20 0x100 0x0 0x300 0x0>, - <&usb4_3_dart 21 0x100 0x0 0x300 0x0>, - <&usb4_3_dart 22 0x100 0x0 0x300 0x0>, - <&usb4_3_dart 23 0x100 0x0 0x300 0x0>, - <&usb4_3_dart 24 0x100 0x0 0x300 0x0>, - <&usb4_3_dart 25 0x100 0x0 0x300 0x0>, - <&usb4_3_dart 26 0x100 0x0 0x300 0x0>, - <&usb4_3_dart 27 0x100 0x0 0x300 0x0>; - /* To be filled by the loader */ - apple,thunderbolt-drom = [00]; - }; - }; - /* /arm-io/acio-phy-cpu3 reg[0]: the PHY firmware's mailbox */ atc3_phy_mbox: mailbox@38b148000 { compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; @@ -1107,3 +980,5 @@ <0x43000000 0xb 0xc0000000 0xb 0xc0000000 0x0 0x20000000>; }; }; + +#include "t6050-acio.dtsi" diff --git a/arch/arm64/boot/dts/apple/t6050-j775d.dts b/arch/arm64/boot/dts/apple/t6050-j775d.dts index 68b4c324aca02..f92645d025f71 100644 --- a/arch/arm64/boot/dts/apple/t6050-j775d.dts +++ b/arch/arm64/boot/dts/apple/t6050-j775d.dts @@ -32,8 +32,8 @@ atcphy4 = &atc4_phy; atcphy5 = &atc1_phy_die1; /* Aura's ACIO tunable copy fills rear port 4's router (/arm-io/acio3) through these. */ - usb4-3-acio = &usb4_3_acio; - usb4-3-nhi = &usb4_3_nhi; + usb4-3-acio = &acio3; + usb4-3-nhi = &acio3_nhi; /* asahi-bless and the boot loader's dt_set_nvram find the partition by this alias */ nvram = &nvram; }; @@ -475,7 +475,7 @@ }; }; - /* The USB4 router (usb4_3_acio), the PD driver's thunderbolt-switch */ + /* The USB4 router (acio3), the PD driver's thunderbolt-switch */ port@2 { reg = <2>; hpm3_tbt: endpoint { @@ -624,7 +624,7 @@ }; }; -&usb4_3_acio { +&acio3 { ports { #address-cells = <1>; #size-cells = <0>; diff --git a/arch/arm64/boot/dts/apple/t6050-max.dtsi b/arch/arm64/boot/dts/apple/t6050-max.dtsi index 7952525ab1d3c..b53f72880272d 100644 --- a/arch/arm64/boot/dts/apple/t6050-max.dtsi +++ b/arch/arm64/boot/dts/apple/t6050-max.dtsi @@ -199,7 +199,6 @@ #endif }; -#if defined(T6050_J714C) || defined(T6050_J714S) || defined(T6050_J716C) || defined(T6050_K114C) /* * ATC2's USB4/Thunderbolt router (ADT /arm-io/acio2, acio-cpu2 and dart-acio2), powered per * connection: the PHY enters CIO mode, then the router's domains come on (ATC2_CIO, _PCIE, _USB, @@ -267,6 +266,9 @@ interrupt-names = "send-empty", "send-not-empty", "recv-empty", "recv-not-empty"; #mbox-cells = <0>; +#if !(defined(T6050_J714C) || defined(T6050_J714S) || defined(T6050_J716C) || defined(T6050_K114C)) + status = "disabled"; +#endif }; /* @@ -283,11 +285,12 @@ reg-names = "rc", "sram", "pcie-adapter", "cpu", "router-ap-fw"; mboxes = <&acio2_mbox>; resets = <&cio_reconfig0 2>; - /* ATC2_PCIE last: the PCIe tunnel root port, set up before it is populated */ power-domains = <&ps_atc2_cio>, <&ps_atc2_cio_pcie>, - <&ps_atc2_cio_usb>, <&ps_atc2_cio_auss>, <&ps_atc2_pcie>; + <&ps_atc2_cio_usb>, <&ps_atc2_cio_auss>; thunderbolt-switch; - apple,pcie-tunnel = <&acio2_pcie_tunnel>; +#if !(defined(T6050_J714C) || defined(T6050_J714S) || defined(T6050_J716C) || defined(T6050_K114C)) + status = "disabled"; +#endif pinctrl-0 = <&acio2_lstx_pins>; pinctrl-names = "lstx"; lstx-gpios = <&pinctrl_aop 81 GPIO_ACTIVE_HIGH>; @@ -378,6 +381,13 @@ }; }; +#if defined(T6050_J714C) || defined(T6050_J714S) || defined(T6050_J716C) || defined(T6050_K114C) +&acio2 { + 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>; +}; + /* * ATC2's PCIe tunnel: /arm-io/apciec2 and dart-apciec2, the PCIe-C root port behind the router's * PCIe down adapter, and its DART. The router populates both once it has enabled a PCIe tunnel, From f3fe6ac18ffc9bfc15fec1461cb97194dd9f7ee2 Mon Sep 17 00:00:00 2001 From: Satya Benson Date: Wed, 11 Nov 2026 12:59:30 -0500 Subject: [PATCH 02/12] arm64: dts: apple: provide loader-filled DROM placeholders Keep the required NHI DROM property on disabled shared instances. Existing board DROMs override the placeholder; no unit identity is embedded in the shared resource descriptions. Signed-off-by: Satya Benson (cherry picked from commit c88cd761e105aec4b029c2fcaf8f79b48c9413f0) Signed-off-by: Diljit Singh --- arch/arm64/boot/dts/apple/t6050-acio.dtsi | 6 ++++++ arch/arm64/boot/dts/apple/t6050-max.dtsi | 2 ++ 2 files changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/apple/t6050-acio.dtsi b/arch/arm64/boot/dts/apple/t6050-acio.dtsi index 2df1454afa8e2..0c3689c93ac6c 100644 --- a/arch/arm64/boot/dts/apple/t6050-acio.dtsi +++ b/arch/arm64/boot/dts/apple/t6050-acio.dtsi @@ -67,6 +67,8 @@ compatible = "apple,t6050-usb4-nhi"; reg = <0xf00000 0x100000>; reg-names = "nhi"; + /* Replaced by the boot loader with this host's DROM. */ + apple,thunderbolt-drom = [00]; interrupts = , , , @@ -175,6 +177,8 @@ compatible = "apple,t6050-usb4-nhi"; reg = <0xf00000 0x100000>; reg-names = "nhi"; + /* Replaced by the boot loader with this host's DROM. */ + apple,thunderbolt-drom = [00]; interrupts = , , , @@ -283,6 +287,8 @@ compatible = "apple,t6050-usb4-nhi"; reg = <0xf00000 0x100000>; reg-names = "nhi"; + /* Replaced by the boot loader with this host's DROM. */ + apple,thunderbolt-drom = [00]; interrupts = , , , diff --git a/arch/arm64/boot/dts/apple/t6050-max.dtsi b/arch/arm64/boot/dts/apple/t6050-max.dtsi index b53f72880272d..25f1ab4565964 100644 --- a/arch/arm64/boot/dts/apple/t6050-max.dtsi +++ b/arch/arm64/boot/dts/apple/t6050-max.dtsi @@ -323,6 +323,8 @@ compatible = "apple,t6050-usb4-nhi"; reg = <0xf00000 0x100000>; reg-names = "nhi"; + /* The board or boot loader supplies the host DROM. */ + apple,thunderbolt-drom = [00]; interrupts = , , , From 039181f83b8ef67d2f88585d27346d4a590cc5f7 Mon Sep 17 00:00:00 2001 From: Satya Benson Date: Wed, 11 Nov 2026 16:11:40 -0500 Subject: [PATCH 03/12] PCI: apple: keep Clock PM off on adopted T6050 links Restore the adopted-host Clock PM policy from candidate44. Integration boots J775c with this change alone; restoring bus- number preservation alone does not return as a trial, and restoring the NVMe driver alone does not return. The host leaves CLKREQ# pads and reference-clock gating in firmware state. Removing L0s/L1 capability bits does not mask PCIE_LINK_STATE_CLKPM. Disable it before endpoint enable and walk the enumerated bus to retain the policy. Adapted from Satya Benson candidate44 PCIe adoption changes. Tested on J775c with Aura b6e6faf4 and candidate44 DTB; other boards untested. Signed-off-by: Satya Benson Assisted-by: LLM (cherry picked from commit ccdd14ad5493ee3eb16c4b29c512b7728820b59e) Signed-off-by: Diljit Singh --- drivers/pci/controller/pcie-apple.c | 45 ++++++++++++++++++++++++++++- 1 file changed, 44 insertions(+), 1 deletion(-) diff --git a/drivers/pci/controller/pcie-apple.c b/drivers/pci/controller/pcie-apple.c index 8e20a36cc575e..293ef7cc7d555 100644 --- a/drivers/pci/controller/pcie-apple.c +++ b/drivers/pci/controller/pcie-apple.c @@ -3655,6 +3655,38 @@ static int apple_pcie_radio_check_cold(struct apple_pcie_port *port) return ret; } +/* + * Adopted T6050 links have no kernel CLKREQ# pad or reference-clock gating + * setup. Disabling L0s/L1 capabilities alone does not disable Clock PM. + * Keep Clock PM off before enabling endpoints and after host enumeration; + * the policy mask also prevents a later ASPM policy change re-enabling it. + */ +static void apple_pcie_adopted_no_clkpm(struct pci_dev *pdev, bool locked) +{ + u32 lnkcap; + int ret; + + if (pci_is_root_bus(pdev->bus) || !pci_is_pcie(pdev)) + return; + if (pcie_capability_read_dword(pdev, PCI_EXP_LNKCAP, &lnkcap) || + !(lnkcap & PCI_EXP_LNKCAP_CLKPM)) + return; + ret = locked ? pci_disable_link_state_locked(pdev, PCIE_LINK_STATE_CLKPM) : + pci_disable_link_state(pdev, PCIE_LINK_STATE_CLKPM); + if (ret == -EINVAL) /* no ASPM link state: nothing turns Clock PM on */ + return; + if (ret) + pci_warn(pdev, "cannot turn Clock PM off: %d\n", ret); + else if (locked) + pci_info(pdev, "Clock PM off: the host does not handle CLKREQ#\n"); +} + +static int apple_pcie_adopted_no_clkpm_walk(struct pci_dev *pdev, void *data) +{ + apple_pcie_adopted_no_clkpm(pdev, true); + return 0; +} + static int apple_pcie_enable_device(struct pci_host_bridge *bridge, struct pci_dev *pdev) { struct apple_pcie *pcie = pci_host_bridge_priv(bridge); @@ -3705,6 +3737,7 @@ static int apple_pcie_enable_device(struct pci_host_bridge *bridge, struct pci_d if (pcie->hw->adopt_link) { if (READ_ONCE(port->link_failed)) return -ENODEV; + apple_pcie_adopted_no_clkpm(pdev, false); mutex_lock(&pcie->lock); err = apple_pcie_adopted_route(port, rid); mutex_unlock(&pcie->lock); @@ -5668,6 +5701,16 @@ int apple_pcie_t6050_port_recycle(struct pci_dev *bridge) } EXPORT_SYMBOL_GPL(apple_pcie_t6050_port_recycle); +static int apple_pcie_host_init(struct platform_device *pdev, struct pci_host_bridge *bridge) +{ + struct apple_pcie *pcie = pci_host_bridge_priv(bridge); + int ret = pci_host_common_init(pdev, bridge, &apple_pcie_cfg_ecam_ops); + + if (!ret && pcie->hw->adopt_link) + pci_walk_bus(bridge->bus, apple_pcie_adopted_no_clkpm_walk, NULL); + return ret; +} + static int apple_pcie_probe(struct platform_device *pdev) { struct device *dev = &pdev->dev; @@ -5835,7 +5878,7 @@ static int apple_pcie_probe(struct platform_device *pdev) if (hw->adopt_link) bridge->reset_root_port = apple_pcie_t6050_reset_root_port; - ret = pci_host_common_init(pdev, bridge, &apple_pcie_cfg_ecam_ops); + ret = apple_pcie_host_init(pdev, bridge); if (ret) { apple_pcie_cleanup(pcie); if (pcie->piodma_supplier) { From 8de55213135705f02707d46854dfd045e0454edd Mon Sep 17 00:00:00 2001 From: Satya Benson Date: Thu, 12 Nov 2026 19:10:28 -0500 Subject: [PATCH 04/12] arm64: dts: apple: rebase the J775c compatibility board layout Rebase Satya Benson's boot-tested M5 Max Mac Studio board series from linux PR1619 onto current integration. Consolidate its incremental board fixups and historical merge cleanups while retaining the original author, copyright notices and compatibility contract. Keep the one-die CPU/cache topology, board PCIe/N1/NVRAM/fan and USB/PD wiring, installed-loader GPU paths/fallback, disabled MTP DART, three ANE suppliers and omission of the desktop internal-panel DCP. Retain the original disabled inventory and ANE trial wrapper without claiming new hardware qualification. Resolve the ANE binding against the current T8142/T8132 constraints: retain the explicit T6050 backend/full-inventory distinction and known 0x210/0x220 platform types. Preserve K114c's active ATC2 guards in the shared router definitions. Do not weaken the modern GPU binding; the legacy-loader GPU warning gate remains visible. The original PR1619 and its branch remain open and unchanged. Source head: 0075a007a50701db8cb2ac8aab5f6910377ed414. Shared-router and Clock PM dependencies are separate preceding commits. Based on the J775D board by Jeff Queisser and the single-die J716c work by Erik Bourget; their foundations remain in integration ancestry. Signed-off-by: Satya Benson Assisted-by: LLM Signed-off-by: Diljit Singh --- .../devicetree/apple-j775c-compatibility.rst | 46 + .../bindings/media/apple,t8140-ave.yaml | 2 +- .../devicetree/bindings/npu/apple,ane.yaml | 58 +- .../bindings/sound/apple,macaudio.yaml | 1 + .../bindings/sound/apple,t6030-dpaudio.yaml | 13 +- arch/arm64/boot/dts/apple/t6050-j775c-ane.dts | 34 + .../boot/dts/apple/t6050-j775c-base.dtsi | 306 ++ .../t6050-j775c-incremental-additions.dtsi | 1046 ++++++ .../apple/t6050-j775c-incremental-audio.dtsi | 69 + .../t6050-j775c-incremental-display.dtsi | 464 +++ .../apple/t6050-j775c-incremental-gpuopp.dtsi | 277 ++ .../apple/t6050-j775c-incremental-pcie.dtsi | 41 + .../apple/t6050-j775c-incremental-pmgr.dtsi | 1148 ++++++ .../apple/t6050-j775c-incremental-pmgr4.dtsi | 269 ++ ...050-j775c-incremental-remaining-nogpu.dtsi | 2354 ++++++++++++ .../dts/apple/t6050-j775c-incremental-sd.dtsi | 11 + .../apple/t6050-j775c-incremental-spmi.dtsi | 47 + .../t6050-j775c-incremental-usbpolicy.dtsi | 185 + .../boot/dts/apple/t6050-j775c-legacy.dtsi | 3190 +++++++++++++++++ .../dts/apple/t6050-j775c-loader-gpu.dtsi | 98 + .../t6050-j775c-rebased-peripherals.dtsi | 302 ++ .../dts/apple/t6050-j775c-usb4-capture.dtsi | 24 + .../boot/dts/apple/t6050-j775c-usb4.dtsi | 424 +++ arch/arm64/boot/dts/apple/t6050-j775c.dts | 1167 +++++- 24 files changed, 11563 insertions(+), 13 deletions(-) create mode 100644 Documentation/devicetree/apple-j775c-compatibility.rst create mode 100644 arch/arm64/boot/dts/apple/t6050-j775c-ane.dts create mode 100644 arch/arm64/boot/dts/apple/t6050-j775c-base.dtsi create mode 100644 arch/arm64/boot/dts/apple/t6050-j775c-incremental-additions.dtsi create mode 100644 arch/arm64/boot/dts/apple/t6050-j775c-incremental-audio.dtsi create mode 100644 arch/arm64/boot/dts/apple/t6050-j775c-incremental-display.dtsi create mode 100644 arch/arm64/boot/dts/apple/t6050-j775c-incremental-gpuopp.dtsi create mode 100644 arch/arm64/boot/dts/apple/t6050-j775c-incremental-pcie.dtsi create mode 100644 arch/arm64/boot/dts/apple/t6050-j775c-incremental-pmgr.dtsi create mode 100644 arch/arm64/boot/dts/apple/t6050-j775c-incremental-pmgr4.dtsi create mode 100644 arch/arm64/boot/dts/apple/t6050-j775c-incremental-remaining-nogpu.dtsi create mode 100644 arch/arm64/boot/dts/apple/t6050-j775c-incremental-sd.dtsi create mode 100644 arch/arm64/boot/dts/apple/t6050-j775c-incremental-spmi.dtsi create mode 100644 arch/arm64/boot/dts/apple/t6050-j775c-incremental-usbpolicy.dtsi create mode 100644 arch/arm64/boot/dts/apple/t6050-j775c-legacy.dtsi create mode 100644 arch/arm64/boot/dts/apple/t6050-j775c-loader-gpu.dtsi create mode 100644 arch/arm64/boot/dts/apple/t6050-j775c-rebased-peripherals.dtsi create mode 100644 arch/arm64/boot/dts/apple/t6050-j775c-usb4-capture.dtsi create mode 100644 arch/arm64/boot/dts/apple/t6050-j775c-usb4.dtsi diff --git a/Documentation/devicetree/apple-j775c-compatibility.rst b/Documentation/devicetree/apple-j775c-compatibility.rst new file mode 100644 index 0000000000000..7300d8160a370 --- /dev/null +++ b/Documentation/devicetree/apple-j775c-compatibility.rst @@ -0,0 +1,46 @@ +.. SPDX-License-Identifier: GPL-2.0-only + +J775c loader compatibility and DT validation +========================================== + +The J775c (Mac Studio M5 Max) description retains the GPU layout required +by the installed Aura b6e6faf4 loader: the GPU path below +``/soc@2300000000``, the ``apple,agx-t6050`` fallback compatible, and the +ASC/SGX resource pair. Migrating to the modern GPU layout requires a +separately qualified loader update. Do not remove this contract merely +to satisfy schema validation. + +At PR #1619 head 32149e08e8b191a500b40435eb0820cc78ec22fe, the +``t6050-j775c-ane.dtb`` booted with SHA256 +``dc88aa139f329bb568e48ba7ba80417e7d2c01ec6be49514a95ca24285dfd8d9``. +The hardware receipt, including the combined kernel revision and test +limits, is recorded at: + +https://github.com/aurora-silicon/linux/pull/1619#issuecomment-6816611851 + +This is a boot and health result, not qualification of GPU rendering, +audio playback, SD media, suspend, hotplug or other boards. + +At that revision the DT gate reports ten new lines, five per J775c DTB: +unmatched compatible, compatible oneOf failure, excessive reg length, +excessive reg-names length, and reg-names[0] expecting sgx. The modern +G17 binding describes one SGX bank; the retained loader contract uses +ASC and SGX. The edited bindings themselves validate, and ADT coverage +does not regress. These warnings remain visible. + +After merging integration 050f6a517, its compatible-pair recognition +removes the two unmatched-schema diagnostics. Eight new warning lines +remain, four per J775c DTB, with identical DTB bytes. The compatible list +and ASC/SGX shape still conflict with the modern binding constraints. + +``scripts/dtc/apple-dt-check.sh`` compares normalized warning sets for +all Apple DTBs at base and head. It has no warning allowlist or board +exception mechanism. ADT coverage waivers describe coverage only and +cannot waive schema diagnostics. A PR job compares its synthetic merge +against that merge's first parent, not against the PR's old base or +its merge-base. + +The remaining DT gate item is the GPU loader contract migration: qualify +a loader supporting modern GPU paths, compatibles and resources, then +update the DT and recheck GPU handoff and HDMI on hardware. Until then, +preserve the compatibility DT and keep the PR draft while CI fails. diff --git a/Documentation/devicetree/bindings/media/apple,t8140-ave.yaml b/Documentation/devicetree/bindings/media/apple,t8140-ave.yaml index 8ac82ae404cdf..c69d6236b33eb 100644 --- a/Documentation/devicetree/bindings/media/apple,t8140-ave.yaml +++ b/Documentation/devicetree/bindings/media/apple,t8140-ave.yaml @@ -138,6 +138,7 @@ allOf: - apple,t6022-ave - apple,t6030-ave - apple,t6031-ave + - apple,t6050-ave - apple,t8103-ave - apple,t8122-ave - const: apple,ave @@ -234,7 +235,6 @@ allOf: contains: enum: - apple,t6041-ave - - apple,t6050-ave - apple,t8140-ave - apple,t8142-ave then: diff --git a/Documentation/devicetree/bindings/npu/apple,ane.yaml b/Documentation/devicetree/bindings/npu/apple,ane.yaml index 999599f852d8a..2365f164fa529 100644 --- a/Documentation/devicetree/bindings/npu/apple,ane.yaml +++ b/Documentation/devicetree/bindings/npu/apple,ane.yaml @@ -65,6 +65,14 @@ properties: minItems: 1 maxItems: 7 + apple,clpc: + $ref: /schemas/types.yaml#/definitions/phandle + description: Host controller holding the DRAM and fabric floor for ANE work. + + performance-domains: + maxItems: 1 + description: CPU performance domain sharing the ANE voltage supply. + apple,performance-controller: $ref: /schemas/types.yaml#/definitions/phandle description: @@ -175,7 +183,7 @@ properties: apple,ane-type: $ref: /schemas/types.yaml#/definitions/uint32 - enum: [0x100, 0x110, 0x200] + enum: [0x100, 0x110, 0x200, 0x210, 0x220] description: Firmware generation identifier supplied by the bootloader apple,firmware-preloaded: @@ -246,7 +254,6 @@ allOf: properties: compatible: enum: - - apple,t6050-ane - apple,t8140-ane - apple,t8142-ane then: @@ -265,6 +272,53 @@ allOf: - const: pwgate required: - apple,dapf-ranges + - if: + properties: + compatible: + const: apple,t6050-ane + then: + properties: + interrupts: + minItems: 2 + power-domains: + maxItems: 1 + apple,ane-type: + const: 0x220 + oneOf: + - properties: + reg: + minItems: 3 + maxItems: 4 + reg-names: + minItems: 3 + items: + - const: engine + - const: pmgr + - const: pwgate + - const: xl + required: + - apple,dapf-ranges + - description: Complete ADT inventory, not a firmware backend interface. + properties: + reg: + minItems: 7 + reg-names: + items: + - const: engine + - const: pmgr + - const: aux-0 + - const: aux-1 + - const: aux-2 + - const: aux-3 + - const: aux-4 + status: + const: disabled + required: + - status + else: + properties: + apple,clpc: false + performance-domains: false - if: required: - apple,preload-data-sha256 diff --git a/Documentation/devicetree/bindings/sound/apple,macaudio.yaml b/Documentation/devicetree/bindings/sound/apple,macaudio.yaml index 37956f0a3a343..c9880a39e9b29 100644 --- a/Documentation/devicetree/bindings/sound/apple,macaudio.yaml +++ b/Documentation/devicetree/bindings/sound/apple,macaudio.yaml @@ -34,6 +34,7 @@ properties: - apple,j473-macaudio - apple,j493-macaudio - apple,j575c-macaudio + - apple,j775c-macaudio - apple,j775d-macaudio - apple,j575c-macaudio-jack - apple,j604-macaudio diff --git a/Documentation/devicetree/bindings/sound/apple,t6030-dpaudio.yaml b/Documentation/devicetree/bindings/sound/apple,t6030-dpaudio.yaml index 78dcee199f937..8fe63cf0a3b56 100644 --- a/Documentation/devicetree/bindings/sound/apple,t6030-dpaudio.yaml +++ b/Documentation/devicetree/bindings/sound/apple,t6030-dpaudio.yaml @@ -63,7 +63,18 @@ required: - compatible - dmas - dma-names - - power-domains - ports +allOf: + - if: + properties: + compatible: + contains: + const: apple,t6050-dpaudio + then: + description: The DCP service owns the power lifecycle on T6050. + else: + required: + - power-domains + additionalProperties: false diff --git a/arch/arm64/boot/dts/apple/t6050-j775c-ane.dts b/arch/arm64/boot/dts/apple/t6050-j775c-ane.dts new file mode 100644 index 0000000000000..95663b200a895 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6050-j775c-ane.dts @@ -0,0 +1,34 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple Mac Studio (M5 Max, 2026) with the Neural Engine enabled, for a + * trial boot: J775c plus ANE_SYS, the three ANE DART instances and the + * ANE. The DARTs probe at boot (powering ANE_SYS); the ANE engine itself + * is only touched from firmware_stage, after the loader hand-off. + */ + +#include "t6050-j775c.dts" + +&ps_ane_sys { + status = "okay"; +}; + +&ane_dart0 { + status = "okay"; +}; + +&ane_dart1 { + status = "okay"; +}; + +&ane_dart2 { + status = "okay"; +}; + +&ane { + status = "okay"; +}; + +/* Retain ANE_SYS suppliers when explicitly enabling these DARTs. */ +&ane_dart0 { power-domains = <&ps_ane_sys>; }; +&ane_dart1 { power-domains = <&ps_ane_sys>; }; +&ane_dart2 { power-domains = <&ps_ane_sys>; }; diff --git a/arch/arm64/boot/dts/apple/t6050-j775c-base.dtsi b/arch/arm64/boot/dts/apple/t6050-j775c-base.dtsi new file mode 100644 index 0000000000000..171ca5c2d8c35 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6050-j775c-base.dtsi @@ -0,0 +1,306 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Nodes common to every Apple T6050 (M5 Max, M5 Ultra) SoC + * + * A T6050 is one or two identical dies: t6050-max.dtsi describes the + * one-die part and t6050-ultra.dtsi the two-die one. Each includes this + * file, t6050-die0.dtsi (the blocks used on die 0 only) and, once per die, + * the per-die template t6050-dieX.dtsi. Die 0's MMIO window is + * 0x2_00000000 and die 1's 0x42_00000000 (die stride 0x40_00000000); each + * die has its own simple-bus, which the boot loader looks up by unit + * address. Unit addresses are CPU physical addresses. The boot loader + * starts the secondary CPUs and fills in their release addresses, the + * memory node and its own reservations. + * + * A smaller (binned) one-die part can build on t6050-max.dtsi, as + * t6034.dtsi does on t6031.dtsi: the boot loader removes the CPU nodes of + * the cores a part lacks. + * + * Copyright The Asahi Linux Contributors + */ + +/* + * The per-die template's addressing: before each inclusion of + * t6050-dieX.dtsi, the including file defines + * DIE the label suffix (empty for die 0, _die1 for die 1), + * DIE_NO the die number (the AIC's die cell), + * DIE_UNIT_PREFIX the die's MMIO offset as a unit-address prefix + * (empty for die 0, 4 for die 1), + * DIE_ATC1 the port name of the die's ATC1 (die d's ATCn is port 4d + n), + * SOC_NODE the die's bus. + * DIE_UNIT() and DIE_HI() then give a die-0 address on that die. + */ +#define DIE_UNIT(addr) __concat(DIE_UNIT_PREFIX, addr) +#define DIE_HI(hi) ((hi) + 0x40 * DIE_NO) +#define DIE_ATC1_LABEL(suffix) __stringify(__concat(DIE_ATC1, suffix)) + +/* + * CPU nodes. Die d, cluster c, core n has MPIDR Aff2 4 for the two M-tier + * (apple,sawtooth) clusters and 1 for the P-tier (apple,everest) cluster, + * Aff1 0x10 * d + c and Aff0 n; the unit address is the MPIDR. Labels + * number the cores 18 * d + 6 * c + n. The boot loader removes the nodes of + * the cores it did not start. + */ +#define T6050_CPU(label, mpidr, type, opp, cluster, cpu_cap) \ + label: cpu@mpidr { \ + compatible = type; \ + device_type = "cpu"; \ + reg = <0x0 0x ## mpidr>; \ + enable-method = "spin-table"; \ + operating-points-v2 = <&opp>; \ + performance-domains = <&cluster>; \ + capacity-dmips-mhz = ; \ + cpu-release-addr = <0 0>; /* to be filled by the loader */ \ + } + +/* + * capacity-dmips-mhz from pinned single-thread throughput with every cluster at 4284 MHz (in + * both OPP tables), normalised by each core's measured clock (J714sAP): per MHz an M core runs + * zstd -3 compression at 0.736, decompression at 0.871 and a Python dict loop at 0.728 of a P + * core, geometric mean 0.776, so M 794 and P 1024. Small L1-resident loops run at 0.92-1.01. + */ +#define T6050_M_CPU(label, mpidr, cluster) \ + T6050_CPU(label, mpidr, "apple,sawtooth", mcluster_opp, cluster, 794) +#define T6050_P_CPU(label, mpidr, cluster) \ + T6050_CPU(label, mpidr, "apple,everest", pcluster_opp, cluster, 1024) + +/ { + compatible = "apple,t6050", "apple,arm-platform"; + #address-cells = <2>; + #size-cells = <2>; + interrupt-parent = <&aic>; + + /* The boot loader replaces reg with the usable RAM. */ + memory@10000000000 { + device_type = "memory"; + reg = <0x100 0x0 0x0 0x0>; + }; + + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + /* The boot loader adds its own reservations. */ + }; + + /* The size's file lists its CPUs (T6050_M_CPU, T6050_P_CPU). */ + cpus { + #address-cells = <2>; + #size-cells = <0>; + }; + + /* + * CPU OPPs, from the ADT: /arm-io/pmgr acc-clusters maps clusters 0, 1 and 2 of each die to + * voltage-states 22, 23 and 5, and their -sram tables give the frequencies (kHz). 22 and 23 + * list the same frequencies, so the two M clusters share one table. Levels are DVFS command + * states: state 1 is 300 MHz and state k the table's (k-1)-th entry from state 2, as on T8142 + * (measured on J775D: every state's clock from a dependent-add chain). iBoot leaves M cluster + * 0 of each die in state 6 (2652 MHz), the other clusters in state 2. + * + * Bring-up: the clusters' controllers (t6050-dieX.dtsi) assert apple,firmware-managed-thermal, + * which the T6050 profile requires, before that ownership is qualified on this boot chain (no + * Linux PMP driver runs; the SMC drives the fans). A qualification settles it: an all-core + * load at the top states, watching TCMb, the fans and the measured clock. + */ + mcluster_opp: opp-table-mcluster { + compatible = "operating-points-v2"; + opp-shared; + + opp01 { + opp-hz = /bits/ 64 <300000000>; + opp-level = <1>; + }; + opp02 { + opp-hz = /bits/ 64 <1344000000>; + opp-level = <2>; + }; + opp03 { + opp-hz = /bits/ 64 <1644000000>; + opp-level = <3>; + }; + opp04 { + opp-hz = /bits/ 64 <1992000000>; + opp-level = <4>; + }; + opp05 { + opp-hz = /bits/ 64 <2304000000>; + opp-level = <5>; + }; + opp06 { + opp-hz = /bits/ 64 <2652000000>; + opp-level = <6>; + }; + opp07 { + opp-hz = /bits/ 64 <2964000000>; + opp-level = <7>; + }; + opp08 { + opp-hz = /bits/ 64 <3240000000>; + opp-level = <8>; + }; + opp09 { + opp-hz = /bits/ 64 <3504000000>; + opp-level = <9>; + }; + opp10 { + opp-hz = /bits/ 64 <3696000000>; + opp-level = <10>; + }; + opp11 { + opp-hz = /bits/ 64 <3876000000>; + opp-level = <11>; + }; + opp12 { + opp-hz = /bits/ 64 <4044000000>; + opp-level = <12>; + }; + opp13 { + opp-hz = /bits/ 64 <4176000000>; + opp-level = <13>; + }; + opp14 { + opp-hz = /bits/ 64 <4284000000>; + opp-level = <14>; + }; + opp15 { + opp-hz = /bits/ 64 <4308000000>; + opp-level = <15>; + }; + opp16 { + opp-hz = /bits/ 64 <4380000000>; + opp-level = <16>; + }; + }; + + pcluster_opp: opp-table-pcluster { + compatible = "operating-points-v2"; + opp-shared; + + opp01 { + opp-hz = /bits/ 64 <300000000>; + opp-level = <1>; + }; + opp02 { + opp-hz = /bits/ 64 <1308000000>; + opp-level = <2>; + }; + opp03 { + opp-hz = /bits/ 64 <1620000000>; + opp-level = <3>; + }; + opp04 { + opp-hz = /bits/ 64 <1980000000>; + opp-level = <4>; + }; + opp05 { + opp-hz = /bits/ 64 <2292000000>; + opp-level = <5>; + }; + opp06 { + opp-hz = /bits/ 64 <2580000000>; + opp-level = <6>; + }; + opp07 { + opp-hz = /bits/ 64 <2880000000>; + opp-level = <7>; + }; + opp08 { + opp-hz = /bits/ 64 <3180000000>; + opp-level = <8>; + }; + opp09 { + opp-hz = /bits/ 64 <3432000000>; + opp-level = <9>; + }; + opp10 { + opp-hz = /bits/ 64 <3648000000>; + opp-level = <10>; + }; + opp11 { + opp-hz = /bits/ 64 <3828000000>; + opp-level = <11>; + }; + opp12 { + opp-hz = /bits/ 64 <3984000000>; + opp-level = <12>; + }; + opp13 { + opp-hz = /bits/ 64 <4104000000>; + opp-level = <13>; + }; + opp14 { + opp-hz = /bits/ 64 <4188000000>; + opp-level = <14>; + }; + opp15 { + opp-hz = /bits/ 64 <4236000000>; + opp-level = <15>; + }; + opp16 { + opp-hz = /bits/ 64 <4284000000>; + opp-level = <16>; + }; + opp17 { + opp-hz = /bits/ 64 <4308000000>; + opp-level = <17>; + }; + opp18 { + opp-hz = /bits/ 64 <4332000000>; + opp-level = <18>; + }; + opp19 { + opp-hz = /bits/ 64 <4428000000>; + opp-level = <19>; + }; + opp20 { + opp-hz = /bits/ 64 <4512000000>; + opp-level = <20>; + }; + opp21 { + opp-hz = /bits/ 64 <4608000000>; + opp-level = <21>; + }; + }; + + /* The 24 MHz reference clock of the watchdog */ + clkref: clock-ref { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <24000000>; + clock-output-names = "clkref"; + }; + + /* The QSPI controller's input: ADT /arm-io/qspi clock-ids 440, /arm-io clock-frequencies[440 - 256] */ + clk_405m: clock-405m { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <405000000>; + clock-output-names = "clk_405m"; + }; + + timer { + compatible = "arm,armv8-timer"; + interrupt-parent = <&aic>; + interrupt-names = "phys", "virt", "hyp-phys", "hyp-virt"; + interrupts = , + , + , + ; + }; + + cpu_pmu: pmu { + compatible = "apple,t6050-pmu"; + interrupt-parent = <&aic>; + /* The AIC raises both core types' PMU FIQs as this one. */ + interrupts = ; + }; + + /* Die 0 MMIO */ + die0: soc { + compatible = "simple-bus"; + #address-cells = <2>; + #size-cells = <2>; + ranges; + nonposted-mmio; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t6050-j775c-incremental-additions.dtsi b/arch/arm64/boot/dts/apple/t6050-j775c-incremental-additions.dtsi new file mode 100644 index 0000000000000..c3ddeb9740f1a --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6050-j775c-incremental-additions.dtsi @@ -0,0 +1,1046 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Property migration from Satya Benson's 86b1f365 J775c stack. + * Retained board sources remain the baseline; this group is independently booted. + * Copyright The Asahi Linux Contributors + */ +&{/soc} { + pwm@505040000 { + compatible = "apple,t6050-fpwm", "apple,s5l-fpwm"; + reg = <0x5 0x5040000 0x0 0x4000>; + clocks = <&{/clock-ref}>; + power-domains = <&{/soc/power-management@280900000/power-controller@2a8}>; + #pwm-cells = <0x2>; + status = "disabled"; + }; +}; + +&{/soc} { + pwm@505044000 { + compatible = "apple,t6050-fpwm", "apple,s5l-fpwm"; + reg = <0x5 0x5044000 0x0 0x4000>; + clocks = <&{/clock-ref}>; + power-domains = <&{/soc/power-management@280900000/power-controller@2b0}>; + #pwm-cells = <0x2>; + status = "disabled"; + }; +}; + +&{/soc} { + pwm@505048000 { + compatible = "apple,t6050-fpwm", "apple,s5l-fpwm"; + reg = <0x5 0x5048000 0x0 0x4000>; + clocks = <&{/clock-ref}>; + power-domains = <&{/soc/power-management@280900000/power-controller@2b8}>; + #pwm-cells = <0x2>; + status = "disabled"; + }; +}; + +&{/soc/acio@2a1ac0000} { + ports { + #address-cells = <0x1>; + #size-cells = <0x0>; + }; +}; + +&{/soc/acio@2a1ac0000/ports} { + port@1 { + reg = <0x1>; + }; +}; + +&{/soc/acio@2a1ac0000/ports/port@1} { + endpoint { + remote-endpoint = <&{/soc/spmi@28a188000/usb-pd@c/connector/ports/port@3/endpoint}>; + }; +}; + +&{/soc/acio@2a9ac0000} { + ports { + #address-cells = <0x1>; + #size-cells = <0x0>; + }; +}; + +&{/soc/acio@2a9ac0000/ports} { + port@1 { + reg = <0x1>; + }; +}; + +&{/soc/acio@2a9ac0000/ports/port@1} { + endpoint { + remote-endpoint = <&{/soc/spmi@28a188000/usb-pd@a/connector/ports/port@3/endpoint}>; + }; +}; + +&{/soc/acio@389ac0000} { + ports { + #address-cells = <0x1>; + #size-cells = <0x0>; + }; +}; + +&{/soc/acio@389ac0000/ports} { + port@1 { + reg = <0x1>; + }; +}; + +&{/soc/acio@389ac0000/ports/port@1} { + endpoint { + remote-endpoint = <&{/soc/spmi@28a188000/usb-pd@6/connector/ports/port@3/endpoint}>; + }; +}; + +&{/soc} { + mailbox@294608000 { + compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x2 0x94608000 0x0 0x4000>; + interrupts = <0x0 0x0 0x2a4 0x4 0x0 0x0 0x2a5 0x4 0x0 0x0 0x2a6 0x4 0x0 0x0 0x2a7 0x4>; + interrupt-names = "send-empty", "send-not-empty", "recv-empty", "recv-not-empty"; + #mbox-cells = <0x0>; + }; +}; + +&{/soc} { + iommu@294800000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x2 0x94800000 0x0 0xc000>; + interrupts = <0x0 0x0 0x293 0x4>; + #iommu-cells = <0x1>; + apple,dma-range = <0x100 0x4000 0x0 0xffff0000>; + }; +}; + +&{/soc} { + mtp@294600000 { + compatible = "apple,t6050-mtp", "apple,t6050-rtk-helper-asc4", "apple,mtp", "apple,rtk-helper-asc4"; + reg = <0x2 0x94600000 0x0 0x4000 0x2 0x94c00000 0x0 0xc4000>; + reg-names = "asc", "sram"; + mboxes = <&{/soc/mailbox@294608000}>; + iommus = <&{/soc/iommu@294800000} 0x0>; + #helper-cells = <0x0>; + }; +}; + +&{/soc} { + fifo@294b14000 { + compatible = "apple,t6050-dockchannel", "apple,dockchannel"; + reg = <0x2 0x94b14000 0x0 0x1000>; + reg-names = "irq"; + interrupts = <0x0 0x0 0x294 0x4>; + ranges = <0x0 0x2 0x94b28000 0x10000>; + nonposted-mmio; + #address-cells = <0x1>; + #size-cells = <0x1>; + interrupt-controller; + #interrupt-cells = <0x2>; + }; +}; + +&{/soc/acio@381ac0000} { + ports { + #address-cells = <0x1>; + #size-cells = <0x0>; + }; +}; + +&{/soc/acio@381ac0000/ports} { + port@1 { + reg = <0x1>; + }; +}; + +&{/soc/acio@381ac0000/ports/port@1} { + endpoint { + remote-endpoint = <&{/soc/spmi@28a188000/usb-pd@8/connector/ports/port@3/endpoint}>; + }; +}; + +&{/soc} { + sep@502600000 { + compatible = "apple,t6050-sep", "apple,sep"; + reg = <0x5 0x2600000 0x0 0x88000 0x5 0x2050000 0x0 0x4000>; + mboxes = <&{/soc/mailbox@502608000}>; + mbox-names = "mbox"; + iommus = <&{/soc/iommu@500b80000} 0x0>; + power-domains = <&{/soc/power-management@280900000/power-controller@298}>; + clocks = <&{/soc/clock-controller@280600000} 0x1bf>; + status = "disabled"; + }; +}; + +&{/soc} { + mailbox@502608000 { + compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x5 0x2608000 0x0 0x4000>; + interrupts = <0x0 0x0 0x215 0x4 0x0 0x0 0x216 0x4 0x0 0x0 0x217 0x4 0x0 0x0 0x218 0x4>; + interrupt-names = "send-empty", "send-not-empty", "recv-empty", "recv-not-empty"; + #mbox-cells = <0x0>; + status = "disabled"; + }; +}; + +&{/soc} { + iommu@500b80000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x5 0xb80000 0x0 0x20000>; + interrupts = <0x0 0x0 0x21f 0x4>; + #iommu-cells = <0x1>; + apple,dma-range = <0x100 0x4000 0x0 0xffff0000>; + apple,dma-offset = <0x0 0x0>; + status = "disabled"; + }; +}; + +&{/soc} { + clock-controller@280600000 { + compatible = "apple,t6050-pmgr-clocks", "apple,pmgr-clocks"; + reg = <0x2 0x80600000 0x0 0x1fc000 0x2 0x80900000 0x0 0x58000 0x2 0x80000000 0x0 0x80000 0x2 0x80210000 0x0 0x8000 0x2 0x80200000 0x0 0x4000 0x2 0x806f0000 0x0 0x4000 0x2 0x84000000 0x0 0x8000 0x2 0x84240000 0x0 0x40000 0x2 0x86000000 0x0 0x1000000 0x2 0x88300000 0x0 0x84000 0x2 0x88200000 0x0 0x80000 0x2 0x88f00000 0x0 0x18000 0x2 0x88000000 0x0 0x24000 0x2 0x88e00000 0x0 0xa8000 0x2 0x88360000 0x0 0x4000 0x5 0x9878000 0x0 0x4000 0x2 0x10e20000 0x0 0x12e8 0x2 0x10e40000 0x0 0xc020 0x2 0x10e50000 0x0 0x9048 0x2 0x10e70000 0x0 0xffe8 0x2 0x10050000 0x0 0x9018 0x2 0x10150000 0x0 0x9018 0x2 0x10250000 0x0 0x9018 0x2 0x10350000 0x0 0x9018 0x2 0x10450000 0x0 0x9018 0x2 0x10550000 0x0 0x9018 0x2 0x11e20000 0x0 0x12e8 0x2 0x11e40000 0x0 0xc020 0x2 0x11e50000 0x0 0x9048 0x2 0x11e70000 0x0 0xffe8 0x2 0x11050000 0x0 0x9018 0x2 0x11150000 0x0 0x9018 0x2 0x11250000 0x0 0x9018 0x2 0x11350000 0x0 0x9018 0x2 0x11450000 0x0 0x9018 0x2 0x11550000 0x0 0x9018 0x2 0x12e20000 0x0 0x12e8 0x2 0x12e40000 0x0 0xc020 0x2 0x12e50000 0x0 0x9048 0x2 0x12e70000 0x0 0xffe8 0x2 0x12050000 0x0 0x9018 0x2 0x12150000 0x0 0x9018 0x2 0x12250000 0x0 0x9018 0x2 0x12350000 0x0 0x9018 0x2 0x12450000 0x0 0x9018 0x2 0x12550000 0x0 0x9018 0x23 0x80600000 0x0 0x1e8000 0x23 0x80000000 0x0 0x80000 0x23 0x84000000 0x0 0x8000 0x23 0x88300000 0x0 0x84000 0x23 0x88200000 0x0 0x80000 0x23 0xe80000 0x0 0x30000 0x23 0xec0000 0x0 0x8000 0x23 0xed0000 0x0 0x8000 0x23 0xee0000 0x0 0x8000 0x23 0xef0000 0x0 0x8000 0x23 0xf00000 0x0 0x8000 0x23 0xe30000 0x0 0x8000 0x23 0xe70000 0x0 0x8000 0x23 0x88000000 0x0 0x8000>; + #clock-cells = <0x1>; + apple,pmgr = <&{/soc/power-management@280600000}>; + status = "disabled"; + }; +}; + +&{/soc} { + spmi@28a054000 { + compatible = "apple,t6050-spmi", "apple,t8142-spmi"; + reg = <0x2 0x8a054000 0x0 0x4000 0x2 0x8a044000 0x0 0x4000 0x2 0x8a040000 0x0 0x4000>; + interrupts = <0x0 0x0 0x2db 0x4>; + #address-cells = <0x2>; + #size-cells = <0x0>; + status = "disabled"; + }; +}; + +&{/soc} { + spmi@28a114000 { + compatible = "apple,t6050-spmi", "apple,t8142-spmi"; + reg = <0x2 0x8a114000 0x0 0x4000 0x2 0x8a104000 0x0 0x4000 0x2 0x8a100000 0x0 0x4000>; + interrupts = <0x0 0x0 0x2ea 0x4>; + #address-cells = <0x2>; + #size-cells = <0x0>; + status = "disabled"; + }; +}; + +&{/soc} { + i2c@505024000 { + compatible = "apple,t6050-i2c", "apple,t8103-i2c"; + reg = <0x5 0x5024000 0x0 0x4000>; + interrupts = <0x0 0x0 0x564 0x4>; + power-domains = <&{/soc/power-management@280900000/power-controller@2e8}>; + clocks = <&{/soc/clock-controller@280600000} 0x4>; + #address-cells = <0x1>; + #size-cells = <0x0>; + status = "disabled"; + }; +}; + +&{/soc} { + i2c@505010000 { + compatible = "apple,t6050-i2c", "apple,t8103-i2c"; + reg = <0x5 0x5010000 0x0 0x4000>; + interrupts = <0x0 0x0 0x55f 0x4>; + power-domains = <&{/soc/power-management@280900000/power-controller@2c0}>; + clocks = <&{/soc/clock-controller@280600000} 0x4>; + #address-cells = <0x1>; + #size-cells = <0x0>; + status = "disabled"; + }; +}; + +&{/soc} { + i2c@505020000 { + compatible = "apple,t6050-i2c", "apple,t8103-i2c"; + reg = <0x5 0x5020000 0x0 0x4000>; + interrupts = <0x0 0x0 0x563 0x4>; + power-domains = <&{/soc/power-management@280900000/power-controller@2e0}>; + clocks = <&{/soc/clock-controller@280600000} 0x4>; + #address-cells = <0x1>; + #size-cells = <0x0>; + status = "disabled"; + }; +}; + +&{/soc} { + i2c@505028000 { + compatible = "apple,t6050-i2c", "apple,t8103-i2c"; + reg = <0x5 0x5028000 0x0 0x4000>; + interrupts = <0x0 0x0 0x565 0x4>; + power-domains = <&{/soc/power-management@280900000/power-controller@2f0}>; + clocks = <&{/soc/clock-controller@280600000} 0x4>; + #address-cells = <0x1>; + #size-cells = <0x0>; + status = "disabled"; + }; +}; + +&{/soc} { + i2c@505030000 { + compatible = "apple,t6050-i2c", "apple,t8103-i2c"; + reg = <0x5 0x5030000 0x0 0x4000>; + interrupts = <0x0 0x0 0x567 0x4>; + power-domains = <&{/soc/power-management@280900000/power-controller@300}>; + clocks = <&{/soc/clock-controller@280600000} 0x4>; + #address-cells = <0x1>; + #size-cells = <0x0>; + status = "disabled"; + }; +}; + +&{/soc} { + dma-controller@410030000 { + compatible = "apple,t6050-pcie-piodma", "apple,pcie-piodma"; + reg = <0x4 0x10030000 0x0 0x4000 0x4 0x10034000 0x0 0x4000 0x4 0x10038000 0x0 0x4000>; + interrupts = <0x0 0x0 0x5f5 0x4>; + iommus = <&{/soc/iommu@410000000} 0x11>; + status = "disabled"; + }; +}; + +&{/soc} { + dma-controller@411030000 { + compatible = "apple,t6050-pcie-piodma", "apple,pcie-piodma"; + reg = <0x4 0x11030000 0x0 0x4000 0x4 0x11034000 0x0 0x4000 0x4 0x11038000 0x0 0x4000>; + interrupts = <0x0 0x0 0x5fd 0x4>; + iommus = <&{/soc/iommu@411000000} 0x11>; + status = "disabled"; + }; +}; + +&{/soc} { + dma-controller@2a4068000 { + compatible = "apple,t6050-pciec-piodma", "apple,pciec-piodma"; + reg = <0x2 0xa4068000 0x0 0x4000 0x2 0xa406c000 0x0 0x4000 0x2 0xa4070000 0x0 0x4000 0x2 0xa403c000 0x0 0x4000>; + interrupts = <0x0 0x0 0x57f 0x4>; + iommus = <&{/soc/iommu@2a4000000} 0xfe>; + status = "disabled"; + }; +}; + +&{/soc} { + dma-controller@2ac068000 { + compatible = "apple,t6050-pciec-piodma", "apple,pciec-piodma"; + reg = <0x2 0xac068000 0x0 0x4000 0x2 0xac06c000 0x0 0x4000 0x2 0xac070000 0x0 0x4000 0x2 0xac03c000 0x0 0x4000>; + interrupts = <0x0 0x0 0x59f 0x4>; + iommus = <&{/soc/iommu@2ac000000} 0xfe>; + status = "disabled"; + }; +}; + +&{/soc} { + dma-controller@384068000 { + compatible = "apple,t6050-pciec-piodma", "apple,pciec-piodma"; + reg = <0x3 0x84068000 0x0 0x4000 0x3 0x8406c000 0x0 0x4000 0x3 0x84070000 0x0 0x4000 0x3 0x8403c000 0x0 0x4000>; + interrupts = <0x0 0x0 0x5bf 0x4>; + iommus = <&{/soc/iommu@384000000} 0xfe>; + status = "disabled"; + }; +}; + +&{/soc} { + dpin@2a1e50000 { + compatible = "apple,t6050-dpin", "apple,dpin"; + reg = <0x2 0xa1e50000 0x0 0x4000>; + interrupts = <0x0 0x0 0x643 0x4>; + status = "disabled"; + }; +}; + +&{/soc} { + dpin@2a1e58000 { + compatible = "apple,t6050-dpin", "apple,dpin"; + reg = <0x2 0xa1e58000 0x0 0x4000>; + interrupts = <0x0 0x0 0x644 0x4>; + status = "disabled"; + }; +}; + +&{/soc} { + dpin@2a1e68000 { + compatible = "apple,t6050-dpin", "apple,dpin"; + reg = <0x2 0xa1e68000 0x0 0x4000>; + interrupts = <0x0 0x0 0x649 0x4>; + status = "disabled"; + }; +}; + +&{/soc} { + dpin@2a1e70000 { + compatible = "apple,t6050-dpin", "apple,dpin"; + reg = <0x2 0xa1e70000 0x0 0x4000>; + interrupts = <0x0 0x0 0x64a 0x4>; + status = "disabled"; + }; +}; + +&{/soc} { + dpin@2a9e50000 { + compatible = "apple,t6050-dpin", "apple,dpin"; + reg = <0x2 0xa9e50000 0x0 0x4000>; + interrupts = <0x0 0x0 0x663 0x4>; + status = "disabled"; + }; +}; + +&{/soc} { + dpin@2a9e58000 { + compatible = "apple,t6050-dpin", "apple,dpin"; + reg = <0x2 0xa9e58000 0x0 0x4000>; + interrupts = <0x0 0x0 0x664 0x4>; + status = "disabled"; + }; +}; + +&{/soc} { + dpin@2a9e68000 { + compatible = "apple,t6050-dpin", "apple,dpin"; + reg = <0x2 0xa9e68000 0x0 0x4000>; + interrupts = <0x0 0x0 0x669 0x4>; + status = "disabled"; + }; +}; + +&{/soc} { + dpin@2a9e70000 { + compatible = "apple,t6050-dpin", "apple,dpin"; + reg = <0x2 0xa9e70000 0x0 0x4000>; + interrupts = <0x0 0x0 0x66a 0x4>; + status = "disabled"; + }; +}; + +&{/soc} { + dpin@381e50000 { + compatible = "apple,t6050-dpin", "apple,dpin"; + reg = <0x3 0x81e50000 0x0 0x4000>; + interrupts = <0x0 0x0 0x683 0x4>; + status = "disabled"; + }; +}; + +&{/soc} { + dpin@381e58000 { + compatible = "apple,t6050-dpin", "apple,dpin"; + reg = <0x3 0x81e58000 0x0 0x4000>; + interrupts = <0x0 0x0 0x684 0x4>; + status = "disabled"; + }; +}; + +&{/soc} { + dpin@381e68000 { + compatible = "apple,t6050-dpin", "apple,dpin"; + reg = <0x3 0x81e68000 0x0 0x4000>; + interrupts = <0x0 0x0 0x689 0x4>; + status = "disabled"; + }; +}; + +&{/soc} { + dpin@381e70000 { + compatible = "apple,t6050-dpin", "apple,dpin"; + reg = <0x3 0x81e70000 0x0 0x4000>; + interrupts = <0x0 0x0 0x68a 0x4>; + status = "disabled"; + }; +}; + +&{/soc} { + aic-timebase@280580000 { + compatible = "apple,t6050-aic-timebase", "apple,aic-timebase"; + reg = <0x2 0x80580000 0x0 0x1000>; + status = "disabled"; + }; +}; + +&{/soc} { + error-handler@2220000000 { + compatible = "apple,t6050-error-handler", "apple,soc-error-handler"; + reg = <0x22 0x20000000 0x0 0x240000 0x22 0x20270000 0x0 0x1d0000 0x22 0x20600000 0x0 0x40000 0x22 0x20670000 0x0 0x1d0000 0x22 0x22000000 0x0 0x240000 0x22 0x22270000 0x0 0x1d0000 0x22 0x22600000 0x0 0x40000 0x22 0x22670000 0x0 0x1d0000 0x2 0x80000000 0x0 0x80000 0x2 0x80650000 0x0 0x4000 0x2 0x806e0000 0x0 0xc000 0x2 0x80210000 0x0 0x4000 0x2 0x88374000 0x0 0x4000 0x2 0x86000000 0x0 0x1000000 0x2 0x84250000 0x0 0x4000 0x22 0x63000000 0x0 0x38000 0x22 0x64000000 0x0 0x38000 0x22 0x65000000 0x0 0x38000 0x2 0x63000000 0x0 0x44000 0x2 0x64000000 0x0 0x30000 0x2 0x65000000 0x0 0x3c000 0x2 0x66000000 0x0 0x34000 0x2 0x67000000 0x0 0x38000 0x2 0x68000000 0x0 0x38000 0x2 0x69000000 0x0 0x30000 0x22 0x5a100000 0x0 0x24000 0x22 0x5b100000 0x0 0x24000 0x22 0x5c100000 0x0 0x24000 0x22 0x5d100000 0x0 0x24000 0x2 0x4f000000 0x0 0x30000 0x2 0x50000000 0x0 0x30000 0x2 0x51000000 0x0 0x30000 0x2 0x52000000 0x0 0x24000 0x2 0x62000000 0x0 0x1c000 0x22 0x62000000 0x0 0x1c000 0x22 0x5a000000 0x0 0x2c000 0x22 0x5b000000 0x0 0x2c000 0x22 0x5c000000 0x0 0x2c000 0x22 0x5d000000 0x0 0x2c000 0x22 0x5a200000 0x0 0x1c000 0x22 0x5a300000 0x0 0x1c000 0x22 0x5b200000 0x0 0x1c000 0x22 0x5b300000 0x0 0x1c000 0x2 0x6a000000 0x0 0x1c000 0x2 0x6b000000 0x0 0x1c000 0x2 0x6c000000 0x0 0x1c000 0x2 0x6d000000 0x0 0x1c000 0x22 0x66000000 0x0 0x1c000 0x22 0x67000000 0x0 0x1c000 0x22 0x68000000 0x0 0x1c000 0x22 0x69000000 0x0 0x1c000 0x22 0x75000000 0x0 0x10000 0x22 0x75010000 0x0 0x10000 0x22 0x75020000 0x0 0x10000 0x22 0x75030000 0x0 0x10000 0x22 0x75400000 0x0 0x10000 0x22 0x75410000 0x0 0x10000 0x22 0x75420000 0x0 0x10000 0x22 0x75430000 0x0 0x10000 0x22 0x75800000 0x0 0x10000 0x22 0x75810000 0x0 0x10000 0x22 0x75820000 0x0 0x10000 0x22 0x75830000 0x0 0x10000 0x22 0x75c00000 0x0 0x10000 0x22 0x75c10000 0x0 0x10000 0x22 0x75c20000 0x0 0x10000 0x22 0x75c30000 0x0 0x10000 0x22 0x76000000 0x0 0x10000 0x22 0x76010000 0x0 0x10000 0x22 0x76020000 0x0 0x10000 0x22 0x76030000 0x0 0x10000 0x22 0x76400000 0x0 0x10000 0x22 0x76410000 0x0 0x10000 0x22 0x76420000 0x0 0x10000 0x22 0x76430000 0x0 0x10000 0x22 0x76800000 0x0 0x10000 0x22 0x76810000 0x0 0x10000 0x22 0x76820000 0x0 0x10000 0x22 0x76830000 0x0 0x10000 0x22 0x76c00000 0x0 0x10000 0x22 0x76c10000 0x0 0x10000 0x22 0x76c20000 0x0 0x10000 0x22 0x76c30000 0x0 0x10000 0x22 0x77000000 0x0 0x10000 0x22 0x77010000 0x0 0x10000 0x22 0x77020000 0x0 0x10000 0x22 0x77030000 0x0 0x10000 0x22 0x77040000 0x0 0x10000 0x22 0x77050000 0x0 0x10000 0x22 0x77400000 0x0 0x10000 0x22 0x77410000 0x0 0x10000 0x22 0x77420000 0x0 0x10000 0x22 0x77430000 0x0 0x10000 0x22 0x77440000 0x0 0x10000 0x22 0x77450000 0x0 0x10000 0x22 0x77800000 0x0 0x10000 0x22 0x77810000 0x0 0x10000 0x22 0x77820000 0x0 0x10000 0x22 0x77830000 0x0 0x10000 0x22 0x77840000 0x0 0x10000 0x22 0x77850000 0x0 0x10000 0x22 0x77c00000 0x0 0x10000 0x22 0x77c10000 0x0 0x10000 0x22 0x77c20000 0x0 0x10000 0x22 0x77c30000 0x0 0x10000 0x22 0x77c40000 0x0 0x10000 0x22 0x77c50000 0x0 0x10000 0x2 0x73000000 0x0 0x10000 0x2 0x73010000 0x0 0x10000 0x2 0x73020000 0x0 0x10000 0x2 0x73030000 0x0 0x10000 0x2 0x73040000 0x0 0x10000 0x2 0x73050000 0x0 0x10000 0x2 0x73060000 0x0 0x10000 0x2 0x73400000 0x0 0x10000 0x2 0x73410000 0x0 0x10000 0x2 0x73420000 0x0 0x10000 0x2 0x73430000 0x0 0x10000 0x2 0x73440000 0x0 0x10000 0x2 0x73450000 0x0 0x10000 0x2 0x73460000 0x0 0x10000 0x2 0x73800000 0x0 0x10000 0x2 0x73810000 0x0 0x10000 0x2 0x73820000 0x0 0x10000 0x2 0x73830000 0x0 0x10000 0x2 0x73840000 0x0 0x10000 0x2 0x73850000 0x0 0x10000 0x2 0x73860000 0x0 0x10000 0x2 0x73c00000 0x0 0x10000 0x2 0x73c10000 0x0 0x10000 0x2 0x73c20000 0x0 0x10000 0x2 0x73c30000 0x0 0x10000 0x2 0x73c40000 0x0 0x10000 0x2 0x73c50000 0x0 0x10000 0x2 0x73c60000 0x0 0x10000 0x22 0x75100000 0x0 0x10000 0x22 0x75110000 0x0 0x10000 0x22 0x75120000 0x0 0x10000 0x22 0x75130000 0x0 0x10000 0x22 0x75500000 0x0 0x10000 0x22 0x75510000 0x0 0x10000 0x22 0x75520000 0x0 0x10000 0x22 0x75530000 0x0 0x10000 0x22 0x75900000 0x0 0x10000 0x22 0x75910000 0x0 0x10000 0x22 0x75920000 0x0 0x10000 0x22 0x75930000 0x0 0x10000 0x22 0x75d00000 0x0 0x10000 0x22 0x75d10000 0x0 0x10000 0x22 0x75d20000 0x0 0x10000 0x22 0x75d30000 0x0 0x10000 0x22 0x76100000 0x0 0x10000 0x22 0x76110000 0x0 0x10000 0x22 0x76120000 0x0 0x10000 0x22 0x76130000 0x0 0x10000 0x22 0x76500000 0x0 0x10000 0x22 0x76510000 0x0 0x10000 0x22 0x76520000 0x0 0x10000 0x22 0x76530000 0x0 0x10000 0x22 0x76900000 0x0 0x10000 0x22 0x76910000 0x0 0x10000 0x22 0x76920000 0x0 0x10000 0x22 0x76930000 0x0 0x10000 0x22 0x76d00000 0x0 0x10000 0x22 0x76d10000 0x0 0x10000 0x22 0x76d20000 0x0 0x10000 0x22 0x76d30000 0x0 0x10000 0x2 0x58000000 0x0 0x10000 0x2 0x58010000 0x0 0x10000 0x2 0x58020000 0x0 0x10000 0x2 0x58030000 0x0 0x10000 0x2 0x58040000 0x0 0x10000 0x2 0x58400000 0x0 0x10000 0x2 0x58410000 0x0 0x10000 0x2 0x58420000 0x0 0x10000 0x2 0x58430000 0x0 0x10000 0x2 0x58440000 0x0 0x10000 0x2 0x58800000 0x0 0x10000 0x2 0x58810000 0x0 0x10000 0x2 0x58820000 0x0 0x10000 0x2 0x58830000 0x0 0x10000 0x2 0x58840000 0x0 0x10000 0x2 0x58850000 0x0 0x10000 0x5 0xd00000 0x0 0x40000 0x2 0x80078000 0x0 0x4000 0x2 0x806e4000 0x0 0x4000 0x2 0x806e8000 0x0 0x4000 0x2 0x74004000 0x0 0x4000 0x22 0x7b004000 0x0 0x4000 0x2 0x88000400 0x0 0x400 0x23 0x88000400 0x0 0x400 0x2 0x8c801000 0x0 0x400 0x2 0x84398000 0x0 0x4000 0x2 0x8620c020 0x0 0x18 0x2 0x8620c008 0x0 0x18 0x5 0x8000200 0x0 0x24 0x5 0x84000200 0x0 0x24 0x4 0x1b000200 0x0 0x24 0x2 0xa0000200 0x0 0x24 0x2 0xa8000200 0x0 0x24 0x3 0x80000200 0x0 0x24 0x3 0x88000200 0x0 0x24 0x3 0x94000200 0x0 0x24 0x23 0x8000200 0x0 0x24 0x23 0x1000200 0x0 0x24 0x5 0x80000200 0x0 0x24 0x22 0x80000200 0x0 0x24 0x4 0x16000200 0x0 0x24 0x4 0x86000200 0x0 0x40 0x23 0xa000200 0x0 0x24 0x2 0x97000200 0x0 0x24 0x23 0x8c000200 0x0 0x24 0x4 0x8c000200 0x0 0x24 0x5 0x4000200 0x0 0x24>; + interrupts = <0x0 0x0 0xa95 0x4 0x0 0x0 0xa96 0x4 0x0 0x0 0xa97 0x4 0x0 0x0 0xa98 0x4 0x0 0x0 0xa99 0x4 0x0 0x0 0xa9a 0x4 0x0 0x0 0xa9b 0x4 0x0 0x0 0xa9c 0x4 0x0 0x0 0x189 0x4 0x0 0x0 0xc3 0x4 0x0 0x0 0xc4 0x4 0x0 0x0 0xc5 0x4 0x0 0x0 0xc6 0x4 0x0 0x0 0xc7 0x4 0x0 0x0 0xc8 0x4 0x0 0x0 0xc9 0x4 0x0 0x0 0xca 0x4 0x0 0x0 0xcb 0x4 0x0 0x0 0xcc 0x4 0x0 0x0 0xa0c 0x4 0x0 0x0 0xa0d 0x4 0x0 0x0 0xa0e 0x4 0x0 0x0 0xa0f 0x4 0x0 0x0 0x99 0x4 0x0 0x0 0x9a 0x4 0x0 0x0 0x9b 0x4 0x0 0x0 0x9c 0x4 0x0 0x0 0x9d 0x4 0x0 0x0 0x9e 0x4 0x0 0x0 0xa14 0x4 0x0 0x0 0xa15 0x4 0x0 0x0 0xa16 0x4 0x0 0x0 0xa17 0x4 0x0 0x0 0xa1c 0x4 0x0 0x0 0xa1d 0x4 0x0 0x0 0xa1e 0x4 0x0 0x0 0xa1f 0x4 0x0 0x0 0xbd 0x4 0x0 0x0 0xbe 0x4 0x0 0x0 0xbf 0x4 0x0 0x0 0xc0 0x4 0x0 0x0 0xa2c 0x4 0x0 0x0 0xa2d 0x4 0x0 0x0 0xa2e 0x4 0x0 0x0 0xa2f 0x4 0x0 0x0 0xa3e 0x4 0x0 0x0 0xa3f 0x4 0x0 0x0 0xa40 0x4 0x0 0x0 0xa41 0x4 0x0 0x0 0xa42 0x4 0x0 0x0 0xa43 0x4 0x0 0x0 0xa44 0x4 0x0 0x0 0xa45 0x4 0x0 0x0 0xa46 0x4 0x0 0x0 0xa47 0x4 0x0 0x0 0xa48 0x4 0x0 0x0 0xa49 0x4 0x0 0x0 0xa4a 0x4 0x0 0x0 0xa4b 0x4 0x0 0x0 0xa4c 0x4 0x0 0x0 0xa4d 0x4 0x0 0x0 0xa36 0x4 0x0 0x0 0xa37 0x4 0x0 0x0 0xa38 0x4 0x0 0x0 0xa39 0x4 0x0 0x0 0xa3a 0x4 0x0 0x0 0xa3b 0x4 0x0 0x0 0xa3c 0x4 0x0 0x0 0xa3d 0x4 0x0 0x0 0x9f 0x4 0x0 0x0 0xa0 0x4 0x0 0x0 0xa1 0x4 0x0 0x0 0x21e 0x4 0x0 0x0 0x21d 0x4 0x0 0x0 0x222 0x4 0x0 0x0 0x223 0x4 0x0 0x0 0x224 0x4 0x0 0x0 0x225 0x4 0x0 0x0 0x144 0x4 0x0 0x0 0xc1 0x4 0x0 0x0 0xc2 0x4 0x0 0x0 0x30d 0x4 0x0 0x0 0x30e 0x4 0x0 0x0 0x387 0x4 0x0 0x0 0x16f 0x4 0x0 0x0 0x1b9 0x4 0x0 0x0 0x3bc 0x4 0x0 0x0 0x3c2 0x4 0x0 0x0 0x548 0x4 0x0 0x0 0x573 0x4 0x0 0x0 0x593 0x4 0x0 0x0 0x5b3 0x4 0x0 0x0 0x5d3 0x4 0x0 0x0 0x928 0x4 0x0 0x0 0x97c 0x4 0x0 0x0 0x997 0x4 0x0 0x0 0x214 0x4 0x0 0x0 0x54d 0x4 0x0 0x0 0x613 0x4 0x0 0x0 0x620 0x4 0x0 0x0 0x6df 0x4 0x0 0x0 0x316 0x4 0x0 0x0 0x317 0x4 0x0 0x0 0x6af 0x4 0x0 0x0 0x56d 0x4>; + status = "disabled"; + }; +}; + +&{/soc} { + crypto@50500c000 { + compatible = "apple,t6050-aes", "apple,aes"; + reg = <0x5 0x500c000 0x0 0x4000 0x2 0x88340000 0x0 0x8000 0x2 0x88090000 0x0 0x4000>; + interrupts = <0x0 0x0 0x55e 0x4>; + iommus = <&{/soc/iommu@505060000} 0x1>; + power-domains = <&{/soc/power-management@280900000/power-controller@318}>; + status = "disabled"; + }; +}; + +&{/soc} { + phy-coproc@395d08000 { + compatible = "apple,t6050-phy-coproc", "apple,phy-coproc"; + reg = <0x3 0x95d08000 0x0 0x4000 0x3 0x95d00000 0x0 0x4000>; + interrupts = <0x0 0x0 0x92b 0x4 0x0 0x0 0x92a 0x4 0x0 0x0 0x92d 0x4 0x0 0x0 0x92c 0x4>; + status = "disabled"; + }; +}; + +&{/soc} { + mailbox@4d067c000 { + compatible = "apple,t6050-secure-mailbox", "apple,secure-mailbox"; + reg = <0x4 0xd067c000 0x0 0x4000>; + interrupts = <0x0 0x0 0x249 0x4 0x0 0x0 0x246 0x4>; + iommus = <&{/soc/iommu@290fc0000} 0x1>; + status = "disabled"; + }; +}; + +&{/soc} { + aop@291600000 { + compatible = "apple,t6050-aop2", "apple,aop2"; + reg = <0x2 0x91600000 0x0 0x88000 0x2 0x91650000 0x0 0x4000 0x2 0x9162c000 0x0 0x3c008>; + interrupts = <0x0 0x0 0x24b 0x4 0x0 0x0 0x24a 0x4 0x0 0x0 0x24d 0x4 0x0 0x0 0x24c 0x4>; + iommus = <&{/soc/iommu@290fc0000} 0x10>; + status = "disabled"; + }; +}; + +&{/soc} { + event-log@280040000 { + compatible = "apple,t6050-event-log", "apple,soc-event-log"; + reg = <0x2 0x80040000 0x0 0x4000 0x2 0x8004e000 0x0 0x4000 0x23 0x8004c800 0x0 0x4000 0x23 0x80040000 0x0 0x4000 0x2 0x80200000 0x0 0x4000 0x2 0x80000000 0x0 0x14000 0x2 0x8003c000 0x0 0x4000 0x2 0x80020000 0x0 0x10000 0x2 0x806e0000 0x0 0x4000 0x2 0x806d0000 0x0 0x4000 0x2 0x80668000 0x0 0x4000 0x2 0x80680000 0x0 0x1c000 0x2 0x807d0000 0x0 0x4000 0x2 0x806f0000 0x0 0x4000 0x2 0x80928000 0x0 0x4000 0x2 0x80938000 0x0 0x8000 0x2 0x86700000 0x0 0x114000 0x2 0x84380000 0x0 0x20000 0x2 0x85040000 0x0 0x1c000 0x2 0x84360000 0x0 0x4000 0x2 0x84370000 0x0 0x4000 0x23 0x85040000 0x0 0x1c000 0x23 0x84360000 0x0 0x4000 0x23 0x84370000 0x0 0x4000 0x5 0x9878000 0x0 0x4000 0x5 0x9868000 0x0 0x8000 0x23 0x80300000 0x0 0x8000 0x23 0x80308000 0x0 0x8000 0x2 0x80300000 0x0 0x8000 0x23 0x80034000 0x0 0x4000 0x23 0x8003c000 0x0 0x4000 0x23 0x80020000 0x0 0x10000 0x23 0x80038000 0x0 0x4000 0x23 0x80640000 0x0 0x10000 0x23 0x806d0000 0x0 0x4000 0x23 0x80668000 0x0 0x4000 0x23 0x80680000 0x0 0x1c000 0x23 0x806f0000 0x0 0x4000 0x2 0x84000000 0x0 0x4000 0x2 0x84004600 0x0 0x4000 0x2 0x84004000 0x0 0x4000 0x2 0x84004780 0x0 0x4000 0x2 0x84007400 0x0 0x4000 0x2 0x84004e00 0x0 0x4000 0x2 0x84004800 0x0 0x4000 0x2 0x84004f80 0x0 0x4000 0x2 0x84007600 0x0 0x4000 0x2 0x84005600 0x0 0x4000 0x2 0x84005000 0x0 0x4000 0x2 0x84005780 0x0 0x4000 0x2 0x84007800 0x0 0x4000 0x2 0x84005e00 0x0 0x4000 0x2 0x84005800 0x0 0x4000 0x2 0x84005f80 0x0 0x4000 0x2 0x84007a00 0x0 0x4000 0x2 0x84003e00 0x0 0x4000 0x2 0x84003800 0x0 0x4000 0x2 0x84003f80 0x0 0x4000 0x2 0x84007200 0x0 0x4000 0x2 0x84006e00 0x0 0x4000 0x2 0x84006800 0x0 0x4000 0x2 0x84006f80 0x0 0x4000 0x2 0x84007e00 0x0 0x4000 0x2 0x84006600 0x0 0x4000 0x2 0x84006000 0x0 0x4000 0x2 0x84006780 0x0 0x4000 0x2 0x84007c00 0x0 0x4000 0x2 0x84002e00 0x0 0x4000 0x2 0x84002800 0x0 0x4000 0x2 0x84002f80 0x0 0x4000 0x2 0x84007000 0x0 0x4000 0x2 0x84003600 0x0 0x4000 0x2 0x84003000 0x0 0x4000 0x2 0x84003780 0x0 0x4000 0x2 0x84000400 0x0 0x4000 0x2 0x84000400 0x0 0x4000 0x2 0x84000400 0x0 0x4000 0x2 0x84000400 0x0 0x4000 0x2 0x84000400 0x0 0x4000 0x2 0x84000400 0x0 0x4000 0x2 0x84000400 0x0 0x4000 0x2 0x84000400 0x0 0x4000 0x23 0x84000000 0x0 0x4000 0x23 0x84004e00 0x0 0x4000 0x23 0x84004800 0x0 0x4000 0x23 0x84004f80 0x0 0x4000 0x23 0x84007000 0x0 0x4000 0x23 0x84002e00 0x0 0x4000 0x23 0x84002800 0x0 0x4000 0x23 0x84002f80 0x0 0x4000 0x23 0x84006800 0x0 0x4000 0x23 0x84003600 0x0 0x4000 0x23 0x84003000 0x0 0x4000 0x23 0x84003780 0x0 0x4000 0x23 0x84006a00 0x0 0x4000 0x23 0x84005600 0x0 0x4000 0x23 0x84005000 0x0 0x4000 0x23 0x84005780 0x0 0x4000 0x23 0x84007200 0x0 0x4000 0x23 0x84006600 0x0 0x4000 0x23 0x84006000 0x0 0x4000 0x23 0x84006780 0x0 0x4000 0x23 0x84007400 0x0 0x4000 0x23 0x84005e00 0x0 0x4000 0x23 0x84005800 0x0 0x4000 0x23 0x84005f80 0x0 0x4000 0x23 0x84003e00 0x0 0x4000 0x23 0x84003800 0x0 0x4000 0x23 0x84003f80 0x0 0x4000 0x23 0x84006c00 0x0 0x4000 0x23 0x84004600 0x0 0x4000 0x23 0x84004000 0x0 0x4000 0x23 0x84004780 0x0 0x4000 0x23 0x84006e00 0x0 0x4000 0x23 0x84000400 0x0 0x4000 0x23 0x84000400 0x0 0x4000 0x23 0x84000400 0x0 0x4000 0x23 0x84000400 0x0 0x4000 0x23 0x84000400 0x0 0x4000 0x23 0x84000400 0x0 0x4000 0x23 0x84000400 0x0 0x4000 0x23 0x84000400 0x0 0x4000 0x2 0x88f00000 0x0 0x18000 0x2 0x88200000 0x0 0x4000 0x2 0x88204000 0x0 0x4000 0x2 0x8827c000 0x0 0x4000 0x2 0x8832c000 0x0 0x4000 0x2 0x88330000 0x0 0x10000 0x2 0x88360000 0x0 0x4000 0x2 0x88340000 0x0 0x8000 0x2 0x8836c000 0x0 0x4000 0x2 0x88000000 0x0 0x24000 0x23 0x88200000 0x0 0x4000 0x23 0x88204000 0x0 0x4000 0x23 0x8827c000 0x0 0x4000 0x23 0x8832c000 0x0 0x4000 0x23 0x88330000 0x0 0x10000 0x23 0x88360000 0x0 0x4000 0x23 0x88340000 0x0 0x8000 0x23 0x8836c000 0x0 0x4000 0x23 0x88000000 0x0 0x8000>; + interrupts = <0x0 0x0 0x1e 0x4 0x0 0x0 0x1f 0x4 0x0 0x0 0x22 0x4 0x0 0x0 0x23 0x4 0x0 0x0 0x24 0x4 0x0 0x0 0x37 0x4 0x0 0x0 0x38 0x4 0x0 0x0 0x13f 0x4 0x0 0x0 0x140 0x4 0x0 0x0 0x141 0x4 0x0 0x0 0x147 0x4 0x0 0x0 0x148 0x4 0x0 0x0 0x170 0x4 0x0 0x0 0x17e 0x4 0x0 0x0 0x1db 0x4 0x0 0x0 0x1e0 0x4 0x0 0x0 0x1e1 0x4 0x0 0x0 0x1e4 0x4 0x0 0x0 0x1e5 0x4 0x0 0x0 0x30f 0x4 0x0 0x0 0x310 0x4 0x0 0x0 0x3af 0x4 0x0 0x0 0x3b7 0x4>; + status = "disabled"; + }; +}; + +&{/soc} { + dma-controller@505e00000 { + compatible = "apple,t6050-sio", "apple,sio"; + reg = <0x5 0x5e00000 0x0 0x88000 0x5 0x5850000 0x0 0x4000>; + interrupts = <0x0 0x0 0x570 0x4 0x0 0x0 0x56f 0x4 0x0 0x0 0x572 0x4 0x0 0x0 0x571 0x4>; + iommus = <&{/soc/iommu@505060000} 0x0>; + power-domains = <&{/soc/power-management@280900000/power-controller@2a0}>; + clocks = <&{/soc/clock-controller@280600000} 0x167 &{/soc/clock-controller@280600000} 0x166>; + #dma-cells = <0x1>; + status = "disabled"; + }; +}; + +&{/soc} { + iommu@505060000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x5 0x5060000 0x0 0x20000>; + interrupts = <0x0 0x0 0x56b 0x4>; + power-domains = <&{/soc/power-management@280900000/power-controller@290}>; + #iommu-cells = <0x1>; + status = "disabled"; + }; +}; + +&{/soc} { + pmp@284e00000 { + compatible = "apple,t6050-pmp-v2", "apple,t6000-pmp-v2"; + reg = <0x2 0x84500000 0x0 0x100000 0x2 0x84e00000 0x0 0x4000>; + reg-names = "pmp", "asc"; + mboxes = <&{/soc/mailbox@284e08000}>; + mbox-names = "mbox"; + iommus = <&{/soc/iommu@2841a0000} 0x0>; + power-domains = <&{/soc/power-management@280600000/power-controller@128} &{/soc/power-management@280600000/power-controller@130}>; + status = "disabled"; + }; +}; + +&{/soc} { + mailbox@284e08000 { + compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x2 0x84e08000 0x0 0x4000>; + interrupts = <0x0 0x0 0x18c 0x4 0x0 0x0 0x18d 0x4 0x0 0x0 0x18e 0x4 0x0 0x0 0x18f 0x4>; + interrupt-names = "send-empty", "send-not-empty", "recv-empty", "recv-not-empty"; + #mbox-cells = <0x0>; + power-domains = <&{/soc/power-management@280600000/power-controller@128}>; + status = "disabled"; + }; +}; + +&{/soc} { + pmp-report@284240000 { + compatible = "apple,t6050-pmp-v2-report"; + reg = <0x2 0x84240000 0x0 0x20000>; + power-domains = <&{/soc/power-management@280600000/power-controller@130}>; + #address-cells = <0x1>; + #size-cells = <0x0>; + status = "disabled"; + }; +}; + +&{/soc/pmp-report@284240000} { + report@c { + compatible = "apple,t6050-pmp-v2-report-entry", "apple,t6000-pmp-v2-report-entry"; + reg = <0xc>; + label = "pmp-macc0"; + #power-domain-cells = <0x0>; + apple,always-on; + }; +}; + +&{/soc/pmp-report@284240000} { + report@d { + compatible = "apple,t6050-pmp-v2-report-entry", "apple,t6000-pmp-v2-report-entry"; + reg = <0xd>; + label = "pmp-macc1"; + #power-domain-cells = <0x0>; + apple,always-on; + }; +}; + +&{/soc/pmp-report@284240000} { + report@e { + compatible = "apple,t6050-pmp-v2-report-entry", "apple,t6000-pmp-v2-report-entry"; + reg = <0xe>; + label = "pmp-pacc"; + #power-domain-cells = <0x0>; + apple,always-on; + }; +}; + +&{/soc/pmp-report@284240000} { + report@f { + compatible = "apple,t6050-pmp-v2-report-entry", "apple,t6000-pmp-v2-report-entry"; + reg = <0xf>; + label = "pmp-gfx"; + #power-domain-cells = <0x0>; + power-domains = <&{/soc@2300000000/power-management@2300e80000/power-controller@110}>; + }; +}; + +&{/soc/pmp-report@284240000} { + report@12 { + compatible = "apple,t6050-pmp-v2-report-entry", "apple,t6000-pmp-v2-report-entry"; + reg = <0x12>; + label = "pmp-dispint"; + #power-domain-cells = <0x0>; + apple,always-on; + }; +}; + +&{/soc/pmp-report@284240000} { + report@24 { + compatible = "apple,t6050-pmp-v2-report-entry", "apple,t6000-pmp-v2-report-entry"; + reg = <0x24>; + label = "pmp-ans"; + #power-domain-cells = <0x0>; + apple,always-on; + }; +}; + +&{/soc} { + iommu@2841a0000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x2 0x841a0000 0x0 0xc000 0x2 0x841b0000 0x0 0x4000>; + reg-names = "dart", "dapf"; + interrupts = <0x0 0x0 0x173 0x4>; + #iommu-cells = <0x1>; + apple,dma-range = <0x100 0x0 0x10 0x0>; + power-domains = <&{/soc/power-management@280600000/power-controller@128}>; + status = "disabled"; + }; +}; + +&{/soc} { + aon-ptd@28cdc0000 { + compatible = "apple,t6050-aon-ptd", "apple,aon-ptd"; + reg = <0x2 0x8cdc0000 0x0 0x4000 0x2 0x8cdd0000 0x0 0x4000 0x2 0x8cdd8000 0x0 0x4000 0x2 0x8cde0000 0x0 0x4000>; + interrupts = <0x0 0x0 0x388 0x4 0x0 0x0 0x389 0x4 0x0 0x0 0x38a 0x4 0x0 0x0 0x38b 0x4 0x0 0x0 0x38c 0x4 0x0 0x0 0x38d 0x4 0x0 0x0 0x38e 0x4 0x0 0x0 0x38f 0x4 0x0 0x0 0x390 0x4 0x0 0x0 0x391 0x4 0x0 0x0 0x392 0x4 0x0 0x0 0x393 0x4 0x0 0x0 0x394 0x4 0x0 0x0 0x395 0x4 0x0 0x0 0x396 0x4 0x0 0x0 0x397 0x4 0x0 0x0 0x398 0x4 0x0 0x0 0x399 0x4 0x0 0x0 0x39a 0x4 0x0 0x0 0x39b 0x4 0x0 0x0 0x39c 0x4 0x0 0x0 0x39d 0x4 0x0 0x0 0x39e 0x4 0x0 0x0 0x39f 0x4 0x0 0x0 0x3a0 0x4 0x0 0x0 0x3a1 0x4 0x0 0x0 0x3a2 0x4 0x0 0x0 0x3a3 0x4 0x0 0x0 0x3a4 0x4 0x0 0x0 0x3a5 0x4 0x0 0x0 0x3a6 0x4 0x0 0x0 0x3a7 0x4>; + interrupt-controller; + #interrupt-cells = <0x1>; + #address-cells = <0x0>; + status = "disabled"; + }; +}; + +&{/soc} { + rsm@288825000 { + compatible = "apple,t6050-rsm", "apple,rsm"; + reg = <0x2 0x88825000 0x0 0x4000 0x2 0x888c0000 0x0 0x4>; + interrupts = <0x0 0x0 0x1ef 0x4>; + iommus = <&{/soc/iommu@2889a0000} 0x0>; + power-domains = <&{/soc/power-management@288300000/power-controller@58}>; + status = "disabled"; + }; +}; + +&{/soc} { + iommu@2889a0000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x2 0x889a0000 0x0 0xc000>; + interrupts = <0x0 0x0 0x1f2 0x4>; + #iommu-cells = <0x1>; + status = "disabled"; + }; +}; + +&{/soc} { + serial@505200000 { + compatible = "apple,t6050-uart", "apple,s5l-uart"; + reg = <0x5 0x5200000 0x0 0x4000>; + interrupts = <0x0 0x0 0x54f 0x4>; + power-domains = <&{/soc/power-management@280900000/power-controller@360}>; + clocks = <&{/soc/clock-controller@280600000} 0x1c9 &{/soc/clock-controller@280600000} 0x4>; + clock-names = "uart", "clk_uart_baud0"; + status = "disabled"; + }; +}; + +&{/soc} { + spmi@28a094000 { + compatible = "apple,t6050-spmi", "apple,t8142-spmi"; + reg = <0x2 0x8a094000 0x0 0x4000 0x2 0x8a084000 0x0 0x4000 0x2 0x8a080000 0x0 0x4000>; + interrupts = <0x0 0x0 0x2e0 0x4>; + #address-cells = <0x2>; + #size-cells = <0x0>; + status = "disabled"; + }; +}; + +&{/soc} { + spmi@28a0d4000 { + compatible = "apple,t6050-spmi", "apple,t8142-spmi"; + reg = <0x2 0x8a0d4000 0x0 0x4000 0x2 0x8a0c4000 0x0 0x4000 0x2 0x8a0c0000 0x0 0x4000>; + interrupts = <0x0 0x0 0x2e5 0x4>; + #address-cells = <0x2>; + #size-cells = <0x0>; + status = "disabled"; + }; +}; + +&{/soc} { + spmi@290914000 { + compatible = "apple,t6050-spmi", "apple,t8142-spmi"; + reg = <0x2 0x90914000 0x0 0x4000 0x2 0x90904000 0x0 0x4000 0x2 0x90900000 0x0 0x4000>; + interrupts = <0x0 0x0 0x26c 0x4>; + #address-cells = <0x2>; + #size-cells = <0x0>; + status = "disabled"; + }; +}; + +&{/soc} { + scaler@2285000000 { + compatible = "apple,t6050-scaler", "apple,scaler-v23"; + reg = <0x22 0x85000000 0x0 0x14000 0x22 0x85210000 0x0 0x4000 0x22 0x85204000 0x0 0x4000 0x22 0x84000000 0x0 0x8000 0x22 0x852c0000 0x0 0x40000 0x22 0x85340000 0x0 0x14c000 0x22 0x852a0000 0x0 0x4000 0x22 0x85208000 0x0 0x4000 0x22 0x85210000 0x0 0x4000 0x22 0x85220000 0x0 0x4000>; + interrupts = <0x0 0x0 0x9a4 0x4 0x0 0x0 0x9a6 0x4 0x0 0x0 0x9a7 0x4 0x0 0x0 0x9a8 0x4 0x0 0x0 0x9ac 0x4 0x0 0x0 0x9ad 0x4 0x0 0x0 0x9ae 0x4 0x0 0x0 0x9af 0x4 0x0 0x0 0x9b0 0x4 0x0 0x0 0x9b1 0x4 0x0 0x0 0x9b2 0x4 0x0 0x0 0x9b3 0x4 0x0 0x0 0x9b4 0x4 0x0 0x0 0x9b5 0x4 0x0 0x0 0x9b6 0x4 0x0 0x0 0x9b7 0x4 0x0 0x0 0x9b8 0x4 0x0 0x0 0x9b9 0x4 0x0 0x0 0x9ba 0x4 0x0 0x0 0x9bb 0x4>; + iommus = <&{/soc/iommu@2285260000} 0x0 &{/soc/iommu@2285260000} 0x1>; + power-domains = <&{/soc/power-management@2380600000/power-controller@1c8} &{/soc/power-management@2380600000/power-controller@200}>; + clocks = <&{/soc/clock-controller@280600000} 0x1f0>; + resets = <&{/soc/power-management@2380600000/power-controller@1c8}>; + status = "disabled"; + }; +}; + +&{/soc} { + iommu@2285260000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x22 0x85260000 0x0 0x20000 0x2 0x74000000 0x0 0x4000>; + interrupts = <0x0 0x0 0x9a5 0x4>; + power-domains = <&{/soc/power-management@2380600000/power-controller@1c8}>; + #iommu-cells = <0x1>; + status = "disabled"; + }; +}; + +&{/soc} { + scaler@23a1000000 { + compatible = "apple,t6050-scaler", "apple,scaler-v23"; + reg = <0x23 0xa1000000 0x0 0x14000 0x23 0xa1210000 0x0 0x4000 0x23 0xa1204000 0x0 0x4000 0x23 0xa0000000 0x0 0x8000 0x23 0xa12c0000 0x0 0x40000 0x23 0xa1340000 0x0 0x14c000 0x23 0xa12a0000 0x0 0x4000 0x23 0xa1208000 0x0 0x4000 0x23 0xa1210000 0x0 0x4000 0x23 0xa1220000 0x0 0x4000>; + interrupts = <0x0 0x0 0x9bc 0x4 0x0 0x0 0x9be 0x4 0x0 0x0 0x9bf 0x4 0x0 0x0 0x9c0 0x4 0x0 0x0 0x9c4 0x4 0x0 0x0 0x9c5 0x4 0x0 0x0 0x9c6 0x4 0x0 0x0 0x9c7 0x4 0x0 0x0 0x9c8 0x4 0x0 0x0 0x9c9 0x4 0x0 0x0 0x9ca 0x4 0x0 0x0 0x9cb 0x4 0x0 0x0 0x9cc 0x4 0x0 0x0 0x9cd 0x4 0x0 0x0 0x9ce 0x4 0x0 0x0 0x9cf 0x4 0x0 0x0 0x9d0 0x4 0x0 0x0 0x9d1 0x4 0x0 0x0 0x9d2 0x4 0x0 0x0 0x9d3 0x4>; + iommus = <&{/soc/iommu@23a1260000} 0x0 &{/soc/iommu@23a1260000} 0x1>; + power-domains = <&{/soc/power-management@2380600000/power-controller@1f8} &{/soc/power-management@2380600000/power-controller@208}>; + clocks = <&{/soc/clock-controller@280600000} 0x1f1>; + resets = <&{/soc/power-management@2380600000/power-controller@1f8}>; + status = "disabled"; + }; +}; + +&{/soc} { + iommu@23a1260000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x23 0xa1260000 0x0 0x20000 0x2 0x74000000 0x0 0x4000>; + interrupts = <0x0 0x0 0x9bd 0x4>; + power-domains = <&{/soc/power-management@2380600000/power-controller@1f8}>; + #iommu-cells = <0x1>; + status = "disabled"; + }; +}; + +&{/soc} { + video-encoder@2283100000 { + compatible = "apple,t6050-ave", "apple,ave"; + reg = <0x22 0x83100000 0x0 0x45c000 0x22 0x83800000 0x0 0x800000 0x22 0x83050000 0x0 0x4000 0x23 0x806001c0 0x0 0x7e64 0x22 0x82000000 0x0 0x8000>; + interrupts = <0x0 0x0 0x983 0x4 0x0 0x0 0xae6 0x4 0x0 0x0 0xae5 0x4 0x0 0x0 0xae8 0x4 0x0 0x0 0xae7 0x4>; + iommus = <&{/soc/iommu@22830a0000} 0x0 &{/soc/iommu@2283080000} 0x0>; + power-domains = <&{/soc/power-management@2380600000/power-controller@1c0} &{/soc/power-management@2380600000/power-controller@8008} &{/soc/power-management@2380600000/power-controller@8010} &{/soc/power-management@2380600000/power-controller@8018} &{/soc/power-management@2380600000/power-controller@8020} &{/soc/power-management@2380600000/power-controller@8000}>; + clocks = <&{/soc/clock-controller@280600000} 0x1f7>; + status = "disabled"; + }; +}; + +&{/soc} { + iommu@22830a0000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x22 0x830a0000 0x0 0xc000 0x22 0x830b0000 0x0 0x4000>; + interrupts = <0x0 0x0 0x980 0x4>; + power-domains = <&{/soc/power-management@2380600000/power-controller@1c0}>; + #iommu-cells = <0x1>; + status = "disabled"; + }; +}; + +&{/soc} { + iommu@2283080000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x22 0x83080000 0x0 0xc000 0x22 0x83094000 0x0 0x4000>; + interrupts = <0x0 0x0 0x980 0x4>; + power-domains = <&{/soc/power-management@2380600000/power-controller@1c0}>; + #iommu-cells = <0x1>; + status = "disabled"; + }; +}; + +&{/soc} { + video-encoder@23a3100000 { + compatible = "apple,t6050-ave", "apple,ave"; + reg = <0x23 0xa3100000 0x0 0x45c000 0x23 0xa3800000 0x0 0x800000 0x23 0xa3050000 0x0 0x4000 0x23 0x806001f0 0x0 0x7e5c 0x23 0xa2000000 0x0 0x8000>; + interrupts = <0x0 0x0 0x98b 0x4 0x0 0x0 0xaea 0x4 0x0 0x0 0xae9 0x4 0x0 0x0 0xaec 0x4 0x0 0x0 0xaeb 0x4>; + iommus = <&{/soc/iommu@23a30a0000} 0x0 &{/soc/iommu@23a3080000} 0x0>; + power-domains = <&{/soc/power-management@2380600000/power-controller@1f0} &{/soc/power-management@2380600000/power-controller@8030} &{/soc/power-management@2380600000/power-controller@8038} &{/soc/power-management@2380600000/power-controller@8040} &{/soc/power-management@2380600000/power-controller@8048} &{/soc/power-management@2380600000/power-controller@8028}>; + clocks = <&{/soc/clock-controller@280600000} 0x1f8>; + status = "disabled"; + }; +}; + +&{/soc} { + iommu@23a30a0000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x23 0xa30a0000 0x0 0xc000 0x23 0xa30b0000 0x0 0x4000>; + interrupts = <0x0 0x0 0x988 0x4>; + power-domains = <&{/soc/power-management@2380600000/power-controller@1f0}>; + #iommu-cells = <0x1>; + status = "disabled"; + }; +}; + +&{/soc} { + iommu@23a3080000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x23 0xa3080000 0x0 0xc000 0x23 0xa3094000 0x0 0x4000>; + interrupts = <0x0 0x0 0x988 0x4>; + power-domains = <&{/soc/power-management@2380600000/power-controller@1f0}>; + #iommu-cells = <0x1>; + status = "disabled"; + }; +}; + +&{/soc} { + prores@48d000000 { + compatible = "apple,t6050-prores", "apple,prores"; + reg = <0x4 0x8d000000 0x0 0x4000 0x4 0x8c000000 0x0 0x1000000 0x4 0x8d0c0000 0x0 0x4000 0x4 0x8d070000 0x0 0x4000 0x4 0x8d071000 0x0 0x4000>; + interrupts = <0x0 0x0 0x6b1 0x4 0x0 0x0 0x6d6 0x4>; + iommus = <&{/soc/iommu@48d020000} 0x1>; + power-domains = <&{/soc/power-management@280900000/power-controller@190}>; + status = "disabled"; + }; +}; + +&{/soc} { + iommu@48d020000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x4 0x8d020000 0x0 0xc000>; + interrupts = <0x0 0x0 0x6b0 0x4>; + power-domains = <&{/soc/power-management@280900000/power-controller@190}>; + #iommu-cells = <0x1>; + status = "disabled"; + }; +}; + +&{/soc} { + iommu@230b020000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x23 0xb020000 0x0 0xc000 0x2 0x74000000 0x0 0x4000>; + interrupts = <0x0 0x0 0x6e0 0x4>; + power-domains = <&{/soc/power-management@2380600000/power-controller@1e0}>; + #iommu-cells = <0x1>; + status = "disabled"; + }; +}; + +&{/soc} { + jpeg@2281000000 { + compatible = "apple,t6050-jpeg", "apple,jpeg"; + reg = <0x22 0x81000000 0x0 0x4000>; + interrupts = <0x0 0x0 0x54b 0x4>; + iommus = <&{/soc/iommu@2281020000} 0x0>; + power-domains = <&{/soc/power-management@2380600000/power-controller@1d0}>; + clocks = <&{/soc/clock-controller@280600000} 0x1e6 &{/soc/clock-controller@280600000} 0x1e7>; + status = "disabled"; + }; +}; + +&{/soc} { + jpeg@2281060000 { + compatible = "apple,t6050-jpeg", "apple,jpeg"; + reg = <0x22 0x81060000 0x0 0x4000>; + interrupts = <0x0 0x0 0x54e 0x4>; + iommus = <&{/soc/iommu@2281020000} 0x1>; + power-domains = <&{/soc/power-management@2380600000/power-controller@1d0}>; + clocks = <&{/soc/clock-controller@280600000} 0x1e6 &{/soc/clock-controller@280600000} 0x1e7>; + status = "disabled"; + }; +}; + +&{/soc} { + iommu@2281020000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x22 0x81020000 0x0 0xc000 0x2 0x74000000 0x0 0x4000>; + interrupts = <0x0 0x0 0x54c 0x4>; + power-domains = <&{/soc/power-management@2380600000/power-controller@1d0}>; + #iommu-cells = <0x1>; + status = "disabled"; + }; +}; + +&{/soc} { + neural-processor@508000000 { + compatible = "apple,t6050-ane"; + reg = <0x5 0x8000000 0x0 0x2000000 0x2 0x80900000 0x0 0x18000 0x2 0x80920000 0x0 0x4000 0x2 0x84240000 0x0 0x40000 0x2 0x12000000 0x0 0xff4000 0x5 0x84000000 0x0 0x2000000 0x2 0x88374000 0x0 0x4000>; + reg-names = "engine", "pmgr", "aux-0", "aux-1", "aux-2", "aux-3", "aux-4"; + interrupts = <0x0 0x0 0x3ba 0x4 0x0 0x0 0x3c7 0x4>; + iommus = <&{/soc/iommu@509800000} 0x0 &{/soc/iommu@509820000} 0x0 &{/soc/iommu@509840000} 0x0>; + power-domains = <&{/soc/power-management@280900000/power-controller@3c8}>; + clocks = <&{/soc/clock-controller@280600000} 0x14f &{/soc/clock-controller@280600000} 0x14e &{/soc/clock-controller@280600000} 0x17d>; + status = "disabled"; + }; +}; + +&{/soc} { + video-decoder@2308000000 { + compatible = "apple,t6050-avd", "apple,avd"; + reg = <0x23 0x8000000 0x0 0x1404000 0x23 0x88090000 0x0 0x4000>; + interrupts = <0x0 0x0 0x971 0x4 0x0 0x0 0x972 0x4>; + iommus = <&{/soc/iommu@2309020000} 0x0 &{/soc/iommu@2309020000} 0x1 &{/soc/iommu@2309020000} 0x2>; + power-domains = <&{/soc/power-management@2380600000/power-controller@1d8}>; + clocks = <&{/soc/clock-controller@280600000} 0x1e8>; + status = "disabled"; + }; +}; + +&{/soc} { + dma-controller@293300000 { + compatible = "apple,t6050-admac", "apple,t8140-admac"; + reg = <0x2 0x93300000 0x0 0x34000>; + dma-channels = <0x9>; + interrupts-extended = <&{/soc/interrupt-controller@280400000} 0x0 0x0 0x27f 0x4 0 0 0>; + iommus = <&{/soc/iommu@290fc0000} 0xa>; + #dma-cells = <0x1>; + status = "disabled"; + }; +}; + +&{/soc} { + dma-control@293c80000 { + compatible = "apple,t6050-admac-control", "apple,admac-control"; + reg = <0x2 0x93c80000 0x0 0x4000 0x2 0x93c84000 0x0 0x4000>; + interrupts = <0x0 0x0 0x28c 0x4>; + status = "disabled"; + }; +}; + +&{/soc} { + message-controller@29b000000 { + compatible = "apple,t6050-msg", "apple,msg"; + reg = <0x2 0x9b000000 0x0 0xb4000 0x2 0x99000000 0x0 0x4000>; + interrupts = <0x0 0x0 0x319 0x4 0x0 0x0 0x31a 0x4 0x0 0x0 0x31b 0x4 0x0 0x0 0x31c 0x4 0x0 0x0 0x31d 0x4 0x0 0x0 0x31e 0x4 0x0 0x0 0x31f 0x4 0x0 0x0 0x320 0x4 0x0 0x0 0x321 0x4 0x0 0x0 0x322 0x4 0x0 0x0 0x323 0x4 0x0 0x0 0x324 0x4 0x0 0x0 0x325 0x4 0x0 0x0 0x326 0x4 0x0 0x0 0x327 0x4 0x0 0x0 0x328 0x4 0x0 0x0 0x329 0x4 0x0 0x0 0x32a 0x4 0x0 0x0 0x32b 0x4 0x0 0x0 0x32c 0x4 0x0 0x0 0x32d 0x4 0x0 0x0 0x32e 0x4 0x0 0x0 0x32f 0x4 0x0 0x0 0x330 0x4 0x0 0x0 0x331 0x4 0x0 0x0 0x332 0x4 0x0 0x0 0x333 0x4 0x0 0x0 0x334 0x4 0x0 0x0 0x335 0x4 0x0 0x0 0x336 0x4 0x0 0x0 0x337 0x4 0x0 0x0 0x338 0x4 0x0 0x0 0x339 0x4 0x0 0x0 0x33a 0x4 0x0 0x0 0x33b 0x4 0x0 0x0 0x33c 0x4 0x0 0x0 0x33d 0x4 0x0 0x0 0x33e 0x4 0x0 0x0 0x33f 0x4 0x0 0x0 0x340 0x4 0x0 0x0 0x318 0x4>; + power-domains = <&{/soc/power-management@280600000/power-controller@258}>; + status = "disabled"; + }; +}; + +&{/soc} { + dma-controller@412030000 { + compatible = "apple,t6050-pcie-piodma", "apple,pcie-piodma"; + reg = <0x4 0x12030000 0x0 0x4000 0x4 0x12034000 0x0 0x4000 0x4 0x12038000 0x0 0x4000>; + interrupts = <0x0 0x0 0x605 0x4>; + iommus = <&{/soc/iommu@412000000} 0x11>; + status = "disabled"; + }; +}; + +&{/soc} { + dma-controller@413030000 { + compatible = "apple,t6050-pcie-piodma", "apple,pcie-piodma"; + reg = <0x4 0x13030000 0x0 0x4000 0x4 0x13034000 0x0 0x4000 0x4 0x13038000 0x0 0x4000>; + interrupts = <0x0 0x0 0x60d 0x4>; + iommus = <&{/soc/iommu@413000000} 0x11>; + status = "disabled"; + }; +}; + +&{/soc} { + spi@50510c000 { + compatible = "apple,t6050-spi", "apple,t8103-spi"; + reg = <0x5 0x510c000 0x0 0x4000>; + interrupts = <0x0 0x0 0x55a 0x4>; + power-domains = <&{/soc/power-management@280900000/power-controller@338}>; + clocks = <&{/soc/clock-controller@280600000} 0x1c4>; + #address-cells = <0x1>; + #size-cells = <0x0>; + status = "disabled"; + }; +}; + +&{/soc} { + dma-controller@38c068000 { + compatible = "apple,t6050-pciec-piodma", "apple,pciec-piodma"; + reg = <0x3 0x8c068000 0x0 0x4000 0x3 0x8c06c000 0x0 0x4000 0x3 0x8c070000 0x0 0x4000 0x3 0x8c03c000 0x0 0x4000>; + interrupts = <0x0 0x0 0x5df 0x4>; + iommus = <&{/soc/iommu@38c000000} 0xfe>; + status = "disabled"; + }; +}; + +&{/soc} { + dpin@389e50000 { + compatible = "apple,t6050-dpin", "apple,dpin"; + reg = <0x3 0x89e50000 0x0 0x4000>; + interrupts = <0x0 0x0 0x6a3 0x4>; + status = "disabled"; + }; +}; + +&{/soc} { + dpin@389e58000 { + compatible = "apple,t6050-dpin", "apple,dpin"; + reg = <0x3 0x89e58000 0x0 0x4000>; + interrupts = <0x0 0x0 0x6a4 0x4>; + status = "disabled"; + }; +}; + +&{/soc} { + dpin@389e68000 { + compatible = "apple,t6050-dpin", "apple,dpin"; + reg = <0x3 0x89e68000 0x0 0x4000>; + interrupts = <0x0 0x0 0x6a9 0x4>; + status = "disabled"; + }; +}; + +&{/soc} { + dpin@389e70000 { + compatible = "apple,t6050-dpin", "apple,dpin"; + reg = <0x3 0x89e70000 0x0 0x4000>; + interrupts = <0x0 0x0 0x6aa 0x4>; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t6050-j775c-incremental-audio.dtsi b/arch/arm64/boot/dts/apple/t6050-j775c-incremental-audio.dtsi new file mode 100644 index 0000000000000..a03cae3fd42e3 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6050-j775c-incremental-audio.dtsi @@ -0,0 +1,69 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Property migration from Satya Benson's 86b1f365 J775c stack. + * Retained board sources remain the baseline; this group is independently booted. + * Copyright The Asahi Linux Contributors + */ +&{/soc/i2c@505014000/codec@38} { + /delete-property/ ti,bclk-ratio; + shutdown-gpios = <&{/soc/pinctrl@29c000000} 0x6b 0x0>; + interrupts-extended = <&{/soc/pinctrl@29c000000} 0x6a 0x8>; +}; + +&{/soc/i2c@505018000/codec@4b} { + reset-gpios = <&{/soc/pinctrl@29c000000} 0x8b 0x0>; + interrupts-extended = <&{/soc/pinctrl@29c000000} 0x86 0x8>; +}; + +&{/sound} { + compatible = "apple,j775c-macaudio", "apple,macaudio"; +}; + +&{/sound/dai-link@0} { +}; + +&{/sound/dai-link@0/cpu} { + sound-dai = <&{/soc/aop@290c00000/audio} 0x0>; +}; + +&{/sound/dai-link@0/codec} { + sound-dai = <&{/soc/i2c@505018000/codec@4b}>; +}; + +&{/sound/dai-link@1} { +}; + +&{/sound/dai-link@1/cpu} { + sound-dai = <&{/soc/aop@290c00000/audio} 0x3>; +}; + +&{/sound/dai-link@1/codec} { + sound-dai = <&{/soc/i2c@505014000/codec@38}>; +}; + +&{/audio-controller-dispext0} { + dmas = <&{/soc/dma-controller@2b2140000} 0x0>; +}; + +&{/audio-controller-dispext0/ports} { +}; + +&{/audio-controller-dispext0/ports/port@0} { +}; + +&{/audio-controller-dispext0/ports/port@0/endpoint} { + remote-endpoint = <&{/soc/dcp@2b2e00000/ports/port@0/endpoint}>; +}; + +&{/audio-controller-dispext1} { + dmas = <&{/soc/dma-controller@392140000} 0x0>; +}; + +&{/audio-controller-dispext1/ports} { +}; + +&{/audio-controller-dispext1/ports/port@0} { +}; + +&{/audio-controller-dispext1/ports/port@0/endpoint} { + remote-endpoint = <&{/soc/dcp@392e00000/ports/port@0/endpoint}>; +}; diff --git a/arch/arm64/boot/dts/apple/t6050-j775c-incremental-display.dtsi b/arch/arm64/boot/dts/apple/t6050-j775c-incremental-display.dtsi new file mode 100644 index 0000000000000..15d138c1a07cf --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6050-j775c-incremental-display.dtsi @@ -0,0 +1,464 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Property migration from Satya Benson's 86b1f365 J775c stack. + * Retained board sources remain the baseline; this group is independently booted. + * Copyright The Asahi Linux Contributors + */ +&{/soc/iommu@2b2340000} { +}; + +&{/soc/iommu@2b2300000} { +}; + +&{/soc/mailbox@2b2e08000} { +}; + +&{/soc/dcp@2b2e00000} { + mboxes = <&{/soc/mailbox@2b2e08000}>; + iommus = <&{/soc/iommu@2b2340000} 0x17>; + apple,bw-scratch = <&{/soc/pmc-metadata@286700000} 0x0 0x5 0x2c000>; + phys = <&{/soc/phy@383000000} 0x6 &{/soc/phy@2ab000000} 0x6 &{/soc/phy@38b000000} 0x6 &{/soc/phy@2a3000000} 0x6>; + mux-controls = <&{/soc/mux@38324c000} 0x0 &{/soc/mux@2ab24c000} 0x0 &{/soc/mux@38b24c000} 0x0 &{/soc/mux@2a324c000} 0x0>; +}; + +&{/soc/dcp@2b2e00000/piodma} { + iommus = <&{/soc/iommu@2b2300000} 0x10>; +}; + +&{/soc/dcp@2b2e00000/typec-routes} { +}; + +&{/soc/dcp@2b2e00000/typec-routes/route@0} { +}; + +&{/soc/dcp@2b2e00000/typec-routes/route@0/port} { +}; + +&{/soc/dcp@2b2e00000/typec-routes/route@0/port/endpoint} { + remote-endpoint = <&{/soc/spmi@28a188000/usb-pd@8/connector/ports/port@2/endpoint}>; +}; + +&{/soc/dcp@2b2e00000/typec-routes/route@1} { +}; + +&{/soc/dcp@2b2e00000/typec-routes/route@1/port} { +}; + +&{/soc/dcp@2b2e00000/typec-routes/route@1/port/endpoint} { + remote-endpoint = <&{/soc/spmi@28a188000/usb-pd@a/connector/ports/port@2/endpoint}>; +}; + +&{/soc/dcp@2b2e00000/typec-routes/route@2} { +}; + +&{/soc/dcp@2b2e00000/typec-routes/route@2/port} { +}; + +&{/soc/dcp@2b2e00000/typec-routes/route@2/port/endpoint} { + remote-endpoint = <&{/soc/spmi@28a188000/usb-pd@6/connector/ports/port@2/endpoint}>; +}; + +&{/soc/dcp@2b2e00000/typec-routes/route@3} { +}; + +&{/soc/dcp@2b2e00000/typec-routes/route@3/port} { +}; + +&{/soc/dcp@2b2e00000/typec-routes/route@3/port/endpoint} { + remote-endpoint = <&{/soc/spmi@28a188000/usb-pd@c/connector/ports/port@2/endpoint}>; +}; + +&{/soc/dcp@2b2e00000/ports} { +}; + +&{/soc/dcp@2b2e00000/ports/port@0} { +}; + +&{/soc/dcp@2b2e00000/ports/port@0/endpoint} { + remote-endpoint = <&{/audio-controller-dispext0/ports/port@0/endpoint}>; +}; + +&{/soc} { + aux@29c260000 { + compatible = "apple,t6050-dptx-aux", "apple,dptx-aux"; + reg = <0x2 0x9c260000 0x0 0x4000 0x2 0x9c260000 0x0 0x4000>; + power-domains = <&{/soc/power-management@280900000/power-controller@108}>; + status = "disabled"; + }; +}; + +&{/soc} { + aux@29c264000 { + compatible = "apple,t6050-dptx-aux", "apple,dptx-aux"; + reg = <0x2 0x9c264000 0x0 0x4000 0x2 0x9c264000 0x0 0x4000>; + power-domains = <&{/soc/power-management@280900000/power-controller@110}>; + status = "disabled"; + }; +}; + +&{/soc} { + iommu@48a300000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x4 0x8a300000 0x0 0xc000 0x4 0x8a314000 0x0 0x4000>; + interrupts = <0x0 0x0 0x3de 0x4>; + #iommu-cells = <0x1>; + status = "disabled"; + }; +}; + +&{/soc} { + dcp-expert@48a3ac058 { + compatible = "apple,t6050-dcp-expert", "apple,dcp-expert"; + reg = <0x4 0x8a3ac058 0x0 0x4 0x4 0x8a374000 0x0 0x40 0x4 0x8a370000 0x0 0x40 0x4 0x8a388000 0x0 0x40 0x4 0x8a38c000 0x0 0x40 0x4 0x8a394000 0x0 0x40 0x4 0x8a398000 0x0 0x40 0x4 0x8a39c000 0x0 0x40 0x4 0x8a3a0000 0x0 0x40 0x4 0x88208000 0x0 0x40 0x4 0x8820c000 0x0 0x40 0x4 0x88210000 0x0 0x40 0x4 0x88214000 0x0 0x40>; + interrupts = <0x0 0x0 0x3d9 0x4>; + status = "disabled"; + }; +}; + +&{/soc} { + mailbox@48ae08000 { + compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x4 0x8ae08000 0x0 0x4000>; + interrupts = <0x0 0x0 0x413 0x4 0x0 0x0 0x414 0x4 0x0 0x0 0x415 0x4 0x0 0x0 0x416 0x4>; + interrupt-names = "send-empty", "send-not-empty", "recv-empty", "recv-not-empty"; + #mbox-cells = <0x0>; + status = "disabled"; + }; +}; + +&{/soc} { + dcp@48ae00000 { + compatible = "apple,t6050-dcp", "apple,dcp"; + reg = <0x4 0x8ae00000 0x0 0x4000 0x4 0x88000000 0x0 0x4000000 0x4 0x8a240000 0x0 0x10000 0x4 0x8a3ac000 0x0 0x4000 0x4 0x8a800000 0x0 0x800000 0x2 0x86700000 0x0 0x114000 0x4 0x8a850000 0x0 0x4000>; + reg-names = "coproc", "disp-0", "disp-1", "disp-2", "disp-3", "disp-4", "iop-vbar"; + mboxes = <&{/soc/mailbox@48ae08000}>; + mbox-names = "mbox"; + iommus = <&{/soc/iommu@48a340000} 0x17>; + status = "disabled"; + }; +}; + +&{/soc/dcp@48ae00000} { + piodma { + iommus = <&{/soc/iommu@48a300000} 0x10>; + }; +}; + +&{/soc} { + iommu@48a340000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x4 0x8a340000 0x0 0x20000>; + interrupts = <0x0 0x0 0x3de 0x4>; + #iommu-cells = <0x1>; + status = "disabled"; + }; +}; + +&{/soc} { + iommu@48a180000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x4 0x8a180000 0x0 0x20000>; + interrupts = <0x0 0x0 0x3f5 0x4>; + #iommu-cells = <0x1>; + status = "disabled"; + }; +}; + +&{/soc} { + dma-controller@48a140000 { + compatible = "apple,t6050-admac", "apple,t8140-admac"; + reg = <0x4 0x8a140000 0x0 0x24000>; + dma-channels = <0x1>; + interrupts-extended = <&{/soc/interrupt-controller@280400000} 0x0 0x0 0x3f4 0x4 0 0 0>; + iommus = <&{/soc/iommu@48a180000} 0x1e>; + #dma-cells = <0x1>; + status = "disabled"; + }; +}; + +&{/soc} { + dma-control@48a2f4000 { + compatible = "apple,t6050-admac-control", "apple,admac-control"; + reg = <0x4 0x8a2f4000 0x0 0x4000 0x4 0x8a1a0000 0x0 0x4000>; + interrupts = <0x0 0x0 0x3f6 0x4>; + status = "disabled"; + }; +}; + +&{/soc} { + dcp-expert@2b23ac058 { + compatible = "apple,t6050-dcp-expert", "apple,dcp-expert"; + reg = <0x2 0xb23ac058 0x0 0x4 0x2 0xb2374000 0x0 0x40 0x2 0xb2370000 0x0 0x40>; + interrupts = <0x0 0x0 0x429 0x4>; + status = "disabled"; + }; +}; + +&{/soc/iommu@2b2180000} { + status = "okay"; + power-domains = <&{/soc/power-management@280600000/power-controller@270}>; +}; + +&{/soc/dma-controller@2b2140000} { + interrupts-extended = <&{/soc/interrupt-controller@280400000} 0x0 0x0 0x444 0x4 0 0 0>; + iommus = <&{/soc/iommu@2b2180000} 0x1e>; + status = "okay"; + power-domains = <&{/soc/power-management@280600000/power-controller@270}>; +}; + +&{/soc} { + dma-control@2b22f4000 { + compatible = "apple,t6050-admac-control", "apple,admac-control"; + reg = <0x2 0xb22f4000 0x0 0x4000 0x2 0xb21a0000 0x0 0x4000>; + interrupts = <0x0 0x0 0x446 0x4>; + status = "disabled"; + }; +}; + +&{/soc} { + dcp-expert@3923ac058 { + compatible = "apple,t6050-dcp-expert", "apple,dcp-expert"; + reg = <0x3 0x923ac058 0x0 0x4 0x3 0x92374000 0x0 0x40 0x3 0x92370000 0x0 0x40>; + interrupts = <0x0 0x0 0x471 0x4>; + status = "disabled"; + }; +}; + +&{/soc/mailbox@392e08000} { +}; + +&{/soc/dcp@392e00000} { + mboxes = <&{/soc/mailbox@392e08000}>; + iommus = <&{/soc/iommu@392340000} 0x17>; + apple,bw-scratch = <&{/soc/pmc-metadata@286700000} 0x0 0x5 0x30000>; + phys = <&{/soc/phy@29c200000}>; + hdmi-hpd-gpios = <&{/soc/pinctrl@290824000} 0xe 0x0>; + hdmi-pwren-gpios = <&{/soc/smc@28c600000/gpio} 0x0 0x0>; + dp2hdmi-pwren-gpios = <&{/soc/smc@28c600000/gpio} 0x1 0x0>; +}; + +&{/soc/dcp@392e00000/piodma} { + iommus = <&{/soc/iommu@392300000} 0x10>; +}; + +&{/soc/dcp@392e00000/ports} { +}; + +&{/soc/dcp@392e00000/ports/port@0} { +}; + +&{/soc/dcp@392e00000/ports/port@0/endpoint} { + remote-endpoint = <&{/audio-controller-dispext1/ports/port@0/endpoint}>; +}; + +&{/soc/iommu@392340000} { +}; + +&{/soc/iommu@392300000} { +}; + +&{/soc/iommu@392180000} { + status = "okay"; + power-domains = <&{/soc/power-management@280600000/power-controller@2d8}>; +}; + +&{/soc/dma-controller@392140000} { + interrupts-extended = <&{/soc/interrupt-controller@280400000} 0x0 0x0 0x48c 0x4 0 0 0>; + iommus = <&{/soc/iommu@392180000} 0x1e>; + status = "okay"; + power-domains = <&{/soc/power-management@280600000/power-controller@2d8}>; +}; + +&{/soc} { + dma-control@3922f4000 { + compatible = "apple,t6050-admac-control", "apple,admac-control"; + reg = <0x3 0x922f4000 0x0 0x4000 0x3 0x921a0000 0x0 0x4000>; + interrupts = <0x0 0x0 0x48e 0x4>; + status = "disabled"; + }; +}; + +&{/soc} { + dcp-expert@3023ac058 { + compatible = "apple,t6050-dcp-expert", "apple,dcp-expert"; + reg = <0x3 0x23ac058 0x0 0x4 0x3 0x2374000 0x0 0x40 0x3 0x2370000 0x0 0x40>; + interrupts = <0x0 0x0 0x4b9 0x4>; + status = "disabled"; + }; +}; + +&{/soc} { + mailbox@302e08000 { + compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x3 0x2e08000 0x0 0x4000>; + interrupts = <0x0 0x0 0x4f3 0x4 0x0 0x0 0x4f4 0x4 0x0 0x0 0x4f5 0x4 0x0 0x0 0x4f6 0x4>; + interrupt-names = "send-empty", "send-not-empty", "recv-empty", "recv-not-empty"; + #mbox-cells = <0x0>; + status = "disabled"; + }; +}; + +&{/soc} { + dcp@302e00000 { + compatible = "apple,t6050-dcpext", "apple,dcpext"; + reg = <0x3 0x2e00000 0x0 0x4000 0x3 0x0 0x0 0x4000000 0x3 0x2240000 0x0 0x10000 0x3 0x23ac000 0x0 0x4000 0x3 0x2800000 0x0 0x800000 0x2 0x86700000 0x0 0x114000 0x3 0x2850000 0x0 0x4000>; + reg-names = "coproc", "disp-0", "disp-1", "disp-2", "disp-3", "disp-4", "iop-vbar"; + mboxes = <&{/soc/mailbox@302e08000}>; + mbox-names = "mbox"; + iommus = <&{/soc/iommu@302340000} 0x17>; + status = "disabled"; + }; +}; + +&{/soc/dcp@302e00000} { + piodma { + iommus = <&{/soc/iommu@302300000} 0x10>; + }; +}; + +&{/soc} { + iommu@302340000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x3 0x2340000 0x0 0x20000>; + interrupts = <0x0 0x0 0x4be 0x4>; + #iommu-cells = <0x1>; + status = "disabled"; + }; +}; + +&{/soc} { + iommu@302300000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x3 0x2300000 0x0 0xc000 0x3 0x2314000 0x0 0x4000>; + interrupts = <0x0 0x0 0x4be 0x4>; + #iommu-cells = <0x1>; + status = "disabled"; + }; +}; + +&{/soc} { + iommu@302180000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x3 0x2180000 0x0 0x20000>; + interrupts = <0x0 0x0 0x4d5 0x4>; + #iommu-cells = <0x1>; + status = "disabled"; + }; +}; + +&{/soc} { + dma-controller@302140000 { + compatible = "apple,t6050-admac", "apple,t8140-admac"; + reg = <0x3 0x2140000 0x0 0x24000>; + dma-channels = <0x1>; + interrupts-extended = <&{/soc/interrupt-controller@280400000} 0x0 0x0 0x4d4 0x4 0 0 0>; + iommus = <&{/soc/iommu@302180000} 0x1e>; + #dma-cells = <0x1>; + status = "disabled"; + }; +}; + +&{/soc} { + dma-control@3022f4000 { + compatible = "apple,t6050-admac-control", "apple,admac-control"; + reg = <0x3 0x22f4000 0x0 0x4000 0x3 0x21a0000 0x0 0x4000>; + interrupts = <0x0 0x0 0x4d6 0x4>; + status = "disabled"; + }; +}; + +&{/soc} { + dcp-expert@3063ac058 { + compatible = "apple,t6050-dcp-expert", "apple,dcp-expert"; + reg = <0x3 0x63ac058 0x0 0x4 0x3 0x6374000 0x0 0x40 0x3 0x6370000 0x0 0x40>; + interrupts = <0x0 0x0 0x501 0x4>; + status = "disabled"; + }; +}; + +&{/soc} { + mailbox@306e08000 { + compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x3 0x6e08000 0x0 0x4000>; + interrupts = <0x0 0x0 0x53b 0x4 0x0 0x0 0x53c 0x4 0x0 0x0 0x53d 0x4 0x0 0x0 0x53e 0x4>; + interrupt-names = "send-empty", "send-not-empty", "recv-empty", "recv-not-empty"; + #mbox-cells = <0x0>; + status = "disabled"; + }; +}; + +&{/soc} { + dcp@306e00000 { + compatible = "apple,t6050-dcpext", "apple,dcpext"; + reg = <0x3 0x6e00000 0x0 0x4000 0x3 0x4000000 0x0 0x4000000 0x3 0x6240000 0x0 0x10000 0x3 0x63ac000 0x0 0x4000 0x3 0x6800000 0x0 0x800000 0x2 0x86700000 0x0 0x114000 0x3 0x6850000 0x0 0x4000>; + reg-names = "coproc", "disp-0", "disp-1", "disp-2", "disp-3", "disp-4", "iop-vbar"; + mboxes = <&{/soc/mailbox@306e08000}>; + mbox-names = "mbox"; + iommus = <&{/soc/iommu@306340000} 0x17>; + status = "disabled"; + }; +}; + +&{/soc/dcp@306e00000} { + piodma { + iommus = <&{/soc/iommu@306300000} 0x10>; + }; +}; + +&{/soc} { + iommu@306340000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x3 0x6340000 0x0 0x20000>; + interrupts = <0x0 0x0 0x506 0x4>; + #iommu-cells = <0x1>; + status = "disabled"; + }; +}; + +&{/soc} { + iommu@306300000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x3 0x6300000 0x0 0xc000 0x3 0x6314000 0x0 0x4000>; + interrupts = <0x0 0x0 0x506 0x4>; + #iommu-cells = <0x1>; + status = "disabled"; + }; +}; + +&{/soc} { + iommu@306180000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x3 0x6180000 0x0 0x20000>; + interrupts = <0x0 0x0 0x51d 0x4>; + #iommu-cells = <0x1>; + status = "disabled"; + }; +}; + +&{/soc} { + dma-controller@306140000 { + compatible = "apple,t6050-admac", "apple,t8140-admac"; + reg = <0x3 0x6140000 0x0 0x24000>; + dma-channels = <0x1>; + interrupts-extended = <&{/soc/interrupt-controller@280400000} 0x0 0x0 0x51c 0x4 0 0 0>; + iommus = <&{/soc/iommu@306180000} 0x1e>; + #dma-cells = <0x1>; + status = "disabled"; + }; +}; + +&{/soc} { + dma-control@3062f4000 { + compatible = "apple,t6050-admac-control", "apple,admac-control"; + reg = <0x3 0x62f4000 0x0 0x4000 0x3 0x61a0000 0x0 0x4000>; + interrupts = <0x0 0x0 0x51e 0x4>; + status = "disabled"; + }; +}; + +&{/soc/phy@29c200000} { + power-domains = <&{/soc/power-management@280900000/power-controller@3f8}>; +}; + +&{/display-subsystem} { + iommus = <&{/soc/iommu@2b2300000} 0x0 &{/soc/iommu@392300000} 0x0>; +}; diff --git a/arch/arm64/boot/dts/apple/t6050-j775c-incremental-gpuopp.dtsi b/arch/arm64/boot/dts/apple/t6050-j775c-incremental-gpuopp.dtsi new file mode 100644 index 0000000000000..3b93d96b82d03 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6050-j775c-incremental-gpuopp.dtsi @@ -0,0 +1,277 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Property migration from Satya Benson's 86b1f365 J775c stack. + * Retained board sources remain the baseline; this group is independently booted. + * Copyright The Asahi Linux Contributors + */ +&{/opp-table-gpu} { +}; + +&{/opp-table-gpu/opp00} { +}; + +&{/opp-table-gpu/opp01} { +}; + +&{/opp-table-gpu/opp02} { +}; + +&{/opp-table-gpu/opp03} { +}; + +&{/opp-table-gpu/opp04} { +}; + +&{/opp-table-gpu/opp05} { +}; + +&{/opp-table-gpu/opp06} { +}; + +&{/opp-table-gpu/opp07} { +}; + +&{/opp-table-gpu/opp08} { +}; + +&{/opp-table-gpu/opp09} { +}; + +&{/opp-table-gpu/opp10} { +}; + +&{/opp-table-gpu/opp11} { +}; + +&{/opp-table-gpu/opp12} { +}; + +&{/opp-table-gpu/opp13} { +}; + +&{/} { + opp-table-gpuafr { + compatible = "operating-points-v2"; + }; +}; + +&{/opp-table-gpuafr} { + opp00 { + opp-hz = <0x0 0x0>; + opp-microvolt = <0x0>; + }; +}; + +&{/opp-table-gpuafr} { + opp01 { + opp-hz = <0x0 0x0>; + opp-microvolt = <0x0>; + }; +}; + +&{/opp-table-gpuafr} { + opp02 { + opp-hz = <0x0 0x0>; + opp-microvolt = <0x0>; + }; +}; + +&{/opp-table-gpuafr} { + opp03 { + opp-hz = <0x0 0x0>; + opp-microvolt = <0x0>; + }; +}; + +&{/opp-table-gpuafr} { + opp04 { + opp-hz = <0x0 0x0>; + opp-microvolt = <0x0>; + }; +}; + +&{/opp-table-gpuafr} { + opp05 { + opp-hz = <0x0 0x0>; + opp-microvolt = <0x0>; + }; +}; + +&{/opp-table-gpuafr} { + opp06 { + opp-hz = <0x0 0x0>; + opp-microvolt = <0x0>; + }; +}; + +&{/opp-table-gpuafr} { + opp07 { + opp-hz = <0x0 0x0>; + opp-microvolt = <0x0>; + }; +}; + +&{/opp-table-gpuafr} { + opp08 { + opp-hz = <0x0 0x0>; + opp-microvolt = <0x0>; + }; +}; + +&{/opp-table-gpuafr} { + opp09 { + opp-hz = <0x0 0x0>; + opp-microvolt = <0x0>; + }; +}; + +&{/opp-table-gpuafr} { + opp10 { + opp-hz = <0x0 0x0>; + opp-microvolt = <0x0>; + }; +}; + +&{/opp-table-gpuafr} { + opp11 { + opp-hz = <0x0 0x0>; + opp-microvolt = <0x0>; + }; +}; + +&{/opp-table-gpuafr} { + opp12 { + opp-hz = <0x0 0x0>; + opp-microvolt = <0x0>; + }; +}; + +&{/opp-table-gpuafr} { + opp13 { + opp-hz = <0x0 0x0>; + opp-microvolt = <0x0>; + }; +}; + +&{/} { + opp-table-gpucs { + compatible = "operating-points-v2"; + }; +}; + +&{/opp-table-gpucs} { + opp00 { + opp-hz = <0x0 0x0>; + opp-microvolt = <0x0>; + }; +}; + +&{/opp-table-gpucs} { + opp01 { + opp-hz = <0x0 0x0>; + opp-microvolt = <0x0>; + }; +}; + +&{/opp-table-gpucs} { + opp02 { + opp-hz = <0x0 0x0>; + opp-microvolt = <0x0>; + }; +}; + +&{/opp-table-gpucs} { + opp03 { + opp-hz = <0x0 0x0>; + opp-microvolt = <0x0>; + }; +}; + +&{/opp-table-gpucs} { + opp04 { + opp-hz = <0x0 0x0>; + opp-microvolt = <0x0>; + }; +}; + +&{/opp-table-gpucs} { + opp05 { + opp-hz = <0x0 0x0>; + opp-microvolt = <0x0>; + }; +}; + +&{/opp-table-gpucs} { + opp06 { + opp-hz = <0x0 0x0>; + opp-microvolt = <0x0>; + }; +}; + +&{/opp-table-gpucs} { + opp07 { + opp-hz = <0x0 0x0>; + opp-microvolt = <0x0>; + }; +}; + +&{/opp-table-gpucs} { + opp08 { + opp-hz = <0x0 0x0>; + opp-microvolt = <0x0>; + }; +}; + +&{/opp-table-gpucs} { + opp09 { + opp-hz = <0x0 0x0>; + opp-microvolt = <0x0>; + }; +}; + +&{/opp-table-gpucs} { + opp10 { + opp-hz = <0x0 0x0>; + opp-microvolt = <0x0>; + }; +}; + +&{/opp-table-gpucs} { + opp11 { + opp-hz = <0x0 0x0>; + opp-microvolt = <0x0>; + }; +}; + +&{/opp-table-gpucs} { + opp12 { + opp-hz = <0x0 0x0>; + opp-microvolt = <0x0>; + }; +}; + +&{/opp-table-gpucs} { + opp13 { + opp-hz = <0x0 0x0>; + opp-microvolt = <0x0>; + }; +}; + +&{/soc@2300000000/gpu@2302600000} { + /delete-property/ apple,idleoff-standby-timer; + compatible = "apple,agx-g17c", "apple,agx-g17s"; + mboxes = <&{/soc@2300000000/mailbox@2302600000} &{/soc@2300000000/mailbox@2302e00000}>; + power-domains = <&{/soc@2300000000/power-management@2300e80000/power-controller@110}>; + apple,clpc = <&{/soc/power-management@286806000/performance-controller@1}>; + memory-region = <&{/reserved-memory/uat-ttbs} &{/reserved-memory/uat-pagetables} &{/reserved-memory/uat-handoff} &{/reserved-memory/gpu-fw-data} &{/reserved-memory/uat-l2-pagetables} &{/reserved-memory/gpu-fw-text}>; + operating-points-v2 = <&{/opp-table-gpu}>; + apple,afr-opp = <&{/opp-table-gpuafr}>; + apple,cs-opp = <&{/opp-table-gpucs}>; +}; + +&{/soc@2300000000/mailbox@2302600000} { + power-domains = <&{/soc@2300000000/power-management@2300e80000/power-controller@110}>; +}; + +&{/soc@2300000000/mailbox@2302e00000} { + power-domains = <&{/soc@2300000000/power-management@2300e80000/power-controller@110}>; +}; diff --git a/arch/arm64/boot/dts/apple/t6050-j775c-incremental-pcie.dtsi b/arch/arm64/boot/dts/apple/t6050-j775c-incremental-pcie.dtsi new file mode 100644 index 0000000000000..0a6989093441d --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6050-j775c-incremental-pcie.dtsi @@ -0,0 +1,41 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Property migration from Satya Benson's 86b1f365 J775c stack. + * Retained board sources remain the baseline; this group is independently booted. + * Copyright The Asahi Linux Contributors + */ +&{/pcie@1cb0000000} { + msi-parent = <&{/pcie@1cb0000000}>; + iommu-map = <0x100 &{/soc/iommu@412000000} 0x1 0x1 0x200 &{/soc/iommu@413000000} 0x1 0x1 0x300 &{/soc/iommu@410000000} 0x1 0x3 0x400 &{/soc/iommu@411000000} 0x1 0x1>; +}; + +&{/pcie@1cb0000000/pci@2,0} { + interrupt-map = <0x0 0x0 0x0 0x1 &{/pcie@1cb0000000/pci@2,0} 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x2 &{/pcie@1cb0000000/pci@2,0} 0x0 0x0 0x0 0x1 0x0 0x0 0x0 0x3 &{/pcie@1cb0000000/pci@2,0} 0x0 0x0 0x0 0x2 0x0 0x0 0x0 0x4 &{/pcie@1cb0000000/pci@2,0} 0x0 0x0 0x0 0x3>; +}; + +&{/pcie@1cb0000000/pci@2,0/ethernet@0,0} { +}; + +&{/pcie@1cb0000000/pci@3,0} { + interrupt-map = <0x0 0x0 0x0 0x1 &{/pcie@1cb0000000/pci@3,0} 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x2 &{/pcie@1cb0000000/pci@3,0} 0x0 0x0 0x0 0x1 0x0 0x0 0x0 0x3 &{/pcie@1cb0000000/pci@3,0} 0x0 0x0 0x0 0x2 0x0 0x0 0x0 0x4 &{/pcie@1cb0000000/pci@3,0} 0x0 0x0 0x0 0x3>; +}; + +&{/pcie@1cb0000000/pci@0,0} { + reset-gpios = <&{/soc/pinctrl@29c000000} 0x50 0x1>; + interrupt-map = <0x0 0x0 0x0 0x1 &{/pcie@1cb0000000/pci@0,0} 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x2 &{/pcie@1cb0000000/pci@0,0} 0x0 0x0 0x0 0x1 0x0 0x0 0x0 0x3 &{/pcie@1cb0000000/pci@0,0} 0x0 0x0 0x0 0x2 0x0 0x0 0x0 0x4 &{/pcie@1cb0000000/pci@0,0} 0x0 0x0 0x0 0x3>; +}; + +&{/pcie@1cb0000000/pci@0,0/control@0,0} { +}; + +&{/pcie@1cb0000000/pci@0,0/wifi@0,1} { +}; + +&{/pcie@1cb0000000/pci@0,0/bluetooth@0,2} { +}; + +&{/pcie@1cb0000000/pci@1,0} { + interrupt-map = <0x0 0x0 0x0 0x1 &{/pcie@1cb0000000/pci@1,0} 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x2 &{/pcie@1cb0000000/pci@1,0} 0x0 0x0 0x0 0x1 0x0 0x0 0x0 0x3 &{/pcie@1cb0000000/pci@1,0} 0x0 0x0 0x0 0x2 0x0 0x0 0x0 0x4 &{/pcie@1cb0000000/pci@1,0} 0x0 0x0 0x0 0x3>; +}; + +&{/pcie@1cb0000000/pci@1,0/sdcard@0,0} { +}; diff --git a/arch/arm64/boot/dts/apple/t6050-j775c-incremental-pmgr.dtsi b/arch/arm64/boot/dts/apple/t6050-j775c-incremental-pmgr.dtsi new file mode 100644 index 0000000000000..22a4c79222cdf --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6050-j775c-incremental-pmgr.dtsi @@ -0,0 +1,1148 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Property migration from Satya Benson's 86b1f365 J775c stack. + * Retained board sources remain the baseline; this group is independently booted. + * Copyright The Asahi Linux Contributors + */ +&{/soc/power-management@280600000} { +}; + +&{/soc/power-management@280600000/power-controller@210} { + status = "okay"; +}; + +&{/soc/power-management@280600000/power-controller@238} { +}; + +&{/soc/power-management@280600000/power-controller@240} { + status = "okay"; +}; + +&{/soc/power-management@280600000/power-controller@248} { + status = "okay"; +}; + +&{/soc/power-management@280600000/power-controller@2f8} { + power-domains = <&{/soc/power-management@280600000/power-controller@240}>; + status = "okay"; +}; + +&{/soc/power-management@280600000/power-controller@410} { + power-domains = <&{/soc/power-management@280600000/power-controller@2f8}>; + status = "okay"; +}; + +&{/soc/power-management@280600000/power-controller@418} { + power-domains = <&{/soc/power-management@280600000/power-controller@2f8}>; + status = "okay"; +}; + +&{/soc/power-management@280600000/power-controller@420} { + power-domains = <&{/soc/power-management@280600000/power-controller@2f8} &{/soc/power-management@280600000/power-controller@248}>; + status = "okay"; +}; + +&{/soc/power-management@280600000/power-controller@2e8} { + label = "atc2-cio"; + power-domains = <&{/soc/power-management@280600000/power-controller@238}>; + status = "okay"; +}; + +&{/soc/power-management@280600000/power-controller@3f8} { + label = "atc2-cio-pcie"; + power-domains = <&{/soc/power-management@280600000/power-controller@2e8}>; + status = "okay"; +}; + +&{/soc/power-management@280600000/power-controller@400} { + label = "atc2-cio-usb"; + power-domains = <&{/soc/power-management@280600000/power-controller@2e8}>; + status = "okay"; +}; + +&{/soc/power-management@280600000/power-controller@408} { + label = "atc2-cio-auss"; + power-domains = <&{/soc/power-management@280600000/power-controller@2e8} &{/soc/power-management@280600000/power-controller@248}>; + status = "okay"; +}; + +&{/soc/power-management@280600000} { + power-controller@100 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x100 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "pms"; + status = "disabled"; + }; +}; + +&{/soc/power-management@280600000} { + power-controller@128 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x128 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "pmp"; + power-domains = <&{/soc/power-management@280600000/power-controller@100}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@280600000} { + power-controller@130 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x130 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "pms-sram"; + power-domains = <&{/soc/power-management@280600000/power-controller@100}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@280600000} { + power-controller@1d8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1d8 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "fab0-piogw"; + status = "okay"; + }; +}; + +&{/soc/power-management@280600000} { + power-controller@1e0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1e0 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "fab3-soc"; + power-domains = <&{/soc/power-management@280600000/power-controller@1d8}>; + status = "okay"; + }; +}; + +&{/soc/power-management@280600000} { + power-controller@1f0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1f0 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "fab5-soc"; + power-domains = <&{/soc/power-management@280600000/power-controller@1d8}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@280600000} { + power-controller@1f8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1f8 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "sbr"; + power-domains = <&{/soc/power-management@280600000/power-controller@1e0}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@280600000/power-controller@208} { + label = "atc0-common"; + power-domains = <&{/soc/power-management@280600000/power-controller@1e0}>; + status = "okay"; +}; + +&{/soc/power-management@280600000} { + power-controller@258 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x258 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "msg"; + power-domains = <&{/soc/power-management@280600000/power-controller@1f8}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@280600000/power-controller@280} { + label = "atc0-cio"; + power-domains = <&{/soc/power-management@280600000/power-controller@208}>; + status = "okay"; +}; + +&{/soc/power-management@280600000} { + power-controller@288 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x288 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "atc0-pcie"; + power-domains = <&{/soc/power-management@280600000/power-controller@208}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@280600000/power-controller@290} { + label = "atc1-cio"; + power-domains = <&{/soc/power-management@280600000/power-controller@210}>; + status = "okay"; +}; + +&{/soc/power-management@280600000} { + power-controller@298 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x298 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "atc1-pcie"; + power-domains = <&{/soc/power-management@280600000/power-controller@210}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@280600000} { + power-controller@2f0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2f0 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "atc2-pcie"; + power-domains = <&{/soc/power-management@280600000/power-controller@238}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@280600000} { + power-controller@300 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x300 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "atc3-pcie"; + power-domains = <&{/soc/power-management@280600000/power-controller@240}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@280600000/power-controller@338} { + label = "atc0-cio-pcie"; + power-domains = <&{/soc/power-management@280600000/power-controller@280}>; + status = "okay"; +}; + +&{/soc/power-management@280600000/power-controller@340} { + label = "atc0-cio-usb"; + power-domains = <&{/soc/power-management@280600000/power-controller@280}>; + status = "okay"; +}; + +&{/soc/power-management@280600000/power-controller@348} { + label = "atc0-cio-auss"; + power-domains = <&{/soc/power-management@280600000/power-controller@280} &{/soc/power-management@280600000/power-controller@248}>; + status = "okay"; +}; + +&{/soc/power-management@280600000/power-controller@350} { + label = "atc1-cio-pcie"; + power-domains = <&{/soc/power-management@280600000/power-controller@290}>; + status = "okay"; +}; + +&{/soc/power-management@280600000/power-controller@358} { + label = "atc1-cio-usb"; + power-domains = <&{/soc/power-management@280600000/power-controller@290}>; + status = "okay"; +}; + +&{/soc/power-management@280600000/power-controller@360} { + label = "atc1-cio-auss"; + power-domains = <&{/soc/power-management@280600000/power-controller@290} &{/soc/power-management@280600000/power-controller@248}>; + status = "okay"; +}; + +&{/soc/power-management@280600000/power-controller@270} { +}; + +&{/soc/power-management@280600000/power-controller@2d8} { +}; + +&{/soc/power-management@280900000} { +}; + +&{/soc/power-management@280900000} { + power-controller@2a8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2a8 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "fpwm0"; + }; +}; + +&{/soc/power-management@280900000} { + power-controller@2b0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2b0 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "fpwm1"; + status = "disabled"; + }; +}; + +&{/soc/power-management@280900000} { + power-controller@2b8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2b8 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "fpwm2"; + status = "disabled"; + }; +}; + +&{/soc/power-management@280900000/power-controller@2c8} { +}; + +&{/soc/power-management@280900000/power-controller@2d0} { +}; + +&{/soc/power-management@280900000/power-controller@308} { +}; + +&{/soc/power-management@280900000/power-controller@350} { + power-domains = <&{/soc/power-management@280900000/power-controller@308}>; +}; + +&{/soc/power-management@280900000} { + power-controller@100 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x100 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "ispsens0"; + status = "disabled"; + }; +}; + +&{/soc/power-management@280900000} { + power-controller@108 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x108 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "global-aux-hpd-0"; + status = "disabled"; + }; +}; + +&{/soc/power-management@280900000} { + power-controller@110 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x110 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "global-aux-hpd-1"; + status = "disabled"; + }; +}; + +&{/soc/power-management@280900000} { + power-controller@118 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x118 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "apcie-gp"; + status = "disabled"; + }; +}; + +&{/soc/power-management@280900000} { + power-controller@120 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x120 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "apcie-ge"; + status = "disabled"; + }; +}; + +&{/soc/power-management@280900000} { + power-controller@128 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x128 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "apcie-st0"; + status = "disabled"; + }; +}; + +&{/soc/power-management@280900000} { + power-controller@130 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x130 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "apcie-st1"; + status = "disabled"; + }; +}; + +&{/soc/power-management@280900000} { + power-controller@138 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x138 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "fab6-soc"; + power-domains = <&{/soc/power-management@280600000/power-controller@1d8}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@280900000} { + power-controller@140 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x140 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "ans"; + power-domains = <&{/soc/power-management@280900000/power-controller@138}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@280900000} { + power-controller@148 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x148 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "apcie-sys-gp"; + power-domains = <&{/soc/power-management@280900000/power-controller@118} &{/soc/power-management@280900000/power-controller@138}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@280900000} { + power-controller@150 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x150 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "apcie-sys-st0"; + power-domains = <&{/soc/power-management@280900000/power-controller@128} &{/soc/power-management@280900000/power-controller@140}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@280900000} { + power-controller@158 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x158 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "apcie-sys-st1"; + power-domains = <&{/soc/power-management@280900000/power-controller@130} &{/soc/power-management@280900000/power-controller@140}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@280900000} { + power-controller@178 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x178 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "fab7-soc"; + power-domains = <&{/soc/power-management@280600000/power-controller@1d8}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@280900000} { + power-controller@180 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x180 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "disp-sys"; + power-domains = <&{/soc/power-management@280900000/power-controller@178}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@280900000} { + power-controller@188 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x188 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "apcie-sys-ge"; + power-domains = <&{/soc/power-management@280900000/power-controller@120} &{/soc/power-management@280900000/power-controller@138}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@280900000} { + power-controller@190 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x190 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "scodec"; + power-domains = <&{/soc/power-management@280900000/power-controller@178}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@280900000} { + power-controller@198 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x198 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "disp-fe"; + power-domains = <&{/soc/power-management@280900000/power-controller@180}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@280900000} { + power-controller@1a8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1a8 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "disp-cpu"; + power-domains = <&{/soc/power-management@280900000/power-controller@198}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@280900000} { + power-controller@1b0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1b0 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "apcie-phy-sw"; + power-domains = <&{/soc/power-management@280900000/power-controller@148} &{/soc/power-management@280900000/power-controller@188}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@280900000} { + power-controller@240 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x240 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "aphy-st0-aus5-a"; + power-domains = <&{/soc/power-management@280900000/power-controller@1b0}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@280900000} { + power-controller@248 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x248 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "aphy-st1-aus5-a"; + power-domains = <&{/soc/power-management@280900000/power-controller@1b0}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@280900000} { + power-controller@250 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x250 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "aphy-ge-aus5-a"; + power-domains = <&{/soc/power-management@280900000/power-controller@1b0}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@280900000} { + power-controller@258 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x258 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "aphy-gp-aus5-a"; + power-domains = <&{/soc/power-management@280900000/power-controller@1b0}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@280900000} { + power-controller@268 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x268 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "aphy-st0-aus5"; + power-domains = <&{/soc/power-management@280900000/power-controller@240}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@280900000} { + power-controller@270 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x270 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "aphy-st1-aus5"; + power-domains = <&{/soc/power-management@280900000/power-controller@248}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@280900000} { + power-controller@278 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x278 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "aphy-ge-aus5"; + power-domains = <&{/soc/power-management@280900000/power-controller@250}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@280900000} { + power-controller@280 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x280 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "aphy-gp-aus5"; + power-domains = <&{/soc/power-management@280900000/power-controller@258}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@280900000} { + power-controller@288 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x288 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "fab8-soc"; + power-domains = <&{/soc/power-management@280600000/power-controller@1d8}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@280900000} { + power-controller@290 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x290 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "sio"; + power-domains = <&{/soc/power-management@280900000/power-controller@288}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@280900000} { + power-controller@298 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x298 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "sep"; + power-domains = <&{/soc/power-management@280900000/power-controller@288}>; + apple,firmware-owned; + status = "disabled"; + }; +}; + +&{/soc/power-management@280900000} { + power-controller@2a0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2a0 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "sio-cpu"; + power-domains = <&{/soc/power-management@280900000/power-controller@290}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@280900000} { + power-controller@2c0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2c0 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "i2c0"; + power-domains = <&{/soc/power-management@280900000/power-controller@290}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@280900000} { + power-controller@2d8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2d8 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "i2c3"; + power-domains = <&{/soc/power-management@280900000/power-controller@290}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@280900000} { + power-controller@2e0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2e0 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "i2c4"; + power-domains = <&{/soc/power-management@280900000/power-controller@290}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@280900000} { + power-controller@2e8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2e8 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "i2c5"; + power-domains = <&{/soc/power-management@280900000/power-controller@290}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@280900000} { + power-controller@2f0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2f0 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "i2c6"; + power-domains = <&{/soc/power-management@280900000/power-controller@290}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@280900000} { + power-controller@2f8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2f8 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "i2c7"; + power-domains = <&{/soc/power-management@280900000/power-controller@290}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@280900000} { + power-controller@300 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x300 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "i2c8"; + power-domains = <&{/soc/power-management@280900000/power-controller@290}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@280900000} { + power-controller@310 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x310 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "uart-p"; + power-domains = <&{/soc/power-management@280900000/power-controller@290}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@280900000} { + power-controller@318 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x318 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "aes"; + power-domains = <&{/soc/power-management@280900000/power-controller@290}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@280900000} { + power-controller@330 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x330 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "spi2"; + power-domains = <&{/soc/power-management@280900000/power-controller@308}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@280900000} { + power-controller@338 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x338 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "spi3"; + power-domains = <&{/soc/power-management@280900000/power-controller@308}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@280900000} { + power-controller@340 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x340 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "spi4"; + power-domains = <&{/soc/power-management@280900000/power-controller@308}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@280900000} { + power-controller@360 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x360 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "uart0"; + power-domains = <&{/soc/power-management@280900000/power-controller@310}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@280900000} { + power-controller@398 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x398 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "fab9-soc"; + power-domains = <&{/soc/power-management@280600000/power-controller@1d8}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@280900000} { + power-controller@3a0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x3a0 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "isp-sys"; + power-domains = <&{/soc/power-management@280900000/power-controller@398}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@280900000} { + power-controller@3c8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x3c8 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "ane-cpu"; + status = "disabled"; + }; +}; + +&{/soc/power-management@280900000/power-controller@3f8} { + label = "dptx-phy"; + status = "disabled"; +}; + +&{/soc/power-management@288300000} { +}; + +&{/soc/power-management@288300000/power-controller@160} { + status = "okay"; +}; + +&{/soc/power-management@288300000/power-controller@168} { + /delete-property/ apple,always-on; + power-domains = <&{/soc/power-management@280600000/power-controller@210} &{/soc/power-management@288300000/power-controller@160}>; + status = "okay"; +}; + +&{/soc/power-management@288300000/power-controller@170} { + power-domains = <&{/soc/power-management@280600000/power-controller@210} &{/soc/power-management@288300000/power-controller@160}>; + status = "okay"; +}; + +&{/soc/power-management@288300000/power-controller@178} { +}; + +&{/soc/power-management@288300000/power-controller@188} { + power-domains = <&{/soc/power-management@280600000/power-controller@238} &{/soc/power-management@288300000/power-controller@178}>; +}; + +&{/soc/power-management@288300000/power-controller@180} { + /delete-property/ apple,always-on; + power-domains = <&{/soc/power-management@280600000/power-controller@238} &{/soc/power-management@288300000/power-controller@178}>; +}; + +&{/soc/power-management@288300000/power-controller@190} { + status = "okay"; +}; + +&{/soc/power-management@288300000/power-controller@198} { + /delete-property/ apple,always-on; + power-domains = <&{/soc/power-management@280600000/power-controller@240} &{/soc/power-management@288300000/power-controller@190}>; + status = "okay"; +}; + +&{/soc/power-management@288300000/power-controller@1a0} { + power-domains = <&{/soc/power-management@280600000/power-controller@240} &{/soc/power-management@288300000/power-controller@190}>; + status = "okay"; +}; + +&{/soc/power-management@288300000} { + power-controller@58 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x58 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "debug-gated"; + status = "disabled"; + }; +}; + +&{/soc/power-management@288300000} { + power-controller@98 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x98 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "atc0-common-dp-0"; + status = "disabled"; + }; +}; + +&{/soc/power-management@288300000} { + power-controller@a0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0xa0 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "atc0-common-dp-1"; + status = "disabled"; + }; +}; + +&{/soc/power-management@288300000} { + power-controller@a8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0xa8 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "atc0-common-dp-2"; + status = "disabled"; + }; +}; + +&{/soc/power-management@288300000} { + power-controller@b0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0xb0 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "atc0-common-dp-3"; + status = "disabled"; + }; +}; + +&{/soc/power-management@288300000} { + power-controller@b8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0xb8 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "atc1-common-dp-0"; + status = "disabled"; + }; +}; + +&{/soc/power-management@288300000} { + power-controller@c0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0xc0 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "atc1-common-dp-1"; + status = "disabled"; + }; +}; + +&{/soc/power-management@288300000} { + power-controller@c8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0xc8 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "atc1-common-dp-2"; + status = "disabled"; + }; +}; + +&{/soc/power-management@288300000} { + power-controller@d0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0xd0 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "atc1-common-dp-3"; + status = "disabled"; + }; +}; + +&{/soc/power-management@288300000} { + power-controller@d8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0xd8 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "atc2-common-dp-0"; + status = "disabled"; + }; +}; + +&{/soc/power-management@288300000} { + power-controller@e0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0xe0 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "atc2-common-dp-1"; + status = "disabled"; + }; +}; + +&{/soc/power-management@288300000} { + power-controller@e8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0xe8 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "atc2-common-dp-2"; + status = "disabled"; + }; +}; + +&{/soc/power-management@288300000} { + power-controller@f0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0xf0 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "atc2-common-dp-3"; + status = "disabled"; + }; +}; + +&{/soc/power-management@288300000} { + power-controller@f8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0xf8 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "atc3-common-dp-0"; + status = "disabled"; + }; +}; + +&{/soc/power-management@288300000} { + power-controller@100 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x100 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "atc3-common-dp-1"; + status = "disabled"; + }; +}; + +&{/soc/power-management@288300000} { + power-controller@108 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x108 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "atc3-common-dp-2"; + status = "disabled"; + }; +}; + +&{/soc/power-management@288300000} { + power-controller@110 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x110 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "atc3-common-dp-3"; + status = "disabled"; + }; +}; + +&{/soc/power-management@288300000/power-controller@148} { + label = "atc0-usb-aon"; + status = "okay"; +}; + +&{/soc/power-management@288300000/power-controller@150} { + /delete-property/ apple,always-on; + label = "atc0-usb"; + power-domains = <&{/soc/power-management@280600000/power-controller@208} &{/soc/power-management@288300000/power-controller@148}>; + status = "okay"; +}; + +&{/soc/power-management@288300000/power-controller@158} { + label = "atc0-phymxwrap"; + power-domains = <&{/soc/power-management@280600000/power-controller@208} &{/soc/power-management@288300000/power-controller@148}>; + status = "okay"; +}; + +&{/soc/power-management@286806000} { +}; + +&{/soc/power-management@286806000/performance-controller@1} { +}; + +&{/soc@2300000000/power-management@2300e80000} { + status = "okay"; +}; + +&{/soc@2300000000/power-management@2300e80000/power-controller@0} { +}; + +&{/soc@2300000000/power-management@2300e80000/power-controller@100} { +}; + +&{/soc@2300000000/power-management@2300e80000/power-controller@110} { + power-domains = <&{/soc@2300000000/power-management@2300e80000/power-controller@100} &{/soc@2300000000/power-management@2300e80000/power-controller@0}>; +}; diff --git a/arch/arm64/boot/dts/apple/t6050-j775c-incremental-pmgr4.dtsi b/arch/arm64/boot/dts/apple/t6050-j775c-incremental-pmgr4.dtsi new file mode 100644 index 0000000000000..e9740512533eb --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6050-j775c-incremental-pmgr4.dtsi @@ -0,0 +1,269 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Property migration from Satya Benson's 86b1f365 J775c stack. + * Retained board sources remain the baseline; this group is independently booted. + * Copyright The Asahi Linux Contributors + */ +&{/soc/power-management@2380600000} { + status = "disabled"; +}; + +&{/soc/power-management@2380600000/power-controller@1b0} { + /delete-property/ apple,always-on; + status = "disabled"; +}; + +&{/soc/power-management@2380600000/power-controller@1d8} { + power-domains = <&{/soc/power-management@2380600000/power-controller@1b0}>; + status = "disabled"; +}; + +&{/soc/power-management@2380600000} { + power-controller@1a0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1a0 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "fab1-piogw"; + status = "disabled"; + }; +}; + +&{/soc/power-management@2380600000} { + power-controller@1a8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1a8 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "fab0-soc"; + power-domains = <&{/soc/power-management@2380600000/power-controller@1a0}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@2380600000} { + power-controller@1b8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1b8 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "fab2-soc"; + power-domains = <&{/soc/power-management@2380600000/power-controller@1a0}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@2380600000} { + power-controller@1c0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1c0 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "venc0-sys"; + power-domains = <&{/soc/power-management@2380600000/power-controller@1a8}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@2380600000} { + power-controller@1c8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1c8 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "msr0"; + power-domains = <&{/soc/power-management@2380600000/power-controller@1a8}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@2380600000} { + power-controller@1d0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1d0 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "jpg"; + power-domains = <&{/soc/power-management@2380600000/power-controller@1a8}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@2380600000} { + power-controller@1e0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1e0 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "prores"; + power-domains = <&{/soc/power-management@2380600000/power-controller@1b0}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@2380600000} { + power-controller@1f0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1f0 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "venc1-sys"; + power-domains = <&{/soc/power-management@2380600000/power-controller@1b8}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@2380600000} { + power-controller@1f8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1f8 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "msr1"; + power-domains = <&{/soc/power-management@2380600000/power-controller@1b8}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@2380600000} { + power-controller@200 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x200 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "msr0-ase-core"; + power-domains = <&{/soc/power-management@2380600000/power-controller@1c8}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@2380600000} { + power-controller@208 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x208 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "msr1-ase-core"; + power-domains = <&{/soc/power-management@2380600000/power-controller@1f8}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@2380600000} { + power-controller@8000 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x8000 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "venc0-dma"; + power-domains = <&{/soc/power-management@2380600000/power-controller@1c0}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@2380600000} { + power-controller@8008 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x8008 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "venc0-pipe4"; + power-domains = <&{/soc/power-management@2380600000/power-controller@8000}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@2380600000} { + power-controller@8010 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x8010 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "venc0-pipe5"; + power-domains = <&{/soc/power-management@2380600000/power-controller@8000}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@2380600000} { + power-controller@8018 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x8018 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "venc0-me0"; + power-domains = <&{/soc/power-management@2380600000/power-controller@8000}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@2380600000} { + power-controller@8020 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x8020 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "venc0-me1"; + power-domains = <&{/soc/power-management@2380600000/power-controller@8018}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@2380600000} { + power-controller@8028 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x8028 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "venc1-dma"; + power-domains = <&{/soc/power-management@2380600000/power-controller@1f0}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@2380600000} { + power-controller@8030 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x8030 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "venc1-pipe4"; + power-domains = <&{/soc/power-management@2380600000/power-controller@8028}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@2380600000} { + power-controller@8038 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x8038 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "venc1-pipe5"; + power-domains = <&{/soc/power-management@2380600000/power-controller@8028}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@2380600000} { + power-controller@8040 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x8040 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "venc1-me0"; + power-domains = <&{/soc/power-management@2380600000/power-controller@8028}>; + status = "disabled"; + }; +}; + +&{/soc/power-management@2380600000} { + power-controller@8048 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x8048 0x4>; + #power-domain-cells = <0x0>; + #reset-cells = <0x0>; + label = "venc1-me1"; + power-domains = <&{/soc/power-management@2380600000/power-controller@8040}>; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t6050-j775c-incremental-remaining-nogpu.dtsi b/arch/arm64/boot/dts/apple/t6050-j775c-incremental-remaining-nogpu.dtsi new file mode 100644 index 0000000000000..e038f103da61f --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6050-j775c-incremental-remaining-nogpu.dtsi @@ -0,0 +1,2354 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Property migration from Satya Benson's 86b1f365 J775c stack. + * Retained board sources remain the baseline; this group is independently booted. + * Copyright The Asahi Linux Contributors + */ +&{/} { + interrupt-parent = <&{/soc/interrupt-controller@280400000}>; +}; + +&{/memory@10000000000} { +}; + +&{/reserved-memory} { +}; + +&{/reserved-memory/uat-ttbs} { +}; + +&{/reserved-memory/uat-pagetables} { +}; + +&{/reserved-memory/uat-handoff} { +}; + +&{/reserved-memory/uat-l2-pagetables} { +}; + +&{/reserved-memory/gpu-fw-text} { +}; + +&{/reserved-memory/gpu-fw-data} { +}; + +&{/cpus} { +}; + +&{/cpus/cpu@40000} { + operating-points-v2 = <&{/opp-table-mcluster}>; + performance-domains = <&{/soc/performance-controller@210e20000}>; + next-level-cache = <&{/cpus/l2-cache-m00}>; +}; + +&{/cpus/cpu@40001} { + operating-points-v2 = <&{/opp-table-mcluster}>; + performance-domains = <&{/soc/performance-controller@210e20000}>; + next-level-cache = <&{/cpus/l2-cache-m00}>; +}; + +&{/cpus/cpu@40002} { + operating-points-v2 = <&{/opp-table-mcluster}>; + performance-domains = <&{/soc/performance-controller@210e20000}>; + next-level-cache = <&{/cpus/l2-cache-m00}>; +}; + +&{/cpus/cpu@40003} { + operating-points-v2 = <&{/opp-table-mcluster}>; + performance-domains = <&{/soc/performance-controller@210e20000}>; + next-level-cache = <&{/cpus/l2-cache-m00}>; +}; + +&{/cpus/cpu@40004} { + operating-points-v2 = <&{/opp-table-mcluster}>; + performance-domains = <&{/soc/performance-controller@210e20000}>; + next-level-cache = <&{/cpus/l2-cache-m00}>; +}; + +&{/cpus/cpu@40005} { + operating-points-v2 = <&{/opp-table-mcluster}>; + performance-domains = <&{/soc/performance-controller@210e20000}>; + next-level-cache = <&{/cpus/l2-cache-m00}>; +}; + +&{/cpus/cpu@40100} { + operating-points-v2 = <&{/opp-table-mcluster}>; + performance-domains = <&{/soc/performance-controller@211e20000}>; + next-level-cache = <&{/cpus/l2-cache-m01}>; +}; + +&{/cpus/cpu@40101} { + operating-points-v2 = <&{/opp-table-mcluster}>; + performance-domains = <&{/soc/performance-controller@211e20000}>; + next-level-cache = <&{/cpus/l2-cache-m01}>; +}; + +&{/cpus/cpu@40102} { + operating-points-v2 = <&{/opp-table-mcluster}>; + performance-domains = <&{/soc/performance-controller@211e20000}>; + next-level-cache = <&{/cpus/l2-cache-m01}>; +}; + +&{/cpus/cpu@40103} { + operating-points-v2 = <&{/opp-table-mcluster}>; + performance-domains = <&{/soc/performance-controller@211e20000}>; + next-level-cache = <&{/cpus/l2-cache-m01}>; +}; + +&{/cpus/cpu@40104} { + operating-points-v2 = <&{/opp-table-mcluster}>; + performance-domains = <&{/soc/performance-controller@211e20000}>; + next-level-cache = <&{/cpus/l2-cache-m01}>; +}; + +&{/cpus/cpu@40105} { + operating-points-v2 = <&{/opp-table-mcluster}>; + performance-domains = <&{/soc/performance-controller@211e20000}>; + next-level-cache = <&{/cpus/l2-cache-m01}>; +}; + +&{/cpus/cpu@10200} { + operating-points-v2 = <&{/opp-table-pcluster}>; + performance-domains = <&{/soc/performance-controller@212e20000}>; + next-level-cache = <&{/cpus/l2-cache-p0-0}>; +}; + +&{/cpus/cpu@10201} { + operating-points-v2 = <&{/opp-table-pcluster}>; + performance-domains = <&{/soc/performance-controller@212e20000}>; + next-level-cache = <&{/cpus/l2-cache-p0-1}>; +}; + +&{/cpus/cpu@10202} { + operating-points-v2 = <&{/opp-table-pcluster}>; + performance-domains = <&{/soc/performance-controller@212e20000}>; + next-level-cache = <&{/cpus/l2-cache-p0-2}>; +}; + +&{/cpus/cpu@10203} { + operating-points-v2 = <&{/opp-table-pcluster}>; + performance-domains = <&{/soc/performance-controller@212e20000}>; + next-level-cache = <&{/cpus/l2-cache-p0-3}>; +}; + +&{/cpus/cpu@10204} { + operating-points-v2 = <&{/opp-table-pcluster}>; + performance-domains = <&{/soc/performance-controller@212e20000}>; + next-level-cache = <&{/cpus/l2-cache-p0-4}>; +}; + +&{/cpus/cpu@10205} { + operating-points-v2 = <&{/opp-table-pcluster}>; + performance-domains = <&{/soc/performance-controller@212e20000}>; + next-level-cache = <&{/cpus/l2-cache-p0-5}>; +}; + +&{/cpus/cpu-map} { +}; + +&{/cpus/cpu-map/cluster0} { +}; + +&{/cpus/cpu-map/cluster0/core0} { + cpu = <&{/cpus/cpu@40000}>; +}; + +&{/cpus/cpu-map/cluster0/core1} { + cpu = <&{/cpus/cpu@40001}>; +}; + +&{/cpus/cpu-map/cluster0/core2} { + cpu = <&{/cpus/cpu@40002}>; +}; + +&{/cpus/cpu-map/cluster0/core3} { + cpu = <&{/cpus/cpu@40003}>; +}; + +&{/cpus/cpu-map/cluster0/core4} { + cpu = <&{/cpus/cpu@40004}>; +}; + +&{/cpus/cpu-map/cluster0/core5} { + cpu = <&{/cpus/cpu@40005}>; +}; + +&{/cpus/cpu-map/cluster1} { +}; + +&{/cpus/cpu-map/cluster1/core0} { + cpu = <&{/cpus/cpu@40100}>; +}; + +&{/cpus/cpu-map/cluster1/core1} { + cpu = <&{/cpus/cpu@40101}>; +}; + +&{/cpus/cpu-map/cluster1/core2} { + cpu = <&{/cpus/cpu@40102}>; +}; + +&{/cpus/cpu-map/cluster1/core3} { + cpu = <&{/cpus/cpu@40103}>; +}; + +&{/cpus/cpu-map/cluster1/core4} { + cpu = <&{/cpus/cpu@40104}>; +}; + +&{/cpus/cpu-map/cluster1/core5} { + cpu = <&{/cpus/cpu@40105}>; +}; + +&{/cpus/cpu-map/cluster2} { +}; + +&{/cpus/cpu-map/cluster2/core0} { + cpu = <&{/cpus/cpu@10200}>; +}; + +&{/cpus/cpu-map/cluster2/core1} { + cpu = <&{/cpus/cpu@10201}>; +}; + +&{/cpus/cpu-map/cluster2/core2} { + cpu = <&{/cpus/cpu@10202}>; +}; + +&{/cpus/cpu-map/cluster2/core3} { + cpu = <&{/cpus/cpu@10203}>; +}; + +&{/cpus/cpu-map/cluster2/core4} { + cpu = <&{/cpus/cpu@10204}>; +}; + +&{/cpus/cpu-map/cluster2/core5} { + cpu = <&{/cpus/cpu@10205}>; +}; + +&{/cpus/l2-cache-m00} { +}; + +&{/cpus/l2-cache-m01} { +}; + +&{/cpus/l3-cache-p0} { +}; + +&{/cpus/l2-cache-p0-0} { + next-level-cache = <&{/cpus/l3-cache-p0}>; +}; + +&{/cpus/l2-cache-p0-1} { + next-level-cache = <&{/cpus/l3-cache-p0}>; +}; + +&{/cpus/l2-cache-p0-2} { + next-level-cache = <&{/cpus/l3-cache-p0}>; +}; + +&{/cpus/l2-cache-p0-3} { + next-level-cache = <&{/cpus/l3-cache-p0}>; +}; + +&{/cpus/l2-cache-p0-4} { + next-level-cache = <&{/cpus/l3-cache-p0}>; +}; + +&{/cpus/l2-cache-p0-5} { + next-level-cache = <&{/cpus/l3-cache-p0}>; +}; + +&{/opp-table-mcluster} { +}; + +&{/opp-table-mcluster/opp01} { +}; + +&{/opp-table-mcluster/opp02} { +}; + +&{/opp-table-mcluster/opp03} { +}; + +&{/opp-table-mcluster/opp04} { +}; + +&{/opp-table-mcluster/opp05} { +}; + +&{/opp-table-mcluster/opp06} { +}; + +&{/opp-table-mcluster/opp07} { +}; + +&{/opp-table-mcluster/opp08} { +}; + +&{/opp-table-mcluster/opp09} { +}; + +&{/opp-table-mcluster/opp10} { +}; + +&{/opp-table-mcluster/opp11} { +}; + +&{/opp-table-mcluster/opp12} { +}; + +&{/opp-table-mcluster/opp13} { +}; + +&{/opp-table-mcluster/opp14} { +}; + +&{/opp-table-mcluster/opp15} { +}; + +&{/opp-table-mcluster/opp16} { +}; + +&{/opp-table-pcluster} { +}; + +&{/opp-table-pcluster/opp01} { +}; + +&{/opp-table-pcluster/opp02} { +}; + +&{/opp-table-pcluster/opp03} { +}; + +&{/opp-table-pcluster/opp04} { +}; + +&{/opp-table-pcluster/opp05} { +}; + +&{/opp-table-pcluster/opp06} { +}; + +&{/opp-table-pcluster/opp07} { +}; + +&{/opp-table-pcluster/opp08} { +}; + +&{/opp-table-pcluster/opp09} { +}; + +&{/opp-table-pcluster/opp10} { +}; + +&{/opp-table-pcluster/opp11} { +}; + +&{/opp-table-pcluster/opp12} { +}; + +&{/opp-table-pcluster/opp13} { +}; + +&{/opp-table-pcluster/opp14} { +}; + +&{/opp-table-pcluster/opp15} { +}; + +&{/opp-table-pcluster/opp16} { +}; + +&{/opp-table-pcluster/opp17} { +}; + +&{/opp-table-pcluster/opp18} { +}; + +&{/opp-table-pcluster/opp19} { +}; + +&{/opp-table-pcluster/opp20} { +}; + +&{/opp-table-pcluster/opp21} { +}; + +&{/clock-ref} { +}; + +&{/clock-405m} { +}; + +&{/timer} { + interrupt-parent = <&{/soc/interrupt-controller@280400000}>; +}; + +&{/soc/performance-controller@210e20000} { +}; + +&{/soc/performance-controller@211e20000} { +}; + +&{/soc/performance-controller@212e20000} { +}; + +&{/soc/power-management@280600000} { +}; + +&{/soc/power-management@280600000/power-controller@210} { +}; + +&{/soc/power-management@280600000/power-controller@238} { +}; + +&{/soc/power-management@280600000/power-controller@240} { +}; + +&{/soc/power-management@280600000/power-controller@248} { +}; + +&{/soc/power-management@280600000/power-controller@2f8} { + power-domains = <&{/soc/power-management@280600000/power-controller@240}>; +}; + +&{/soc/power-management@280600000/power-controller@410} { + power-domains = <&{/soc/power-management@280600000/power-controller@2f8}>; +}; + +&{/soc/power-management@280600000/power-controller@418} { + power-domains = <&{/soc/power-management@280600000/power-controller@2f8}>; +}; + +&{/soc/power-management@280600000/power-controller@420} { + power-domains = <&{/soc/power-management@280600000/power-controller@2f8} &{/soc/power-management@280600000/power-controller@248}>; +}; + +&{/soc/power-management@280600000/power-controller@2e8} { + power-domains = <&{/soc/power-management@280600000/power-controller@238}>; +}; + +&{/soc/power-management@280600000/power-controller@3f8} { + power-domains = <&{/soc/power-management@280600000/power-controller@2e8}>; +}; + +&{/soc/power-management@280600000/power-controller@400} { + power-domains = <&{/soc/power-management@280600000/power-controller@2e8}>; +}; + +&{/soc/power-management@280600000/power-controller@408} { + power-domains = <&{/soc/power-management@280600000/power-controller@2e8} &{/soc/power-management@280600000/power-controller@248}>; +}; + +&{/soc/power-management@280600000/power-controller@100} { +}; + +&{/soc/power-management@280600000/power-controller@128} { + power-domains = <&{/soc/power-management@280600000/power-controller@100}>; +}; + +&{/soc/power-management@280600000/power-controller@130} { + power-domains = <&{/soc/power-management@280600000/power-controller@100}>; +}; + +&{/soc/power-management@280600000/power-controller@1d8} { +}; + +&{/soc/power-management@280600000/power-controller@1e0} { + power-domains = <&{/soc/power-management@280600000/power-controller@1d8}>; +}; + +&{/soc/power-management@280600000/power-controller@1f0} { + power-domains = <&{/soc/power-management@280600000/power-controller@1d8}>; +}; + +&{/soc/power-management@280600000/power-controller@1f8} { + power-domains = <&{/soc/power-management@280600000/power-controller@1e0}>; +}; + +&{/soc/power-management@280600000/power-controller@208} { + power-domains = <&{/soc/power-management@280600000/power-controller@1e0}>; +}; + +&{/soc/power-management@280600000/power-controller@258} { + power-domains = <&{/soc/power-management@280600000/power-controller@1f8}>; +}; + +&{/soc/power-management@280600000/power-controller@280} { + power-domains = <&{/soc/power-management@280600000/power-controller@208}>; +}; + +&{/soc/power-management@280600000/power-controller@288} { + power-domains = <&{/soc/power-management@280600000/power-controller@208}>; +}; + +&{/soc/power-management@280600000/power-controller@290} { + power-domains = <&{/soc/power-management@280600000/power-controller@210}>; +}; + +&{/soc/power-management@280600000/power-controller@298} { + power-domains = <&{/soc/power-management@280600000/power-controller@210}>; +}; + +&{/soc/power-management@280600000/power-controller@2f0} { + power-domains = <&{/soc/power-management@280600000/power-controller@238}>; +}; + +&{/soc/power-management@280600000/power-controller@300} { + power-domains = <&{/soc/power-management@280600000/power-controller@240}>; +}; + +&{/soc/power-management@280600000/power-controller@338} { + power-domains = <&{/soc/power-management@280600000/power-controller@280}>; +}; + +&{/soc/power-management@280600000/power-controller@340} { + power-domains = <&{/soc/power-management@280600000/power-controller@280}>; +}; + +&{/soc/power-management@280600000/power-controller@348} { + power-domains = <&{/soc/power-management@280600000/power-controller@280} &{/soc/power-management@280600000/power-controller@248}>; +}; + +&{/soc/power-management@280600000/power-controller@350} { + power-domains = <&{/soc/power-management@280600000/power-controller@290}>; +}; + +&{/soc/power-management@280600000/power-controller@358} { + power-domains = <&{/soc/power-management@280600000/power-controller@290}>; +}; + +&{/soc/power-management@280600000/power-controller@360} { + power-domains = <&{/soc/power-management@280600000/power-controller@290} &{/soc/power-management@280600000/power-controller@248}>; +}; + +&{/soc/power-management@280600000/power-controller@270} { +}; + +&{/soc/power-management@280600000/power-controller@2d8} { +}; + +&{/soc/power-management@280900000} { +}; + +&{/soc/power-management@280900000/power-controller@2a8} { +}; + +&{/soc/power-management@280900000/power-controller@2b0} { +}; + +&{/soc/power-management@280900000/power-controller@2b8} { +}; + +&{/soc/power-management@280900000/power-controller@2c8} { +}; + +&{/soc/power-management@280900000/power-controller@2d0} { +}; + +&{/soc/power-management@280900000/power-controller@308} { +}; + +&{/soc/power-management@280900000/power-controller@350} { + power-domains = <&{/soc/power-management@280900000/power-controller@308}>; +}; + +&{/soc/power-management@280900000/power-controller@100} { +}; + +&{/soc/power-management@280900000/power-controller@108} { +}; + +&{/soc/power-management@280900000/power-controller@110} { +}; + +&{/soc/power-management@280900000/power-controller@118} { +}; + +&{/soc/power-management@280900000/power-controller@120} { +}; + +&{/soc/power-management@280900000/power-controller@128} { +}; + +&{/soc/power-management@280900000/power-controller@130} { +}; + +&{/soc/power-management@280900000/power-controller@138} { + power-domains = <&{/soc/power-management@280600000/power-controller@1d8}>; +}; + +&{/soc/power-management@280900000/power-controller@140} { + power-domains = <&{/soc/power-management@280900000/power-controller@138}>; +}; + +&{/soc/power-management@280900000/power-controller@148} { + power-domains = <&{/soc/power-management@280900000/power-controller@118} &{/soc/power-management@280900000/power-controller@138}>; +}; + +&{/soc/power-management@280900000/power-controller@150} { + power-domains = <&{/soc/power-management@280900000/power-controller@128} &{/soc/power-management@280900000/power-controller@140}>; +}; + +&{/soc/power-management@280900000/power-controller@158} { + power-domains = <&{/soc/power-management@280900000/power-controller@130} &{/soc/power-management@280900000/power-controller@140}>; +}; + +&{/soc/power-management@280900000/power-controller@178} { + power-domains = <&{/soc/power-management@280600000/power-controller@1d8}>; +}; + +&{/soc/power-management@280900000/power-controller@180} { + power-domains = <&{/soc/power-management@280900000/power-controller@178}>; +}; + +&{/soc/power-management@280900000/power-controller@188} { + power-domains = <&{/soc/power-management@280900000/power-controller@120} &{/soc/power-management@280900000/power-controller@138}>; +}; + +&{/soc/power-management@280900000/power-controller@190} { + power-domains = <&{/soc/power-management@280900000/power-controller@178}>; +}; + +&{/soc/power-management@280900000/power-controller@198} { + power-domains = <&{/soc/power-management@280900000/power-controller@180}>; +}; + +&{/soc/power-management@280900000/power-controller@1a8} { + power-domains = <&{/soc/power-management@280900000/power-controller@198}>; +}; + +&{/soc/power-management@280900000/power-controller@1b0} { + power-domains = <&{/soc/power-management@280900000/power-controller@148} &{/soc/power-management@280900000/power-controller@188}>; +}; + +&{/soc/power-management@280900000/power-controller@240} { + power-domains = <&{/soc/power-management@280900000/power-controller@1b0}>; +}; + +&{/soc/power-management@280900000/power-controller@248} { + power-domains = <&{/soc/power-management@280900000/power-controller@1b0}>; +}; + +&{/soc/power-management@280900000/power-controller@250} { + power-domains = <&{/soc/power-management@280900000/power-controller@1b0}>; +}; + +&{/soc/power-management@280900000/power-controller@258} { + power-domains = <&{/soc/power-management@280900000/power-controller@1b0}>; +}; + +&{/soc/power-management@280900000/power-controller@268} { + power-domains = <&{/soc/power-management@280900000/power-controller@240}>; +}; + +&{/soc/power-management@280900000/power-controller@270} { + power-domains = <&{/soc/power-management@280900000/power-controller@248}>; +}; + +&{/soc/power-management@280900000/power-controller@278} { + power-domains = <&{/soc/power-management@280900000/power-controller@250}>; +}; + +&{/soc/power-management@280900000/power-controller@280} { + power-domains = <&{/soc/power-management@280900000/power-controller@258}>; +}; + +&{/soc/power-management@280900000/power-controller@288} { + power-domains = <&{/soc/power-management@280600000/power-controller@1d8}>; +}; + +&{/soc/power-management@280900000/power-controller@290} { + power-domains = <&{/soc/power-management@280900000/power-controller@288}>; +}; + +&{/soc/power-management@280900000/power-controller@298} { + power-domains = <&{/soc/power-management@280900000/power-controller@288}>; +}; + +&{/soc/power-management@280900000/power-controller@2a0} { + power-domains = <&{/soc/power-management@280900000/power-controller@290}>; +}; + +&{/soc/power-management@280900000/power-controller@2c0} { + power-domains = <&{/soc/power-management@280900000/power-controller@290}>; +}; + +&{/soc/power-management@280900000/power-controller@2d8} { + power-domains = <&{/soc/power-management@280900000/power-controller@290}>; +}; + +&{/soc/power-management@280900000/power-controller@2e0} { + power-domains = <&{/soc/power-management@280900000/power-controller@290}>; +}; + +&{/soc/power-management@280900000/power-controller@2e8} { + power-domains = <&{/soc/power-management@280900000/power-controller@290}>; +}; + +&{/soc/power-management@280900000/power-controller@2f0} { + power-domains = <&{/soc/power-management@280900000/power-controller@290}>; +}; + +&{/soc/power-management@280900000/power-controller@2f8} { + power-domains = <&{/soc/power-management@280900000/power-controller@290}>; +}; + +&{/soc/power-management@280900000/power-controller@300} { + power-domains = <&{/soc/power-management@280900000/power-controller@290}>; +}; + +&{/soc/power-management@280900000/power-controller@310} { + power-domains = <&{/soc/power-management@280900000/power-controller@290}>; +}; + +&{/soc/power-management@280900000/power-controller@318} { + power-domains = <&{/soc/power-management@280900000/power-controller@290}>; +}; + +&{/soc/power-management@280900000/power-controller@330} { + power-domains = <&{/soc/power-management@280900000/power-controller@308}>; +}; + +&{/soc/power-management@280900000/power-controller@338} { + power-domains = <&{/soc/power-management@280900000/power-controller@308}>; +}; + +&{/soc/power-management@280900000/power-controller@340} { + power-domains = <&{/soc/power-management@280900000/power-controller@308}>; +}; + +&{/soc/power-management@280900000/power-controller@360} { + power-domains = <&{/soc/power-management@280900000/power-controller@310}>; +}; + +&{/soc/power-management@280900000/power-controller@398} { + power-domains = <&{/soc/power-management@280600000/power-controller@1d8}>; +}; + +&{/soc/power-management@280900000/power-controller@3a0} { + power-domains = <&{/soc/power-management@280900000/power-controller@398}>; +}; + +&{/soc/power-management@280900000/power-controller@3c8} { +}; + +&{/soc/power-management@280900000/power-controller@3f8} { +}; + +&{/soc/power-management@288300000} { +}; + +&{/soc/power-management@288300000/power-controller@160} { +}; + +&{/soc/power-management@288300000/power-controller@168} { + power-domains = <&{/soc/power-management@280600000/power-controller@210} &{/soc/power-management@288300000/power-controller@160}>; +}; + +&{/soc/power-management@288300000/power-controller@170} { + power-domains = <&{/soc/power-management@280600000/power-controller@210} &{/soc/power-management@288300000/power-controller@160}>; +}; + +&{/soc/power-management@288300000/power-controller@178} { +}; + +&{/soc/power-management@288300000/power-controller@188} { + power-domains = <&{/soc/power-management@280600000/power-controller@238} &{/soc/power-management@288300000/power-controller@178}>; +}; + +&{/soc/power-management@288300000/power-controller@180} { + power-domains = <&{/soc/power-management@280600000/power-controller@238} &{/soc/power-management@288300000/power-controller@178}>; +}; + +&{/soc/power-management@288300000/power-controller@190} { +}; + +&{/soc/power-management@288300000/power-controller@198} { + power-domains = <&{/soc/power-management@280600000/power-controller@240} &{/soc/power-management@288300000/power-controller@190}>; +}; + +&{/soc/power-management@288300000/power-controller@1a0} { + power-domains = <&{/soc/power-management@280600000/power-controller@240} &{/soc/power-management@288300000/power-controller@190}>; +}; + +&{/soc/power-management@288300000/power-controller@58} { +}; + +&{/soc/power-management@288300000/power-controller@98} { +}; + +&{/soc/power-management@288300000/power-controller@a0} { +}; + +&{/soc/power-management@288300000/power-controller@a8} { +}; + +&{/soc/power-management@288300000/power-controller@b0} { +}; + +&{/soc/power-management@288300000/power-controller@b8} { +}; + +&{/soc/power-management@288300000/power-controller@c0} { +}; + +&{/soc/power-management@288300000/power-controller@c8} { +}; + +&{/soc/power-management@288300000/power-controller@d0} { +}; + +&{/soc/power-management@288300000/power-controller@d8} { +}; + +&{/soc/power-management@288300000/power-controller@e0} { +}; + +&{/soc/power-management@288300000/power-controller@e8} { +}; + +&{/soc/power-management@288300000/power-controller@f0} { +}; + +&{/soc/power-management@288300000/power-controller@f8} { +}; + +&{/soc/power-management@288300000/power-controller@100} { +}; + +&{/soc/power-management@288300000/power-controller@108} { +}; + +&{/soc/power-management@288300000/power-controller@110} { +}; + +&{/soc/power-management@288300000/power-controller@148} { +}; + +&{/soc/power-management@288300000/power-controller@150} { + power-domains = <&{/soc/power-management@280600000/power-controller@208} &{/soc/power-management@288300000/power-controller@148}>; +}; + +&{/soc/power-management@288300000/power-controller@158} { + power-domains = <&{/soc/power-management@280600000/power-controller@208} &{/soc/power-management@288300000/power-controller@148}>; +}; + +&{/soc/iommu@2b2340000} { +}; + +&{/soc/iommu@2b2300000} { +}; + +&{/soc/mailbox@2b2e08000} { +}; + +&{/soc/pmc-metadata@286700000} { +}; + +&{/soc/dcp@2b2e00000} { + mboxes = <&{/soc/mailbox@2b2e08000}>; + iommus = <&{/soc/iommu@2b2340000} 0x17>; + apple,bw-scratch = <&{/soc/pmc-metadata@286700000} 0x0 0x5 0x2c000>; + phys = <&{/soc/phy@383000000} 0x6 &{/soc/phy@2ab000000} 0x6 &{/soc/phy@38b000000} 0x6 &{/soc/phy@2a3000000} 0x6>; + mux-controls = <&{/soc/mux@38324c000} 0x0 &{/soc/mux@2ab24c000} 0x0 &{/soc/mux@38b24c000} 0x0 &{/soc/mux@2a324c000} 0x0>; +}; + +&{/soc/dcp@2b2e00000/piodma} { + iommus = <&{/soc/iommu@2b2300000} 0x10>; +}; + +&{/soc/dcp@2b2e00000/typec-routes} { +}; + +&{/soc/dcp@2b2e00000/typec-routes/route@0} { +}; + +&{/soc/dcp@2b2e00000/typec-routes/route@0/port} { +}; + +&{/soc/dcp@2b2e00000/typec-routes/route@0/port/endpoint} { + remote-endpoint = <&{/soc/spmi@28a188000/usb-pd@8/connector/ports/port@2/endpoint}>; +}; + +&{/soc/dcp@2b2e00000/typec-routes/route@1} { +}; + +&{/soc/dcp@2b2e00000/typec-routes/route@1/port} { +}; + +&{/soc/dcp@2b2e00000/typec-routes/route@1/port/endpoint} { + remote-endpoint = <&{/soc/spmi@28a188000/usb-pd@a/connector/ports/port@2/endpoint}>; +}; + +&{/soc/dcp@2b2e00000/typec-routes/route@2} { +}; + +&{/soc/dcp@2b2e00000/typec-routes/route@2/port} { +}; + +&{/soc/dcp@2b2e00000/typec-routes/route@2/port/endpoint} { + remote-endpoint = <&{/soc/spmi@28a188000/usb-pd@6/connector/ports/port@2/endpoint}>; +}; + +&{/soc/dcp@2b2e00000/typec-routes/route@3} { +}; + +&{/soc/dcp@2b2e00000/typec-routes/route@3/port} { +}; + +&{/soc/dcp@2b2e00000/typec-routes/route@3/port/endpoint} { + remote-endpoint = <&{/soc/spmi@28a188000/usb-pd@c/connector/ports/port@2/endpoint}>; +}; + +&{/soc/dcp@2b2e00000/ports} { +}; + +&{/soc/dcp@2b2e00000/ports/port@0} { +}; + +&{/soc/dcp@2b2e00000/ports/port@0/endpoint} { + remote-endpoint = <&{/audio-controller-dispext0/ports/port@0/endpoint}>; +}; + +&{/soc/mailbox@2ab148000} { + status = "okay"; +}; + +&{/soc/phy@2ab000000} { + mboxes = <&{/soc/mailbox@2ab148000}>; + power-domains = <&{/soc/power-management@288300000/power-controller@160} &{/soc/power-management@280600000/power-controller@210} &{/soc/power-management@288300000/power-controller@170} &{/soc/power-management@288300000/power-controller@168}>; +}; + +&{/soc/phy@2ab000000/port} { +}; + +&{/soc/phy@2ab000000/port/endpoint} { + remote-endpoint = <&{/soc/spmi@28a188000/usb-pd@a/connector/ports/port@1/endpoint}>; +}; + +&{/soc/usb@2aa280000} { + iommus = <&{/soc/iommu@2aaf00000} 0x0 &{/soc/iommu@2aaf80000} 0x1>; + power-domains = <&{/soc/power-management@288300000/power-controller@168}>; + resets = <&{/soc/phy@2ab000000} 0x0>; + phys = <&{/soc/phy@2ab000000} 0x3 &{/soc/phy@2ab000000} 0x4>; +}; + +&{/soc/usb@2aa280000/port} { +}; + +&{/soc/usb@2aa280000/port/endpoint} { + remote-endpoint = <&{/soc/spmi@28a188000/usb-pd@a/connector/ports/port@0/endpoint}>; +}; + +&{/soc/iommu@2aaf00000} { + power-domains = <&{/soc/power-management@288300000/power-controller@168}>; +}; + +&{/soc/iommu@2aaf80000} { + power-domains = <&{/soc/power-management@288300000/power-controller@168}>; +}; + +&{/soc/interrupt-controller@280400000} { +}; + +&{/soc/serial@288e3c000} { +}; + +&{/soc/watchdog@28836c000} { + clocks = <&{/clock-ref}>; +}; + +&{/soc/mailbox@28c608000} { +}; + +&{/soc/pinctrl@290824000} { + gpio-ranges = <&{/soc/pinctrl@290824000} 0x0 0x0 0x55>; + interrupt-parent = <&{/soc/interrupt-controller@280400000}>; +}; + +&{/soc/pinctrl@290824000/acio0-lstx-pins} { +}; + +&{/soc/pinctrl@290824000/acio1-lstx-pins} { +}; + +&{/soc/pinctrl@290824000/acio3-lstx-pins} { +}; + +&{/soc/pinctrl@290824000/acio2-lstx-pins} { +}; + +&{/soc/smc@28c600000} { + mboxes = <&{/soc/mailbox@28c608000}>; +}; + +&{/soc/smc@28c600000/gpio-low} { +}; + +&{/soc/smc@28c600000/hwmon} { +}; + +&{/soc/smc@28c600000/hwmon/fan-F0Ac} { +}; + +&{/soc/smc@28c600000/hwmon/fan-F1Ac} { +}; + +&{/soc/smc@28c600000/reboot} { + nvmem-cells = <&{/soc/spmi@28a014000/pmic@e/nvmem-layout/shutdown-flag@f80f,3} &{/soc/spmi@28a014000/pmic@e/nvmem-layout/boot-stage@f801} &{/soc/spmi@28a014000/pmic@e/nvmem-layout/boot-error-count@f802,0} &{/soc/spmi@28a014000/pmic@e/nvmem-layout/panic-count@f802,4} &{/soc/spmi@28a014000/pmic@e/nvmem-layout/pm-setting@2001}>; +}; + +&{/soc/smc@28c600000/gpio} { +}; + +&{/soc/smc@28c600000/rtc} { + /delete-property/ wakeup-source; + /delete-property/ interrupts-extended; + nvmem-cells = <&{/soc/spmi@28a014000/pmic@e/nvmem-layout/rtc-offset@2100}>; + nvmem-cell-names = "rtc_offset"; +}; + +&{/soc/iommu@41dc50000} { +}; + +&{/soc/mailbox@419608000} { +}; + +&{/soc/nvme@45dcc0000} { + mboxes = <&{/soc/mailbox@419608000}>; + apple,sart = <&{/soc/iommu@41dc50000}>; +}; + +&{/soc/iommu@412000000} { +}; + +&{/soc/iommu@410000000} { +}; + +&{/soc/iommu@413000000} { +}; + +&{/soc/spmi@28a014000} { +}; + +&{/soc/spmi@28a014000/pmic@e} { +}; + +&{/soc/spmi@28a014000/pmic@e/nvmem-layout} { +}; + +&{/soc/spmi@28a014000/pmic@e/nvmem-layout/pm-setting@2001} { +}; + +&{/soc/spmi@28a014000/pmic@e/nvmem-layout/rtc-offset@2100} { +}; + +&{/soc/spmi@28a014000/pmic@e/nvmem-layout/boot-stage@f801} { +}; + +&{/soc/spmi@28a014000/pmic@e/nvmem-layout/boot-error-count@f802,0} { +}; + +&{/soc/spmi@28a014000/pmic@e/nvmem-layout/panic-count@f802,4} { +}; + +&{/soc/spmi@28a014000/pmic@e/nvmem-layout/shutdown-flag@f80f,3} { +}; + +&{/soc/power-management@286806000} { +}; + +&{/soc/power-management@286806000/performance-controller@1} { + apple,smc = <&smc>; +}; + +&{/soc/reset-controller@280620000} { + status = "okay"; +}; + +&{/soc/mailbox@383148000} { +}; + +&{/soc/phy@383000000} { + mboxes = <&{/soc/mailbox@383148000}>; + power-domains = <&{/soc/power-management@288300000/power-controller@178} &{/soc/power-management@280600000/power-controller@238} &{/soc/power-management@288300000/power-controller@188} &{/soc/power-management@288300000/power-controller@180}>; +}; + +&{/soc/phy@383000000/port} { +}; + +&{/soc/phy@383000000/port/endpoint} { + remote-endpoint = <&{/soc/spmi@28a188000/usb-pd@8/connector/ports/port@1/endpoint}>; +}; + +&{/soc/mux@38324c000} { + power-domains = <&{/soc/power-management@288300000/power-controller@178} &{/soc/power-management@280600000/power-controller@238}>; +}; + +&{/soc/spmi@28a188000} { + status = "okay"; +}; + +&{/soc/spmi@28a188000/usb-pd@c} { +}; + +&{/soc/spmi@28a188000/usb-pd@c/connector} { +}; + +&{/soc/spmi@28a188000/usb-pd@c/connector/ports} { +}; + +&{/soc/spmi@28a188000/usb-pd@c/connector/ports/port@0} { +}; + +&{/soc/spmi@28a188000/usb-pd@c/connector/ports/port@0/endpoint} { + remote-endpoint = <&{/soc/usb@2a2280000/port/endpoint}>; +}; + +&{/soc/spmi@28a188000/usb-pd@c/connector/ports/port@1} { +}; + +&{/soc/spmi@28a188000/usb-pd@c/connector/ports/port@1/endpoint} { + remote-endpoint = <&{/soc/phy@2a3000000/port/endpoint}>; +}; + +&{/soc/spmi@28a188000/usb-pd@c/connector/ports/port@3} { +}; + +&{/soc/spmi@28a188000/usb-pd@c/connector/ports/port@3/endpoint} { + remote-endpoint = <&{/soc/acio@2a1ac0000/ports/port@1/endpoint}>; +}; + +&{/soc/spmi@28a188000/usb-pd@c/connector/ports/port@2} { +}; + +&{/soc/spmi@28a188000/usb-pd@c/connector/ports/port@2/endpoint} { + remote-endpoint = <&{/soc/dcp@2b2e00000/typec-routes/route@3/port/endpoint}>; +}; + +&{/soc/spmi@28a188000/usb-pd@a} { +}; + +&{/soc/spmi@28a188000/usb-pd@a/connector} { +}; + +&{/soc/spmi@28a188000/usb-pd@a/connector/ports} { +}; + +&{/soc/spmi@28a188000/usb-pd@a/connector/ports/port@0} { +}; + +&{/soc/spmi@28a188000/usb-pd@a/connector/ports/port@0/endpoint} { + remote-endpoint = <&{/soc/usb@2aa280000/port/endpoint}>; +}; + +&{/soc/spmi@28a188000/usb-pd@a/connector/ports/port@1} { +}; + +&{/soc/spmi@28a188000/usb-pd@a/connector/ports/port@1/endpoint} { + remote-endpoint = <&{/soc/phy@2ab000000/port/endpoint}>; +}; + +&{/soc/spmi@28a188000/usb-pd@a/connector/ports/port@3} { +}; + +&{/soc/spmi@28a188000/usb-pd@a/connector/ports/port@3/endpoint} { + remote-endpoint = <&{/soc/acio@2a9ac0000/ports/port@1/endpoint}>; +}; + +&{/soc/spmi@28a188000/usb-pd@a/connector/ports/port@2} { +}; + +&{/soc/spmi@28a188000/usb-pd@a/connector/ports/port@2/endpoint} { + remote-endpoint = <&{/soc/dcp@2b2e00000/typec-routes/route@1/port/endpoint}>; +}; + +&{/soc/spmi@28a188000/usb-pd@8} { +}; + +&{/soc/spmi@28a188000/usb-pd@8/connector} { +}; + +&{/soc/spmi@28a188000/usb-pd@8/connector/ports} { +}; + +&{/soc/spmi@28a188000/usb-pd@8/connector/ports/port@0} { +}; + +&{/soc/spmi@28a188000/usb-pd@8/connector/ports/port@0/endpoint} { + remote-endpoint = <&{/soc/usb@382280000/port/endpoint}>; +}; + +&{/soc/spmi@28a188000/usb-pd@8/connector/ports/port@1} { +}; + +&{/soc/spmi@28a188000/usb-pd@8/connector/ports/port@1/endpoint} { + remote-endpoint = <&{/soc/phy@383000000/port/endpoint}>; +}; + +&{/soc/spmi@28a188000/usb-pd@8/connector/ports/port@3} { +}; + +&{/soc/spmi@28a188000/usb-pd@8/connector/ports/port@3/endpoint} { + remote-endpoint = <&{/soc/acio@381ac0000/ports/port@1/endpoint}>; +}; + +&{/soc/spmi@28a188000/usb-pd@8/connector/ports/port@2} { +}; + +&{/soc/spmi@28a188000/usb-pd@8/connector/ports/port@2/endpoint} { + remote-endpoint = <&{/soc/dcp@2b2e00000/typec-routes/route@0/port/endpoint}>; +}; + +&{/soc/spmi@28a188000/usb-pd@6} { +}; + +&{/soc/spmi@28a188000/usb-pd@6/connector} { +}; + +&{/soc/spmi@28a188000/usb-pd@6/connector/ports} { +}; + +&{/soc/spmi@28a188000/usb-pd@6/connector/ports/port@0} { +}; + +&{/soc/spmi@28a188000/usb-pd@6/connector/ports/port@0/endpoint} { + remote-endpoint = <&{/soc/usb@38a280000/port/endpoint}>; +}; + +&{/soc/spmi@28a188000/usb-pd@6/connector/ports/port@1} { +}; + +&{/soc/spmi@28a188000/usb-pd@6/connector/ports/port@1/endpoint} { + remote-endpoint = <&{/soc/phy@38b000000/port/endpoint}>; +}; + +&{/soc/spmi@28a188000/usb-pd@6/connector/ports/port@3} { +}; + +&{/soc/spmi@28a188000/usb-pd@6/connector/ports/port@3/endpoint} { + remote-endpoint = <&{/soc/acio@389ac0000/ports/port@1/endpoint}>; +}; + +&{/soc/spmi@28a188000/usb-pd@6/connector/ports/port@2} { +}; + +&{/soc/spmi@28a188000/usb-pd@6/connector/ports/port@2/endpoint} { + remote-endpoint = <&{/soc/dcp@2b2e00000/typec-routes/route@2/port/endpoint}>; +}; + +&{/soc/usb@382280000} { + iommus = <&{/soc/iommu@382f00000} 0x0 &{/soc/iommu@382f80000} 0x1>; + power-domains = <&{/soc/power-management@288300000/power-controller@180}>; + resets = <&{/soc/phy@383000000} 0x0>; + phys = <&{/soc/phy@383000000} 0x3 &{/soc/phy@383000000} 0x4>; +}; + +&{/soc/usb@382280000/port} { +}; + +&{/soc/usb@382280000/port/endpoint} { + remote-endpoint = <&{/soc/spmi@28a188000/usb-pd@8/connector/ports/port@0/endpoint}>; +}; + +&{/soc/iommu@382f00000} { + power-domains = <&{/soc/power-management@288300000/power-controller@180}>; +}; + +&{/soc/iommu@382f80000} { + power-domains = <&{/soc/power-management@288300000/power-controller@180}>; +}; + +&{/soc/mailbox@38b148000} { + status = "okay"; +}; + +&{/soc/phy@38b000000} { + mboxes = <&{/soc/mailbox@38b148000}>; + power-domains = <&{/soc/power-management@288300000/power-controller@190} &{/soc/power-management@280600000/power-controller@240} &{/soc/power-management@288300000/power-controller@1a0} &{/soc/power-management@288300000/power-controller@198}>; +}; + +&{/soc/phy@38b000000/port} { +}; + +&{/soc/phy@38b000000/port/endpoint} { + remote-endpoint = <&{/soc/spmi@28a188000/usb-pd@6/connector/ports/port@1/endpoint}>; +}; + +&{/soc/usb@38a280000} { + iommus = <&{/soc/iommu@38af00000} 0x0 &{/soc/iommu@38af80000} 0x1>; + power-domains = <&{/soc/power-management@288300000/power-controller@198}>; + resets = <&{/soc/phy@38b000000} 0x0>; + phys = <&{/soc/phy@38b000000} 0x3 &{/soc/phy@38b000000} 0x4>; +}; + +&{/soc/usb@38a280000/port} { +}; + +&{/soc/usb@38a280000/port/endpoint} { + remote-endpoint = <&{/soc/spmi@28a188000/usb-pd@6/connector/ports/port@0/endpoint}>; +}; + +&{/soc/iommu@38af00000} { + power-domains = <&{/soc/power-management@288300000/power-controller@198}>; +}; + +&{/soc/iommu@38af80000} { + power-domains = <&{/soc/power-management@288300000/power-controller@198}>; +}; + +&{/soc/spmi@28a1c8000} { +}; + +&{/soc/pinctrl@29c000000} { + gpio-ranges = <&{/soc/pinctrl@29c000000} 0x0 0x0 0xdd>; + interrupt-parent = <&{/soc/interrupt-controller@280400000}>; +}; + +&{/soc/i2c@505014000} { + clocks = <&{/clock-ref}>; + interrupt-parent = <&{/soc/interrupt-controller@280400000}>; + power-domains = <&{/soc/power-management@280900000/power-controller@2c8}>; +}; + +&{/soc/i2c@505014000/codec@38} { + shutdown-gpios = <&{/soc/pinctrl@29c000000} 0x6b 0x0>; + interrupts-extended = <&{/soc/pinctrl@29c000000} 0x6a 0x8>; +}; + +&{/soc/i2c@505018000} { + clocks = <&{/clock-ref}>; + interrupt-parent = <&{/soc/interrupt-controller@280400000}>; + power-domains = <&{/soc/power-management@280900000/power-controller@2d0}>; +}; + +&{/soc/i2c@505018000/codec@4b} { + reset-gpios = <&{/soc/pinctrl@29c000000} 0x8b 0x0>; + interrupts-extended = <&{/soc/pinctrl@29c000000} 0x86 0x8>; +}; + +&{/soc/pwm@505040000} { + clocks = <&{/clock-ref}>; + power-domains = <&{/soc/power-management@280900000/power-controller@2a8}>; +}; + +&{/soc/pwm@505044000} { + clocks = <&{/clock-ref}>; + power-domains = <&{/soc/power-management@280900000/power-controller@2b0}>; +}; + +&{/soc/pwm@505048000} { + clocks = <&{/clock-ref}>; + power-domains = <&{/soc/power-management@280900000/power-controller@2b8}>; +}; + +&{/soc/spi@505118000} { + clocks = <&{/clock-405m}>; + interrupt-parent = <&{/soc/interrupt-controller@280400000}>; + power-domains = <&{/soc/power-management@280900000/power-controller@350}>; +}; + +&{/soc/spi@505118000/flash@0} { +}; + +&{/soc/spi@505118000/flash@0/partitions} { +}; + +&{/soc/spi@505118000/flash@0/partitions/partition@700000} { +}; + +&{/soc/mailbox@290608000} { +}; + +&{/soc/iommu@290fc0000} { + interrupt-parent = <&{/soc/interrupt-controller@280400000}>; +}; + +&{/soc/dma-controller@293800000} { + interrupts-extended = <&{/soc/interrupt-controller@280400000} 0x0 0x0 0x27d 0x4 0 0 0>; + iommus = <&{/soc/iommu@290fc0000} 0x8>; +}; + +&{/soc/aop@290c00000} { + mboxes = <&{/soc/mailbox@290608000}>; + iommus = <&{/soc/iommu@290fc0000} 0x0>; +}; + +&{/soc/aop@290c00000/audio} { + dmas = <&{/soc/dma-controller@293800000} 0x4 &{/soc/dma-controller@293800000} 0x5 &{/soc/dma-controller@293800000} 0x0 &{/soc/dma-controller@293800000} 0x1>; +}; + +&{/soc/mailbox@2a1108000} { +}; + +&{/soc/acio@2a1ac0000} { + mboxes = <&{/soc/mailbox@2a1108000}>; + resets = <&{/soc/reset-controller@280620000} 0x0>; + power-domains = <&{/soc/power-management@280600000/power-controller@280} &{/soc/power-management@280600000/power-controller@338} &{/soc/power-management@280600000/power-controller@340} &{/soc/power-management@280600000/power-controller@348}>; + pinctrl-0 = <&{/soc/pinctrl@290824000/acio0-lstx-pins}>; + lstx-gpios = <&{/soc/pinctrl@290824000} 0x4d 0x0>; + apple,tunable-pcie-adapter = <0x1008 0x6 0x6>; + apple,tunable-router-ap-fw = <0x8 0xff2 0x482>; +}; + +&{/soc/acio@2a1ac0000/iommu@a80000} { + power-domains = <&{/soc/power-management@280600000/power-controller@280}>; +}; + +&{/soc/acio@2a1ac0000/nhi@f00000} { + iommus = <&{/soc/acio@2a1ac0000/iommu@a80000} 0x0 &{/soc/acio@2a1ac0000/iommu@a80000} 0x1 &{/soc/acio@2a1ac0000/iommu@a80000} 0x2 &{/soc/acio@2a1ac0000/iommu@a80000} 0x3 &{/soc/acio@2a1ac0000/iommu@a80000} 0x4 &{/soc/acio@2a1ac0000/iommu@a80000} 0x5 &{/soc/acio@2a1ac0000/iommu@a80000} 0x6 &{/soc/acio@2a1ac0000/iommu@a80000} 0x7 &{/soc/acio@2a1ac0000/iommu@a80000} 0x8 &{/soc/acio@2a1ac0000/iommu@a80000} 0x9 &{/soc/acio@2a1ac0000/iommu@a80000} 0xa &{/soc/acio@2a1ac0000/iommu@a80000} 0xb &{/soc/acio@2a1ac0000/iommu@a80000} 0x10 &{/soc/acio@2a1ac0000/iommu@a80000} 0x11 &{/soc/acio@2a1ac0000/iommu@a80000} 0x12 &{/soc/acio@2a1ac0000/iommu@a80000} 0x13 &{/soc/acio@2a1ac0000/iommu@a80000} 0x14 &{/soc/acio@2a1ac0000/iommu@a80000} 0x15 &{/soc/acio@2a1ac0000/iommu@a80000} 0x16 &{/soc/acio@2a1ac0000/iommu@a80000} 0x17 &{/soc/acio@2a1ac0000/iommu@a80000} 0x18 &{/soc/acio@2a1ac0000/iommu@a80000} 0x19 &{/soc/acio@2a1ac0000/iommu@a80000} 0x1a &{/soc/acio@2a1ac0000/iommu@a80000} 0x1b>; +}; + +&{/soc/acio@2a1ac0000/ports} { +}; + +&{/soc/acio@2a1ac0000/ports/port@1} { +}; + +&{/soc/acio@2a1ac0000/ports/port@1/endpoint} { + remote-endpoint = <&{/soc/spmi@28a188000/usb-pd@c/connector/ports/port@3/endpoint}>; +}; + +&{/soc/mailbox@2a9108000} { +}; + +&{/soc/acio@2a9ac0000} { + mboxes = <&{/soc/mailbox@2a9108000}>; + resets = <&{/soc/reset-controller@280620000} 0x1>; + power-domains = <&{/soc/power-management@280600000/power-controller@290} &{/soc/power-management@280600000/power-controller@350} &{/soc/power-management@280600000/power-controller@358} &{/soc/power-management@280600000/power-controller@360}>; + pinctrl-0 = <&{/soc/pinctrl@290824000/acio1-lstx-pins}>; + lstx-gpios = <&{/soc/pinctrl@290824000} 0x4f 0x0>; + apple,tunable-pcie-adapter = <0x1008 0x6 0x6>; + apple,tunable-router-ap-fw = <0x8 0xff2 0x482>; +}; + +&{/soc/acio@2a9ac0000/iommu@a80000} { + power-domains = <&{/soc/power-management@280600000/power-controller@290}>; +}; + +&{/soc/acio@2a9ac0000/nhi@f00000} { + iommus = <&{/soc/acio@2a9ac0000/iommu@a80000} 0x0 &{/soc/acio@2a9ac0000/iommu@a80000} 0x1 &{/soc/acio@2a9ac0000/iommu@a80000} 0x2 &{/soc/acio@2a9ac0000/iommu@a80000} 0x3 &{/soc/acio@2a9ac0000/iommu@a80000} 0x4 &{/soc/acio@2a9ac0000/iommu@a80000} 0x5 &{/soc/acio@2a9ac0000/iommu@a80000} 0x6 &{/soc/acio@2a9ac0000/iommu@a80000} 0x7 &{/soc/acio@2a9ac0000/iommu@a80000} 0x8 &{/soc/acio@2a9ac0000/iommu@a80000} 0x9 &{/soc/acio@2a9ac0000/iommu@a80000} 0xa &{/soc/acio@2a9ac0000/iommu@a80000} 0xb &{/soc/acio@2a9ac0000/iommu@a80000} 0x10 &{/soc/acio@2a9ac0000/iommu@a80000} 0x11 &{/soc/acio@2a9ac0000/iommu@a80000} 0x12 &{/soc/acio@2a9ac0000/iommu@a80000} 0x13 &{/soc/acio@2a9ac0000/iommu@a80000} 0x14 &{/soc/acio@2a9ac0000/iommu@a80000} 0x15 &{/soc/acio@2a9ac0000/iommu@a80000} 0x16 &{/soc/acio@2a9ac0000/iommu@a80000} 0x17 &{/soc/acio@2a9ac0000/iommu@a80000} 0x18 &{/soc/acio@2a9ac0000/iommu@a80000} 0x19 &{/soc/acio@2a9ac0000/iommu@a80000} 0x1a &{/soc/acio@2a9ac0000/iommu@a80000} 0x1b>; +}; + +&{/soc/acio@2a9ac0000/ports} { +}; + +&{/soc/acio@2a9ac0000/ports/port@1} { +}; + +&{/soc/acio@2a9ac0000/ports/port@1/endpoint} { + remote-endpoint = <&{/soc/spmi@28a188000/usb-pd@a/connector/ports/port@3/endpoint}>; +}; + +&{/soc/mailbox@389108000} { +}; + +&{/soc/acio@389ac0000} { + mboxes = <&{/soc/mailbox@389108000}>; + resets = <&{/soc/reset-controller@280620000} 0x3>; + power-domains = <&{/soc/power-management@280600000/power-controller@2f8} &{/soc/power-management@280600000/power-controller@410} &{/soc/power-management@280600000/power-controller@418} &{/soc/power-management@280600000/power-controller@420}>; + pinctrl-0 = <&{/soc/pinctrl@290824000/acio3-lstx-pins}>; + lstx-gpios = <&{/soc/pinctrl@290824000} 0x53 0x0>; + apple,tunable-pcie-adapter = <0x1008 0x6 0x6>; + apple,tunable-router-ap-fw = <0x8 0xff2 0x482>; +}; + +&{/soc/acio@389ac0000/iommu@a80000} { + power-domains = <&{/soc/power-management@280600000/power-controller@2f8}>; +}; + +&{/soc/acio@389ac0000/nhi@f00000} { + iommus = <&{/soc/acio@389ac0000/iommu@a80000} 0x0 &{/soc/acio@389ac0000/iommu@a80000} 0x1 &{/soc/acio@389ac0000/iommu@a80000} 0x2 &{/soc/acio@389ac0000/iommu@a80000} 0x3 &{/soc/acio@389ac0000/iommu@a80000} 0x4 &{/soc/acio@389ac0000/iommu@a80000} 0x5 &{/soc/acio@389ac0000/iommu@a80000} 0x6 &{/soc/acio@389ac0000/iommu@a80000} 0x7 &{/soc/acio@389ac0000/iommu@a80000} 0x8 &{/soc/acio@389ac0000/iommu@a80000} 0x9 &{/soc/acio@389ac0000/iommu@a80000} 0xa &{/soc/acio@389ac0000/iommu@a80000} 0xb &{/soc/acio@389ac0000/iommu@a80000} 0x10 &{/soc/acio@389ac0000/iommu@a80000} 0x11 &{/soc/acio@389ac0000/iommu@a80000} 0x12 &{/soc/acio@389ac0000/iommu@a80000} 0x13 &{/soc/acio@389ac0000/iommu@a80000} 0x14 &{/soc/acio@389ac0000/iommu@a80000} 0x15 &{/soc/acio@389ac0000/iommu@a80000} 0x16 &{/soc/acio@389ac0000/iommu@a80000} 0x17 &{/soc/acio@389ac0000/iommu@a80000} 0x18 &{/soc/acio@389ac0000/iommu@a80000} 0x19 &{/soc/acio@389ac0000/iommu@a80000} 0x1a &{/soc/acio@389ac0000/iommu@a80000} 0x1b>; +}; + +&{/soc/acio@389ac0000/ports} { +}; + +&{/soc/acio@389ac0000/ports/port@1} { +}; + +&{/soc/acio@389ac0000/ports/port@1/endpoint} { + remote-endpoint = <&{/soc/spmi@28a188000/usb-pd@6/connector/ports/port@3/endpoint}>; +}; + +&{/soc/mailbox@294608000} { +}; + +&{/soc/iommu@294800000} { + /delete-property/ status; +}; + +&{/soc/mtp@294600000} { + mboxes = <&{/soc/mailbox@294608000}>; + iommus = <&{/soc/iommu@294800000} 0x0>; +}; + +&{/soc/fifo@294b14000} { +}; + +&{/soc/mailbox@381108000} { +}; + +&{/soc/acio@381ac0000} { + mboxes = <&{/soc/mailbox@381108000}>; + resets = <&{/soc/reset-controller@280620000} 0x2>; + power-domains = <&{/soc/power-management@280600000/power-controller@2e8} &{/soc/power-management@280600000/power-controller@3f8} &{/soc/power-management@280600000/power-controller@400} &{/soc/power-management@280600000/power-controller@408}>; + pinctrl-0 = <&{/soc/pinctrl@290824000/acio2-lstx-pins}>; + lstx-gpios = <&{/soc/pinctrl@290824000} 0x51 0x0>; + apple,tunable-pcie-adapter = <0x1008 0x6 0x6>; + apple,tunable-router-ap-fw = <0x8 0xff2 0x482>; +}; + +&{/soc/acio@381ac0000/iommu@a80000} { + power-domains = <&{/soc/power-management@280600000/power-controller@2e8}>; +}; + +&{/soc/acio@381ac0000/nhi@f00000} { + iommus = <&{/soc/acio@381ac0000/iommu@a80000} 0x0 &{/soc/acio@381ac0000/iommu@a80000} 0x1 &{/soc/acio@381ac0000/iommu@a80000} 0x2 &{/soc/acio@381ac0000/iommu@a80000} 0x3 &{/soc/acio@381ac0000/iommu@a80000} 0x4 &{/soc/acio@381ac0000/iommu@a80000} 0x5 &{/soc/acio@381ac0000/iommu@a80000} 0x6 &{/soc/acio@381ac0000/iommu@a80000} 0x7 &{/soc/acio@381ac0000/iommu@a80000} 0x8 &{/soc/acio@381ac0000/iommu@a80000} 0x9 &{/soc/acio@381ac0000/iommu@a80000} 0xa &{/soc/acio@381ac0000/iommu@a80000} 0xb &{/soc/acio@381ac0000/iommu@a80000} 0x10 &{/soc/acio@381ac0000/iommu@a80000} 0x11 &{/soc/acio@381ac0000/iommu@a80000} 0x12 &{/soc/acio@381ac0000/iommu@a80000} 0x13 &{/soc/acio@381ac0000/iommu@a80000} 0x14 &{/soc/acio@381ac0000/iommu@a80000} 0x15 &{/soc/acio@381ac0000/iommu@a80000} 0x16 &{/soc/acio@381ac0000/iommu@a80000} 0x17 &{/soc/acio@381ac0000/iommu@a80000} 0x18 &{/soc/acio@381ac0000/iommu@a80000} 0x19 &{/soc/acio@381ac0000/iommu@a80000} 0x1a &{/soc/acio@381ac0000/iommu@a80000} 0x1b>; +}; + +&{/soc/acio@381ac0000/ports} { +}; + +&{/soc/acio@381ac0000/ports/port@1} { +}; + +&{/soc/acio@381ac0000/ports/port@1/endpoint} { + remote-endpoint = <&{/soc/spmi@28a188000/usb-pd@8/connector/ports/port@3/endpoint}>; +}; + +&{/soc/sep@502600000} { + mboxes = <&{/soc/mailbox@502608000}>; + iommus = <&{/soc/iommu@500b80000} 0x0>; + power-domains = <&{/soc/power-management@280900000/power-controller@298}>; + clocks = <&{/soc/clock-controller@280600000} 0x1bf>; +}; + +&{/soc/mailbox@502608000} { +}; + +&{/soc/iommu@500b80000} { +}; + +&{/soc/mailbox@2a3148000} { +}; + +&{/soc/phy@2a3000000} { + mboxes = <&{/soc/mailbox@2a3148000}>; + power-domains = <&{/soc/power-management@288300000/power-controller@148} &{/soc/power-management@280600000/power-controller@208} &{/soc/power-management@288300000/power-controller@158} &{/soc/power-management@288300000/power-controller@150}>; +}; + +&{/soc/phy@2a3000000/port} { +}; + +&{/soc/phy@2a3000000/port/endpoint} { + remote-endpoint = <&{/soc/spmi@28a188000/usb-pd@c/connector/ports/port@1/endpoint}>; +}; + +&{/pcie@1cb0000000} { + msi-parent = <&{/pcie@1cb0000000}>; + iommu-map = <0x100 &{/soc/iommu@412000000} 0x1 0x1 0x200 &{/soc/iommu@413000000} 0x1 0x1 0x300 &{/soc/iommu@410000000} 0x1 0x3 0x400 &{/soc/iommu@411000000} 0x1 0x1>; +}; + +&{/pcie@1cb0000000/pci@2,0} { + interrupt-map = <0x0 0x0 0x0 0x1 &{/pcie@1cb0000000/pci@2,0} 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x2 &{/pcie@1cb0000000/pci@2,0} 0x0 0x0 0x0 0x1 0x0 0x0 0x0 0x3 &{/pcie@1cb0000000/pci@2,0} 0x0 0x0 0x0 0x2 0x0 0x0 0x0 0x4 &{/pcie@1cb0000000/pci@2,0} 0x0 0x0 0x0 0x3>; +}; + +&{/pcie@1cb0000000/pci@2,0/ethernet@0,0} { +}; + +&{/pcie@1cb0000000/pci@3,0} { + interrupt-map = <0x0 0x0 0x0 0x1 &{/pcie@1cb0000000/pci@3,0} 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x2 &{/pcie@1cb0000000/pci@3,0} 0x0 0x0 0x0 0x1 0x0 0x0 0x0 0x3 &{/pcie@1cb0000000/pci@3,0} 0x0 0x0 0x0 0x2 0x0 0x0 0x0 0x4 &{/pcie@1cb0000000/pci@3,0} 0x0 0x0 0x0 0x3>; +}; + +&{/pcie@1cb0000000/pci@0,0} { + reset-gpios = <&{/soc/pinctrl@29c000000} 0x50 0x1>; + interrupt-map = <0x0 0x0 0x0 0x1 &{/pcie@1cb0000000/pci@0,0} 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x2 &{/pcie@1cb0000000/pci@0,0} 0x0 0x0 0x0 0x1 0x0 0x0 0x0 0x3 &{/pcie@1cb0000000/pci@0,0} 0x0 0x0 0x0 0x2 0x0 0x0 0x0 0x4 &{/pcie@1cb0000000/pci@0,0} 0x0 0x0 0x0 0x3>; +}; + +&{/pcie@1cb0000000/pci@0,0/control@0,0} { +}; + +&{/pcie@1cb0000000/pci@0,0/wifi@0,1} { +}; + +&{/pcie@1cb0000000/pci@0,0/bluetooth@0,2} { +}; + +&{/pcie@1cb0000000/pci@1,0} { + interrupt-map = <0x0 0x0 0x0 0x1 &{/pcie@1cb0000000/pci@1,0} 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x2 &{/pcie@1cb0000000/pci@1,0} 0x0 0x0 0x0 0x1 0x0 0x0 0x0 0x3 &{/pcie@1cb0000000/pci@1,0} 0x0 0x0 0x0 0x2 0x0 0x0 0x0 0x4 &{/pcie@1cb0000000/pci@1,0} 0x0 0x0 0x0 0x3>; +}; + +&{/pcie@1cb0000000/pci@1,0/sdcard@0,0} { +}; + +&{/aliases} { + serial0 = "/soc/serial@288e3c000"; + nvram = "/soc/spi@505118000/flash@0/partitions/partition@700000"; + atcphy0 = "/soc/phy@2a3000000"; + atcphy1 = "/soc/phy@2ab000000"; + atcphy2 = "/soc/phy@383000000"; + atcphy3 = "/soc/phy@38b000000"; + usb4-0-acio = "/soc/acio@2a1ac0000"; + usb4-0-nhi = "/soc/acio@2a1ac0000/nhi@f00000"; + usb4-1-acio = "/soc/acio@2a9ac0000"; + usb4-1-nhi = "/soc/acio@2a9ac0000/nhi@f00000"; + usb4-2-acio = "/soc/acio@381ac0000"; + usb4-2-nhi = "/soc/acio@381ac0000/nhi@f00000"; + usb4-3-acio = "/soc/acio@389ac0000"; + usb4-3-nhi = "/soc/acio@389ac0000/nhi@f00000"; +}; + +&{/chosen} { + /delete-property/ bootargs; +}; + +&{/soc/power-management@2380600000} { +}; + +&{/soc/power-management@2380600000/power-controller@1b0} { +}; + +&{/soc/power-management@2380600000/power-controller@1d8} { + power-domains = <&{/soc/power-management@2380600000/power-controller@1b0}>; +}; + +&{/soc/power-management@2380600000/power-controller@1a0} { +}; + +&{/soc/power-management@2380600000/power-controller@1a8} { + power-domains = <&{/soc/power-management@2380600000/power-controller@1a0}>; +}; + +&{/soc/power-management@2380600000/power-controller@1b8} { + power-domains = <&{/soc/power-management@2380600000/power-controller@1a0}>; +}; + +&{/soc/power-management@2380600000/power-controller@1c0} { + power-domains = <&{/soc/power-management@2380600000/power-controller@1a8}>; +}; + +&{/soc/power-management@2380600000/power-controller@1c8} { + power-domains = <&{/soc/power-management@2380600000/power-controller@1a8}>; +}; + +&{/soc/power-management@2380600000/power-controller@1d0} { + power-domains = <&{/soc/power-management@2380600000/power-controller@1a8}>; +}; + +&{/soc/power-management@2380600000/power-controller@1e0} { + power-domains = <&{/soc/power-management@2380600000/power-controller@1b0}>; +}; + +&{/soc/power-management@2380600000/power-controller@1f0} { + power-domains = <&{/soc/power-management@2380600000/power-controller@1b8}>; +}; + +&{/soc/power-management@2380600000/power-controller@1f8} { + power-domains = <&{/soc/power-management@2380600000/power-controller@1b8}>; +}; + +&{/soc/power-management@2380600000/power-controller@200} { + power-domains = <&{/soc/power-management@2380600000/power-controller@1c8}>; +}; + +&{/soc/power-management@2380600000/power-controller@208} { + power-domains = <&{/soc/power-management@2380600000/power-controller@1f8}>; +}; + +&{/soc/power-management@2380600000/power-controller@8000} { + power-domains = <&{/soc/power-management@2380600000/power-controller@1c0}>; +}; + +&{/soc/power-management@2380600000/power-controller@8008} { + power-domains = <&{/soc/power-management@2380600000/power-controller@8000}>; +}; + +&{/soc/power-management@2380600000/power-controller@8010} { + power-domains = <&{/soc/power-management@2380600000/power-controller@8000}>; +}; + +&{/soc/power-management@2380600000/power-controller@8018} { + power-domains = <&{/soc/power-management@2380600000/power-controller@8000}>; +}; + +&{/soc/power-management@2380600000/power-controller@8020} { + power-domains = <&{/soc/power-management@2380600000/power-controller@8018}>; +}; + +&{/soc/power-management@2380600000/power-controller@8028} { + power-domains = <&{/soc/power-management@2380600000/power-controller@1f0}>; +}; + +&{/soc/power-management@2380600000/power-controller@8030} { + power-domains = <&{/soc/power-management@2380600000/power-controller@8028}>; +}; + +&{/soc/power-management@2380600000/power-controller@8038} { + power-domains = <&{/soc/power-management@2380600000/power-controller@8028}>; +}; + +&{/soc/power-management@2380600000/power-controller@8040} { + power-domains = <&{/soc/power-management@2380600000/power-controller@8028}>; +}; + +&{/soc/power-management@2380600000/power-controller@8048} { + power-domains = <&{/soc/power-management@2380600000/power-controller@8040}>; +}; + +&{/soc/iommu@2309020000} { + power-domains = <&{/soc/power-management@2380600000/power-controller@1d8}>; + status = "disabled"; +}; + +&{/soc@2300000000/power-management@2300e80000} { +}; + +&{/soc@2300000000/power-management@2300e80000/power-controller@0} { +}; + +&{/soc@2300000000/power-management@2300e80000/power-controller@100} { +}; + +&{/soc@2300000000/power-management@2300e80000/power-controller@110} { + power-domains = <&{/soc@2300000000/power-management@2300e80000/power-controller@100} &{/soc@2300000000/power-management@2300e80000/power-controller@0}>; +}; + +&{/soc/clock-controller@280600000} { + apple,pmgr = <&{/soc/power-management@280600000}>; +}; + +&{/soc/spmi@28a054000} { +}; + +&{/soc/spmi@28a114000} { +}; + +&{/soc/i2c@505024000} { + power-domains = <&{/soc/power-management@280900000/power-controller@2e8}>; + clocks = <&{/soc/clock-controller@280600000} 0x4>; +}; + +&{/soc/i2c@505010000} { + power-domains = <&{/soc/power-management@280900000/power-controller@2c0}>; + clocks = <&{/soc/clock-controller@280600000} 0x4>; +}; + +&{/soc/i2c@505020000} { + power-domains = <&{/soc/power-management@280900000/power-controller@2e0}>; + clocks = <&{/soc/clock-controller@280600000} 0x4>; +}; + +&{/soc/i2c@505028000} { + power-domains = <&{/soc/power-management@280900000/power-controller@2f0}>; + clocks = <&{/soc/clock-controller@280600000} 0x4>; +}; + +&{/soc/i2c@505030000} { + power-domains = <&{/soc/power-management@280900000/power-controller@300}>; + clocks = <&{/soc/clock-controller@280600000} 0x4>; +}; + +&{/soc/dma-controller@410030000} { + iommus = <&{/soc/iommu@410000000} 0x11>; +}; + +&{/soc/iommu@411000000} { +}; + +&{/soc/dma-controller@411030000} { + iommus = <&{/soc/iommu@411000000} 0x11>; +}; + +&{/soc/iommu@2a4000000} { +}; + +&{/soc/dma-controller@2a4068000} { + iommus = <&{/soc/iommu@2a4000000} 0xfe>; +}; + +&{/soc/iommu@2ac000000} { +}; + +&{/soc/dma-controller@2ac068000} { + iommus = <&{/soc/iommu@2ac000000} 0xfe>; +}; + +&{/soc/iommu@384000000} { +}; + +&{/soc/dma-controller@384068000} { + iommus = <&{/soc/iommu@384000000} 0xfe>; +}; + +&{/soc/mux@2a324c000} { +}; + +&{/soc/dpin@2a1e50000} { +}; + +&{/soc/dpin@2a1e58000} { +}; + +&{/soc/dpin@2a1e68000} { +}; + +&{/soc/dpin@2a1e70000} { +}; + +&{/soc/mux@2ab24c000} { +}; + +&{/soc/dpin@2a9e50000} { +}; + +&{/soc/dpin@2a9e58000} { +}; + +&{/soc/dpin@2a9e68000} { +}; + +&{/soc/dpin@2a9e70000} { +}; + +&{/soc/dpin@381e50000} { +}; + +&{/soc/dpin@381e58000} { +}; + +&{/soc/dpin@381e68000} { +}; + +&{/soc/dpin@381e70000} { +}; + +&{/soc/mux@38b24c000} { +}; + +&{/soc/aic-timebase@280580000} { +}; + +&{/soc/error-handler@2220000000} { +}; + +&{/soc/crypto@50500c000} { + iommus = <&{/soc/iommu@505060000} 0x1>; + power-domains = <&{/soc/power-management@280900000/power-controller@318}>; +}; + +&{/soc/phy-coproc@395d08000} { +}; + +&{/soc/pinctrl@2881e4000} { + /delete-property/ gpio-line-names; + /delete-property/ interrupt-parent; + status = "okay"; + gpio-ranges = <&{/soc/pinctrl@2881e4000} 0x0 0x0 0x3d>; +}; + +&{/soc/pinctrl@2881e4000/usb3hub-rst-hog} { +}; + +&{/soc/mailbox@4d067c000} { + iommus = <&{/soc/iommu@290fc0000} 0x1>; +}; + +&{/soc/aop@291600000} { + iommus = <&{/soc/iommu@290fc0000} 0x10>; +}; + +&{/soc/event-log@280040000} { +}; + +&{/soc/dma-controller@505e00000} { + iommus = <&{/soc/iommu@505060000} 0x0>; + power-domains = <&{/soc/power-management@280900000/power-controller@2a0}>; + clocks = <&{/soc/clock-controller@280600000} 0x167 &{/soc/clock-controller@280600000} 0x166>; +}; + +&{/soc/iommu@505060000} { + power-domains = <&{/soc/power-management@280900000/power-controller@290}>; +}; + +&{/soc/pmp@284e00000} { + mboxes = <&{/soc/mailbox@284e08000}>; + iommus = <&{/soc/iommu@2841a0000} 0x0>; + power-domains = <&{/soc/power-management@280600000/power-controller@128} &{/soc/power-management@280600000/power-controller@130}>; +}; + +&{/soc/mailbox@284e08000} { + power-domains = <&{/soc/power-management@280600000/power-controller@128}>; +}; + +&{/soc/pmp-report@284240000} { + power-domains = <&{/soc/power-management@280600000/power-controller@130}>; +}; + +&{/soc/pmp-report@284240000/report@c} { +}; + +&{/soc/pmp-report@284240000/report@d} { +}; + +&{/soc/pmp-report@284240000/report@e} { +}; + +&{/soc/pmp-report@284240000/report@f} { + power-domains = <&{/soc@2300000000/power-management@2300e80000/power-controller@110}>; +}; + +&{/soc/pmp-report@284240000/report@12} { +}; + +&{/soc/pmp-report@284240000/report@24} { +}; + +&{/soc/iommu@2841a0000} { + power-domains = <&{/soc/power-management@280600000/power-controller@128}>; +}; + +&{/soc/aon-ptd@28cdc0000} { +}; + +&{/soc/rsm@288825000} { + iommus = <&{/soc/iommu@2889a0000} 0x0>; + power-domains = <&{/soc/power-management@288300000/power-controller@58}>; +}; + +&{/soc/iommu@2889a0000} { + power-domains = <&{/soc/power-management@288300000/power-controller@58}>; +}; + +&{/soc/serial@505200000} { + power-domains = <&{/soc/power-management@280900000/power-controller@360}>; + clocks = <&{/soc/clock-controller@280600000} 0x1c9 &{/soc/clock-controller@280600000} 0x4>; +}; + +&{/soc/iommu@2a2f00000} { + power-domains = <&{/soc/power-management@288300000/power-controller@150}>; +}; + +&{/soc/iommu@2a2f80000} { + power-domains = <&{/soc/power-management@288300000/power-controller@150}>; +}; + +&{/soc/usb@2a2280000} { + iommus = <&{/soc/iommu@2a2f00000} 0x0 &{/soc/iommu@2a2f80000} 0x1>; + power-domains = <&{/soc/power-management@288300000/power-controller@150}>; + resets = <&{/soc/phy@2a3000000} 0x0>; + phys = <&{/soc/phy@2a3000000} 0x3 &{/soc/phy@2a3000000} 0x4>; +}; + +&{/soc/usb@2a2280000/port} { +}; + +&{/soc/usb@2a2280000/port/endpoint} { + remote-endpoint = <&{/soc/spmi@28a188000/usb-pd@c/connector/ports/port@0/endpoint}>; +}; + +&{/soc/iommu@395d60000} { + power-domains = <&{/soc/power-management@280600000/power-controller@248}>; +}; + +&{/soc/usb@3953f0000} { + iommus = <&{/soc/iommu@395d60000} 0x0>; + power-domains = <&{/soc/power-management@280600000/power-controller@248}>; +}; + +&{/soc/spmi@28a094000} { +}; + +&{/soc/spmi@28a0d4000} { +}; + +&{/soc/spmi@290914000} { +}; + +&{/soc/aux@29c260000} { + power-domains = <&{/soc/power-management@280900000/power-controller@108}>; +}; + +&{/soc/aux@29c264000} { + power-domains = <&{/soc/power-management@280900000/power-controller@110}>; +}; + +&{/soc/iommu@48a300000} { +}; + +&{/soc/dcp-expert@48a3ac058} { +}; + +&{/soc/mailbox@48ae08000} { +}; + +&{/soc/iommu@48a340000} { +}; + +&{/soc/iommu@48a180000} { +}; + +&{/soc/dma-controller@48a140000} { + interrupts-extended = <&{/soc/interrupt-controller@280400000} 0x0 0x0 0x3f4 0x4 0 0 0>; + iommus = <&{/soc/iommu@48a180000} 0x1e>; +}; + +&{/soc/dma-control@48a2f4000} { +}; + +&{/soc/dcp-expert@2b23ac058} { +}; + +&{/soc/iommu@2b2180000} { + power-domains = <&{/soc/power-management@280600000/power-controller@270}>; +}; + +&{/soc/dma-controller@2b2140000} { + interrupts-extended = <&{/soc/interrupt-controller@280400000} 0x0 0x0 0x444 0x4 0 0 0>; + iommus = <&{/soc/iommu@2b2180000} 0x1e>; + power-domains = <&{/soc/power-management@280600000/power-controller@270}>; +}; + +&{/soc/dma-control@2b22f4000} { +}; + +&{/soc/dcp-expert@3923ac058} { +}; + +&{/soc/mailbox@392e08000} { +}; + +&{/soc/dcp@392e00000} { + mboxes = <&{/soc/mailbox@392e08000}>; + iommus = <&{/soc/iommu@392340000} 0x17>; + apple,bw-scratch = <&{/soc/pmc-metadata@286700000} 0x0 0x5 0x30000>; + phys = <&{/soc/phy@29c200000}>; + hdmi-hpd-gpios = <&{/soc/pinctrl@290824000} 0xe 0x0>; + hdmi-pwren-gpios = <&{/soc/smc@28c600000/gpio} 0x0 0x0>; + dp2hdmi-pwren-gpios = <&{/soc/smc@28c600000/gpio} 0x1 0x0>; +}; + +&{/soc/dcp@392e00000/piodma} { + iommus = <&{/soc/iommu@392300000} 0x10>; +}; + +&{/soc/dcp@392e00000/ports} { +}; + +&{/soc/dcp@392e00000/ports/port@0} { +}; + +&{/soc/dcp@392e00000/ports/port@0/endpoint} { + remote-endpoint = <&{/audio-controller-dispext1/ports/port@0/endpoint}>; +}; + +&{/soc/iommu@392340000} { +}; + +&{/soc/iommu@392300000} { +}; + +&{/soc/iommu@392180000} { + power-domains = <&{/soc/power-management@280600000/power-controller@2d8}>; +}; + +&{/soc/dma-controller@392140000} { + interrupts-extended = <&{/soc/interrupt-controller@280400000} 0x0 0x0 0x48c 0x4 0 0 0>; + iommus = <&{/soc/iommu@392180000} 0x1e>; + power-domains = <&{/soc/power-management@280600000/power-controller@2d8}>; +}; + +&{/soc/dma-control@3922f4000} { +}; + +&{/soc/dcp-expert@3023ac058} { +}; + +&{/soc/mailbox@302e08000} { +}; + +&{/soc/dcp@302e00000} { + mboxes = <&{/soc/mailbox@302e08000}>; + iommus = <&{/soc/iommu@302340000} 0x17>; +}; + +&{/soc/dcp@302e00000/piodma} { + iommus = <&{/soc/iommu@302300000} 0x10>; +}; + +&{/soc/iommu@302340000} { +}; + +&{/soc/iommu@302300000} { +}; + +&{/soc/iommu@302180000} { +}; + +&{/soc/dma-controller@302140000} { + interrupts-extended = <&{/soc/interrupt-controller@280400000} 0x0 0x0 0x4d4 0x4 0 0 0>; + iommus = <&{/soc/iommu@302180000} 0x1e>; +}; + +&{/soc/dma-control@3022f4000} { +}; + +&{/soc/dcp-expert@3063ac058} { +}; + +&{/soc/mailbox@306e08000} { +}; + +&{/soc/dcp@306e00000} { + mboxes = <&{/soc/mailbox@306e08000}>; + iommus = <&{/soc/iommu@306340000} 0x17>; +}; + +&{/soc/dcp@306e00000/piodma} { + iommus = <&{/soc/iommu@306300000} 0x10>; +}; + +&{/soc/iommu@306340000} { +}; + +&{/soc/iommu@306300000} { +}; + +&{/soc/iommu@306180000} { +}; + +&{/soc/dma-controller@306140000} { + interrupts-extended = <&{/soc/interrupt-controller@280400000} 0x0 0x0 0x51c 0x4 0 0 0>; + iommus = <&{/soc/iommu@306180000} 0x1e>; +}; + +&{/soc/dma-control@3062f4000} { +}; + +&{/soc/scaler@2285000000} { + iommus = <&{/soc/iommu@2285260000} 0x0 &{/soc/iommu@2285260000} 0x1>; + power-domains = <&{/soc/power-management@2380600000/power-controller@1c8} &{/soc/power-management@2380600000/power-controller@200}>; + clocks = <&{/soc/clock-controller@280600000} 0x1f0>; + resets = <&{/soc/power-management@2380600000/power-controller@1c8}>; +}; + +&{/soc/iommu@2285260000} { + power-domains = <&{/soc/power-management@2380600000/power-controller@1c8}>; +}; + +&{/soc/scaler@23a1000000} { + iommus = <&{/soc/iommu@23a1260000} 0x0 &{/soc/iommu@23a1260000} 0x1>; + power-domains = <&{/soc/power-management@2380600000/power-controller@1f8} &{/soc/power-management@2380600000/power-controller@208}>; + clocks = <&{/soc/clock-controller@280600000} 0x1f1>; + resets = <&{/soc/power-management@2380600000/power-controller@1f8}>; +}; + +&{/soc/iommu@23a1260000} { + power-domains = <&{/soc/power-management@2380600000/power-controller@1f8}>; +}; + +&{/soc/video-encoder@2283100000} { + iommus = <&{/soc/iommu@22830a0000} 0x0 &{/soc/iommu@2283080000} 0x0>; + power-domains = <&{/soc/power-management@2380600000/power-controller@1c0} &{/soc/power-management@2380600000/power-controller@8008} &{/soc/power-management@2380600000/power-controller@8010} &{/soc/power-management@2380600000/power-controller@8018} &{/soc/power-management@2380600000/power-controller@8020} &{/soc/power-management@2380600000/power-controller@8000}>; + clocks = <&{/soc/clock-controller@280600000} 0x1f7>; +}; + +&{/soc/iommu@22830a0000} { + power-domains = <&{/soc/power-management@2380600000/power-controller@1c0}>; +}; + +&{/soc/iommu@2283080000} { + power-domains = <&{/soc/power-management@2380600000/power-controller@1c0}>; +}; + +&{/soc/video-encoder@23a3100000} { + iommus = <&{/soc/iommu@23a30a0000} 0x0 &{/soc/iommu@23a3080000} 0x0>; + power-domains = <&{/soc/power-management@2380600000/power-controller@1f0} &{/soc/power-management@2380600000/power-controller@8030} &{/soc/power-management@2380600000/power-controller@8038} &{/soc/power-management@2380600000/power-controller@8040} &{/soc/power-management@2380600000/power-controller@8048} &{/soc/power-management@2380600000/power-controller@8028}>; + clocks = <&{/soc/clock-controller@280600000} 0x1f8>; +}; + +&{/soc/iommu@23a30a0000} { + power-domains = <&{/soc/power-management@2380600000/power-controller@1f0}>; +}; + +&{/soc/iommu@23a3080000} { + power-domains = <&{/soc/power-management@2380600000/power-controller@1f0}>; +}; + +&{/soc/prores@48d000000} { + reg-names = "core", "wrapper", "aux", "ctrl", "ctrl1"; + resets = <&{/soc/power-management@280900000/power-controller@190}>; + iommus = <&{/soc/iommu@48d020000} 0x1>; + power-domains = <&{/soc/power-management@280900000/power-controller@190}>; +}; + +&{/soc/iommu@48d020000} { + apple,dma-range = <0x100 0x0 0x300 0x0>; + power-domains = <&{/soc/power-management@280900000/power-controller@190}>; +}; + +&{/soc/iommu@230b020000} { + power-domains = <&{/soc/power-management@2380600000/power-controller@1e0}>; +}; + +&{/soc/jpeg@2281000000} { + iommus = <&{/soc/iommu@2281020000} 0x0>; + power-domains = <&{/soc/power-management@2380600000/power-controller@1d0}>; + clocks = <&{/soc/clock-controller@280600000} 0x1e6 &{/soc/clock-controller@280600000} 0x1e7>; +}; + +&{/soc/jpeg@2281060000} { + iommus = <&{/soc/iommu@2281020000} 0x1>; + power-domains = <&{/soc/power-management@2380600000/power-controller@1d0}>; + clocks = <&{/soc/clock-controller@280600000} 0x1e6 &{/soc/clock-controller@280600000} 0x1e7>; +}; + +&{/soc/iommu@2281020000} { + apple,dma-range = <0x100 0x0 0x300 0x0>; + power-domains = <&{/soc/power-management@2380600000/power-controller@1d0}>; +}; + +&{/soc/neural-processor@508000000} { + iommus = <&{/soc/iommu@509800000} 0x0 &{/soc/iommu@509820000} 0x0 &{/soc/iommu@509840000} 0x0>; + power-domains = <&{/soc/power-management@280900000/power-controller@3c8}>; + clocks = <&{/soc/clock-controller@280600000} 0x14f &{/soc/clock-controller@280600000} 0x14e &{/soc/clock-controller@280600000} 0x17d>; +}; + +&{/soc/iommu@509800000} { + /delete-property/ apple,dma-range; + /delete-property/ interrupt-parent; + /delete-property/ power-domains; + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x5 0x9800000 0x0 0xc000 0x5 0x9810000 0x0 0x4000>; + status = "disabled"; +}; + +&{/soc/iommu@509820000} { + /delete-property/ apple,dma-range; + /delete-property/ interrupt-parent; + /delete-property/ power-domains; + compatible = "apple,t6050-dart", "apple,t8110-dart"; + status = "disabled"; +}; + +&{/soc/iommu@509840000} { + /delete-property/ apple,dma-range; + /delete-property/ interrupt-parent; + /delete-property/ power-domains; + compatible = "apple,t6050-dart", "apple,t8110-dart"; + status = "disabled"; +}; + +&{/soc/video-decoder@2308000000} { + iommus = <&{/soc/iommu@2309020000} 0x0 &{/soc/iommu@2309020000} 0x1 &{/soc/iommu@2309020000} 0x2>; + power-domains = <&{/soc/power-management@2380600000/power-controller@1d8}>; + clocks = <&{/soc/clock-controller@280600000} 0x1e8>; +}; + +&{/soc/dma-controller@293300000} { + interrupts-extended = <&{/soc/interrupt-controller@280400000} 0x0 0x0 0x27f 0x4 0 0 0>; + iommus = <&{/soc/iommu@290fc0000} 0xa>; +}; + +&{/soc/dma-control@293c80000} { +}; + +&{/soc/message-controller@29b000000} { + power-domains = <&{/soc/power-management@280600000/power-controller@258}>; +}; + +&{/soc/dma-controller@412030000} { + iommus = <&{/soc/iommu@412000000} 0x11>; +}; + +&{/soc/dma-controller@413030000} { + iommus = <&{/soc/iommu@413000000} 0x11>; +}; + +&{/soc/spi@50510c000} { + power-domains = <&{/soc/power-management@280900000/power-controller@338}>; + clocks = <&{/soc/clock-controller@280600000} 0x1c4>; +}; + +&{/soc/iommu@38c000000} { +}; + +&{/soc/dma-controller@38c068000} { + iommus = <&{/soc/iommu@38c000000} 0xfe>; +}; + +&{/soc/dpin@389e50000} { +}; + +&{/soc/dpin@389e58000} { +}; + +&{/soc/dpin@389e68000} { +}; + +&{/soc/dpin@389e70000} { +}; + +&{/soc/phy@29c200000} { + power-domains = <&{/soc/power-management@280900000/power-controller@3f8}>; +}; + +&{/display-subsystem} { + iommus = <&{/soc/iommu@2b2300000} 0x0 &{/soc/iommu@392300000} 0x0>; +}; + +&{/sound} { +}; + +&{/sound/dai-link@0} { +}; + +&{/sound/dai-link@0/cpu} { + sound-dai = <&{/soc/aop@290c00000/audio} 0x0>; +}; + +&{/sound/dai-link@0/codec} { + sound-dai = <&{/soc/i2c@505018000/codec@4b}>; +}; + +&{/sound/dai-link@1} { +}; + +&{/sound/dai-link@1/cpu} { + sound-dai = <&{/soc/aop@290c00000/audio} 0x3>; +}; + +&{/sound/dai-link@1/codec} { + sound-dai = <&{/soc/i2c@505014000/codec@38}>; +}; + +&{/audio-controller-dispext0} { + dmas = <&{/soc/dma-controller@2b2140000} 0x0>; +}; + +&{/audio-controller-dispext0/ports} { +}; + +&{/audio-controller-dispext0/ports/port@0} { +}; + +&{/audio-controller-dispext0/ports/port@0/endpoint} { + remote-endpoint = <&{/soc/dcp@2b2e00000/ports/port@0/endpoint}>; +}; + +&{/audio-controller-dispext1} { + dmas = <&{/soc/dma-controller@392140000} 0x0>; +}; + +&{/audio-controller-dispext1/ports} { +}; + +&{/audio-controller-dispext1/ports/port@0} { +}; + +&{/audio-controller-dispext1/ports/port@0/endpoint} { + remote-endpoint = <&{/soc/dcp@392e00000/ports/port@0/endpoint}>; +}; diff --git a/arch/arm64/boot/dts/apple/t6050-j775c-incremental-sd.dtsi b/arch/arm64/boot/dts/apple/t6050-j775c-incremental-sd.dtsi new file mode 100644 index 0000000000000..291a87c46ed4d --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6050-j775c-incremental-sd.dtsi @@ -0,0 +1,11 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Property migration from Satya Benson's 86b1f365 J775c stack. + * Retained board sources remain the baseline; this group is independently booted. + * Copyright The Asahi Linux Contributors + */ +&{/pcie@1cb0000000/pci@1,0} { + interrupt-map = <0x0 0x0 0x0 0x1 &{/pcie@1cb0000000/pci@1,0} 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x2 &{/pcie@1cb0000000/pci@1,0} 0x0 0x0 0x0 0x1 0x0 0x0 0x0 0x3 &{/pcie@1cb0000000/pci@1,0} 0x0 0x0 0x0 0x2 0x0 0x0 0x0 0x4 &{/pcie@1cb0000000/pci@1,0} 0x0 0x0 0x0 0x3>; +}; + +&{/pcie@1cb0000000/pci@1,0/sdcard@0,0} { +}; diff --git a/arch/arm64/boot/dts/apple/t6050-j775c-incremental-spmi.dtsi b/arch/arm64/boot/dts/apple/t6050-j775c-incremental-spmi.dtsi new file mode 100644 index 0000000000000..d2d8daf5856d4 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6050-j775c-incremental-spmi.dtsi @@ -0,0 +1,47 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Property migration from Satya Benson's 86b1f365 J775c stack. + * Retained board sources remain the baseline; this group is independently booted. + * Copyright The Asahi Linux Contributors + */ +&{/soc/smc@28c600000} { + gpio-low { + compatible = "apple,smc-low-gpio"; + gpio-controller; + #gpio-cells = <0x2>; + }; +}; + +&{/soc/spmi@28a014000} { + /delete-property/ #interrupt-cells; + /delete-property/ interrupt-parent; + /delete-property/ interrupts; + /delete-property/ interrupt-controller; +}; + +&{/soc/spmi@28a014000/pmic@e} { +}; + +&{/soc/spmi@28a014000/pmic@e/nvmem-layout} { +}; + +&{/soc/spmi@28a014000/pmic@e/nvmem-layout/pm-setting@2001} { +}; + +&{/soc/spmi@28a014000/pmic@e/nvmem-layout/rtc-offset@2100} { +}; + +&{/soc/spmi@28a014000/pmic@e/nvmem-layout/boot-stage@f801} { +}; + +&{/soc/spmi@28a014000/pmic@e/nvmem-layout/boot-error-count@f802,0} { +}; + +&{/soc/spmi@28a014000/pmic@e/nvmem-layout/panic-count@f802,4} { +}; + +&{/soc/spmi@28a014000/pmic@e/nvmem-layout/shutdown-flag@f80f,3} { +}; + +&{/soc/spmi@28a1c8000} { + /delete-property/ status; +}; diff --git a/arch/arm64/boot/dts/apple/t6050-j775c-incremental-usbpolicy.dtsi b/arch/arm64/boot/dts/apple/t6050-j775c-incremental-usbpolicy.dtsi new file mode 100644 index 0000000000000..5d20209cb5706 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6050-j775c-incremental-usbpolicy.dtsi @@ -0,0 +1,185 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Property migration from Satya Benson's 86b1f365 J775c stack. + * Retained board sources remain the baseline; this group is independently booted. + * Copyright The Asahi Linux Contributors + */ +&{/soc/phy@2ab000000} { + mboxes = <&{/soc/mailbox@2ab148000}>; + power-domains = <&{/soc/power-management@288300000/power-controller@160} &{/soc/power-management@280600000/power-controller@210} &{/soc/power-management@288300000/power-controller@170} &{/soc/power-management@288300000/power-controller@168}>; + status = "okay"; +}; + +&{/soc/usb@2aa280000} { + iommus = <&{/soc/iommu@2aaf00000} 0x0 &{/soc/iommu@2aaf80000} 0x1>; + power-domains = <&{/soc/power-management@288300000/power-controller@168}>; + resets = <&{/soc/phy@2ab000000} 0x0>; + phys = <&{/soc/phy@2ab000000} 0x3 &{/soc/phy@2ab000000} 0x4>; + status = "okay"; +}; + +&{/soc/iommu@2aaf00000} { + power-domains = <&{/soc/power-management@288300000/power-controller@168}>; + status = "okay"; +}; + +&{/soc/iommu@2aaf80000} { + power-domains = <&{/soc/power-management@288300000/power-controller@168}>; + status = "okay"; +}; + +&{/soc/phy@383000000} { + mboxes = <&{/soc/mailbox@383148000}>; + power-domains = <&{/soc/power-management@288300000/power-controller@178} &{/soc/power-management@280600000/power-controller@238} &{/soc/power-management@288300000/power-controller@188} &{/soc/power-management@288300000/power-controller@180}>; +}; + +&{/soc/mux@38324c000} { + power-domains = <&{/soc/power-management@288300000/power-controller@178} &{/soc/power-management@280600000/power-controller@238}>; +}; + +&{/soc/usb@382280000} { + iommus = <&{/soc/iommu@382f00000} 0x0 &{/soc/iommu@382f80000} 0x1>; + power-domains = <&{/soc/power-management@288300000/power-controller@180}>; + resets = <&{/soc/phy@383000000} 0x0>; + phys = <&{/soc/phy@383000000} 0x3 &{/soc/phy@383000000} 0x4>; +}; + +&{/soc/iommu@382f00000} { + power-domains = <&{/soc/power-management@288300000/power-controller@180}>; +}; + +&{/soc/iommu@382f80000} { + power-domains = <&{/soc/power-management@288300000/power-controller@180}>; +}; + +&{/soc/phy@38b000000} { + mboxes = <&{/soc/mailbox@38b148000}>; + power-domains = <&{/soc/power-management@288300000/power-controller@190} &{/soc/power-management@280600000/power-controller@240} &{/soc/power-management@288300000/power-controller@1a0} &{/soc/power-management@288300000/power-controller@198}>; + status = "okay"; +}; + +&{/soc/usb@38a280000} { + iommus = <&{/soc/iommu@38af00000} 0x0 &{/soc/iommu@38af80000} 0x1>; + power-domains = <&{/soc/power-management@288300000/power-controller@198}>; + resets = <&{/soc/phy@38b000000} 0x0>; + phys = <&{/soc/phy@38b000000} 0x3 &{/soc/phy@38b000000} 0x4>; + status = "okay"; +}; + +&{/soc/iommu@38af00000} { + power-domains = <&{/soc/power-management@288300000/power-controller@198}>; + status = "okay"; +}; + +&{/soc/iommu@38af80000} { + power-domains = <&{/soc/power-management@288300000/power-controller@198}>; + status = "okay"; +}; + +&{/soc/phy@2a3000000} { + /delete-property/ apple,boot-link-released; + mboxes = <&{/soc/mailbox@2a3148000}>; + power-domains = <&{/soc/power-management@288300000/power-controller@148} &{/soc/power-management@280600000/power-controller@208} &{/soc/power-management@288300000/power-controller@158} &{/soc/power-management@288300000/power-controller@150}>; +}; + +&{/soc} { + iommu@2a4000000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x2 0xa4000000 0x0 0x20000>; + interrupts = <0x0 0x0 0x57e 0x4>; + #iommu-cells = <0x1>; + status = "disabled"; + }; +}; + +&{/soc} { + iommu@2ac000000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x2 0xac000000 0x0 0x20000>; + interrupts = <0x0 0x0 0x59e 0x4>; + #iommu-cells = <0x1>; + status = "disabled"; + }; +}; + +&{/soc} { + iommu@384000000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x3 0x84000000 0x0 0x20000>; + interrupts = <0x0 0x0 0x5be 0x4>; + #iommu-cells = <0x1>; + status = "disabled"; + }; +}; + +&{/soc/mux@2a324c000} { + /delete-property/ power-domain-names; + /delete-property/ power-domains; + status = "okay"; +}; + +&{/soc/mux@2ab24c000} { + /delete-property/ power-domain-names; + /delete-property/ power-domains; + status = "okay"; +}; + +&{/soc/mux@38b24c000} { + /delete-property/ power-domain-names; + /delete-property/ power-domains; + status = "okay"; +}; + +&{/soc/iommu@2a2f00000} { + /delete-property/ apple,dma-range; + power-domains = <&{/soc/power-management@288300000/power-controller@150}>; + status = "okay"; +}; + +&{/soc/iommu@2a2f80000} { + /delete-property/ apple,dma-range; + power-domains = <&{/soc/power-management@288300000/power-controller@150}>; + status = "okay"; +}; + +&{/soc/usb@2a2280000} { + iommus = <&{/soc/iommu@2a2f00000} 0x0 &{/soc/iommu@2a2f80000} 0x1>; + power-domains = <&{/soc/power-management@288300000/power-controller@150}>; + status = "okay"; + resets = <&{/soc/phy@2a3000000} 0x0>; + phys = <&{/soc/phy@2a3000000} 0x3 &{/soc/phy@2a3000000} 0x4>; +}; + +&{/soc} { + iommu@395d60000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x3 0x95d60000 0x0 0xc000>; + interrupts = <0x0 0x0 0x927 0x4>; + #iommu-cells = <0x1>; + status = "disabled"; + }; +}; + +&{/soc} { + usb@3953f0000 { + compatible = "apple,t6050-usb-auss"; + reg = <0x3 0x953f0000 0x0 0x4600 0x3 0x95800000 0x0 0x4000 0x3 0x95803c00 0x0 0x4000 0x3 0x95804000 0x0 0x4000 0x3 0x94000000 0x0 0x8000 0x3 0x95d80000 0x0 0x4000 0x3 0x95d84000 0x0 0x4000 0x3 0x95e40000 0x0 0x4000 0x3 0x95e3c000 0x0 0x4000 0x3 0x95d98000 0x0 0x4000>; + interrupts = <0x0 0x0 0x923 0x4 0x0 0x0 0x924 0x4 0x0 0x0 0x925 0x4 0x0 0x0 0x926 0x4>; + iommus = <&{/soc/iommu@395d60000} 0x0>; + power-domains = <&{/soc/power-management@280600000/power-controller@248}>; + status = "disabled"; + }; +}; + +&{/soc} { + iommu@38c000000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x3 0x8c000000 0x0 0x20000>; + interrupts = <0x0 0x0 0x5de 0x4>; + #iommu-cells = <0x1>; + status = "disabled"; + }; +}; + +&{/soc/phy@29c200000} { + power-domains = <&{/soc/power-management@280900000/power-controller@3f8}>; +}; diff --git a/arch/arm64/boot/dts/apple/t6050-j775c-legacy.dtsi b/arch/arm64/boot/dts/apple/t6050-j775c-legacy.dtsi new file mode 100644 index 0000000000000..b3de00ae25957 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6050-j775c-legacy.dtsi @@ -0,0 +1,3190 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple T6050 "M5 Ultra" SoC + * + * Two dies. Die 0's MMIO window is 0x2_00000000 and die 1's 0x42_00000000 + * (die stride 0x40_00000000); each has its own simple-bus, which the boot + * loader looks up by unit address. Unit addresses are CPU physical + * addresses. The boot loader starts the secondary CPUs and fills in their + * release addresses, the memory node and its own reservations. + * + * Copyright The Asahi Linux Contributors + */ + +#include +#include +#include +#include +#include + +/* Reuse integration's common nodes; retain the booted peripheral inventory below. */ +#include "t6050-j775c-base.dtsi" + +/ { + compatible = "apple,t6050", "apple,arm-platform"; + #address-cells = <2>; + #size-cells = <2>; + interrupt-parent = <&aic>; + + /* The boot loader replaces reg with the usable RAM. */ + + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + /* The boot loader adds its own reservations. */ + + /* + * The GPU's, all filled in and enabled by Aura's dt_set_gpu_t6050 from /arm-io/sgx and + * the gfx(1)-asc segment-ranges. Each lies outside /memory (below and above Linux's RAM). + * The UAT ranges (gpu-region, gfx-shared-region, gfx-shared-l2-region, gfx-handoff): + * both firmware roles publish their kernel roots into uat-pagetables while they boot. + */ + uat_handoff: uat-handoff { + reg = <0 0 0 0>; + no-map; + status = "disabled"; + }; + + uat_l2_pagetables: uat-l2-pagetables { + reg = <0 0 0 0>; + no-map; + status = "disabled"; + }; + + uat_pagetables: uat-pagetables { + reg = <0 0 0 0>; + no-map; + status = "disabled"; + }; + + uat_ttbs: uat-ttbs { + reg = <0 0 0 0>; + no-map; + status = "disabled"; + }; + + /* Both roles' __TEXT, contiguous: GFX's, then GFX1's. */ + gpu_fw_text: gpu-fw-text { + reg = <0 0 0 0>; + no-map; + status = "disabled"; + }; + + /* + * Both roles' __DATA and __DATA_SHARED_RO, contiguous (gfx-data, gfx-data-shared-ro, + * gfx1-data, gfx1-data-shared-ro). Each role asks for its crash log at the physical + * address of its __DATA_SHARED_RO (evidence/gpu/2026-10-31-gfx-rtkit-boot.md). + */ + gpu_fw_data: gpu-fw-data { + reg = <0 0 0 0>; + no-map; + status = "disabled"; + }; + + /* + * The ANE firmware preload. The loader fills reg from the ADT + * /arm-io/ane0 segment-ranges (TEXT 0xc0000 bytes, DATA 0x2ac000 + * bytes), renames each node to its physical address and enables + * it, together with /chosen/apple,ane-cold-boot (Aura's + * dt_set_ane_node). Left disabled, the ANE driver does not start + * the engine. Neither segment may be reclaimed before reboot. + */ + ane_fw_text: ane-firmware-text@0 { + compatible = "apple,asc-mem"; + reg = <0 0 0 0>; + no-map; + status = "disabled"; + }; + + ane_fw_data: ane-firmware-data@0 { + compatible = "apple,asc-mem"; + reg = <0 0 0 0>; + no-map; + status = "disabled"; + }; + }; + + cpus { + #address-cells = <2>; + #size-cells = <0>; + + /* + * Die d, cluster c, core n has MPIDR Aff2 4 for the two M-tier + * (apple,sawtooth) clusters and 1 for the P-tier (apple,everest) + * cluster, Aff1 0x10 * d + c and Aff0 n. Labels number the cores + * 18 * d + 6 * c + n. Die 0 comes first, so nr_cpus= brings the + * CPUs up in that order. The boot loader removes the nodes of the + * cores it did not start. + */ + cpu0: cpu@40000 { + compatible = "apple,sawtooth"; + capacity-dmips-mhz = <794>; + device_type = "cpu"; + reg = <0x0 0x40000>; + enable-method = "spin-table"; + operating-points-v2 = <&mcluster_opp>; + performance-domains = <&cpufreq_mc00>; + cpu-release-addr = <0 0>; + next-level-cache = <&l2_cache_m00>; /* to be filled by the loader */ + }; + + cpu1: cpu@40001 { + compatible = "apple,sawtooth"; + capacity-dmips-mhz = <794>; + device_type = "cpu"; + reg = <0x0 0x40001>; + enable-method = "spin-table"; + operating-points-v2 = <&mcluster_opp>; + performance-domains = <&cpufreq_mc00>; + cpu-release-addr = <0 0>; + next-level-cache = <&l2_cache_m00>; + }; + + cpu2: cpu@40002 { + compatible = "apple,sawtooth"; + capacity-dmips-mhz = <794>; + device_type = "cpu"; + reg = <0x0 0x40002>; + enable-method = "spin-table"; + operating-points-v2 = <&mcluster_opp>; + performance-domains = <&cpufreq_mc00>; + cpu-release-addr = <0 0>; + next-level-cache = <&l2_cache_m00>; + }; + + cpu3: cpu@40003 { + compatible = "apple,sawtooth"; + capacity-dmips-mhz = <794>; + device_type = "cpu"; + reg = <0x0 0x40003>; + enable-method = "spin-table"; + operating-points-v2 = <&mcluster_opp>; + performance-domains = <&cpufreq_mc00>; + cpu-release-addr = <0 0>; + next-level-cache = <&l2_cache_m00>; + }; + + cpu4: cpu@40004 { + compatible = "apple,sawtooth"; + capacity-dmips-mhz = <794>; + device_type = "cpu"; + reg = <0x0 0x40004>; + enable-method = "spin-table"; + operating-points-v2 = <&mcluster_opp>; + performance-domains = <&cpufreq_mc00>; + cpu-release-addr = <0 0>; + next-level-cache = <&l2_cache_m00>; + }; + cpu5: cpu@40005 { + compatible = "apple,sawtooth"; + capacity-dmips-mhz = <794>; + device_type = "cpu"; + reg = <0x0 0x40005>; + enable-method = "spin-table"; + operating-points-v2 = <&mcluster_opp>; + performance-domains = <&cpufreq_mc00>; + cpu-release-addr = <0 0>; + next-level-cache = <&l2_cache_m00>; + }; + + cpu6: cpu@40100 { + compatible = "apple,sawtooth"; + capacity-dmips-mhz = <794>; + device_type = "cpu"; + reg = <0x0 0x40100>; + enable-method = "spin-table"; + operating-points-v2 = <&mcluster_opp>; + performance-domains = <&cpufreq_mc10>; + cpu-release-addr = <0 0>; + next-level-cache = <&l2_cache_m01>; + }; + + cpu7: cpu@40101 { + compatible = "apple,sawtooth"; + capacity-dmips-mhz = <794>; + device_type = "cpu"; + reg = <0x0 0x40101>; + enable-method = "spin-table"; + operating-points-v2 = <&mcluster_opp>; + performance-domains = <&cpufreq_mc10>; + cpu-release-addr = <0 0>; + next-level-cache = <&l2_cache_m01>; + }; + + cpu8: cpu@40102 { + compatible = "apple,sawtooth"; + capacity-dmips-mhz = <794>; + device_type = "cpu"; + reg = <0x0 0x40102>; + enable-method = "spin-table"; + operating-points-v2 = <&mcluster_opp>; + performance-domains = <&cpufreq_mc10>; + cpu-release-addr = <0 0>; + next-level-cache = <&l2_cache_m01>; + }; + + cpu9: cpu@40103 { + compatible = "apple,sawtooth"; + capacity-dmips-mhz = <794>; + device_type = "cpu"; + reg = <0x0 0x40103>; + enable-method = "spin-table"; + operating-points-v2 = <&mcluster_opp>; + performance-domains = <&cpufreq_mc10>; + cpu-release-addr = <0 0>; + next-level-cache = <&l2_cache_m01>; + }; + + cpu10: cpu@40104 { + compatible = "apple,sawtooth"; + capacity-dmips-mhz = <794>; + device_type = "cpu"; + reg = <0x0 0x40104>; + enable-method = "spin-table"; + operating-points-v2 = <&mcluster_opp>; + performance-domains = <&cpufreq_mc10>; + cpu-release-addr = <0 0>; + next-level-cache = <&l2_cache_m01>; + }; + cpu11: cpu@40105 { + compatible = "apple,sawtooth"; + capacity-dmips-mhz = <794>; + device_type = "cpu"; + reg = <0x0 0x40105>; + enable-method = "spin-table"; + operating-points-v2 = <&mcluster_opp>; + performance-domains = <&cpufreq_mc10>; + cpu-release-addr = <0 0>; + next-level-cache = <&l2_cache_m01>; + }; + + cpu12: cpu@10200 { + compatible = "apple,everest"; + capacity-dmips-mhz = <1024>; + device_type = "cpu"; + reg = <0x0 0x10200>; + enable-method = "spin-table"; + operating-points-v2 = <&pcluster_opp>; + performance-domains = <&cpufreq_pc0>; + cpu-release-addr = <0 0>; + next-level-cache = <&l2_cache_p0_0>; + }; + + cpu13: cpu@10201 { + compatible = "apple,everest"; + capacity-dmips-mhz = <1024>; + device_type = "cpu"; + reg = <0x0 0x10201>; + enable-method = "spin-table"; + operating-points-v2 = <&pcluster_opp>; + performance-domains = <&cpufreq_pc0>; + cpu-release-addr = <0 0>; + next-level-cache = <&l2_cache_p0_1>; + }; + + cpu14: cpu@10202 { + compatible = "apple,everest"; + capacity-dmips-mhz = <1024>; + device_type = "cpu"; + reg = <0x0 0x10202>; + enable-method = "spin-table"; + operating-points-v2 = <&pcluster_opp>; + performance-domains = <&cpufreq_pc0>; + cpu-release-addr = <0 0>; + next-level-cache = <&l2_cache_p0_2>; + }; + + cpu15: cpu@10203 { + compatible = "apple,everest"; + capacity-dmips-mhz = <1024>; + device_type = "cpu"; + reg = <0x0 0x10203>; + enable-method = "spin-table"; + operating-points-v2 = <&pcluster_opp>; + performance-domains = <&cpufreq_pc0>; + cpu-release-addr = <0 0>; + next-level-cache = <&l2_cache_p0_3>; + }; + + cpu16: cpu@10204 { + compatible = "apple,everest"; + capacity-dmips-mhz = <1024>; + device_type = "cpu"; + reg = <0x0 0x10204>; + enable-method = "spin-table"; + operating-points-v2 = <&pcluster_opp>; + performance-domains = <&cpufreq_pc0>; + cpu-release-addr = <0 0>; + next-level-cache = <&l2_cache_p0_4>; + }; + cpu17: cpu@10205 { + compatible = "apple,everest"; + capacity-dmips-mhz = <1024>; + device_type = "cpu"; + reg = <0x0 0x10205>; + enable-method = "spin-table"; + operating-points-v2 = <&pcluster_opp>; + performance-domains = <&cpufreq_pc0>; + cpu-release-addr = <0 0>; + next-level-cache = <&l2_cache_p0_5>; + }; + + cpu18: cpu@41000 { + compatible = "apple,sawtooth"; + capacity-dmips-mhz = <794>; + device_type = "cpu"; + reg = <0x0 0x41000>; + enable-method = "spin-table"; + operating-points-v2 = <&mcluster_opp>; + performance-domains = <&cpufreq_mc01>; + cpu-release-addr = <0 0>; + next-level-cache = <&l2_cache_m10>; + }; + + cpu19: cpu@41001 { + compatible = "apple,sawtooth"; + capacity-dmips-mhz = <794>; + device_type = "cpu"; + reg = <0x0 0x41001>; + enable-method = "spin-table"; + operating-points-v2 = <&mcluster_opp>; + performance-domains = <&cpufreq_mc01>; + cpu-release-addr = <0 0>; + next-level-cache = <&l2_cache_m10>; + }; + + cpu20: cpu@41002 { + compatible = "apple,sawtooth"; + capacity-dmips-mhz = <794>; + device_type = "cpu"; + reg = <0x0 0x41002>; + enable-method = "spin-table"; + operating-points-v2 = <&mcluster_opp>; + performance-domains = <&cpufreq_mc01>; + cpu-release-addr = <0 0>; + next-level-cache = <&l2_cache_m10>; + }; + + cpu21: cpu@41003 { + compatible = "apple,sawtooth"; + capacity-dmips-mhz = <794>; + device_type = "cpu"; + reg = <0x0 0x41003>; + enable-method = "spin-table"; + operating-points-v2 = <&mcluster_opp>; + performance-domains = <&cpufreq_mc01>; + cpu-release-addr = <0 0>; + next-level-cache = <&l2_cache_m10>; + }; + + cpu22: cpu@41004 { + compatible = "apple,sawtooth"; + capacity-dmips-mhz = <794>; + device_type = "cpu"; + reg = <0x0 0x41004>; + enable-method = "spin-table"; + operating-points-v2 = <&mcluster_opp>; + performance-domains = <&cpufreq_mc01>; + cpu-release-addr = <0 0>; + next-level-cache = <&l2_cache_m10>; + }; + + cpu24: cpu@41100 { + compatible = "apple,sawtooth"; + capacity-dmips-mhz = <794>; + device_type = "cpu"; + reg = <0x0 0x41100>; + enable-method = "spin-table"; + operating-points-v2 = <&mcluster_opp>; + performance-domains = <&cpufreq_mc11>; + cpu-release-addr = <0 0>; + next-level-cache = <&l2_cache_m11>; + }; + + cpu25: cpu@41101 { + compatible = "apple,sawtooth"; + capacity-dmips-mhz = <794>; + device_type = "cpu"; + reg = <0x0 0x41101>; + enable-method = "spin-table"; + operating-points-v2 = <&mcluster_opp>; + performance-domains = <&cpufreq_mc11>; + cpu-release-addr = <0 0>; + next-level-cache = <&l2_cache_m11>; + }; + + cpu26: cpu@41102 { + compatible = "apple,sawtooth"; + capacity-dmips-mhz = <794>; + device_type = "cpu"; + reg = <0x0 0x41102>; + enable-method = "spin-table"; + operating-points-v2 = <&mcluster_opp>; + performance-domains = <&cpufreq_mc11>; + cpu-release-addr = <0 0>; + next-level-cache = <&l2_cache_m11>; + }; + + cpu27: cpu@41103 { + compatible = "apple,sawtooth"; + capacity-dmips-mhz = <794>; + device_type = "cpu"; + reg = <0x0 0x41103>; + enable-method = "spin-table"; + operating-points-v2 = <&mcluster_opp>; + performance-domains = <&cpufreq_mc11>; + cpu-release-addr = <0 0>; + next-level-cache = <&l2_cache_m11>; + }; + + cpu28: cpu@41104 { + compatible = "apple,sawtooth"; + capacity-dmips-mhz = <794>; + device_type = "cpu"; + reg = <0x0 0x41104>; + enable-method = "spin-table"; + operating-points-v2 = <&mcluster_opp>; + performance-domains = <&cpufreq_mc11>; + cpu-release-addr = <0 0>; + next-level-cache = <&l2_cache_m11>; + }; + + cpu30: cpu@11200 { + compatible = "apple,everest"; + capacity-dmips-mhz = <1024>; + device_type = "cpu"; + reg = <0x0 0x11200>; + enable-method = "spin-table"; + operating-points-v2 = <&pcluster_opp>; + performance-domains = <&cpufreq_pc1>; + cpu-release-addr = <0 0>; + next-level-cache = <&l2_cache_p1_0>; + }; + + cpu31: cpu@11201 { + compatible = "apple,everest"; + capacity-dmips-mhz = <1024>; + device_type = "cpu"; + reg = <0x0 0x11201>; + enable-method = "spin-table"; + operating-points-v2 = <&pcluster_opp>; + performance-domains = <&cpufreq_pc1>; + cpu-release-addr = <0 0>; + next-level-cache = <&l2_cache_p1_1>; + }; + + cpu32: cpu@11202 { + compatible = "apple,everest"; + capacity-dmips-mhz = <1024>; + device_type = "cpu"; + reg = <0x0 0x11202>; + enable-method = "spin-table"; + operating-points-v2 = <&pcluster_opp>; + performance-domains = <&cpufreq_pc1>; + cpu-release-addr = <0 0>; + next-level-cache = <&l2_cache_p1_2>; + }; + + cpu33: cpu@11203 { + compatible = "apple,everest"; + capacity-dmips-mhz = <1024>; + device_type = "cpu"; + reg = <0x0 0x11203>; + enable-method = "spin-table"; + operating-points-v2 = <&pcluster_opp>; + performance-domains = <&cpufreq_pc1>; + cpu-release-addr = <0 0>; + next-level-cache = <&l2_cache_p1_3>; + }; + + cpu34: cpu@11204 { + compatible = "apple,everest"; + capacity-dmips-mhz = <1024>; + device_type = "cpu"; + reg = <0x0 0x11204>; + enable-method = "spin-table"; + operating-points-v2 = <&pcluster_opp>; + performance-domains = <&cpufreq_pc1>; + cpu-release-addr = <0 0>; + next-level-cache = <&l2_cache_p1_4>; + }; + + /* + * Caches beyond L1. Each Sawtooth (M) cluster shares an 8 MiB L2. + * An Everest (S) core has a private L2, and its cluster shares a + * 16 MiB L3. CLIDR_EL1 reports three cache levels on Everest and + * two on Sawtooth; macOS reports 16 MiB and 8 MiB per six cores + * (hw.perflevelN.l2cachesize, cpusperl2); dependent loads on J775c + * take 0.7 ns up to 128 KiB, 2.8 ns up to 512 KiB and 5-11 ns up + * to 8 MiB on an Everest core, and 1.0 ns up to 64 KiB and 4.7 ns + * up to 3 MiB on a Sawtooth core. The size of the Everest L2 is + * not established. Every CPU node must reach as many levels as + * CLIDR_EL1 reports, or cacheinfo ignores these nodes and treats + * every level above L1 as shared by all CPUs, which makes the + * scheduler's last-level-cache domain span all the clusters. + */ + l2_cache_m00: l2-cache-m00 { + compatible = "cache"; + cache-level = <2>; + cache-unified; + cache-size = <0x800000>; + }; + + l2_cache_m01: l2-cache-m01 { + compatible = "cache"; + cache-level = <2>; + cache-unified; + cache-size = <0x800000>; + }; + + l3_cache_p0: l3-cache-p0 { + compatible = "cache"; + cache-level = <3>; + cache-unified; + cache-size = <0x1000000>; + }; + + l2_cache_p0_0: l2-cache-p0-0 { + compatible = "cache"; + cache-level = <2>; + cache-unified; + next-level-cache = <&l3_cache_p0>; + }; + + l2_cache_p0_1: l2-cache-p0-1 { + compatible = "cache"; + cache-level = <2>; + cache-unified; + next-level-cache = <&l3_cache_p0>; + }; + + l2_cache_p0_2: l2-cache-p0-2 { + compatible = "cache"; + cache-level = <2>; + cache-unified; + next-level-cache = <&l3_cache_p0>; + }; + + l2_cache_p0_3: l2-cache-p0-3 { + compatible = "cache"; + cache-level = <2>; + cache-unified; + next-level-cache = <&l3_cache_p0>; + }; + + l2_cache_p0_4: l2-cache-p0-4 { + compatible = "cache"; + cache-level = <2>; + cache-unified; + next-level-cache = <&l3_cache_p0>; + }; + + l2_cache_p0_5: l2-cache-p0-5 { + compatible = "cache"; + cache-level = <2>; + cache-unified; + next-level-cache = <&l3_cache_p0>; + }; + + l2_cache_m10: l2-cache-m10 { + compatible = "cache"; + cache-level = <2>; + cache-unified; + cache-size = <0x800000>; + }; + + l2_cache_m11: l2-cache-m11 { + compatible = "cache"; + cache-level = <2>; + cache-unified; + cache-size = <0x800000>; + }; + + l3_cache_p1: l3-cache-p1 { + compatible = "cache"; + cache-level = <3>; + cache-unified; + cache-size = <0x1000000>; + }; + + l2_cache_p1_0: l2-cache-p1-0 { + compatible = "cache"; + cache-level = <2>; + cache-unified; + next-level-cache = <&l3_cache_p1>; + }; + + l2_cache_p1_1: l2-cache-p1-1 { + compatible = "cache"; + cache-level = <2>; + cache-unified; + next-level-cache = <&l3_cache_p1>; + }; + + l2_cache_p1_2: l2-cache-p1-2 { + compatible = "cache"; + cache-level = <2>; + cache-unified; + next-level-cache = <&l3_cache_p1>; + }; + + l2_cache_p1_3: l2-cache-p1-3 { + compatible = "cache"; + cache-level = <2>; + cache-unified; + next-level-cache = <&l3_cache_p1>; + }; + + l2_cache_p1_4: l2-cache-p1-4 { + compatible = "cache"; + cache-level = <2>; + cache-unified; + next-level-cache = <&l3_cache_p1>; + }; + + l2_cache_p1_5: l2-cache-p1-5 { + compatible = "cache"; + cache-level = <2>; + cache-unified; + next-level-cache = <&l3_cache_p1>; + }; + }; + + /* + * CPU OPPs, from the ADT: /arm-io/pmgr acc-clusters maps clusters 0, 1 and 2 of each die to voltage-states 22, + * 23 and 5, and their -sram tables give the frequencies (kHz). 22 and 23 list the same frequencies, so the two + * M clusters share one table. Levels are DVFS command states: state 1 is 300 MHz and state k the table's + * (k-1)-th entry from state 2, as on T8142 (measured on J775D: every state's clock from a dependent-add chain, + * cpm4 window, evidence/power/2026-11-02-cpupm). iBoot leaves die 0's and die 1's M cluster 0 in state 6 + * (2652 MHz), the other clusters in state 2. + * + * Bring-up: the controllers below assert apple,firmware-managed-thermal, which the T6050 profile requires, + * before that ownership is qualified on this boot chain (no Linux PMP driver runs; the SMC drives the fans). + * The cpm windows qualify it: an all-core load at the top states, watching TCMb, the fans and the measured + * clock (specs/2026-11-02-t6050-cpupm.md). + */ + + + /* The 24 MHz reference clock of the watchdog */ + + /* The QSPI controller's input: ADT /arm-io/qspi clock-ids 440, /arm-io clock-frequencies[440 - 256] */ + + + /* Die 0 MMIO */ + die0: soc { + compatible = "simple-bus"; + #address-cells = <2>; + #size-cells = <2>; + ranges; + nonposted-mmio; + + /* + * The clusters' DVFS command apertures: /arm-io/pmgr reg 16, 26 and 36 (0x12e8 each, the driver uses + * the first 0x1000). apple,firmware-managed-thermal: see the CPU OPP tables. + */ + cpufreq_mc00: performance-controller@210e20000 { + compatible = "apple,t6050-cluster-cpufreq"; + reg = <0x2 0x10e20000 0x0 0x1000>; + #performance-domain-cells = <0>; + apple,firmware-managed-thermal; + }; + + cpufreq_mc10: performance-controller@211e20000 { + compatible = "apple,t6050-cluster-cpufreq"; + reg = <0x2 0x11e20000 0x0 0x1000>; + #performance-domain-cells = <0>; + apple,firmware-managed-thermal; + }; + + cpufreq_pc0: performance-controller@212e20000 { + compatible = "apple,t6050-cluster-cpufreq"; + reg = <0x2 0x12e20000 0x0 0x1000>; + #performance-domain-cells = <0>; + apple,firmware-managed-thermal; + }; + + /* One AIC3 for both dies, 3104 interrupts each */ + aic: interrupt-controller@280400000 { + compatible = "apple,t6050-aic3", "apple,t8122-aic3"; + interrupt-controller; + #interrupt-cells = <4>; + reg = <0x2 0x80400000 0x0 0x1cc000>, + <0x2 0x80440000 0x0 0x4000>; + reg-names = "core", "event"; + }; + + /* + * DockChannel channel 1, the one the USB debug link carries. + * Its FIFO raises no interrupt on receive, so it is drained in + * software. + */ + dockchannel: serial@288e3c000 { + compatible = "apple,dockchannel-uart"; + reg = <0x2 0x88e3c000 0x0 0x30>, + <0x2 0x88e38000 0x0 0x8>, + <0x2 0x88e0c000 0x0 0x18>; + reg-names = "data", "config", "irq"; + interrupts = ; + apple,channel = <1>; + apple,sw-drain; + status = "disabled"; + }; + + wdt: watchdog@28836c000 { + compatible = "apple,t6050-wdt", "apple,t8103-wdt"; + reg = <0x2 0x8836c000 0x0 0x4000>; + clocks = <&clkref>; + interrupts = ; + }; + + /* + * /arm-io/smc: reg[0] 0x8c600000 +0x88000 (the ASC; the SMC driver maps none of it), its mailbox + * the ASC v4 block at +0x8000 as on ANS. ADT interrupts [900, 899, 902, 901]: 899..902 in the + * send-empty, send-not-empty, recv-empty, recv-not-empty order. iop-smc-nub region-base + * 0x28de00000 +0x140000 is already a CPU address: the SRAM its RTKit buffers and key replies use. + * iBoot leaves the firmware (t6050smc) running. + */ + smc_mbox: mailbox@28c608000 { + compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x2 0x8c608000 0x0 0x4000>; + interrupts = , + , + , + ; + interrupt-names = "send-empty", "send-not-empty", + "recv-empty", "recv-not-empty"; + #mbox-cells = <0>; + }; + + /* + * The AOP's GPIO controller (ADT /arm-io/aop-gpio0, gpio,t8101, 85 pins), for the HDMI + * port's hotplug input (pin 14, active high). The AOP keeps interrupt groups 0-3; the + * AP's are 4-6 (supported-int-groups), AIC 572-574. Like T8132's, the block has slots + * that fault when read, so it is matched as T8132's (no register cache read-back). + * Pin 15 (force-dpfu) is never requested. + */ + pinctrl_aop: pinctrl@290824000 { + compatible = "apple,t6050-pinctrl", "apple,t8132-pinctrl"; + reg = <0x2 0x90824000 0x0 0x4000>; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl_aop 0 0 85>; + apple,npins = <85>; + interrupt-controller; + #interrupt-cells = <2>; + interrupt-parent = <&aic>; + interrupts = , + , + ; + apple,irq-group-base = <4>; + /* Aura enables it with dcpext4 (its hotplug input). */ + status = "disabled"; + }; + + smc: smc@28c600000 { + compatible = "apple,t6050-smc"; + reg = <0x2 0x8c600000 0x0 0x4000>, + <0x2 0x8de00000 0x0 0x140000>; + reg-names = "smc", "sram"; + mboxes = <&smc_mbox>; + + /* T8142's key discovery (every readable T* float key); the Studio's two fans below. */ + smc_hwmon: hwmon { + compatible = "apple,smc-hwmon"; + apple,discover-temperatures; + /* macsmc_soc_die: the SoC hotspot the SMC computes (TCMb, 47.8 C at idle) */ + apple,soc-die-keys = "TCMb"; + + /* PSTR and PDTR read 0 on the Studio; PD0R is its DC input (36.5 W at an idle desktop). */ + power-PD0R { + apple,key-id = "PD0R"; + label = "DC Input Power"; + }; + }; + + /* + * The PMU's legacy scratchpad (info-leg_scrpad 0xf800) cells, as on T6040, and its + * power-on policy byte (info-pm_setting 0x2001, as on T6030) for ac_power_mode. + */ + smc_reboot: reboot { + compatible = "apple,smc-reboot"; + nvmem-cells = <&shutdown_flag>, <&boot_stage>, + <&boot_error_count>, <&panic_count>, <&pm_setting>; + nvmem-cell-names = "shutdown_flag", "boot_stage", + "boot_error_count", "panic_count", "pm_setting"; + }; + + /* + * The HDMI converter's two power outputs, SMC pcIO commands (ADT dp2hdmi-gpio1, + * pKW8('pcIO', lo, hi) templates (hi << 32) | lo, the level in bits 15:0): + * line 0 hdmi_pwr_en ('pcIO', 0x800000, 0xf0000), line 1 dp2hdmi_pwr_en + * ('pcIO', 0x0, 0x1a0000). Nothing drives them until the HDMI output does. + */ + smc_pcio: gpio { + compatible = "apple,smc-pcio-gpio"; + gpio-controller; + #gpio-cells = <2>; + apple,output-commands = /bits/ 64 <0x000f000000800000 0x001a000000000000>; + }; + + /* ADT info-clock_offset [0x2100, 6]: M1-style 32768 Hz ticks, as on T6040. */ + smc_rtc: rtc { + compatible = "apple,smc-rtc"; + nvmem-cells = <&rtc_offset>, <&rtc_ctrl>, <&rtc_alarm>, + <&rtc_alarm_mask>; + nvmem-cell-names = "rtc_offset", "rtc_ctrl", "rtc_alarm", + "rtc_alarm_mask"; + /* The PMU alarm: its peripheral interrupt 2 (ADT smc-pmu wake source bit 48, rtc) */ + interrupts-extended = <&nub_spmi0 2 IRQ_TYPE_EDGE_RISING>; + wakeup-source; + }; + }; + + /* + * The storage SART. The boot loader's entries (outside the + * kernel's memory) stay in place. + */ + ans_sart: iommu@41dc50000 { + compatible = "apple,t6050-sart"; + reg = <0x4 0x1dc50000 0x0 0xc000>; + }; + + ans_mbox: mailbox@419608000 { + compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x4 0x19608000 0x0 0x4000>; + interrupts = , + , + , + ; + interrupt-names = "send-empty", "send-not-empty", + "recv-empty", "recv-not-empty"; + #mbox-cells = <0>; + }; + + /* + * The boot loader leaves ANS running with the controller shut + * down. Its power stays with the firmware, and post-M4 ANS is + * never reset through PMGR, so the node names no power domain + * and no reset. + */ + nvme: nvme@45dcc0000 { + compatible = "apple,t6050-nvme-ans2"; + reg = <0x4 0x5dcc0000 0x0 0x10000>, + <0x4 0x19600000 0x0 0x4000>, + <0x4 0x1dcc0000 0x0 0x60000>; + reg-names = "nvme", "ans", "nvmmu"; + interrupts = ; + mboxes = <&ans_mbox>; + apple,sart = <&ans_sart>; + }; + + /* The DARTs of PCIe ports 2 and 3 */ + dart_apcie2: iommu@412000000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x4 0x12000000 0x0 0x20000>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + /* + * /arm-io/dart-apcie0: the N1's (apcie port 0). Its mappers are Control, Alpha and Beta + * on streams 1, 2 and 3. Disabled, like port 0, until the bootloader trains that port. + */ + dart_apcie0: iommu@410000000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x4 0x10000000 0x0 0x20000>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + dart_apcie3: iommu@413000000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x4 0x13000000 0x0 0x20000>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + /* + * /arm-io/nub-spmi0: reg[0] 0x8a014000 +0x4000, generation 4. Its AIC line is ADT interrupts[1] + * (726; the others are the controller's own numbers: 256 the command notify, 281 fatal, then the + * error and other lists). Its peripheral interrupts carry the PMU's (spmi-abbeyL1: 2, 62). + * No power-domains: NUB_SPMI0 is critical and on (Aura talks to the PMU here every boot), and + * binding the pwrstate driver would write the PS register at probe. + */ + nub_spmi0: spmi@28a014000 { + compatible = "apple,t6050-spmi", "apple,t8142-spmi"; + reg = <0x2 0x8a014000 0x0 0x4000>; + #address-cells = <2>; + #size-cells = <0>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + + /* spmi-abbeyL1, is-primary: USID 0xe. Read-only use: cells, never a whole-device read. */ + pmu: pmic@e { + compatible = "apple,abbey-pmic", "apple,spmi-nvmem"; + reg = <0xe SPMI_USID>; + + nvmem-layout { + compatible = "fixed-layout"; + #address-cells = <1>; + #size-cells = <1>; + + /* + * The PMU alarm: ADT info-rtc_alarm_ctrl 0x2000 (monitor bit 0, event bit 1, + * enable bit 6), info-rtc_alarm_offset 0x2008, info-rtc_irq_mask_offset 0x200e. + */ + rtc_ctrl: rtc-ctrl@2000 { + reg = <0x2000 1>; + }; + + /* ADT info-pm_setting: bit 0 no restore, bit 5 no power-on at connect */ + pm_setting: pm-setting@2001 { + reg = <0x2001 1>; + }; + + rtc_alarm: rtc-alarm@2008 { + reg = <0x2008 4>; + }; + + rtc_alarm_mask: rtc-alarm-mask@200e { + reg = <0x200e 1>; + }; + + rtc_offset: rtc-offset@2100 { + reg = <0x2100 6>; /* ADT info-clock_offset */ + }; + + /* Abbey conventions (research 14; 0xf802 is the counter Aura clears). */ + boot_stage: boot-stage@f801 { + reg = <0xf801 1>; + }; + + boot_error_count: boot-error-count@f802,0 { + reg = <0xf802 1>; + bits = <0 4>; + }; + + panic_count: panic-count@f802,4 { + reg = <0xf802 1>; + bits = <4 4>; + }; + + shutdown_flag: shutdown-flag@f80f,3 { + reg = <0xf80f 1>; + bits = <3 1>; + }; + }; + }; + }; + /* + * dcpext0, the first external display engine (die 0), as iBoot leaves it: powered, its ASC + * running, both DARTs locked (PROTECT 0xff / 0xb9) on its own four-level tables, DCP SID 23, + * scanout SID 0 and PIODMA SID 16 (evidence/display/2026-10-30-dcpext-inventory.md). From the + * ADT (/arm-io/dcpext0, dispext0, dart-dcpext0, dart-dispext0; arm-io ranges +0x200000000) + * and the M5 guest's validated dcp@70000000 (aura-internal data/m5-apif-guest.dts), whose + * physical addresses these are. No power-domains: the blocks run with auto-enable, and the + * pwrstate driver would write PS at probe. All disabled here: Aura enables them only when its + * checks of that state pass and it has reserved vram (patches/aura). + */ + dart_dcpext0: iommu@2b2340000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x2 0xb2340000 0x0 0x20000>; + /* dart-dcpext0 and dart-dispext0 share ADT interrupt 1070 */ + interrupts = ; + #iommu-cells = <1>; + /* ADT vm-base 1 TiB, vm-size 3 TiB */ + apple,dma-range = <0x100 0x0 0x300 0x0>; + status = "disabled"; + }; + + dart_dispext0: iommu@2b2300000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + /* reg[0] only; the ADT's second bank (0xb2314000) and shared 0x803f0000 are not ours */ + reg = <0x2 0xb2300000 0x0 0xc000>; + interrupts = ; + #iommu-cells = <1>; + apple,dma-range = <0x100 0x0 0x300 0x0>; + status = "disabled"; + }; + + /* The ASC v4 mailbox at dcpext0 + 0x8000; ADT interrupts 1123..1126 in mailbox order */ + dcpext0_mbox: mailbox@2b2e08000 { + compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x2 0xb2e08000 0x0 0x4000>; + interrupts = , + , + , + ; + interrupt-names = "send-empty", "send-not-empty", + "recv-empty", "recv-not-empty"; + #mbox-cells = <0>; + status = "disabled"; + }; + + /* dispext0 reg[4]: the PMC metadata the bandwidth scratch lives in */ + dcpext0_pmc: pmc-metadata@286700000 { + reg = <0x2 0x86700000 0x0 0x114000>; + #apple,bw-scratch-cells = <3>; + status = "disabled"; + }; + + /* + * The PMC voter interface (die 0): agent a's floor word at "voters" + 0x4000 * a, with a + * pending word after it, and the honoured floors and rail enable words at "rails". Both lie + * inside dispext0's PMC range above, which the DCP driver only hands to its firmware. Agents + * (ADT voter-agent): PMP 0, CLPC 1, GFX 2, AP 3, PMP1 4. The boot loader enables none on any + * rail; CLPC and AP become static voters. The PMP and GFX agents stay as the boot left them. + */ + pmc: power-management@286806000 { + compatible = "apple,t6050-pmc"; + reg = <0x2 0x86806000 0x0 0x3000>, + <0x2 0x86700000 0x0 0x14000>; + reg-names = "rails", "voters"; + #address-cells = <1>; + #size-cells = <0>; + apple,static-voters = <1 3>; + + clpc: performance-controller@1 { + compatible = "apple,t6050-clpc", "apple,t6041-clpc"; + reg = <1>; + }; + }; + + dcpext0: dcp@2b2e00000 { + compatible = "apple,t6050-dcpext", "apple,dcpext"; + reg = <0x2 0xb2e00000 0x0 0x4000>, + <0x2 0xb0000000 0x0 0x4000000>, + <0x2 0xb2240000 0x0 0x10000>, + <0x2 0xb23ac000 0x0 0x4000>, + <0x2 0xb2800000 0x0 0x800000>, + <0x2 0x86700000 0x0 0x114000>, + <0x2 0xb2850000 0x0 0x4000>; + reg-names = "coproc", "disp-0", "disp-1", "disp-2", "disp-3", "disp-4", "iop-vbar"; + mboxes = <&dcpext0_mbox>; + mbox-names = "mbox"; + iommus = <&dart_dcpext0 23>; + apple,bw-scratch = <&dcpext0_pmc 0 5 0x2c000>; + apple,dcp-index = <1>; + /* dcpext has no firmware clocks (the M5 guest's empty list) */ + apple,clock-ids; + /* + * apple,firmware-version/-compat come from Aura's handoff (aura/0034): the stub's + * firmware, 27.0 or 27.2, whose IOMFB method IDs differ (iomfb_v27.c). + */ + /* + * DisplayPort out on the rear USB-C ports. Route 0 is port 3 (HPM2, "back-left-middle", + * ATC2), the M5 guest's route for this engine (crossbar index 0, typec-dptx-phys 2), + * which Aura's display handoff enables and binds to its HPM. Routes 1-3 are ports 2, 4 + * and 1 (ATC1, ATC3, ATC0): the same crossbar input on each port's crossbar, and the + * port's own DPTX PHY, as the other Apple boards that route one engine to every port. + */ + apple,connector-type = "USB-C"; + apple,dptx-die = <0>; + apple,typec-dptx-phys = <2 1 3 0>; + apple,typec-mux-indices = <0 0 0 0>; + phys = <&atc2_phy 6>, <&atc1_phy 6>, <&atc3_phy 6>, <&atc0_phy 6>; + phy-names = "typec0", "typec1", "typec2", "typec3"; + mux-controls = <&atc2_xbar 0>, <&atc1_xbar 0>, <&atc3_xbar 0>, <&atc0_xbar 0>; + mux-control-names = "typec0", "typec1", "typec2", "typec3"; + status = "disabled"; + + piodma { + iommus = <&dart_dispext0 16>; + }; + + typec-routes { + #address-cells = <1>; + #size-cells = <0>; + + route@0 { + reg = <0>; + mode-switch; + + port { + dcpext0_typec: endpoint { + remote-endpoint = <&hpm2_dp>; + }; + }; + }; + + route@1 { + reg = <1>; + mode-switch; + + port { + dcpext0_typec1: endpoint { + remote-endpoint = <&hpm1_dp>; + }; + }; + }; + + route@2 { + reg = <2>; + mode-switch; + + port { + dcpext0_typec2: endpoint { + remote-endpoint = <&hpm3_dp>; + }; + }; + }; + + route@3 { + reg = <3>; + mode-switch; + + port { + dcpext0_typec3: endpoint { + remote-endpoint = <&hpm0_dp>; + }; + }; + }; + }; + }; + + /* + * The Type-C chain of rear port 3, all disabled: Aura's T6050 display handoff enables + * what dcpext0 references (phys, mux-controls, the PHY's mailbox and power domains, + * the typec route's HPM and its SPMI bus). Addresses from the ADT (arm-io ranges + * +0x200000000); PMGR offsets from tools/aura's pmgr_adt2dt.py over the same ADT. + */ + pmgr0: power-management@280600000 { + compatible = "apple,t6050-pmgr", "apple,t8103-pmgr", "syscon", "simple-mfd"; + reg = <0x2 0x80600000 0x0 0x4000>; + #address-cells = <1>; + #size-cells = <1>; + + /* Rear port 1 (ATC0), ADT pmgr ATC0_COMMON. */ + ps_atc0_common: power-controller@208 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x208 4>; + label = "atc0_common"; + #power-domain-cells = <0>; + #reset-cells = <0>; + }; + + /* Rear port 2's (ATC1) chain is described enabled: nothing hands it off. */ + ps_atc1_common: power-controller@210 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x210 4>; + label = "atc1_common"; + #power-domain-cells = <0>; + #reset-cells = <0>; + }; + + ps_atc2_common: power-controller@238 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x238 4>; + label = "atc2_common"; + #power-domain-cells = <0>; + #reset-cells = <0>; + status = "disabled"; + }; + + /* Rear port 4 (ATC3), ADT gate 62. Its parent FAB5_SOC (+0x1f0) is critical: always on. */ + ps_atc3_common: power-controller@240 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x240 4>; + label = "atc3_common"; + #power-domain-cells = <0>; + #reset-cells = <0>; + }; + }; + + pmgr2: power-management@288300000 { + compatible = "apple,t6050-pmgr", "apple,t8103-pmgr", "syscon", "simple-mfd"; + reg = <0x2 0x88300000 0x0 0xc000>; + #address-cells = <1>; + #size-cells = <1>; + + /* Rear port 1 (ATC0): ADT pmgr ATC0_USB_AON, ATC0_USB, ATC0_PHYMXWRAP. */ + ps_atc0_usb_aon: power-controller@148 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x148 4>; + label = "atc0_usb_aon"; + #power-domain-cells = <0>; + #reset-cells = <0>; + }; + + ps_atc0_usb: power-controller@150 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x150 4>; + label = "atc0_usb"; + #power-domain-cells = <0>; + #reset-cells = <0>; + power-domains = <&ps_atc0_common>, <&ps_atc0_usb_aon>; + }; + + ps_atc0_phymxwrap: power-controller@158 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x158 4>; + label = "atc0_phymxwrap"; + #power-domain-cells = <0>; + #reset-cells = <0>; + power-domains = <&ps_atc0_common>, <&ps_atc0_usb_aon>; + }; + + ps_atc1_usb_aon: power-controller@160 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x160 4>; + label = "atc1_usb_aon"; + #power-domain-cells = <0>; + #reset-cells = <0>; + }; + + /* usb-drd1's clock gate (its DARTs' too); the PHY's USB2 banks need it as well */ + ps_atc1_usb: power-controller@168 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x168 4>; + label = "atc1_usb"; + #power-domain-cells = <0>; + #reset-cells = <0>; + power-domains = <&ps_atc1_common>, <&ps_atc1_usb_aon>; + }; + + ps_atc1_phymxwrap: power-controller@170 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x170 4>; + label = "atc1_phymxwrap"; + #power-domain-cells = <0>; + #reset-cells = <0>; + power-domains = <&ps_atc1_common>, <&ps_atc1_usb_aon>; + }; + + ps_atc2_usb_aon: power-controller@178 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x178 4>; + label = "atc2_usb_aon"; + #power-domain-cells = <0>; + #reset-cells = <0>; + status = "disabled"; + }; + + ps_atc2_phymxwrap: power-controller@188 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x188 4>; + label = "atc2_phymxwrap"; + #power-domain-cells = <0>; + #reset-cells = <0>; + power-domains = <&ps_atc2_common>, <&ps_atc2_usb_aon>; + status = "disabled"; + }; + + /* usb-drd2's clock gate; the PHY's USB2 banks need it too */ + ps_atc2_usb: power-controller@180 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x180 4>; + label = "atc2_usb"; + #power-domain-cells = <0>; + #reset-cells = <0>; + power-domains = <&ps_atc2_common>, <&ps_atc2_usb_aon>; + status = "disabled"; + }; + + /* Rear port 4 (ATC3): ADT gates 269, 270 (usb-drd3) and 271 */ + ps_atc3_usb_aon: power-controller@190 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x190 4>; + label = "atc3_usb_aon"; + #power-domain-cells = <0>; + #reset-cells = <0>; + }; + + ps_atc3_usb: power-controller@198 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x198 4>; + label = "atc3_usb"; + #power-domain-cells = <0>; + #reset-cells = <0>; + power-domains = <&ps_atc3_common>, <&ps_atc3_usb_aon>; + }; + + ps_atc3_phymxwrap: power-controller@1a0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1a0 4>; + label = "atc3_phymxwrap"; + #power-domain-cells = <0>; + #reset-cells = <0>; + power-domains = <&ps_atc3_common>, <&ps_atc3_usb_aon>; + }; + }; + + /* /arm-io/acio-phy-cpu2 reg[0]: the PHY firmware's mailbox (it runs, pre-loaded by iBoot) */ + atc2_phy_mbox: mailbox@383148000 { + compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x3 0x83148000 0x0 0x4000>; + interrupts = , + , + , + ; + interrupt-names = "send-empty", "send-not-empty", "recv-empty", "recv-not-empty"; + #mbox-cells = <0>; + status = "disabled"; + }; + + /* /arm-io/atc-phy2 regs [2] [0] usb-drd2[4] [39] [40] [41] [42] [43] [38] [37] usb-drd2[3] */ + atc2_phy: phy@383000000 { + compatible = "apple,t6050-combo-phy"; + reg = <0x3 0x83000000 0x0 0x2c000>, + <0x3 0x82a90000 0x0 0x4000>, + <0x3 0x82800000 0x0 0x4000>, + <0x3 0x83200000 0x0 0x4000>, + <0x3 0x83244000 0x0 0x4000>, + <0x3 0x80000000 0x0 0x8000>, + <0x3 0x80020000 0x0 0x4000>, + <0x3 0x83250000 0x0 0x4000>, + <0x3 0x83140000 0x0 0x4000>, + <0x3 0x830c0000 0x0 0x10000>, + <0x3 0x82a84000 0x0 0x4000>; + reg-names = "core", "usb2phy", "usb2-digital", "reset", "fabric", "axi2af", "lioa", + "common-cfg", "usb-control", "firmware-data", "pipehandler"; + #phy-cells = <1>; + #reset-cells = <1>; + apple,port-index = <2>; + /* The binding's name for "no other owner"; nothing else drives this port here. */ + apple,guest-port-reserved; + mode-switch; + orientation-switch; + mboxes = <&atc2_phy_mbox>; + power-domains = <&ps_atc2_usb_aon>, <&ps_atc2_common>, <&ps_atc2_phymxwrap>, + <&ps_atc2_usb>; + power-domain-names = "usb-aon", "common", "wrapper", "usb"; + status = "disabled"; + + port { + atc2_phy_ep: endpoint { + remote-endpoint = <&hpm2_ss>; + }; + }; + }; + + /* /arm-io/atc0-dpxbar */ + + /* /arm-io/atc1-dpxbar */ + + /* /arm-io/atc3-dpxbar */ + + /* /arm-io/atc2-dpxbar */ + atc2_xbar: mux@38324c000 { + compatible = "apple,t6050-display-crossbar", "apple,t8142-display-crossbar"; + reg = <0x3 0x8324c000 0x0 0x4000>; + #mux-control-cells = <1>; + power-domains = <&ps_atc2_usb_aon>, <&ps_atc2_common>; + power-domain-names = "usb-aon", "common"; + status = "disabled"; + }; + + /* + * /arm-io/nub-spmi-a0: reg[0] 0x8a188000, generation 4. The HPM is polled (no + * interrupts), so the bus needs none either. + */ + /* Enabled for rear port 2's HPM; the display handoff still enables hpm2 itself. */ + nub_spmi_a0: spmi@28a188000 { + compatible = "apple,t6050-spmi", "apple,t8142-spmi"; + reg = <0x2 0x8a188000 0x0 0x4000>; + #address-cells = <2>; + #size-cells = <0>; + + /* + * /arm-io/nub-spmi-a0/hpm0: SN201202x (ACE3), SPMI address 0xc, port-number 1 (back-right): + * the DFU port. Bring-up kept it disabled for the DFU cable's host-side VDM reboot path and + * the debug console (KIS); a smart plug now covers power-cycles, and full parity needs the + * port. While Linux runs, this driver owns the controller, as on other Apple machines. + */ + hpm0: usb-pd@c { + compatible = "apple,sn201202x"; + reg = <0xc SPMI_USID>; + + connector { + compatible = "usb-c-connector"; + label = "USB-C Back-right"; + power-role = "dual"; + data-role = "host"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + hpm0_hs: endpoint { + remote-endpoint = <&usb_drd0_hs>; + }; + }; + + port@1 { + reg = <1>; + hpm0_ss: endpoint { + remote-endpoint = <&atc0_phy_ep>; + }; + }; + + port@2 { + reg = <2>; + hpm0_dp: endpoint { + remote-endpoint = <&dcpext0_typec3>; + }; + }; + }; + }; + }; + + /* /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 { + compatible = "usb-c-connector"; + label = "USB-C Back-right-middle"; + power-role = "dual"; + data-role = "host"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + hpm1_hs: endpoint { + remote-endpoint = <&usb_drd1_hs>; + }; + }; + + port@1 { + reg = <1>; + hpm1_ss: endpoint { + remote-endpoint = <&atc1_phy_ep>; + }; + }; + + port@2 { + reg = <2>; + hpm1_dp: endpoint { + remote-endpoint = <&dcpext0_typec1>; + }; + }; + }; + }; + }; + + /* /arm-io/nub-spmi-a0/hpm2: SN201202x (ACE3), SPMI address 8, port-number 3 */ + hpm2: usb-pd@8 { + compatible = "apple,sn201202x"; + reg = <0x8 SPMI_USID>; + status = "disabled"; + + connector { + compatible = "usb-c-connector"; + label = "USB-C Back-left-middle"; + power-role = "dual"; + data-role = "dual"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + hpm2_hs: endpoint { + remote-endpoint = <&usb_drd2_hs>; + }; + }; + + port@1 { + reg = <1>; + hpm2_ss: endpoint { + remote-endpoint = <&atc2_phy_ep>; + }; + }; + + port@2 { + reg = <2>; + hpm2_dp: endpoint { + remote-endpoint = <&dcpext0_typec>; + }; + }; + }; + }; + }; + + /* /arm-io/nub-spmi-a0/hpm3: SN201202x (ACE3), SPMI address 6, port-number 4 */ + hpm3: usb-pd@6 { + compatible = "apple,sn201202x"; + reg = <0x6 SPMI_USID>; + + connector { + compatible = "usb-c-connector"; + label = "USB-C Back-left"; + power-role = "dual"; + data-role = "host"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + hpm3_hs: endpoint { + remote-endpoint = <&usb_drd3_hs>; + }; + }; + + port@1 { + reg = <1>; + hpm3_ss: endpoint { + remote-endpoint = <&atc3_phy_ep>; + }; + }; + + port@2 { + reg = <2>; + hpm3_dp: endpoint { + remote-endpoint = <&dcpext0_typec2>; + }; + }; + }; + }; + }; + }; + + /* + * Rear USB-C port 2 (HPM1, "back-right-middle"), USB data: ATC1's combo PHY, usb-drd1 and + * dart-usb1, as port 3's above with ADT /arm-io/atc-phy1, usb-drd1 and acio-phy-cpu1. + */ + /* + * Rear USB-C port 1 (HPM0, "back-right" in the ADT, leftmost seen from behind; the DFU + * port): ATC0's combo PHY, usb-drd0 and dart-usb0, as port 2's below. ADT /arm-io/atc-phy0, + * usb-drd0, dart-usb0 and acio-phy-cpu0: every register ATC1's - 0x08000000, the same + * properties and tunables (usb-drd0 adds only usb-restore-disable and the restore NCM address). + */ + /* /arm-io/acio-phy-cpu0 reg[0]: the PHY firmware's mailbox */ + atc0_phy_mbox: mailbox@2a3148000 { + compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x2 0xa3148000 0x0 0x4000>; + interrupts = , + , + , + ; + interrupt-names = "send-empty", "send-not-empty", "recv-empty", "recv-not-empty"; + #mbox-cells = <0>; + }; + + /* /arm-io/atc-phy0 regs [2] [0] usb-drd0[4] [39] [40] [41] [42] [43] [38] [37] usb-drd0[3] */ + atc0_phy: phy@2a3000000 { + compatible = "apple,t6050-combo-phy"; + reg = <0x2 0xa3000000 0x0 0x2c000>, + <0x2 0xa2a90000 0x0 0x4000>, + <0x2 0xa2800000 0x0 0x4000>, + <0x2 0xa3200000 0x0 0x4000>, + <0x2 0xa3244000 0x0 0x4000>, + <0x2 0xa0000000 0x0 0x8000>, + <0x2 0xa0020000 0x0 0x4000>, + <0x2 0xa3250000 0x0 0x4000>, + <0x2 0xa3140000 0x0 0x4000>, + <0x2 0xa30c0000 0x0 0x10000>, + <0x2 0xa2a84000 0x0 0x4000>; + reg-names = "core", "usb2phy", "usb2-digital", "reset", "fabric", "axi2af", "lioa", + "common-cfg", "usb-control", "firmware-data", "pipehandler"; + #phy-cells = <1>; + #reset-cells = <1>; + apple,port-index = <0>; + /* The DFU cable's debug link is no longer used on J775c: port 0 is ordinary. */ + apple,boot-link-released; + apple,guest-port-reserved; + mode-switch; + orientation-switch; + mboxes = <&atc0_phy_mbox>; + power-domains = <&ps_atc0_usb_aon>, <&ps_atc0_common>, <&ps_atc0_phymxwrap>, + <&ps_atc0_usb>; + power-domain-names = "usb-aon", "common", "wrapper", "usb"; + + port { + atc0_phy_ep: endpoint { + remote-endpoint = <&hpm0_ss>; + }; + }; + }; + + /* + * /arm-io/usb-drd0: reg[0] (core and Apple regions), reg[1] (drd-cfg), interrupt 1419. The + * tunables are its ADT tables (DRD_USB31_GBL_DEFAULT with GCTL.PWRDNSCALE = 0xd, as on + * T6040; GBL_HOST, DBG, CFG_HOST, LINK_REGS, CIO_REGS); PIPE_HANDLER goes to the PHY. + */ + + /* /arm-io/dart-usb0 reg[0] and reg[1], interrupt 1423; vm-base 0x10000004000 +0xffff0000 */ + + + /* /arm-io/acio-phy-cpu1 reg[0]: the PHY firmware's mailbox */ + atc1_phy_mbox: mailbox@2ab148000 { + compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x2 0xab148000 0x0 0x4000>; + interrupts = , + , + , + ; + interrupt-names = "send-empty", "send-not-empty", "recv-empty", "recv-not-empty"; + #mbox-cells = <0>; + }; + + /* /arm-io/atc-phy1 regs [2] [0] usb-drd1[4] [39] [40] [41] [42] [43] [38] [37] usb-drd1[3] */ + atc1_phy: phy@2ab000000 { + compatible = "apple,t6050-combo-phy"; + reg = <0x2 0xab000000 0x0 0x2c000>, + <0x2 0xaaa90000 0x0 0x4000>, + <0x2 0xaa800000 0x0 0x4000>, + <0x2 0xab200000 0x0 0x4000>, + <0x2 0xab244000 0x0 0x4000>, + <0x2 0xa8000000 0x0 0x8000>, + <0x2 0xa8020000 0x0 0x4000>, + <0x2 0xab250000 0x0 0x4000>, + <0x2 0xab140000 0x0 0x4000>, + <0x2 0xab0c0000 0x0 0x10000>, + <0x2 0xaaa84000 0x0 0x4000>; + reg-names = "core", "usb2phy", "usb2-digital", "reset", "fabric", "axi2af", "lioa", + "common-cfg", "usb-control", "firmware-data", "pipehandler"; + #phy-cells = <1>; + #reset-cells = <1>; + apple,port-index = <1>; + apple,guest-port-reserved; + mode-switch; + orientation-switch; + mboxes = <&atc1_phy_mbox>; + power-domains = <&ps_atc1_usb_aon>, <&ps_atc1_common>, <&ps_atc1_phymxwrap>, + <&ps_atc1_usb>; + power-domain-names = "usb-aon", "common", "wrapper", "usb"; + + port { + atc1_phy_ep: endpoint { + remote-endpoint = <&hpm1_ss>; + }; + }; + }; + + /* + * /arm-io/usb-drd1: reg[0] (core and Apple regions), reg[1] (drd-cfg), interrupt 1451. The + * tunables are its ADT tables (DRD_USB31_GBL_DEFAULT with GCTL.PWRDNSCALE = 0xd, as on + * T6040; GBL_HOST, DBG, CFG_HOST, LINK_REGS, CIO_REGS); PIPE_HANDLER goes to the PHY. + */ + usb_drd1: usb@2aa280000 { + compatible = "apple,t6050-dwc3", "apple,t8103-dwc3"; + reg = <0x2 0xaa280000 0x0 0xcd00>, + <0x2 0xaa28cd00 0x0 0x4b00>, + <0x2 0xaa200000 0x0 0x4000>; + reg-names = "dwc3-core", "dwc3-apple", "drd-cfg"; + interrupts = ; + dr_mode = "otg"; + usb-role-switch; + role-switch-default-mode = "host"; + iommus = <&usb_drd1_dart_0 0>, <&usb_drd1_dart_1 1>; + power-domains = <&ps_atc1_usb>; + resets = <&atc1_phy 0>; + phys = <&atc1_phy PHY_TYPE_USB2>, <&atc1_phy PHY_TYPE_USB3>; + phy-names = "usb2-phy", "usb3-phy"; + apple,tunable-gbl-default = <0x64 0x2 0x0>, <0x10 0xfff80000 0x00680000>; + apple,tunable-gbl-host = <0x4 0x0001ef00 0x00002f00>, <0x1c 0x00000100 0x0>, + <0x2c 0x000a07ff 0x000800c8>, <0x100 0x02000100 0x02000100>, + <0x504 0x00001000 0x0>, <0x528 0xff0000ff 0x06000006>, + <0x52c 0xff0000ff 0x08000008>, <0x580 0xffffffff 0x6f000006>, + <0x584 0xffffffff 0x00060000>; + apple,tunable-dbg = <0x0 0x8 0x8>; + apple,tunable-cfg-host = <0x20 0xff 0x1b>; + apple,tunable-link = <0x10 0xff000000 0xff000000>, <0x20 0x7ff00000 0x4e900000>, + <0x24 0x001f8000 0x000b8000>, <0x60 0x0003ffff 0x00000600>; + apple,tunable-cio = <0x20 0x00ff0000 0x001e0000>; + + port { + usb_drd1_hs: endpoint { + remote-endpoint = <&hpm1_hs>; + }; + }; + }; + + /* /arm-io/dart-usb1 reg[0] and reg[1], interrupt 1455; vm-base 0x10000004000 +0xffff0000 */ + usb_drd1_dart_0: iommu@2aaf00000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x2 0xaaf00000 0x0 0xc000>; + interrupts = ; + power-domains = <&ps_atc1_usb>; + #iommu-cells = <1>; + apple,dma-range = <0x100 0x4000 0x0 0xffff0000>; + }; + + usb_drd1_dart_1: iommu@2aaf80000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x2 0xaaf80000 0x0 0xc000>; + interrupts = ; + power-domains = <&ps_atc1_usb>; + #iommu-cells = <1>; + apple,dma-range = <0x100 0x4000 0x0 0xffff0000>; + }; + + /* + * Rear USB-C port 3 (HPM2, the display port): usb-drd2 and dart-usb2, for USB beside DisplayPort + * on ATC2. Disabled: atc2_phy and its domains are the display handoff's. + */ + /* /arm-io/usb-drd2: reg[0] (core and Apple regions), reg[1] (drd-cfg), interrupt 1483; port 2's tunables */ + usb_drd2: usb@382280000 { + compatible = "apple,t6050-dwc3", "apple,t8103-dwc3"; + reg = <0x3 0x82280000 0x0 0xcd00>, + <0x3 0x8228cd00 0x0 0x4b00>, + <0x3 0x82200000 0x0 0x4000>; + reg-names = "dwc3-core", "dwc3-apple", "drd-cfg"; + interrupts = ; + dr_mode = "otg"; + usb-role-switch; + role-switch-default-mode = "host"; + iommus = <&usb_drd2_dart_0 0>, <&usb_drd2_dart_1 1>; + power-domains = <&ps_atc2_usb>; + resets = <&atc2_phy 0>; + phys = <&atc2_phy PHY_TYPE_USB2>, <&atc2_phy PHY_TYPE_USB3>; + phy-names = "usb2-phy", "usb3-phy"; + apple,tunable-gbl-default = <0x64 0x2 0x0>, <0x10 0xfff80000 0x00680000>; + apple,tunable-gbl-host = <0x4 0x0001ef00 0x00002f00>, <0x1c 0x00000100 0x0>, + <0x2c 0x000a07ff 0x000800c8>, <0x100 0x02000100 0x02000100>, + <0x504 0x00001000 0x0>, <0x528 0xff0000ff 0x06000006>, + <0x52c 0xff0000ff 0x08000008>, <0x580 0xffffffff 0x6f000006>, + <0x584 0xffffffff 0x00060000>; + apple,tunable-dbg = <0x0 0x8 0x8>; + apple,tunable-cfg-host = <0x20 0xff 0x1b>; + apple,tunable-link = <0x10 0xff000000 0xff000000>, <0x20 0x7ff00000 0x4e900000>, + <0x24 0x001f8000 0x000b8000>, <0x60 0x0003ffff 0x00000600>; + apple,tunable-cio = <0x20 0x00ff0000 0x001e0000>; + /* USB beside DisplayPort on port 3: enabled with atc2_phy (specs/2026-11-02-usb-c-all-ports.md). */ + status = "disabled"; + + port { + usb_drd2_hs: endpoint { + remote-endpoint = <&hpm2_hs>; + }; + }; + }; + + /* /arm-io/dart-usb2 reg[0] and reg[1], interrupt 1487; vm-base 0x10000004000 +0xffff0000 */ + usb_drd2_dart_0: iommu@382f00000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x3 0x82f00000 0x0 0xc000>; + interrupts = ; + power-domains = <&ps_atc2_usb>; + #iommu-cells = <1>; + apple,dma-range = <0x100 0x4000 0x0 0xffff0000>; + status = "disabled"; + }; + + usb_drd2_dart_1: iommu@382f80000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x3 0x82f80000 0x0 0xc000>; + interrupts = ; + power-domains = <&ps_atc2_usb>; + #iommu-cells = <1>; + apple,dma-range = <0x100 0x4000 0x0 0xffff0000>; + status = "disabled"; + }; + + /* + * Rear USB-C port 4 (HPM3, "back-left"): ATC3's combo PHY, usb-drd3 and dart-usb3, as port 2's + * (ADT /arm-io/atc-phy3, acio-phy-cpu3, usb-drd3, dart-usb3). + */ + /* /arm-io/acio-phy-cpu3 reg[0]: the PHY firmware's mailbox */ + atc3_phy_mbox: mailbox@38b148000 { + compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x3 0x8b148000 0x0 0x4000>; + interrupts = , + , + , + ; + interrupt-names = "send-empty", "send-not-empty", "recv-empty", "recv-not-empty"; + #mbox-cells = <0>; + }; + + /* /arm-io/atc-phy3 regs [2] [0] usb-drd3[4] [39] [40] [41] [42] [43] [38] [37] usb-drd3[3] */ + atc3_phy: phy@38b000000 { + compatible = "apple,t6050-combo-phy"; + reg = <0x3 0x8b000000 0x0 0x2c000>, + <0x3 0x8aa90000 0x0 0x4000>, + <0x3 0x8a800000 0x0 0x4000>, + <0x3 0x8b200000 0x0 0x4000>, + <0x3 0x8b244000 0x0 0x4000>, + <0x3 0x88000000 0x0 0x8000>, + <0x3 0x88020000 0x0 0x4000>, + <0x3 0x8b250000 0x0 0x4000>, + <0x3 0x8b140000 0x0 0x4000>, + <0x3 0x8b0c0000 0x0 0x10000>, + <0x3 0x8aa84000 0x0 0x4000>; + reg-names = "core", "usb2phy", "usb2-digital", "reset", "fabric", "axi2af", "lioa", + "common-cfg", "usb-control", "firmware-data", "pipehandler"; + #phy-cells = <1>; + #reset-cells = <1>; + apple,port-index = <3>; + apple,guest-port-reserved; + mode-switch; + orientation-switch; + mboxes = <&atc3_phy_mbox>; + power-domains = <&ps_atc3_usb_aon>, <&ps_atc3_common>, <&ps_atc3_phymxwrap>, + <&ps_atc3_usb>; + power-domain-names = "usb-aon", "common", "wrapper", "usb"; + + port { + atc3_phy_ep: endpoint { + remote-endpoint = <&hpm3_ss>; + }; + }; + }; + + /* /arm-io/usb-drd3: reg[0] (core and Apple regions), reg[1] (drd-cfg), interrupt 1515; port 2's tunables */ + usb_drd3: usb@38a280000 { + compatible = "apple,t6050-dwc3", "apple,t8103-dwc3"; + reg = <0x3 0x8a280000 0x0 0xcd00>, + <0x3 0x8a28cd00 0x0 0x4b00>, + <0x3 0x8a200000 0x0 0x4000>; + reg-names = "dwc3-core", "dwc3-apple", "drd-cfg"; + interrupts = ; + dr_mode = "otg"; + usb-role-switch; + role-switch-default-mode = "host"; + iommus = <&usb_drd3_dart_0 0>, <&usb_drd3_dart_1 1>; + power-domains = <&ps_atc3_usb>; + resets = <&atc3_phy 0>; + phys = <&atc3_phy PHY_TYPE_USB2>, <&atc3_phy PHY_TYPE_USB3>; + phy-names = "usb2-phy", "usb3-phy"; + apple,tunable-gbl-default = <0x64 0x2 0x0>, <0x10 0xfff80000 0x00680000>; + apple,tunable-gbl-host = <0x4 0x0001ef00 0x00002f00>, <0x1c 0x00000100 0x0>, + <0x2c 0x000a07ff 0x000800c8>, <0x100 0x02000100 0x02000100>, + <0x504 0x00001000 0x0>, <0x528 0xff0000ff 0x06000006>, + <0x52c 0xff0000ff 0x08000008>, <0x580 0xffffffff 0x6f000006>, + <0x584 0xffffffff 0x00060000>; + apple,tunable-dbg = <0x0 0x8 0x8>; + apple,tunable-cfg-host = <0x20 0xff 0x1b>; + apple,tunable-link = <0x10 0xff000000 0xff000000>, <0x20 0x7ff00000 0x4e900000>, + <0x24 0x001f8000 0x000b8000>, <0x60 0x0003ffff 0x00000600>; + apple,tunable-cio = <0x20 0x00ff0000 0x001e0000>; + + port { + usb_drd3_hs: endpoint { + remote-endpoint = <&hpm3_hs>; + }; + }; + }; + + /* /arm-io/dart-usb3 reg[0] and reg[1], interrupt 1519; vm-base 0x10000004000 +0xffff0000 */ + usb_drd3_dart_0: iommu@38af00000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x3 0x8af00000 0x0 0xc000>; + interrupts = ; + power-domains = <&ps_atc3_usb>; + #iommu-cells = <1>; + apple,dma-range = <0x100 0x4000 0x0 0xffff0000>; + }; + + usb_drd3_dart_1: iommu@38af80000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x3 0x8af80000 0x0 0xc000>; + interrupts = ; + power-domains = <&ps_atc3_usb>; + #iommu-cells = <1>; + apple,dma-range = <0x100 0x4000 0x0 0xffff0000>; + }; + + /* + * /arm-io/nub-spmi-a2: reg[0] 0x8a1c8000, generation 4, on die 0 like nub-spmi-a0 although + * the front ports' PHYs are on die 1. Its HPMs are polled, as a0's are. + */ + nub_spmi_a2: spmi@28a1c8000 { + compatible = "apple,t6050-spmi", "apple,t8142-spmi"; + reg = <0x2 0x8a1c8000 0x0 0x4000>; + #address-cells = <2>; + #size-cells = <0>; + + /* /arm-io/nub-spmi-a2/hpm4: SN201202x (ACE3), SPMI address 0xc, port-number 5 */ + hpm4: usb-pd@c { + compatible = "apple,sn201202x"; + reg = <0xc SPMI_USID>; + + connector { + compatible = "usb-c-connector"; + label = "USB-C Front-right"; + power-role = "dual"; + data-role = "host"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + hpm4_hs: endpoint { + remote-endpoint = <&usb_drd4_hs>; + }; + }; + + port@1 { + reg = <1>; + hpm4_ss: endpoint { + remote-endpoint = <&atc4_phy_ep>; + }; + }; + }; + }; + }; + + /* /arm-io/nub-spmi-a2/hpm5: SN201202x (ACE3), SPMI address 0xa, port-number 6 */ + hpm5: usb-pd@a { + compatible = "apple,sn201202x"; + reg = <0xa SPMI_USID>; + + connector { + compatible = "usb-c-connector"; + label = "USB-C Front-left"; + power-role = "dual"; + data-role = "host"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + hpm5_hs: endpoint { + remote-endpoint = <&usb_drd5_hs>; + }; + }; + + port@1 { + reg = <1>; + hpm5_ss: endpoint { + remote-endpoint = <&atc5_phy_ep>; + }; + }; + }; + }; + }; + }; + + /* + * The AOP's audio path: the AP GPIO block, the I2C1/I2C2 buses and their power states, and + * the AOP with its mailbox, dart-aop and the ADMAC its audio streams use. From the ADT + * (arm-io ranges +0x200000000). The AOP, its mailbox, dart-aop and the ADMAC are disabled: + * iBoot leaves the AOP halted on locked dart-aop tables, and Aura enables them only when its + * checks of that state pass (chosen.aurora,t6050-aop=1). + */ + pinctrl_ap: pinctrl@29c000000 { + compatible = "apple,t6050-pinctrl", "apple,t8103-pinctrl"; + reg = <0x2 0x9c000000 0x0 0x44000>; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl_ap 0 0 221>; + apple,npins = <221>; + interrupt-controller; + #interrupt-cells = <2>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + ; + }; + + /* ADT pmgr reg[1]; I2C1 and I2C2 power states (clock-gates 191, 192) */ + pmgr1: power-management@280900000 { + compatible = "apple,t6050-pmgr", "apple,t8103-pmgr", "syscon", "simple-mfd"; + reg = <0x2 0x80900000 0x0 0x4000>; + #address-cells = <1>; + #size-cells = <1>; + + ps_i2c1: power-controller@2c8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2c8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "i2c1"; + }; + + ps_i2c2: power-controller@2d0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2d0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "i2c2"; + }; + + /* + * The boot NOR's controller: ADT pmgr devices SPI_P (id 199, +0x308) and + * QSPI (id 208, +0x350, /arm-io/qspi clock-gates), group 1. SPI_P's parent + * SIO (184) is left undescribed, as for the I2C states above. + */ + ps_spi_p: power-controller@308 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x308 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "spi_p"; + }; + + ps_qspi: power-controller@350 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x350 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "qspi"; + power-domains = <&ps_spi_p>; + }; + + /* + * ADT pmgr device ANE_SYS (id 219, group 1 +0x3a8, parents FAB8_SOC + * and FAB9_SOC, left undescribed as for the I2C states). ANE_SYS_DART + * and ANE_SYS_V hang off it with no state of their own. The child + * states ANE_MPM (+0x3c0), ANE_CPU (+0x3c8) and ANE_TDBASE (+0x3d0) + * are not domains: the ANE driver (CPU, PWGATE, TDBASE, as macOS) + * and its firmware (through DAPF) sequence them. All four read + * 0x300 (ANE_CPU 0x0f000300) at boot. + */ + ps_ane_sys: power-controller@3a8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x3a8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "ane_sys"; + status = "disabled"; + }; + }; + + /* + * The Neural Engine (H17) and its DART, from the J775c ADT (macOS 27.0) + * /arm-io/ane0 (ane,t8132exclave, ane-type 0x220) and /arm-io/dart-ane0 + * (dart,t8110: LLT, BRD and BWR translation instances on interrupt 955, + * sid-count 16, vm-base 1 TiB + 3 TiB). The engine and the DARTs sit + * behind ANE_SYS: any access while it is off stalls the bus. + */ + + + + /* + * reg: the ADT engine window, the pmgr bank the ANE's power states + * live in (ADT reg[1]) and PWGATE inside ADT reg[2] (0x280920000): + * macOS 27.0 clears the request at +0x159c and checks +0x15c0, the + * window's +0xc and +0x30 (the T8140's sit at its reg[2] + 0x268c). + * xl is ADT reg[5], the ANE-XL AXI2AF bridge: macOS writes its + * tunables, and the ANE bridge's at the engine window's base, at + * every engine power-up. The ADT's other three windows (PTD + * 0x284240000, 0x212000000, 0x288374000) are not used. + * Both interrupts are requested. 954 carries the channel status: + * firmware waits sleep until it, polling as a fallback (lobata, + * 2026-11-05); 967 has not been seen to fire. Started only after + * the loader hand-off, from firmware_stage. + */ + ane: ane@508000000 { + compatible = "apple,t6050-ane"; + reg = <0x5 0x08000000 0x0 0x2000000>, + <0x2 0x80900000 0x0 0x18000>, + <0x2 0x80921590 0x0 0x34>, + <0x5 0x84000000 0x0 0x2000000>; + reg-names = "engine", "pmgr", "pwgate", "xl"; + interrupt-parent = <&aic>; + interrupts = , + ; + iommus = <&ane_dart0 0>, <&ane_dart1 0>, <&ane_dart2 0>; + power-domains = <&ps_ane_sys>; + memory-region = <&ane_fw_text>, <&ane_fw_data>; + memory-region-names = "firmware-text", "firmware-data"; + apple,ane-type = <0x220>; + apple,firmware-preloaded; + apple,firmware-iovas = /bits/ 64 <0x10000000000 0x100000c0000>; + /* Inclusive SID0 identity windows: ADT dart-ane0 dapf-instance-0. */ + apple,dapf-ranges = /bits/ 64 <0x2809003a8 0x2809003ab + 0x2809003c0 0x2809003d3 + 0x581668000 0x581668003 + 0x2302668000 0x2302668003 + 0x6302668000 0x6302668003>; + /* + * Requests hold the DRAM and fabric floor through the CLPC's + * client input (DCS 6 / fabric 3), as busy CPUs and the GPU do. + */ + apple,clpc = <&clpc>; + /* + * The ANE has no voltage rail of its own: it shares the S + * cluster's (PMGR perf domain 8 on rail 7, as domain 5), and + * each S-cluster p-state sets the ANE clock its voltage allows. + * Requests hold that cluster up. + */ + performance-domains = <&cpufreq_pc0>; + status = "disabled"; + }; + + i2c1: i2c@505014000 { + compatible = "apple,t6050-i2c", "apple,t8103-i2c"; + reg = <0x5 0x05014000 0x0 0x4000>; + clocks = <&clkref>; + interrupt-parent = <&aic>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + power-domains = <&ps_i2c1>; + }; + + i2c2: i2c@505018000 { + compatible = "apple,t6050-i2c", "apple,t8103-i2c"; + reg = <0x5 0x05018000 0x0 0x4000>; + clocks = <&clkref>; + interrupt-parent = <&aic>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + power-domains = <&ps_i2c2>; + }; + + /* + * The boot NOR (ADT /arm-io/qspi, "qspi,qspimc"): P at 0x305118000 and C at P + 0x800, + * each 0x4000 in the ADT; one resource for their union. Interrupt 1373, clock id 440 + * (/arm-io clock-frequencies[184], 405 MHz). spi-apple-qspi's T8140 policy: data + * reads anywhere, programs and erases only inside the nvram partition. + */ + qspi: spi@505118000 { + compatible = "apple,t6050-qspi", "apple,t8140-qspi"; + reg = <0x5 0x05118000 0x0 0x4800>; + clocks = <&clk_405m>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_qspi>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + /* The ASC v4 mailbox at the AOP ASC + 0x8000; ADT interrupts 578..581 in mailbox order */ + aop_mbox: mailbox@290608000 { + compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x2 0x90608000 0x0 0x4000>; + interrupts = , + , + , + ; + interrupt-names = "send-empty", "send-not-empty", + "recv-empty", "recv-not-empty"; + #mbox-cells = <0>; + status = "disabled"; + }; + + /* + * dart-aop: streams 0 (AOP), 3, 8 (admac-base-ns), 10 and 16 are the AP's; 1, 9 and 11 are + * exclave streams. iBoot leaves its tables locked on the ADT's l1-tt roots: each consumer + * binds one stream and the locked-DART path publishes into its free slots. + */ + aop_dart: iommu@290fc0000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x2 0x90fc0000 0x0 0xc000>; + #iommu-cells = <1>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + /* ADT admac-base-ns: 13 TX and 13 RX channels; the AOP firmware owns its fabric */ + admac_base_ns: dma-controller@293800000 { + compatible = "apple,t6050-admac", "apple,t8140-admac"; + reg = <0x2 0x93800000 0x0 0x34000>; + dma-channels = <13>; + interrupts-extended = <&aic AIC_IRQ 0 637 IRQ_TYPE_LEVEL_HIGH>, + <0>, <0>, <0>; + #dma-cells = <1>; + iommus = <&aop_dart 8>; + apple,dma-range = <0x110 0x00000000 0x0 0x10000000>; + status = "disabled"; + }; + + /* + * The AOP: its SRAM window (ADT reg[2]) and its ASC (reg[0]). Firmware j775daop, loaded + * and left halted by iBoot. Booted as on T8152, over the RTKit mailbox alone: the ADT's + * aop-exclave-mailbox (the setup port T8140 and T8142 boot through) is exclave-assigned + * here and takes an SError from the AP. + */ + aop: aop@290c00000 { + compatible = "apple,t6050-aop", "apple,t8152-aop"; + reg = <0x2 0x90c00000 0x0 0x1e0000>, + <0x2 0x90600000 0x0 0x4000>; + reg-names = "mmio", "asc"; + mboxes = <&aop_mbox>; + mbox-names = "mbox"; + iommus = <&aop_dart 0>; + apple,dma-range = <0x110 0x0 0x10 0x0>; + status = "disabled"; + + /* + * ADT iop-audio-controller: cout/cin (the jack) on base-ns TX2/RX2, spkr on TX0 with + * the amp's V/I sense on RX0 (Linux channel 2N for TX N, 2N+1 for RX N). + */ + aop_audio: audio { + compatible = "apple,t6050-aop-audio"; + dmas = <&admac_base_ns 4>, <&admac_base_ns 5>, + <&admac_base_ns 0>, <&admac_base_ns 1>; + dma-names = "cout", "cin", "spkr", "sense"; + #sound-dai-cells = <1>; + }; + }; + }; + + /* + * The GPU's 14 performance states, in their ADT order (/arm-io/sgx perf-states: one table per + * cluster, two dies x four), with one voltage cell per cluster. Aura fills them in. + */ + gpu_opp: opp-table-gpu { + compatible = "operating-points-v2"; + + opp00 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0 0 0 0 0 0 0>; + opp-microvolt-sram = <0 0 0 0 0 0 0 0>; + }; + opp01 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0 0 0 0 0 0 0>; + opp-microvolt-sram = <0 0 0 0 0 0 0 0>; + }; + opp02 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0 0 0 0 0 0 0>; + opp-microvolt-sram = <0 0 0 0 0 0 0 0>; + }; + opp03 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0 0 0 0 0 0 0>; + opp-microvolt-sram = <0 0 0 0 0 0 0 0>; + }; + opp04 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0 0 0 0 0 0 0>; + opp-microvolt-sram = <0 0 0 0 0 0 0 0>; + }; + opp05 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0 0 0 0 0 0 0>; + opp-microvolt-sram = <0 0 0 0 0 0 0 0>; + }; + opp06 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0 0 0 0 0 0 0>; + opp-microvolt-sram = <0 0 0 0 0 0 0 0>; + }; + opp07 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0 0 0 0 0 0 0>; + opp-microvolt-sram = <0 0 0 0 0 0 0 0>; + }; + opp08 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0 0 0 0 0 0 0>; + opp-microvolt-sram = <0 0 0 0 0 0 0 0>; + }; + opp09 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0 0 0 0 0 0 0>; + opp-microvolt-sram = <0 0 0 0 0 0 0 0>; + }; + opp10 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0 0 0 0 0 0 0>; + opp-microvolt-sram = <0 0 0 0 0 0 0 0>; + }; + opp11 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0 0 0 0 0 0 0>; + opp-microvolt-sram = <0 0 0 0 0 0 0 0>; + }; + opp12 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0 0 0 0 0 0 0>; + opp-microvolt-sram = <0 0 0 0 0 0 0 0>; + }; + opp13 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0 0 0 0 0 0 0>; + opp-microvolt-sram = <0 0 0 0 0 0 0 0>; + }; + }; + + /* The GPU AFR clock domain's states (ADT afr-perf-states), one voltage per die; Aura fills them. */ + gpu_afr_opp: opp-table-gpu-afr { + compatible = "operating-points-v2"; + + opp00 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0>; + }; + opp01 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0>; + }; + opp02 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0>; + }; + opp03 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0>; + }; + opp04 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0>; + }; + opp05 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0>; + }; + opp06 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0>; + }; + opp07 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0>; + }; + opp08 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0>; + }; + opp09 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0>; + }; + opp10 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0>; + }; + opp11 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0>; + }; + opp12 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0>; + }; + opp13 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0>; + }; + }; + + /* The GPU CS clock domain's states (ADT cs-perf-states), one voltage per die; Aura fills them. */ + gpu_cs_opp: opp-table-gpu-cs { + compatible = "operating-points-v2"; + + opp00 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0>; + }; + opp01 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0>; + }; + opp02 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0>; + }; + opp03 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0>; + }; + opp04 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0>; + }; + opp05 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0>; + }; + opp06 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0>; + }; + opp07 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0>; + }; + opp08 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0>; + }; + opp09 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0>; + }; + opp10 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0>; + }; + opp11 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0>; + }; + opp12 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0>; + }; + opp13 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0>; + }; + }; + + /* + * The GPU aperture, die 0 (ADT sgx reg 0x2100000000 through arm-io's ranges): SGX, both + * firmware ASCs and the GPU's PMGR block. All disabled; Aura's dt_set_gpu_t6050 enables them. + */ + soc { + compatible = "simple-bus"; + #address-cells = <2>; + #size-cells = <2>; + ranges; + nonposted-mmio; + + /* ADT pmgr reg 51; GPX and AFR are critical there (always-on), GFX's parents are both. */ + + + /* ADT gfx-asc interrupts 2798, 2797, 2800, 2799: send-empty is 2797, recv-not-empty 2800. */ + + /* ADT gfx1-asc interrupts 2802, 2801, 2804, 2803; its second extent is 0x60000, the VBAR its first 8 bytes. */ + }; + + /* + * Die 1's GPU power states (the die-0 block plus 0x4000000000). Both firmware roles run on die 0, + * but the firmware drives both dies' GPU, so die 1's GFX chain is held on (always-on) while the + * M5 bring-up qualifies initialization (research 49). Aura's dt_set_gpu_t6050 enables them. + */ + soc@6300000000 { + compatible = "simple-bus"; + #address-cells = <2>; + #size-cells = <2>; + ranges = <0x63 0x0 0x63 0x0 0x0 0x1000000>; + nonposted-mmio; + + pmgr3_die1: power-management@6300e80000 { + compatible = "apple,t6050-pmgr", "apple,t8103-pmgr", "syscon", "simple-mfd"; + reg = <0x63 0x00e80000 0x0 0x4000>; + #address-cells = <1>; + #size-cells = <1>; + + ps_gpx_die1: power-controller@0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x0 4>; + label = "gpx_die1"; + #power-domain-cells = <0>; + #reset-cells = <0>; + apple,always-on; + status = "disabled"; + }; + + ps_afr_die1: power-controller@100 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x100 4>; + label = "afr_die1"; + #power-domain-cells = <0>; + #reset-cells = <0>; + apple,always-on; + status = "disabled"; + }; + + ps_gfx_die1: power-controller@110 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x110 4>; + label = "gfx_die1"; + #power-domain-cells = <0>; + power-domains = <&ps_afr_die1>, <&ps_gpx_die1>; + #reset-cells = <0>; + apple,always-on; + status = "disabled"; + }; + }; + }; + + /* + * Die 0's video decoder (ADT /arm-io/avd0, avd-version 4, the T8142 generation): reg[0] + * 0x2308000000 + 0x1404000 through arm-io's ranges, windows in the T8142/T6041 layout (CM3 code + * and SRAM 0x14000 each at +0x1080000, mailbox +0x10a8000, decode control +0x1100000); ADT + * interrupts 2417, 2418 (die 0 IRQs 2417, 2418). dart-avd0 at +0x1020000, + * interrupt 2424 (die 0 2424), SIDs 0-2 (mapper, piodma, adsbuf). Power: the clock + * gates AVD_SYS_V and AVD_SOC_DART have no PS register; both hang off AVD_SYS (PMGR block + * 0x2380600000 + 0x1d8, also the ARST reset), whose parent FAB1_SOC (+0x1b0) is critical. + */ + soc { + compatible = "simple-bus"; + #address-cells = <2>; + #size-cells = <2>; + ranges; + nonposted-mmio; + + pmgr4: power-management@2380600000 { + compatible = "apple,t6050-pmgr", "apple,t8103-pmgr", "syscon", "simple-mfd"; + reg = <0x23 0x80600000 0x0 0xc000>; + #address-cells = <1>; + #size-cells = <1>; + + ps_fab1_soc: power-controller@1b0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1b0 4>; + label = "fab1_soc"; + #power-domain-cells = <0>; + #reset-cells = <0>; + apple,always-on; + }; + + ps_avd_sys: power-controller@1d8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1d8 4>; + label = "avd_sys"; + #power-domain-cells = <0>; + #reset-cells = <0>; + power-domains = <&ps_fab1_soc>; + }; + }; + + avd: avd@2309080000 { + compatible = "apple,t6050-avd", "apple,t8142-avd"; + reg = <0x23 0x09080000 0x0 0x14000>, + <0x23 0x09094000 0x0 0x14000>, + <0x23 0x090a8000 0x0 0x4000>, + <0x23 0x09100000 0x0 0x10000>; + reg-names = "code", "sram", "mbox", "ctrl"; + interrupts = , + ; + power-domains = <&ps_avd_sys>; + resets = <&ps_avd_sys>; + iommus = <&avd_dart 0>, <&avd_dart 1>, <&avd_dart 2>; + }; + + avd_dart: iommu@2309020000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x23 0x09020000 0x0 0x20000>; + #iommu-cells = <1>; + interrupts = ; + power-domains = <&ps_avd_sys>; + }; + }; + + /* + * Die 1's video decoder (ADT /arm-io/avd1, avd-version 4, the T8142 generation): reg[0] + * 0x6308000000 + 0x1404000 through arm-io's ranges, windows in the T8142/T6041 layout (CM3 code + * and SRAM 0x14000 each at +0x1080000, mailbox +0x10a8000, decode control +0x1100000); ADT + * interrupts 5521, 5522 (die 1 IRQs 2417, 2418). dart-avd1 at +0x1020000, + * interrupt 5528 (die 1 2424), SIDs 0-2 (mapper, piodma, adsbuf). Power: the clock + * gates AVD_SYS_V and AVD_SOC_DART have no PS register; both hang off AVD_SYS (PMGR block + * 0x6380600000 + 0x1d8, also the ARST reset), whose parent FAB1_SOC (+0x1b0) is critical. + */ + soc@6308000000 { + compatible = "simple-bus"; + #address-cells = <2>; + #size-cells = <2>; + ranges = <0x63 0x08000000 0x63 0x08000000 0x0 0x1404000>, + <0x63 0x80600000 0x63 0x80600000 0x0 0xc000>; + nonposted-mmio; + + pmgr4_die1: power-management@6380600000 { + compatible = "apple,t6050-pmgr", "apple,t8103-pmgr", "syscon", "simple-mfd"; + reg = <0x63 0x80600000 0x0 0xc000>; + #address-cells = <1>; + #size-cells = <1>; + + ps_fab1_soc_die1: power-controller@1b0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1b0 4>; + label = "fab1_soc_die1"; + #power-domain-cells = <0>; + #reset-cells = <0>; + apple,always-on; + }; + + ps_avd_sys_die1: power-controller@1d8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1d8 4>; + label = "avd_sys_die1"; + #power-domain-cells = <0>; + #reset-cells = <0>; + power-domains = <&ps_fab1_soc_die1>; + }; + }; + + avd_die1: avd@6309080000 { + compatible = "apple,t6050-avd", "apple,t8142-avd"; + reg = <0x63 0x09080000 0x0 0x14000>, + <0x63 0x09094000 0x0 0x14000>, + <0x63 0x090a8000 0x0 0x4000>, + <0x63 0x09100000 0x0 0x10000>; + reg-names = "code", "sram", "mbox", "ctrl"; + interrupts = , + ; + power-domains = <&ps_avd_sys_die1>; + resets = <&ps_avd_sys_die1>; + iommus = <&avd_dart_die1 0>, <&avd_dart_die1 1>, <&avd_dart_die1 2>; + }; + + avd_dart_die1: iommu@6309020000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x63 0x09020000 0x0 0x20000>; + #iommu-cells = <1>; + interrupts = ; + power-domains = <&ps_avd_sys_die1>; + }; + }; + + /* + * The DRM master: scanout buffers map through dart-dispext0 SID 0. Aura enables it with + * dcpext0, and appends each other engine's display DART (SID 0) as it hands that engine + * off: dcpext4's for the HDMI port. A disabled DART listed here would leave it no IOMMU. + */ + display: display-subsystem { + compatible = "apple,display-subsystem"; + iommus = <&dart_dispext0 0>; + status = "disabled"; + }; + + /* + * The memory cache controllers: eight AMCCs of four planes on each die (ADT /arm-io/mcc: + * amcc-count 8, dcs-count-per-amcc 4, die-enable-mask 3, AMCC a of die d at 0x2220000000 + + * d * 0x4000000000 + a * 0x2000000 through arm-io's ranges), one 16 KiB block per plane. + * The boot loader leaves every plane's ways enabled and powered with allocation disabled, so + * the system level cache holds no data until apple-mcc allows it. + */ + soc@2220000000 { + compatible = "simple-bus"; + #address-cells = <2>; + #size-cells = <2>; + ranges = <0x22 0x20000000 0x22 0x20000000 0x0 0x10000000>, + <0x62 0x20000000 0x62 0x20000000 0x0 0x10000000>; + nonposted-mmio; + + mcc: memory-controller@2220000000 { + compatible = "apple,t6050-mcc"; + reg = <0x22 0x20000000 0x0 0x4000>, + <0x22 0x20040000 0x0 0x4000>, + <0x22 0x20080000 0x0 0x4000>, + <0x22 0x200c0000 0x0 0x4000>, + <0x22 0x22000000 0x0 0x4000>, + <0x22 0x22040000 0x0 0x4000>, + <0x22 0x22080000 0x0 0x4000>, + <0x22 0x220c0000 0x0 0x4000>, + <0x22 0x24000000 0x0 0x4000>, + <0x22 0x24040000 0x0 0x4000>, + <0x22 0x24080000 0x0 0x4000>, + <0x22 0x240c0000 0x0 0x4000>, + <0x22 0x26000000 0x0 0x4000>, + <0x22 0x26040000 0x0 0x4000>, + <0x22 0x26080000 0x0 0x4000>, + <0x22 0x260c0000 0x0 0x4000>, + <0x22 0x28000000 0x0 0x4000>, + <0x22 0x28040000 0x0 0x4000>, + <0x22 0x28080000 0x0 0x4000>, + <0x22 0x280c0000 0x0 0x4000>, + <0x22 0x2a000000 0x0 0x4000>, + <0x22 0x2a040000 0x0 0x4000>, + <0x22 0x2a080000 0x0 0x4000>, + <0x22 0x2a0c0000 0x0 0x4000>, + <0x22 0x2c000000 0x0 0x4000>, + <0x22 0x2c040000 0x0 0x4000>, + <0x22 0x2c080000 0x0 0x4000>, + <0x22 0x2c0c0000 0x0 0x4000>, + <0x22 0x2e000000 0x0 0x4000>, + <0x22 0x2e040000 0x0 0x4000>, + <0x22 0x2e080000 0x0 0x4000>, + <0x22 0x2e0c0000 0x0 0x4000>, + <0x62 0x20000000 0x0 0x4000>, + <0x62 0x20040000 0x0 0x4000>, + <0x62 0x20080000 0x0 0x4000>, + <0x62 0x200c0000 0x0 0x4000>, + <0x62 0x22000000 0x0 0x4000>, + <0x62 0x22040000 0x0 0x4000>, + <0x62 0x22080000 0x0 0x4000>, + <0x62 0x220c0000 0x0 0x4000>, + <0x62 0x24000000 0x0 0x4000>, + <0x62 0x24040000 0x0 0x4000>, + <0x62 0x24080000 0x0 0x4000>, + <0x62 0x240c0000 0x0 0x4000>, + <0x62 0x26000000 0x0 0x4000>, + <0x62 0x26040000 0x0 0x4000>, + <0x62 0x26080000 0x0 0x4000>, + <0x62 0x260c0000 0x0 0x4000>, + <0x62 0x28000000 0x0 0x4000>, + <0x62 0x28040000 0x0 0x4000>, + <0x62 0x28080000 0x0 0x4000>, + <0x62 0x280c0000 0x0 0x4000>, + <0x62 0x2a000000 0x0 0x4000>, + <0x62 0x2a040000 0x0 0x4000>, + <0x62 0x2a080000 0x0 0x4000>, + <0x62 0x2a0c0000 0x0 0x4000>, + <0x62 0x2c000000 0x0 0x4000>, + <0x62 0x2c040000 0x0 0x4000>, + <0x62 0x2c080000 0x0 0x4000>, + <0x62 0x2c0c0000 0x0 0x4000>, + <0x62 0x2e000000 0x0 0x4000>, + <0x62 0x2e040000 0x0 0x4000>, + <0x62 0x2e080000 0x0 0x4000>, + <0x62 0x2e0c0000 0x0 0x4000>; + apple,boot-dma-devices = <&display>; + }; + }; + + /* Die 1 MMIO. The boot loader needs each die's bus. */ + soc@4200000000 { + compatible = "simple-bus"; + #address-cells = <2>; + #size-cells = <2>; + ranges = <0x42 0x0 0x42 0x0 0x3 0xc0000000>; + nonposted-mmio; + + /* + * dcpext4, die 1's first external display engine: the one the HDMI port's fixed + * route starts from (die 1's display crossbar, ufp endpoint 0, to lpdptx-phy1, dfp + * endpoint 4). iBoot leaves it as it leaves dcpext0: powered, its ASC running, both + * DARTs locked on its own four-level tables (DCP SID 23, scanout SID 0, PIODMA SID 16). + * Each block is dcpext0's at the die stride (ADT /arm-io/dcpext4, dispext4, + * dart-dcpext4, dart-dispext4, die 1's arm-io ranges +0x200000000); die 1's interrupts + * are dcpext0's numbers on AIC die 1, and its bandwidth request is dcpext0's (BIRQ 0x36) + * on die 1's PMC. All disabled: Aura's T6050 handoff enables them with dcpext0 when + * the engine passes the same checks. No output yet: the HDMI PHY, its converter's power + * and hotplug come with their drivers. + */ + dart_dcpext4: iommu@42b2340000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x42 0xb2340000 0x0 0x20000>; + /* dart-dcpext4 and dart-dispext4 share ADT interrupt 4174 (die 1 1070) */ + interrupts = ; + #iommu-cells = <1>; + apple,dma-range = <0x100 0x0 0x300 0x0>; + status = "disabled"; + }; + + dart_dispext4: iommu@42b2300000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x42 0xb2300000 0x0 0xc000>; + interrupts = ; + #iommu-cells = <1>; + apple,dma-range = <0x100 0x0 0x300 0x0>; + status = "disabled"; + }; + + dcpext4_mbox: mailbox@42b2e08000 { + compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x42 0xb2e08000 0x0 0x4000>; + interrupts = , + , + , + ; + interrupt-names = "send-empty", "send-not-empty", + "recv-empty", "recv-not-empty"; + #mbox-cells = <0>; + status = "disabled"; + }; + + dcpext4_pmc: pmc-metadata@4286700000 { + reg = <0x42 0x86700000 0x0 0x114000>; + #apple,bw-scratch-cells = <3>; + status = "disabled"; + }; + + dcpext4: dcp@42b2e00000 { + compatible = "apple,t6050-dcpext", "apple,dcpext"; + reg = <0x42 0xb2e00000 0x0 0x4000>, + <0x42 0xb0000000 0x0 0x4000000>, + <0x42 0xb2240000 0x0 0x10000>, + <0x42 0xb23ac000 0x0 0x4000>, + <0x42 0xb2800000 0x0 0x800000>, + <0x42 0x86700000 0x0 0x114000>, + <0x42 0xb2850000 0x0 0x4000>; + reg-names = "coproc", "disp-0", "disp-1", "disp-2", "disp-3", "disp-4", "iop-vbar"; + mboxes = <&dcpext4_mbox>; + mbox-names = "mbox"; + iommus = <&dart_dcpext4 23>; + apple,bw-scratch = <&dcpext4_pmc 0 5 0x2c000>; + /* + * The die-local index, as for the M2 Ultra's die-1 dcpext0 (t602x-dieX.dtsi): + * crossbar ufp endpoint 0 on its die, like dcpext0. The ADT's firmware-facing + * external-index is 5. + */ + apple,dcp-index = <1>; + apple,clock-ids; + apple,connector-type = "HDMI-A"; + apple,dptx-die = <1>; + apple,dptx-phy = <4>; + /* + * The fixed HDMI route: the PHY (its source select picks this engine: the + * crossbar has no registers), the converter's hotplug output (AOP GPIO 14, + * active high) and its two power enables (the SMC's pcIO pins 15 and 26). + */ + phys = <&lpdptx_phy1>; + phy-names = "dp-phy"; + hdmi-hpd-gpios = <&pinctrl_aop 14 GPIO_ACTIVE_HIGH>; + hdmi-pwren-gpios = <&smc_pcio 0 GPIO_ACTIVE_HIGH>; + dp2hdmi-pwren-gpios = <&smc_pcio 1 GPIO_ACTIVE_HIGH>; + status = "disabled"; + + piodma { + iommus = <&dart_dispext4 16>; + }; + }; + + /* + * The HDMI port's PHY (ADT /arm-io/lpdptx-phy1, dptx-phy,t6050) and its power gate + * (die 1's PMGR block at the die stride from die 0's 0x280900000, DPTX_PHY at 0x3f8, + * no parent domains). The PLL core calibration is the ADT node's DCOCFG, DTCVREG, + * DTCCAL, DCDADJ and DLFCFG (RODCOROLEAKCOMP is absent there), with its pclkdrv-select. + * dcpext4's phy: Aura enables it when it hands dcpext4 off. The power gate stays enabled + * (with no consumer it stays off). + */ + pmgr1_die1: power-management@4280900000 { + compatible = "apple,t6050-pmgr", "apple,t8103-pmgr", "syscon", "simple-mfd"; + reg = <0x42 0x80900000 0x0 0x4000>; + #address-cells = <1>; + #size-cells = <1>; + + ps_dptx_phy_die1: power-controller@3f8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x3f8 4>; + label = "die1_dptx_phy"; + #power-domain-cells = <0>; + #reset-cells = <0>; + }; + }; + + lpdptx_phy1: phy@429c200000 { + compatible = "apple,t6050-dptx-phy"; + reg = <0x42 0x9c200000 0x0 0x4000>, + <0x42 0x9c240000 0x0 0x10000>; + reg-names = "core", "dptx"; + power-domains = <&ps_dptx_phy_die1>; + #phy-cells = <0>; + #reset-cells = <0>; + apple,pll-dcocfg = <3>; + apple,pll-dtcvreg = <15>; + apple,pll-dtccal = <2>; + apple,pll-dcdadj = <16>; + apple,pll-dlfcfg = <3>; + apple,pclkdrv-select = <1>; + /* dcpext4's route: the die-1 crossbar's ufp endpoint 0 (source select 1) */ + apple,ufp-endpoint = <0>; + /* Aura enables it with dcpext4. */ + status = "disabled"; + }; + + /* Die 1's clusters, at the ADT's die-stride (0x4000000000); not in pmgr's reg list. */ + cpufreq_mc01: performance-controller@4210e20000 { + compatible = "apple,t6050-cluster-cpufreq"; + reg = <0x42 0x10e20000 0x0 0x1000>; + #performance-domain-cells = <0>; + apple,firmware-managed-thermal; + }; + + cpufreq_mc11: performance-controller@4211e20000 { + compatible = "apple,t6050-cluster-cpufreq"; + reg = <0x42 0x11e20000 0x0 0x1000>; + #performance-domain-cells = <0>; + apple,firmware-managed-thermal; + }; + + cpufreq_pc1: performance-controller@4212e20000 { + compatible = "apple,t6050-cluster-cpufreq"; + reg = <0x42 0x12e20000 0x0 0x1000>; + #performance-domain-cells = <0>; + apple,firmware-managed-thermal; + }; + + /* + * The front USB-C ports (5, front-right: ATC4; 6, front-left: ATC5) are on die 1: its + * ATC0 and ATC1 at the die stride from rear ports 1 and 2. Their power states are die 1's + * PMGR records for ATC0/ATC1 (ADT gate IDs +0x10000000), in die 1's groups G0 (0x4280600000) + * and G2 (0x4288300000); interrupts are die 0's numbers on AIC die 1. The HPMs are on + * nub-spmi-a2, on die 0. + */ + pmgr0_die1: power-management@4280600000 { + compatible = "apple,t6050-pmgr", "apple,t8103-pmgr", "syscon", "simple-mfd"; + reg = <0x42 0x80600000 0x0 0x4000>; + #address-cells = <1>; + #size-cells = <1>; + + /* die 1 ATC0_COMMON (gate 55): port 5 */ + ps_atc4_common: power-controller@208 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x208 4>; + label = "atc4_common"; + #power-domain-cells = <0>; + #reset-cells = <0>; + }; + + /* die 1 ATC1_COMMON (gate 56): port 6 */ + ps_atc5_common: power-controller@210 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x210 4>; + label = "atc5_common"; + #power-domain-cells = <0>; + #reset-cells = <0>; + }; + }; + + pmgr2_die1: power-management@4288300000 { + compatible = "apple,t6050-pmgr", "apple,t8103-pmgr", "syscon", "simple-mfd"; + reg = <0x42 0x88300000 0x0 0xc000>; + #address-cells = <1>; + #size-cells = <1>; + + /* die 1 ATC0 (port 5): gates 260, 261, 262 */ + ps_atc4_usb_aon: power-controller@148 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x148 4>; + label = "atc4_usb_aon"; + #power-domain-cells = <0>; + #reset-cells = <0>; + }; + + ps_atc4_usb: power-controller@150 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x150 4>; + label = "atc4_usb"; + #power-domain-cells = <0>; + #reset-cells = <0>; + power-domains = <&ps_atc4_common>, <&ps_atc4_usb_aon>; + }; + + ps_atc4_phymxwrap: power-controller@158 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x158 4>; + label = "atc4_phymxwrap"; + #power-domain-cells = <0>; + #reset-cells = <0>; + power-domains = <&ps_atc4_common>, <&ps_atc4_usb_aon>; + }; + + /* die 1 ATC1 (port 6): gates 263, 264, 265 */ + ps_atc5_usb_aon: power-controller@160 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x160 4>; + label = "atc5_usb_aon"; + #power-domain-cells = <0>; + #reset-cells = <0>; + }; + + ps_atc5_usb: power-controller@168 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x168 4>; + label = "atc5_usb"; + #power-domain-cells = <0>; + #reset-cells = <0>; + power-domains = <&ps_atc5_common>, <&ps_atc5_usb_aon>; + }; + + ps_atc5_phymxwrap: power-controller@170 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x170 4>; + label = "atc5_phymxwrap"; + #power-domain-cells = <0>; + #reset-cells = <0>; + power-domains = <&ps_atc5_common>, <&ps_atc5_usb_aon>; + }; + }; + + /* Front USB-C port 5 (HPM4, "front-right") */ + /* /arm-io/acio-phy-cpu4 reg[0]: the PHY firmware's mailbox */ + atc4_phy_mbox: mailbox@42a3148000 { + compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x42 0xa3148000 0x0 0x4000>; + interrupts = , + , + , + ; + interrupt-names = "send-empty", "send-not-empty", "recv-empty", "recv-not-empty"; + #mbox-cells = <0>; + }; + + /* /arm-io/atc-phy4 regs [2] [0] usb-drd4[4] [39] [40] [41] [42] [43] [38] [37] usb-drd4[3] */ + atc4_phy: phy@42a3000000 { + compatible = "apple,t6050-combo-phy"; + reg = <0x42 0xa3000000 0x0 0x2c000>, + <0x42 0xa2a90000 0x0 0x4000>, + <0x42 0xa2800000 0x0 0x4000>, + <0x42 0xa3200000 0x0 0x4000>, + <0x42 0xa3244000 0x0 0x4000>, + <0x42 0xa0000000 0x0 0x8000>, + <0x42 0xa0020000 0x0 0x4000>, + <0x42 0xa3250000 0x0 0x4000>, + <0x42 0xa3140000 0x0 0x4000>, + <0x42 0xa30c0000 0x0 0x10000>, + <0x42 0xa2a84000 0x0 0x4000>; + reg-names = "core", "usb2phy", "usb2-digital", "reset", "fabric", "axi2af", "lioa", + "common-cfg", "usb-control", "firmware-data", "pipehandler"; + #phy-cells = <1>; + #reset-cells = <1>; + apple,port-index = <4>; + apple,guest-port-reserved; + mode-switch; + orientation-switch; + mboxes = <&atc4_phy_mbox>; + power-domains = <&ps_atc4_usb_aon>, <&ps_atc4_common>, <&ps_atc4_phymxwrap>, + <&ps_atc4_usb>; + power-domain-names = "usb-aon", "common", "wrapper", "usb"; + + port { + atc4_phy_ep: endpoint { + remote-endpoint = <&hpm4_ss>; + }; + }; + }; + + /* /arm-io/usb-drd4: reg[0] (core and Apple regions), reg[1] (drd-cfg), interrupt 4523; port 2's tunables */ + usb_drd4: usb@42a2280000 { + compatible = "apple,t6050-dwc3", "apple,t8103-dwc3"; + reg = <0x42 0xa2280000 0x0 0xcd00>, + <0x42 0xa228cd00 0x0 0x4b00>, + <0x42 0xa2200000 0x0 0x4000>; + reg-names = "dwc3-core", "dwc3-apple", "drd-cfg"; + interrupts = ; + dr_mode = "otg"; + usb-role-switch; + role-switch-default-mode = "host"; + iommus = <&usb_drd4_dart_0 0>, <&usb_drd4_dart_1 1>; + power-domains = <&ps_atc4_usb>; + resets = <&atc4_phy 0>; + phys = <&atc4_phy PHY_TYPE_USB2>, <&atc4_phy PHY_TYPE_USB3>; + phy-names = "usb2-phy", "usb3-phy"; + apple,tunable-gbl-default = <0x64 0x2 0x0>, <0x10 0xfff80000 0x00680000>; + apple,tunable-gbl-host = <0x4 0x0001ef00 0x00002f00>, <0x1c 0x00000100 0x0>, + <0x2c 0x000a07ff 0x000800c8>, <0x100 0x02000100 0x02000100>, + <0x504 0x00001000 0x0>, <0x528 0xff0000ff 0x06000006>, + <0x52c 0xff0000ff 0x08000008>, <0x580 0xffffffff 0x6f000006>, + <0x584 0xffffffff 0x00060000>; + apple,tunable-dbg = <0x0 0x8 0x8>; + apple,tunable-cfg-host = <0x20 0xff 0x1b>; + apple,tunable-link = <0x10 0xff000000 0xff000000>, <0x20 0x7ff00000 0x4e900000>, + <0x24 0x001f8000 0x000b8000>, <0x60 0x0003ffff 0x00000600>; + apple,tunable-cio = <0x20 0x00ff0000 0x001e0000>; + + port { + usb_drd4_hs: endpoint { + remote-endpoint = <&hpm4_hs>; + }; + }; + }; + + /* /arm-io/dart-usb4 reg[0] and reg[1], interrupt 4527; vm-base 0x10000004000 +0xffff0000 */ + usb_drd4_dart_0: iommu@42a2f00000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x42 0xa2f00000 0x0 0xc000>; + interrupts = ; + power-domains = <&ps_atc4_usb>; + #iommu-cells = <1>; + apple,dma-range = <0x100 0x4000 0x0 0xffff0000>; + }; + + usb_drd4_dart_1: iommu@42a2f80000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x42 0xa2f80000 0x0 0xc000>; + interrupts = ; + power-domains = <&ps_atc4_usb>; + #iommu-cells = <1>; + apple,dma-range = <0x100 0x4000 0x0 0xffff0000>; + }; + + /* Front USB-C port 6 (HPM5, "front-left") */ + /* /arm-io/acio-phy-cpu5 reg[0]: the PHY firmware's mailbox */ + atc5_phy_mbox: mailbox@42ab148000 { + compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x42 0xab148000 0x0 0x4000>; + interrupts = , + , + , + ; + interrupt-names = "send-empty", "send-not-empty", "recv-empty", "recv-not-empty"; + #mbox-cells = <0>; + }; + + /* /arm-io/atc-phy5 regs [2] [0] usb-drd5[4] [39] [40] [41] [42] [43] [38] [37] usb-drd5[3] */ + atc5_phy: phy@42ab000000 { + compatible = "apple,t6050-combo-phy"; + reg = <0x42 0xab000000 0x0 0x2c000>, + <0x42 0xaaa90000 0x0 0x4000>, + <0x42 0xaa800000 0x0 0x4000>, + <0x42 0xab200000 0x0 0x4000>, + <0x42 0xab244000 0x0 0x4000>, + <0x42 0xa8000000 0x0 0x8000>, + <0x42 0xa8020000 0x0 0x4000>, + <0x42 0xab250000 0x0 0x4000>, + <0x42 0xab140000 0x0 0x4000>, + <0x42 0xab0c0000 0x0 0x10000>, + <0x42 0xaaa84000 0x0 0x4000>; + reg-names = "core", "usb2phy", "usb2-digital", "reset", "fabric", "axi2af", "lioa", + "common-cfg", "usb-control", "firmware-data", "pipehandler"; + #phy-cells = <1>; + #reset-cells = <1>; + apple,port-index = <5>; + apple,guest-port-reserved; + mode-switch; + orientation-switch; + mboxes = <&atc5_phy_mbox>; + power-domains = <&ps_atc5_usb_aon>, <&ps_atc5_common>, <&ps_atc5_phymxwrap>, + <&ps_atc5_usb>; + power-domain-names = "usb-aon", "common", "wrapper", "usb"; + + port { + atc5_phy_ep: endpoint { + remote-endpoint = <&hpm5_ss>; + }; + }; + }; + + /* /arm-io/usb-drd5: reg[0] (core and Apple regions), reg[1] (drd-cfg), interrupt 4555; port 2's tunables */ + usb_drd5: usb@42aa280000 { + compatible = "apple,t6050-dwc3", "apple,t8103-dwc3"; + reg = <0x42 0xaa280000 0x0 0xcd00>, + <0x42 0xaa28cd00 0x0 0x4b00>, + <0x42 0xaa200000 0x0 0x4000>; + reg-names = "dwc3-core", "dwc3-apple", "drd-cfg"; + interrupts = ; + dr_mode = "otg"; + usb-role-switch; + role-switch-default-mode = "host"; + iommus = <&usb_drd5_dart_0 0>, <&usb_drd5_dart_1 1>; + power-domains = <&ps_atc5_usb>; + resets = <&atc5_phy 0>; + phys = <&atc5_phy PHY_TYPE_USB2>, <&atc5_phy PHY_TYPE_USB3>; + phy-names = "usb2-phy", "usb3-phy"; + apple,tunable-gbl-default = <0x64 0x2 0x0>, <0x10 0xfff80000 0x00680000>; + apple,tunable-gbl-host = <0x4 0x0001ef00 0x00002f00>, <0x1c 0x00000100 0x0>, + <0x2c 0x000a07ff 0x000800c8>, <0x100 0x02000100 0x02000100>, + <0x504 0x00001000 0x0>, <0x528 0xff0000ff 0x06000006>, + <0x52c 0xff0000ff 0x08000008>, <0x580 0xffffffff 0x6f000006>, + <0x584 0xffffffff 0x00060000>; + apple,tunable-dbg = <0x0 0x8 0x8>; + apple,tunable-cfg-host = <0x20 0xff 0x1b>; + apple,tunable-link = <0x10 0xff000000 0xff000000>, <0x20 0x7ff00000 0x4e900000>, + <0x24 0x001f8000 0x000b8000>, <0x60 0x0003ffff 0x00000600>; + apple,tunable-cio = <0x20 0x00ff0000 0x001e0000>; + + port { + usb_drd5_hs: endpoint { + remote-endpoint = <&hpm5_hs>; + }; + }; + }; + + /* /arm-io/dart-usb5 reg[0] and reg[1], interrupt 4559; vm-base 0x10000004000 +0xffff0000 */ + usb_drd5_dart_0: iommu@42aaf00000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x42 0xaaf00000 0x0 0xc000>; + interrupts = ; + power-domains = <&ps_atc5_usb>; + #iommu-cells = <1>; + apple,dma-range = <0x100 0x4000 0x0 0xffff0000>; + }; + + usb_drd5_dart_1: iommu@42aaf80000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x42 0xaaf80000 0x0 0xc000>; + interrupts = ; + power-domains = <&ps_atc5_usb>; + #iommu-cells = <1>; + apple,dma-range = <0x100 0x4000 0x0 0xffff0000>; + }; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t6050-j775c-loader-gpu.dtsi b/arch/arm64/boot/dts/apple/t6050-j775c-loader-gpu.dtsi new file mode 100644 index 0000000000000..cd6b317801737 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6050-j775c-loader-gpu.dtsi @@ -0,0 +1,98 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Retained candidate44 definitions at installed Aura GPU handoff paths. */ +/ { + soc@2300000000 { + compatible = "simple-bus"; + #address-cells = <2>; + #size-cells = <2>; + ranges = <0x23 0 0x23 0 0 0x4000000>; + nonposted-mmio; + + gpu: gpu@2302600000 { + compatible = "apple,agx-g17c", "apple,agx-g17s", "apple,agx-t6050"; + reg = <0x23 0x02600000 0x0 0x88000>, + <0x23 0x00000000 0x0 0x4000000>; + reg-names = "asc", "sgx"; + mboxes = <&gfx_mbox>, <&gfx1_mbox>; + power-domains = <&ps_gfx>; + memory-region = <&uat_ttbs>, <&uat_pagetables>, <&uat_handoff>, + <&gpu_fw_data>, <&uat_l2_pagetables>, <&gpu_fw_text>; + memory-region-names = "ttbs", "pagetables", "handoff", "fw-data", + "l2-pagetables", "fw-text"; + operating-points-v2 = <&gpu_opp>; + apple,afr-opp = <&gpu_afr_opp>; + apple,cs-opp = <&gpu_cs_opp>; + /* Submissions hold the memory and fabric floor while the GPU has work. */ + apple,clpc = <&clpc>; + apple,csafr-min-sram-microvolt = <0>; + /* The six AON power-telemetry records the firmware samples: FourCC and two words each. */ + apple,aon-ptd = <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>; + status = "disabled"; + }; + + gfx_mbox: mailbox@2302600000 { + compatible = "apple,t6050-j775d-ascwrap-v6"; + reg = <0x23 0x02600000 0x0 0x88000>, + <0x23 0x02050000 0x0 0x8>; + reg-names = "wrapper", "iop-vbar"; + interrupts = , + ; + interrupt-names = "send-empty", "recv-not-empty"; + apple,firmware-role = "GFX"; + power-domains = <&ps_gfx>; + #mbox-cells = <0>; + status = "disabled"; + }; + + gfx1_mbox: mailbox@2302e00000 { + compatible = "apple,t6050-j775d-ascwrap-v6"; + reg = <0x23 0x02e00000 0x0 0x88000>, + <0x23 0x02850000 0x0 0x8>; + reg-names = "wrapper", "iop-vbar"; + interrupts = , + ; + interrupt-names = "send-empty", "recv-not-empty"; + apple,firmware-role = "GFX1"; + power-domains = <&ps_gfx>; + #mbox-cells = <0>; + status = "disabled"; + }; + + pmgr3: power-management@2300e80000 { + compatible = "apple,t6050-pmgr", "apple,t8103-pmgr", "syscon", "simple-mfd"; + reg = <0x23 0x00e80000 0x0 0x4000>; + #address-cells = <1>; + #size-cells = <1>; + + ps_gpx: power-controller@0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x0 4>; + label = "gpx"; + #power-domain-cells = <0>; + #reset-cells = <0>; + apple,always-on; + status = "disabled"; + }; + + ps_afr: power-controller@100 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x100 4>; + label = "afr"; + #power-domain-cells = <0>; + #reset-cells = <0>; + apple,always-on; + status = "disabled"; + }; + + ps_gfx: power-controller@110 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x110 4>; + label = "gfx"; + #power-domain-cells = <0>; + power-domains = <&ps_afr>, <&ps_gpx>; + #reset-cells = <0>; + status = "disabled"; + }; + }; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t6050-j775c-rebased-peripherals.dtsi b/arch/arm64/boot/dts/apple/t6050-j775c-rebased-peripherals.dtsi new file mode 100644 index 0000000000000..1c0b9b4434674 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6050-j775c-rebased-peripherals.dtsi @@ -0,0 +1,302 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Retained candidate-44 peripheral definitions, moved to integration's + * identity-mapped peripheral bus. Original authorship and definitions + * are retained from the T6050/J775c sources. + * Copyright The Asahi Linux Contributors + */ +/ { + soc { + compatible = "simple-bus"; + #address-cells = <2>; + #size-cells = <2>; + ranges; + nonposted-mmio; + + dart_apcie1: iommu@411000000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x4 0x11000000 0x0 0x20000>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + atc0_xbar: mux@2a324c000 { + compatible = "apple,t6050-display-crossbar", "apple,t8142-display-crossbar"; + reg = <0x2 0xa324c000 0x0 0x4000>; + #mux-control-cells = <1>; + power-domains = <&ps_atc0_usb_aon>, <&ps_atc0_common>; + power-domain-names = "usb-aon", "common"; + }; + + atc1_xbar: mux@2ab24c000 { + compatible = "apple,t6050-display-crossbar", "apple,t8142-display-crossbar"; + reg = <0x2 0xab24c000 0x0 0x4000>; + #mux-control-cells = <1>; + power-domains = <&ps_atc1_usb_aon>, <&ps_atc1_common>; + power-domain-names = "usb-aon", "common"; + }; + + atc3_xbar: mux@38b24c000 { + compatible = "apple,t6050-display-crossbar", "apple,t8142-display-crossbar"; + reg = <0x3 0x8b24c000 0x0 0x4000>; + #mux-control-cells = <1>; + power-domains = <&ps_atc3_usb_aon>, <&ps_atc3_common>; + power-domain-names = "usb-aon", "common"; + }; + + pinctrl_nub: pinctrl@2881e4000 { + compatible = "apple,t6050-pinctrl", "apple,t8103-pinctrl"; + reg = <0x2 0x881e4000 0x0 0x4000>; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl_nub 0 0 61>; + apple,npins = <61>; + gpio-reserved-ranges = <0 14>, <15 46>; + gpio-line-names = "", "", "", "", "", "", "", "", "", "", "", "", "", "", + "usb3hub_rst"; + interrupt-controller; + #interrupt-cells = <2>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + ; + + usb3hub-rst-hog { + gpio-hog; + gpios = <14 GPIO_ACTIVE_LOW>; + output-low; + line-name = "usb3hub_rst"; + }; + }; + + usb_drd0_dart_0: iommu@2a2f00000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x2 0xa2f00000 0x0 0xc000>; + interrupts = ; + power-domains = <&ps_atc0_usb>; + #iommu-cells = <1>; + apple,dma-range = <0x100 0x4000 0x0 0xffff0000>; + }; + + usb_drd0_dart_1: iommu@2a2f80000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x2 0xa2f80000 0x0 0xc000>; + interrupts = ; + power-domains = <&ps_atc0_usb>; + #iommu-cells = <1>; + apple,dma-range = <0x100 0x4000 0x0 0xffff0000>; + }; + + usb_drd0: usb@2a2280000 { + compatible = "apple,t6050-dwc3", "apple,t8103-dwc3"; + reg = <0x2 0xa2280000 0x0 0xcd00>, + <0x2 0xa228cd00 0x0 0x4b00>, + <0x2 0xa2200000 0x0 0x4000>; + reg-names = "dwc3-core", "dwc3-apple", "drd-cfg"; + interrupts = ; + dr_mode = "otg"; + usb-role-switch; + role-switch-default-mode = "host"; + iommus = <&usb_drd0_dart_0 0>, <&usb_drd0_dart_1 1>; + power-domains = <&ps_atc0_usb>; + resets = <&atc0_phy 0>; + phys = <&atc0_phy PHY_TYPE_USB2>, <&atc0_phy PHY_TYPE_USB3>; + phy-names = "usb2-phy", "usb3-phy"; + apple,tunable-gbl-default = <0x64 0x2 0x0>, <0x10 0xfff80000 0x00680000>; + apple,tunable-gbl-host = <0x4 0x0001ef00 0x00002f00>, <0x1c 0x00000100 0x0>, + <0x2c 0x000a07ff 0x000800c8>, <0x100 0x02000100 0x02000100>, + <0x504 0x00001000 0x0>, <0x528 0xff0000ff 0x06000006>, + <0x52c 0xff0000ff 0x08000008>, <0x580 0xffffffff 0x6f000006>, + <0x584 0xffffffff 0x00060000>; + apple,tunable-dbg = <0x0 0x8 0x8>; + apple,tunable-cfg-host = <0x20 0xff 0x1b>; + apple,tunable-link = <0x10 0xff000000 0xff000000>, <0x20 0x7ff00000 0x4e900000>, + <0x24 0x001f8000 0x000b8000>, <0x60 0x0003ffff 0x00000600>; + apple,tunable-cio = <0x20 0x00ff0000 0x001e0000>; + + port { + usb_drd0_hs: endpoint { + remote-endpoint = <&hpm0_hs>; + }; + }; + }; + + dart_dispext0_isoc: iommu@2b2180000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x2 0xb2180000 0x0 0x20000>; + interrupts = ; + #iommu-cells = <1>; + power-domains = <&ps_dispext0_adma>; + apple,dma-range = <0x100 0x0 0x10 0x0>; + }; + + admac_dispext0: dma-controller@2b2140000 { + compatible = "apple,t6050-admac", "apple,t8140-admac"; + reg = <0x2 0xb2140000 0x0 0x24000>; + dma-channels = <1>; + interrupts-extended = <&aic AIC_IRQ 0 1092 IRQ_TYPE_LEVEL_HIGH>, + <0>, <0>, <0>; + #dma-cells = <1>; + iommus = <&dart_dispext0_isoc 30>; + power-domains = <&ps_dispext0_adma>; + apple,dma-range = <0x100 0x0 0x10 0x0>; + }; + + dcpext1_mbox: mailbox@392e08000 { + compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x3 0x92e08000 0x0 0x4000>; + interrupts = , + , + , + ; + interrupt-names = "send-empty", "send-not-empty", + "recv-empty", "recv-not-empty"; + #mbox-cells = <0>; + status = "disabled"; + }; + + dcpext1: dcp@392e00000 { + compatible = "apple,t6050-dcpext", "apple,dcpext"; + reg = <0x3 0x92e00000 0x0 0x4000>, + <0x3 0x90000000 0x0 0x4000000>, + <0x3 0x92240000 0x0 0x10000>, + <0x3 0x923ac000 0x0 0x4000>, + <0x3 0x92800000 0x0 0x800000>, + <0x2 0x86700000 0x0 0x114000>, + <0x3 0x92850000 0x0 0x4000>; + reg-names = "coproc", "disp-0", "disp-1", "disp-2", "disp-3", "disp-4", "iop-vbar"; + mboxes = <&dcpext1_mbox>; + mbox-names = "mbox"; + iommus = <&dart_dcpext1 23>; + /* The PMC metadata is die 0's one block, dcpext0_pmc; DISP_EXT1's slot in it */ + apple,bw-scratch = <&dcpext0_pmc 0 5 0x30000>; + /* The ADT external-index (iop-dcpext1-nub), as dcpext0's 1 */ + apple,dcp-index = <2>; + apple,clock-ids; + apple,connector-type = "HDMI-A"; + apple,dptx-die = <0>; + apple,dptx-phy = <4>; + /* + * The fixed HDMI route: the PHY (its source select picks this engine), the + * converter's hotplug output (AOP GPIO 14, active high) and its two power + * enables (the SMC's pcIO lines). + */ + phys = <&lpdptx_phy0>; + phy-names = "dp-phy"; + hdmi-hpd-gpios = <&pinctrl_aop 14 GPIO_ACTIVE_HIGH>; + hdmi-pwren-gpios = <&smc_pcio 0 GPIO_ACTIVE_HIGH>; + dp2hdmi-pwren-gpios = <&smc_pcio 1 GPIO_ACTIVE_HIGH>; + status = "disabled"; + + piodma { + iommus = <&dart_dispext1 16>; + }; + }; + + dart_dcpext1: iommu@392340000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x3 0x92340000 0x0 0x20000>; + /* dart-dcpext1 and dart-dispext1 share ADT interrupt 1142 */ + interrupts = ; + #iommu-cells = <1>; + /* ADT vm-base 1 TiB, vm-size 3 TiB */ + apple,dma-range = <0x100 0x0 0x300 0x0>; + status = "disabled"; + }; + + dart_dispext1: iommu@392300000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + /* reg[0] only, as for dart-dispext0 */ + reg = <0x3 0x92300000 0x0 0xc000>; + interrupts = ; + #iommu-cells = <1>; + apple,dma-range = <0x100 0x0 0x300 0x0>; + status = "disabled"; + }; + + dart_dispext1_isoc: iommu@392180000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x3 0x92180000 0x0 0x20000>; + interrupts = ; + #iommu-cells = <1>; + power-domains = <&ps_dispext1_adma>; + /* ADT vm-base 1 TiB, vm-size 64 GiB */ + apple,dma-range = <0x100 0x0 0x10 0x0>; + }; + + admac_dispext1: dma-controller@392140000 { + compatible = "apple,t6050-admac", "apple,t8140-admac"; + reg = <0x3 0x92140000 0x0 0x24000>; + /* One TX channel: Linux channel 0 */ + dma-channels = <1>; + interrupts-extended = <&aic AIC_IRQ 0 1164 IRQ_TYPE_LEVEL_HIGH>, + <0>, <0>, <0>; + #dma-cells = <1>; + iommus = <&dart_dispext1_isoc 30>; + power-domains = <&ps_dispext1_adma>; + apple,dma-range = <0x100 0x0 0x10 0x0>; + }; + + ane_dart0: iommu@509800000 { + compatible = "apple,t6050-ane-dart", "apple,t6050-dart", + "apple,t8110-dart"; + reg = <0x5 0x09800000 0x0 0xc000>; + #iommu-cells = <1>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_ane_sys>; + /* The firmware DVAs reach 0x100_xxxx_xxxx. */ + apple,dma-range = <0x0 0x0 0x400 0x0>; + status = "disabled"; + }; + + ane_dart1: iommu@509820000 { + compatible = "apple,t6050-ane-dart", "apple,t6050-dart", + "apple,t8110-dart"; + reg = <0x5 0x09820000 0x0 0xc000>; + #iommu-cells = <1>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_ane_sys>; + apple,dma-range = <0x0 0x0 0x400 0x0>; + status = "disabled"; + }; + + ane_dart2: iommu@509840000 { + compatible = "apple,t6050-ane-dart", "apple,t6050-dart", + "apple,t8110-dart"; + reg = <0x5 0x09840000 0x0 0xc000>; + #iommu-cells = <1>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_ane_sys>; + apple,dma-range = <0x0 0x0 0x400 0x0>; + status = "disabled"; + }; + + lpdptx_phy0: phy@29c200000 { + compatible = "apple,t6050-dptx-phy"; + reg = <0x2 0x9c200000 0x0 0x4000>, + <0x2 0x9c240000 0x0 0x10000>; + reg-names = "core", "dptx"; + power-domains = <&ps_dptx_phy>; + #phy-cells = <0>; + #reset-cells = <0>; + apple,pll-dcocfg = <3>; + apple,pll-dtcvreg = <15>; + apple,pll-dtccal = <2>; + apple,pll-dcdadj = <16>; + apple,pll-dlfcfg = <3>; + apple,pclkdrv-select = <1>; + /* dcpext1's route: the crossbar's ufp endpoint 1 (source select 2) */ + apple,ufp-endpoint = <1>; + /* Aura enables it with dcpext1. */ + status = "disabled"; + }; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t6050-j775c-usb4-capture.dtsi b/arch/arm64/boot/dts/apple/t6050-j775c-usb4-capture.dtsi new file mode 100644 index 0000000000000..83938904e80ce --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6050-j775c-usb4-capture.dtsi @@ -0,0 +1,24 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Diagnostic-only ramoops region, inside the J775c's reported System RAM + * 0x10003d70000..0x10fcf3effff and outside its existing reserved ranges. + * Excluded by memblock before allocation; no-map avoids a cached linear alias. + * Reset/firmware retention is measured separately, never assumed. + */ +/ { + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + usb4_ramoops: ramoops@10100000000 { + compatible = "ramoops"; + reg = <0x101 0x0 0x0 0x200000>; + no-map; + record-size = <0x40000>; + console-size = <0x80000>; + pmsg-size = <0x40000>; + ecc-size = <16>; + }; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t6050-j775c-usb4.dtsi b/arch/arm64/boot/dts/apple/t6050-j775c-usb4.dtsi new file mode 100644 index 0000000000000..d0fe27c0d3a4e --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6050-j775c-usb4.dtsi @@ -0,0 +1,424 @@ +/* J775c rear USB4 routers. Per-controller resources and tunables from J775c ADT. */ + + +&{/aliases} { + usb4-0-acio = &acio0; + usb4-0-nhi = &acio0_nhi; + usb4-1-acio = &acio1; + usb4-1-nhi = &acio1_nhi; + usb4-2-acio = &acio2; + usb4-2-nhi = &acio2_nhi; + usb4-3-acio = &acio3; + usb4-3-nhi = &acio3_nhi; +}; + + +&pmgr0 { + + ps_atc0_cio: power-controller@280 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x280 4>; + label = "atc0_cio"; + #power-domain-cells = <0>; + #reset-cells = <0>; + power-domains = <&ps_atc0_common>; + }; + + ps_atc0_cio_pcie: power-controller@338 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x338 4>; + label = "atc0_cio_pcie"; + #power-domain-cells = <0>; + #reset-cells = <0>; + power-domains = <&ps_atc0_cio>; + }; + + ps_atc0_cio_usb: power-controller@340 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x340 4>; + label = "atc0_cio_usb"; + #power-domain-cells = <0>; + #reset-cells = <0>; + power-domains = <&ps_atc0_cio>; + }; + + ps_atc0_cio_auss: power-controller@348 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x348 4>; + label = "atc0_cio_auss"; + #power-domain-cells = <0>; + #reset-cells = <0>; + power-domains = <&ps_atc0_cio>, <&ps_auss>; + }; + + ps_atc1_cio: power-controller@290 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x290 4>; + label = "atc1_cio"; + #power-domain-cells = <0>; + #reset-cells = <0>; + power-domains = <&ps_atc1_common>; + }; + + ps_atc1_cio_pcie: power-controller@350 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x350 4>; + label = "atc1_cio_pcie"; + #power-domain-cells = <0>; + #reset-cells = <0>; + power-domains = <&ps_atc1_cio>; + }; + + ps_atc1_cio_usb: power-controller@358 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x358 4>; + label = "atc1_cio_usb"; + #power-domain-cells = <0>; + #reset-cells = <0>; + power-domains = <&ps_atc1_cio>; + }; + + ps_atc1_cio_auss: power-controller@360 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x360 4>; + label = "atc1_cio_auss"; + #power-domain-cells = <0>; + #reset-cells = <0>; + power-domains = <&ps_atc1_cio>, <&ps_auss>; + }; + + ps_atc2_cio: power-controller@2e8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2e8 4>; + label = "atc2_cio"; + #power-domain-cells = <0>; + #reset-cells = <0>; + power-domains = <&ps_atc2_common>; + }; + + ps_atc2_cio_pcie: power-controller@3f8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x3f8 4>; + label = "atc2_cio_pcie"; + #power-domain-cells = <0>; + #reset-cells = <0>; + power-domains = <&ps_atc2_cio>; + }; + + ps_atc2_cio_usb: power-controller@400 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x400 4>; + label = "atc2_cio_usb"; + #power-domain-cells = <0>; + #reset-cells = <0>; + power-domains = <&ps_atc2_cio>; + }; + + ps_atc2_cio_auss: power-controller@408 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x408 4>; + label = "atc2_cio_auss"; + #power-domain-cells = <0>; + #reset-cells = <0>; + power-domains = <&ps_atc2_cio>, <&ps_auss>; + }; + + ps_atc3_cio: power-controller@2f8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2f8 4>; + label = "atc3_cio"; + #power-domain-cells = <0>; + #reset-cells = <0>; + power-domains = <&ps_atc3_common>; + }; + + ps_atc3_cio_pcie: power-controller@410 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x410 4>; + label = "atc3_cio_pcie"; + #power-domain-cells = <0>; + #reset-cells = <0>; + power-domains = <&ps_atc3_cio>; + }; + + ps_atc3_cio_usb: power-controller@418 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x418 4>; + label = "atc3_cio_usb"; + #power-domain-cells = <0>; + #reset-cells = <0>; + power-domains = <&ps_atc3_cio>; + }; + + ps_atc3_cio_auss: power-controller@420 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x420 4>; + label = "atc3_cio_auss"; + #power-domain-cells = <0>; + #reset-cells = <0>; + power-domains = <&ps_atc3_cio>, <&ps_auss>; + }; + + ps_auss: power-controller@248 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x248 4>; + label = "auss"; + #power-domain-cells = <0>; + #reset-cells = <0>; + apple,always-on; + }; +}; + + +&atc0_phy { + apple,tunable-lane0-rx-top-cio = <0x35c 0xe00 0x200>; + apple,tunable-lane1-rx-top-cio = <0x35c 0xe00 0x200>; +}; + + +&atc1_phy { + apple,tunable-lane0-rx-top-cio = <0x35c 0xe00 0x200>; + apple,tunable-lane1-rx-top-cio = <0x35c 0xe00 0x200>; +}; + + +&atc2_phy { + apple,tunable-lane0-rx-top-cio = <0x35c 0xe00 0x200>; + apple,tunable-lane1-rx-top-cio = <0x35c 0xe00 0x200>; +}; + + +&atc3_phy { + apple,tunable-lane0-rx-top-cio = <0x35c 0xe00 0x200>; + apple,tunable-lane1-rx-top-cio = <0x35c 0xe00 0x200>; +}; + + +&pinctrl_aop { + /* Keep HDMI GPIO 14 available, and reserve every pin except CIO LSTX 77/79/81/83. */ + gpio-reserved-ranges = <0 14>, <15 62>, <78 1>, <80 1>, <82 1>, <84 1>; + status = "okay"; + + + + acio2_lstx_pins: acio2-lstx-pins { + pinmux = <0x10051>; + }; + + +}; + + +&hpm0 { + connector { + ports { + port@3 { + reg = <3>; + hpm0_usb4: endpoint { + remote-endpoint = <&acio0_tbt>; + }; + }; + }; + }; +}; + + +&hpm1 { + connector { + ports { + port@3 { + reg = <3>; + hpm1_usb4: endpoint { + remote-endpoint = <&acio1_tbt>; + }; + }; + }; + }; +}; + + +&hpm2 { + connector { + ports { + port@3 { + reg = <3>; + hpm2_usb4: endpoint { + remote-endpoint = <&acio2_tbt>; + }; + }; + }; + }; +}; + + +&hpm3 { + connector { + ports { + port@3 { + reg = <3>; + hpm3_usb4: endpoint { + remote-endpoint = <&acio3_tbt>; + }; + }; + }; + }; +}; + + +&{/soc} { + cio_reconfig0: cio_reset: reset-controller@280620000 { + compatible = "apple,t6050-cio-reset"; + reg = <0x2 0x80620000 0x0 0x4000>; + #reset-cells = <1>; + }; + + + + + + acio2_mbox: mailbox@381108000 { + compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x3 0x81108000 0x0 0x4000>; + interrupts = , + , + , + ; + interrupt-names = "send-empty", "send-not-empty", + "recv-empty", "recv-not-empty"; + #mbox-cells = <0>; +#if !(defined(T6050_J714C) || defined(T6050_J714S) || defined(T6050_J716C)) + status = "disabled"; +#endif + }; + + acio2: acio@381ac0000 { + compatible = "apple,t6050-usb4-acio"; + reg = <0x3 0x81ac0000 0x0 0xc000>, + <0x3 0x81080000 0x0 0x26000>, + <0x3 0x81e44000 0x0 0x4000>, + <0x3 0x81100000 0x0 0x4000>, + <0x3 0x81c80000 0x0 0x4000>; + reg-names = "rc", "sram", "pcie-adapter", "cpu", "router-ap-fw"; + mboxes = <&acio2_mbox>; + resets = <&cio_reconfig0 2>; + power-domains = <&ps_atc2_cio>, <&ps_atc2_cio_pcie>, + <&ps_atc2_cio_usb>, <&ps_atc2_cio_auss>; + thunderbolt-switch; +#if !(defined(T6050_J714C) || defined(T6050_J714S) || defined(T6050_J716C)) + status = "disabled"; +#endif + pinctrl-0 = <&acio2_lstx_pins>; + pinctrl-names = "lstx"; + lstx-gpios = <&pinctrl_aop 81 GPIO_ACTIVE_HIGH>; + + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x3 0x81000000 0x1000000>; + nonposted-mmio; + + /* + * /arm-io/dart-acio2, populated with the NHI once the router runs, so that it is + * first read with the router up. Nothing initialises it before Linux: its tunables + * (dart-tunables-instance-0), stream 15 (bypass-15) in bypass, every error + * reported and the context cache flushed. vm-base 0x100_0000_0000. + */ + acio2_dart: iommu@a80000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0xa80000 0xc000>; + interrupts = ; + power-domains = <&ps_atc2_cio>; + #iommu-cells = <1>; + apple,dma-range = <0x100 0x4000 0x0 0xffff0000>; + apple,bypass-sids = <15>; + apple,full-error-reporting; + apple,ctc-flush; + }; + + /* Interrupts 0x66b.. are the TX rings and 0x677.. the RX rings */ + acio2_nhi: nhi@f00000 { + compatible = "apple,t6050-usb4-nhi"; + reg = <0xf00000 0x100000>; + reg-names = "nhi"; + /* The board or boot loader supplies the host DROM. */ + apple,thunderbolt-drom = [00]; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + interrupt-names = "txring0", "txring1", "txring2", "txring3", "txring4", "txring5", + "txring6", "txring7", "txring8", "txring9", "txring10", "txring11", + "rxring0", "rxring1", "rxring2", "rxring3", "rxring4", "rxring5", + "rxring6", "rxring7", "rxring8", "rxring9", "rxring10", "rxring11", + "parity"; + iommus = <&acio2_dart 0>, + <&acio2_dart 1>, + <&acio2_dart 2>, + <&acio2_dart 3>, + <&acio2_dart 4>, + <&acio2_dart 5>, + <&acio2_dart 6>, + <&acio2_dart 7>, + <&acio2_dart 8>, + <&acio2_dart 9>, + <&acio2_dart 10>, + <&acio2_dart 11>, + <&acio2_dart 16>, + <&acio2_dart 17>, + <&acio2_dart 18>, + <&acio2_dart 19>, + <&acio2_dart 20>, + <&acio2_dart 21>, + <&acio2_dart 22>, + <&acio2_dart 23>, + <&acio2_dart 24>, + <&acio2_dart 25>, + <&acio2_dart 26>, + <&acio2_dart 27>; + }; + }; + + + +}; + +/* The inherited USB DARTs have no secure-monitor power-down operation in + * Linux's direct T8110 backend. Do not cut their domain from pre-freezer + * Type-C teardown or system PM. Router-only CIO domains remain cycleable. + * Keeping USB also retains its AON/common suppliers for wake. This can be + * relaxed only with a qualified DART ownership/power-down handoff. */ +&ps_atc0_usb { apple,always-on; }; +&ps_atc1_usb { apple,always-on; }; +&ps_atc2_usb { apple,always-on; }; +&ps_atc3_usb { apple,always-on; }; + +&acio2_mbox { status = "okay"; }; +&acio2 { + status = "okay"; + + port { + acio2_tbt: endpoint { + remote-endpoint = <&hpm2_usb4>; + }; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t6050-j775c.dts b/arch/arm64/boot/dts/apple/t6050-j775c.dts index 65d92d3a17480..64bb1a784f6ef 100644 --- a/arch/arm64/boot/dts/apple/t6050-j775c.dts +++ b/arch/arm64/boot/dts/apple/t6050-j775c.dts @@ -2,35 +2,1184 @@ /* * Mac Studio (M5 Max, 2026) * - * target-type: J775c + * target-type: J775c, board-id 0x10, chip-id 0x6050 (one die, 18 CPUs: 2x6 M + 6 P) * - * One T6050 die (t6050-max.dtsi). Nobody has booted Linux on this board - * yet: beyond the SoC this file only adds the board's hardware inventory - * (t6050-peripherals.dtsi), all of it disabled, from the board's ADT. + * The J775D (M5 Ultra) Studio's board on the one-die T6050 of the M5 Max, generated by + * make-j775c-dts.py: + * - the CPU, die-1 and GPU parts are t6050-j716c.dts's (M5 Max): die 1, its CPUs and buses go, + * each cluster's sixth core comes in, the GPU's OPP and AON tables are one die's (Aura fills + * them from the ADT), and the die-1 HPMs and nub-spmi-a2 go; + * - the board parts are t6050-j775d.dts's: PCIe ports 2 (RTL8127A), 3 (ASM3142 USB-A) and 0 (N1), + * audio (SN012776 on i2c1 0x38, CS42L84 on i2c2 0x4b), the pins, console, DARTs, dual fans and + * the NVRAM partition. + * Checked against the J775c ADT captured 2026-11-03 (macOS 26A425): the same PCIe endpoints (lan0 + * 10ec:8127, pcie-xhci 1b21:2142, centauri 106b:1901-1903; the GL9755 SD reader on port 1 is + * described but disabled until trained by the bootloader), the same i2c addresses and GPIO pins + * (amp 106/107, jack 134/139, N1 PERST# 80), the + * same NVRAM (0x700000 + 0xc0000, 12 banks), ATC PHYs 1-3 and HPMs 0-3 on nub-spmi-a0 at J775D's + * die-0 addresses, no nub-spmi-a2, and CPU MPIDRs 0x5/0x105/0x205 for each cluster's sixth core. + * J775c-specific: the N1's platform ID and firmware name carry board 0x10. + * + * Compatibility layout booted as 9c038a05 on J775c; see commit messages. * * Copyright The Asahi Linux Contributors */ /dts-v1/; -#include "t6050-max.dtsi" +#include "t6050-j775c-legacy.dtsi" +#include "t6050-j775c-rebased-peripherals.dtsi" +#include "t6050-j775c-loader-gpu.dtsi" + +/delete-node/ &cpu18; +/delete-node/ &cpu19; +/delete-node/ &cpu20; +/delete-node/ &cpu21; +/delete-node/ &cpu22; +/delete-node/ &cpu24; +/delete-node/ &cpu25; +/delete-node/ &cpu26; +/delete-node/ &cpu27; +/delete-node/ &cpu28; +/delete-node/ &cpu30; +/delete-node/ &cpu31; +/delete-node/ &cpu32; +/delete-node/ &cpu33; +/delete-node/ &cpu34; / { compatible = "apple,j775c", "apple,t6050", "apple,arm-platform"; model = "Apple Mac Studio (M5 Max, 2026)"; chassis-type = "desktop"; + aliases { + serial0 = &dockchannel; + /* the boot loader fills in the MAC address through this alias */ + ethernet0 = ðernet0; + /* kboot fills the N1's factory addresses from /chosen through these */ + wifi0 = &n1_alpha; + bluetooth0 = &n1_beta; + /* Aura's kboot_setup_atc() fills this PHY's tunables from /arm-io/atc-phy2. */ + atcphy2 = &atc2_phy; + /* And /arm-io/atc-phy0's (rear USB-C port 1, the DFU port). */ + atcphy0 = &atc0_phy; + /* The same fills /arm-io/atc-phy1's (rear USB-C port 2, USB data). */ + atcphy1 = &atc1_phy; + /* And rear port 4's (atc-phy3, die 0); J775D's die-1 PHYs 4 and 5 don't exist on J775c. */ + atcphy3 = &atc3_phy; + /* asahi-bless and the boot loader's dt_set_nvram find the partition by this alias */ + nvram = &nvram; + }; + + /* + * No stdout-path: the boot loader passes the console on the command + * line when it wants one. + */ chosen { #address-cells = <2>; #size-cells = <2>; ranges; + /* + * Normally replaced by the loader. With no console= named, + * NULL_TTY_DEFAULT_CONSOLE makes the console ttynull. + */ + bootargs = "maxcpus=1 rdinit=/init"; + }; + + /* + * PCIe ports 2 (the onboard 10 Gb Ethernet) and 3 (the rear USB-A + * xHCI). The boot loader powers and trains both links and keeps power, + * clocks, the PHYs and PERST; Linux owns the routing, MSI and the + * DARTs. The boot loader disables a port, and its DART, whose link did + * not come up. + * + * Port 0 carries the N1 (Wi-Fi and Bluetooth), described disabled until the + * boot loader trains it (pci@0,0 below). + */ + pcie0: pcie@1cb0000000 { + compatible = "apple,t6050-pcie"; + device_type = "pci"; + reg = <0x1c 0xb0000000 0x0 0x10000000>, + <0x4 0x14000000 0x0 0x4000>, + <0x4 0x12028000 0x0 0x8000>, + <0x4 0x17018000 0x0 0x4000>, + <0x4 0x12024000 0x0 0x4000>, + <0x4 0x13028000 0x0 0x8000>, + <0x4 0x1701c000 0x0 0x4000>, + <0x4 0x13024000 0x0 0x4000>, + <0x4 0x10028000 0x0 0x8000>, + <0x4 0x17010000 0x0 0x4000>, + <0x4 0x10024000 0x0 0x4000>, + <0x4 0x11028000 0x0 0x8000>, + <0x4 0x17014000 0x0 0x4000>, + <0x4 0x11024000 0x0 0x4000>; + reg-names = "config", "rc", "port2", "phy2", "intr2axi2", + "port3", "phy3", "intr2axi3", + "port0", "phy0", "intr2axi0", + "port1", "phy1", "intr2axi1"; + nonposted-mmio; + interrupts = , + , + , + ; + interrupt-names = "port2", "port3", "port0", "port1"; + + /* One shared MSI domain for the GP ports: vectors 64-127 */ + msi-controller; + msi-parent = <&pcie0>; + msi-ranges = <&aic AIC_IRQ 0 1888 IRQ_TYPE_EDGE_RISING 64>; + apple,msi-vector-base = <64>; + + /* + * The boot loader numbers port 2's secondary bus 1 and port 3's 2; + * port 0's is 3 until a boot loader that trains it renumbers all three + * in the PCI core's order. The N1's three functions are on DART + * streams 1-3. + */ + iommu-map = <0x100 &dart_apcie2 1 1>, + <0x200 &dart_apcie3 1 1>, + <0x300 &dart_apcie0 1 3>, + <0x400 &dart_apcie1 1 1>; + iommu-map-mask = <0xffff>; + dma-coherent; + linux,pci-domain = <0>; + bus-range = <0 4>; + #address-cells = <3>; + #size-cells = <2>; + ranges = <0x02000000 0x0 0x80000000 0xb 0x80000000 0x0 0x40000000>, + <0x43000000 0xb 0xc0000000 0xb 0xc0000000 0x0 0x20000000>; + + /* ADT apcie0/pci-bridge1/pcie-sdreader: Genesys GL9755, 17a0:9755. + * Aura powers it via SMC pcIO (0, 0x190000), trains the link, + * then enables this node and its DART and renumbers the buses. + */ + + port02: pci@2,0 { + device_type = "pci"; + reg = <0x1000 0 0 0 0>; + bus-range = <1 1>; + apple,link-trained-by-bootloader; + + #address-cells = <3>; + #size-cells = <2>; + ranges; + + interrupt-controller; + #interrupt-cells = <1>; + interrupt-map-mask = <0 0 0 7>; + interrupt-map = <0 0 0 1 &port02 0 0 0 0>, + <0 0 0 2 &port02 0 0 0 1>, + <0 0 0 3 &port02 0 0 0 2>, + <0 0 0 4 &port02 0 0 0 3>; + + /* The RTL8127A keeps no MAC address of its own */ + ethernet0: ethernet@0,0 { + reg = <0x10000 0x0 0x0 0x0 0x0>; + /* To be filled by the loader */ + local-mac-address = [00 00 00 00 00 00]; + }; + }; + + port03: pci@3,0 { + device_type = "pci"; + reg = <0x1800 0 0 0 0>; + bus-range = <2 2>; + apple,link-trained-by-bootloader; + + #address-cells = <3>; + #size-cells = <2>; + ranges; + + interrupt-controller; + #interrupt-cells = <1>; + interrupt-map-mask = <0 0 0 7>; + interrupt-map = <0 0 0 1 &port03 0 0 0 0>, + <0 0 0 2 &port03 0 0 0 1>, + <0 0 0 3 &port03 0 0 0 2>, + <0 0 0 4 &port03 0 0 0 3>; + }; + + /* + * The N1 Wi-Fi/Bluetooth (106b:1900, its ROM), trained by the bootloader after the SMC + * releases its reset. Its driver boots the firmware and has this port reset after the ROM + * stage; Control, Alpha (Wi-Fi) and Beta (Bluetooth) then answer at functions 0-2. + * Disabled with its DART: a bootloader that trains the port enables both and renumbers the + * buses here (bus-range, reg, iommu-map) to the PCI core's order, port 0 first. + */ + port00: pci@0,0 { + device_type = "pci"; + reg = <0x0 0 0 0 0>; + bus-range = <3 3>; + apple,link-trained-by-bootloader; + /* + * Its PERST# (pci-bridge0 function-perst): /arm-io/gpio0 pin 0x50, pad + * register 0x140 of pinctrl_ap, which owns the pad (and exposes it: see + * its gpio-reserved-ranges below). Driven only by the root-port reset after + * the N1's ROM stage. + */ + reset-gpios = <&pinctrl_ap 80 GPIO_ACTIVE_LOW>; + status = "disabled"; + + #address-cells = <3>; + #size-cells = <2>; + ranges; + + interrupt-controller; + #interrupt-cells = <1>; + interrupt-map-mask = <0 0 0 7>; + interrupt-map = <0 0 0 1 &port00 0 0 0 0>, + <0 0 0 2 &port00 0 0 0 1>, + <0 0 0 3 &port00 0 0 0 2>, + <0 0 0 4 &port00 0 0 0 3>; + + /* The firmware: the chip's image with this board's ticket; platform ID is + * (board 0x10 << 16) | chip 0x6050, from J775c's /chosen board-id */ + n1_control: control@0,0 { + compatible = "pci106b,1900"; + reg = <0x30000 0x0 0x0 0x0 0x0>; + firmware-name = "apple/centauri/j775c-ftab.bin"; + apple,centauri-platform-id = <0x00106050>; + apple,centauri-protocol = <27>; + }; + + n1_alpha: wifi@0,1 { + compatible = "pci106b,1902"; + reg = <0x30100 0x0 0x0 0x0 0x0>; + local-mac-address = [00 00 00 00 00 00]; + }; + + n1_beta: bluetooth@0,2 { + compatible = "pci106b,1903"; + reg = <0x30200 0x0 0x0 0x0 0x0>; + local-bd-address = [00 00 00 00 00 00]; + }; + }; + port01: pci@1,0 { + device_type = "pci"; + reg = <0x800 0 0 0 0>; + bus-range = <4 4>; + apple,link-trained-by-bootloader; + status = "disabled"; + #address-cells = <3>; + #size-cells = <2>; + ranges; + interrupt-controller; + #interrupt-cells = <1>; + interrupt-map-mask = <0 0 0 7>; + interrupt-map = <0 0 0 1 &port01 0 0 0 0>, + <0 0 0 2 &port01 0 0 0 1>, + <0 0 0 3 &port01 0 0 0 2>, + <0 0 0 4 &port01 0 0 0 3>; + + /* ADT card-detect-polarity = write-protect-polarity = 1. */ + sdcard@0,0 { + compatible = "pci17a0,9755"; + reg = <0x40000 0 0 0 0>; + cd-inverted; + wp-inverted; + }; + }; + }; + + /* + * The jack (CS42L84) and the speaker (SN012776) through the AOP's audio services. The card waits + * for its CPU component, the AOP audio node, which exists only after Aura's AOP handoff. + */ + sound { + compatible = "apple,j775c-macaudio", "apple,j775d-macaudio", "apple,macaudio"; + /* + * No variant letter, as on J375/J475/J575: userspace (speakersafetyd, + * the UCM profile, asahi-audio) keys on the card id "AppleJ775". + */ + model = "Mac Studio J775"; + #address-cells = <1>; + #size-cells = <0>; + + dai-link@0 { + reg = <0>; + link-name = "Headphone Jack"; + + cpu { + sound-dai = <&aop_audio 0>; + }; + + codec { + sound-dai = <&jack_codec>; + }; + }; + + dai-link@1 { + reg = <1>; + link-name = "Speaker"; + + cpu { + sound-dai = <&aop_audio 3>; + }; + + codec { + sound-dai = <&speaker_amp>; + }; + }; + }; + + /delete-node/ soc@6300000000; + /delete-node/ soc@2308000000; + /delete-node/ soc@6308000000; + /delete-node/ soc@2220000000; + /delete-node/ soc@4200000000; + + /* + * The memory cache controller of the one die: eight AMCCs of four planes (ADT /arm-io/mcc: + * amcc-count 8, dcs-count-per-amcc 4, die-enable-mask 1). The dtsi's node also lists die 1's + * planes, so it goes with the die-1 buses above. Without this one the system level cache + * never allocates: the boot loader leaves allocation disabled on every plane. + * + * Each plane window reaches past the DSID quota and occupancy registers (+0xa000 to + * +0xc300); the ADT gives each AMCC 0x140000, its planes 0x40000 apart. + */ + soc@2220000000 { + compatible = "simple-bus"; + #address-cells = <2>; + #size-cells = <2>; + ranges = <0x22 0x20000000 0x22 0x20000000 0x0 0x10000000>; + nonposted-mmio; + + memory-controller@2220000000 { + compatible = "apple,t6050-mcc"; + reg = <0x22 0x20000000 0x0 0x10000>, + <0x22 0x20040000 0x0 0x10000>, + <0x22 0x20080000 0x0 0x10000>, + <0x22 0x200c0000 0x0 0x10000>, + <0x22 0x22000000 0x0 0x10000>, + <0x22 0x22040000 0x0 0x10000>, + <0x22 0x22080000 0x0 0x10000>, + <0x22 0x220c0000 0x0 0x10000>, + <0x22 0x24000000 0x0 0x10000>, + <0x22 0x24040000 0x0 0x10000>, + <0x22 0x24080000 0x0 0x10000>, + <0x22 0x240c0000 0x0 0x10000>, + <0x22 0x26000000 0x0 0x10000>, + <0x22 0x26040000 0x0 0x10000>, + <0x22 0x26080000 0x0 0x10000>, + <0x22 0x260c0000 0x0 0x10000>, + <0x22 0x28000000 0x0 0x10000>, + <0x22 0x28040000 0x0 0x10000>, + <0x22 0x28080000 0x0 0x10000>, + <0x22 0x280c0000 0x0 0x10000>, + <0x22 0x2a000000 0x0 0x10000>, + <0x22 0x2a040000 0x0 0x10000>, + <0x22 0x2a080000 0x0 0x10000>, + <0x22 0x2a0c0000 0x0 0x10000>, + <0x22 0x2c000000 0x0 0x10000>, + <0x22 0x2c040000 0x0 0x10000>, + <0x22 0x2c080000 0x0 0x10000>, + <0x22 0x2c0c0000 0x0 0x10000>, + <0x22 0x2e000000 0x0 0x10000>, + <0x22 0x2e040000 0x0 0x10000>, + <0x22 0x2e080000 0x0 0x10000>, + <0x22 0x2e0c0000 0x0 0x10000>; + apple,boot-dma-devices = <&display>; + }; }; + + /* + * The GPU's OPP tables for one die: four clusters, so four voltage cells per main state, + * and one per CS/AFR state. Aura fills them in, as on J775D. + */ + /delete-node/ opp-table-gpu; + /delete-node/ opp-table-gpu-afr; + /delete-node/ opp-table-gpu-cs; + + /* /arm-io/sgx perf-states: 14 states, one table per cluster */ + gpu_opp: opp-table-gpu { + compatible = "operating-points-v2"; + + opp00 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0 0 0>; + opp-microvolt-sram = <0 0 0 0>; + }; + + opp01 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0 0 0>; + opp-microvolt-sram = <0 0 0 0>; + }; + + opp02 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0 0 0>; + opp-microvolt-sram = <0 0 0 0>; + }; + + opp03 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0 0 0>; + opp-microvolt-sram = <0 0 0 0>; + }; + + opp04 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0 0 0>; + opp-microvolt-sram = <0 0 0 0>; + }; + + opp05 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0 0 0>; + opp-microvolt-sram = <0 0 0 0>; + }; + + opp06 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0 0 0>; + opp-microvolt-sram = <0 0 0 0>; + }; + + opp07 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0 0 0>; + opp-microvolt-sram = <0 0 0 0>; + }; + + opp08 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0 0 0>; + opp-microvolt-sram = <0 0 0 0>; + }; + + opp09 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0 0 0>; + opp-microvolt-sram = <0 0 0 0>; + }; + + opp10 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0 0 0>; + opp-microvolt-sram = <0 0 0 0>; + }; + + opp11 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0 0 0>; + opp-microvolt-sram = <0 0 0 0>; + }; + + opp12 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0 0 0>; + opp-microvolt-sram = <0 0 0 0>; + }; + + opp13 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0 0 0 0>; + opp-microvolt-sram = <0 0 0 0>; + }; + }; + + /* afr-perf-states, one voltage */ + gpu_afr_opp: opp-table-gpu-afr { + compatible = "operating-points-v2"; + + opp00 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0>; + }; + + opp01 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0>; + }; + + opp02 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0>; + }; + + opp03 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0>; + }; + + opp04 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0>; + }; + + opp05 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0>; + }; + + opp06 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0>; + }; + + opp07 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0>; + }; + + opp08 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0>; + }; + + opp09 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0>; + }; + + opp10 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0>; + }; + + opp11 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0>; + }; + + opp12 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0>; + }; + + opp13 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0>; + }; + }; + + /* cs-perf-states, one voltage */ + gpu_cs_opp: opp-table-gpu-cs { + compatible = "operating-points-v2"; + + opp00 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0>; + }; + + opp01 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0>; + }; + + opp02 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0>; + }; + + opp03 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0>; + }; + + opp04 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0>; + }; + + opp05 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0>; + }; + + opp06 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0>; + }; + + opp07 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0>; + }; + + opp08 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0>; + }; + + opp09 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0>; + }; + + opp10 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0>; + }; + + opp11 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0>; + }; + + opp12 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0>; + }; + + opp13 { + opp-hz = /bits/ 64 <0>; + opp-microvolt = <0>; + }; + }; +}; + + +/* The AON power-telemetry records of one die (g0TR, g1TR, r0TR), which Aura fills */ +&gpu { + apple,aon-ptd = <0 0 0 0 0 0 0 0 0>; + /* The J775c ADT's gpu-idleoff-standby-timer, 0xdac (the board default is 1500 us). */ + apple,idleoff-standby-timer = <3500>; }; -/* PCIe port 0 is not described for this board yet */ -&pcie0 { +&{/cpus} { + cpu-map { + cluster0 { + core0 { + cpu = <&cpu0>; + }; + core1 { + cpu = <&cpu1>; + }; + core2 { + cpu = <&cpu2>; + }; + core3 { + cpu = <&cpu3>; + }; + core4 { + cpu = <&cpu4>; + }; + core5 { + cpu = <&cpu5>; + }; + }; + cluster1 { + core0 { + cpu = <&cpu6>; + }; + core1 { + cpu = <&cpu7>; + }; + core2 { + cpu = <&cpu8>; + }; + core3 { + cpu = <&cpu9>; + }; + core4 { + cpu = <&cpu10>; + }; + core5 { + cpu = <&cpu11>; + }; + }; + cluster2 { + core0 { + cpu = <&cpu12>; + }; + core1 { + cpu = <&cpu13>; + }; + core2 { + cpu = <&cpu14>; + }; + core3 { + cpu = <&cpu15>; + }; + core4 { + cpu = <&cpu16>; + }; + core5 { + cpu = <&cpu17>; + }; + }; + }; + + + +}; + +/* + * CPU PMUs, one per core type. A core's PMU interrupt is a FIQ (PMCR0 + * IMODE = FIQ, as XNU programs it), which AIC hands to the PMU whose FIQ + * index lists that core. The ADT's per-core AIC interrupts (cpuN + * "interrupts", 69 + 3n on cluster 0, 101 + 3n on cluster 1, 133 + 3n on + * the P cluster) are not used. These live here rather than in t6050.dtsi + * because the core list is the board's: one die, six cores per cluster. + */ +/ { + +}; + + +/* J775D's die-1 PD controllers (hpm4, hpm5 on nub-spmi-a2) don't exist on J775c */ +/delete-node/ &hpm4; +/delete-node/ &hpm5; + +&nub_spmi_a2 { status = "disabled"; }; -#define T6050_J775C -#include "t6050-peripherals.dtsi" + +/* The pins this board's nodes name, and no others */ +&pinctrl_ap { + /* + * Every pin reads cleanly (evidence/dt/2026-10-30-gpio-qualification.md), but only + * the pins a node in this file names are exposed: 80 (PCIe port 0's PERST#, ADT + * pci-bridge0 function-perst), 106 (amp IRQ), 107 (amp shutdown), 134 (jack IRQ) + * and 139 (jack codec reset), from the ADT's audio-speaker and audio-codec-output. + * A reserved line cannot be requested (gpiolib answers -EINVAL), so a node that + * names a new pin of pinctrl_ap opens it here too. + */ + gpio-reserved-ranges = <0 80>, <81 25>, <108 26>, <135 4>, <140 81>; +}; + +&i2c1 { + /* + * ADT speaker-config 00 14 00 02: playback slot 0, amp gain 20, I sense in slot 0 + * and V sense in slot 2. The bytes are : on J316 every + * amp's row matches its validated imon/vmon pair (00 0f 00 02 is imon 0, vmon 2; + * 01 0f 04 06 is imon 4, vmon 6), and J375/J473/J575 use imon 0, vmon 2 as well. + * The firmware's speaker frame is 250 BCLKs of 12 MHz (ADT + * iop-audio-controller/audio-speaker), which the amp's ratio detection rejects. + */ + speaker_amp: codec@38 { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x38>; + shutdown-gpios = <&pinctrl_ap 107 GPIO_ACTIVE_HIGH>; + interrupts-extended = <&pinctrl_ap 106 IRQ_TYPE_LEVEL_LOW>; + #sound-dai-cells = <0>; + ti,imon-slot-no = <0>; + ti,vmon-slot-no = <2>; + ti,bclk-ratio = <250>; + }; +}; + +&i2c2 { + jack_codec: codec@4b { + compatible = "cirrus,cs42l84"; + reg = <0x4b>; + reset-gpios = <&pinctrl_ap 139 GPIO_ACTIVE_HIGH>; + interrupts-extended = <&pinctrl_ap 134 IRQ_TYPE_LEVEL_LOW>; + #sound-dai-cells = <0>; + sound-name-prefix = "Jack"; + }; +}; + +/* + * The console is on the USB debug link, which drains only while a host reads + * it; the machine also boots with nothing attached there. + */ +&dockchannel { + apple,tx-never-wait; + status = "okay"; +}; + +&dart_apcie2 { + status = "okay"; +}; + +&dart_apcie3 { + status = "okay"; +}; + +#include "hwmon-fan-dual.dtsi" + +/* + * The Studio's SMC has F0Ac/F0Mn/F0Mx/F0Tg and F1*, but its mode keys are F0md/F1md (ui8, flags 0xd0: + * readable, writable, a function key), not the F0Md/F1Md the dtsi names; with the dtsi's names fan + * creation failed on the missing key. With the real keys the fans can be set by the kernel's + * thermal policy (the M5 GPU governor, through macsmc_hwmon_fans_request()). No + * apple,fan-manual-control: userspace still only reads them. + */ +&smc_hwmon { + fan-F0Ac { + apple,fan-mode = "F0md"; + }; + + fan-F1Ac { + apple,fan-mode = "F1md"; + }; +}; + +/* + * The boot NOR's NVRAM: the loader fills the partition from ADT /arm-io/qspi/spinor/anvram reg + * (0x700000, 0xc0000 here), 12 banks of 64 KiB (/chosen nvram-bank-count, nvram-bank-size). The + * flash is spinor's CS0 (its reg's first cell; the second is 0x19, 25), clocked as on T8140's + * J700. Only this partition is exposed (no MTD_PARTITIONED_MASTER), so the rest of the boot NOR + * has no device node, and the controller's T8140 policy admits programs and erases only inside + * this partition. + */ +&qspi { + status = "okay"; + + flash@0 { + compatible = "jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <25000000>; + /* Single-wire, as on T8132's J713: no quad-enable status write at probe */ + spi-rx-bus-width = <1>; + spi-tx-bus-width = <1>; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + nvram: partition@700000 { + label = "nvram"; + /* To be filled by the loader */ + reg = <0x0 0x0>; + status = "disabled"; + }; + }; + }; +}; + +/* + * The always-on (NUB) GPIO block, ADT /arm-io/nub-gpio0 (61 pins, no power gate). Only pin 14 is + * exposed: the rear USB-A hubs' reset, ADT spi3/usb3hub-flash/usb3hub-fw function-usb3hub_rst + * (nub-gpio0 pin 14, flags 1). Behind the ASM3142 sits a VIA VL822 USB3.1/USB2.0 hub pair + * (05ac:800e, 05ac:800d) that boots from its own SPI flash once released. The pin is left an + * undriven input, which holds the hubs in reset; driven high, both hubs and the USB-A devices + * behind them enumerate within a second (lobata, 2026-11-04), so the reset is active low. + */ +&{/soc} { +}; + +/* + * Rear USB-C port 3 (HPM2, usb-pd@8, the display port): its USB controller, enabled with + * atc2_phy as t6050.dtsi says, for USB beside DisplayPort. + */ +&usb_drd2 { + status = "okay"; +}; + +&usb_drd2_dart_0 { + status = "okay"; +}; + +&usb_drd2_dart_1 { + status = "okay"; +}; + +/* + * The HDMI port. On the one-die J775c it hangs off die 0, where J775D has it on die 1 + * (dcpext4, lpdptx-phy1, dp2hdmi-gpio1, all deleted here with the die-1 buses). From the + * J775c ADT (captured 2026-11-03, macOS 26A425; arm-io ranges child 0 -> 0x200000000): + * - display-crossbar0 (display-crossbar,t6050) has no registers. Its dfp endpoint 4 is + * lpdptx-phy0 (dp-switch-dfp-endpoint 4, transports-supported 5); its ufp endpoints are + * dispext0..7. dcpext1 is ufp endpoint 1 (dcpext0, which takes the four rear USB-C + * ports, is 0), so the PHY's source select picks it (source-select-offset 1). + * - lpdptx-phy0 (dptx-phy,t6050): reg 0x9c240000+0x10000 (dptx) and 0x9c200000+0x4000 + * (core); power-gates and clock-gates 0xe5, PMGR device DPTX_PHY (ps-group 1 + 0x3f8, + * no parents); DCOCFG 3, DTCVREG 15, DTCCAL 2, DCDADJ 16, DLFCFG 3, pclkdrv-select 1; + * RODCOROLEAKCOMP and FD0FD1SWAP absent (0xffffffff). + * - dp2hdmi-gpio0 (dp2hdmi-gpio-parent of lpdptx-phy0, pcon-stays-on): hdmi_hpd is + * aop-gpio0 pin 14, hdmi_pwr_en and dp2hdmi_pwr_en the SMC's pKW8 pcIO commands; the + * same pins as J775D's dp2hdmi-gpio1, which t6050.dtsi already describes (pinctrl_aop, + * smc_pcio). + * - dcpext1 (iop-dcpext1-nub external-index 2), dispext1, dart-dcpext1, dart-dispext1: + * dcpext0's layout at +0x1e0000000 (child 0x1_92e00000), but dispext1's reg[4], the PMC + * metadata, is the one dispext0 names. Interrupts: mailbox 1195..1198 (ADT order + * 0x4ac 0x4ab 0x4ae 0x4ad, as dcpext0's 0x464 0x463 0x466 0x465), both DARTs 1142. + * The bandwidth request is PMGR bwr-agent 4, DISP_EXT1 (BIRQ 0x3c, dispext1's + * bw_req_interrupt0); its scratch is 0x20000 + 0x4000 * agent, as DISP_INT (agent 0, + * J716c's dcp at 0x20000) and DISP_EXT0 (agent 3, dcpext0 at 0x2c000) have it. + * iBoot leaves dcpext1 as it leaves dcpext0: powered (DISPEXT1_CPU 0x2806002e0 = + * 0x1404024f), its ASC running, both DARTs locked (0xff / 0xb9) on the ADT's l1-tt roots + * for SIDs 23, 0 and 16 (Aura's T6050 inventory on lobata, 2026-11-04). All disabled: + * Aura's T6050 handoff enables dcpext1 with its nodes, the PHY and its power domain and + * pinctrl_aop when the engine passes the same checks as dcpext0, and appends + * dart_dispext1 to the display subsystem. + */ +&{/soc} { + + + + +}; + +/* The HDMI PHY's power gate (ADT pmgr DPTX_PHY, 0xe5); with no consumer it stays off */ +&pmgr1 { + ps_dptx_phy: power-controller@3f8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x3f8 4>; + label = "dptx_phy"; + #power-domain-cells = <0>; + #reset-cells = <0>; + }; +}; + +/* + * The HDMI hotplug input is the only AOP GPIO pin the AP uses; the AOP owns the rest, + * so only pin 14 is exposed (pin 15, force-dpfu, is never requested). + */ +&pinctrl_aop { + gpio-reserved-ranges = <0 14>, <15 70>; +}; + +/* + * The HDMI port's audio. On T6050 every display pipe has its own audio DMA controller (ADT + * admac-dispextN, "admac,t6050", the AOP's ADMAC family), behind its own DART + * (dart-dispextN-isoc, one mapper: dispextN-dpa, SID 30), feeding that pipe's DisplayPort + * audio interface (dp-audioN+1). M1..M4 fed it from the SIO coprocessor instead; this + * generation has no SIO DMA path for it (ADT dp-audio2 dma-parent = admac-dispext1), and + * macOS drives it from the AP (AudioDMAController-T605x on admac-dispext1, channel DX10TX; + * DCPAVAudioDMADelegate on dp-audio2). The DCP's audio service on port@0 does the rest. + * From the J775c ADT (arm-io child 0 -> 0x200000000): + * - admac-dispext1: reg 0x1_92140000+0x24000 and the shared 0x88328000+8 (the LLT vote + * register admac-base-ns names too; not needed here); one TX channel; interrupt 0x48c on + * irq-destination 0 (AIC), as admac-base-ns; channel-buffer-allocation 0x1900. + * - dart-dispext1-isoc (dart,t8110): reg 0x1_92180000+0x20000 (and the shared PS_PROT block + * at 0x803f0000), interrupt 0x48d, vm-base 1 TiB, vm-size 64 GiB, no l1-tt: iBoot sets up + * no stream on it, so it is not locked. + * - dp-audio2: power-gates/clock-gates 0x51 = PMGR DISPEXT1_ADMA (ps-group 0, 0x2d8, parent + * DISPEXT1_SYS, which iBoot leaves on with dcpext1); dma-parent admac-dispext1 channel 0. + * No AP-side registers. The ADMAC and the DART have no power gate of their own; both are + * given DISPEXT1_ADMA, which macOS turns on for the DPA. + * The audio interface itself is always available: the display subsystem waits for it as a + * component of dcpext1 (once Aura enables dcpext1), so it carries no power domain whose + * failure could hold the display back. A DMA controller that does not come up only fails + * the PCM's open. + */ +&{/soc} { + +}; + +&pmgr0 { + /* ADT pmgr DISPEXT1_ADMA (0x51): dispext1's audio DMA and DisplayPort audio */ + ps_dispext1_adma: power-controller@2d8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2d8 4>; + label = "dispext1_adma"; + #power-domain-cells = <0>; + #reset-cells = <0>; + }; +}; + +&dcpext1 { + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + dcpext1_audio: endpoint { + remote-endpoint = <&dpaudio_dispext1_dcp>; + }; + }; + }; +}; + +/* ADT dp-audio2: no AP-side registers, so not on the SoC bus */ +/ { + dpaudio_dispext1: audio-controller-dispext1 { + compatible = "apple,t6050-dpaudio", "apple,dpaudio"; + dmas = <&admac_dispext1 0>; + dma-names = "tx"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + dpaudio_dispext1_dcp: endpoint { + remote-endpoint = <&dcpext1_audio>; + }; + }; + }; + }; +}; + +/* + * DisplayPort audio on the rear USB-C ports: dcpext0's pipe, laid out as dcpext1's above. + * ADT admac-dispext0 0xb2140000 (interrupt 0x444), dart-dispext0-isoc 0xb2180000 (interrupt + * 0x445, SID 30, no l1-tt), dp-audio1 with power gate DISPEXT0_ADMA (0x44, pmgr0 0x270, + * parent DISPEXT0_SYS). + */ +&{/soc} { + +}; + +&pmgr0 { + /* ADT pmgr DISPEXT0_ADMA (0x44): dispext0's audio DMA and DisplayPort audio */ + ps_dispext0_adma: power-controller@270 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x270 4>; + label = "dispext0_adma"; + #power-domain-cells = <0>; + #reset-cells = <0>; + }; +}; + +&dcpext0 { + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + dcpext0_audio: endpoint { + remote-endpoint = <&dpaudio_dispext0_dcp>; + }; + }; + }; +}; + +/* ADT dp-audio1 */ +/ { + dpaudio_dispext0: audio-controller-dispext0 { + compatible = "apple,t6050-dpaudio", "apple,dpaudio"; + dmas = <&admac_dispext0 0>; + dma-names = "tx"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + dpaudio_dispext0_dcp: endpoint { + remote-endpoint = <&dcpext0_audio>; + }; + }; + }; + }; +}; + +/* The untrained port's DART must not be probed; Aura enables it after link-up. */ +&{/soc} { +}; + +#include "t6050-j775c-usb4.dtsi" + +/* Diagnostic-only ramoops policy is not carried into the upstream layout. */ + +/* Match the ported board's ATC2 supplier activation. */ +&atc2_phy_mbox { status = "okay"; }; +&atc2_phy { status = "okay"; }; +&atc2_xbar { status = "okay"; }; + +/* Match the ported board's rear port 3 PD activation. */ +&hpm2 { status = "okay"; }; + +/* Activate ATC2 domain providers as a separate migration step. */ +&ps_atc2_common { status = "okay"; }; +&ps_atc2_usb_aon { status = "okay"; }; +&ps_atc2_phymxwrap { status = "okay"; }; +&ps_atc2_usb { status = "okay"; }; + +/* Exact shared ACIO0/1/3 definitions from 953cbcc0, enabled here. */ +#include "t6050-acio.dtsi" + +&acio0_mbox { status = "okay"; }; +&acio0 { + status = "okay"; + + port { + acio0_tbt: endpoint { + remote-endpoint = <&hpm0_usb4>; + }; + }; +}; + +&acio1_mbox { status = "okay"; }; +&acio1 { + status = "okay"; + + port { + acio1_tbt: endpoint { + remote-endpoint = <&hpm1_usb4>; + }; + }; +}; + +&acio3_mbox { status = "okay"; }; +&acio3 { + status = "okay"; + + port { + acio3_tbt: endpoint { + remote-endpoint = <&hpm3_usb4>; + }; + }; +}; + +#include "t6050-j775c-incremental-pmgr.dtsi" + +#include "t6050-j775c-incremental-pcie.dtsi" + +#include "t6050-j775c-incremental-display.dtsi" + +/* J775c has no internal panel: retain the booted desktop handoff selection. */ +/delete-node/ &{/soc/dcp@48ae00000}; + +#include "t6050-j775c-incremental-audio.dtsi" + +#include "t6050-j775c-incremental-sd.dtsi" + +/* Remove unreferenced die1 caches inherited by the retained source. */ +/delete-node/ &{/cpus/l2-cache-m10}; +/delete-node/ &{/cpus/l2-cache-m11}; +/delete-node/ &{/cpus/l3-cache-p1}; +/delete-node/ &{/cpus/l2-cache-p1-0}; +/delete-node/ &{/cpus/l2-cache-p1-1}; +/delete-node/ &{/cpus/l2-cache-p1-2}; +/delete-node/ &{/cpus/l2-cache-p1-3}; +/delete-node/ &{/cpus/l2-cache-p1-4}; +/delete-node/ &{/cpus/l2-cache-p1-5}; + +#include "t6050-j775c-incremental-usbpolicy.dtsi" + +#include "t6050-j775c-incremental-spmi.dtsi" + +#include "t6050-j775c-incremental-pmgr4.dtsi" + +#include "t6050-j775c-incremental-additions.dtsi" + +/* Isolate newly active MTP DART from the inventory additions. */ +&{/soc/iommu@294800000} { status = "disabled"; }; + +#include "t6050-j775c-incremental-remaining-nogpu.dtsi" + +/* Keep isolated MTP activation failure disabled after later migrations. */ +&{/soc/iommu@294800000} { status = "disabled"; }; + +#include "t6050-j775c-incremental-gpuopp.dtsi" + +/* Installed Stage2 needs the final fallback while Linux uses current G17 compatibles. */ +&gpu { compatible = "apple,agx-g17c", "apple,agx-g17s", "apple,agx-t6050"; }; + +/delete-node/ &{/opp-table-gpu-afr}; +/delete-node/ &{/opp-table-gpu-cs}; + +/* The shared router graph uses adapter port 1; drop stale duplicate links. */ +&acio0 { + /delete-node/ port; +}; + +&acio1 { + /delete-node/ port; +}; + +&acio2 { + /delete-node/ port; +}; + +&acio3 { + /delete-node/ port; +}; + +/* Name the retained second ADT window without assigning a filter role. */ +&ane_dart0 { + reg-names = "dart", "auxiliary"; +}; From 2e2905662a8c22be9e774411a9da38cb6a7df1b7 Mon Sep 17 00:00:00 2001 From: Diljit Singh Date: Mon, 16 Nov 2026 16:03:10 -0500 Subject: [PATCH 05/12] arm64: dts: apple: retain enabled laptop routers with shared inventory The shared T6050 router declarations default their status to disabled. J714s and J716c previously enabled their board-specific mailbox and router definitions implicitly, which now inherit the disabled property. Explicitly enable the six existing board nodes to preserve their prior effective status. Signed-off-by: Diljit Singh --- arch/arm64/boot/dts/apple/t6050-j714s-left-usb4.dtsi | 4 ++++ arch/arm64/boot/dts/apple/t6050-j716c-left-usb4.dtsi | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/apple/t6050-j714s-left-usb4.dtsi b/arch/arm64/boot/dts/apple/t6050-j714s-left-usb4.dtsi index 016432b78a47d..36f98814cc2e4 100644 --- a/arch/arm64/boot/dts/apple/t6050-j714s-left-usb4.dtsi +++ b/arch/arm64/boot/dts/apple/t6050-j714s-left-usb4.dtsi @@ -49,6 +49,8 @@ &{/soc@200000000} { /* /arm-io/acio-cpu1 reg[0]: the router CPU's mailbox, inside its wrapper */ acio1_mbox: mailbox@2a9108000 { + /* This board enables the shared, disabled router inventory. */ + status = "okay"; compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; reg = <0x2 0xa9108000 0x0 0x4000>; interrupts = , @@ -61,6 +63,8 @@ }; acio1: acio@2a9ac0000 { + /* This board enables the shared, disabled router inventory. */ + status = "okay"; compatible = "apple,t6050-usb4-acio"; reg = <0x2 0xa9ac0000 0x0 0xc000>, <0x2 0xa9080000 0x0 0x26000>, diff --git a/arch/arm64/boot/dts/apple/t6050-j716c-left-usb4.dtsi b/arch/arm64/boot/dts/apple/t6050-j716c-left-usb4.dtsi index 196128d3add0c..00e14419ade39 100644 --- a/arch/arm64/boot/dts/apple/t6050-j716c-left-usb4.dtsi +++ b/arch/arm64/boot/dts/apple/t6050-j716c-left-usb4.dtsi @@ -190,6 +190,8 @@ }; &{/soc@200000000} { acio0_mbox: mailbox@2a1108000 { + /* This board enables the shared, disabled router inventory. */ + status = "okay"; compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; reg = <0x2 0xa1108000 0x0 0x4000>; interrupts = , @@ -201,6 +203,8 @@ #mbox-cells = <0>; }; acio0: acio@2a1ac0000 { + /* This board enables the shared, disabled router inventory. */ + status = "okay"; compatible = "apple,t6050-usb4-acio"; reg = <0x2 0xa1ac0000 0x0 0xc000>, <0x2 0xa1080000 0x0 0x26000>, @@ -648,6 +652,8 @@ }; &{/soc@200000000} { acio1_mbox: mailbox@2a9108000 { + /* This board enables the shared, disabled router inventory. */ + status = "okay"; compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; reg = <0x2 0xa9108000 0x0 0x4000>; interrupts = , @@ -659,6 +665,8 @@ #mbox-cells = <0>; }; acio1: acio@2a9ac0000 { + /* This board enables the shared, disabled router inventory. */ + status = "okay"; compatible = "apple,t6050-usb4-acio"; reg = <0x2 0xa9ac0000 0x0 0xc000>, <0x2 0xa9080000 0x0 0x26000>, From 32fc7e6cdbe5dac99a62b375be554eb2ca96effb Mon Sep 17 00:00:00 2001 From: Diljit Singh Date: Mon, 16 Nov 2026 16:03:35 -0500 Subject: [PATCH 06/12] selftests: asahi: cover adopted-link Clock PM policy Run the production Clock PM helpers through root-bus and capability admission, locked and unlocked calls, PCI errors, host initialization failure and the adopted-link host gate. Reject mutations that change the mask or remove the gate. Document the rebase and the outstanding loader and hardware qualification limits. Signed-off-by: Diljit Singh --- .../devicetree/apple-j775c-compatibility.rst | 24 ++++++ tools/asahi/pcie-adopted-clkpm-tests.py | 82 +++++++++++++++++++ tools/asahi/run-host-tests.py | 1 + 3 files changed, 107 insertions(+) create mode 100644 tools/asahi/pcie-adopted-clkpm-tests.py diff --git a/Documentation/devicetree/apple-j775c-compatibility.rst b/Documentation/devicetree/apple-j775c-compatibility.rst index 7300d8160a370..229e2947ff5bf 100644 --- a/Documentation/devicetree/apple-j775c-compatibility.rst +++ b/Documentation/devicetree/apple-j775c-compatibility.rst @@ -44,3 +44,27 @@ The remaining DT gate item is the GPU loader contract migration: qualify a loader supporting modern GPU paths, compatibles and resources, then update the DT and recheck GPU handoff and HDMI on hardware. Until then, preserve the compatibility DT and keep the PR draft while CI fails. + +Rebase onto current integration +------------------------------ + +The rebased stack starts at integration commit +``677be395b9d2e15d98696107ebf88191f08efbf9``. It includes the shared, +disabled ACIO routers from PR #1579, the adopted-link Clock PM policy +from PR #1618, and the board changes from PR #1619. Satya Benson's +original board series is consolidated into one commit; the original +PRs and their branches remain unchanged. + +The rebase retains K114c in the existing Max router activation guards, +keeps the current PCIe radio and SD helpers, and preserves the T8142 +ANE binding constraints alongside the separate T6050 layout. J714s and +J716c board definitions explicitly retain their previously enabled +routers and mailboxes after inheriting shared disabled nodes. +The Clock PM host test exercises the production helper, including the +locked and unlocked PCI APIs, failures, and the adopted-host gate. +It does not exercise physical links or qualify other M5 boards. + +All hardware receipts above apply only to their stated revisions. +Neither the rebased head nor its normal and ANE wrappers have a new +hardware qualification. The GPU loader migration remains outstanding; +this rebase does not authorize installation or replace those gates. diff --git a/tools/asahi/pcie-adopted-clkpm-tests.py b/tools/asahi/pcie-adopted-clkpm-tests.py new file mode 100644 index 0000000000000..50bf753cfcb56 --- /dev/null +++ b/tools/asahi/pcie-adopted-clkpm-tests.py @@ -0,0 +1,82 @@ +#!/usr/bin/env python3 +# SPDX-License-Identifier: GPL-2.0-only OR MIT +"""Exercise adopted-link Clock PM policy using the production C helpers.""" +from pathlib import Path +import re, resource, subprocess, tempfile + +resource.setrlimit(resource.RLIMIT_CORE, (0, 0)) +root=Path(__file__).resolve().parents[2] +src=(root/'drivers/pci/controller/pcie-apple.c').read_text() +def function(name): + start=re.search(r'^static (?:void|int) '+name+r'\(',src,re.M).start() + end=src.index('{',start)+1;depth=1 + while depth: + depth+=(src[end]=='{')-(src[end]=='}');end+=1 + return src[start:end] +production='\n'.join(function(n) for n in ['apple_pcie_adopted_no_clkpm','apple_pcie_adopted_no_clkpm_walk','apple_pcie_host_init']) +fixture=r''' +#include +#include +#include +#include +#include +typedef uint32_t u32; +#define PCI_EXP_LNKCAP 12 +#define PCI_EXP_LNKCAP_CLKPM (1U << 18) +#define PCIE_LINK_STATE_CLKPM (1U << 2) +struct pci_bus { bool root; }; +struct pci_dev { struct pci_bus *bus; bool pcie; }; +struct platform_device { int unused; }; +struct hw_info { bool adopt_link; }; +struct apple_pcie { struct hw_info *hw; }; +struct pci_host_bridge { struct pci_bus *bus; struct apple_pcie *priv; }; +static int reads, disables, locks, warnings, infos, walks, common_ret, disable_ret, read_ret; +static u32 cap; +static int apple_pcie_cfg_ecam_ops; +static bool pci_is_root_bus(struct pci_bus *b) { return b->root; } +static bool pci_is_pcie(struct pci_dev *p) { return p->pcie; } +static int pcie_capability_read_dword(struct pci_dev *p, int reg, u32 *v) +{ assert(reg==PCI_EXP_LNKCAP); reads++; *v=cap; return read_ret; } +static int pci_disable_link_state(struct pci_dev *p, int mask) +{ assert(mask==PCIE_LINK_STATE_CLKPM); disables++; return disable_ret; } +static int pci_disable_link_state_locked(struct pci_dev *p, int mask) +{ locks++; return pci_disable_link_state(p,mask); } +#define pci_warn(...) (warnings++) +#define pci_info(...) (infos++) +static struct apple_pcie *pci_host_bridge_priv(struct pci_host_bridge *b) { return b->priv; } +static int pci_host_common_init(struct platform_device *p, struct pci_host_bridge *b, void *ops) +{ assert(ops==&apple_pcie_cfg_ecam_ops); return common_ret; } +static void pci_walk_bus(struct pci_bus *b, int (*fn)(struct pci_dev *,void *), void *data) +{ struct pci_dev p={b,true}; walks++; assert(fn(&p,data)==0); } +/*PRODUCTION*/ +static void reset(void) +{ reads=disables=locks=warnings=infos=walks=common_ret=disable_ret=read_ret=0; cap=PCI_EXP_LNKCAP_CLKPM; } +int main(void) +{ + struct pci_bus bus={false}; struct pci_dev dev={&bus,true}; + reset();bus.root=true;apple_pcie_adopted_no_clkpm(&dev,false);assert(!reads&&!disables);bus.root=false; + reset();dev.pcie=false;apple_pcie_adopted_no_clkpm(&dev,false);assert(!reads&&!disables);dev.pcie=true; + reset();read_ret=-EIO;apple_pcie_adopted_no_clkpm(&dev,false);assert(reads==1&&!disables); + reset();cap=0;apple_pcie_adopted_no_clkpm(&dev,false);assert(reads==1&&!disables); + for(int locked=0;locked<2;locked++) { + reset();apple_pcie_adopted_no_clkpm(&dev,locked);assert(disables==1&&locks==locked&&infos==locked&&!warnings); + reset();disable_ret=-EINVAL;apple_pcie_adopted_no_clkpm(&dev,locked);assert(disables==1&&locks==locked&&!infos&&!warnings); + reset();disable_ret=-EIO;apple_pcie_adopted_no_clkpm(&dev,locked);assert(disables==1&&locks==locked&&!infos&&warnings==1); + } + struct hw_info hw={false};struct apple_pcie pcie={&hw};struct pci_host_bridge bridge={&bus,&pcie};struct platform_device platform={0}; + reset();assert(apple_pcie_host_init(&platform,&bridge)==0);assert(!walks&&!disables); + reset();hw.adopt_link=true;assert(apple_pcie_host_init(&platform,&bridge)==0);assert(walks==1&&disables==1&&locks==1); + reset();common_ret=-EIO;assert(apple_pcie_host_init(&platform,&bridge)==-EIO);assert(!walks&&!disables); + return 0; +} +''' +variants={'production':production,'wrong-mask':production.replace('PCIE_LINK_STATE_CLKPM','1',2),'lost-host-gate':production.replace('!ret && pcie->hw->adopt_link','!ret && (pcie->hw->adopt_link || true)')} +with tempfile.TemporaryDirectory() as td: + d=Path(td) + for name,body in variants.items(): + c=d/(name+'.c');exe=d/name;c.write_text(fixture.replace('/*PRODUCTION*/',body)) + subprocess.run(['clang','-std=gnu11','-Wall','-Werror','-Wno-unused-parameter',str(c),'-o',str(exe)],check=True) + r=subprocess.run([str(exe)],capture_output=True) + assert (r.returncode==0)==(name=='production'),(name,r.stderr.decode()) + print(name,'PASS' if not r.returncode else 'negative control rejected',flush=True) +print('13 production cases; 2 negative controls PASS') diff --git a/tools/asahi/run-host-tests.py b/tools/asahi/run-host-tests.py index 1af0e3c242fc4..f96c27124eee6 100755 --- a/tools/asahi/run-host-tests.py +++ b/tools/asahi/run-host-tests.py @@ -249,6 +249,7 @@ def mutations(flag, names, base, expect=KILL): + mutations('--mutation', ('sep-syscore', 'wake-irq', 'rx-suspend', 'stale-policy', 'usb-rpm', 'usb-epoch-syscore', 'vlp-client', 'six-band'), out('--output')) + [(out('--output') + ['--old-usb'], KILL), (out('--output') + ['--old-regulatory'], KILL)], + 'pcie-adopted-clkpm-tests.py': [([], PASS)], 'pciec-policy-tests.py': [(out(), PASS)], 'pmgr-bus-tests.py': [([], PASS)], 'sep-suspend-errors-tests.py': [(out(), PASS)] From 21e05e1b53af2f0817da4faadadaa771a3010a1d Mon Sep 17 00:00:00 2001 From: Diljit Singh Date: Mon, 16 Nov 2026 16:08:04 -0500 Subject: [PATCH 07/12] arm64: dts: apple: consolidate J775c into one final board description Resolve the staged board descriptions into t6050-j775c.dts, retaining symbolic references and the final device policy. Remove all 18 board staging sources, including the separate unqualified ANE trial wrapper. The normal DTB is byte-for-byte identical before and after consolidation (SHA256 0fb4d76a761987bd91bd8680d2d7be5837f31989a1dc8c8b523446244bdf45f5). No hardware is newly enabled. Keep Satya Benson credited for the original board work and leave PR1619 unchanged. Signed-off-by: Diljit Singh --- .../devicetree/apple-j775c-compatibility.rst | 100 +- arch/arm64/boot/dts/apple/t6050-j775c-ane.dts | 34 - .../boot/dts/apple/t6050-j775c-base.dtsi | 306 - .../t6050-j775c-incremental-additions.dtsi | 1046 --- .../apple/t6050-j775c-incremental-audio.dtsi | 69 - .../t6050-j775c-incremental-display.dtsi | 464 -- .../apple/t6050-j775c-incremental-gpuopp.dtsi | 277 - .../apple/t6050-j775c-incremental-pcie.dtsi | 41 - .../apple/t6050-j775c-incremental-pmgr.dtsi | 1148 --- .../apple/t6050-j775c-incremental-pmgr4.dtsi | 269 - ...050-j775c-incremental-remaining-nogpu.dtsi | 2354 ------ .../dts/apple/t6050-j775c-incremental-sd.dtsi | 11 - .../apple/t6050-j775c-incremental-spmi.dtsi | 47 - .../t6050-j775c-incremental-usbpolicy.dtsi | 185 - .../boot/dts/apple/t6050-j775c-legacy.dtsi | 3190 -------- .../dts/apple/t6050-j775c-loader-gpu.dtsi | 98 - .../t6050-j775c-rebased-peripherals.dtsi | 302 - .../dts/apple/t6050-j775c-usb4-capture.dtsi | 24 - .../boot/dts/apple/t6050-j775c-usb4.dtsi | 424 - arch/arm64/boot/dts/apple/t6050-j775c.dts | 6811 ++++++++++++++--- 20 files changed, 5943 insertions(+), 11257 deletions(-) delete mode 100644 arch/arm64/boot/dts/apple/t6050-j775c-ane.dts delete mode 100644 arch/arm64/boot/dts/apple/t6050-j775c-base.dtsi delete mode 100644 arch/arm64/boot/dts/apple/t6050-j775c-incremental-additions.dtsi delete mode 100644 arch/arm64/boot/dts/apple/t6050-j775c-incremental-audio.dtsi delete mode 100644 arch/arm64/boot/dts/apple/t6050-j775c-incremental-display.dtsi delete mode 100644 arch/arm64/boot/dts/apple/t6050-j775c-incremental-gpuopp.dtsi delete mode 100644 arch/arm64/boot/dts/apple/t6050-j775c-incremental-pcie.dtsi delete mode 100644 arch/arm64/boot/dts/apple/t6050-j775c-incremental-pmgr.dtsi delete mode 100644 arch/arm64/boot/dts/apple/t6050-j775c-incremental-pmgr4.dtsi delete mode 100644 arch/arm64/boot/dts/apple/t6050-j775c-incremental-remaining-nogpu.dtsi delete mode 100644 arch/arm64/boot/dts/apple/t6050-j775c-incremental-sd.dtsi delete mode 100644 arch/arm64/boot/dts/apple/t6050-j775c-incremental-spmi.dtsi delete mode 100644 arch/arm64/boot/dts/apple/t6050-j775c-incremental-usbpolicy.dtsi delete mode 100644 arch/arm64/boot/dts/apple/t6050-j775c-legacy.dtsi delete mode 100644 arch/arm64/boot/dts/apple/t6050-j775c-loader-gpu.dtsi delete mode 100644 arch/arm64/boot/dts/apple/t6050-j775c-rebased-peripherals.dtsi delete mode 100644 arch/arm64/boot/dts/apple/t6050-j775c-usb4-capture.dtsi delete mode 100644 arch/arm64/boot/dts/apple/t6050-j775c-usb4.dtsi diff --git a/Documentation/devicetree/apple-j775c-compatibility.rst b/Documentation/devicetree/apple-j775c-compatibility.rst index 229e2947ff5bf..5f7636ae3c1c3 100644 --- a/Documentation/devicetree/apple-j775c-compatibility.rst +++ b/Documentation/devicetree/apple-j775c-compatibility.rst @@ -3,68 +3,60 @@ J775c loader compatibility and DT validation ========================================== -The J775c (Mac Studio M5 Max) description retains the GPU layout required -by the installed Aura b6e6faf4 loader: the GPU path below -``/soc@2300000000``, the ``apple,agx-t6050`` fallback compatible, and the -ASC/SGX resource pair. Migrating to the modern GPU layout requires a -separately qualified loader update. Do not remove this contract merely -to satisfy schema validation. - -At PR #1619 head 32149e08e8b191a500b40435eb0820cc78ec22fe, the -``t6050-j775c-ane.dtb`` booted with SHA256 +The J775c (Mac Studio M5 Max) board has one final description in +``arch/arm64/boot/dts/apple/t6050-j775c.dts``. The staging fragments and +separate ANE trial wrapper are not part of the board source. Consolidating +the resolved description preserves the normal board's compiled DTB byte +for byte, including its enabled and disabled device policy. + +The description retains the GPU layout required by the installed Aura +b6e6faf4 loader: the GPU path below ``/soc@2300000000``, the +``apple,agx-t6050`` fallback compatible, and the ASC/SGX resource pair. +Migrating to the modern GPU layout requires a separately qualified loader +update. Do not remove this contract merely to satisfy schema validation. + +The MTP DART remains disabled after its activation failed qualification. +The ANE DARTs retain their ANE_SYS suppliers. Neither the consolidation nor +the removal of the trial wrapper enables additional hardware. + +Historical hardware evidence +---------------------------- + +At PR #1619 head 32149e08e8b191a500b40435eb0820cc78ec22fe, the former +``t6050-j775c-ane.dtb`` trial booted with SHA256 ``dc88aa139f329bb568e48ba7ba80417e7d2c01ec6be49514a95ca24285dfd8d9``. -The hardware receipt, including the combined kernel revision and test -limits, is recorded at: +The combined kernel revision and test limits are recorded at: https://github.com/aurora-silicon/linux/pull/1619#issuecomment-6816611851 -This is a boot and health result, not qualification of GPU rendering, +That result applies only to the stated trial composition. It is not a new +qualification of this rebased head, the normal board DTB, GPU rendering, audio playback, SD media, suspend, hotplug or other boards. -At that revision the DT gate reports ten new lines, five per J775c DTB: -unmatched compatible, compatible oneOf failure, excessive reg length, -excessive reg-names length, and reg-names[0] expecting sgx. The modern -G17 binding describes one SGX bank; the retained loader contract uses -ASC and SGX. The edited bindings themselves validate, and ADT coverage -does not regress. These warnings remain visible. - -After merging integration 050f6a517, its compatible-pair recognition -removes the two unmatched-schema diagnostics. Eight new warning lines -remain, four per J775c DTB, with identical DTB bytes. The compatible list -and ASC/SGX shape still conflict with the modern binding constraints. - -``scripts/dtc/apple-dt-check.sh`` compares normalized warning sets for -all Apple DTBs at base and head. It has no warning allowlist or board -exception mechanism. ADT coverage waivers describe coverage only and -cannot waive schema diagnostics. A PR job compares its synthetic merge -against that merge's first parent, not against the PR's old base or -its merge-base. - -The remaining DT gate item is the GPU loader contract migration: qualify -a loader supporting modern GPU paths, compatibles and resources, then -update the DT and recheck GPU handoff and HDMI on hardware. Until then, -preserve the compatibility DT and keep the PR draft while CI fails. - -Rebase onto current integration ------------------------------- +Rebase and remaining gates +------------------------- The rebased stack starts at integration commit -``677be395b9d2e15d98696107ebf88191f08efbf9``. It includes the shared, -disabled ACIO routers from PR #1579, the adopted-link Clock PM policy -from PR #1618, and the board changes from PR #1619. Satya Benson's -original board series is consolidated into one commit; the original +``677be395b9d2e15d98696107ebf88191f08efbf9``. It includes Satya Benson's +shared disabled ACIO routers from PR #1579, the adopted-link Clock PM +policy from PR #1618, and the final board state from PR #1619. The original PRs and their branches remain unchanged. The rebase retains K114c in the existing Max router activation guards, -keeps the current PCIe radio and SD helpers, and preserves the T8142 -ANE binding constraints alongside the separate T6050 layout. J714s and -J716c board definitions explicitly retain their previously enabled -routers and mailboxes after inheriting shared disabled nodes. -The Clock PM host test exercises the production helper, including the -locked and unlocked PCI APIs, failures, and the adopted-host gate. -It does not exercise physical links or qualify other M5 boards. - -All hardware receipts above apply only to their stated revisions. -Neither the rebased head nor its normal and ANE wrappers have a new -hardware qualification. The GPU loader migration remains outstanding; -this rebase does not authorize installation or replace those gates. +keeps the current PCIe radio and SD helpers, and preserves the T8142 ANE +binding constraints alongside the separate T6050 layout. J714s and J716c +explicitly retain their previously enabled routers and mailboxes when +inheriting the shared disabled inventory. The production-C Clock PM host +test covers the locked and unlocked PCI APIs, errors and adopted-host +gate; it does not qualify physical links or other M5 boards. + +Full-schema validation still reports the legacy GPU compatible-list +``oneOf`` failure. ``scripts/dtc/apple-dt-check.sh`` compares normalized +warning sets for all Apple DTBs at base and head. It has no warning +allowlist or board exception mechanism. ADT coverage waivers cannot waive +schema diagnostics. + +Keep this work draft until the GPU loader migration and affected-board +hardware qualification are complete. A later migration must recheck GPU +handoff and HDMI on J775c; old hardware receipts do not qualify a new +loader or kernel composition. diff --git a/arch/arm64/boot/dts/apple/t6050-j775c-ane.dts b/arch/arm64/boot/dts/apple/t6050-j775c-ane.dts deleted file mode 100644 index 95663b200a895..0000000000000 --- a/arch/arm64/boot/dts/apple/t6050-j775c-ane.dts +++ /dev/null @@ -1,34 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0+ OR MIT -/* - * Apple Mac Studio (M5 Max, 2026) with the Neural Engine enabled, for a - * trial boot: J775c plus ANE_SYS, the three ANE DART instances and the - * ANE. The DARTs probe at boot (powering ANE_SYS); the ANE engine itself - * is only touched from firmware_stage, after the loader hand-off. - */ - -#include "t6050-j775c.dts" - -&ps_ane_sys { - status = "okay"; -}; - -&ane_dart0 { - status = "okay"; -}; - -&ane_dart1 { - status = "okay"; -}; - -&ane_dart2 { - status = "okay"; -}; - -&ane { - status = "okay"; -}; - -/* Retain ANE_SYS suppliers when explicitly enabling these DARTs. */ -&ane_dart0 { power-domains = <&ps_ane_sys>; }; -&ane_dart1 { power-domains = <&ps_ane_sys>; }; -&ane_dart2 { power-domains = <&ps_ane_sys>; }; diff --git a/arch/arm64/boot/dts/apple/t6050-j775c-base.dtsi b/arch/arm64/boot/dts/apple/t6050-j775c-base.dtsi deleted file mode 100644 index 171ca5c2d8c35..0000000000000 --- a/arch/arm64/boot/dts/apple/t6050-j775c-base.dtsi +++ /dev/null @@ -1,306 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0+ OR MIT -/* - * Nodes common to every Apple T6050 (M5 Max, M5 Ultra) SoC - * - * A T6050 is one or two identical dies: t6050-max.dtsi describes the - * one-die part and t6050-ultra.dtsi the two-die one. Each includes this - * file, t6050-die0.dtsi (the blocks used on die 0 only) and, once per die, - * the per-die template t6050-dieX.dtsi. Die 0's MMIO window is - * 0x2_00000000 and die 1's 0x42_00000000 (die stride 0x40_00000000); each - * die has its own simple-bus, which the boot loader looks up by unit - * address. Unit addresses are CPU physical addresses. The boot loader - * starts the secondary CPUs and fills in their release addresses, the - * memory node and its own reservations. - * - * A smaller (binned) one-die part can build on t6050-max.dtsi, as - * t6034.dtsi does on t6031.dtsi: the boot loader removes the CPU nodes of - * the cores a part lacks. - * - * Copyright The Asahi Linux Contributors - */ - -/* - * The per-die template's addressing: before each inclusion of - * t6050-dieX.dtsi, the including file defines - * DIE the label suffix (empty for die 0, _die1 for die 1), - * DIE_NO the die number (the AIC's die cell), - * DIE_UNIT_PREFIX the die's MMIO offset as a unit-address prefix - * (empty for die 0, 4 for die 1), - * DIE_ATC1 the port name of the die's ATC1 (die d's ATCn is port 4d + n), - * SOC_NODE the die's bus. - * DIE_UNIT() and DIE_HI() then give a die-0 address on that die. - */ -#define DIE_UNIT(addr) __concat(DIE_UNIT_PREFIX, addr) -#define DIE_HI(hi) ((hi) + 0x40 * DIE_NO) -#define DIE_ATC1_LABEL(suffix) __stringify(__concat(DIE_ATC1, suffix)) - -/* - * CPU nodes. Die d, cluster c, core n has MPIDR Aff2 4 for the two M-tier - * (apple,sawtooth) clusters and 1 for the P-tier (apple,everest) cluster, - * Aff1 0x10 * d + c and Aff0 n; the unit address is the MPIDR. Labels - * number the cores 18 * d + 6 * c + n. The boot loader removes the nodes of - * the cores it did not start. - */ -#define T6050_CPU(label, mpidr, type, opp, cluster, cpu_cap) \ - label: cpu@mpidr { \ - compatible = type; \ - device_type = "cpu"; \ - reg = <0x0 0x ## mpidr>; \ - enable-method = "spin-table"; \ - operating-points-v2 = <&opp>; \ - performance-domains = <&cluster>; \ - capacity-dmips-mhz = ; \ - cpu-release-addr = <0 0>; /* to be filled by the loader */ \ - } - -/* - * capacity-dmips-mhz from pinned single-thread throughput with every cluster at 4284 MHz (in - * both OPP tables), normalised by each core's measured clock (J714sAP): per MHz an M core runs - * zstd -3 compression at 0.736, decompression at 0.871 and a Python dict loop at 0.728 of a P - * core, geometric mean 0.776, so M 794 and P 1024. Small L1-resident loops run at 0.92-1.01. - */ -#define T6050_M_CPU(label, mpidr, cluster) \ - T6050_CPU(label, mpidr, "apple,sawtooth", mcluster_opp, cluster, 794) -#define T6050_P_CPU(label, mpidr, cluster) \ - T6050_CPU(label, mpidr, "apple,everest", pcluster_opp, cluster, 1024) - -/ { - compatible = "apple,t6050", "apple,arm-platform"; - #address-cells = <2>; - #size-cells = <2>; - interrupt-parent = <&aic>; - - /* The boot loader replaces reg with the usable RAM. */ - memory@10000000000 { - device_type = "memory"; - reg = <0x100 0x0 0x0 0x0>; - }; - - reserved-memory { - #address-cells = <2>; - #size-cells = <2>; - ranges; - /* The boot loader adds its own reservations. */ - }; - - /* The size's file lists its CPUs (T6050_M_CPU, T6050_P_CPU). */ - cpus { - #address-cells = <2>; - #size-cells = <0>; - }; - - /* - * CPU OPPs, from the ADT: /arm-io/pmgr acc-clusters maps clusters 0, 1 and 2 of each die to - * voltage-states 22, 23 and 5, and their -sram tables give the frequencies (kHz). 22 and 23 - * list the same frequencies, so the two M clusters share one table. Levels are DVFS command - * states: state 1 is 300 MHz and state k the table's (k-1)-th entry from state 2, as on T8142 - * (measured on J775D: every state's clock from a dependent-add chain). iBoot leaves M cluster - * 0 of each die in state 6 (2652 MHz), the other clusters in state 2. - * - * Bring-up: the clusters' controllers (t6050-dieX.dtsi) assert apple,firmware-managed-thermal, - * which the T6050 profile requires, before that ownership is qualified on this boot chain (no - * Linux PMP driver runs; the SMC drives the fans). A qualification settles it: an all-core - * load at the top states, watching TCMb, the fans and the measured clock. - */ - mcluster_opp: opp-table-mcluster { - compatible = "operating-points-v2"; - opp-shared; - - opp01 { - opp-hz = /bits/ 64 <300000000>; - opp-level = <1>; - }; - opp02 { - opp-hz = /bits/ 64 <1344000000>; - opp-level = <2>; - }; - opp03 { - opp-hz = /bits/ 64 <1644000000>; - opp-level = <3>; - }; - opp04 { - opp-hz = /bits/ 64 <1992000000>; - opp-level = <4>; - }; - opp05 { - opp-hz = /bits/ 64 <2304000000>; - opp-level = <5>; - }; - opp06 { - opp-hz = /bits/ 64 <2652000000>; - opp-level = <6>; - }; - opp07 { - opp-hz = /bits/ 64 <2964000000>; - opp-level = <7>; - }; - opp08 { - opp-hz = /bits/ 64 <3240000000>; - opp-level = <8>; - }; - opp09 { - opp-hz = /bits/ 64 <3504000000>; - opp-level = <9>; - }; - opp10 { - opp-hz = /bits/ 64 <3696000000>; - opp-level = <10>; - }; - opp11 { - opp-hz = /bits/ 64 <3876000000>; - opp-level = <11>; - }; - opp12 { - opp-hz = /bits/ 64 <4044000000>; - opp-level = <12>; - }; - opp13 { - opp-hz = /bits/ 64 <4176000000>; - opp-level = <13>; - }; - opp14 { - opp-hz = /bits/ 64 <4284000000>; - opp-level = <14>; - }; - opp15 { - opp-hz = /bits/ 64 <4308000000>; - opp-level = <15>; - }; - opp16 { - opp-hz = /bits/ 64 <4380000000>; - opp-level = <16>; - }; - }; - - pcluster_opp: opp-table-pcluster { - compatible = "operating-points-v2"; - opp-shared; - - opp01 { - opp-hz = /bits/ 64 <300000000>; - opp-level = <1>; - }; - opp02 { - opp-hz = /bits/ 64 <1308000000>; - opp-level = <2>; - }; - opp03 { - opp-hz = /bits/ 64 <1620000000>; - opp-level = <3>; - }; - opp04 { - opp-hz = /bits/ 64 <1980000000>; - opp-level = <4>; - }; - opp05 { - opp-hz = /bits/ 64 <2292000000>; - opp-level = <5>; - }; - opp06 { - opp-hz = /bits/ 64 <2580000000>; - opp-level = <6>; - }; - opp07 { - opp-hz = /bits/ 64 <2880000000>; - opp-level = <7>; - }; - opp08 { - opp-hz = /bits/ 64 <3180000000>; - opp-level = <8>; - }; - opp09 { - opp-hz = /bits/ 64 <3432000000>; - opp-level = <9>; - }; - opp10 { - opp-hz = /bits/ 64 <3648000000>; - opp-level = <10>; - }; - opp11 { - opp-hz = /bits/ 64 <3828000000>; - opp-level = <11>; - }; - opp12 { - opp-hz = /bits/ 64 <3984000000>; - opp-level = <12>; - }; - opp13 { - opp-hz = /bits/ 64 <4104000000>; - opp-level = <13>; - }; - opp14 { - opp-hz = /bits/ 64 <4188000000>; - opp-level = <14>; - }; - opp15 { - opp-hz = /bits/ 64 <4236000000>; - opp-level = <15>; - }; - opp16 { - opp-hz = /bits/ 64 <4284000000>; - opp-level = <16>; - }; - opp17 { - opp-hz = /bits/ 64 <4308000000>; - opp-level = <17>; - }; - opp18 { - opp-hz = /bits/ 64 <4332000000>; - opp-level = <18>; - }; - opp19 { - opp-hz = /bits/ 64 <4428000000>; - opp-level = <19>; - }; - opp20 { - opp-hz = /bits/ 64 <4512000000>; - opp-level = <20>; - }; - opp21 { - opp-hz = /bits/ 64 <4608000000>; - opp-level = <21>; - }; - }; - - /* The 24 MHz reference clock of the watchdog */ - clkref: clock-ref { - compatible = "fixed-clock"; - #clock-cells = <0>; - clock-frequency = <24000000>; - clock-output-names = "clkref"; - }; - - /* The QSPI controller's input: ADT /arm-io/qspi clock-ids 440, /arm-io clock-frequencies[440 - 256] */ - clk_405m: clock-405m { - compatible = "fixed-clock"; - #clock-cells = <0>; - clock-frequency = <405000000>; - clock-output-names = "clk_405m"; - }; - - timer { - compatible = "arm,armv8-timer"; - interrupt-parent = <&aic>; - interrupt-names = "phys", "virt", "hyp-phys", "hyp-virt"; - interrupts = , - , - , - ; - }; - - cpu_pmu: pmu { - compatible = "apple,t6050-pmu"; - interrupt-parent = <&aic>; - /* The AIC raises both core types' PMU FIQs as this one. */ - interrupts = ; - }; - - /* Die 0 MMIO */ - die0: soc { - compatible = "simple-bus"; - #address-cells = <2>; - #size-cells = <2>; - ranges; - nonposted-mmio; - }; -}; diff --git a/arch/arm64/boot/dts/apple/t6050-j775c-incremental-additions.dtsi b/arch/arm64/boot/dts/apple/t6050-j775c-incremental-additions.dtsi deleted file mode 100644 index c3ddeb9740f1a..0000000000000 --- a/arch/arm64/boot/dts/apple/t6050-j775c-incremental-additions.dtsi +++ /dev/null @@ -1,1046 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0+ OR MIT -/* Property migration from Satya Benson's 86b1f365 J775c stack. - * Retained board sources remain the baseline; this group is independently booted. - * Copyright The Asahi Linux Contributors - */ -&{/soc} { - pwm@505040000 { - compatible = "apple,t6050-fpwm", "apple,s5l-fpwm"; - reg = <0x5 0x5040000 0x0 0x4000>; - clocks = <&{/clock-ref}>; - power-domains = <&{/soc/power-management@280900000/power-controller@2a8}>; - #pwm-cells = <0x2>; - status = "disabled"; - }; -}; - -&{/soc} { - pwm@505044000 { - compatible = "apple,t6050-fpwm", "apple,s5l-fpwm"; - reg = <0x5 0x5044000 0x0 0x4000>; - clocks = <&{/clock-ref}>; - power-domains = <&{/soc/power-management@280900000/power-controller@2b0}>; - #pwm-cells = <0x2>; - status = "disabled"; - }; -}; - -&{/soc} { - pwm@505048000 { - compatible = "apple,t6050-fpwm", "apple,s5l-fpwm"; - reg = <0x5 0x5048000 0x0 0x4000>; - clocks = <&{/clock-ref}>; - power-domains = <&{/soc/power-management@280900000/power-controller@2b8}>; - #pwm-cells = <0x2>; - status = "disabled"; - }; -}; - -&{/soc/acio@2a1ac0000} { - ports { - #address-cells = <0x1>; - #size-cells = <0x0>; - }; -}; - -&{/soc/acio@2a1ac0000/ports} { - port@1 { - reg = <0x1>; - }; -}; - -&{/soc/acio@2a1ac0000/ports/port@1} { - endpoint { - remote-endpoint = <&{/soc/spmi@28a188000/usb-pd@c/connector/ports/port@3/endpoint}>; - }; -}; - -&{/soc/acio@2a9ac0000} { - ports { - #address-cells = <0x1>; - #size-cells = <0x0>; - }; -}; - -&{/soc/acio@2a9ac0000/ports} { - port@1 { - reg = <0x1>; - }; -}; - -&{/soc/acio@2a9ac0000/ports/port@1} { - endpoint { - remote-endpoint = <&{/soc/spmi@28a188000/usb-pd@a/connector/ports/port@3/endpoint}>; - }; -}; - -&{/soc/acio@389ac0000} { - ports { - #address-cells = <0x1>; - #size-cells = <0x0>; - }; -}; - -&{/soc/acio@389ac0000/ports} { - port@1 { - reg = <0x1>; - }; -}; - -&{/soc/acio@389ac0000/ports/port@1} { - endpoint { - remote-endpoint = <&{/soc/spmi@28a188000/usb-pd@6/connector/ports/port@3/endpoint}>; - }; -}; - -&{/soc} { - mailbox@294608000 { - compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; - reg = <0x2 0x94608000 0x0 0x4000>; - interrupts = <0x0 0x0 0x2a4 0x4 0x0 0x0 0x2a5 0x4 0x0 0x0 0x2a6 0x4 0x0 0x0 0x2a7 0x4>; - interrupt-names = "send-empty", "send-not-empty", "recv-empty", "recv-not-empty"; - #mbox-cells = <0x0>; - }; -}; - -&{/soc} { - iommu@294800000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - reg = <0x2 0x94800000 0x0 0xc000>; - interrupts = <0x0 0x0 0x293 0x4>; - #iommu-cells = <0x1>; - apple,dma-range = <0x100 0x4000 0x0 0xffff0000>; - }; -}; - -&{/soc} { - mtp@294600000 { - compatible = "apple,t6050-mtp", "apple,t6050-rtk-helper-asc4", "apple,mtp", "apple,rtk-helper-asc4"; - reg = <0x2 0x94600000 0x0 0x4000 0x2 0x94c00000 0x0 0xc4000>; - reg-names = "asc", "sram"; - mboxes = <&{/soc/mailbox@294608000}>; - iommus = <&{/soc/iommu@294800000} 0x0>; - #helper-cells = <0x0>; - }; -}; - -&{/soc} { - fifo@294b14000 { - compatible = "apple,t6050-dockchannel", "apple,dockchannel"; - reg = <0x2 0x94b14000 0x0 0x1000>; - reg-names = "irq"; - interrupts = <0x0 0x0 0x294 0x4>; - ranges = <0x0 0x2 0x94b28000 0x10000>; - nonposted-mmio; - #address-cells = <0x1>; - #size-cells = <0x1>; - interrupt-controller; - #interrupt-cells = <0x2>; - }; -}; - -&{/soc/acio@381ac0000} { - ports { - #address-cells = <0x1>; - #size-cells = <0x0>; - }; -}; - -&{/soc/acio@381ac0000/ports} { - port@1 { - reg = <0x1>; - }; -}; - -&{/soc/acio@381ac0000/ports/port@1} { - endpoint { - remote-endpoint = <&{/soc/spmi@28a188000/usb-pd@8/connector/ports/port@3/endpoint}>; - }; -}; - -&{/soc} { - sep@502600000 { - compatible = "apple,t6050-sep", "apple,sep"; - reg = <0x5 0x2600000 0x0 0x88000 0x5 0x2050000 0x0 0x4000>; - mboxes = <&{/soc/mailbox@502608000}>; - mbox-names = "mbox"; - iommus = <&{/soc/iommu@500b80000} 0x0>; - power-domains = <&{/soc/power-management@280900000/power-controller@298}>; - clocks = <&{/soc/clock-controller@280600000} 0x1bf>; - status = "disabled"; - }; -}; - -&{/soc} { - mailbox@502608000 { - compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; - reg = <0x5 0x2608000 0x0 0x4000>; - interrupts = <0x0 0x0 0x215 0x4 0x0 0x0 0x216 0x4 0x0 0x0 0x217 0x4 0x0 0x0 0x218 0x4>; - interrupt-names = "send-empty", "send-not-empty", "recv-empty", "recv-not-empty"; - #mbox-cells = <0x0>; - status = "disabled"; - }; -}; - -&{/soc} { - iommu@500b80000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - reg = <0x5 0xb80000 0x0 0x20000>; - interrupts = <0x0 0x0 0x21f 0x4>; - #iommu-cells = <0x1>; - apple,dma-range = <0x100 0x4000 0x0 0xffff0000>; - apple,dma-offset = <0x0 0x0>; - status = "disabled"; - }; -}; - -&{/soc} { - clock-controller@280600000 { - compatible = "apple,t6050-pmgr-clocks", "apple,pmgr-clocks"; - reg = <0x2 0x80600000 0x0 0x1fc000 0x2 0x80900000 0x0 0x58000 0x2 0x80000000 0x0 0x80000 0x2 0x80210000 0x0 0x8000 0x2 0x80200000 0x0 0x4000 0x2 0x806f0000 0x0 0x4000 0x2 0x84000000 0x0 0x8000 0x2 0x84240000 0x0 0x40000 0x2 0x86000000 0x0 0x1000000 0x2 0x88300000 0x0 0x84000 0x2 0x88200000 0x0 0x80000 0x2 0x88f00000 0x0 0x18000 0x2 0x88000000 0x0 0x24000 0x2 0x88e00000 0x0 0xa8000 0x2 0x88360000 0x0 0x4000 0x5 0x9878000 0x0 0x4000 0x2 0x10e20000 0x0 0x12e8 0x2 0x10e40000 0x0 0xc020 0x2 0x10e50000 0x0 0x9048 0x2 0x10e70000 0x0 0xffe8 0x2 0x10050000 0x0 0x9018 0x2 0x10150000 0x0 0x9018 0x2 0x10250000 0x0 0x9018 0x2 0x10350000 0x0 0x9018 0x2 0x10450000 0x0 0x9018 0x2 0x10550000 0x0 0x9018 0x2 0x11e20000 0x0 0x12e8 0x2 0x11e40000 0x0 0xc020 0x2 0x11e50000 0x0 0x9048 0x2 0x11e70000 0x0 0xffe8 0x2 0x11050000 0x0 0x9018 0x2 0x11150000 0x0 0x9018 0x2 0x11250000 0x0 0x9018 0x2 0x11350000 0x0 0x9018 0x2 0x11450000 0x0 0x9018 0x2 0x11550000 0x0 0x9018 0x2 0x12e20000 0x0 0x12e8 0x2 0x12e40000 0x0 0xc020 0x2 0x12e50000 0x0 0x9048 0x2 0x12e70000 0x0 0xffe8 0x2 0x12050000 0x0 0x9018 0x2 0x12150000 0x0 0x9018 0x2 0x12250000 0x0 0x9018 0x2 0x12350000 0x0 0x9018 0x2 0x12450000 0x0 0x9018 0x2 0x12550000 0x0 0x9018 0x23 0x80600000 0x0 0x1e8000 0x23 0x80000000 0x0 0x80000 0x23 0x84000000 0x0 0x8000 0x23 0x88300000 0x0 0x84000 0x23 0x88200000 0x0 0x80000 0x23 0xe80000 0x0 0x30000 0x23 0xec0000 0x0 0x8000 0x23 0xed0000 0x0 0x8000 0x23 0xee0000 0x0 0x8000 0x23 0xef0000 0x0 0x8000 0x23 0xf00000 0x0 0x8000 0x23 0xe30000 0x0 0x8000 0x23 0xe70000 0x0 0x8000 0x23 0x88000000 0x0 0x8000>; - #clock-cells = <0x1>; - apple,pmgr = <&{/soc/power-management@280600000}>; - status = "disabled"; - }; -}; - -&{/soc} { - spmi@28a054000 { - compatible = "apple,t6050-spmi", "apple,t8142-spmi"; - reg = <0x2 0x8a054000 0x0 0x4000 0x2 0x8a044000 0x0 0x4000 0x2 0x8a040000 0x0 0x4000>; - interrupts = <0x0 0x0 0x2db 0x4>; - #address-cells = <0x2>; - #size-cells = <0x0>; - status = "disabled"; - }; -}; - -&{/soc} { - spmi@28a114000 { - compatible = "apple,t6050-spmi", "apple,t8142-spmi"; - reg = <0x2 0x8a114000 0x0 0x4000 0x2 0x8a104000 0x0 0x4000 0x2 0x8a100000 0x0 0x4000>; - interrupts = <0x0 0x0 0x2ea 0x4>; - #address-cells = <0x2>; - #size-cells = <0x0>; - status = "disabled"; - }; -}; - -&{/soc} { - i2c@505024000 { - compatible = "apple,t6050-i2c", "apple,t8103-i2c"; - reg = <0x5 0x5024000 0x0 0x4000>; - interrupts = <0x0 0x0 0x564 0x4>; - power-domains = <&{/soc/power-management@280900000/power-controller@2e8}>; - clocks = <&{/soc/clock-controller@280600000} 0x4>; - #address-cells = <0x1>; - #size-cells = <0x0>; - status = "disabled"; - }; -}; - -&{/soc} { - i2c@505010000 { - compatible = "apple,t6050-i2c", "apple,t8103-i2c"; - reg = <0x5 0x5010000 0x0 0x4000>; - interrupts = <0x0 0x0 0x55f 0x4>; - power-domains = <&{/soc/power-management@280900000/power-controller@2c0}>; - clocks = <&{/soc/clock-controller@280600000} 0x4>; - #address-cells = <0x1>; - #size-cells = <0x0>; - status = "disabled"; - }; -}; - -&{/soc} { - i2c@505020000 { - compatible = "apple,t6050-i2c", "apple,t8103-i2c"; - reg = <0x5 0x5020000 0x0 0x4000>; - interrupts = <0x0 0x0 0x563 0x4>; - power-domains = <&{/soc/power-management@280900000/power-controller@2e0}>; - clocks = <&{/soc/clock-controller@280600000} 0x4>; - #address-cells = <0x1>; - #size-cells = <0x0>; - status = "disabled"; - }; -}; - -&{/soc} { - i2c@505028000 { - compatible = "apple,t6050-i2c", "apple,t8103-i2c"; - reg = <0x5 0x5028000 0x0 0x4000>; - interrupts = <0x0 0x0 0x565 0x4>; - power-domains = <&{/soc/power-management@280900000/power-controller@2f0}>; - clocks = <&{/soc/clock-controller@280600000} 0x4>; - #address-cells = <0x1>; - #size-cells = <0x0>; - status = "disabled"; - }; -}; - -&{/soc} { - i2c@505030000 { - compatible = "apple,t6050-i2c", "apple,t8103-i2c"; - reg = <0x5 0x5030000 0x0 0x4000>; - interrupts = <0x0 0x0 0x567 0x4>; - power-domains = <&{/soc/power-management@280900000/power-controller@300}>; - clocks = <&{/soc/clock-controller@280600000} 0x4>; - #address-cells = <0x1>; - #size-cells = <0x0>; - status = "disabled"; - }; -}; - -&{/soc} { - dma-controller@410030000 { - compatible = "apple,t6050-pcie-piodma", "apple,pcie-piodma"; - reg = <0x4 0x10030000 0x0 0x4000 0x4 0x10034000 0x0 0x4000 0x4 0x10038000 0x0 0x4000>; - interrupts = <0x0 0x0 0x5f5 0x4>; - iommus = <&{/soc/iommu@410000000} 0x11>; - status = "disabled"; - }; -}; - -&{/soc} { - dma-controller@411030000 { - compatible = "apple,t6050-pcie-piodma", "apple,pcie-piodma"; - reg = <0x4 0x11030000 0x0 0x4000 0x4 0x11034000 0x0 0x4000 0x4 0x11038000 0x0 0x4000>; - interrupts = <0x0 0x0 0x5fd 0x4>; - iommus = <&{/soc/iommu@411000000} 0x11>; - status = "disabled"; - }; -}; - -&{/soc} { - dma-controller@2a4068000 { - compatible = "apple,t6050-pciec-piodma", "apple,pciec-piodma"; - reg = <0x2 0xa4068000 0x0 0x4000 0x2 0xa406c000 0x0 0x4000 0x2 0xa4070000 0x0 0x4000 0x2 0xa403c000 0x0 0x4000>; - interrupts = <0x0 0x0 0x57f 0x4>; - iommus = <&{/soc/iommu@2a4000000} 0xfe>; - status = "disabled"; - }; -}; - -&{/soc} { - dma-controller@2ac068000 { - compatible = "apple,t6050-pciec-piodma", "apple,pciec-piodma"; - reg = <0x2 0xac068000 0x0 0x4000 0x2 0xac06c000 0x0 0x4000 0x2 0xac070000 0x0 0x4000 0x2 0xac03c000 0x0 0x4000>; - interrupts = <0x0 0x0 0x59f 0x4>; - iommus = <&{/soc/iommu@2ac000000} 0xfe>; - status = "disabled"; - }; -}; - -&{/soc} { - dma-controller@384068000 { - compatible = "apple,t6050-pciec-piodma", "apple,pciec-piodma"; - reg = <0x3 0x84068000 0x0 0x4000 0x3 0x8406c000 0x0 0x4000 0x3 0x84070000 0x0 0x4000 0x3 0x8403c000 0x0 0x4000>; - interrupts = <0x0 0x0 0x5bf 0x4>; - iommus = <&{/soc/iommu@384000000} 0xfe>; - status = "disabled"; - }; -}; - -&{/soc} { - dpin@2a1e50000 { - compatible = "apple,t6050-dpin", "apple,dpin"; - reg = <0x2 0xa1e50000 0x0 0x4000>; - interrupts = <0x0 0x0 0x643 0x4>; - status = "disabled"; - }; -}; - -&{/soc} { - dpin@2a1e58000 { - compatible = "apple,t6050-dpin", "apple,dpin"; - reg = <0x2 0xa1e58000 0x0 0x4000>; - interrupts = <0x0 0x0 0x644 0x4>; - status = "disabled"; - }; -}; - -&{/soc} { - dpin@2a1e68000 { - compatible = "apple,t6050-dpin", "apple,dpin"; - reg = <0x2 0xa1e68000 0x0 0x4000>; - interrupts = <0x0 0x0 0x649 0x4>; - status = "disabled"; - }; -}; - -&{/soc} { - dpin@2a1e70000 { - compatible = "apple,t6050-dpin", "apple,dpin"; - reg = <0x2 0xa1e70000 0x0 0x4000>; - interrupts = <0x0 0x0 0x64a 0x4>; - status = "disabled"; - }; -}; - -&{/soc} { - dpin@2a9e50000 { - compatible = "apple,t6050-dpin", "apple,dpin"; - reg = <0x2 0xa9e50000 0x0 0x4000>; - interrupts = <0x0 0x0 0x663 0x4>; - status = "disabled"; - }; -}; - -&{/soc} { - dpin@2a9e58000 { - compatible = "apple,t6050-dpin", "apple,dpin"; - reg = <0x2 0xa9e58000 0x0 0x4000>; - interrupts = <0x0 0x0 0x664 0x4>; - status = "disabled"; - }; -}; - -&{/soc} { - dpin@2a9e68000 { - compatible = "apple,t6050-dpin", "apple,dpin"; - reg = <0x2 0xa9e68000 0x0 0x4000>; - interrupts = <0x0 0x0 0x669 0x4>; - status = "disabled"; - }; -}; - -&{/soc} { - dpin@2a9e70000 { - compatible = "apple,t6050-dpin", "apple,dpin"; - reg = <0x2 0xa9e70000 0x0 0x4000>; - interrupts = <0x0 0x0 0x66a 0x4>; - status = "disabled"; - }; -}; - -&{/soc} { - dpin@381e50000 { - compatible = "apple,t6050-dpin", "apple,dpin"; - reg = <0x3 0x81e50000 0x0 0x4000>; - interrupts = <0x0 0x0 0x683 0x4>; - status = "disabled"; - }; -}; - -&{/soc} { - dpin@381e58000 { - compatible = "apple,t6050-dpin", "apple,dpin"; - reg = <0x3 0x81e58000 0x0 0x4000>; - interrupts = <0x0 0x0 0x684 0x4>; - status = "disabled"; - }; -}; - -&{/soc} { - dpin@381e68000 { - compatible = "apple,t6050-dpin", "apple,dpin"; - reg = <0x3 0x81e68000 0x0 0x4000>; - interrupts = <0x0 0x0 0x689 0x4>; - status = "disabled"; - }; -}; - -&{/soc} { - dpin@381e70000 { - compatible = "apple,t6050-dpin", "apple,dpin"; - reg = <0x3 0x81e70000 0x0 0x4000>; - interrupts = <0x0 0x0 0x68a 0x4>; - status = "disabled"; - }; -}; - -&{/soc} { - aic-timebase@280580000 { - compatible = "apple,t6050-aic-timebase", "apple,aic-timebase"; - reg = <0x2 0x80580000 0x0 0x1000>; - status = "disabled"; - }; -}; - -&{/soc} { - error-handler@2220000000 { - compatible = "apple,t6050-error-handler", "apple,soc-error-handler"; - reg = <0x22 0x20000000 0x0 0x240000 0x22 0x20270000 0x0 0x1d0000 0x22 0x20600000 0x0 0x40000 0x22 0x20670000 0x0 0x1d0000 0x22 0x22000000 0x0 0x240000 0x22 0x22270000 0x0 0x1d0000 0x22 0x22600000 0x0 0x40000 0x22 0x22670000 0x0 0x1d0000 0x2 0x80000000 0x0 0x80000 0x2 0x80650000 0x0 0x4000 0x2 0x806e0000 0x0 0xc000 0x2 0x80210000 0x0 0x4000 0x2 0x88374000 0x0 0x4000 0x2 0x86000000 0x0 0x1000000 0x2 0x84250000 0x0 0x4000 0x22 0x63000000 0x0 0x38000 0x22 0x64000000 0x0 0x38000 0x22 0x65000000 0x0 0x38000 0x2 0x63000000 0x0 0x44000 0x2 0x64000000 0x0 0x30000 0x2 0x65000000 0x0 0x3c000 0x2 0x66000000 0x0 0x34000 0x2 0x67000000 0x0 0x38000 0x2 0x68000000 0x0 0x38000 0x2 0x69000000 0x0 0x30000 0x22 0x5a100000 0x0 0x24000 0x22 0x5b100000 0x0 0x24000 0x22 0x5c100000 0x0 0x24000 0x22 0x5d100000 0x0 0x24000 0x2 0x4f000000 0x0 0x30000 0x2 0x50000000 0x0 0x30000 0x2 0x51000000 0x0 0x30000 0x2 0x52000000 0x0 0x24000 0x2 0x62000000 0x0 0x1c000 0x22 0x62000000 0x0 0x1c000 0x22 0x5a000000 0x0 0x2c000 0x22 0x5b000000 0x0 0x2c000 0x22 0x5c000000 0x0 0x2c000 0x22 0x5d000000 0x0 0x2c000 0x22 0x5a200000 0x0 0x1c000 0x22 0x5a300000 0x0 0x1c000 0x22 0x5b200000 0x0 0x1c000 0x22 0x5b300000 0x0 0x1c000 0x2 0x6a000000 0x0 0x1c000 0x2 0x6b000000 0x0 0x1c000 0x2 0x6c000000 0x0 0x1c000 0x2 0x6d000000 0x0 0x1c000 0x22 0x66000000 0x0 0x1c000 0x22 0x67000000 0x0 0x1c000 0x22 0x68000000 0x0 0x1c000 0x22 0x69000000 0x0 0x1c000 0x22 0x75000000 0x0 0x10000 0x22 0x75010000 0x0 0x10000 0x22 0x75020000 0x0 0x10000 0x22 0x75030000 0x0 0x10000 0x22 0x75400000 0x0 0x10000 0x22 0x75410000 0x0 0x10000 0x22 0x75420000 0x0 0x10000 0x22 0x75430000 0x0 0x10000 0x22 0x75800000 0x0 0x10000 0x22 0x75810000 0x0 0x10000 0x22 0x75820000 0x0 0x10000 0x22 0x75830000 0x0 0x10000 0x22 0x75c00000 0x0 0x10000 0x22 0x75c10000 0x0 0x10000 0x22 0x75c20000 0x0 0x10000 0x22 0x75c30000 0x0 0x10000 0x22 0x76000000 0x0 0x10000 0x22 0x76010000 0x0 0x10000 0x22 0x76020000 0x0 0x10000 0x22 0x76030000 0x0 0x10000 0x22 0x76400000 0x0 0x10000 0x22 0x76410000 0x0 0x10000 0x22 0x76420000 0x0 0x10000 0x22 0x76430000 0x0 0x10000 0x22 0x76800000 0x0 0x10000 0x22 0x76810000 0x0 0x10000 0x22 0x76820000 0x0 0x10000 0x22 0x76830000 0x0 0x10000 0x22 0x76c00000 0x0 0x10000 0x22 0x76c10000 0x0 0x10000 0x22 0x76c20000 0x0 0x10000 0x22 0x76c30000 0x0 0x10000 0x22 0x77000000 0x0 0x10000 0x22 0x77010000 0x0 0x10000 0x22 0x77020000 0x0 0x10000 0x22 0x77030000 0x0 0x10000 0x22 0x77040000 0x0 0x10000 0x22 0x77050000 0x0 0x10000 0x22 0x77400000 0x0 0x10000 0x22 0x77410000 0x0 0x10000 0x22 0x77420000 0x0 0x10000 0x22 0x77430000 0x0 0x10000 0x22 0x77440000 0x0 0x10000 0x22 0x77450000 0x0 0x10000 0x22 0x77800000 0x0 0x10000 0x22 0x77810000 0x0 0x10000 0x22 0x77820000 0x0 0x10000 0x22 0x77830000 0x0 0x10000 0x22 0x77840000 0x0 0x10000 0x22 0x77850000 0x0 0x10000 0x22 0x77c00000 0x0 0x10000 0x22 0x77c10000 0x0 0x10000 0x22 0x77c20000 0x0 0x10000 0x22 0x77c30000 0x0 0x10000 0x22 0x77c40000 0x0 0x10000 0x22 0x77c50000 0x0 0x10000 0x2 0x73000000 0x0 0x10000 0x2 0x73010000 0x0 0x10000 0x2 0x73020000 0x0 0x10000 0x2 0x73030000 0x0 0x10000 0x2 0x73040000 0x0 0x10000 0x2 0x73050000 0x0 0x10000 0x2 0x73060000 0x0 0x10000 0x2 0x73400000 0x0 0x10000 0x2 0x73410000 0x0 0x10000 0x2 0x73420000 0x0 0x10000 0x2 0x73430000 0x0 0x10000 0x2 0x73440000 0x0 0x10000 0x2 0x73450000 0x0 0x10000 0x2 0x73460000 0x0 0x10000 0x2 0x73800000 0x0 0x10000 0x2 0x73810000 0x0 0x10000 0x2 0x73820000 0x0 0x10000 0x2 0x73830000 0x0 0x10000 0x2 0x73840000 0x0 0x10000 0x2 0x73850000 0x0 0x10000 0x2 0x73860000 0x0 0x10000 0x2 0x73c00000 0x0 0x10000 0x2 0x73c10000 0x0 0x10000 0x2 0x73c20000 0x0 0x10000 0x2 0x73c30000 0x0 0x10000 0x2 0x73c40000 0x0 0x10000 0x2 0x73c50000 0x0 0x10000 0x2 0x73c60000 0x0 0x10000 0x22 0x75100000 0x0 0x10000 0x22 0x75110000 0x0 0x10000 0x22 0x75120000 0x0 0x10000 0x22 0x75130000 0x0 0x10000 0x22 0x75500000 0x0 0x10000 0x22 0x75510000 0x0 0x10000 0x22 0x75520000 0x0 0x10000 0x22 0x75530000 0x0 0x10000 0x22 0x75900000 0x0 0x10000 0x22 0x75910000 0x0 0x10000 0x22 0x75920000 0x0 0x10000 0x22 0x75930000 0x0 0x10000 0x22 0x75d00000 0x0 0x10000 0x22 0x75d10000 0x0 0x10000 0x22 0x75d20000 0x0 0x10000 0x22 0x75d30000 0x0 0x10000 0x22 0x76100000 0x0 0x10000 0x22 0x76110000 0x0 0x10000 0x22 0x76120000 0x0 0x10000 0x22 0x76130000 0x0 0x10000 0x22 0x76500000 0x0 0x10000 0x22 0x76510000 0x0 0x10000 0x22 0x76520000 0x0 0x10000 0x22 0x76530000 0x0 0x10000 0x22 0x76900000 0x0 0x10000 0x22 0x76910000 0x0 0x10000 0x22 0x76920000 0x0 0x10000 0x22 0x76930000 0x0 0x10000 0x22 0x76d00000 0x0 0x10000 0x22 0x76d10000 0x0 0x10000 0x22 0x76d20000 0x0 0x10000 0x22 0x76d30000 0x0 0x10000 0x2 0x58000000 0x0 0x10000 0x2 0x58010000 0x0 0x10000 0x2 0x58020000 0x0 0x10000 0x2 0x58030000 0x0 0x10000 0x2 0x58040000 0x0 0x10000 0x2 0x58400000 0x0 0x10000 0x2 0x58410000 0x0 0x10000 0x2 0x58420000 0x0 0x10000 0x2 0x58430000 0x0 0x10000 0x2 0x58440000 0x0 0x10000 0x2 0x58800000 0x0 0x10000 0x2 0x58810000 0x0 0x10000 0x2 0x58820000 0x0 0x10000 0x2 0x58830000 0x0 0x10000 0x2 0x58840000 0x0 0x10000 0x2 0x58850000 0x0 0x10000 0x5 0xd00000 0x0 0x40000 0x2 0x80078000 0x0 0x4000 0x2 0x806e4000 0x0 0x4000 0x2 0x806e8000 0x0 0x4000 0x2 0x74004000 0x0 0x4000 0x22 0x7b004000 0x0 0x4000 0x2 0x88000400 0x0 0x400 0x23 0x88000400 0x0 0x400 0x2 0x8c801000 0x0 0x400 0x2 0x84398000 0x0 0x4000 0x2 0x8620c020 0x0 0x18 0x2 0x8620c008 0x0 0x18 0x5 0x8000200 0x0 0x24 0x5 0x84000200 0x0 0x24 0x4 0x1b000200 0x0 0x24 0x2 0xa0000200 0x0 0x24 0x2 0xa8000200 0x0 0x24 0x3 0x80000200 0x0 0x24 0x3 0x88000200 0x0 0x24 0x3 0x94000200 0x0 0x24 0x23 0x8000200 0x0 0x24 0x23 0x1000200 0x0 0x24 0x5 0x80000200 0x0 0x24 0x22 0x80000200 0x0 0x24 0x4 0x16000200 0x0 0x24 0x4 0x86000200 0x0 0x40 0x23 0xa000200 0x0 0x24 0x2 0x97000200 0x0 0x24 0x23 0x8c000200 0x0 0x24 0x4 0x8c000200 0x0 0x24 0x5 0x4000200 0x0 0x24>; - interrupts = <0x0 0x0 0xa95 0x4 0x0 0x0 0xa96 0x4 0x0 0x0 0xa97 0x4 0x0 0x0 0xa98 0x4 0x0 0x0 0xa99 0x4 0x0 0x0 0xa9a 0x4 0x0 0x0 0xa9b 0x4 0x0 0x0 0xa9c 0x4 0x0 0x0 0x189 0x4 0x0 0x0 0xc3 0x4 0x0 0x0 0xc4 0x4 0x0 0x0 0xc5 0x4 0x0 0x0 0xc6 0x4 0x0 0x0 0xc7 0x4 0x0 0x0 0xc8 0x4 0x0 0x0 0xc9 0x4 0x0 0x0 0xca 0x4 0x0 0x0 0xcb 0x4 0x0 0x0 0xcc 0x4 0x0 0x0 0xa0c 0x4 0x0 0x0 0xa0d 0x4 0x0 0x0 0xa0e 0x4 0x0 0x0 0xa0f 0x4 0x0 0x0 0x99 0x4 0x0 0x0 0x9a 0x4 0x0 0x0 0x9b 0x4 0x0 0x0 0x9c 0x4 0x0 0x0 0x9d 0x4 0x0 0x0 0x9e 0x4 0x0 0x0 0xa14 0x4 0x0 0x0 0xa15 0x4 0x0 0x0 0xa16 0x4 0x0 0x0 0xa17 0x4 0x0 0x0 0xa1c 0x4 0x0 0x0 0xa1d 0x4 0x0 0x0 0xa1e 0x4 0x0 0x0 0xa1f 0x4 0x0 0x0 0xbd 0x4 0x0 0x0 0xbe 0x4 0x0 0x0 0xbf 0x4 0x0 0x0 0xc0 0x4 0x0 0x0 0xa2c 0x4 0x0 0x0 0xa2d 0x4 0x0 0x0 0xa2e 0x4 0x0 0x0 0xa2f 0x4 0x0 0x0 0xa3e 0x4 0x0 0x0 0xa3f 0x4 0x0 0x0 0xa40 0x4 0x0 0x0 0xa41 0x4 0x0 0x0 0xa42 0x4 0x0 0x0 0xa43 0x4 0x0 0x0 0xa44 0x4 0x0 0x0 0xa45 0x4 0x0 0x0 0xa46 0x4 0x0 0x0 0xa47 0x4 0x0 0x0 0xa48 0x4 0x0 0x0 0xa49 0x4 0x0 0x0 0xa4a 0x4 0x0 0x0 0xa4b 0x4 0x0 0x0 0xa4c 0x4 0x0 0x0 0xa4d 0x4 0x0 0x0 0xa36 0x4 0x0 0x0 0xa37 0x4 0x0 0x0 0xa38 0x4 0x0 0x0 0xa39 0x4 0x0 0x0 0xa3a 0x4 0x0 0x0 0xa3b 0x4 0x0 0x0 0xa3c 0x4 0x0 0x0 0xa3d 0x4 0x0 0x0 0x9f 0x4 0x0 0x0 0xa0 0x4 0x0 0x0 0xa1 0x4 0x0 0x0 0x21e 0x4 0x0 0x0 0x21d 0x4 0x0 0x0 0x222 0x4 0x0 0x0 0x223 0x4 0x0 0x0 0x224 0x4 0x0 0x0 0x225 0x4 0x0 0x0 0x144 0x4 0x0 0x0 0xc1 0x4 0x0 0x0 0xc2 0x4 0x0 0x0 0x30d 0x4 0x0 0x0 0x30e 0x4 0x0 0x0 0x387 0x4 0x0 0x0 0x16f 0x4 0x0 0x0 0x1b9 0x4 0x0 0x0 0x3bc 0x4 0x0 0x0 0x3c2 0x4 0x0 0x0 0x548 0x4 0x0 0x0 0x573 0x4 0x0 0x0 0x593 0x4 0x0 0x0 0x5b3 0x4 0x0 0x0 0x5d3 0x4 0x0 0x0 0x928 0x4 0x0 0x0 0x97c 0x4 0x0 0x0 0x997 0x4 0x0 0x0 0x214 0x4 0x0 0x0 0x54d 0x4 0x0 0x0 0x613 0x4 0x0 0x0 0x620 0x4 0x0 0x0 0x6df 0x4 0x0 0x0 0x316 0x4 0x0 0x0 0x317 0x4 0x0 0x0 0x6af 0x4 0x0 0x0 0x56d 0x4>; - status = "disabled"; - }; -}; - -&{/soc} { - crypto@50500c000 { - compatible = "apple,t6050-aes", "apple,aes"; - reg = <0x5 0x500c000 0x0 0x4000 0x2 0x88340000 0x0 0x8000 0x2 0x88090000 0x0 0x4000>; - interrupts = <0x0 0x0 0x55e 0x4>; - iommus = <&{/soc/iommu@505060000} 0x1>; - power-domains = <&{/soc/power-management@280900000/power-controller@318}>; - status = "disabled"; - }; -}; - -&{/soc} { - phy-coproc@395d08000 { - compatible = "apple,t6050-phy-coproc", "apple,phy-coproc"; - reg = <0x3 0x95d08000 0x0 0x4000 0x3 0x95d00000 0x0 0x4000>; - interrupts = <0x0 0x0 0x92b 0x4 0x0 0x0 0x92a 0x4 0x0 0x0 0x92d 0x4 0x0 0x0 0x92c 0x4>; - status = "disabled"; - }; -}; - -&{/soc} { - mailbox@4d067c000 { - compatible = "apple,t6050-secure-mailbox", "apple,secure-mailbox"; - reg = <0x4 0xd067c000 0x0 0x4000>; - interrupts = <0x0 0x0 0x249 0x4 0x0 0x0 0x246 0x4>; - iommus = <&{/soc/iommu@290fc0000} 0x1>; - status = "disabled"; - }; -}; - -&{/soc} { - aop@291600000 { - compatible = "apple,t6050-aop2", "apple,aop2"; - reg = <0x2 0x91600000 0x0 0x88000 0x2 0x91650000 0x0 0x4000 0x2 0x9162c000 0x0 0x3c008>; - interrupts = <0x0 0x0 0x24b 0x4 0x0 0x0 0x24a 0x4 0x0 0x0 0x24d 0x4 0x0 0x0 0x24c 0x4>; - iommus = <&{/soc/iommu@290fc0000} 0x10>; - status = "disabled"; - }; -}; - -&{/soc} { - event-log@280040000 { - compatible = "apple,t6050-event-log", "apple,soc-event-log"; - reg = <0x2 0x80040000 0x0 0x4000 0x2 0x8004e000 0x0 0x4000 0x23 0x8004c800 0x0 0x4000 0x23 0x80040000 0x0 0x4000 0x2 0x80200000 0x0 0x4000 0x2 0x80000000 0x0 0x14000 0x2 0x8003c000 0x0 0x4000 0x2 0x80020000 0x0 0x10000 0x2 0x806e0000 0x0 0x4000 0x2 0x806d0000 0x0 0x4000 0x2 0x80668000 0x0 0x4000 0x2 0x80680000 0x0 0x1c000 0x2 0x807d0000 0x0 0x4000 0x2 0x806f0000 0x0 0x4000 0x2 0x80928000 0x0 0x4000 0x2 0x80938000 0x0 0x8000 0x2 0x86700000 0x0 0x114000 0x2 0x84380000 0x0 0x20000 0x2 0x85040000 0x0 0x1c000 0x2 0x84360000 0x0 0x4000 0x2 0x84370000 0x0 0x4000 0x23 0x85040000 0x0 0x1c000 0x23 0x84360000 0x0 0x4000 0x23 0x84370000 0x0 0x4000 0x5 0x9878000 0x0 0x4000 0x5 0x9868000 0x0 0x8000 0x23 0x80300000 0x0 0x8000 0x23 0x80308000 0x0 0x8000 0x2 0x80300000 0x0 0x8000 0x23 0x80034000 0x0 0x4000 0x23 0x8003c000 0x0 0x4000 0x23 0x80020000 0x0 0x10000 0x23 0x80038000 0x0 0x4000 0x23 0x80640000 0x0 0x10000 0x23 0x806d0000 0x0 0x4000 0x23 0x80668000 0x0 0x4000 0x23 0x80680000 0x0 0x1c000 0x23 0x806f0000 0x0 0x4000 0x2 0x84000000 0x0 0x4000 0x2 0x84004600 0x0 0x4000 0x2 0x84004000 0x0 0x4000 0x2 0x84004780 0x0 0x4000 0x2 0x84007400 0x0 0x4000 0x2 0x84004e00 0x0 0x4000 0x2 0x84004800 0x0 0x4000 0x2 0x84004f80 0x0 0x4000 0x2 0x84007600 0x0 0x4000 0x2 0x84005600 0x0 0x4000 0x2 0x84005000 0x0 0x4000 0x2 0x84005780 0x0 0x4000 0x2 0x84007800 0x0 0x4000 0x2 0x84005e00 0x0 0x4000 0x2 0x84005800 0x0 0x4000 0x2 0x84005f80 0x0 0x4000 0x2 0x84007a00 0x0 0x4000 0x2 0x84003e00 0x0 0x4000 0x2 0x84003800 0x0 0x4000 0x2 0x84003f80 0x0 0x4000 0x2 0x84007200 0x0 0x4000 0x2 0x84006e00 0x0 0x4000 0x2 0x84006800 0x0 0x4000 0x2 0x84006f80 0x0 0x4000 0x2 0x84007e00 0x0 0x4000 0x2 0x84006600 0x0 0x4000 0x2 0x84006000 0x0 0x4000 0x2 0x84006780 0x0 0x4000 0x2 0x84007c00 0x0 0x4000 0x2 0x84002e00 0x0 0x4000 0x2 0x84002800 0x0 0x4000 0x2 0x84002f80 0x0 0x4000 0x2 0x84007000 0x0 0x4000 0x2 0x84003600 0x0 0x4000 0x2 0x84003000 0x0 0x4000 0x2 0x84003780 0x0 0x4000 0x2 0x84000400 0x0 0x4000 0x2 0x84000400 0x0 0x4000 0x2 0x84000400 0x0 0x4000 0x2 0x84000400 0x0 0x4000 0x2 0x84000400 0x0 0x4000 0x2 0x84000400 0x0 0x4000 0x2 0x84000400 0x0 0x4000 0x2 0x84000400 0x0 0x4000 0x23 0x84000000 0x0 0x4000 0x23 0x84004e00 0x0 0x4000 0x23 0x84004800 0x0 0x4000 0x23 0x84004f80 0x0 0x4000 0x23 0x84007000 0x0 0x4000 0x23 0x84002e00 0x0 0x4000 0x23 0x84002800 0x0 0x4000 0x23 0x84002f80 0x0 0x4000 0x23 0x84006800 0x0 0x4000 0x23 0x84003600 0x0 0x4000 0x23 0x84003000 0x0 0x4000 0x23 0x84003780 0x0 0x4000 0x23 0x84006a00 0x0 0x4000 0x23 0x84005600 0x0 0x4000 0x23 0x84005000 0x0 0x4000 0x23 0x84005780 0x0 0x4000 0x23 0x84007200 0x0 0x4000 0x23 0x84006600 0x0 0x4000 0x23 0x84006000 0x0 0x4000 0x23 0x84006780 0x0 0x4000 0x23 0x84007400 0x0 0x4000 0x23 0x84005e00 0x0 0x4000 0x23 0x84005800 0x0 0x4000 0x23 0x84005f80 0x0 0x4000 0x23 0x84003e00 0x0 0x4000 0x23 0x84003800 0x0 0x4000 0x23 0x84003f80 0x0 0x4000 0x23 0x84006c00 0x0 0x4000 0x23 0x84004600 0x0 0x4000 0x23 0x84004000 0x0 0x4000 0x23 0x84004780 0x0 0x4000 0x23 0x84006e00 0x0 0x4000 0x23 0x84000400 0x0 0x4000 0x23 0x84000400 0x0 0x4000 0x23 0x84000400 0x0 0x4000 0x23 0x84000400 0x0 0x4000 0x23 0x84000400 0x0 0x4000 0x23 0x84000400 0x0 0x4000 0x23 0x84000400 0x0 0x4000 0x23 0x84000400 0x0 0x4000 0x2 0x88f00000 0x0 0x18000 0x2 0x88200000 0x0 0x4000 0x2 0x88204000 0x0 0x4000 0x2 0x8827c000 0x0 0x4000 0x2 0x8832c000 0x0 0x4000 0x2 0x88330000 0x0 0x10000 0x2 0x88360000 0x0 0x4000 0x2 0x88340000 0x0 0x8000 0x2 0x8836c000 0x0 0x4000 0x2 0x88000000 0x0 0x24000 0x23 0x88200000 0x0 0x4000 0x23 0x88204000 0x0 0x4000 0x23 0x8827c000 0x0 0x4000 0x23 0x8832c000 0x0 0x4000 0x23 0x88330000 0x0 0x10000 0x23 0x88360000 0x0 0x4000 0x23 0x88340000 0x0 0x8000 0x23 0x8836c000 0x0 0x4000 0x23 0x88000000 0x0 0x8000>; - interrupts = <0x0 0x0 0x1e 0x4 0x0 0x0 0x1f 0x4 0x0 0x0 0x22 0x4 0x0 0x0 0x23 0x4 0x0 0x0 0x24 0x4 0x0 0x0 0x37 0x4 0x0 0x0 0x38 0x4 0x0 0x0 0x13f 0x4 0x0 0x0 0x140 0x4 0x0 0x0 0x141 0x4 0x0 0x0 0x147 0x4 0x0 0x0 0x148 0x4 0x0 0x0 0x170 0x4 0x0 0x0 0x17e 0x4 0x0 0x0 0x1db 0x4 0x0 0x0 0x1e0 0x4 0x0 0x0 0x1e1 0x4 0x0 0x0 0x1e4 0x4 0x0 0x0 0x1e5 0x4 0x0 0x0 0x30f 0x4 0x0 0x0 0x310 0x4 0x0 0x0 0x3af 0x4 0x0 0x0 0x3b7 0x4>; - status = "disabled"; - }; -}; - -&{/soc} { - dma-controller@505e00000 { - compatible = "apple,t6050-sio", "apple,sio"; - reg = <0x5 0x5e00000 0x0 0x88000 0x5 0x5850000 0x0 0x4000>; - interrupts = <0x0 0x0 0x570 0x4 0x0 0x0 0x56f 0x4 0x0 0x0 0x572 0x4 0x0 0x0 0x571 0x4>; - iommus = <&{/soc/iommu@505060000} 0x0>; - power-domains = <&{/soc/power-management@280900000/power-controller@2a0}>; - clocks = <&{/soc/clock-controller@280600000} 0x167 &{/soc/clock-controller@280600000} 0x166>; - #dma-cells = <0x1>; - status = "disabled"; - }; -}; - -&{/soc} { - iommu@505060000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - reg = <0x5 0x5060000 0x0 0x20000>; - interrupts = <0x0 0x0 0x56b 0x4>; - power-domains = <&{/soc/power-management@280900000/power-controller@290}>; - #iommu-cells = <0x1>; - status = "disabled"; - }; -}; - -&{/soc} { - pmp@284e00000 { - compatible = "apple,t6050-pmp-v2", "apple,t6000-pmp-v2"; - reg = <0x2 0x84500000 0x0 0x100000 0x2 0x84e00000 0x0 0x4000>; - reg-names = "pmp", "asc"; - mboxes = <&{/soc/mailbox@284e08000}>; - mbox-names = "mbox"; - iommus = <&{/soc/iommu@2841a0000} 0x0>; - power-domains = <&{/soc/power-management@280600000/power-controller@128} &{/soc/power-management@280600000/power-controller@130}>; - status = "disabled"; - }; -}; - -&{/soc} { - mailbox@284e08000 { - compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; - reg = <0x2 0x84e08000 0x0 0x4000>; - interrupts = <0x0 0x0 0x18c 0x4 0x0 0x0 0x18d 0x4 0x0 0x0 0x18e 0x4 0x0 0x0 0x18f 0x4>; - interrupt-names = "send-empty", "send-not-empty", "recv-empty", "recv-not-empty"; - #mbox-cells = <0x0>; - power-domains = <&{/soc/power-management@280600000/power-controller@128}>; - status = "disabled"; - }; -}; - -&{/soc} { - pmp-report@284240000 { - compatible = "apple,t6050-pmp-v2-report"; - reg = <0x2 0x84240000 0x0 0x20000>; - power-domains = <&{/soc/power-management@280600000/power-controller@130}>; - #address-cells = <0x1>; - #size-cells = <0x0>; - status = "disabled"; - }; -}; - -&{/soc/pmp-report@284240000} { - report@c { - compatible = "apple,t6050-pmp-v2-report-entry", "apple,t6000-pmp-v2-report-entry"; - reg = <0xc>; - label = "pmp-macc0"; - #power-domain-cells = <0x0>; - apple,always-on; - }; -}; - -&{/soc/pmp-report@284240000} { - report@d { - compatible = "apple,t6050-pmp-v2-report-entry", "apple,t6000-pmp-v2-report-entry"; - reg = <0xd>; - label = "pmp-macc1"; - #power-domain-cells = <0x0>; - apple,always-on; - }; -}; - -&{/soc/pmp-report@284240000} { - report@e { - compatible = "apple,t6050-pmp-v2-report-entry", "apple,t6000-pmp-v2-report-entry"; - reg = <0xe>; - label = "pmp-pacc"; - #power-domain-cells = <0x0>; - apple,always-on; - }; -}; - -&{/soc/pmp-report@284240000} { - report@f { - compatible = "apple,t6050-pmp-v2-report-entry", "apple,t6000-pmp-v2-report-entry"; - reg = <0xf>; - label = "pmp-gfx"; - #power-domain-cells = <0x0>; - power-domains = <&{/soc@2300000000/power-management@2300e80000/power-controller@110}>; - }; -}; - -&{/soc/pmp-report@284240000} { - report@12 { - compatible = "apple,t6050-pmp-v2-report-entry", "apple,t6000-pmp-v2-report-entry"; - reg = <0x12>; - label = "pmp-dispint"; - #power-domain-cells = <0x0>; - apple,always-on; - }; -}; - -&{/soc/pmp-report@284240000} { - report@24 { - compatible = "apple,t6050-pmp-v2-report-entry", "apple,t6000-pmp-v2-report-entry"; - reg = <0x24>; - label = "pmp-ans"; - #power-domain-cells = <0x0>; - apple,always-on; - }; -}; - -&{/soc} { - iommu@2841a0000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - reg = <0x2 0x841a0000 0x0 0xc000 0x2 0x841b0000 0x0 0x4000>; - reg-names = "dart", "dapf"; - interrupts = <0x0 0x0 0x173 0x4>; - #iommu-cells = <0x1>; - apple,dma-range = <0x100 0x0 0x10 0x0>; - power-domains = <&{/soc/power-management@280600000/power-controller@128}>; - status = "disabled"; - }; -}; - -&{/soc} { - aon-ptd@28cdc0000 { - compatible = "apple,t6050-aon-ptd", "apple,aon-ptd"; - reg = <0x2 0x8cdc0000 0x0 0x4000 0x2 0x8cdd0000 0x0 0x4000 0x2 0x8cdd8000 0x0 0x4000 0x2 0x8cde0000 0x0 0x4000>; - interrupts = <0x0 0x0 0x388 0x4 0x0 0x0 0x389 0x4 0x0 0x0 0x38a 0x4 0x0 0x0 0x38b 0x4 0x0 0x0 0x38c 0x4 0x0 0x0 0x38d 0x4 0x0 0x0 0x38e 0x4 0x0 0x0 0x38f 0x4 0x0 0x0 0x390 0x4 0x0 0x0 0x391 0x4 0x0 0x0 0x392 0x4 0x0 0x0 0x393 0x4 0x0 0x0 0x394 0x4 0x0 0x0 0x395 0x4 0x0 0x0 0x396 0x4 0x0 0x0 0x397 0x4 0x0 0x0 0x398 0x4 0x0 0x0 0x399 0x4 0x0 0x0 0x39a 0x4 0x0 0x0 0x39b 0x4 0x0 0x0 0x39c 0x4 0x0 0x0 0x39d 0x4 0x0 0x0 0x39e 0x4 0x0 0x0 0x39f 0x4 0x0 0x0 0x3a0 0x4 0x0 0x0 0x3a1 0x4 0x0 0x0 0x3a2 0x4 0x0 0x0 0x3a3 0x4 0x0 0x0 0x3a4 0x4 0x0 0x0 0x3a5 0x4 0x0 0x0 0x3a6 0x4 0x0 0x0 0x3a7 0x4>; - interrupt-controller; - #interrupt-cells = <0x1>; - #address-cells = <0x0>; - status = "disabled"; - }; -}; - -&{/soc} { - rsm@288825000 { - compatible = "apple,t6050-rsm", "apple,rsm"; - reg = <0x2 0x88825000 0x0 0x4000 0x2 0x888c0000 0x0 0x4>; - interrupts = <0x0 0x0 0x1ef 0x4>; - iommus = <&{/soc/iommu@2889a0000} 0x0>; - power-domains = <&{/soc/power-management@288300000/power-controller@58}>; - status = "disabled"; - }; -}; - -&{/soc} { - iommu@2889a0000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - reg = <0x2 0x889a0000 0x0 0xc000>; - interrupts = <0x0 0x0 0x1f2 0x4>; - #iommu-cells = <0x1>; - status = "disabled"; - }; -}; - -&{/soc} { - serial@505200000 { - compatible = "apple,t6050-uart", "apple,s5l-uart"; - reg = <0x5 0x5200000 0x0 0x4000>; - interrupts = <0x0 0x0 0x54f 0x4>; - power-domains = <&{/soc/power-management@280900000/power-controller@360}>; - clocks = <&{/soc/clock-controller@280600000} 0x1c9 &{/soc/clock-controller@280600000} 0x4>; - clock-names = "uart", "clk_uart_baud0"; - status = "disabled"; - }; -}; - -&{/soc} { - spmi@28a094000 { - compatible = "apple,t6050-spmi", "apple,t8142-spmi"; - reg = <0x2 0x8a094000 0x0 0x4000 0x2 0x8a084000 0x0 0x4000 0x2 0x8a080000 0x0 0x4000>; - interrupts = <0x0 0x0 0x2e0 0x4>; - #address-cells = <0x2>; - #size-cells = <0x0>; - status = "disabled"; - }; -}; - -&{/soc} { - spmi@28a0d4000 { - compatible = "apple,t6050-spmi", "apple,t8142-spmi"; - reg = <0x2 0x8a0d4000 0x0 0x4000 0x2 0x8a0c4000 0x0 0x4000 0x2 0x8a0c0000 0x0 0x4000>; - interrupts = <0x0 0x0 0x2e5 0x4>; - #address-cells = <0x2>; - #size-cells = <0x0>; - status = "disabled"; - }; -}; - -&{/soc} { - spmi@290914000 { - compatible = "apple,t6050-spmi", "apple,t8142-spmi"; - reg = <0x2 0x90914000 0x0 0x4000 0x2 0x90904000 0x0 0x4000 0x2 0x90900000 0x0 0x4000>; - interrupts = <0x0 0x0 0x26c 0x4>; - #address-cells = <0x2>; - #size-cells = <0x0>; - status = "disabled"; - }; -}; - -&{/soc} { - scaler@2285000000 { - compatible = "apple,t6050-scaler", "apple,scaler-v23"; - reg = <0x22 0x85000000 0x0 0x14000 0x22 0x85210000 0x0 0x4000 0x22 0x85204000 0x0 0x4000 0x22 0x84000000 0x0 0x8000 0x22 0x852c0000 0x0 0x40000 0x22 0x85340000 0x0 0x14c000 0x22 0x852a0000 0x0 0x4000 0x22 0x85208000 0x0 0x4000 0x22 0x85210000 0x0 0x4000 0x22 0x85220000 0x0 0x4000>; - interrupts = <0x0 0x0 0x9a4 0x4 0x0 0x0 0x9a6 0x4 0x0 0x0 0x9a7 0x4 0x0 0x0 0x9a8 0x4 0x0 0x0 0x9ac 0x4 0x0 0x0 0x9ad 0x4 0x0 0x0 0x9ae 0x4 0x0 0x0 0x9af 0x4 0x0 0x0 0x9b0 0x4 0x0 0x0 0x9b1 0x4 0x0 0x0 0x9b2 0x4 0x0 0x0 0x9b3 0x4 0x0 0x0 0x9b4 0x4 0x0 0x0 0x9b5 0x4 0x0 0x0 0x9b6 0x4 0x0 0x0 0x9b7 0x4 0x0 0x0 0x9b8 0x4 0x0 0x0 0x9b9 0x4 0x0 0x0 0x9ba 0x4 0x0 0x0 0x9bb 0x4>; - iommus = <&{/soc/iommu@2285260000} 0x0 &{/soc/iommu@2285260000} 0x1>; - power-domains = <&{/soc/power-management@2380600000/power-controller@1c8} &{/soc/power-management@2380600000/power-controller@200}>; - clocks = <&{/soc/clock-controller@280600000} 0x1f0>; - resets = <&{/soc/power-management@2380600000/power-controller@1c8}>; - status = "disabled"; - }; -}; - -&{/soc} { - iommu@2285260000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - reg = <0x22 0x85260000 0x0 0x20000 0x2 0x74000000 0x0 0x4000>; - interrupts = <0x0 0x0 0x9a5 0x4>; - power-domains = <&{/soc/power-management@2380600000/power-controller@1c8}>; - #iommu-cells = <0x1>; - status = "disabled"; - }; -}; - -&{/soc} { - scaler@23a1000000 { - compatible = "apple,t6050-scaler", "apple,scaler-v23"; - reg = <0x23 0xa1000000 0x0 0x14000 0x23 0xa1210000 0x0 0x4000 0x23 0xa1204000 0x0 0x4000 0x23 0xa0000000 0x0 0x8000 0x23 0xa12c0000 0x0 0x40000 0x23 0xa1340000 0x0 0x14c000 0x23 0xa12a0000 0x0 0x4000 0x23 0xa1208000 0x0 0x4000 0x23 0xa1210000 0x0 0x4000 0x23 0xa1220000 0x0 0x4000>; - interrupts = <0x0 0x0 0x9bc 0x4 0x0 0x0 0x9be 0x4 0x0 0x0 0x9bf 0x4 0x0 0x0 0x9c0 0x4 0x0 0x0 0x9c4 0x4 0x0 0x0 0x9c5 0x4 0x0 0x0 0x9c6 0x4 0x0 0x0 0x9c7 0x4 0x0 0x0 0x9c8 0x4 0x0 0x0 0x9c9 0x4 0x0 0x0 0x9ca 0x4 0x0 0x0 0x9cb 0x4 0x0 0x0 0x9cc 0x4 0x0 0x0 0x9cd 0x4 0x0 0x0 0x9ce 0x4 0x0 0x0 0x9cf 0x4 0x0 0x0 0x9d0 0x4 0x0 0x0 0x9d1 0x4 0x0 0x0 0x9d2 0x4 0x0 0x0 0x9d3 0x4>; - iommus = <&{/soc/iommu@23a1260000} 0x0 &{/soc/iommu@23a1260000} 0x1>; - power-domains = <&{/soc/power-management@2380600000/power-controller@1f8} &{/soc/power-management@2380600000/power-controller@208}>; - clocks = <&{/soc/clock-controller@280600000} 0x1f1>; - resets = <&{/soc/power-management@2380600000/power-controller@1f8}>; - status = "disabled"; - }; -}; - -&{/soc} { - iommu@23a1260000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - reg = <0x23 0xa1260000 0x0 0x20000 0x2 0x74000000 0x0 0x4000>; - interrupts = <0x0 0x0 0x9bd 0x4>; - power-domains = <&{/soc/power-management@2380600000/power-controller@1f8}>; - #iommu-cells = <0x1>; - status = "disabled"; - }; -}; - -&{/soc} { - video-encoder@2283100000 { - compatible = "apple,t6050-ave", "apple,ave"; - reg = <0x22 0x83100000 0x0 0x45c000 0x22 0x83800000 0x0 0x800000 0x22 0x83050000 0x0 0x4000 0x23 0x806001c0 0x0 0x7e64 0x22 0x82000000 0x0 0x8000>; - interrupts = <0x0 0x0 0x983 0x4 0x0 0x0 0xae6 0x4 0x0 0x0 0xae5 0x4 0x0 0x0 0xae8 0x4 0x0 0x0 0xae7 0x4>; - iommus = <&{/soc/iommu@22830a0000} 0x0 &{/soc/iommu@2283080000} 0x0>; - power-domains = <&{/soc/power-management@2380600000/power-controller@1c0} &{/soc/power-management@2380600000/power-controller@8008} &{/soc/power-management@2380600000/power-controller@8010} &{/soc/power-management@2380600000/power-controller@8018} &{/soc/power-management@2380600000/power-controller@8020} &{/soc/power-management@2380600000/power-controller@8000}>; - clocks = <&{/soc/clock-controller@280600000} 0x1f7>; - status = "disabled"; - }; -}; - -&{/soc} { - iommu@22830a0000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - reg = <0x22 0x830a0000 0x0 0xc000 0x22 0x830b0000 0x0 0x4000>; - interrupts = <0x0 0x0 0x980 0x4>; - power-domains = <&{/soc/power-management@2380600000/power-controller@1c0}>; - #iommu-cells = <0x1>; - status = "disabled"; - }; -}; - -&{/soc} { - iommu@2283080000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - reg = <0x22 0x83080000 0x0 0xc000 0x22 0x83094000 0x0 0x4000>; - interrupts = <0x0 0x0 0x980 0x4>; - power-domains = <&{/soc/power-management@2380600000/power-controller@1c0}>; - #iommu-cells = <0x1>; - status = "disabled"; - }; -}; - -&{/soc} { - video-encoder@23a3100000 { - compatible = "apple,t6050-ave", "apple,ave"; - reg = <0x23 0xa3100000 0x0 0x45c000 0x23 0xa3800000 0x0 0x800000 0x23 0xa3050000 0x0 0x4000 0x23 0x806001f0 0x0 0x7e5c 0x23 0xa2000000 0x0 0x8000>; - interrupts = <0x0 0x0 0x98b 0x4 0x0 0x0 0xaea 0x4 0x0 0x0 0xae9 0x4 0x0 0x0 0xaec 0x4 0x0 0x0 0xaeb 0x4>; - iommus = <&{/soc/iommu@23a30a0000} 0x0 &{/soc/iommu@23a3080000} 0x0>; - power-domains = <&{/soc/power-management@2380600000/power-controller@1f0} &{/soc/power-management@2380600000/power-controller@8030} &{/soc/power-management@2380600000/power-controller@8038} &{/soc/power-management@2380600000/power-controller@8040} &{/soc/power-management@2380600000/power-controller@8048} &{/soc/power-management@2380600000/power-controller@8028}>; - clocks = <&{/soc/clock-controller@280600000} 0x1f8>; - status = "disabled"; - }; -}; - -&{/soc} { - iommu@23a30a0000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - reg = <0x23 0xa30a0000 0x0 0xc000 0x23 0xa30b0000 0x0 0x4000>; - interrupts = <0x0 0x0 0x988 0x4>; - power-domains = <&{/soc/power-management@2380600000/power-controller@1f0}>; - #iommu-cells = <0x1>; - status = "disabled"; - }; -}; - -&{/soc} { - iommu@23a3080000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - reg = <0x23 0xa3080000 0x0 0xc000 0x23 0xa3094000 0x0 0x4000>; - interrupts = <0x0 0x0 0x988 0x4>; - power-domains = <&{/soc/power-management@2380600000/power-controller@1f0}>; - #iommu-cells = <0x1>; - status = "disabled"; - }; -}; - -&{/soc} { - prores@48d000000 { - compatible = "apple,t6050-prores", "apple,prores"; - reg = <0x4 0x8d000000 0x0 0x4000 0x4 0x8c000000 0x0 0x1000000 0x4 0x8d0c0000 0x0 0x4000 0x4 0x8d070000 0x0 0x4000 0x4 0x8d071000 0x0 0x4000>; - interrupts = <0x0 0x0 0x6b1 0x4 0x0 0x0 0x6d6 0x4>; - iommus = <&{/soc/iommu@48d020000} 0x1>; - power-domains = <&{/soc/power-management@280900000/power-controller@190}>; - status = "disabled"; - }; -}; - -&{/soc} { - iommu@48d020000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - reg = <0x4 0x8d020000 0x0 0xc000>; - interrupts = <0x0 0x0 0x6b0 0x4>; - power-domains = <&{/soc/power-management@280900000/power-controller@190}>; - #iommu-cells = <0x1>; - status = "disabled"; - }; -}; - -&{/soc} { - iommu@230b020000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - reg = <0x23 0xb020000 0x0 0xc000 0x2 0x74000000 0x0 0x4000>; - interrupts = <0x0 0x0 0x6e0 0x4>; - power-domains = <&{/soc/power-management@2380600000/power-controller@1e0}>; - #iommu-cells = <0x1>; - status = "disabled"; - }; -}; - -&{/soc} { - jpeg@2281000000 { - compatible = "apple,t6050-jpeg", "apple,jpeg"; - reg = <0x22 0x81000000 0x0 0x4000>; - interrupts = <0x0 0x0 0x54b 0x4>; - iommus = <&{/soc/iommu@2281020000} 0x0>; - power-domains = <&{/soc/power-management@2380600000/power-controller@1d0}>; - clocks = <&{/soc/clock-controller@280600000} 0x1e6 &{/soc/clock-controller@280600000} 0x1e7>; - status = "disabled"; - }; -}; - -&{/soc} { - jpeg@2281060000 { - compatible = "apple,t6050-jpeg", "apple,jpeg"; - reg = <0x22 0x81060000 0x0 0x4000>; - interrupts = <0x0 0x0 0x54e 0x4>; - iommus = <&{/soc/iommu@2281020000} 0x1>; - power-domains = <&{/soc/power-management@2380600000/power-controller@1d0}>; - clocks = <&{/soc/clock-controller@280600000} 0x1e6 &{/soc/clock-controller@280600000} 0x1e7>; - status = "disabled"; - }; -}; - -&{/soc} { - iommu@2281020000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - reg = <0x22 0x81020000 0x0 0xc000 0x2 0x74000000 0x0 0x4000>; - interrupts = <0x0 0x0 0x54c 0x4>; - power-domains = <&{/soc/power-management@2380600000/power-controller@1d0}>; - #iommu-cells = <0x1>; - status = "disabled"; - }; -}; - -&{/soc} { - neural-processor@508000000 { - compatible = "apple,t6050-ane"; - reg = <0x5 0x8000000 0x0 0x2000000 0x2 0x80900000 0x0 0x18000 0x2 0x80920000 0x0 0x4000 0x2 0x84240000 0x0 0x40000 0x2 0x12000000 0x0 0xff4000 0x5 0x84000000 0x0 0x2000000 0x2 0x88374000 0x0 0x4000>; - reg-names = "engine", "pmgr", "aux-0", "aux-1", "aux-2", "aux-3", "aux-4"; - interrupts = <0x0 0x0 0x3ba 0x4 0x0 0x0 0x3c7 0x4>; - iommus = <&{/soc/iommu@509800000} 0x0 &{/soc/iommu@509820000} 0x0 &{/soc/iommu@509840000} 0x0>; - power-domains = <&{/soc/power-management@280900000/power-controller@3c8}>; - clocks = <&{/soc/clock-controller@280600000} 0x14f &{/soc/clock-controller@280600000} 0x14e &{/soc/clock-controller@280600000} 0x17d>; - status = "disabled"; - }; -}; - -&{/soc} { - video-decoder@2308000000 { - compatible = "apple,t6050-avd", "apple,avd"; - reg = <0x23 0x8000000 0x0 0x1404000 0x23 0x88090000 0x0 0x4000>; - interrupts = <0x0 0x0 0x971 0x4 0x0 0x0 0x972 0x4>; - iommus = <&{/soc/iommu@2309020000} 0x0 &{/soc/iommu@2309020000} 0x1 &{/soc/iommu@2309020000} 0x2>; - power-domains = <&{/soc/power-management@2380600000/power-controller@1d8}>; - clocks = <&{/soc/clock-controller@280600000} 0x1e8>; - status = "disabled"; - }; -}; - -&{/soc} { - dma-controller@293300000 { - compatible = "apple,t6050-admac", "apple,t8140-admac"; - reg = <0x2 0x93300000 0x0 0x34000>; - dma-channels = <0x9>; - interrupts-extended = <&{/soc/interrupt-controller@280400000} 0x0 0x0 0x27f 0x4 0 0 0>; - iommus = <&{/soc/iommu@290fc0000} 0xa>; - #dma-cells = <0x1>; - status = "disabled"; - }; -}; - -&{/soc} { - dma-control@293c80000 { - compatible = "apple,t6050-admac-control", "apple,admac-control"; - reg = <0x2 0x93c80000 0x0 0x4000 0x2 0x93c84000 0x0 0x4000>; - interrupts = <0x0 0x0 0x28c 0x4>; - status = "disabled"; - }; -}; - -&{/soc} { - message-controller@29b000000 { - compatible = "apple,t6050-msg", "apple,msg"; - reg = <0x2 0x9b000000 0x0 0xb4000 0x2 0x99000000 0x0 0x4000>; - interrupts = <0x0 0x0 0x319 0x4 0x0 0x0 0x31a 0x4 0x0 0x0 0x31b 0x4 0x0 0x0 0x31c 0x4 0x0 0x0 0x31d 0x4 0x0 0x0 0x31e 0x4 0x0 0x0 0x31f 0x4 0x0 0x0 0x320 0x4 0x0 0x0 0x321 0x4 0x0 0x0 0x322 0x4 0x0 0x0 0x323 0x4 0x0 0x0 0x324 0x4 0x0 0x0 0x325 0x4 0x0 0x0 0x326 0x4 0x0 0x0 0x327 0x4 0x0 0x0 0x328 0x4 0x0 0x0 0x329 0x4 0x0 0x0 0x32a 0x4 0x0 0x0 0x32b 0x4 0x0 0x0 0x32c 0x4 0x0 0x0 0x32d 0x4 0x0 0x0 0x32e 0x4 0x0 0x0 0x32f 0x4 0x0 0x0 0x330 0x4 0x0 0x0 0x331 0x4 0x0 0x0 0x332 0x4 0x0 0x0 0x333 0x4 0x0 0x0 0x334 0x4 0x0 0x0 0x335 0x4 0x0 0x0 0x336 0x4 0x0 0x0 0x337 0x4 0x0 0x0 0x338 0x4 0x0 0x0 0x339 0x4 0x0 0x0 0x33a 0x4 0x0 0x0 0x33b 0x4 0x0 0x0 0x33c 0x4 0x0 0x0 0x33d 0x4 0x0 0x0 0x33e 0x4 0x0 0x0 0x33f 0x4 0x0 0x0 0x340 0x4 0x0 0x0 0x318 0x4>; - power-domains = <&{/soc/power-management@280600000/power-controller@258}>; - status = "disabled"; - }; -}; - -&{/soc} { - dma-controller@412030000 { - compatible = "apple,t6050-pcie-piodma", "apple,pcie-piodma"; - reg = <0x4 0x12030000 0x0 0x4000 0x4 0x12034000 0x0 0x4000 0x4 0x12038000 0x0 0x4000>; - interrupts = <0x0 0x0 0x605 0x4>; - iommus = <&{/soc/iommu@412000000} 0x11>; - status = "disabled"; - }; -}; - -&{/soc} { - dma-controller@413030000 { - compatible = "apple,t6050-pcie-piodma", "apple,pcie-piodma"; - reg = <0x4 0x13030000 0x0 0x4000 0x4 0x13034000 0x0 0x4000 0x4 0x13038000 0x0 0x4000>; - interrupts = <0x0 0x0 0x60d 0x4>; - iommus = <&{/soc/iommu@413000000} 0x11>; - status = "disabled"; - }; -}; - -&{/soc} { - spi@50510c000 { - compatible = "apple,t6050-spi", "apple,t8103-spi"; - reg = <0x5 0x510c000 0x0 0x4000>; - interrupts = <0x0 0x0 0x55a 0x4>; - power-domains = <&{/soc/power-management@280900000/power-controller@338}>; - clocks = <&{/soc/clock-controller@280600000} 0x1c4>; - #address-cells = <0x1>; - #size-cells = <0x0>; - status = "disabled"; - }; -}; - -&{/soc} { - dma-controller@38c068000 { - compatible = "apple,t6050-pciec-piodma", "apple,pciec-piodma"; - reg = <0x3 0x8c068000 0x0 0x4000 0x3 0x8c06c000 0x0 0x4000 0x3 0x8c070000 0x0 0x4000 0x3 0x8c03c000 0x0 0x4000>; - interrupts = <0x0 0x0 0x5df 0x4>; - iommus = <&{/soc/iommu@38c000000} 0xfe>; - status = "disabled"; - }; -}; - -&{/soc} { - dpin@389e50000 { - compatible = "apple,t6050-dpin", "apple,dpin"; - reg = <0x3 0x89e50000 0x0 0x4000>; - interrupts = <0x0 0x0 0x6a3 0x4>; - status = "disabled"; - }; -}; - -&{/soc} { - dpin@389e58000 { - compatible = "apple,t6050-dpin", "apple,dpin"; - reg = <0x3 0x89e58000 0x0 0x4000>; - interrupts = <0x0 0x0 0x6a4 0x4>; - status = "disabled"; - }; -}; - -&{/soc} { - dpin@389e68000 { - compatible = "apple,t6050-dpin", "apple,dpin"; - reg = <0x3 0x89e68000 0x0 0x4000>; - interrupts = <0x0 0x0 0x6a9 0x4>; - status = "disabled"; - }; -}; - -&{/soc} { - dpin@389e70000 { - compatible = "apple,t6050-dpin", "apple,dpin"; - reg = <0x3 0x89e70000 0x0 0x4000>; - interrupts = <0x0 0x0 0x6aa 0x4>; - status = "disabled"; - }; -}; diff --git a/arch/arm64/boot/dts/apple/t6050-j775c-incremental-audio.dtsi b/arch/arm64/boot/dts/apple/t6050-j775c-incremental-audio.dtsi deleted file mode 100644 index a03cae3fd42e3..0000000000000 --- a/arch/arm64/boot/dts/apple/t6050-j775c-incremental-audio.dtsi +++ /dev/null @@ -1,69 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0+ OR MIT -/* Property migration from Satya Benson's 86b1f365 J775c stack. - * Retained board sources remain the baseline; this group is independently booted. - * Copyright The Asahi Linux Contributors - */ -&{/soc/i2c@505014000/codec@38} { - /delete-property/ ti,bclk-ratio; - shutdown-gpios = <&{/soc/pinctrl@29c000000} 0x6b 0x0>; - interrupts-extended = <&{/soc/pinctrl@29c000000} 0x6a 0x8>; -}; - -&{/soc/i2c@505018000/codec@4b} { - reset-gpios = <&{/soc/pinctrl@29c000000} 0x8b 0x0>; - interrupts-extended = <&{/soc/pinctrl@29c000000} 0x86 0x8>; -}; - -&{/sound} { - compatible = "apple,j775c-macaudio", "apple,macaudio"; -}; - -&{/sound/dai-link@0} { -}; - -&{/sound/dai-link@0/cpu} { - sound-dai = <&{/soc/aop@290c00000/audio} 0x0>; -}; - -&{/sound/dai-link@0/codec} { - sound-dai = <&{/soc/i2c@505018000/codec@4b}>; -}; - -&{/sound/dai-link@1} { -}; - -&{/sound/dai-link@1/cpu} { - sound-dai = <&{/soc/aop@290c00000/audio} 0x3>; -}; - -&{/sound/dai-link@1/codec} { - sound-dai = <&{/soc/i2c@505014000/codec@38}>; -}; - -&{/audio-controller-dispext0} { - dmas = <&{/soc/dma-controller@2b2140000} 0x0>; -}; - -&{/audio-controller-dispext0/ports} { -}; - -&{/audio-controller-dispext0/ports/port@0} { -}; - -&{/audio-controller-dispext0/ports/port@0/endpoint} { - remote-endpoint = <&{/soc/dcp@2b2e00000/ports/port@0/endpoint}>; -}; - -&{/audio-controller-dispext1} { - dmas = <&{/soc/dma-controller@392140000} 0x0>; -}; - -&{/audio-controller-dispext1/ports} { -}; - -&{/audio-controller-dispext1/ports/port@0} { -}; - -&{/audio-controller-dispext1/ports/port@0/endpoint} { - remote-endpoint = <&{/soc/dcp@392e00000/ports/port@0/endpoint}>; -}; diff --git a/arch/arm64/boot/dts/apple/t6050-j775c-incremental-display.dtsi b/arch/arm64/boot/dts/apple/t6050-j775c-incremental-display.dtsi deleted file mode 100644 index 15d138c1a07cf..0000000000000 --- a/arch/arm64/boot/dts/apple/t6050-j775c-incremental-display.dtsi +++ /dev/null @@ -1,464 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0+ OR MIT -/* Property migration from Satya Benson's 86b1f365 J775c stack. - * Retained board sources remain the baseline; this group is independently booted. - * Copyright The Asahi Linux Contributors - */ -&{/soc/iommu@2b2340000} { -}; - -&{/soc/iommu@2b2300000} { -}; - -&{/soc/mailbox@2b2e08000} { -}; - -&{/soc/dcp@2b2e00000} { - mboxes = <&{/soc/mailbox@2b2e08000}>; - iommus = <&{/soc/iommu@2b2340000} 0x17>; - apple,bw-scratch = <&{/soc/pmc-metadata@286700000} 0x0 0x5 0x2c000>; - phys = <&{/soc/phy@383000000} 0x6 &{/soc/phy@2ab000000} 0x6 &{/soc/phy@38b000000} 0x6 &{/soc/phy@2a3000000} 0x6>; - mux-controls = <&{/soc/mux@38324c000} 0x0 &{/soc/mux@2ab24c000} 0x0 &{/soc/mux@38b24c000} 0x0 &{/soc/mux@2a324c000} 0x0>; -}; - -&{/soc/dcp@2b2e00000/piodma} { - iommus = <&{/soc/iommu@2b2300000} 0x10>; -}; - -&{/soc/dcp@2b2e00000/typec-routes} { -}; - -&{/soc/dcp@2b2e00000/typec-routes/route@0} { -}; - -&{/soc/dcp@2b2e00000/typec-routes/route@0/port} { -}; - -&{/soc/dcp@2b2e00000/typec-routes/route@0/port/endpoint} { - remote-endpoint = <&{/soc/spmi@28a188000/usb-pd@8/connector/ports/port@2/endpoint}>; -}; - -&{/soc/dcp@2b2e00000/typec-routes/route@1} { -}; - -&{/soc/dcp@2b2e00000/typec-routes/route@1/port} { -}; - -&{/soc/dcp@2b2e00000/typec-routes/route@1/port/endpoint} { - remote-endpoint = <&{/soc/spmi@28a188000/usb-pd@a/connector/ports/port@2/endpoint}>; -}; - -&{/soc/dcp@2b2e00000/typec-routes/route@2} { -}; - -&{/soc/dcp@2b2e00000/typec-routes/route@2/port} { -}; - -&{/soc/dcp@2b2e00000/typec-routes/route@2/port/endpoint} { - remote-endpoint = <&{/soc/spmi@28a188000/usb-pd@6/connector/ports/port@2/endpoint}>; -}; - -&{/soc/dcp@2b2e00000/typec-routes/route@3} { -}; - -&{/soc/dcp@2b2e00000/typec-routes/route@3/port} { -}; - -&{/soc/dcp@2b2e00000/typec-routes/route@3/port/endpoint} { - remote-endpoint = <&{/soc/spmi@28a188000/usb-pd@c/connector/ports/port@2/endpoint}>; -}; - -&{/soc/dcp@2b2e00000/ports} { -}; - -&{/soc/dcp@2b2e00000/ports/port@0} { -}; - -&{/soc/dcp@2b2e00000/ports/port@0/endpoint} { - remote-endpoint = <&{/audio-controller-dispext0/ports/port@0/endpoint}>; -}; - -&{/soc} { - aux@29c260000 { - compatible = "apple,t6050-dptx-aux", "apple,dptx-aux"; - reg = <0x2 0x9c260000 0x0 0x4000 0x2 0x9c260000 0x0 0x4000>; - power-domains = <&{/soc/power-management@280900000/power-controller@108}>; - status = "disabled"; - }; -}; - -&{/soc} { - aux@29c264000 { - compatible = "apple,t6050-dptx-aux", "apple,dptx-aux"; - reg = <0x2 0x9c264000 0x0 0x4000 0x2 0x9c264000 0x0 0x4000>; - power-domains = <&{/soc/power-management@280900000/power-controller@110}>; - status = "disabled"; - }; -}; - -&{/soc} { - iommu@48a300000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - reg = <0x4 0x8a300000 0x0 0xc000 0x4 0x8a314000 0x0 0x4000>; - interrupts = <0x0 0x0 0x3de 0x4>; - #iommu-cells = <0x1>; - status = "disabled"; - }; -}; - -&{/soc} { - dcp-expert@48a3ac058 { - compatible = "apple,t6050-dcp-expert", "apple,dcp-expert"; - reg = <0x4 0x8a3ac058 0x0 0x4 0x4 0x8a374000 0x0 0x40 0x4 0x8a370000 0x0 0x40 0x4 0x8a388000 0x0 0x40 0x4 0x8a38c000 0x0 0x40 0x4 0x8a394000 0x0 0x40 0x4 0x8a398000 0x0 0x40 0x4 0x8a39c000 0x0 0x40 0x4 0x8a3a0000 0x0 0x40 0x4 0x88208000 0x0 0x40 0x4 0x8820c000 0x0 0x40 0x4 0x88210000 0x0 0x40 0x4 0x88214000 0x0 0x40>; - interrupts = <0x0 0x0 0x3d9 0x4>; - status = "disabled"; - }; -}; - -&{/soc} { - mailbox@48ae08000 { - compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; - reg = <0x4 0x8ae08000 0x0 0x4000>; - interrupts = <0x0 0x0 0x413 0x4 0x0 0x0 0x414 0x4 0x0 0x0 0x415 0x4 0x0 0x0 0x416 0x4>; - interrupt-names = "send-empty", "send-not-empty", "recv-empty", "recv-not-empty"; - #mbox-cells = <0x0>; - status = "disabled"; - }; -}; - -&{/soc} { - dcp@48ae00000 { - compatible = "apple,t6050-dcp", "apple,dcp"; - reg = <0x4 0x8ae00000 0x0 0x4000 0x4 0x88000000 0x0 0x4000000 0x4 0x8a240000 0x0 0x10000 0x4 0x8a3ac000 0x0 0x4000 0x4 0x8a800000 0x0 0x800000 0x2 0x86700000 0x0 0x114000 0x4 0x8a850000 0x0 0x4000>; - reg-names = "coproc", "disp-0", "disp-1", "disp-2", "disp-3", "disp-4", "iop-vbar"; - mboxes = <&{/soc/mailbox@48ae08000}>; - mbox-names = "mbox"; - iommus = <&{/soc/iommu@48a340000} 0x17>; - status = "disabled"; - }; -}; - -&{/soc/dcp@48ae00000} { - piodma { - iommus = <&{/soc/iommu@48a300000} 0x10>; - }; -}; - -&{/soc} { - iommu@48a340000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - reg = <0x4 0x8a340000 0x0 0x20000>; - interrupts = <0x0 0x0 0x3de 0x4>; - #iommu-cells = <0x1>; - status = "disabled"; - }; -}; - -&{/soc} { - iommu@48a180000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - reg = <0x4 0x8a180000 0x0 0x20000>; - interrupts = <0x0 0x0 0x3f5 0x4>; - #iommu-cells = <0x1>; - status = "disabled"; - }; -}; - -&{/soc} { - dma-controller@48a140000 { - compatible = "apple,t6050-admac", "apple,t8140-admac"; - reg = <0x4 0x8a140000 0x0 0x24000>; - dma-channels = <0x1>; - interrupts-extended = <&{/soc/interrupt-controller@280400000} 0x0 0x0 0x3f4 0x4 0 0 0>; - iommus = <&{/soc/iommu@48a180000} 0x1e>; - #dma-cells = <0x1>; - status = "disabled"; - }; -}; - -&{/soc} { - dma-control@48a2f4000 { - compatible = "apple,t6050-admac-control", "apple,admac-control"; - reg = <0x4 0x8a2f4000 0x0 0x4000 0x4 0x8a1a0000 0x0 0x4000>; - interrupts = <0x0 0x0 0x3f6 0x4>; - status = "disabled"; - }; -}; - -&{/soc} { - dcp-expert@2b23ac058 { - compatible = "apple,t6050-dcp-expert", "apple,dcp-expert"; - reg = <0x2 0xb23ac058 0x0 0x4 0x2 0xb2374000 0x0 0x40 0x2 0xb2370000 0x0 0x40>; - interrupts = <0x0 0x0 0x429 0x4>; - status = "disabled"; - }; -}; - -&{/soc/iommu@2b2180000} { - status = "okay"; - power-domains = <&{/soc/power-management@280600000/power-controller@270}>; -}; - -&{/soc/dma-controller@2b2140000} { - interrupts-extended = <&{/soc/interrupt-controller@280400000} 0x0 0x0 0x444 0x4 0 0 0>; - iommus = <&{/soc/iommu@2b2180000} 0x1e>; - status = "okay"; - power-domains = <&{/soc/power-management@280600000/power-controller@270}>; -}; - -&{/soc} { - dma-control@2b22f4000 { - compatible = "apple,t6050-admac-control", "apple,admac-control"; - reg = <0x2 0xb22f4000 0x0 0x4000 0x2 0xb21a0000 0x0 0x4000>; - interrupts = <0x0 0x0 0x446 0x4>; - status = "disabled"; - }; -}; - -&{/soc} { - dcp-expert@3923ac058 { - compatible = "apple,t6050-dcp-expert", "apple,dcp-expert"; - reg = <0x3 0x923ac058 0x0 0x4 0x3 0x92374000 0x0 0x40 0x3 0x92370000 0x0 0x40>; - interrupts = <0x0 0x0 0x471 0x4>; - status = "disabled"; - }; -}; - -&{/soc/mailbox@392e08000} { -}; - -&{/soc/dcp@392e00000} { - mboxes = <&{/soc/mailbox@392e08000}>; - iommus = <&{/soc/iommu@392340000} 0x17>; - apple,bw-scratch = <&{/soc/pmc-metadata@286700000} 0x0 0x5 0x30000>; - phys = <&{/soc/phy@29c200000}>; - hdmi-hpd-gpios = <&{/soc/pinctrl@290824000} 0xe 0x0>; - hdmi-pwren-gpios = <&{/soc/smc@28c600000/gpio} 0x0 0x0>; - dp2hdmi-pwren-gpios = <&{/soc/smc@28c600000/gpio} 0x1 0x0>; -}; - -&{/soc/dcp@392e00000/piodma} { - iommus = <&{/soc/iommu@392300000} 0x10>; -}; - -&{/soc/dcp@392e00000/ports} { -}; - -&{/soc/dcp@392e00000/ports/port@0} { -}; - -&{/soc/dcp@392e00000/ports/port@0/endpoint} { - remote-endpoint = <&{/audio-controller-dispext1/ports/port@0/endpoint}>; -}; - -&{/soc/iommu@392340000} { -}; - -&{/soc/iommu@392300000} { -}; - -&{/soc/iommu@392180000} { - status = "okay"; - power-domains = <&{/soc/power-management@280600000/power-controller@2d8}>; -}; - -&{/soc/dma-controller@392140000} { - interrupts-extended = <&{/soc/interrupt-controller@280400000} 0x0 0x0 0x48c 0x4 0 0 0>; - iommus = <&{/soc/iommu@392180000} 0x1e>; - status = "okay"; - power-domains = <&{/soc/power-management@280600000/power-controller@2d8}>; -}; - -&{/soc} { - dma-control@3922f4000 { - compatible = "apple,t6050-admac-control", "apple,admac-control"; - reg = <0x3 0x922f4000 0x0 0x4000 0x3 0x921a0000 0x0 0x4000>; - interrupts = <0x0 0x0 0x48e 0x4>; - status = "disabled"; - }; -}; - -&{/soc} { - dcp-expert@3023ac058 { - compatible = "apple,t6050-dcp-expert", "apple,dcp-expert"; - reg = <0x3 0x23ac058 0x0 0x4 0x3 0x2374000 0x0 0x40 0x3 0x2370000 0x0 0x40>; - interrupts = <0x0 0x0 0x4b9 0x4>; - status = "disabled"; - }; -}; - -&{/soc} { - mailbox@302e08000 { - compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; - reg = <0x3 0x2e08000 0x0 0x4000>; - interrupts = <0x0 0x0 0x4f3 0x4 0x0 0x0 0x4f4 0x4 0x0 0x0 0x4f5 0x4 0x0 0x0 0x4f6 0x4>; - interrupt-names = "send-empty", "send-not-empty", "recv-empty", "recv-not-empty"; - #mbox-cells = <0x0>; - status = "disabled"; - }; -}; - -&{/soc} { - dcp@302e00000 { - compatible = "apple,t6050-dcpext", "apple,dcpext"; - reg = <0x3 0x2e00000 0x0 0x4000 0x3 0x0 0x0 0x4000000 0x3 0x2240000 0x0 0x10000 0x3 0x23ac000 0x0 0x4000 0x3 0x2800000 0x0 0x800000 0x2 0x86700000 0x0 0x114000 0x3 0x2850000 0x0 0x4000>; - reg-names = "coproc", "disp-0", "disp-1", "disp-2", "disp-3", "disp-4", "iop-vbar"; - mboxes = <&{/soc/mailbox@302e08000}>; - mbox-names = "mbox"; - iommus = <&{/soc/iommu@302340000} 0x17>; - status = "disabled"; - }; -}; - -&{/soc/dcp@302e00000} { - piodma { - iommus = <&{/soc/iommu@302300000} 0x10>; - }; -}; - -&{/soc} { - iommu@302340000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - reg = <0x3 0x2340000 0x0 0x20000>; - interrupts = <0x0 0x0 0x4be 0x4>; - #iommu-cells = <0x1>; - status = "disabled"; - }; -}; - -&{/soc} { - iommu@302300000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - reg = <0x3 0x2300000 0x0 0xc000 0x3 0x2314000 0x0 0x4000>; - interrupts = <0x0 0x0 0x4be 0x4>; - #iommu-cells = <0x1>; - status = "disabled"; - }; -}; - -&{/soc} { - iommu@302180000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - reg = <0x3 0x2180000 0x0 0x20000>; - interrupts = <0x0 0x0 0x4d5 0x4>; - #iommu-cells = <0x1>; - status = "disabled"; - }; -}; - -&{/soc} { - dma-controller@302140000 { - compatible = "apple,t6050-admac", "apple,t8140-admac"; - reg = <0x3 0x2140000 0x0 0x24000>; - dma-channels = <0x1>; - interrupts-extended = <&{/soc/interrupt-controller@280400000} 0x0 0x0 0x4d4 0x4 0 0 0>; - iommus = <&{/soc/iommu@302180000} 0x1e>; - #dma-cells = <0x1>; - status = "disabled"; - }; -}; - -&{/soc} { - dma-control@3022f4000 { - compatible = "apple,t6050-admac-control", "apple,admac-control"; - reg = <0x3 0x22f4000 0x0 0x4000 0x3 0x21a0000 0x0 0x4000>; - interrupts = <0x0 0x0 0x4d6 0x4>; - status = "disabled"; - }; -}; - -&{/soc} { - dcp-expert@3063ac058 { - compatible = "apple,t6050-dcp-expert", "apple,dcp-expert"; - reg = <0x3 0x63ac058 0x0 0x4 0x3 0x6374000 0x0 0x40 0x3 0x6370000 0x0 0x40>; - interrupts = <0x0 0x0 0x501 0x4>; - status = "disabled"; - }; -}; - -&{/soc} { - mailbox@306e08000 { - compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; - reg = <0x3 0x6e08000 0x0 0x4000>; - interrupts = <0x0 0x0 0x53b 0x4 0x0 0x0 0x53c 0x4 0x0 0x0 0x53d 0x4 0x0 0x0 0x53e 0x4>; - interrupt-names = "send-empty", "send-not-empty", "recv-empty", "recv-not-empty"; - #mbox-cells = <0x0>; - status = "disabled"; - }; -}; - -&{/soc} { - dcp@306e00000 { - compatible = "apple,t6050-dcpext", "apple,dcpext"; - reg = <0x3 0x6e00000 0x0 0x4000 0x3 0x4000000 0x0 0x4000000 0x3 0x6240000 0x0 0x10000 0x3 0x63ac000 0x0 0x4000 0x3 0x6800000 0x0 0x800000 0x2 0x86700000 0x0 0x114000 0x3 0x6850000 0x0 0x4000>; - reg-names = "coproc", "disp-0", "disp-1", "disp-2", "disp-3", "disp-4", "iop-vbar"; - mboxes = <&{/soc/mailbox@306e08000}>; - mbox-names = "mbox"; - iommus = <&{/soc/iommu@306340000} 0x17>; - status = "disabled"; - }; -}; - -&{/soc/dcp@306e00000} { - piodma { - iommus = <&{/soc/iommu@306300000} 0x10>; - }; -}; - -&{/soc} { - iommu@306340000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - reg = <0x3 0x6340000 0x0 0x20000>; - interrupts = <0x0 0x0 0x506 0x4>; - #iommu-cells = <0x1>; - status = "disabled"; - }; -}; - -&{/soc} { - iommu@306300000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - reg = <0x3 0x6300000 0x0 0xc000 0x3 0x6314000 0x0 0x4000>; - interrupts = <0x0 0x0 0x506 0x4>; - #iommu-cells = <0x1>; - status = "disabled"; - }; -}; - -&{/soc} { - iommu@306180000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - reg = <0x3 0x6180000 0x0 0x20000>; - interrupts = <0x0 0x0 0x51d 0x4>; - #iommu-cells = <0x1>; - status = "disabled"; - }; -}; - -&{/soc} { - dma-controller@306140000 { - compatible = "apple,t6050-admac", "apple,t8140-admac"; - reg = <0x3 0x6140000 0x0 0x24000>; - dma-channels = <0x1>; - interrupts-extended = <&{/soc/interrupt-controller@280400000} 0x0 0x0 0x51c 0x4 0 0 0>; - iommus = <&{/soc/iommu@306180000} 0x1e>; - #dma-cells = <0x1>; - status = "disabled"; - }; -}; - -&{/soc} { - dma-control@3062f4000 { - compatible = "apple,t6050-admac-control", "apple,admac-control"; - reg = <0x3 0x62f4000 0x0 0x4000 0x3 0x61a0000 0x0 0x4000>; - interrupts = <0x0 0x0 0x51e 0x4>; - status = "disabled"; - }; -}; - -&{/soc/phy@29c200000} { - power-domains = <&{/soc/power-management@280900000/power-controller@3f8}>; -}; - -&{/display-subsystem} { - iommus = <&{/soc/iommu@2b2300000} 0x0 &{/soc/iommu@392300000} 0x0>; -}; diff --git a/arch/arm64/boot/dts/apple/t6050-j775c-incremental-gpuopp.dtsi b/arch/arm64/boot/dts/apple/t6050-j775c-incremental-gpuopp.dtsi deleted file mode 100644 index 3b93d96b82d03..0000000000000 --- a/arch/arm64/boot/dts/apple/t6050-j775c-incremental-gpuopp.dtsi +++ /dev/null @@ -1,277 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0+ OR MIT -/* Property migration from Satya Benson's 86b1f365 J775c stack. - * Retained board sources remain the baseline; this group is independently booted. - * Copyright The Asahi Linux Contributors - */ -&{/opp-table-gpu} { -}; - -&{/opp-table-gpu/opp00} { -}; - -&{/opp-table-gpu/opp01} { -}; - -&{/opp-table-gpu/opp02} { -}; - -&{/opp-table-gpu/opp03} { -}; - -&{/opp-table-gpu/opp04} { -}; - -&{/opp-table-gpu/opp05} { -}; - -&{/opp-table-gpu/opp06} { -}; - -&{/opp-table-gpu/opp07} { -}; - -&{/opp-table-gpu/opp08} { -}; - -&{/opp-table-gpu/opp09} { -}; - -&{/opp-table-gpu/opp10} { -}; - -&{/opp-table-gpu/opp11} { -}; - -&{/opp-table-gpu/opp12} { -}; - -&{/opp-table-gpu/opp13} { -}; - -&{/} { - opp-table-gpuafr { - compatible = "operating-points-v2"; - }; -}; - -&{/opp-table-gpuafr} { - opp00 { - opp-hz = <0x0 0x0>; - opp-microvolt = <0x0>; - }; -}; - -&{/opp-table-gpuafr} { - opp01 { - opp-hz = <0x0 0x0>; - opp-microvolt = <0x0>; - }; -}; - -&{/opp-table-gpuafr} { - opp02 { - opp-hz = <0x0 0x0>; - opp-microvolt = <0x0>; - }; -}; - -&{/opp-table-gpuafr} { - opp03 { - opp-hz = <0x0 0x0>; - opp-microvolt = <0x0>; - }; -}; - -&{/opp-table-gpuafr} { - opp04 { - opp-hz = <0x0 0x0>; - opp-microvolt = <0x0>; - }; -}; - -&{/opp-table-gpuafr} { - opp05 { - opp-hz = <0x0 0x0>; - opp-microvolt = <0x0>; - }; -}; - -&{/opp-table-gpuafr} { - opp06 { - opp-hz = <0x0 0x0>; - opp-microvolt = <0x0>; - }; -}; - -&{/opp-table-gpuafr} { - opp07 { - opp-hz = <0x0 0x0>; - opp-microvolt = <0x0>; - }; -}; - -&{/opp-table-gpuafr} { - opp08 { - opp-hz = <0x0 0x0>; - opp-microvolt = <0x0>; - }; -}; - -&{/opp-table-gpuafr} { - opp09 { - opp-hz = <0x0 0x0>; - opp-microvolt = <0x0>; - }; -}; - -&{/opp-table-gpuafr} { - opp10 { - opp-hz = <0x0 0x0>; - opp-microvolt = <0x0>; - }; -}; - -&{/opp-table-gpuafr} { - opp11 { - opp-hz = <0x0 0x0>; - opp-microvolt = <0x0>; - }; -}; - -&{/opp-table-gpuafr} { - opp12 { - opp-hz = <0x0 0x0>; - opp-microvolt = <0x0>; - }; -}; - -&{/opp-table-gpuafr} { - opp13 { - opp-hz = <0x0 0x0>; - opp-microvolt = <0x0>; - }; -}; - -&{/} { - opp-table-gpucs { - compatible = "operating-points-v2"; - }; -}; - -&{/opp-table-gpucs} { - opp00 { - opp-hz = <0x0 0x0>; - opp-microvolt = <0x0>; - }; -}; - -&{/opp-table-gpucs} { - opp01 { - opp-hz = <0x0 0x0>; - opp-microvolt = <0x0>; - }; -}; - -&{/opp-table-gpucs} { - opp02 { - opp-hz = <0x0 0x0>; - opp-microvolt = <0x0>; - }; -}; - -&{/opp-table-gpucs} { - opp03 { - opp-hz = <0x0 0x0>; - opp-microvolt = <0x0>; - }; -}; - -&{/opp-table-gpucs} { - opp04 { - opp-hz = <0x0 0x0>; - opp-microvolt = <0x0>; - }; -}; - -&{/opp-table-gpucs} { - opp05 { - opp-hz = <0x0 0x0>; - opp-microvolt = <0x0>; - }; -}; - -&{/opp-table-gpucs} { - opp06 { - opp-hz = <0x0 0x0>; - opp-microvolt = <0x0>; - }; -}; - -&{/opp-table-gpucs} { - opp07 { - opp-hz = <0x0 0x0>; - opp-microvolt = <0x0>; - }; -}; - -&{/opp-table-gpucs} { - opp08 { - opp-hz = <0x0 0x0>; - opp-microvolt = <0x0>; - }; -}; - -&{/opp-table-gpucs} { - opp09 { - opp-hz = <0x0 0x0>; - opp-microvolt = <0x0>; - }; -}; - -&{/opp-table-gpucs} { - opp10 { - opp-hz = <0x0 0x0>; - opp-microvolt = <0x0>; - }; -}; - -&{/opp-table-gpucs} { - opp11 { - opp-hz = <0x0 0x0>; - opp-microvolt = <0x0>; - }; -}; - -&{/opp-table-gpucs} { - opp12 { - opp-hz = <0x0 0x0>; - opp-microvolt = <0x0>; - }; -}; - -&{/opp-table-gpucs} { - opp13 { - opp-hz = <0x0 0x0>; - opp-microvolt = <0x0>; - }; -}; - -&{/soc@2300000000/gpu@2302600000} { - /delete-property/ apple,idleoff-standby-timer; - compatible = "apple,agx-g17c", "apple,agx-g17s"; - mboxes = <&{/soc@2300000000/mailbox@2302600000} &{/soc@2300000000/mailbox@2302e00000}>; - power-domains = <&{/soc@2300000000/power-management@2300e80000/power-controller@110}>; - apple,clpc = <&{/soc/power-management@286806000/performance-controller@1}>; - memory-region = <&{/reserved-memory/uat-ttbs} &{/reserved-memory/uat-pagetables} &{/reserved-memory/uat-handoff} &{/reserved-memory/gpu-fw-data} &{/reserved-memory/uat-l2-pagetables} &{/reserved-memory/gpu-fw-text}>; - operating-points-v2 = <&{/opp-table-gpu}>; - apple,afr-opp = <&{/opp-table-gpuafr}>; - apple,cs-opp = <&{/opp-table-gpucs}>; -}; - -&{/soc@2300000000/mailbox@2302600000} { - power-domains = <&{/soc@2300000000/power-management@2300e80000/power-controller@110}>; -}; - -&{/soc@2300000000/mailbox@2302e00000} { - power-domains = <&{/soc@2300000000/power-management@2300e80000/power-controller@110}>; -}; diff --git a/arch/arm64/boot/dts/apple/t6050-j775c-incremental-pcie.dtsi b/arch/arm64/boot/dts/apple/t6050-j775c-incremental-pcie.dtsi deleted file mode 100644 index 0a6989093441d..0000000000000 --- a/arch/arm64/boot/dts/apple/t6050-j775c-incremental-pcie.dtsi +++ /dev/null @@ -1,41 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0+ OR MIT -/* Property migration from Satya Benson's 86b1f365 J775c stack. - * Retained board sources remain the baseline; this group is independently booted. - * Copyright The Asahi Linux Contributors - */ -&{/pcie@1cb0000000} { - msi-parent = <&{/pcie@1cb0000000}>; - iommu-map = <0x100 &{/soc/iommu@412000000} 0x1 0x1 0x200 &{/soc/iommu@413000000} 0x1 0x1 0x300 &{/soc/iommu@410000000} 0x1 0x3 0x400 &{/soc/iommu@411000000} 0x1 0x1>; -}; - -&{/pcie@1cb0000000/pci@2,0} { - interrupt-map = <0x0 0x0 0x0 0x1 &{/pcie@1cb0000000/pci@2,0} 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x2 &{/pcie@1cb0000000/pci@2,0} 0x0 0x0 0x0 0x1 0x0 0x0 0x0 0x3 &{/pcie@1cb0000000/pci@2,0} 0x0 0x0 0x0 0x2 0x0 0x0 0x0 0x4 &{/pcie@1cb0000000/pci@2,0} 0x0 0x0 0x0 0x3>; -}; - -&{/pcie@1cb0000000/pci@2,0/ethernet@0,0} { -}; - -&{/pcie@1cb0000000/pci@3,0} { - interrupt-map = <0x0 0x0 0x0 0x1 &{/pcie@1cb0000000/pci@3,0} 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x2 &{/pcie@1cb0000000/pci@3,0} 0x0 0x0 0x0 0x1 0x0 0x0 0x0 0x3 &{/pcie@1cb0000000/pci@3,0} 0x0 0x0 0x0 0x2 0x0 0x0 0x0 0x4 &{/pcie@1cb0000000/pci@3,0} 0x0 0x0 0x0 0x3>; -}; - -&{/pcie@1cb0000000/pci@0,0} { - reset-gpios = <&{/soc/pinctrl@29c000000} 0x50 0x1>; - interrupt-map = <0x0 0x0 0x0 0x1 &{/pcie@1cb0000000/pci@0,0} 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x2 &{/pcie@1cb0000000/pci@0,0} 0x0 0x0 0x0 0x1 0x0 0x0 0x0 0x3 &{/pcie@1cb0000000/pci@0,0} 0x0 0x0 0x0 0x2 0x0 0x0 0x0 0x4 &{/pcie@1cb0000000/pci@0,0} 0x0 0x0 0x0 0x3>; -}; - -&{/pcie@1cb0000000/pci@0,0/control@0,0} { -}; - -&{/pcie@1cb0000000/pci@0,0/wifi@0,1} { -}; - -&{/pcie@1cb0000000/pci@0,0/bluetooth@0,2} { -}; - -&{/pcie@1cb0000000/pci@1,0} { - interrupt-map = <0x0 0x0 0x0 0x1 &{/pcie@1cb0000000/pci@1,0} 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x2 &{/pcie@1cb0000000/pci@1,0} 0x0 0x0 0x0 0x1 0x0 0x0 0x0 0x3 &{/pcie@1cb0000000/pci@1,0} 0x0 0x0 0x0 0x2 0x0 0x0 0x0 0x4 &{/pcie@1cb0000000/pci@1,0} 0x0 0x0 0x0 0x3>; -}; - -&{/pcie@1cb0000000/pci@1,0/sdcard@0,0} { -}; diff --git a/arch/arm64/boot/dts/apple/t6050-j775c-incremental-pmgr.dtsi b/arch/arm64/boot/dts/apple/t6050-j775c-incremental-pmgr.dtsi deleted file mode 100644 index 22a4c79222cdf..0000000000000 --- a/arch/arm64/boot/dts/apple/t6050-j775c-incremental-pmgr.dtsi +++ /dev/null @@ -1,1148 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0+ OR MIT -/* Property migration from Satya Benson's 86b1f365 J775c stack. - * Retained board sources remain the baseline; this group is independently booted. - * Copyright The Asahi Linux Contributors - */ -&{/soc/power-management@280600000} { -}; - -&{/soc/power-management@280600000/power-controller@210} { - status = "okay"; -}; - -&{/soc/power-management@280600000/power-controller@238} { -}; - -&{/soc/power-management@280600000/power-controller@240} { - status = "okay"; -}; - -&{/soc/power-management@280600000/power-controller@248} { - status = "okay"; -}; - -&{/soc/power-management@280600000/power-controller@2f8} { - power-domains = <&{/soc/power-management@280600000/power-controller@240}>; - status = "okay"; -}; - -&{/soc/power-management@280600000/power-controller@410} { - power-domains = <&{/soc/power-management@280600000/power-controller@2f8}>; - status = "okay"; -}; - -&{/soc/power-management@280600000/power-controller@418} { - power-domains = <&{/soc/power-management@280600000/power-controller@2f8}>; - status = "okay"; -}; - -&{/soc/power-management@280600000/power-controller@420} { - power-domains = <&{/soc/power-management@280600000/power-controller@2f8} &{/soc/power-management@280600000/power-controller@248}>; - status = "okay"; -}; - -&{/soc/power-management@280600000/power-controller@2e8} { - label = "atc2-cio"; - power-domains = <&{/soc/power-management@280600000/power-controller@238}>; - status = "okay"; -}; - -&{/soc/power-management@280600000/power-controller@3f8} { - label = "atc2-cio-pcie"; - power-domains = <&{/soc/power-management@280600000/power-controller@2e8}>; - status = "okay"; -}; - -&{/soc/power-management@280600000/power-controller@400} { - label = "atc2-cio-usb"; - power-domains = <&{/soc/power-management@280600000/power-controller@2e8}>; - status = "okay"; -}; - -&{/soc/power-management@280600000/power-controller@408} { - label = "atc2-cio-auss"; - power-domains = <&{/soc/power-management@280600000/power-controller@2e8} &{/soc/power-management@280600000/power-controller@248}>; - status = "okay"; -}; - -&{/soc/power-management@280600000} { - power-controller@100 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x100 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "pms"; - status = "disabled"; - }; -}; - -&{/soc/power-management@280600000} { - power-controller@128 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x128 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "pmp"; - power-domains = <&{/soc/power-management@280600000/power-controller@100}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@280600000} { - power-controller@130 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x130 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "pms-sram"; - power-domains = <&{/soc/power-management@280600000/power-controller@100}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@280600000} { - power-controller@1d8 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x1d8 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "fab0-piogw"; - status = "okay"; - }; -}; - -&{/soc/power-management@280600000} { - power-controller@1e0 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x1e0 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "fab3-soc"; - power-domains = <&{/soc/power-management@280600000/power-controller@1d8}>; - status = "okay"; - }; -}; - -&{/soc/power-management@280600000} { - power-controller@1f0 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x1f0 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "fab5-soc"; - power-domains = <&{/soc/power-management@280600000/power-controller@1d8}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@280600000} { - power-controller@1f8 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x1f8 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "sbr"; - power-domains = <&{/soc/power-management@280600000/power-controller@1e0}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@280600000/power-controller@208} { - label = "atc0-common"; - power-domains = <&{/soc/power-management@280600000/power-controller@1e0}>; - status = "okay"; -}; - -&{/soc/power-management@280600000} { - power-controller@258 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x258 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "msg"; - power-domains = <&{/soc/power-management@280600000/power-controller@1f8}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@280600000/power-controller@280} { - label = "atc0-cio"; - power-domains = <&{/soc/power-management@280600000/power-controller@208}>; - status = "okay"; -}; - -&{/soc/power-management@280600000} { - power-controller@288 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x288 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "atc0-pcie"; - power-domains = <&{/soc/power-management@280600000/power-controller@208}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@280600000/power-controller@290} { - label = "atc1-cio"; - power-domains = <&{/soc/power-management@280600000/power-controller@210}>; - status = "okay"; -}; - -&{/soc/power-management@280600000} { - power-controller@298 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x298 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "atc1-pcie"; - power-domains = <&{/soc/power-management@280600000/power-controller@210}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@280600000} { - power-controller@2f0 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x2f0 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "atc2-pcie"; - power-domains = <&{/soc/power-management@280600000/power-controller@238}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@280600000} { - power-controller@300 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x300 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "atc3-pcie"; - power-domains = <&{/soc/power-management@280600000/power-controller@240}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@280600000/power-controller@338} { - label = "atc0-cio-pcie"; - power-domains = <&{/soc/power-management@280600000/power-controller@280}>; - status = "okay"; -}; - -&{/soc/power-management@280600000/power-controller@340} { - label = "atc0-cio-usb"; - power-domains = <&{/soc/power-management@280600000/power-controller@280}>; - status = "okay"; -}; - -&{/soc/power-management@280600000/power-controller@348} { - label = "atc0-cio-auss"; - power-domains = <&{/soc/power-management@280600000/power-controller@280} &{/soc/power-management@280600000/power-controller@248}>; - status = "okay"; -}; - -&{/soc/power-management@280600000/power-controller@350} { - label = "atc1-cio-pcie"; - power-domains = <&{/soc/power-management@280600000/power-controller@290}>; - status = "okay"; -}; - -&{/soc/power-management@280600000/power-controller@358} { - label = "atc1-cio-usb"; - power-domains = <&{/soc/power-management@280600000/power-controller@290}>; - status = "okay"; -}; - -&{/soc/power-management@280600000/power-controller@360} { - label = "atc1-cio-auss"; - power-domains = <&{/soc/power-management@280600000/power-controller@290} &{/soc/power-management@280600000/power-controller@248}>; - status = "okay"; -}; - -&{/soc/power-management@280600000/power-controller@270} { -}; - -&{/soc/power-management@280600000/power-controller@2d8} { -}; - -&{/soc/power-management@280900000} { -}; - -&{/soc/power-management@280900000} { - power-controller@2a8 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x2a8 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "fpwm0"; - }; -}; - -&{/soc/power-management@280900000} { - power-controller@2b0 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x2b0 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "fpwm1"; - status = "disabled"; - }; -}; - -&{/soc/power-management@280900000} { - power-controller@2b8 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x2b8 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "fpwm2"; - status = "disabled"; - }; -}; - -&{/soc/power-management@280900000/power-controller@2c8} { -}; - -&{/soc/power-management@280900000/power-controller@2d0} { -}; - -&{/soc/power-management@280900000/power-controller@308} { -}; - -&{/soc/power-management@280900000/power-controller@350} { - power-domains = <&{/soc/power-management@280900000/power-controller@308}>; -}; - -&{/soc/power-management@280900000} { - power-controller@100 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x100 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "ispsens0"; - status = "disabled"; - }; -}; - -&{/soc/power-management@280900000} { - power-controller@108 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x108 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "global-aux-hpd-0"; - status = "disabled"; - }; -}; - -&{/soc/power-management@280900000} { - power-controller@110 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x110 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "global-aux-hpd-1"; - status = "disabled"; - }; -}; - -&{/soc/power-management@280900000} { - power-controller@118 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x118 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "apcie-gp"; - status = "disabled"; - }; -}; - -&{/soc/power-management@280900000} { - power-controller@120 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x120 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "apcie-ge"; - status = "disabled"; - }; -}; - -&{/soc/power-management@280900000} { - power-controller@128 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x128 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "apcie-st0"; - status = "disabled"; - }; -}; - -&{/soc/power-management@280900000} { - power-controller@130 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x130 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "apcie-st1"; - status = "disabled"; - }; -}; - -&{/soc/power-management@280900000} { - power-controller@138 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x138 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "fab6-soc"; - power-domains = <&{/soc/power-management@280600000/power-controller@1d8}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@280900000} { - power-controller@140 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x140 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "ans"; - power-domains = <&{/soc/power-management@280900000/power-controller@138}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@280900000} { - power-controller@148 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x148 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "apcie-sys-gp"; - power-domains = <&{/soc/power-management@280900000/power-controller@118} &{/soc/power-management@280900000/power-controller@138}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@280900000} { - power-controller@150 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x150 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "apcie-sys-st0"; - power-domains = <&{/soc/power-management@280900000/power-controller@128} &{/soc/power-management@280900000/power-controller@140}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@280900000} { - power-controller@158 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x158 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "apcie-sys-st1"; - power-domains = <&{/soc/power-management@280900000/power-controller@130} &{/soc/power-management@280900000/power-controller@140}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@280900000} { - power-controller@178 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x178 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "fab7-soc"; - power-domains = <&{/soc/power-management@280600000/power-controller@1d8}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@280900000} { - power-controller@180 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x180 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "disp-sys"; - power-domains = <&{/soc/power-management@280900000/power-controller@178}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@280900000} { - power-controller@188 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x188 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "apcie-sys-ge"; - power-domains = <&{/soc/power-management@280900000/power-controller@120} &{/soc/power-management@280900000/power-controller@138}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@280900000} { - power-controller@190 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x190 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "scodec"; - power-domains = <&{/soc/power-management@280900000/power-controller@178}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@280900000} { - power-controller@198 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x198 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "disp-fe"; - power-domains = <&{/soc/power-management@280900000/power-controller@180}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@280900000} { - power-controller@1a8 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x1a8 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "disp-cpu"; - power-domains = <&{/soc/power-management@280900000/power-controller@198}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@280900000} { - power-controller@1b0 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x1b0 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "apcie-phy-sw"; - power-domains = <&{/soc/power-management@280900000/power-controller@148} &{/soc/power-management@280900000/power-controller@188}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@280900000} { - power-controller@240 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x240 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "aphy-st0-aus5-a"; - power-domains = <&{/soc/power-management@280900000/power-controller@1b0}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@280900000} { - power-controller@248 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x248 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "aphy-st1-aus5-a"; - power-domains = <&{/soc/power-management@280900000/power-controller@1b0}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@280900000} { - power-controller@250 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x250 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "aphy-ge-aus5-a"; - power-domains = <&{/soc/power-management@280900000/power-controller@1b0}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@280900000} { - power-controller@258 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x258 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "aphy-gp-aus5-a"; - power-domains = <&{/soc/power-management@280900000/power-controller@1b0}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@280900000} { - power-controller@268 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x268 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "aphy-st0-aus5"; - power-domains = <&{/soc/power-management@280900000/power-controller@240}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@280900000} { - power-controller@270 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x270 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "aphy-st1-aus5"; - power-domains = <&{/soc/power-management@280900000/power-controller@248}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@280900000} { - power-controller@278 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x278 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "aphy-ge-aus5"; - power-domains = <&{/soc/power-management@280900000/power-controller@250}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@280900000} { - power-controller@280 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x280 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "aphy-gp-aus5"; - power-domains = <&{/soc/power-management@280900000/power-controller@258}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@280900000} { - power-controller@288 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x288 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "fab8-soc"; - power-domains = <&{/soc/power-management@280600000/power-controller@1d8}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@280900000} { - power-controller@290 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x290 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "sio"; - power-domains = <&{/soc/power-management@280900000/power-controller@288}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@280900000} { - power-controller@298 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x298 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "sep"; - power-domains = <&{/soc/power-management@280900000/power-controller@288}>; - apple,firmware-owned; - status = "disabled"; - }; -}; - -&{/soc/power-management@280900000} { - power-controller@2a0 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x2a0 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "sio-cpu"; - power-domains = <&{/soc/power-management@280900000/power-controller@290}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@280900000} { - power-controller@2c0 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x2c0 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "i2c0"; - power-domains = <&{/soc/power-management@280900000/power-controller@290}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@280900000} { - power-controller@2d8 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x2d8 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "i2c3"; - power-domains = <&{/soc/power-management@280900000/power-controller@290}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@280900000} { - power-controller@2e0 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x2e0 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "i2c4"; - power-domains = <&{/soc/power-management@280900000/power-controller@290}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@280900000} { - power-controller@2e8 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x2e8 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "i2c5"; - power-domains = <&{/soc/power-management@280900000/power-controller@290}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@280900000} { - power-controller@2f0 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x2f0 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "i2c6"; - power-domains = <&{/soc/power-management@280900000/power-controller@290}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@280900000} { - power-controller@2f8 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x2f8 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "i2c7"; - power-domains = <&{/soc/power-management@280900000/power-controller@290}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@280900000} { - power-controller@300 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x300 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "i2c8"; - power-domains = <&{/soc/power-management@280900000/power-controller@290}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@280900000} { - power-controller@310 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x310 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "uart-p"; - power-domains = <&{/soc/power-management@280900000/power-controller@290}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@280900000} { - power-controller@318 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x318 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "aes"; - power-domains = <&{/soc/power-management@280900000/power-controller@290}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@280900000} { - power-controller@330 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x330 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "spi2"; - power-domains = <&{/soc/power-management@280900000/power-controller@308}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@280900000} { - power-controller@338 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x338 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "spi3"; - power-domains = <&{/soc/power-management@280900000/power-controller@308}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@280900000} { - power-controller@340 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x340 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "spi4"; - power-domains = <&{/soc/power-management@280900000/power-controller@308}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@280900000} { - power-controller@360 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x360 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "uart0"; - power-domains = <&{/soc/power-management@280900000/power-controller@310}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@280900000} { - power-controller@398 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x398 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "fab9-soc"; - power-domains = <&{/soc/power-management@280600000/power-controller@1d8}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@280900000} { - power-controller@3a0 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x3a0 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "isp-sys"; - power-domains = <&{/soc/power-management@280900000/power-controller@398}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@280900000} { - power-controller@3c8 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x3c8 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "ane-cpu"; - status = "disabled"; - }; -}; - -&{/soc/power-management@280900000/power-controller@3f8} { - label = "dptx-phy"; - status = "disabled"; -}; - -&{/soc/power-management@288300000} { -}; - -&{/soc/power-management@288300000/power-controller@160} { - status = "okay"; -}; - -&{/soc/power-management@288300000/power-controller@168} { - /delete-property/ apple,always-on; - power-domains = <&{/soc/power-management@280600000/power-controller@210} &{/soc/power-management@288300000/power-controller@160}>; - status = "okay"; -}; - -&{/soc/power-management@288300000/power-controller@170} { - power-domains = <&{/soc/power-management@280600000/power-controller@210} &{/soc/power-management@288300000/power-controller@160}>; - status = "okay"; -}; - -&{/soc/power-management@288300000/power-controller@178} { -}; - -&{/soc/power-management@288300000/power-controller@188} { - power-domains = <&{/soc/power-management@280600000/power-controller@238} &{/soc/power-management@288300000/power-controller@178}>; -}; - -&{/soc/power-management@288300000/power-controller@180} { - /delete-property/ apple,always-on; - power-domains = <&{/soc/power-management@280600000/power-controller@238} &{/soc/power-management@288300000/power-controller@178}>; -}; - -&{/soc/power-management@288300000/power-controller@190} { - status = "okay"; -}; - -&{/soc/power-management@288300000/power-controller@198} { - /delete-property/ apple,always-on; - power-domains = <&{/soc/power-management@280600000/power-controller@240} &{/soc/power-management@288300000/power-controller@190}>; - status = "okay"; -}; - -&{/soc/power-management@288300000/power-controller@1a0} { - power-domains = <&{/soc/power-management@280600000/power-controller@240} &{/soc/power-management@288300000/power-controller@190}>; - status = "okay"; -}; - -&{/soc/power-management@288300000} { - power-controller@58 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x58 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "debug-gated"; - status = "disabled"; - }; -}; - -&{/soc/power-management@288300000} { - power-controller@98 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x98 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "atc0-common-dp-0"; - status = "disabled"; - }; -}; - -&{/soc/power-management@288300000} { - power-controller@a0 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0xa0 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "atc0-common-dp-1"; - status = "disabled"; - }; -}; - -&{/soc/power-management@288300000} { - power-controller@a8 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0xa8 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "atc0-common-dp-2"; - status = "disabled"; - }; -}; - -&{/soc/power-management@288300000} { - power-controller@b0 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0xb0 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "atc0-common-dp-3"; - status = "disabled"; - }; -}; - -&{/soc/power-management@288300000} { - power-controller@b8 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0xb8 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "atc1-common-dp-0"; - status = "disabled"; - }; -}; - -&{/soc/power-management@288300000} { - power-controller@c0 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0xc0 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "atc1-common-dp-1"; - status = "disabled"; - }; -}; - -&{/soc/power-management@288300000} { - power-controller@c8 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0xc8 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "atc1-common-dp-2"; - status = "disabled"; - }; -}; - -&{/soc/power-management@288300000} { - power-controller@d0 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0xd0 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "atc1-common-dp-3"; - status = "disabled"; - }; -}; - -&{/soc/power-management@288300000} { - power-controller@d8 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0xd8 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "atc2-common-dp-0"; - status = "disabled"; - }; -}; - -&{/soc/power-management@288300000} { - power-controller@e0 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0xe0 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "atc2-common-dp-1"; - status = "disabled"; - }; -}; - -&{/soc/power-management@288300000} { - power-controller@e8 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0xe8 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "atc2-common-dp-2"; - status = "disabled"; - }; -}; - -&{/soc/power-management@288300000} { - power-controller@f0 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0xf0 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "atc2-common-dp-3"; - status = "disabled"; - }; -}; - -&{/soc/power-management@288300000} { - power-controller@f8 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0xf8 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "atc3-common-dp-0"; - status = "disabled"; - }; -}; - -&{/soc/power-management@288300000} { - power-controller@100 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x100 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "atc3-common-dp-1"; - status = "disabled"; - }; -}; - -&{/soc/power-management@288300000} { - power-controller@108 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x108 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "atc3-common-dp-2"; - status = "disabled"; - }; -}; - -&{/soc/power-management@288300000} { - power-controller@110 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x110 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "atc3-common-dp-3"; - status = "disabled"; - }; -}; - -&{/soc/power-management@288300000/power-controller@148} { - label = "atc0-usb-aon"; - status = "okay"; -}; - -&{/soc/power-management@288300000/power-controller@150} { - /delete-property/ apple,always-on; - label = "atc0-usb"; - power-domains = <&{/soc/power-management@280600000/power-controller@208} &{/soc/power-management@288300000/power-controller@148}>; - status = "okay"; -}; - -&{/soc/power-management@288300000/power-controller@158} { - label = "atc0-phymxwrap"; - power-domains = <&{/soc/power-management@280600000/power-controller@208} &{/soc/power-management@288300000/power-controller@148}>; - status = "okay"; -}; - -&{/soc/power-management@286806000} { -}; - -&{/soc/power-management@286806000/performance-controller@1} { -}; - -&{/soc@2300000000/power-management@2300e80000} { - status = "okay"; -}; - -&{/soc@2300000000/power-management@2300e80000/power-controller@0} { -}; - -&{/soc@2300000000/power-management@2300e80000/power-controller@100} { -}; - -&{/soc@2300000000/power-management@2300e80000/power-controller@110} { - power-domains = <&{/soc@2300000000/power-management@2300e80000/power-controller@100} &{/soc@2300000000/power-management@2300e80000/power-controller@0}>; -}; diff --git a/arch/arm64/boot/dts/apple/t6050-j775c-incremental-pmgr4.dtsi b/arch/arm64/boot/dts/apple/t6050-j775c-incremental-pmgr4.dtsi deleted file mode 100644 index e9740512533eb..0000000000000 --- a/arch/arm64/boot/dts/apple/t6050-j775c-incremental-pmgr4.dtsi +++ /dev/null @@ -1,269 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0+ OR MIT -/* Property migration from Satya Benson's 86b1f365 J775c stack. - * Retained board sources remain the baseline; this group is independently booted. - * Copyright The Asahi Linux Contributors - */ -&{/soc/power-management@2380600000} { - status = "disabled"; -}; - -&{/soc/power-management@2380600000/power-controller@1b0} { - /delete-property/ apple,always-on; - status = "disabled"; -}; - -&{/soc/power-management@2380600000/power-controller@1d8} { - power-domains = <&{/soc/power-management@2380600000/power-controller@1b0}>; - status = "disabled"; -}; - -&{/soc/power-management@2380600000} { - power-controller@1a0 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x1a0 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "fab1-piogw"; - status = "disabled"; - }; -}; - -&{/soc/power-management@2380600000} { - power-controller@1a8 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x1a8 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "fab0-soc"; - power-domains = <&{/soc/power-management@2380600000/power-controller@1a0}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@2380600000} { - power-controller@1b8 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x1b8 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "fab2-soc"; - power-domains = <&{/soc/power-management@2380600000/power-controller@1a0}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@2380600000} { - power-controller@1c0 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x1c0 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "venc0-sys"; - power-domains = <&{/soc/power-management@2380600000/power-controller@1a8}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@2380600000} { - power-controller@1c8 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x1c8 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "msr0"; - power-domains = <&{/soc/power-management@2380600000/power-controller@1a8}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@2380600000} { - power-controller@1d0 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x1d0 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "jpg"; - power-domains = <&{/soc/power-management@2380600000/power-controller@1a8}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@2380600000} { - power-controller@1e0 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x1e0 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "prores"; - power-domains = <&{/soc/power-management@2380600000/power-controller@1b0}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@2380600000} { - power-controller@1f0 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x1f0 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "venc1-sys"; - power-domains = <&{/soc/power-management@2380600000/power-controller@1b8}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@2380600000} { - power-controller@1f8 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x1f8 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "msr1"; - power-domains = <&{/soc/power-management@2380600000/power-controller@1b8}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@2380600000} { - power-controller@200 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x200 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "msr0-ase-core"; - power-domains = <&{/soc/power-management@2380600000/power-controller@1c8}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@2380600000} { - power-controller@208 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x208 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "msr1-ase-core"; - power-domains = <&{/soc/power-management@2380600000/power-controller@1f8}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@2380600000} { - power-controller@8000 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x8000 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "venc0-dma"; - power-domains = <&{/soc/power-management@2380600000/power-controller@1c0}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@2380600000} { - power-controller@8008 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x8008 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "venc0-pipe4"; - power-domains = <&{/soc/power-management@2380600000/power-controller@8000}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@2380600000} { - power-controller@8010 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x8010 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "venc0-pipe5"; - power-domains = <&{/soc/power-management@2380600000/power-controller@8000}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@2380600000} { - power-controller@8018 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x8018 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "venc0-me0"; - power-domains = <&{/soc/power-management@2380600000/power-controller@8000}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@2380600000} { - power-controller@8020 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x8020 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "venc0-me1"; - power-domains = <&{/soc/power-management@2380600000/power-controller@8018}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@2380600000} { - power-controller@8028 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x8028 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "venc1-dma"; - power-domains = <&{/soc/power-management@2380600000/power-controller@1f0}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@2380600000} { - power-controller@8030 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x8030 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "venc1-pipe4"; - power-domains = <&{/soc/power-management@2380600000/power-controller@8028}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@2380600000} { - power-controller@8038 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x8038 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "venc1-pipe5"; - power-domains = <&{/soc/power-management@2380600000/power-controller@8028}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@2380600000} { - power-controller@8040 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x8040 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "venc1-me0"; - power-domains = <&{/soc/power-management@2380600000/power-controller@8028}>; - status = "disabled"; - }; -}; - -&{/soc/power-management@2380600000} { - power-controller@8048 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x8048 0x4>; - #power-domain-cells = <0x0>; - #reset-cells = <0x0>; - label = "venc1-me1"; - power-domains = <&{/soc/power-management@2380600000/power-controller@8040}>; - status = "disabled"; - }; -}; diff --git a/arch/arm64/boot/dts/apple/t6050-j775c-incremental-remaining-nogpu.dtsi b/arch/arm64/boot/dts/apple/t6050-j775c-incremental-remaining-nogpu.dtsi deleted file mode 100644 index e038f103da61f..0000000000000 --- a/arch/arm64/boot/dts/apple/t6050-j775c-incremental-remaining-nogpu.dtsi +++ /dev/null @@ -1,2354 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0+ OR MIT -/* Property migration from Satya Benson's 86b1f365 J775c stack. - * Retained board sources remain the baseline; this group is independently booted. - * Copyright The Asahi Linux Contributors - */ -&{/} { - interrupt-parent = <&{/soc/interrupt-controller@280400000}>; -}; - -&{/memory@10000000000} { -}; - -&{/reserved-memory} { -}; - -&{/reserved-memory/uat-ttbs} { -}; - -&{/reserved-memory/uat-pagetables} { -}; - -&{/reserved-memory/uat-handoff} { -}; - -&{/reserved-memory/uat-l2-pagetables} { -}; - -&{/reserved-memory/gpu-fw-text} { -}; - -&{/reserved-memory/gpu-fw-data} { -}; - -&{/cpus} { -}; - -&{/cpus/cpu@40000} { - operating-points-v2 = <&{/opp-table-mcluster}>; - performance-domains = <&{/soc/performance-controller@210e20000}>; - next-level-cache = <&{/cpus/l2-cache-m00}>; -}; - -&{/cpus/cpu@40001} { - operating-points-v2 = <&{/opp-table-mcluster}>; - performance-domains = <&{/soc/performance-controller@210e20000}>; - next-level-cache = <&{/cpus/l2-cache-m00}>; -}; - -&{/cpus/cpu@40002} { - operating-points-v2 = <&{/opp-table-mcluster}>; - performance-domains = <&{/soc/performance-controller@210e20000}>; - next-level-cache = <&{/cpus/l2-cache-m00}>; -}; - -&{/cpus/cpu@40003} { - operating-points-v2 = <&{/opp-table-mcluster}>; - performance-domains = <&{/soc/performance-controller@210e20000}>; - next-level-cache = <&{/cpus/l2-cache-m00}>; -}; - -&{/cpus/cpu@40004} { - operating-points-v2 = <&{/opp-table-mcluster}>; - performance-domains = <&{/soc/performance-controller@210e20000}>; - next-level-cache = <&{/cpus/l2-cache-m00}>; -}; - -&{/cpus/cpu@40005} { - operating-points-v2 = <&{/opp-table-mcluster}>; - performance-domains = <&{/soc/performance-controller@210e20000}>; - next-level-cache = <&{/cpus/l2-cache-m00}>; -}; - -&{/cpus/cpu@40100} { - operating-points-v2 = <&{/opp-table-mcluster}>; - performance-domains = <&{/soc/performance-controller@211e20000}>; - next-level-cache = <&{/cpus/l2-cache-m01}>; -}; - -&{/cpus/cpu@40101} { - operating-points-v2 = <&{/opp-table-mcluster}>; - performance-domains = <&{/soc/performance-controller@211e20000}>; - next-level-cache = <&{/cpus/l2-cache-m01}>; -}; - -&{/cpus/cpu@40102} { - operating-points-v2 = <&{/opp-table-mcluster}>; - performance-domains = <&{/soc/performance-controller@211e20000}>; - next-level-cache = <&{/cpus/l2-cache-m01}>; -}; - -&{/cpus/cpu@40103} { - operating-points-v2 = <&{/opp-table-mcluster}>; - performance-domains = <&{/soc/performance-controller@211e20000}>; - next-level-cache = <&{/cpus/l2-cache-m01}>; -}; - -&{/cpus/cpu@40104} { - operating-points-v2 = <&{/opp-table-mcluster}>; - performance-domains = <&{/soc/performance-controller@211e20000}>; - next-level-cache = <&{/cpus/l2-cache-m01}>; -}; - -&{/cpus/cpu@40105} { - operating-points-v2 = <&{/opp-table-mcluster}>; - performance-domains = <&{/soc/performance-controller@211e20000}>; - next-level-cache = <&{/cpus/l2-cache-m01}>; -}; - -&{/cpus/cpu@10200} { - operating-points-v2 = <&{/opp-table-pcluster}>; - performance-domains = <&{/soc/performance-controller@212e20000}>; - next-level-cache = <&{/cpus/l2-cache-p0-0}>; -}; - -&{/cpus/cpu@10201} { - operating-points-v2 = <&{/opp-table-pcluster}>; - performance-domains = <&{/soc/performance-controller@212e20000}>; - next-level-cache = <&{/cpus/l2-cache-p0-1}>; -}; - -&{/cpus/cpu@10202} { - operating-points-v2 = <&{/opp-table-pcluster}>; - performance-domains = <&{/soc/performance-controller@212e20000}>; - next-level-cache = <&{/cpus/l2-cache-p0-2}>; -}; - -&{/cpus/cpu@10203} { - operating-points-v2 = <&{/opp-table-pcluster}>; - performance-domains = <&{/soc/performance-controller@212e20000}>; - next-level-cache = <&{/cpus/l2-cache-p0-3}>; -}; - -&{/cpus/cpu@10204} { - operating-points-v2 = <&{/opp-table-pcluster}>; - performance-domains = <&{/soc/performance-controller@212e20000}>; - next-level-cache = <&{/cpus/l2-cache-p0-4}>; -}; - -&{/cpus/cpu@10205} { - operating-points-v2 = <&{/opp-table-pcluster}>; - performance-domains = <&{/soc/performance-controller@212e20000}>; - next-level-cache = <&{/cpus/l2-cache-p0-5}>; -}; - -&{/cpus/cpu-map} { -}; - -&{/cpus/cpu-map/cluster0} { -}; - -&{/cpus/cpu-map/cluster0/core0} { - cpu = <&{/cpus/cpu@40000}>; -}; - -&{/cpus/cpu-map/cluster0/core1} { - cpu = <&{/cpus/cpu@40001}>; -}; - -&{/cpus/cpu-map/cluster0/core2} { - cpu = <&{/cpus/cpu@40002}>; -}; - -&{/cpus/cpu-map/cluster0/core3} { - cpu = <&{/cpus/cpu@40003}>; -}; - -&{/cpus/cpu-map/cluster0/core4} { - cpu = <&{/cpus/cpu@40004}>; -}; - -&{/cpus/cpu-map/cluster0/core5} { - cpu = <&{/cpus/cpu@40005}>; -}; - -&{/cpus/cpu-map/cluster1} { -}; - -&{/cpus/cpu-map/cluster1/core0} { - cpu = <&{/cpus/cpu@40100}>; -}; - -&{/cpus/cpu-map/cluster1/core1} { - cpu = <&{/cpus/cpu@40101}>; -}; - -&{/cpus/cpu-map/cluster1/core2} { - cpu = <&{/cpus/cpu@40102}>; -}; - -&{/cpus/cpu-map/cluster1/core3} { - cpu = <&{/cpus/cpu@40103}>; -}; - -&{/cpus/cpu-map/cluster1/core4} { - cpu = <&{/cpus/cpu@40104}>; -}; - -&{/cpus/cpu-map/cluster1/core5} { - cpu = <&{/cpus/cpu@40105}>; -}; - -&{/cpus/cpu-map/cluster2} { -}; - -&{/cpus/cpu-map/cluster2/core0} { - cpu = <&{/cpus/cpu@10200}>; -}; - -&{/cpus/cpu-map/cluster2/core1} { - cpu = <&{/cpus/cpu@10201}>; -}; - -&{/cpus/cpu-map/cluster2/core2} { - cpu = <&{/cpus/cpu@10202}>; -}; - -&{/cpus/cpu-map/cluster2/core3} { - cpu = <&{/cpus/cpu@10203}>; -}; - -&{/cpus/cpu-map/cluster2/core4} { - cpu = <&{/cpus/cpu@10204}>; -}; - -&{/cpus/cpu-map/cluster2/core5} { - cpu = <&{/cpus/cpu@10205}>; -}; - -&{/cpus/l2-cache-m00} { -}; - -&{/cpus/l2-cache-m01} { -}; - -&{/cpus/l3-cache-p0} { -}; - -&{/cpus/l2-cache-p0-0} { - next-level-cache = <&{/cpus/l3-cache-p0}>; -}; - -&{/cpus/l2-cache-p0-1} { - next-level-cache = <&{/cpus/l3-cache-p0}>; -}; - -&{/cpus/l2-cache-p0-2} { - next-level-cache = <&{/cpus/l3-cache-p0}>; -}; - -&{/cpus/l2-cache-p0-3} { - next-level-cache = <&{/cpus/l3-cache-p0}>; -}; - -&{/cpus/l2-cache-p0-4} { - next-level-cache = <&{/cpus/l3-cache-p0}>; -}; - -&{/cpus/l2-cache-p0-5} { - next-level-cache = <&{/cpus/l3-cache-p0}>; -}; - -&{/opp-table-mcluster} { -}; - -&{/opp-table-mcluster/opp01} { -}; - -&{/opp-table-mcluster/opp02} { -}; - -&{/opp-table-mcluster/opp03} { -}; - -&{/opp-table-mcluster/opp04} { -}; - -&{/opp-table-mcluster/opp05} { -}; - -&{/opp-table-mcluster/opp06} { -}; - -&{/opp-table-mcluster/opp07} { -}; - -&{/opp-table-mcluster/opp08} { -}; - -&{/opp-table-mcluster/opp09} { -}; - -&{/opp-table-mcluster/opp10} { -}; - -&{/opp-table-mcluster/opp11} { -}; - -&{/opp-table-mcluster/opp12} { -}; - -&{/opp-table-mcluster/opp13} { -}; - -&{/opp-table-mcluster/opp14} { -}; - -&{/opp-table-mcluster/opp15} { -}; - -&{/opp-table-mcluster/opp16} { -}; - -&{/opp-table-pcluster} { -}; - -&{/opp-table-pcluster/opp01} { -}; - -&{/opp-table-pcluster/opp02} { -}; - -&{/opp-table-pcluster/opp03} { -}; - -&{/opp-table-pcluster/opp04} { -}; - -&{/opp-table-pcluster/opp05} { -}; - -&{/opp-table-pcluster/opp06} { -}; - -&{/opp-table-pcluster/opp07} { -}; - -&{/opp-table-pcluster/opp08} { -}; - -&{/opp-table-pcluster/opp09} { -}; - -&{/opp-table-pcluster/opp10} { -}; - -&{/opp-table-pcluster/opp11} { -}; - -&{/opp-table-pcluster/opp12} { -}; - -&{/opp-table-pcluster/opp13} { -}; - -&{/opp-table-pcluster/opp14} { -}; - -&{/opp-table-pcluster/opp15} { -}; - -&{/opp-table-pcluster/opp16} { -}; - -&{/opp-table-pcluster/opp17} { -}; - -&{/opp-table-pcluster/opp18} { -}; - -&{/opp-table-pcluster/opp19} { -}; - -&{/opp-table-pcluster/opp20} { -}; - -&{/opp-table-pcluster/opp21} { -}; - -&{/clock-ref} { -}; - -&{/clock-405m} { -}; - -&{/timer} { - interrupt-parent = <&{/soc/interrupt-controller@280400000}>; -}; - -&{/soc/performance-controller@210e20000} { -}; - -&{/soc/performance-controller@211e20000} { -}; - -&{/soc/performance-controller@212e20000} { -}; - -&{/soc/power-management@280600000} { -}; - -&{/soc/power-management@280600000/power-controller@210} { -}; - -&{/soc/power-management@280600000/power-controller@238} { -}; - -&{/soc/power-management@280600000/power-controller@240} { -}; - -&{/soc/power-management@280600000/power-controller@248} { -}; - -&{/soc/power-management@280600000/power-controller@2f8} { - power-domains = <&{/soc/power-management@280600000/power-controller@240}>; -}; - -&{/soc/power-management@280600000/power-controller@410} { - power-domains = <&{/soc/power-management@280600000/power-controller@2f8}>; -}; - -&{/soc/power-management@280600000/power-controller@418} { - power-domains = <&{/soc/power-management@280600000/power-controller@2f8}>; -}; - -&{/soc/power-management@280600000/power-controller@420} { - power-domains = <&{/soc/power-management@280600000/power-controller@2f8} &{/soc/power-management@280600000/power-controller@248}>; -}; - -&{/soc/power-management@280600000/power-controller@2e8} { - power-domains = <&{/soc/power-management@280600000/power-controller@238}>; -}; - -&{/soc/power-management@280600000/power-controller@3f8} { - power-domains = <&{/soc/power-management@280600000/power-controller@2e8}>; -}; - -&{/soc/power-management@280600000/power-controller@400} { - power-domains = <&{/soc/power-management@280600000/power-controller@2e8}>; -}; - -&{/soc/power-management@280600000/power-controller@408} { - power-domains = <&{/soc/power-management@280600000/power-controller@2e8} &{/soc/power-management@280600000/power-controller@248}>; -}; - -&{/soc/power-management@280600000/power-controller@100} { -}; - -&{/soc/power-management@280600000/power-controller@128} { - power-domains = <&{/soc/power-management@280600000/power-controller@100}>; -}; - -&{/soc/power-management@280600000/power-controller@130} { - power-domains = <&{/soc/power-management@280600000/power-controller@100}>; -}; - -&{/soc/power-management@280600000/power-controller@1d8} { -}; - -&{/soc/power-management@280600000/power-controller@1e0} { - power-domains = <&{/soc/power-management@280600000/power-controller@1d8}>; -}; - -&{/soc/power-management@280600000/power-controller@1f0} { - power-domains = <&{/soc/power-management@280600000/power-controller@1d8}>; -}; - -&{/soc/power-management@280600000/power-controller@1f8} { - power-domains = <&{/soc/power-management@280600000/power-controller@1e0}>; -}; - -&{/soc/power-management@280600000/power-controller@208} { - power-domains = <&{/soc/power-management@280600000/power-controller@1e0}>; -}; - -&{/soc/power-management@280600000/power-controller@258} { - power-domains = <&{/soc/power-management@280600000/power-controller@1f8}>; -}; - -&{/soc/power-management@280600000/power-controller@280} { - power-domains = <&{/soc/power-management@280600000/power-controller@208}>; -}; - -&{/soc/power-management@280600000/power-controller@288} { - power-domains = <&{/soc/power-management@280600000/power-controller@208}>; -}; - -&{/soc/power-management@280600000/power-controller@290} { - power-domains = <&{/soc/power-management@280600000/power-controller@210}>; -}; - -&{/soc/power-management@280600000/power-controller@298} { - power-domains = <&{/soc/power-management@280600000/power-controller@210}>; -}; - -&{/soc/power-management@280600000/power-controller@2f0} { - power-domains = <&{/soc/power-management@280600000/power-controller@238}>; -}; - -&{/soc/power-management@280600000/power-controller@300} { - power-domains = <&{/soc/power-management@280600000/power-controller@240}>; -}; - -&{/soc/power-management@280600000/power-controller@338} { - power-domains = <&{/soc/power-management@280600000/power-controller@280}>; -}; - -&{/soc/power-management@280600000/power-controller@340} { - power-domains = <&{/soc/power-management@280600000/power-controller@280}>; -}; - -&{/soc/power-management@280600000/power-controller@348} { - power-domains = <&{/soc/power-management@280600000/power-controller@280} &{/soc/power-management@280600000/power-controller@248}>; -}; - -&{/soc/power-management@280600000/power-controller@350} { - power-domains = <&{/soc/power-management@280600000/power-controller@290}>; -}; - -&{/soc/power-management@280600000/power-controller@358} { - power-domains = <&{/soc/power-management@280600000/power-controller@290}>; -}; - -&{/soc/power-management@280600000/power-controller@360} { - power-domains = <&{/soc/power-management@280600000/power-controller@290} &{/soc/power-management@280600000/power-controller@248}>; -}; - -&{/soc/power-management@280600000/power-controller@270} { -}; - -&{/soc/power-management@280600000/power-controller@2d8} { -}; - -&{/soc/power-management@280900000} { -}; - -&{/soc/power-management@280900000/power-controller@2a8} { -}; - -&{/soc/power-management@280900000/power-controller@2b0} { -}; - -&{/soc/power-management@280900000/power-controller@2b8} { -}; - -&{/soc/power-management@280900000/power-controller@2c8} { -}; - -&{/soc/power-management@280900000/power-controller@2d0} { -}; - -&{/soc/power-management@280900000/power-controller@308} { -}; - -&{/soc/power-management@280900000/power-controller@350} { - power-domains = <&{/soc/power-management@280900000/power-controller@308}>; -}; - -&{/soc/power-management@280900000/power-controller@100} { -}; - -&{/soc/power-management@280900000/power-controller@108} { -}; - -&{/soc/power-management@280900000/power-controller@110} { -}; - -&{/soc/power-management@280900000/power-controller@118} { -}; - -&{/soc/power-management@280900000/power-controller@120} { -}; - -&{/soc/power-management@280900000/power-controller@128} { -}; - -&{/soc/power-management@280900000/power-controller@130} { -}; - -&{/soc/power-management@280900000/power-controller@138} { - power-domains = <&{/soc/power-management@280600000/power-controller@1d8}>; -}; - -&{/soc/power-management@280900000/power-controller@140} { - power-domains = <&{/soc/power-management@280900000/power-controller@138}>; -}; - -&{/soc/power-management@280900000/power-controller@148} { - power-domains = <&{/soc/power-management@280900000/power-controller@118} &{/soc/power-management@280900000/power-controller@138}>; -}; - -&{/soc/power-management@280900000/power-controller@150} { - power-domains = <&{/soc/power-management@280900000/power-controller@128} &{/soc/power-management@280900000/power-controller@140}>; -}; - -&{/soc/power-management@280900000/power-controller@158} { - power-domains = <&{/soc/power-management@280900000/power-controller@130} &{/soc/power-management@280900000/power-controller@140}>; -}; - -&{/soc/power-management@280900000/power-controller@178} { - power-domains = <&{/soc/power-management@280600000/power-controller@1d8}>; -}; - -&{/soc/power-management@280900000/power-controller@180} { - power-domains = <&{/soc/power-management@280900000/power-controller@178}>; -}; - -&{/soc/power-management@280900000/power-controller@188} { - power-domains = <&{/soc/power-management@280900000/power-controller@120} &{/soc/power-management@280900000/power-controller@138}>; -}; - -&{/soc/power-management@280900000/power-controller@190} { - power-domains = <&{/soc/power-management@280900000/power-controller@178}>; -}; - -&{/soc/power-management@280900000/power-controller@198} { - power-domains = <&{/soc/power-management@280900000/power-controller@180}>; -}; - -&{/soc/power-management@280900000/power-controller@1a8} { - power-domains = <&{/soc/power-management@280900000/power-controller@198}>; -}; - -&{/soc/power-management@280900000/power-controller@1b0} { - power-domains = <&{/soc/power-management@280900000/power-controller@148} &{/soc/power-management@280900000/power-controller@188}>; -}; - -&{/soc/power-management@280900000/power-controller@240} { - power-domains = <&{/soc/power-management@280900000/power-controller@1b0}>; -}; - -&{/soc/power-management@280900000/power-controller@248} { - power-domains = <&{/soc/power-management@280900000/power-controller@1b0}>; -}; - -&{/soc/power-management@280900000/power-controller@250} { - power-domains = <&{/soc/power-management@280900000/power-controller@1b0}>; -}; - -&{/soc/power-management@280900000/power-controller@258} { - power-domains = <&{/soc/power-management@280900000/power-controller@1b0}>; -}; - -&{/soc/power-management@280900000/power-controller@268} { - power-domains = <&{/soc/power-management@280900000/power-controller@240}>; -}; - -&{/soc/power-management@280900000/power-controller@270} { - power-domains = <&{/soc/power-management@280900000/power-controller@248}>; -}; - -&{/soc/power-management@280900000/power-controller@278} { - power-domains = <&{/soc/power-management@280900000/power-controller@250}>; -}; - -&{/soc/power-management@280900000/power-controller@280} { - power-domains = <&{/soc/power-management@280900000/power-controller@258}>; -}; - -&{/soc/power-management@280900000/power-controller@288} { - power-domains = <&{/soc/power-management@280600000/power-controller@1d8}>; -}; - -&{/soc/power-management@280900000/power-controller@290} { - power-domains = <&{/soc/power-management@280900000/power-controller@288}>; -}; - -&{/soc/power-management@280900000/power-controller@298} { - power-domains = <&{/soc/power-management@280900000/power-controller@288}>; -}; - -&{/soc/power-management@280900000/power-controller@2a0} { - power-domains = <&{/soc/power-management@280900000/power-controller@290}>; -}; - -&{/soc/power-management@280900000/power-controller@2c0} { - power-domains = <&{/soc/power-management@280900000/power-controller@290}>; -}; - -&{/soc/power-management@280900000/power-controller@2d8} { - power-domains = <&{/soc/power-management@280900000/power-controller@290}>; -}; - -&{/soc/power-management@280900000/power-controller@2e0} { - power-domains = <&{/soc/power-management@280900000/power-controller@290}>; -}; - -&{/soc/power-management@280900000/power-controller@2e8} { - power-domains = <&{/soc/power-management@280900000/power-controller@290}>; -}; - -&{/soc/power-management@280900000/power-controller@2f0} { - power-domains = <&{/soc/power-management@280900000/power-controller@290}>; -}; - -&{/soc/power-management@280900000/power-controller@2f8} { - power-domains = <&{/soc/power-management@280900000/power-controller@290}>; -}; - -&{/soc/power-management@280900000/power-controller@300} { - power-domains = <&{/soc/power-management@280900000/power-controller@290}>; -}; - -&{/soc/power-management@280900000/power-controller@310} { - power-domains = <&{/soc/power-management@280900000/power-controller@290}>; -}; - -&{/soc/power-management@280900000/power-controller@318} { - power-domains = <&{/soc/power-management@280900000/power-controller@290}>; -}; - -&{/soc/power-management@280900000/power-controller@330} { - power-domains = <&{/soc/power-management@280900000/power-controller@308}>; -}; - -&{/soc/power-management@280900000/power-controller@338} { - power-domains = <&{/soc/power-management@280900000/power-controller@308}>; -}; - -&{/soc/power-management@280900000/power-controller@340} { - power-domains = <&{/soc/power-management@280900000/power-controller@308}>; -}; - -&{/soc/power-management@280900000/power-controller@360} { - power-domains = <&{/soc/power-management@280900000/power-controller@310}>; -}; - -&{/soc/power-management@280900000/power-controller@398} { - power-domains = <&{/soc/power-management@280600000/power-controller@1d8}>; -}; - -&{/soc/power-management@280900000/power-controller@3a0} { - power-domains = <&{/soc/power-management@280900000/power-controller@398}>; -}; - -&{/soc/power-management@280900000/power-controller@3c8} { -}; - -&{/soc/power-management@280900000/power-controller@3f8} { -}; - -&{/soc/power-management@288300000} { -}; - -&{/soc/power-management@288300000/power-controller@160} { -}; - -&{/soc/power-management@288300000/power-controller@168} { - power-domains = <&{/soc/power-management@280600000/power-controller@210} &{/soc/power-management@288300000/power-controller@160}>; -}; - -&{/soc/power-management@288300000/power-controller@170} { - power-domains = <&{/soc/power-management@280600000/power-controller@210} &{/soc/power-management@288300000/power-controller@160}>; -}; - -&{/soc/power-management@288300000/power-controller@178} { -}; - -&{/soc/power-management@288300000/power-controller@188} { - power-domains = <&{/soc/power-management@280600000/power-controller@238} &{/soc/power-management@288300000/power-controller@178}>; -}; - -&{/soc/power-management@288300000/power-controller@180} { - power-domains = <&{/soc/power-management@280600000/power-controller@238} &{/soc/power-management@288300000/power-controller@178}>; -}; - -&{/soc/power-management@288300000/power-controller@190} { -}; - -&{/soc/power-management@288300000/power-controller@198} { - power-domains = <&{/soc/power-management@280600000/power-controller@240} &{/soc/power-management@288300000/power-controller@190}>; -}; - -&{/soc/power-management@288300000/power-controller@1a0} { - power-domains = <&{/soc/power-management@280600000/power-controller@240} &{/soc/power-management@288300000/power-controller@190}>; -}; - -&{/soc/power-management@288300000/power-controller@58} { -}; - -&{/soc/power-management@288300000/power-controller@98} { -}; - -&{/soc/power-management@288300000/power-controller@a0} { -}; - -&{/soc/power-management@288300000/power-controller@a8} { -}; - -&{/soc/power-management@288300000/power-controller@b0} { -}; - -&{/soc/power-management@288300000/power-controller@b8} { -}; - -&{/soc/power-management@288300000/power-controller@c0} { -}; - -&{/soc/power-management@288300000/power-controller@c8} { -}; - -&{/soc/power-management@288300000/power-controller@d0} { -}; - -&{/soc/power-management@288300000/power-controller@d8} { -}; - -&{/soc/power-management@288300000/power-controller@e0} { -}; - -&{/soc/power-management@288300000/power-controller@e8} { -}; - -&{/soc/power-management@288300000/power-controller@f0} { -}; - -&{/soc/power-management@288300000/power-controller@f8} { -}; - -&{/soc/power-management@288300000/power-controller@100} { -}; - -&{/soc/power-management@288300000/power-controller@108} { -}; - -&{/soc/power-management@288300000/power-controller@110} { -}; - -&{/soc/power-management@288300000/power-controller@148} { -}; - -&{/soc/power-management@288300000/power-controller@150} { - power-domains = <&{/soc/power-management@280600000/power-controller@208} &{/soc/power-management@288300000/power-controller@148}>; -}; - -&{/soc/power-management@288300000/power-controller@158} { - power-domains = <&{/soc/power-management@280600000/power-controller@208} &{/soc/power-management@288300000/power-controller@148}>; -}; - -&{/soc/iommu@2b2340000} { -}; - -&{/soc/iommu@2b2300000} { -}; - -&{/soc/mailbox@2b2e08000} { -}; - -&{/soc/pmc-metadata@286700000} { -}; - -&{/soc/dcp@2b2e00000} { - mboxes = <&{/soc/mailbox@2b2e08000}>; - iommus = <&{/soc/iommu@2b2340000} 0x17>; - apple,bw-scratch = <&{/soc/pmc-metadata@286700000} 0x0 0x5 0x2c000>; - phys = <&{/soc/phy@383000000} 0x6 &{/soc/phy@2ab000000} 0x6 &{/soc/phy@38b000000} 0x6 &{/soc/phy@2a3000000} 0x6>; - mux-controls = <&{/soc/mux@38324c000} 0x0 &{/soc/mux@2ab24c000} 0x0 &{/soc/mux@38b24c000} 0x0 &{/soc/mux@2a324c000} 0x0>; -}; - -&{/soc/dcp@2b2e00000/piodma} { - iommus = <&{/soc/iommu@2b2300000} 0x10>; -}; - -&{/soc/dcp@2b2e00000/typec-routes} { -}; - -&{/soc/dcp@2b2e00000/typec-routes/route@0} { -}; - -&{/soc/dcp@2b2e00000/typec-routes/route@0/port} { -}; - -&{/soc/dcp@2b2e00000/typec-routes/route@0/port/endpoint} { - remote-endpoint = <&{/soc/spmi@28a188000/usb-pd@8/connector/ports/port@2/endpoint}>; -}; - -&{/soc/dcp@2b2e00000/typec-routes/route@1} { -}; - -&{/soc/dcp@2b2e00000/typec-routes/route@1/port} { -}; - -&{/soc/dcp@2b2e00000/typec-routes/route@1/port/endpoint} { - remote-endpoint = <&{/soc/spmi@28a188000/usb-pd@a/connector/ports/port@2/endpoint}>; -}; - -&{/soc/dcp@2b2e00000/typec-routes/route@2} { -}; - -&{/soc/dcp@2b2e00000/typec-routes/route@2/port} { -}; - -&{/soc/dcp@2b2e00000/typec-routes/route@2/port/endpoint} { - remote-endpoint = <&{/soc/spmi@28a188000/usb-pd@6/connector/ports/port@2/endpoint}>; -}; - -&{/soc/dcp@2b2e00000/typec-routes/route@3} { -}; - -&{/soc/dcp@2b2e00000/typec-routes/route@3/port} { -}; - -&{/soc/dcp@2b2e00000/typec-routes/route@3/port/endpoint} { - remote-endpoint = <&{/soc/spmi@28a188000/usb-pd@c/connector/ports/port@2/endpoint}>; -}; - -&{/soc/dcp@2b2e00000/ports} { -}; - -&{/soc/dcp@2b2e00000/ports/port@0} { -}; - -&{/soc/dcp@2b2e00000/ports/port@0/endpoint} { - remote-endpoint = <&{/audio-controller-dispext0/ports/port@0/endpoint}>; -}; - -&{/soc/mailbox@2ab148000} { - status = "okay"; -}; - -&{/soc/phy@2ab000000} { - mboxes = <&{/soc/mailbox@2ab148000}>; - power-domains = <&{/soc/power-management@288300000/power-controller@160} &{/soc/power-management@280600000/power-controller@210} &{/soc/power-management@288300000/power-controller@170} &{/soc/power-management@288300000/power-controller@168}>; -}; - -&{/soc/phy@2ab000000/port} { -}; - -&{/soc/phy@2ab000000/port/endpoint} { - remote-endpoint = <&{/soc/spmi@28a188000/usb-pd@a/connector/ports/port@1/endpoint}>; -}; - -&{/soc/usb@2aa280000} { - iommus = <&{/soc/iommu@2aaf00000} 0x0 &{/soc/iommu@2aaf80000} 0x1>; - power-domains = <&{/soc/power-management@288300000/power-controller@168}>; - resets = <&{/soc/phy@2ab000000} 0x0>; - phys = <&{/soc/phy@2ab000000} 0x3 &{/soc/phy@2ab000000} 0x4>; -}; - -&{/soc/usb@2aa280000/port} { -}; - -&{/soc/usb@2aa280000/port/endpoint} { - remote-endpoint = <&{/soc/spmi@28a188000/usb-pd@a/connector/ports/port@0/endpoint}>; -}; - -&{/soc/iommu@2aaf00000} { - power-domains = <&{/soc/power-management@288300000/power-controller@168}>; -}; - -&{/soc/iommu@2aaf80000} { - power-domains = <&{/soc/power-management@288300000/power-controller@168}>; -}; - -&{/soc/interrupt-controller@280400000} { -}; - -&{/soc/serial@288e3c000} { -}; - -&{/soc/watchdog@28836c000} { - clocks = <&{/clock-ref}>; -}; - -&{/soc/mailbox@28c608000} { -}; - -&{/soc/pinctrl@290824000} { - gpio-ranges = <&{/soc/pinctrl@290824000} 0x0 0x0 0x55>; - interrupt-parent = <&{/soc/interrupt-controller@280400000}>; -}; - -&{/soc/pinctrl@290824000/acio0-lstx-pins} { -}; - -&{/soc/pinctrl@290824000/acio1-lstx-pins} { -}; - -&{/soc/pinctrl@290824000/acio3-lstx-pins} { -}; - -&{/soc/pinctrl@290824000/acio2-lstx-pins} { -}; - -&{/soc/smc@28c600000} { - mboxes = <&{/soc/mailbox@28c608000}>; -}; - -&{/soc/smc@28c600000/gpio-low} { -}; - -&{/soc/smc@28c600000/hwmon} { -}; - -&{/soc/smc@28c600000/hwmon/fan-F0Ac} { -}; - -&{/soc/smc@28c600000/hwmon/fan-F1Ac} { -}; - -&{/soc/smc@28c600000/reboot} { - nvmem-cells = <&{/soc/spmi@28a014000/pmic@e/nvmem-layout/shutdown-flag@f80f,3} &{/soc/spmi@28a014000/pmic@e/nvmem-layout/boot-stage@f801} &{/soc/spmi@28a014000/pmic@e/nvmem-layout/boot-error-count@f802,0} &{/soc/spmi@28a014000/pmic@e/nvmem-layout/panic-count@f802,4} &{/soc/spmi@28a014000/pmic@e/nvmem-layout/pm-setting@2001}>; -}; - -&{/soc/smc@28c600000/gpio} { -}; - -&{/soc/smc@28c600000/rtc} { - /delete-property/ wakeup-source; - /delete-property/ interrupts-extended; - nvmem-cells = <&{/soc/spmi@28a014000/pmic@e/nvmem-layout/rtc-offset@2100}>; - nvmem-cell-names = "rtc_offset"; -}; - -&{/soc/iommu@41dc50000} { -}; - -&{/soc/mailbox@419608000} { -}; - -&{/soc/nvme@45dcc0000} { - mboxes = <&{/soc/mailbox@419608000}>; - apple,sart = <&{/soc/iommu@41dc50000}>; -}; - -&{/soc/iommu@412000000} { -}; - -&{/soc/iommu@410000000} { -}; - -&{/soc/iommu@413000000} { -}; - -&{/soc/spmi@28a014000} { -}; - -&{/soc/spmi@28a014000/pmic@e} { -}; - -&{/soc/spmi@28a014000/pmic@e/nvmem-layout} { -}; - -&{/soc/spmi@28a014000/pmic@e/nvmem-layout/pm-setting@2001} { -}; - -&{/soc/spmi@28a014000/pmic@e/nvmem-layout/rtc-offset@2100} { -}; - -&{/soc/spmi@28a014000/pmic@e/nvmem-layout/boot-stage@f801} { -}; - -&{/soc/spmi@28a014000/pmic@e/nvmem-layout/boot-error-count@f802,0} { -}; - -&{/soc/spmi@28a014000/pmic@e/nvmem-layout/panic-count@f802,4} { -}; - -&{/soc/spmi@28a014000/pmic@e/nvmem-layout/shutdown-flag@f80f,3} { -}; - -&{/soc/power-management@286806000} { -}; - -&{/soc/power-management@286806000/performance-controller@1} { - apple,smc = <&smc>; -}; - -&{/soc/reset-controller@280620000} { - status = "okay"; -}; - -&{/soc/mailbox@383148000} { -}; - -&{/soc/phy@383000000} { - mboxes = <&{/soc/mailbox@383148000}>; - power-domains = <&{/soc/power-management@288300000/power-controller@178} &{/soc/power-management@280600000/power-controller@238} &{/soc/power-management@288300000/power-controller@188} &{/soc/power-management@288300000/power-controller@180}>; -}; - -&{/soc/phy@383000000/port} { -}; - -&{/soc/phy@383000000/port/endpoint} { - remote-endpoint = <&{/soc/spmi@28a188000/usb-pd@8/connector/ports/port@1/endpoint}>; -}; - -&{/soc/mux@38324c000} { - power-domains = <&{/soc/power-management@288300000/power-controller@178} &{/soc/power-management@280600000/power-controller@238}>; -}; - -&{/soc/spmi@28a188000} { - status = "okay"; -}; - -&{/soc/spmi@28a188000/usb-pd@c} { -}; - -&{/soc/spmi@28a188000/usb-pd@c/connector} { -}; - -&{/soc/spmi@28a188000/usb-pd@c/connector/ports} { -}; - -&{/soc/spmi@28a188000/usb-pd@c/connector/ports/port@0} { -}; - -&{/soc/spmi@28a188000/usb-pd@c/connector/ports/port@0/endpoint} { - remote-endpoint = <&{/soc/usb@2a2280000/port/endpoint}>; -}; - -&{/soc/spmi@28a188000/usb-pd@c/connector/ports/port@1} { -}; - -&{/soc/spmi@28a188000/usb-pd@c/connector/ports/port@1/endpoint} { - remote-endpoint = <&{/soc/phy@2a3000000/port/endpoint}>; -}; - -&{/soc/spmi@28a188000/usb-pd@c/connector/ports/port@3} { -}; - -&{/soc/spmi@28a188000/usb-pd@c/connector/ports/port@3/endpoint} { - remote-endpoint = <&{/soc/acio@2a1ac0000/ports/port@1/endpoint}>; -}; - -&{/soc/spmi@28a188000/usb-pd@c/connector/ports/port@2} { -}; - -&{/soc/spmi@28a188000/usb-pd@c/connector/ports/port@2/endpoint} { - remote-endpoint = <&{/soc/dcp@2b2e00000/typec-routes/route@3/port/endpoint}>; -}; - -&{/soc/spmi@28a188000/usb-pd@a} { -}; - -&{/soc/spmi@28a188000/usb-pd@a/connector} { -}; - -&{/soc/spmi@28a188000/usb-pd@a/connector/ports} { -}; - -&{/soc/spmi@28a188000/usb-pd@a/connector/ports/port@0} { -}; - -&{/soc/spmi@28a188000/usb-pd@a/connector/ports/port@0/endpoint} { - remote-endpoint = <&{/soc/usb@2aa280000/port/endpoint}>; -}; - -&{/soc/spmi@28a188000/usb-pd@a/connector/ports/port@1} { -}; - -&{/soc/spmi@28a188000/usb-pd@a/connector/ports/port@1/endpoint} { - remote-endpoint = <&{/soc/phy@2ab000000/port/endpoint}>; -}; - -&{/soc/spmi@28a188000/usb-pd@a/connector/ports/port@3} { -}; - -&{/soc/spmi@28a188000/usb-pd@a/connector/ports/port@3/endpoint} { - remote-endpoint = <&{/soc/acio@2a9ac0000/ports/port@1/endpoint}>; -}; - -&{/soc/spmi@28a188000/usb-pd@a/connector/ports/port@2} { -}; - -&{/soc/spmi@28a188000/usb-pd@a/connector/ports/port@2/endpoint} { - remote-endpoint = <&{/soc/dcp@2b2e00000/typec-routes/route@1/port/endpoint}>; -}; - -&{/soc/spmi@28a188000/usb-pd@8} { -}; - -&{/soc/spmi@28a188000/usb-pd@8/connector} { -}; - -&{/soc/spmi@28a188000/usb-pd@8/connector/ports} { -}; - -&{/soc/spmi@28a188000/usb-pd@8/connector/ports/port@0} { -}; - -&{/soc/spmi@28a188000/usb-pd@8/connector/ports/port@0/endpoint} { - remote-endpoint = <&{/soc/usb@382280000/port/endpoint}>; -}; - -&{/soc/spmi@28a188000/usb-pd@8/connector/ports/port@1} { -}; - -&{/soc/spmi@28a188000/usb-pd@8/connector/ports/port@1/endpoint} { - remote-endpoint = <&{/soc/phy@383000000/port/endpoint}>; -}; - -&{/soc/spmi@28a188000/usb-pd@8/connector/ports/port@3} { -}; - -&{/soc/spmi@28a188000/usb-pd@8/connector/ports/port@3/endpoint} { - remote-endpoint = <&{/soc/acio@381ac0000/ports/port@1/endpoint}>; -}; - -&{/soc/spmi@28a188000/usb-pd@8/connector/ports/port@2} { -}; - -&{/soc/spmi@28a188000/usb-pd@8/connector/ports/port@2/endpoint} { - remote-endpoint = <&{/soc/dcp@2b2e00000/typec-routes/route@0/port/endpoint}>; -}; - -&{/soc/spmi@28a188000/usb-pd@6} { -}; - -&{/soc/spmi@28a188000/usb-pd@6/connector} { -}; - -&{/soc/spmi@28a188000/usb-pd@6/connector/ports} { -}; - -&{/soc/spmi@28a188000/usb-pd@6/connector/ports/port@0} { -}; - -&{/soc/spmi@28a188000/usb-pd@6/connector/ports/port@0/endpoint} { - remote-endpoint = <&{/soc/usb@38a280000/port/endpoint}>; -}; - -&{/soc/spmi@28a188000/usb-pd@6/connector/ports/port@1} { -}; - -&{/soc/spmi@28a188000/usb-pd@6/connector/ports/port@1/endpoint} { - remote-endpoint = <&{/soc/phy@38b000000/port/endpoint}>; -}; - -&{/soc/spmi@28a188000/usb-pd@6/connector/ports/port@3} { -}; - -&{/soc/spmi@28a188000/usb-pd@6/connector/ports/port@3/endpoint} { - remote-endpoint = <&{/soc/acio@389ac0000/ports/port@1/endpoint}>; -}; - -&{/soc/spmi@28a188000/usb-pd@6/connector/ports/port@2} { -}; - -&{/soc/spmi@28a188000/usb-pd@6/connector/ports/port@2/endpoint} { - remote-endpoint = <&{/soc/dcp@2b2e00000/typec-routes/route@2/port/endpoint}>; -}; - -&{/soc/usb@382280000} { - iommus = <&{/soc/iommu@382f00000} 0x0 &{/soc/iommu@382f80000} 0x1>; - power-domains = <&{/soc/power-management@288300000/power-controller@180}>; - resets = <&{/soc/phy@383000000} 0x0>; - phys = <&{/soc/phy@383000000} 0x3 &{/soc/phy@383000000} 0x4>; -}; - -&{/soc/usb@382280000/port} { -}; - -&{/soc/usb@382280000/port/endpoint} { - remote-endpoint = <&{/soc/spmi@28a188000/usb-pd@8/connector/ports/port@0/endpoint}>; -}; - -&{/soc/iommu@382f00000} { - power-domains = <&{/soc/power-management@288300000/power-controller@180}>; -}; - -&{/soc/iommu@382f80000} { - power-domains = <&{/soc/power-management@288300000/power-controller@180}>; -}; - -&{/soc/mailbox@38b148000} { - status = "okay"; -}; - -&{/soc/phy@38b000000} { - mboxes = <&{/soc/mailbox@38b148000}>; - power-domains = <&{/soc/power-management@288300000/power-controller@190} &{/soc/power-management@280600000/power-controller@240} &{/soc/power-management@288300000/power-controller@1a0} &{/soc/power-management@288300000/power-controller@198}>; -}; - -&{/soc/phy@38b000000/port} { -}; - -&{/soc/phy@38b000000/port/endpoint} { - remote-endpoint = <&{/soc/spmi@28a188000/usb-pd@6/connector/ports/port@1/endpoint}>; -}; - -&{/soc/usb@38a280000} { - iommus = <&{/soc/iommu@38af00000} 0x0 &{/soc/iommu@38af80000} 0x1>; - power-domains = <&{/soc/power-management@288300000/power-controller@198}>; - resets = <&{/soc/phy@38b000000} 0x0>; - phys = <&{/soc/phy@38b000000} 0x3 &{/soc/phy@38b000000} 0x4>; -}; - -&{/soc/usb@38a280000/port} { -}; - -&{/soc/usb@38a280000/port/endpoint} { - remote-endpoint = <&{/soc/spmi@28a188000/usb-pd@6/connector/ports/port@0/endpoint}>; -}; - -&{/soc/iommu@38af00000} { - power-domains = <&{/soc/power-management@288300000/power-controller@198}>; -}; - -&{/soc/iommu@38af80000} { - power-domains = <&{/soc/power-management@288300000/power-controller@198}>; -}; - -&{/soc/spmi@28a1c8000} { -}; - -&{/soc/pinctrl@29c000000} { - gpio-ranges = <&{/soc/pinctrl@29c000000} 0x0 0x0 0xdd>; - interrupt-parent = <&{/soc/interrupt-controller@280400000}>; -}; - -&{/soc/i2c@505014000} { - clocks = <&{/clock-ref}>; - interrupt-parent = <&{/soc/interrupt-controller@280400000}>; - power-domains = <&{/soc/power-management@280900000/power-controller@2c8}>; -}; - -&{/soc/i2c@505014000/codec@38} { - shutdown-gpios = <&{/soc/pinctrl@29c000000} 0x6b 0x0>; - interrupts-extended = <&{/soc/pinctrl@29c000000} 0x6a 0x8>; -}; - -&{/soc/i2c@505018000} { - clocks = <&{/clock-ref}>; - interrupt-parent = <&{/soc/interrupt-controller@280400000}>; - power-domains = <&{/soc/power-management@280900000/power-controller@2d0}>; -}; - -&{/soc/i2c@505018000/codec@4b} { - reset-gpios = <&{/soc/pinctrl@29c000000} 0x8b 0x0>; - interrupts-extended = <&{/soc/pinctrl@29c000000} 0x86 0x8>; -}; - -&{/soc/pwm@505040000} { - clocks = <&{/clock-ref}>; - power-domains = <&{/soc/power-management@280900000/power-controller@2a8}>; -}; - -&{/soc/pwm@505044000} { - clocks = <&{/clock-ref}>; - power-domains = <&{/soc/power-management@280900000/power-controller@2b0}>; -}; - -&{/soc/pwm@505048000} { - clocks = <&{/clock-ref}>; - power-domains = <&{/soc/power-management@280900000/power-controller@2b8}>; -}; - -&{/soc/spi@505118000} { - clocks = <&{/clock-405m}>; - interrupt-parent = <&{/soc/interrupt-controller@280400000}>; - power-domains = <&{/soc/power-management@280900000/power-controller@350}>; -}; - -&{/soc/spi@505118000/flash@0} { -}; - -&{/soc/spi@505118000/flash@0/partitions} { -}; - -&{/soc/spi@505118000/flash@0/partitions/partition@700000} { -}; - -&{/soc/mailbox@290608000} { -}; - -&{/soc/iommu@290fc0000} { - interrupt-parent = <&{/soc/interrupt-controller@280400000}>; -}; - -&{/soc/dma-controller@293800000} { - interrupts-extended = <&{/soc/interrupt-controller@280400000} 0x0 0x0 0x27d 0x4 0 0 0>; - iommus = <&{/soc/iommu@290fc0000} 0x8>; -}; - -&{/soc/aop@290c00000} { - mboxes = <&{/soc/mailbox@290608000}>; - iommus = <&{/soc/iommu@290fc0000} 0x0>; -}; - -&{/soc/aop@290c00000/audio} { - dmas = <&{/soc/dma-controller@293800000} 0x4 &{/soc/dma-controller@293800000} 0x5 &{/soc/dma-controller@293800000} 0x0 &{/soc/dma-controller@293800000} 0x1>; -}; - -&{/soc/mailbox@2a1108000} { -}; - -&{/soc/acio@2a1ac0000} { - mboxes = <&{/soc/mailbox@2a1108000}>; - resets = <&{/soc/reset-controller@280620000} 0x0>; - power-domains = <&{/soc/power-management@280600000/power-controller@280} &{/soc/power-management@280600000/power-controller@338} &{/soc/power-management@280600000/power-controller@340} &{/soc/power-management@280600000/power-controller@348}>; - pinctrl-0 = <&{/soc/pinctrl@290824000/acio0-lstx-pins}>; - lstx-gpios = <&{/soc/pinctrl@290824000} 0x4d 0x0>; - apple,tunable-pcie-adapter = <0x1008 0x6 0x6>; - apple,tunable-router-ap-fw = <0x8 0xff2 0x482>; -}; - -&{/soc/acio@2a1ac0000/iommu@a80000} { - power-domains = <&{/soc/power-management@280600000/power-controller@280}>; -}; - -&{/soc/acio@2a1ac0000/nhi@f00000} { - iommus = <&{/soc/acio@2a1ac0000/iommu@a80000} 0x0 &{/soc/acio@2a1ac0000/iommu@a80000} 0x1 &{/soc/acio@2a1ac0000/iommu@a80000} 0x2 &{/soc/acio@2a1ac0000/iommu@a80000} 0x3 &{/soc/acio@2a1ac0000/iommu@a80000} 0x4 &{/soc/acio@2a1ac0000/iommu@a80000} 0x5 &{/soc/acio@2a1ac0000/iommu@a80000} 0x6 &{/soc/acio@2a1ac0000/iommu@a80000} 0x7 &{/soc/acio@2a1ac0000/iommu@a80000} 0x8 &{/soc/acio@2a1ac0000/iommu@a80000} 0x9 &{/soc/acio@2a1ac0000/iommu@a80000} 0xa &{/soc/acio@2a1ac0000/iommu@a80000} 0xb &{/soc/acio@2a1ac0000/iommu@a80000} 0x10 &{/soc/acio@2a1ac0000/iommu@a80000} 0x11 &{/soc/acio@2a1ac0000/iommu@a80000} 0x12 &{/soc/acio@2a1ac0000/iommu@a80000} 0x13 &{/soc/acio@2a1ac0000/iommu@a80000} 0x14 &{/soc/acio@2a1ac0000/iommu@a80000} 0x15 &{/soc/acio@2a1ac0000/iommu@a80000} 0x16 &{/soc/acio@2a1ac0000/iommu@a80000} 0x17 &{/soc/acio@2a1ac0000/iommu@a80000} 0x18 &{/soc/acio@2a1ac0000/iommu@a80000} 0x19 &{/soc/acio@2a1ac0000/iommu@a80000} 0x1a &{/soc/acio@2a1ac0000/iommu@a80000} 0x1b>; -}; - -&{/soc/acio@2a1ac0000/ports} { -}; - -&{/soc/acio@2a1ac0000/ports/port@1} { -}; - -&{/soc/acio@2a1ac0000/ports/port@1/endpoint} { - remote-endpoint = <&{/soc/spmi@28a188000/usb-pd@c/connector/ports/port@3/endpoint}>; -}; - -&{/soc/mailbox@2a9108000} { -}; - -&{/soc/acio@2a9ac0000} { - mboxes = <&{/soc/mailbox@2a9108000}>; - resets = <&{/soc/reset-controller@280620000} 0x1>; - power-domains = <&{/soc/power-management@280600000/power-controller@290} &{/soc/power-management@280600000/power-controller@350} &{/soc/power-management@280600000/power-controller@358} &{/soc/power-management@280600000/power-controller@360}>; - pinctrl-0 = <&{/soc/pinctrl@290824000/acio1-lstx-pins}>; - lstx-gpios = <&{/soc/pinctrl@290824000} 0x4f 0x0>; - apple,tunable-pcie-adapter = <0x1008 0x6 0x6>; - apple,tunable-router-ap-fw = <0x8 0xff2 0x482>; -}; - -&{/soc/acio@2a9ac0000/iommu@a80000} { - power-domains = <&{/soc/power-management@280600000/power-controller@290}>; -}; - -&{/soc/acio@2a9ac0000/nhi@f00000} { - iommus = <&{/soc/acio@2a9ac0000/iommu@a80000} 0x0 &{/soc/acio@2a9ac0000/iommu@a80000} 0x1 &{/soc/acio@2a9ac0000/iommu@a80000} 0x2 &{/soc/acio@2a9ac0000/iommu@a80000} 0x3 &{/soc/acio@2a9ac0000/iommu@a80000} 0x4 &{/soc/acio@2a9ac0000/iommu@a80000} 0x5 &{/soc/acio@2a9ac0000/iommu@a80000} 0x6 &{/soc/acio@2a9ac0000/iommu@a80000} 0x7 &{/soc/acio@2a9ac0000/iommu@a80000} 0x8 &{/soc/acio@2a9ac0000/iommu@a80000} 0x9 &{/soc/acio@2a9ac0000/iommu@a80000} 0xa &{/soc/acio@2a9ac0000/iommu@a80000} 0xb &{/soc/acio@2a9ac0000/iommu@a80000} 0x10 &{/soc/acio@2a9ac0000/iommu@a80000} 0x11 &{/soc/acio@2a9ac0000/iommu@a80000} 0x12 &{/soc/acio@2a9ac0000/iommu@a80000} 0x13 &{/soc/acio@2a9ac0000/iommu@a80000} 0x14 &{/soc/acio@2a9ac0000/iommu@a80000} 0x15 &{/soc/acio@2a9ac0000/iommu@a80000} 0x16 &{/soc/acio@2a9ac0000/iommu@a80000} 0x17 &{/soc/acio@2a9ac0000/iommu@a80000} 0x18 &{/soc/acio@2a9ac0000/iommu@a80000} 0x19 &{/soc/acio@2a9ac0000/iommu@a80000} 0x1a &{/soc/acio@2a9ac0000/iommu@a80000} 0x1b>; -}; - -&{/soc/acio@2a9ac0000/ports} { -}; - -&{/soc/acio@2a9ac0000/ports/port@1} { -}; - -&{/soc/acio@2a9ac0000/ports/port@1/endpoint} { - remote-endpoint = <&{/soc/spmi@28a188000/usb-pd@a/connector/ports/port@3/endpoint}>; -}; - -&{/soc/mailbox@389108000} { -}; - -&{/soc/acio@389ac0000} { - mboxes = <&{/soc/mailbox@389108000}>; - resets = <&{/soc/reset-controller@280620000} 0x3>; - power-domains = <&{/soc/power-management@280600000/power-controller@2f8} &{/soc/power-management@280600000/power-controller@410} &{/soc/power-management@280600000/power-controller@418} &{/soc/power-management@280600000/power-controller@420}>; - pinctrl-0 = <&{/soc/pinctrl@290824000/acio3-lstx-pins}>; - lstx-gpios = <&{/soc/pinctrl@290824000} 0x53 0x0>; - apple,tunable-pcie-adapter = <0x1008 0x6 0x6>; - apple,tunable-router-ap-fw = <0x8 0xff2 0x482>; -}; - -&{/soc/acio@389ac0000/iommu@a80000} { - power-domains = <&{/soc/power-management@280600000/power-controller@2f8}>; -}; - -&{/soc/acio@389ac0000/nhi@f00000} { - iommus = <&{/soc/acio@389ac0000/iommu@a80000} 0x0 &{/soc/acio@389ac0000/iommu@a80000} 0x1 &{/soc/acio@389ac0000/iommu@a80000} 0x2 &{/soc/acio@389ac0000/iommu@a80000} 0x3 &{/soc/acio@389ac0000/iommu@a80000} 0x4 &{/soc/acio@389ac0000/iommu@a80000} 0x5 &{/soc/acio@389ac0000/iommu@a80000} 0x6 &{/soc/acio@389ac0000/iommu@a80000} 0x7 &{/soc/acio@389ac0000/iommu@a80000} 0x8 &{/soc/acio@389ac0000/iommu@a80000} 0x9 &{/soc/acio@389ac0000/iommu@a80000} 0xa &{/soc/acio@389ac0000/iommu@a80000} 0xb &{/soc/acio@389ac0000/iommu@a80000} 0x10 &{/soc/acio@389ac0000/iommu@a80000} 0x11 &{/soc/acio@389ac0000/iommu@a80000} 0x12 &{/soc/acio@389ac0000/iommu@a80000} 0x13 &{/soc/acio@389ac0000/iommu@a80000} 0x14 &{/soc/acio@389ac0000/iommu@a80000} 0x15 &{/soc/acio@389ac0000/iommu@a80000} 0x16 &{/soc/acio@389ac0000/iommu@a80000} 0x17 &{/soc/acio@389ac0000/iommu@a80000} 0x18 &{/soc/acio@389ac0000/iommu@a80000} 0x19 &{/soc/acio@389ac0000/iommu@a80000} 0x1a &{/soc/acio@389ac0000/iommu@a80000} 0x1b>; -}; - -&{/soc/acio@389ac0000/ports} { -}; - -&{/soc/acio@389ac0000/ports/port@1} { -}; - -&{/soc/acio@389ac0000/ports/port@1/endpoint} { - remote-endpoint = <&{/soc/spmi@28a188000/usb-pd@6/connector/ports/port@3/endpoint}>; -}; - -&{/soc/mailbox@294608000} { -}; - -&{/soc/iommu@294800000} { - /delete-property/ status; -}; - -&{/soc/mtp@294600000} { - mboxes = <&{/soc/mailbox@294608000}>; - iommus = <&{/soc/iommu@294800000} 0x0>; -}; - -&{/soc/fifo@294b14000} { -}; - -&{/soc/mailbox@381108000} { -}; - -&{/soc/acio@381ac0000} { - mboxes = <&{/soc/mailbox@381108000}>; - resets = <&{/soc/reset-controller@280620000} 0x2>; - power-domains = <&{/soc/power-management@280600000/power-controller@2e8} &{/soc/power-management@280600000/power-controller@3f8} &{/soc/power-management@280600000/power-controller@400} &{/soc/power-management@280600000/power-controller@408}>; - pinctrl-0 = <&{/soc/pinctrl@290824000/acio2-lstx-pins}>; - lstx-gpios = <&{/soc/pinctrl@290824000} 0x51 0x0>; - apple,tunable-pcie-adapter = <0x1008 0x6 0x6>; - apple,tunable-router-ap-fw = <0x8 0xff2 0x482>; -}; - -&{/soc/acio@381ac0000/iommu@a80000} { - power-domains = <&{/soc/power-management@280600000/power-controller@2e8}>; -}; - -&{/soc/acio@381ac0000/nhi@f00000} { - iommus = <&{/soc/acio@381ac0000/iommu@a80000} 0x0 &{/soc/acio@381ac0000/iommu@a80000} 0x1 &{/soc/acio@381ac0000/iommu@a80000} 0x2 &{/soc/acio@381ac0000/iommu@a80000} 0x3 &{/soc/acio@381ac0000/iommu@a80000} 0x4 &{/soc/acio@381ac0000/iommu@a80000} 0x5 &{/soc/acio@381ac0000/iommu@a80000} 0x6 &{/soc/acio@381ac0000/iommu@a80000} 0x7 &{/soc/acio@381ac0000/iommu@a80000} 0x8 &{/soc/acio@381ac0000/iommu@a80000} 0x9 &{/soc/acio@381ac0000/iommu@a80000} 0xa &{/soc/acio@381ac0000/iommu@a80000} 0xb &{/soc/acio@381ac0000/iommu@a80000} 0x10 &{/soc/acio@381ac0000/iommu@a80000} 0x11 &{/soc/acio@381ac0000/iommu@a80000} 0x12 &{/soc/acio@381ac0000/iommu@a80000} 0x13 &{/soc/acio@381ac0000/iommu@a80000} 0x14 &{/soc/acio@381ac0000/iommu@a80000} 0x15 &{/soc/acio@381ac0000/iommu@a80000} 0x16 &{/soc/acio@381ac0000/iommu@a80000} 0x17 &{/soc/acio@381ac0000/iommu@a80000} 0x18 &{/soc/acio@381ac0000/iommu@a80000} 0x19 &{/soc/acio@381ac0000/iommu@a80000} 0x1a &{/soc/acio@381ac0000/iommu@a80000} 0x1b>; -}; - -&{/soc/acio@381ac0000/ports} { -}; - -&{/soc/acio@381ac0000/ports/port@1} { -}; - -&{/soc/acio@381ac0000/ports/port@1/endpoint} { - remote-endpoint = <&{/soc/spmi@28a188000/usb-pd@8/connector/ports/port@3/endpoint}>; -}; - -&{/soc/sep@502600000} { - mboxes = <&{/soc/mailbox@502608000}>; - iommus = <&{/soc/iommu@500b80000} 0x0>; - power-domains = <&{/soc/power-management@280900000/power-controller@298}>; - clocks = <&{/soc/clock-controller@280600000} 0x1bf>; -}; - -&{/soc/mailbox@502608000} { -}; - -&{/soc/iommu@500b80000} { -}; - -&{/soc/mailbox@2a3148000} { -}; - -&{/soc/phy@2a3000000} { - mboxes = <&{/soc/mailbox@2a3148000}>; - power-domains = <&{/soc/power-management@288300000/power-controller@148} &{/soc/power-management@280600000/power-controller@208} &{/soc/power-management@288300000/power-controller@158} &{/soc/power-management@288300000/power-controller@150}>; -}; - -&{/soc/phy@2a3000000/port} { -}; - -&{/soc/phy@2a3000000/port/endpoint} { - remote-endpoint = <&{/soc/spmi@28a188000/usb-pd@c/connector/ports/port@1/endpoint}>; -}; - -&{/pcie@1cb0000000} { - msi-parent = <&{/pcie@1cb0000000}>; - iommu-map = <0x100 &{/soc/iommu@412000000} 0x1 0x1 0x200 &{/soc/iommu@413000000} 0x1 0x1 0x300 &{/soc/iommu@410000000} 0x1 0x3 0x400 &{/soc/iommu@411000000} 0x1 0x1>; -}; - -&{/pcie@1cb0000000/pci@2,0} { - interrupt-map = <0x0 0x0 0x0 0x1 &{/pcie@1cb0000000/pci@2,0} 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x2 &{/pcie@1cb0000000/pci@2,0} 0x0 0x0 0x0 0x1 0x0 0x0 0x0 0x3 &{/pcie@1cb0000000/pci@2,0} 0x0 0x0 0x0 0x2 0x0 0x0 0x0 0x4 &{/pcie@1cb0000000/pci@2,0} 0x0 0x0 0x0 0x3>; -}; - -&{/pcie@1cb0000000/pci@2,0/ethernet@0,0} { -}; - -&{/pcie@1cb0000000/pci@3,0} { - interrupt-map = <0x0 0x0 0x0 0x1 &{/pcie@1cb0000000/pci@3,0} 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x2 &{/pcie@1cb0000000/pci@3,0} 0x0 0x0 0x0 0x1 0x0 0x0 0x0 0x3 &{/pcie@1cb0000000/pci@3,0} 0x0 0x0 0x0 0x2 0x0 0x0 0x0 0x4 &{/pcie@1cb0000000/pci@3,0} 0x0 0x0 0x0 0x3>; -}; - -&{/pcie@1cb0000000/pci@0,0} { - reset-gpios = <&{/soc/pinctrl@29c000000} 0x50 0x1>; - interrupt-map = <0x0 0x0 0x0 0x1 &{/pcie@1cb0000000/pci@0,0} 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x2 &{/pcie@1cb0000000/pci@0,0} 0x0 0x0 0x0 0x1 0x0 0x0 0x0 0x3 &{/pcie@1cb0000000/pci@0,0} 0x0 0x0 0x0 0x2 0x0 0x0 0x0 0x4 &{/pcie@1cb0000000/pci@0,0} 0x0 0x0 0x0 0x3>; -}; - -&{/pcie@1cb0000000/pci@0,0/control@0,0} { -}; - -&{/pcie@1cb0000000/pci@0,0/wifi@0,1} { -}; - -&{/pcie@1cb0000000/pci@0,0/bluetooth@0,2} { -}; - -&{/pcie@1cb0000000/pci@1,0} { - interrupt-map = <0x0 0x0 0x0 0x1 &{/pcie@1cb0000000/pci@1,0} 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x2 &{/pcie@1cb0000000/pci@1,0} 0x0 0x0 0x0 0x1 0x0 0x0 0x0 0x3 &{/pcie@1cb0000000/pci@1,0} 0x0 0x0 0x0 0x2 0x0 0x0 0x0 0x4 &{/pcie@1cb0000000/pci@1,0} 0x0 0x0 0x0 0x3>; -}; - -&{/pcie@1cb0000000/pci@1,0/sdcard@0,0} { -}; - -&{/aliases} { - serial0 = "/soc/serial@288e3c000"; - nvram = "/soc/spi@505118000/flash@0/partitions/partition@700000"; - atcphy0 = "/soc/phy@2a3000000"; - atcphy1 = "/soc/phy@2ab000000"; - atcphy2 = "/soc/phy@383000000"; - atcphy3 = "/soc/phy@38b000000"; - usb4-0-acio = "/soc/acio@2a1ac0000"; - usb4-0-nhi = "/soc/acio@2a1ac0000/nhi@f00000"; - usb4-1-acio = "/soc/acio@2a9ac0000"; - usb4-1-nhi = "/soc/acio@2a9ac0000/nhi@f00000"; - usb4-2-acio = "/soc/acio@381ac0000"; - usb4-2-nhi = "/soc/acio@381ac0000/nhi@f00000"; - usb4-3-acio = "/soc/acio@389ac0000"; - usb4-3-nhi = "/soc/acio@389ac0000/nhi@f00000"; -}; - -&{/chosen} { - /delete-property/ bootargs; -}; - -&{/soc/power-management@2380600000} { -}; - -&{/soc/power-management@2380600000/power-controller@1b0} { -}; - -&{/soc/power-management@2380600000/power-controller@1d8} { - power-domains = <&{/soc/power-management@2380600000/power-controller@1b0}>; -}; - -&{/soc/power-management@2380600000/power-controller@1a0} { -}; - -&{/soc/power-management@2380600000/power-controller@1a8} { - power-domains = <&{/soc/power-management@2380600000/power-controller@1a0}>; -}; - -&{/soc/power-management@2380600000/power-controller@1b8} { - power-domains = <&{/soc/power-management@2380600000/power-controller@1a0}>; -}; - -&{/soc/power-management@2380600000/power-controller@1c0} { - power-domains = <&{/soc/power-management@2380600000/power-controller@1a8}>; -}; - -&{/soc/power-management@2380600000/power-controller@1c8} { - power-domains = <&{/soc/power-management@2380600000/power-controller@1a8}>; -}; - -&{/soc/power-management@2380600000/power-controller@1d0} { - power-domains = <&{/soc/power-management@2380600000/power-controller@1a8}>; -}; - -&{/soc/power-management@2380600000/power-controller@1e0} { - power-domains = <&{/soc/power-management@2380600000/power-controller@1b0}>; -}; - -&{/soc/power-management@2380600000/power-controller@1f0} { - power-domains = <&{/soc/power-management@2380600000/power-controller@1b8}>; -}; - -&{/soc/power-management@2380600000/power-controller@1f8} { - power-domains = <&{/soc/power-management@2380600000/power-controller@1b8}>; -}; - -&{/soc/power-management@2380600000/power-controller@200} { - power-domains = <&{/soc/power-management@2380600000/power-controller@1c8}>; -}; - -&{/soc/power-management@2380600000/power-controller@208} { - power-domains = <&{/soc/power-management@2380600000/power-controller@1f8}>; -}; - -&{/soc/power-management@2380600000/power-controller@8000} { - power-domains = <&{/soc/power-management@2380600000/power-controller@1c0}>; -}; - -&{/soc/power-management@2380600000/power-controller@8008} { - power-domains = <&{/soc/power-management@2380600000/power-controller@8000}>; -}; - -&{/soc/power-management@2380600000/power-controller@8010} { - power-domains = <&{/soc/power-management@2380600000/power-controller@8000}>; -}; - -&{/soc/power-management@2380600000/power-controller@8018} { - power-domains = <&{/soc/power-management@2380600000/power-controller@8000}>; -}; - -&{/soc/power-management@2380600000/power-controller@8020} { - power-domains = <&{/soc/power-management@2380600000/power-controller@8018}>; -}; - -&{/soc/power-management@2380600000/power-controller@8028} { - power-domains = <&{/soc/power-management@2380600000/power-controller@1f0}>; -}; - -&{/soc/power-management@2380600000/power-controller@8030} { - power-domains = <&{/soc/power-management@2380600000/power-controller@8028}>; -}; - -&{/soc/power-management@2380600000/power-controller@8038} { - power-domains = <&{/soc/power-management@2380600000/power-controller@8028}>; -}; - -&{/soc/power-management@2380600000/power-controller@8040} { - power-domains = <&{/soc/power-management@2380600000/power-controller@8028}>; -}; - -&{/soc/power-management@2380600000/power-controller@8048} { - power-domains = <&{/soc/power-management@2380600000/power-controller@8040}>; -}; - -&{/soc/iommu@2309020000} { - power-domains = <&{/soc/power-management@2380600000/power-controller@1d8}>; - status = "disabled"; -}; - -&{/soc@2300000000/power-management@2300e80000} { -}; - -&{/soc@2300000000/power-management@2300e80000/power-controller@0} { -}; - -&{/soc@2300000000/power-management@2300e80000/power-controller@100} { -}; - -&{/soc@2300000000/power-management@2300e80000/power-controller@110} { - power-domains = <&{/soc@2300000000/power-management@2300e80000/power-controller@100} &{/soc@2300000000/power-management@2300e80000/power-controller@0}>; -}; - -&{/soc/clock-controller@280600000} { - apple,pmgr = <&{/soc/power-management@280600000}>; -}; - -&{/soc/spmi@28a054000} { -}; - -&{/soc/spmi@28a114000} { -}; - -&{/soc/i2c@505024000} { - power-domains = <&{/soc/power-management@280900000/power-controller@2e8}>; - clocks = <&{/soc/clock-controller@280600000} 0x4>; -}; - -&{/soc/i2c@505010000} { - power-domains = <&{/soc/power-management@280900000/power-controller@2c0}>; - clocks = <&{/soc/clock-controller@280600000} 0x4>; -}; - -&{/soc/i2c@505020000} { - power-domains = <&{/soc/power-management@280900000/power-controller@2e0}>; - clocks = <&{/soc/clock-controller@280600000} 0x4>; -}; - -&{/soc/i2c@505028000} { - power-domains = <&{/soc/power-management@280900000/power-controller@2f0}>; - clocks = <&{/soc/clock-controller@280600000} 0x4>; -}; - -&{/soc/i2c@505030000} { - power-domains = <&{/soc/power-management@280900000/power-controller@300}>; - clocks = <&{/soc/clock-controller@280600000} 0x4>; -}; - -&{/soc/dma-controller@410030000} { - iommus = <&{/soc/iommu@410000000} 0x11>; -}; - -&{/soc/iommu@411000000} { -}; - -&{/soc/dma-controller@411030000} { - iommus = <&{/soc/iommu@411000000} 0x11>; -}; - -&{/soc/iommu@2a4000000} { -}; - -&{/soc/dma-controller@2a4068000} { - iommus = <&{/soc/iommu@2a4000000} 0xfe>; -}; - -&{/soc/iommu@2ac000000} { -}; - -&{/soc/dma-controller@2ac068000} { - iommus = <&{/soc/iommu@2ac000000} 0xfe>; -}; - -&{/soc/iommu@384000000} { -}; - -&{/soc/dma-controller@384068000} { - iommus = <&{/soc/iommu@384000000} 0xfe>; -}; - -&{/soc/mux@2a324c000} { -}; - -&{/soc/dpin@2a1e50000} { -}; - -&{/soc/dpin@2a1e58000} { -}; - -&{/soc/dpin@2a1e68000} { -}; - -&{/soc/dpin@2a1e70000} { -}; - -&{/soc/mux@2ab24c000} { -}; - -&{/soc/dpin@2a9e50000} { -}; - -&{/soc/dpin@2a9e58000} { -}; - -&{/soc/dpin@2a9e68000} { -}; - -&{/soc/dpin@2a9e70000} { -}; - -&{/soc/dpin@381e50000} { -}; - -&{/soc/dpin@381e58000} { -}; - -&{/soc/dpin@381e68000} { -}; - -&{/soc/dpin@381e70000} { -}; - -&{/soc/mux@38b24c000} { -}; - -&{/soc/aic-timebase@280580000} { -}; - -&{/soc/error-handler@2220000000} { -}; - -&{/soc/crypto@50500c000} { - iommus = <&{/soc/iommu@505060000} 0x1>; - power-domains = <&{/soc/power-management@280900000/power-controller@318}>; -}; - -&{/soc/phy-coproc@395d08000} { -}; - -&{/soc/pinctrl@2881e4000} { - /delete-property/ gpio-line-names; - /delete-property/ interrupt-parent; - status = "okay"; - gpio-ranges = <&{/soc/pinctrl@2881e4000} 0x0 0x0 0x3d>; -}; - -&{/soc/pinctrl@2881e4000/usb3hub-rst-hog} { -}; - -&{/soc/mailbox@4d067c000} { - iommus = <&{/soc/iommu@290fc0000} 0x1>; -}; - -&{/soc/aop@291600000} { - iommus = <&{/soc/iommu@290fc0000} 0x10>; -}; - -&{/soc/event-log@280040000} { -}; - -&{/soc/dma-controller@505e00000} { - iommus = <&{/soc/iommu@505060000} 0x0>; - power-domains = <&{/soc/power-management@280900000/power-controller@2a0}>; - clocks = <&{/soc/clock-controller@280600000} 0x167 &{/soc/clock-controller@280600000} 0x166>; -}; - -&{/soc/iommu@505060000} { - power-domains = <&{/soc/power-management@280900000/power-controller@290}>; -}; - -&{/soc/pmp@284e00000} { - mboxes = <&{/soc/mailbox@284e08000}>; - iommus = <&{/soc/iommu@2841a0000} 0x0>; - power-domains = <&{/soc/power-management@280600000/power-controller@128} &{/soc/power-management@280600000/power-controller@130}>; -}; - -&{/soc/mailbox@284e08000} { - power-domains = <&{/soc/power-management@280600000/power-controller@128}>; -}; - -&{/soc/pmp-report@284240000} { - power-domains = <&{/soc/power-management@280600000/power-controller@130}>; -}; - -&{/soc/pmp-report@284240000/report@c} { -}; - -&{/soc/pmp-report@284240000/report@d} { -}; - -&{/soc/pmp-report@284240000/report@e} { -}; - -&{/soc/pmp-report@284240000/report@f} { - power-domains = <&{/soc@2300000000/power-management@2300e80000/power-controller@110}>; -}; - -&{/soc/pmp-report@284240000/report@12} { -}; - -&{/soc/pmp-report@284240000/report@24} { -}; - -&{/soc/iommu@2841a0000} { - power-domains = <&{/soc/power-management@280600000/power-controller@128}>; -}; - -&{/soc/aon-ptd@28cdc0000} { -}; - -&{/soc/rsm@288825000} { - iommus = <&{/soc/iommu@2889a0000} 0x0>; - power-domains = <&{/soc/power-management@288300000/power-controller@58}>; -}; - -&{/soc/iommu@2889a0000} { - power-domains = <&{/soc/power-management@288300000/power-controller@58}>; -}; - -&{/soc/serial@505200000} { - power-domains = <&{/soc/power-management@280900000/power-controller@360}>; - clocks = <&{/soc/clock-controller@280600000} 0x1c9 &{/soc/clock-controller@280600000} 0x4>; -}; - -&{/soc/iommu@2a2f00000} { - power-domains = <&{/soc/power-management@288300000/power-controller@150}>; -}; - -&{/soc/iommu@2a2f80000} { - power-domains = <&{/soc/power-management@288300000/power-controller@150}>; -}; - -&{/soc/usb@2a2280000} { - iommus = <&{/soc/iommu@2a2f00000} 0x0 &{/soc/iommu@2a2f80000} 0x1>; - power-domains = <&{/soc/power-management@288300000/power-controller@150}>; - resets = <&{/soc/phy@2a3000000} 0x0>; - phys = <&{/soc/phy@2a3000000} 0x3 &{/soc/phy@2a3000000} 0x4>; -}; - -&{/soc/usb@2a2280000/port} { -}; - -&{/soc/usb@2a2280000/port/endpoint} { - remote-endpoint = <&{/soc/spmi@28a188000/usb-pd@c/connector/ports/port@0/endpoint}>; -}; - -&{/soc/iommu@395d60000} { - power-domains = <&{/soc/power-management@280600000/power-controller@248}>; -}; - -&{/soc/usb@3953f0000} { - iommus = <&{/soc/iommu@395d60000} 0x0>; - power-domains = <&{/soc/power-management@280600000/power-controller@248}>; -}; - -&{/soc/spmi@28a094000} { -}; - -&{/soc/spmi@28a0d4000} { -}; - -&{/soc/spmi@290914000} { -}; - -&{/soc/aux@29c260000} { - power-domains = <&{/soc/power-management@280900000/power-controller@108}>; -}; - -&{/soc/aux@29c264000} { - power-domains = <&{/soc/power-management@280900000/power-controller@110}>; -}; - -&{/soc/iommu@48a300000} { -}; - -&{/soc/dcp-expert@48a3ac058} { -}; - -&{/soc/mailbox@48ae08000} { -}; - -&{/soc/iommu@48a340000} { -}; - -&{/soc/iommu@48a180000} { -}; - -&{/soc/dma-controller@48a140000} { - interrupts-extended = <&{/soc/interrupt-controller@280400000} 0x0 0x0 0x3f4 0x4 0 0 0>; - iommus = <&{/soc/iommu@48a180000} 0x1e>; -}; - -&{/soc/dma-control@48a2f4000} { -}; - -&{/soc/dcp-expert@2b23ac058} { -}; - -&{/soc/iommu@2b2180000} { - power-domains = <&{/soc/power-management@280600000/power-controller@270}>; -}; - -&{/soc/dma-controller@2b2140000} { - interrupts-extended = <&{/soc/interrupt-controller@280400000} 0x0 0x0 0x444 0x4 0 0 0>; - iommus = <&{/soc/iommu@2b2180000} 0x1e>; - power-domains = <&{/soc/power-management@280600000/power-controller@270}>; -}; - -&{/soc/dma-control@2b22f4000} { -}; - -&{/soc/dcp-expert@3923ac058} { -}; - -&{/soc/mailbox@392e08000} { -}; - -&{/soc/dcp@392e00000} { - mboxes = <&{/soc/mailbox@392e08000}>; - iommus = <&{/soc/iommu@392340000} 0x17>; - apple,bw-scratch = <&{/soc/pmc-metadata@286700000} 0x0 0x5 0x30000>; - phys = <&{/soc/phy@29c200000}>; - hdmi-hpd-gpios = <&{/soc/pinctrl@290824000} 0xe 0x0>; - hdmi-pwren-gpios = <&{/soc/smc@28c600000/gpio} 0x0 0x0>; - dp2hdmi-pwren-gpios = <&{/soc/smc@28c600000/gpio} 0x1 0x0>; -}; - -&{/soc/dcp@392e00000/piodma} { - iommus = <&{/soc/iommu@392300000} 0x10>; -}; - -&{/soc/dcp@392e00000/ports} { -}; - -&{/soc/dcp@392e00000/ports/port@0} { -}; - -&{/soc/dcp@392e00000/ports/port@0/endpoint} { - remote-endpoint = <&{/audio-controller-dispext1/ports/port@0/endpoint}>; -}; - -&{/soc/iommu@392340000} { -}; - -&{/soc/iommu@392300000} { -}; - -&{/soc/iommu@392180000} { - power-domains = <&{/soc/power-management@280600000/power-controller@2d8}>; -}; - -&{/soc/dma-controller@392140000} { - interrupts-extended = <&{/soc/interrupt-controller@280400000} 0x0 0x0 0x48c 0x4 0 0 0>; - iommus = <&{/soc/iommu@392180000} 0x1e>; - power-domains = <&{/soc/power-management@280600000/power-controller@2d8}>; -}; - -&{/soc/dma-control@3922f4000} { -}; - -&{/soc/dcp-expert@3023ac058} { -}; - -&{/soc/mailbox@302e08000} { -}; - -&{/soc/dcp@302e00000} { - mboxes = <&{/soc/mailbox@302e08000}>; - iommus = <&{/soc/iommu@302340000} 0x17>; -}; - -&{/soc/dcp@302e00000/piodma} { - iommus = <&{/soc/iommu@302300000} 0x10>; -}; - -&{/soc/iommu@302340000} { -}; - -&{/soc/iommu@302300000} { -}; - -&{/soc/iommu@302180000} { -}; - -&{/soc/dma-controller@302140000} { - interrupts-extended = <&{/soc/interrupt-controller@280400000} 0x0 0x0 0x4d4 0x4 0 0 0>; - iommus = <&{/soc/iommu@302180000} 0x1e>; -}; - -&{/soc/dma-control@3022f4000} { -}; - -&{/soc/dcp-expert@3063ac058} { -}; - -&{/soc/mailbox@306e08000} { -}; - -&{/soc/dcp@306e00000} { - mboxes = <&{/soc/mailbox@306e08000}>; - iommus = <&{/soc/iommu@306340000} 0x17>; -}; - -&{/soc/dcp@306e00000/piodma} { - iommus = <&{/soc/iommu@306300000} 0x10>; -}; - -&{/soc/iommu@306340000} { -}; - -&{/soc/iommu@306300000} { -}; - -&{/soc/iommu@306180000} { -}; - -&{/soc/dma-controller@306140000} { - interrupts-extended = <&{/soc/interrupt-controller@280400000} 0x0 0x0 0x51c 0x4 0 0 0>; - iommus = <&{/soc/iommu@306180000} 0x1e>; -}; - -&{/soc/dma-control@3062f4000} { -}; - -&{/soc/scaler@2285000000} { - iommus = <&{/soc/iommu@2285260000} 0x0 &{/soc/iommu@2285260000} 0x1>; - power-domains = <&{/soc/power-management@2380600000/power-controller@1c8} &{/soc/power-management@2380600000/power-controller@200}>; - clocks = <&{/soc/clock-controller@280600000} 0x1f0>; - resets = <&{/soc/power-management@2380600000/power-controller@1c8}>; -}; - -&{/soc/iommu@2285260000} { - power-domains = <&{/soc/power-management@2380600000/power-controller@1c8}>; -}; - -&{/soc/scaler@23a1000000} { - iommus = <&{/soc/iommu@23a1260000} 0x0 &{/soc/iommu@23a1260000} 0x1>; - power-domains = <&{/soc/power-management@2380600000/power-controller@1f8} &{/soc/power-management@2380600000/power-controller@208}>; - clocks = <&{/soc/clock-controller@280600000} 0x1f1>; - resets = <&{/soc/power-management@2380600000/power-controller@1f8}>; -}; - -&{/soc/iommu@23a1260000} { - power-domains = <&{/soc/power-management@2380600000/power-controller@1f8}>; -}; - -&{/soc/video-encoder@2283100000} { - iommus = <&{/soc/iommu@22830a0000} 0x0 &{/soc/iommu@2283080000} 0x0>; - power-domains = <&{/soc/power-management@2380600000/power-controller@1c0} &{/soc/power-management@2380600000/power-controller@8008} &{/soc/power-management@2380600000/power-controller@8010} &{/soc/power-management@2380600000/power-controller@8018} &{/soc/power-management@2380600000/power-controller@8020} &{/soc/power-management@2380600000/power-controller@8000}>; - clocks = <&{/soc/clock-controller@280600000} 0x1f7>; -}; - -&{/soc/iommu@22830a0000} { - power-domains = <&{/soc/power-management@2380600000/power-controller@1c0}>; -}; - -&{/soc/iommu@2283080000} { - power-domains = <&{/soc/power-management@2380600000/power-controller@1c0}>; -}; - -&{/soc/video-encoder@23a3100000} { - iommus = <&{/soc/iommu@23a30a0000} 0x0 &{/soc/iommu@23a3080000} 0x0>; - power-domains = <&{/soc/power-management@2380600000/power-controller@1f0} &{/soc/power-management@2380600000/power-controller@8030} &{/soc/power-management@2380600000/power-controller@8038} &{/soc/power-management@2380600000/power-controller@8040} &{/soc/power-management@2380600000/power-controller@8048} &{/soc/power-management@2380600000/power-controller@8028}>; - clocks = <&{/soc/clock-controller@280600000} 0x1f8>; -}; - -&{/soc/iommu@23a30a0000} { - power-domains = <&{/soc/power-management@2380600000/power-controller@1f0}>; -}; - -&{/soc/iommu@23a3080000} { - power-domains = <&{/soc/power-management@2380600000/power-controller@1f0}>; -}; - -&{/soc/prores@48d000000} { - reg-names = "core", "wrapper", "aux", "ctrl", "ctrl1"; - resets = <&{/soc/power-management@280900000/power-controller@190}>; - iommus = <&{/soc/iommu@48d020000} 0x1>; - power-domains = <&{/soc/power-management@280900000/power-controller@190}>; -}; - -&{/soc/iommu@48d020000} { - apple,dma-range = <0x100 0x0 0x300 0x0>; - power-domains = <&{/soc/power-management@280900000/power-controller@190}>; -}; - -&{/soc/iommu@230b020000} { - power-domains = <&{/soc/power-management@2380600000/power-controller@1e0}>; -}; - -&{/soc/jpeg@2281000000} { - iommus = <&{/soc/iommu@2281020000} 0x0>; - power-domains = <&{/soc/power-management@2380600000/power-controller@1d0}>; - clocks = <&{/soc/clock-controller@280600000} 0x1e6 &{/soc/clock-controller@280600000} 0x1e7>; -}; - -&{/soc/jpeg@2281060000} { - iommus = <&{/soc/iommu@2281020000} 0x1>; - power-domains = <&{/soc/power-management@2380600000/power-controller@1d0}>; - clocks = <&{/soc/clock-controller@280600000} 0x1e6 &{/soc/clock-controller@280600000} 0x1e7>; -}; - -&{/soc/iommu@2281020000} { - apple,dma-range = <0x100 0x0 0x300 0x0>; - power-domains = <&{/soc/power-management@2380600000/power-controller@1d0}>; -}; - -&{/soc/neural-processor@508000000} { - iommus = <&{/soc/iommu@509800000} 0x0 &{/soc/iommu@509820000} 0x0 &{/soc/iommu@509840000} 0x0>; - power-domains = <&{/soc/power-management@280900000/power-controller@3c8}>; - clocks = <&{/soc/clock-controller@280600000} 0x14f &{/soc/clock-controller@280600000} 0x14e &{/soc/clock-controller@280600000} 0x17d>; -}; - -&{/soc/iommu@509800000} { - /delete-property/ apple,dma-range; - /delete-property/ interrupt-parent; - /delete-property/ power-domains; - compatible = "apple,t6050-dart", "apple,t8110-dart"; - reg = <0x5 0x9800000 0x0 0xc000 0x5 0x9810000 0x0 0x4000>; - status = "disabled"; -}; - -&{/soc/iommu@509820000} { - /delete-property/ apple,dma-range; - /delete-property/ interrupt-parent; - /delete-property/ power-domains; - compatible = "apple,t6050-dart", "apple,t8110-dart"; - status = "disabled"; -}; - -&{/soc/iommu@509840000} { - /delete-property/ apple,dma-range; - /delete-property/ interrupt-parent; - /delete-property/ power-domains; - compatible = "apple,t6050-dart", "apple,t8110-dart"; - status = "disabled"; -}; - -&{/soc/video-decoder@2308000000} { - iommus = <&{/soc/iommu@2309020000} 0x0 &{/soc/iommu@2309020000} 0x1 &{/soc/iommu@2309020000} 0x2>; - power-domains = <&{/soc/power-management@2380600000/power-controller@1d8}>; - clocks = <&{/soc/clock-controller@280600000} 0x1e8>; -}; - -&{/soc/dma-controller@293300000} { - interrupts-extended = <&{/soc/interrupt-controller@280400000} 0x0 0x0 0x27f 0x4 0 0 0>; - iommus = <&{/soc/iommu@290fc0000} 0xa>; -}; - -&{/soc/dma-control@293c80000} { -}; - -&{/soc/message-controller@29b000000} { - power-domains = <&{/soc/power-management@280600000/power-controller@258}>; -}; - -&{/soc/dma-controller@412030000} { - iommus = <&{/soc/iommu@412000000} 0x11>; -}; - -&{/soc/dma-controller@413030000} { - iommus = <&{/soc/iommu@413000000} 0x11>; -}; - -&{/soc/spi@50510c000} { - power-domains = <&{/soc/power-management@280900000/power-controller@338}>; - clocks = <&{/soc/clock-controller@280600000} 0x1c4>; -}; - -&{/soc/iommu@38c000000} { -}; - -&{/soc/dma-controller@38c068000} { - iommus = <&{/soc/iommu@38c000000} 0xfe>; -}; - -&{/soc/dpin@389e50000} { -}; - -&{/soc/dpin@389e58000} { -}; - -&{/soc/dpin@389e68000} { -}; - -&{/soc/dpin@389e70000} { -}; - -&{/soc/phy@29c200000} { - power-domains = <&{/soc/power-management@280900000/power-controller@3f8}>; -}; - -&{/display-subsystem} { - iommus = <&{/soc/iommu@2b2300000} 0x0 &{/soc/iommu@392300000} 0x0>; -}; - -&{/sound} { -}; - -&{/sound/dai-link@0} { -}; - -&{/sound/dai-link@0/cpu} { - sound-dai = <&{/soc/aop@290c00000/audio} 0x0>; -}; - -&{/sound/dai-link@0/codec} { - sound-dai = <&{/soc/i2c@505018000/codec@4b}>; -}; - -&{/sound/dai-link@1} { -}; - -&{/sound/dai-link@1/cpu} { - sound-dai = <&{/soc/aop@290c00000/audio} 0x3>; -}; - -&{/sound/dai-link@1/codec} { - sound-dai = <&{/soc/i2c@505014000/codec@38}>; -}; - -&{/audio-controller-dispext0} { - dmas = <&{/soc/dma-controller@2b2140000} 0x0>; -}; - -&{/audio-controller-dispext0/ports} { -}; - -&{/audio-controller-dispext0/ports/port@0} { -}; - -&{/audio-controller-dispext0/ports/port@0/endpoint} { - remote-endpoint = <&{/soc/dcp@2b2e00000/ports/port@0/endpoint}>; -}; - -&{/audio-controller-dispext1} { - dmas = <&{/soc/dma-controller@392140000} 0x0>; -}; - -&{/audio-controller-dispext1/ports} { -}; - -&{/audio-controller-dispext1/ports/port@0} { -}; - -&{/audio-controller-dispext1/ports/port@0/endpoint} { - remote-endpoint = <&{/soc/dcp@392e00000/ports/port@0/endpoint}>; -}; diff --git a/arch/arm64/boot/dts/apple/t6050-j775c-incremental-sd.dtsi b/arch/arm64/boot/dts/apple/t6050-j775c-incremental-sd.dtsi deleted file mode 100644 index 291a87c46ed4d..0000000000000 --- a/arch/arm64/boot/dts/apple/t6050-j775c-incremental-sd.dtsi +++ /dev/null @@ -1,11 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0+ OR MIT -/* Property migration from Satya Benson's 86b1f365 J775c stack. - * Retained board sources remain the baseline; this group is independently booted. - * Copyright The Asahi Linux Contributors - */ -&{/pcie@1cb0000000/pci@1,0} { - interrupt-map = <0x0 0x0 0x0 0x1 &{/pcie@1cb0000000/pci@1,0} 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x2 &{/pcie@1cb0000000/pci@1,0} 0x0 0x0 0x0 0x1 0x0 0x0 0x0 0x3 &{/pcie@1cb0000000/pci@1,0} 0x0 0x0 0x0 0x2 0x0 0x0 0x0 0x4 &{/pcie@1cb0000000/pci@1,0} 0x0 0x0 0x0 0x3>; -}; - -&{/pcie@1cb0000000/pci@1,0/sdcard@0,0} { -}; diff --git a/arch/arm64/boot/dts/apple/t6050-j775c-incremental-spmi.dtsi b/arch/arm64/boot/dts/apple/t6050-j775c-incremental-spmi.dtsi deleted file mode 100644 index d2d8daf5856d4..0000000000000 --- a/arch/arm64/boot/dts/apple/t6050-j775c-incremental-spmi.dtsi +++ /dev/null @@ -1,47 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0+ OR MIT -/* Property migration from Satya Benson's 86b1f365 J775c stack. - * Retained board sources remain the baseline; this group is independently booted. - * Copyright The Asahi Linux Contributors - */ -&{/soc/smc@28c600000} { - gpio-low { - compatible = "apple,smc-low-gpio"; - gpio-controller; - #gpio-cells = <0x2>; - }; -}; - -&{/soc/spmi@28a014000} { - /delete-property/ #interrupt-cells; - /delete-property/ interrupt-parent; - /delete-property/ interrupts; - /delete-property/ interrupt-controller; -}; - -&{/soc/spmi@28a014000/pmic@e} { -}; - -&{/soc/spmi@28a014000/pmic@e/nvmem-layout} { -}; - -&{/soc/spmi@28a014000/pmic@e/nvmem-layout/pm-setting@2001} { -}; - -&{/soc/spmi@28a014000/pmic@e/nvmem-layout/rtc-offset@2100} { -}; - -&{/soc/spmi@28a014000/pmic@e/nvmem-layout/boot-stage@f801} { -}; - -&{/soc/spmi@28a014000/pmic@e/nvmem-layout/boot-error-count@f802,0} { -}; - -&{/soc/spmi@28a014000/pmic@e/nvmem-layout/panic-count@f802,4} { -}; - -&{/soc/spmi@28a014000/pmic@e/nvmem-layout/shutdown-flag@f80f,3} { -}; - -&{/soc/spmi@28a1c8000} { - /delete-property/ status; -}; diff --git a/arch/arm64/boot/dts/apple/t6050-j775c-incremental-usbpolicy.dtsi b/arch/arm64/boot/dts/apple/t6050-j775c-incremental-usbpolicy.dtsi deleted file mode 100644 index 5d20209cb5706..0000000000000 --- a/arch/arm64/boot/dts/apple/t6050-j775c-incremental-usbpolicy.dtsi +++ /dev/null @@ -1,185 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0+ OR MIT -/* Property migration from Satya Benson's 86b1f365 J775c stack. - * Retained board sources remain the baseline; this group is independently booted. - * Copyright The Asahi Linux Contributors - */ -&{/soc/phy@2ab000000} { - mboxes = <&{/soc/mailbox@2ab148000}>; - power-domains = <&{/soc/power-management@288300000/power-controller@160} &{/soc/power-management@280600000/power-controller@210} &{/soc/power-management@288300000/power-controller@170} &{/soc/power-management@288300000/power-controller@168}>; - status = "okay"; -}; - -&{/soc/usb@2aa280000} { - iommus = <&{/soc/iommu@2aaf00000} 0x0 &{/soc/iommu@2aaf80000} 0x1>; - power-domains = <&{/soc/power-management@288300000/power-controller@168}>; - resets = <&{/soc/phy@2ab000000} 0x0>; - phys = <&{/soc/phy@2ab000000} 0x3 &{/soc/phy@2ab000000} 0x4>; - status = "okay"; -}; - -&{/soc/iommu@2aaf00000} { - power-domains = <&{/soc/power-management@288300000/power-controller@168}>; - status = "okay"; -}; - -&{/soc/iommu@2aaf80000} { - power-domains = <&{/soc/power-management@288300000/power-controller@168}>; - status = "okay"; -}; - -&{/soc/phy@383000000} { - mboxes = <&{/soc/mailbox@383148000}>; - power-domains = <&{/soc/power-management@288300000/power-controller@178} &{/soc/power-management@280600000/power-controller@238} &{/soc/power-management@288300000/power-controller@188} &{/soc/power-management@288300000/power-controller@180}>; -}; - -&{/soc/mux@38324c000} { - power-domains = <&{/soc/power-management@288300000/power-controller@178} &{/soc/power-management@280600000/power-controller@238}>; -}; - -&{/soc/usb@382280000} { - iommus = <&{/soc/iommu@382f00000} 0x0 &{/soc/iommu@382f80000} 0x1>; - power-domains = <&{/soc/power-management@288300000/power-controller@180}>; - resets = <&{/soc/phy@383000000} 0x0>; - phys = <&{/soc/phy@383000000} 0x3 &{/soc/phy@383000000} 0x4>; -}; - -&{/soc/iommu@382f00000} { - power-domains = <&{/soc/power-management@288300000/power-controller@180}>; -}; - -&{/soc/iommu@382f80000} { - power-domains = <&{/soc/power-management@288300000/power-controller@180}>; -}; - -&{/soc/phy@38b000000} { - mboxes = <&{/soc/mailbox@38b148000}>; - power-domains = <&{/soc/power-management@288300000/power-controller@190} &{/soc/power-management@280600000/power-controller@240} &{/soc/power-management@288300000/power-controller@1a0} &{/soc/power-management@288300000/power-controller@198}>; - status = "okay"; -}; - -&{/soc/usb@38a280000} { - iommus = <&{/soc/iommu@38af00000} 0x0 &{/soc/iommu@38af80000} 0x1>; - power-domains = <&{/soc/power-management@288300000/power-controller@198}>; - resets = <&{/soc/phy@38b000000} 0x0>; - phys = <&{/soc/phy@38b000000} 0x3 &{/soc/phy@38b000000} 0x4>; - status = "okay"; -}; - -&{/soc/iommu@38af00000} { - power-domains = <&{/soc/power-management@288300000/power-controller@198}>; - status = "okay"; -}; - -&{/soc/iommu@38af80000} { - power-domains = <&{/soc/power-management@288300000/power-controller@198}>; - status = "okay"; -}; - -&{/soc/phy@2a3000000} { - /delete-property/ apple,boot-link-released; - mboxes = <&{/soc/mailbox@2a3148000}>; - power-domains = <&{/soc/power-management@288300000/power-controller@148} &{/soc/power-management@280600000/power-controller@208} &{/soc/power-management@288300000/power-controller@158} &{/soc/power-management@288300000/power-controller@150}>; -}; - -&{/soc} { - iommu@2a4000000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - reg = <0x2 0xa4000000 0x0 0x20000>; - interrupts = <0x0 0x0 0x57e 0x4>; - #iommu-cells = <0x1>; - status = "disabled"; - }; -}; - -&{/soc} { - iommu@2ac000000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - reg = <0x2 0xac000000 0x0 0x20000>; - interrupts = <0x0 0x0 0x59e 0x4>; - #iommu-cells = <0x1>; - status = "disabled"; - }; -}; - -&{/soc} { - iommu@384000000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - reg = <0x3 0x84000000 0x0 0x20000>; - interrupts = <0x0 0x0 0x5be 0x4>; - #iommu-cells = <0x1>; - status = "disabled"; - }; -}; - -&{/soc/mux@2a324c000} { - /delete-property/ power-domain-names; - /delete-property/ power-domains; - status = "okay"; -}; - -&{/soc/mux@2ab24c000} { - /delete-property/ power-domain-names; - /delete-property/ power-domains; - status = "okay"; -}; - -&{/soc/mux@38b24c000} { - /delete-property/ power-domain-names; - /delete-property/ power-domains; - status = "okay"; -}; - -&{/soc/iommu@2a2f00000} { - /delete-property/ apple,dma-range; - power-domains = <&{/soc/power-management@288300000/power-controller@150}>; - status = "okay"; -}; - -&{/soc/iommu@2a2f80000} { - /delete-property/ apple,dma-range; - power-domains = <&{/soc/power-management@288300000/power-controller@150}>; - status = "okay"; -}; - -&{/soc/usb@2a2280000} { - iommus = <&{/soc/iommu@2a2f00000} 0x0 &{/soc/iommu@2a2f80000} 0x1>; - power-domains = <&{/soc/power-management@288300000/power-controller@150}>; - status = "okay"; - resets = <&{/soc/phy@2a3000000} 0x0>; - phys = <&{/soc/phy@2a3000000} 0x3 &{/soc/phy@2a3000000} 0x4>; -}; - -&{/soc} { - iommu@395d60000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - reg = <0x3 0x95d60000 0x0 0xc000>; - interrupts = <0x0 0x0 0x927 0x4>; - #iommu-cells = <0x1>; - status = "disabled"; - }; -}; - -&{/soc} { - usb@3953f0000 { - compatible = "apple,t6050-usb-auss"; - reg = <0x3 0x953f0000 0x0 0x4600 0x3 0x95800000 0x0 0x4000 0x3 0x95803c00 0x0 0x4000 0x3 0x95804000 0x0 0x4000 0x3 0x94000000 0x0 0x8000 0x3 0x95d80000 0x0 0x4000 0x3 0x95d84000 0x0 0x4000 0x3 0x95e40000 0x0 0x4000 0x3 0x95e3c000 0x0 0x4000 0x3 0x95d98000 0x0 0x4000>; - interrupts = <0x0 0x0 0x923 0x4 0x0 0x0 0x924 0x4 0x0 0x0 0x925 0x4 0x0 0x0 0x926 0x4>; - iommus = <&{/soc/iommu@395d60000} 0x0>; - power-domains = <&{/soc/power-management@280600000/power-controller@248}>; - status = "disabled"; - }; -}; - -&{/soc} { - iommu@38c000000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - reg = <0x3 0x8c000000 0x0 0x20000>; - interrupts = <0x0 0x0 0x5de 0x4>; - #iommu-cells = <0x1>; - status = "disabled"; - }; -}; - -&{/soc/phy@29c200000} { - power-domains = <&{/soc/power-management@280900000/power-controller@3f8}>; -}; diff --git a/arch/arm64/boot/dts/apple/t6050-j775c-legacy.dtsi b/arch/arm64/boot/dts/apple/t6050-j775c-legacy.dtsi deleted file mode 100644 index b3de00ae25957..0000000000000 --- a/arch/arm64/boot/dts/apple/t6050-j775c-legacy.dtsi +++ /dev/null @@ -1,3190 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0+ OR MIT -/* - * Apple T6050 "M5 Ultra" SoC - * - * Two dies. Die 0's MMIO window is 0x2_00000000 and die 1's 0x42_00000000 - * (die stride 0x40_00000000); each has its own simple-bus, which the boot - * loader looks up by unit address. Unit addresses are CPU physical - * addresses. The boot loader starts the secondary CPUs and fills in their - * release addresses, the memory node and its own reservations. - * - * Copyright The Asahi Linux Contributors - */ - -#include -#include -#include -#include -#include - -/* Reuse integration's common nodes; retain the booted peripheral inventory below. */ -#include "t6050-j775c-base.dtsi" - -/ { - compatible = "apple,t6050", "apple,arm-platform"; - #address-cells = <2>; - #size-cells = <2>; - interrupt-parent = <&aic>; - - /* The boot loader replaces reg with the usable RAM. */ - - reserved-memory { - #address-cells = <2>; - #size-cells = <2>; - ranges; - /* The boot loader adds its own reservations. */ - - /* - * The GPU's, all filled in and enabled by Aura's dt_set_gpu_t6050 from /arm-io/sgx and - * the gfx(1)-asc segment-ranges. Each lies outside /memory (below and above Linux's RAM). - * The UAT ranges (gpu-region, gfx-shared-region, gfx-shared-l2-region, gfx-handoff): - * both firmware roles publish their kernel roots into uat-pagetables while they boot. - */ - uat_handoff: uat-handoff { - reg = <0 0 0 0>; - no-map; - status = "disabled"; - }; - - uat_l2_pagetables: uat-l2-pagetables { - reg = <0 0 0 0>; - no-map; - status = "disabled"; - }; - - uat_pagetables: uat-pagetables { - reg = <0 0 0 0>; - no-map; - status = "disabled"; - }; - - uat_ttbs: uat-ttbs { - reg = <0 0 0 0>; - no-map; - status = "disabled"; - }; - - /* Both roles' __TEXT, contiguous: GFX's, then GFX1's. */ - gpu_fw_text: gpu-fw-text { - reg = <0 0 0 0>; - no-map; - status = "disabled"; - }; - - /* - * Both roles' __DATA and __DATA_SHARED_RO, contiguous (gfx-data, gfx-data-shared-ro, - * gfx1-data, gfx1-data-shared-ro). Each role asks for its crash log at the physical - * address of its __DATA_SHARED_RO (evidence/gpu/2026-10-31-gfx-rtkit-boot.md). - */ - gpu_fw_data: gpu-fw-data { - reg = <0 0 0 0>; - no-map; - status = "disabled"; - }; - - /* - * The ANE firmware preload. The loader fills reg from the ADT - * /arm-io/ane0 segment-ranges (TEXT 0xc0000 bytes, DATA 0x2ac000 - * bytes), renames each node to its physical address and enables - * it, together with /chosen/apple,ane-cold-boot (Aura's - * dt_set_ane_node). Left disabled, the ANE driver does not start - * the engine. Neither segment may be reclaimed before reboot. - */ - ane_fw_text: ane-firmware-text@0 { - compatible = "apple,asc-mem"; - reg = <0 0 0 0>; - no-map; - status = "disabled"; - }; - - ane_fw_data: ane-firmware-data@0 { - compatible = "apple,asc-mem"; - reg = <0 0 0 0>; - no-map; - status = "disabled"; - }; - }; - - cpus { - #address-cells = <2>; - #size-cells = <0>; - - /* - * Die d, cluster c, core n has MPIDR Aff2 4 for the two M-tier - * (apple,sawtooth) clusters and 1 for the P-tier (apple,everest) - * cluster, Aff1 0x10 * d + c and Aff0 n. Labels number the cores - * 18 * d + 6 * c + n. Die 0 comes first, so nr_cpus= brings the - * CPUs up in that order. The boot loader removes the nodes of the - * cores it did not start. - */ - cpu0: cpu@40000 { - compatible = "apple,sawtooth"; - capacity-dmips-mhz = <794>; - device_type = "cpu"; - reg = <0x0 0x40000>; - enable-method = "spin-table"; - operating-points-v2 = <&mcluster_opp>; - performance-domains = <&cpufreq_mc00>; - cpu-release-addr = <0 0>; - next-level-cache = <&l2_cache_m00>; /* to be filled by the loader */ - }; - - cpu1: cpu@40001 { - compatible = "apple,sawtooth"; - capacity-dmips-mhz = <794>; - device_type = "cpu"; - reg = <0x0 0x40001>; - enable-method = "spin-table"; - operating-points-v2 = <&mcluster_opp>; - performance-domains = <&cpufreq_mc00>; - cpu-release-addr = <0 0>; - next-level-cache = <&l2_cache_m00>; - }; - - cpu2: cpu@40002 { - compatible = "apple,sawtooth"; - capacity-dmips-mhz = <794>; - device_type = "cpu"; - reg = <0x0 0x40002>; - enable-method = "spin-table"; - operating-points-v2 = <&mcluster_opp>; - performance-domains = <&cpufreq_mc00>; - cpu-release-addr = <0 0>; - next-level-cache = <&l2_cache_m00>; - }; - - cpu3: cpu@40003 { - compatible = "apple,sawtooth"; - capacity-dmips-mhz = <794>; - device_type = "cpu"; - reg = <0x0 0x40003>; - enable-method = "spin-table"; - operating-points-v2 = <&mcluster_opp>; - performance-domains = <&cpufreq_mc00>; - cpu-release-addr = <0 0>; - next-level-cache = <&l2_cache_m00>; - }; - - cpu4: cpu@40004 { - compatible = "apple,sawtooth"; - capacity-dmips-mhz = <794>; - device_type = "cpu"; - reg = <0x0 0x40004>; - enable-method = "spin-table"; - operating-points-v2 = <&mcluster_opp>; - performance-domains = <&cpufreq_mc00>; - cpu-release-addr = <0 0>; - next-level-cache = <&l2_cache_m00>; - }; - cpu5: cpu@40005 { - compatible = "apple,sawtooth"; - capacity-dmips-mhz = <794>; - device_type = "cpu"; - reg = <0x0 0x40005>; - enable-method = "spin-table"; - operating-points-v2 = <&mcluster_opp>; - performance-domains = <&cpufreq_mc00>; - cpu-release-addr = <0 0>; - next-level-cache = <&l2_cache_m00>; - }; - - cpu6: cpu@40100 { - compatible = "apple,sawtooth"; - capacity-dmips-mhz = <794>; - device_type = "cpu"; - reg = <0x0 0x40100>; - enable-method = "spin-table"; - operating-points-v2 = <&mcluster_opp>; - performance-domains = <&cpufreq_mc10>; - cpu-release-addr = <0 0>; - next-level-cache = <&l2_cache_m01>; - }; - - cpu7: cpu@40101 { - compatible = "apple,sawtooth"; - capacity-dmips-mhz = <794>; - device_type = "cpu"; - reg = <0x0 0x40101>; - enable-method = "spin-table"; - operating-points-v2 = <&mcluster_opp>; - performance-domains = <&cpufreq_mc10>; - cpu-release-addr = <0 0>; - next-level-cache = <&l2_cache_m01>; - }; - - cpu8: cpu@40102 { - compatible = "apple,sawtooth"; - capacity-dmips-mhz = <794>; - device_type = "cpu"; - reg = <0x0 0x40102>; - enable-method = "spin-table"; - operating-points-v2 = <&mcluster_opp>; - performance-domains = <&cpufreq_mc10>; - cpu-release-addr = <0 0>; - next-level-cache = <&l2_cache_m01>; - }; - - cpu9: cpu@40103 { - compatible = "apple,sawtooth"; - capacity-dmips-mhz = <794>; - device_type = "cpu"; - reg = <0x0 0x40103>; - enable-method = "spin-table"; - operating-points-v2 = <&mcluster_opp>; - performance-domains = <&cpufreq_mc10>; - cpu-release-addr = <0 0>; - next-level-cache = <&l2_cache_m01>; - }; - - cpu10: cpu@40104 { - compatible = "apple,sawtooth"; - capacity-dmips-mhz = <794>; - device_type = "cpu"; - reg = <0x0 0x40104>; - enable-method = "spin-table"; - operating-points-v2 = <&mcluster_opp>; - performance-domains = <&cpufreq_mc10>; - cpu-release-addr = <0 0>; - next-level-cache = <&l2_cache_m01>; - }; - cpu11: cpu@40105 { - compatible = "apple,sawtooth"; - capacity-dmips-mhz = <794>; - device_type = "cpu"; - reg = <0x0 0x40105>; - enable-method = "spin-table"; - operating-points-v2 = <&mcluster_opp>; - performance-domains = <&cpufreq_mc10>; - cpu-release-addr = <0 0>; - next-level-cache = <&l2_cache_m01>; - }; - - cpu12: cpu@10200 { - compatible = "apple,everest"; - capacity-dmips-mhz = <1024>; - device_type = "cpu"; - reg = <0x0 0x10200>; - enable-method = "spin-table"; - operating-points-v2 = <&pcluster_opp>; - performance-domains = <&cpufreq_pc0>; - cpu-release-addr = <0 0>; - next-level-cache = <&l2_cache_p0_0>; - }; - - cpu13: cpu@10201 { - compatible = "apple,everest"; - capacity-dmips-mhz = <1024>; - device_type = "cpu"; - reg = <0x0 0x10201>; - enable-method = "spin-table"; - operating-points-v2 = <&pcluster_opp>; - performance-domains = <&cpufreq_pc0>; - cpu-release-addr = <0 0>; - next-level-cache = <&l2_cache_p0_1>; - }; - - cpu14: cpu@10202 { - compatible = "apple,everest"; - capacity-dmips-mhz = <1024>; - device_type = "cpu"; - reg = <0x0 0x10202>; - enable-method = "spin-table"; - operating-points-v2 = <&pcluster_opp>; - performance-domains = <&cpufreq_pc0>; - cpu-release-addr = <0 0>; - next-level-cache = <&l2_cache_p0_2>; - }; - - cpu15: cpu@10203 { - compatible = "apple,everest"; - capacity-dmips-mhz = <1024>; - device_type = "cpu"; - reg = <0x0 0x10203>; - enable-method = "spin-table"; - operating-points-v2 = <&pcluster_opp>; - performance-domains = <&cpufreq_pc0>; - cpu-release-addr = <0 0>; - next-level-cache = <&l2_cache_p0_3>; - }; - - cpu16: cpu@10204 { - compatible = "apple,everest"; - capacity-dmips-mhz = <1024>; - device_type = "cpu"; - reg = <0x0 0x10204>; - enable-method = "spin-table"; - operating-points-v2 = <&pcluster_opp>; - performance-domains = <&cpufreq_pc0>; - cpu-release-addr = <0 0>; - next-level-cache = <&l2_cache_p0_4>; - }; - cpu17: cpu@10205 { - compatible = "apple,everest"; - capacity-dmips-mhz = <1024>; - device_type = "cpu"; - reg = <0x0 0x10205>; - enable-method = "spin-table"; - operating-points-v2 = <&pcluster_opp>; - performance-domains = <&cpufreq_pc0>; - cpu-release-addr = <0 0>; - next-level-cache = <&l2_cache_p0_5>; - }; - - cpu18: cpu@41000 { - compatible = "apple,sawtooth"; - capacity-dmips-mhz = <794>; - device_type = "cpu"; - reg = <0x0 0x41000>; - enable-method = "spin-table"; - operating-points-v2 = <&mcluster_opp>; - performance-domains = <&cpufreq_mc01>; - cpu-release-addr = <0 0>; - next-level-cache = <&l2_cache_m10>; - }; - - cpu19: cpu@41001 { - compatible = "apple,sawtooth"; - capacity-dmips-mhz = <794>; - device_type = "cpu"; - reg = <0x0 0x41001>; - enable-method = "spin-table"; - operating-points-v2 = <&mcluster_opp>; - performance-domains = <&cpufreq_mc01>; - cpu-release-addr = <0 0>; - next-level-cache = <&l2_cache_m10>; - }; - - cpu20: cpu@41002 { - compatible = "apple,sawtooth"; - capacity-dmips-mhz = <794>; - device_type = "cpu"; - reg = <0x0 0x41002>; - enable-method = "spin-table"; - operating-points-v2 = <&mcluster_opp>; - performance-domains = <&cpufreq_mc01>; - cpu-release-addr = <0 0>; - next-level-cache = <&l2_cache_m10>; - }; - - cpu21: cpu@41003 { - compatible = "apple,sawtooth"; - capacity-dmips-mhz = <794>; - device_type = "cpu"; - reg = <0x0 0x41003>; - enable-method = "spin-table"; - operating-points-v2 = <&mcluster_opp>; - performance-domains = <&cpufreq_mc01>; - cpu-release-addr = <0 0>; - next-level-cache = <&l2_cache_m10>; - }; - - cpu22: cpu@41004 { - compatible = "apple,sawtooth"; - capacity-dmips-mhz = <794>; - device_type = "cpu"; - reg = <0x0 0x41004>; - enable-method = "spin-table"; - operating-points-v2 = <&mcluster_opp>; - performance-domains = <&cpufreq_mc01>; - cpu-release-addr = <0 0>; - next-level-cache = <&l2_cache_m10>; - }; - - cpu24: cpu@41100 { - compatible = "apple,sawtooth"; - capacity-dmips-mhz = <794>; - device_type = "cpu"; - reg = <0x0 0x41100>; - enable-method = "spin-table"; - operating-points-v2 = <&mcluster_opp>; - performance-domains = <&cpufreq_mc11>; - cpu-release-addr = <0 0>; - next-level-cache = <&l2_cache_m11>; - }; - - cpu25: cpu@41101 { - compatible = "apple,sawtooth"; - capacity-dmips-mhz = <794>; - device_type = "cpu"; - reg = <0x0 0x41101>; - enable-method = "spin-table"; - operating-points-v2 = <&mcluster_opp>; - performance-domains = <&cpufreq_mc11>; - cpu-release-addr = <0 0>; - next-level-cache = <&l2_cache_m11>; - }; - - cpu26: cpu@41102 { - compatible = "apple,sawtooth"; - capacity-dmips-mhz = <794>; - device_type = "cpu"; - reg = <0x0 0x41102>; - enable-method = "spin-table"; - operating-points-v2 = <&mcluster_opp>; - performance-domains = <&cpufreq_mc11>; - cpu-release-addr = <0 0>; - next-level-cache = <&l2_cache_m11>; - }; - - cpu27: cpu@41103 { - compatible = "apple,sawtooth"; - capacity-dmips-mhz = <794>; - device_type = "cpu"; - reg = <0x0 0x41103>; - enable-method = "spin-table"; - operating-points-v2 = <&mcluster_opp>; - performance-domains = <&cpufreq_mc11>; - cpu-release-addr = <0 0>; - next-level-cache = <&l2_cache_m11>; - }; - - cpu28: cpu@41104 { - compatible = "apple,sawtooth"; - capacity-dmips-mhz = <794>; - device_type = "cpu"; - reg = <0x0 0x41104>; - enable-method = "spin-table"; - operating-points-v2 = <&mcluster_opp>; - performance-domains = <&cpufreq_mc11>; - cpu-release-addr = <0 0>; - next-level-cache = <&l2_cache_m11>; - }; - - cpu30: cpu@11200 { - compatible = "apple,everest"; - capacity-dmips-mhz = <1024>; - device_type = "cpu"; - reg = <0x0 0x11200>; - enable-method = "spin-table"; - operating-points-v2 = <&pcluster_opp>; - performance-domains = <&cpufreq_pc1>; - cpu-release-addr = <0 0>; - next-level-cache = <&l2_cache_p1_0>; - }; - - cpu31: cpu@11201 { - compatible = "apple,everest"; - capacity-dmips-mhz = <1024>; - device_type = "cpu"; - reg = <0x0 0x11201>; - enable-method = "spin-table"; - operating-points-v2 = <&pcluster_opp>; - performance-domains = <&cpufreq_pc1>; - cpu-release-addr = <0 0>; - next-level-cache = <&l2_cache_p1_1>; - }; - - cpu32: cpu@11202 { - compatible = "apple,everest"; - capacity-dmips-mhz = <1024>; - device_type = "cpu"; - reg = <0x0 0x11202>; - enable-method = "spin-table"; - operating-points-v2 = <&pcluster_opp>; - performance-domains = <&cpufreq_pc1>; - cpu-release-addr = <0 0>; - next-level-cache = <&l2_cache_p1_2>; - }; - - cpu33: cpu@11203 { - compatible = "apple,everest"; - capacity-dmips-mhz = <1024>; - device_type = "cpu"; - reg = <0x0 0x11203>; - enable-method = "spin-table"; - operating-points-v2 = <&pcluster_opp>; - performance-domains = <&cpufreq_pc1>; - cpu-release-addr = <0 0>; - next-level-cache = <&l2_cache_p1_3>; - }; - - cpu34: cpu@11204 { - compatible = "apple,everest"; - capacity-dmips-mhz = <1024>; - device_type = "cpu"; - reg = <0x0 0x11204>; - enable-method = "spin-table"; - operating-points-v2 = <&pcluster_opp>; - performance-domains = <&cpufreq_pc1>; - cpu-release-addr = <0 0>; - next-level-cache = <&l2_cache_p1_4>; - }; - - /* - * Caches beyond L1. Each Sawtooth (M) cluster shares an 8 MiB L2. - * An Everest (S) core has a private L2, and its cluster shares a - * 16 MiB L3. CLIDR_EL1 reports three cache levels on Everest and - * two on Sawtooth; macOS reports 16 MiB and 8 MiB per six cores - * (hw.perflevelN.l2cachesize, cpusperl2); dependent loads on J775c - * take 0.7 ns up to 128 KiB, 2.8 ns up to 512 KiB and 5-11 ns up - * to 8 MiB on an Everest core, and 1.0 ns up to 64 KiB and 4.7 ns - * up to 3 MiB on a Sawtooth core. The size of the Everest L2 is - * not established. Every CPU node must reach as many levels as - * CLIDR_EL1 reports, or cacheinfo ignores these nodes and treats - * every level above L1 as shared by all CPUs, which makes the - * scheduler's last-level-cache domain span all the clusters. - */ - l2_cache_m00: l2-cache-m00 { - compatible = "cache"; - cache-level = <2>; - cache-unified; - cache-size = <0x800000>; - }; - - l2_cache_m01: l2-cache-m01 { - compatible = "cache"; - cache-level = <2>; - cache-unified; - cache-size = <0x800000>; - }; - - l3_cache_p0: l3-cache-p0 { - compatible = "cache"; - cache-level = <3>; - cache-unified; - cache-size = <0x1000000>; - }; - - l2_cache_p0_0: l2-cache-p0-0 { - compatible = "cache"; - cache-level = <2>; - cache-unified; - next-level-cache = <&l3_cache_p0>; - }; - - l2_cache_p0_1: l2-cache-p0-1 { - compatible = "cache"; - cache-level = <2>; - cache-unified; - next-level-cache = <&l3_cache_p0>; - }; - - l2_cache_p0_2: l2-cache-p0-2 { - compatible = "cache"; - cache-level = <2>; - cache-unified; - next-level-cache = <&l3_cache_p0>; - }; - - l2_cache_p0_3: l2-cache-p0-3 { - compatible = "cache"; - cache-level = <2>; - cache-unified; - next-level-cache = <&l3_cache_p0>; - }; - - l2_cache_p0_4: l2-cache-p0-4 { - compatible = "cache"; - cache-level = <2>; - cache-unified; - next-level-cache = <&l3_cache_p0>; - }; - - l2_cache_p0_5: l2-cache-p0-5 { - compatible = "cache"; - cache-level = <2>; - cache-unified; - next-level-cache = <&l3_cache_p0>; - }; - - l2_cache_m10: l2-cache-m10 { - compatible = "cache"; - cache-level = <2>; - cache-unified; - cache-size = <0x800000>; - }; - - l2_cache_m11: l2-cache-m11 { - compatible = "cache"; - cache-level = <2>; - cache-unified; - cache-size = <0x800000>; - }; - - l3_cache_p1: l3-cache-p1 { - compatible = "cache"; - cache-level = <3>; - cache-unified; - cache-size = <0x1000000>; - }; - - l2_cache_p1_0: l2-cache-p1-0 { - compatible = "cache"; - cache-level = <2>; - cache-unified; - next-level-cache = <&l3_cache_p1>; - }; - - l2_cache_p1_1: l2-cache-p1-1 { - compatible = "cache"; - cache-level = <2>; - cache-unified; - next-level-cache = <&l3_cache_p1>; - }; - - l2_cache_p1_2: l2-cache-p1-2 { - compatible = "cache"; - cache-level = <2>; - cache-unified; - next-level-cache = <&l3_cache_p1>; - }; - - l2_cache_p1_3: l2-cache-p1-3 { - compatible = "cache"; - cache-level = <2>; - cache-unified; - next-level-cache = <&l3_cache_p1>; - }; - - l2_cache_p1_4: l2-cache-p1-4 { - compatible = "cache"; - cache-level = <2>; - cache-unified; - next-level-cache = <&l3_cache_p1>; - }; - - l2_cache_p1_5: l2-cache-p1-5 { - compatible = "cache"; - cache-level = <2>; - cache-unified; - next-level-cache = <&l3_cache_p1>; - }; - }; - - /* - * CPU OPPs, from the ADT: /arm-io/pmgr acc-clusters maps clusters 0, 1 and 2 of each die to voltage-states 22, - * 23 and 5, and their -sram tables give the frequencies (kHz). 22 and 23 list the same frequencies, so the two - * M clusters share one table. Levels are DVFS command states: state 1 is 300 MHz and state k the table's - * (k-1)-th entry from state 2, as on T8142 (measured on J775D: every state's clock from a dependent-add chain, - * cpm4 window, evidence/power/2026-11-02-cpupm). iBoot leaves die 0's and die 1's M cluster 0 in state 6 - * (2652 MHz), the other clusters in state 2. - * - * Bring-up: the controllers below assert apple,firmware-managed-thermal, which the T6050 profile requires, - * before that ownership is qualified on this boot chain (no Linux PMP driver runs; the SMC drives the fans). - * The cpm windows qualify it: an all-core load at the top states, watching TCMb, the fans and the measured - * clock (specs/2026-11-02-t6050-cpupm.md). - */ - - - /* The 24 MHz reference clock of the watchdog */ - - /* The QSPI controller's input: ADT /arm-io/qspi clock-ids 440, /arm-io clock-frequencies[440 - 256] */ - - - /* Die 0 MMIO */ - die0: soc { - compatible = "simple-bus"; - #address-cells = <2>; - #size-cells = <2>; - ranges; - nonposted-mmio; - - /* - * The clusters' DVFS command apertures: /arm-io/pmgr reg 16, 26 and 36 (0x12e8 each, the driver uses - * the first 0x1000). apple,firmware-managed-thermal: see the CPU OPP tables. - */ - cpufreq_mc00: performance-controller@210e20000 { - compatible = "apple,t6050-cluster-cpufreq"; - reg = <0x2 0x10e20000 0x0 0x1000>; - #performance-domain-cells = <0>; - apple,firmware-managed-thermal; - }; - - cpufreq_mc10: performance-controller@211e20000 { - compatible = "apple,t6050-cluster-cpufreq"; - reg = <0x2 0x11e20000 0x0 0x1000>; - #performance-domain-cells = <0>; - apple,firmware-managed-thermal; - }; - - cpufreq_pc0: performance-controller@212e20000 { - compatible = "apple,t6050-cluster-cpufreq"; - reg = <0x2 0x12e20000 0x0 0x1000>; - #performance-domain-cells = <0>; - apple,firmware-managed-thermal; - }; - - /* One AIC3 for both dies, 3104 interrupts each */ - aic: interrupt-controller@280400000 { - compatible = "apple,t6050-aic3", "apple,t8122-aic3"; - interrupt-controller; - #interrupt-cells = <4>; - reg = <0x2 0x80400000 0x0 0x1cc000>, - <0x2 0x80440000 0x0 0x4000>; - reg-names = "core", "event"; - }; - - /* - * DockChannel channel 1, the one the USB debug link carries. - * Its FIFO raises no interrupt on receive, so it is drained in - * software. - */ - dockchannel: serial@288e3c000 { - compatible = "apple,dockchannel-uart"; - reg = <0x2 0x88e3c000 0x0 0x30>, - <0x2 0x88e38000 0x0 0x8>, - <0x2 0x88e0c000 0x0 0x18>; - reg-names = "data", "config", "irq"; - interrupts = ; - apple,channel = <1>; - apple,sw-drain; - status = "disabled"; - }; - - wdt: watchdog@28836c000 { - compatible = "apple,t6050-wdt", "apple,t8103-wdt"; - reg = <0x2 0x8836c000 0x0 0x4000>; - clocks = <&clkref>; - interrupts = ; - }; - - /* - * /arm-io/smc: reg[0] 0x8c600000 +0x88000 (the ASC; the SMC driver maps none of it), its mailbox - * the ASC v4 block at +0x8000 as on ANS. ADT interrupts [900, 899, 902, 901]: 899..902 in the - * send-empty, send-not-empty, recv-empty, recv-not-empty order. iop-smc-nub region-base - * 0x28de00000 +0x140000 is already a CPU address: the SRAM its RTKit buffers and key replies use. - * iBoot leaves the firmware (t6050smc) running. - */ - smc_mbox: mailbox@28c608000 { - compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; - reg = <0x2 0x8c608000 0x0 0x4000>; - interrupts = , - , - , - ; - interrupt-names = "send-empty", "send-not-empty", - "recv-empty", "recv-not-empty"; - #mbox-cells = <0>; - }; - - /* - * The AOP's GPIO controller (ADT /arm-io/aop-gpio0, gpio,t8101, 85 pins), for the HDMI - * port's hotplug input (pin 14, active high). The AOP keeps interrupt groups 0-3; the - * AP's are 4-6 (supported-int-groups), AIC 572-574. Like T8132's, the block has slots - * that fault when read, so it is matched as T8132's (no register cache read-back). - * Pin 15 (force-dpfu) is never requested. - */ - pinctrl_aop: pinctrl@290824000 { - compatible = "apple,t6050-pinctrl", "apple,t8132-pinctrl"; - reg = <0x2 0x90824000 0x0 0x4000>; - gpio-controller; - #gpio-cells = <2>; - gpio-ranges = <&pinctrl_aop 0 0 85>; - apple,npins = <85>; - interrupt-controller; - #interrupt-cells = <2>; - interrupt-parent = <&aic>; - interrupts = , - , - ; - apple,irq-group-base = <4>; - /* Aura enables it with dcpext4 (its hotplug input). */ - status = "disabled"; - }; - - smc: smc@28c600000 { - compatible = "apple,t6050-smc"; - reg = <0x2 0x8c600000 0x0 0x4000>, - <0x2 0x8de00000 0x0 0x140000>; - reg-names = "smc", "sram"; - mboxes = <&smc_mbox>; - - /* T8142's key discovery (every readable T* float key); the Studio's two fans below. */ - smc_hwmon: hwmon { - compatible = "apple,smc-hwmon"; - apple,discover-temperatures; - /* macsmc_soc_die: the SoC hotspot the SMC computes (TCMb, 47.8 C at idle) */ - apple,soc-die-keys = "TCMb"; - - /* PSTR and PDTR read 0 on the Studio; PD0R is its DC input (36.5 W at an idle desktop). */ - power-PD0R { - apple,key-id = "PD0R"; - label = "DC Input Power"; - }; - }; - - /* - * The PMU's legacy scratchpad (info-leg_scrpad 0xf800) cells, as on T6040, and its - * power-on policy byte (info-pm_setting 0x2001, as on T6030) for ac_power_mode. - */ - smc_reboot: reboot { - compatible = "apple,smc-reboot"; - nvmem-cells = <&shutdown_flag>, <&boot_stage>, - <&boot_error_count>, <&panic_count>, <&pm_setting>; - nvmem-cell-names = "shutdown_flag", "boot_stage", - "boot_error_count", "panic_count", "pm_setting"; - }; - - /* - * The HDMI converter's two power outputs, SMC pcIO commands (ADT dp2hdmi-gpio1, - * pKW8('pcIO', lo, hi) templates (hi << 32) | lo, the level in bits 15:0): - * line 0 hdmi_pwr_en ('pcIO', 0x800000, 0xf0000), line 1 dp2hdmi_pwr_en - * ('pcIO', 0x0, 0x1a0000). Nothing drives them until the HDMI output does. - */ - smc_pcio: gpio { - compatible = "apple,smc-pcio-gpio"; - gpio-controller; - #gpio-cells = <2>; - apple,output-commands = /bits/ 64 <0x000f000000800000 0x001a000000000000>; - }; - - /* ADT info-clock_offset [0x2100, 6]: M1-style 32768 Hz ticks, as on T6040. */ - smc_rtc: rtc { - compatible = "apple,smc-rtc"; - nvmem-cells = <&rtc_offset>, <&rtc_ctrl>, <&rtc_alarm>, - <&rtc_alarm_mask>; - nvmem-cell-names = "rtc_offset", "rtc_ctrl", "rtc_alarm", - "rtc_alarm_mask"; - /* The PMU alarm: its peripheral interrupt 2 (ADT smc-pmu wake source bit 48, rtc) */ - interrupts-extended = <&nub_spmi0 2 IRQ_TYPE_EDGE_RISING>; - wakeup-source; - }; - }; - - /* - * The storage SART. The boot loader's entries (outside the - * kernel's memory) stay in place. - */ - ans_sart: iommu@41dc50000 { - compatible = "apple,t6050-sart"; - reg = <0x4 0x1dc50000 0x0 0xc000>; - }; - - ans_mbox: mailbox@419608000 { - compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; - reg = <0x4 0x19608000 0x0 0x4000>; - interrupts = , - , - , - ; - interrupt-names = "send-empty", "send-not-empty", - "recv-empty", "recv-not-empty"; - #mbox-cells = <0>; - }; - - /* - * The boot loader leaves ANS running with the controller shut - * down. Its power stays with the firmware, and post-M4 ANS is - * never reset through PMGR, so the node names no power domain - * and no reset. - */ - nvme: nvme@45dcc0000 { - compatible = "apple,t6050-nvme-ans2"; - reg = <0x4 0x5dcc0000 0x0 0x10000>, - <0x4 0x19600000 0x0 0x4000>, - <0x4 0x1dcc0000 0x0 0x60000>; - reg-names = "nvme", "ans", "nvmmu"; - interrupts = ; - mboxes = <&ans_mbox>; - apple,sart = <&ans_sart>; - }; - - /* The DARTs of PCIe ports 2 and 3 */ - dart_apcie2: iommu@412000000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - reg = <0x4 0x12000000 0x0 0x20000>; - interrupts = ; - #iommu-cells = <1>; - status = "disabled"; - }; - - /* - * /arm-io/dart-apcie0: the N1's (apcie port 0). Its mappers are Control, Alpha and Beta - * on streams 1, 2 and 3. Disabled, like port 0, until the bootloader trains that port. - */ - dart_apcie0: iommu@410000000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - reg = <0x4 0x10000000 0x0 0x20000>; - interrupts = ; - #iommu-cells = <1>; - status = "disabled"; - }; - - dart_apcie3: iommu@413000000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - reg = <0x4 0x13000000 0x0 0x20000>; - interrupts = ; - #iommu-cells = <1>; - status = "disabled"; - }; - - /* - * /arm-io/nub-spmi0: reg[0] 0x8a014000 +0x4000, generation 4. Its AIC line is ADT interrupts[1] - * (726; the others are the controller's own numbers: 256 the command notify, 281 fatal, then the - * error and other lists). Its peripheral interrupts carry the PMU's (spmi-abbeyL1: 2, 62). - * No power-domains: NUB_SPMI0 is critical and on (Aura talks to the PMU here every boot), and - * binding the pwrstate driver would write the PS register at probe. - */ - nub_spmi0: spmi@28a014000 { - compatible = "apple,t6050-spmi", "apple,t8142-spmi"; - reg = <0x2 0x8a014000 0x0 0x4000>; - #address-cells = <2>; - #size-cells = <0>; - interrupt-parent = <&aic>; - interrupts = ; - interrupt-controller; - #interrupt-cells = <2>; - - /* spmi-abbeyL1, is-primary: USID 0xe. Read-only use: cells, never a whole-device read. */ - pmu: pmic@e { - compatible = "apple,abbey-pmic", "apple,spmi-nvmem"; - reg = <0xe SPMI_USID>; - - nvmem-layout { - compatible = "fixed-layout"; - #address-cells = <1>; - #size-cells = <1>; - - /* - * The PMU alarm: ADT info-rtc_alarm_ctrl 0x2000 (monitor bit 0, event bit 1, - * enable bit 6), info-rtc_alarm_offset 0x2008, info-rtc_irq_mask_offset 0x200e. - */ - rtc_ctrl: rtc-ctrl@2000 { - reg = <0x2000 1>; - }; - - /* ADT info-pm_setting: bit 0 no restore, bit 5 no power-on at connect */ - pm_setting: pm-setting@2001 { - reg = <0x2001 1>; - }; - - rtc_alarm: rtc-alarm@2008 { - reg = <0x2008 4>; - }; - - rtc_alarm_mask: rtc-alarm-mask@200e { - reg = <0x200e 1>; - }; - - rtc_offset: rtc-offset@2100 { - reg = <0x2100 6>; /* ADT info-clock_offset */ - }; - - /* Abbey conventions (research 14; 0xf802 is the counter Aura clears). */ - boot_stage: boot-stage@f801 { - reg = <0xf801 1>; - }; - - boot_error_count: boot-error-count@f802,0 { - reg = <0xf802 1>; - bits = <0 4>; - }; - - panic_count: panic-count@f802,4 { - reg = <0xf802 1>; - bits = <4 4>; - }; - - shutdown_flag: shutdown-flag@f80f,3 { - reg = <0xf80f 1>; - bits = <3 1>; - }; - }; - }; - }; - /* - * dcpext0, the first external display engine (die 0), as iBoot leaves it: powered, its ASC - * running, both DARTs locked (PROTECT 0xff / 0xb9) on its own four-level tables, DCP SID 23, - * scanout SID 0 and PIODMA SID 16 (evidence/display/2026-10-30-dcpext-inventory.md). From the - * ADT (/arm-io/dcpext0, dispext0, dart-dcpext0, dart-dispext0; arm-io ranges +0x200000000) - * and the M5 guest's validated dcp@70000000 (aura-internal data/m5-apif-guest.dts), whose - * physical addresses these are. No power-domains: the blocks run with auto-enable, and the - * pwrstate driver would write PS at probe. All disabled here: Aura enables them only when its - * checks of that state pass and it has reserved vram (patches/aura). - */ - dart_dcpext0: iommu@2b2340000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - reg = <0x2 0xb2340000 0x0 0x20000>; - /* dart-dcpext0 and dart-dispext0 share ADT interrupt 1070 */ - interrupts = ; - #iommu-cells = <1>; - /* ADT vm-base 1 TiB, vm-size 3 TiB */ - apple,dma-range = <0x100 0x0 0x300 0x0>; - status = "disabled"; - }; - - dart_dispext0: iommu@2b2300000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - /* reg[0] only; the ADT's second bank (0xb2314000) and shared 0x803f0000 are not ours */ - reg = <0x2 0xb2300000 0x0 0xc000>; - interrupts = ; - #iommu-cells = <1>; - apple,dma-range = <0x100 0x0 0x300 0x0>; - status = "disabled"; - }; - - /* The ASC v4 mailbox at dcpext0 + 0x8000; ADT interrupts 1123..1126 in mailbox order */ - dcpext0_mbox: mailbox@2b2e08000 { - compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; - reg = <0x2 0xb2e08000 0x0 0x4000>; - interrupts = , - , - , - ; - interrupt-names = "send-empty", "send-not-empty", - "recv-empty", "recv-not-empty"; - #mbox-cells = <0>; - status = "disabled"; - }; - - /* dispext0 reg[4]: the PMC metadata the bandwidth scratch lives in */ - dcpext0_pmc: pmc-metadata@286700000 { - reg = <0x2 0x86700000 0x0 0x114000>; - #apple,bw-scratch-cells = <3>; - status = "disabled"; - }; - - /* - * The PMC voter interface (die 0): agent a's floor word at "voters" + 0x4000 * a, with a - * pending word after it, and the honoured floors and rail enable words at "rails". Both lie - * inside dispext0's PMC range above, which the DCP driver only hands to its firmware. Agents - * (ADT voter-agent): PMP 0, CLPC 1, GFX 2, AP 3, PMP1 4. The boot loader enables none on any - * rail; CLPC and AP become static voters. The PMP and GFX agents stay as the boot left them. - */ - pmc: power-management@286806000 { - compatible = "apple,t6050-pmc"; - reg = <0x2 0x86806000 0x0 0x3000>, - <0x2 0x86700000 0x0 0x14000>; - reg-names = "rails", "voters"; - #address-cells = <1>; - #size-cells = <0>; - apple,static-voters = <1 3>; - - clpc: performance-controller@1 { - compatible = "apple,t6050-clpc", "apple,t6041-clpc"; - reg = <1>; - }; - }; - - dcpext0: dcp@2b2e00000 { - compatible = "apple,t6050-dcpext", "apple,dcpext"; - reg = <0x2 0xb2e00000 0x0 0x4000>, - <0x2 0xb0000000 0x0 0x4000000>, - <0x2 0xb2240000 0x0 0x10000>, - <0x2 0xb23ac000 0x0 0x4000>, - <0x2 0xb2800000 0x0 0x800000>, - <0x2 0x86700000 0x0 0x114000>, - <0x2 0xb2850000 0x0 0x4000>; - reg-names = "coproc", "disp-0", "disp-1", "disp-2", "disp-3", "disp-4", "iop-vbar"; - mboxes = <&dcpext0_mbox>; - mbox-names = "mbox"; - iommus = <&dart_dcpext0 23>; - apple,bw-scratch = <&dcpext0_pmc 0 5 0x2c000>; - apple,dcp-index = <1>; - /* dcpext has no firmware clocks (the M5 guest's empty list) */ - apple,clock-ids; - /* - * apple,firmware-version/-compat come from Aura's handoff (aura/0034): the stub's - * firmware, 27.0 or 27.2, whose IOMFB method IDs differ (iomfb_v27.c). - */ - /* - * DisplayPort out on the rear USB-C ports. Route 0 is port 3 (HPM2, "back-left-middle", - * ATC2), the M5 guest's route for this engine (crossbar index 0, typec-dptx-phys 2), - * which Aura's display handoff enables and binds to its HPM. Routes 1-3 are ports 2, 4 - * and 1 (ATC1, ATC3, ATC0): the same crossbar input on each port's crossbar, and the - * port's own DPTX PHY, as the other Apple boards that route one engine to every port. - */ - apple,connector-type = "USB-C"; - apple,dptx-die = <0>; - apple,typec-dptx-phys = <2 1 3 0>; - apple,typec-mux-indices = <0 0 0 0>; - phys = <&atc2_phy 6>, <&atc1_phy 6>, <&atc3_phy 6>, <&atc0_phy 6>; - phy-names = "typec0", "typec1", "typec2", "typec3"; - mux-controls = <&atc2_xbar 0>, <&atc1_xbar 0>, <&atc3_xbar 0>, <&atc0_xbar 0>; - mux-control-names = "typec0", "typec1", "typec2", "typec3"; - status = "disabled"; - - piodma { - iommus = <&dart_dispext0 16>; - }; - - typec-routes { - #address-cells = <1>; - #size-cells = <0>; - - route@0 { - reg = <0>; - mode-switch; - - port { - dcpext0_typec: endpoint { - remote-endpoint = <&hpm2_dp>; - }; - }; - }; - - route@1 { - reg = <1>; - mode-switch; - - port { - dcpext0_typec1: endpoint { - remote-endpoint = <&hpm1_dp>; - }; - }; - }; - - route@2 { - reg = <2>; - mode-switch; - - port { - dcpext0_typec2: endpoint { - remote-endpoint = <&hpm3_dp>; - }; - }; - }; - - route@3 { - reg = <3>; - mode-switch; - - port { - dcpext0_typec3: endpoint { - remote-endpoint = <&hpm0_dp>; - }; - }; - }; - }; - }; - - /* - * The Type-C chain of rear port 3, all disabled: Aura's T6050 display handoff enables - * what dcpext0 references (phys, mux-controls, the PHY's mailbox and power domains, - * the typec route's HPM and its SPMI bus). Addresses from the ADT (arm-io ranges - * +0x200000000); PMGR offsets from tools/aura's pmgr_adt2dt.py over the same ADT. - */ - pmgr0: power-management@280600000 { - compatible = "apple,t6050-pmgr", "apple,t8103-pmgr", "syscon", "simple-mfd"; - reg = <0x2 0x80600000 0x0 0x4000>; - #address-cells = <1>; - #size-cells = <1>; - - /* Rear port 1 (ATC0), ADT pmgr ATC0_COMMON. */ - ps_atc0_common: power-controller@208 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x208 4>; - label = "atc0_common"; - #power-domain-cells = <0>; - #reset-cells = <0>; - }; - - /* Rear port 2's (ATC1) chain is described enabled: nothing hands it off. */ - ps_atc1_common: power-controller@210 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x210 4>; - label = "atc1_common"; - #power-domain-cells = <0>; - #reset-cells = <0>; - }; - - ps_atc2_common: power-controller@238 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x238 4>; - label = "atc2_common"; - #power-domain-cells = <0>; - #reset-cells = <0>; - status = "disabled"; - }; - - /* Rear port 4 (ATC3), ADT gate 62. Its parent FAB5_SOC (+0x1f0) is critical: always on. */ - ps_atc3_common: power-controller@240 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x240 4>; - label = "atc3_common"; - #power-domain-cells = <0>; - #reset-cells = <0>; - }; - }; - - pmgr2: power-management@288300000 { - compatible = "apple,t6050-pmgr", "apple,t8103-pmgr", "syscon", "simple-mfd"; - reg = <0x2 0x88300000 0x0 0xc000>; - #address-cells = <1>; - #size-cells = <1>; - - /* Rear port 1 (ATC0): ADT pmgr ATC0_USB_AON, ATC0_USB, ATC0_PHYMXWRAP. */ - ps_atc0_usb_aon: power-controller@148 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x148 4>; - label = "atc0_usb_aon"; - #power-domain-cells = <0>; - #reset-cells = <0>; - }; - - ps_atc0_usb: power-controller@150 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x150 4>; - label = "atc0_usb"; - #power-domain-cells = <0>; - #reset-cells = <0>; - power-domains = <&ps_atc0_common>, <&ps_atc0_usb_aon>; - }; - - ps_atc0_phymxwrap: power-controller@158 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x158 4>; - label = "atc0_phymxwrap"; - #power-domain-cells = <0>; - #reset-cells = <0>; - power-domains = <&ps_atc0_common>, <&ps_atc0_usb_aon>; - }; - - ps_atc1_usb_aon: power-controller@160 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x160 4>; - label = "atc1_usb_aon"; - #power-domain-cells = <0>; - #reset-cells = <0>; - }; - - /* usb-drd1's clock gate (its DARTs' too); the PHY's USB2 banks need it as well */ - ps_atc1_usb: power-controller@168 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x168 4>; - label = "atc1_usb"; - #power-domain-cells = <0>; - #reset-cells = <0>; - power-domains = <&ps_atc1_common>, <&ps_atc1_usb_aon>; - }; - - ps_atc1_phymxwrap: power-controller@170 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x170 4>; - label = "atc1_phymxwrap"; - #power-domain-cells = <0>; - #reset-cells = <0>; - power-domains = <&ps_atc1_common>, <&ps_atc1_usb_aon>; - }; - - ps_atc2_usb_aon: power-controller@178 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x178 4>; - label = "atc2_usb_aon"; - #power-domain-cells = <0>; - #reset-cells = <0>; - status = "disabled"; - }; - - ps_atc2_phymxwrap: power-controller@188 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x188 4>; - label = "atc2_phymxwrap"; - #power-domain-cells = <0>; - #reset-cells = <0>; - power-domains = <&ps_atc2_common>, <&ps_atc2_usb_aon>; - status = "disabled"; - }; - - /* usb-drd2's clock gate; the PHY's USB2 banks need it too */ - ps_atc2_usb: power-controller@180 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x180 4>; - label = "atc2_usb"; - #power-domain-cells = <0>; - #reset-cells = <0>; - power-domains = <&ps_atc2_common>, <&ps_atc2_usb_aon>; - status = "disabled"; - }; - - /* Rear port 4 (ATC3): ADT gates 269, 270 (usb-drd3) and 271 */ - ps_atc3_usb_aon: power-controller@190 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x190 4>; - label = "atc3_usb_aon"; - #power-domain-cells = <0>; - #reset-cells = <0>; - }; - - ps_atc3_usb: power-controller@198 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x198 4>; - label = "atc3_usb"; - #power-domain-cells = <0>; - #reset-cells = <0>; - power-domains = <&ps_atc3_common>, <&ps_atc3_usb_aon>; - }; - - ps_atc3_phymxwrap: power-controller@1a0 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x1a0 4>; - label = "atc3_phymxwrap"; - #power-domain-cells = <0>; - #reset-cells = <0>; - power-domains = <&ps_atc3_common>, <&ps_atc3_usb_aon>; - }; - }; - - /* /arm-io/acio-phy-cpu2 reg[0]: the PHY firmware's mailbox (it runs, pre-loaded by iBoot) */ - atc2_phy_mbox: mailbox@383148000 { - compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; - reg = <0x3 0x83148000 0x0 0x4000>; - interrupts = , - , - , - ; - interrupt-names = "send-empty", "send-not-empty", "recv-empty", "recv-not-empty"; - #mbox-cells = <0>; - status = "disabled"; - }; - - /* /arm-io/atc-phy2 regs [2] [0] usb-drd2[4] [39] [40] [41] [42] [43] [38] [37] usb-drd2[3] */ - atc2_phy: phy@383000000 { - compatible = "apple,t6050-combo-phy"; - reg = <0x3 0x83000000 0x0 0x2c000>, - <0x3 0x82a90000 0x0 0x4000>, - <0x3 0x82800000 0x0 0x4000>, - <0x3 0x83200000 0x0 0x4000>, - <0x3 0x83244000 0x0 0x4000>, - <0x3 0x80000000 0x0 0x8000>, - <0x3 0x80020000 0x0 0x4000>, - <0x3 0x83250000 0x0 0x4000>, - <0x3 0x83140000 0x0 0x4000>, - <0x3 0x830c0000 0x0 0x10000>, - <0x3 0x82a84000 0x0 0x4000>; - reg-names = "core", "usb2phy", "usb2-digital", "reset", "fabric", "axi2af", "lioa", - "common-cfg", "usb-control", "firmware-data", "pipehandler"; - #phy-cells = <1>; - #reset-cells = <1>; - apple,port-index = <2>; - /* The binding's name for "no other owner"; nothing else drives this port here. */ - apple,guest-port-reserved; - mode-switch; - orientation-switch; - mboxes = <&atc2_phy_mbox>; - power-domains = <&ps_atc2_usb_aon>, <&ps_atc2_common>, <&ps_atc2_phymxwrap>, - <&ps_atc2_usb>; - power-domain-names = "usb-aon", "common", "wrapper", "usb"; - status = "disabled"; - - port { - atc2_phy_ep: endpoint { - remote-endpoint = <&hpm2_ss>; - }; - }; - }; - - /* /arm-io/atc0-dpxbar */ - - /* /arm-io/atc1-dpxbar */ - - /* /arm-io/atc3-dpxbar */ - - /* /arm-io/atc2-dpxbar */ - atc2_xbar: mux@38324c000 { - compatible = "apple,t6050-display-crossbar", "apple,t8142-display-crossbar"; - reg = <0x3 0x8324c000 0x0 0x4000>; - #mux-control-cells = <1>; - power-domains = <&ps_atc2_usb_aon>, <&ps_atc2_common>; - power-domain-names = "usb-aon", "common"; - status = "disabled"; - }; - - /* - * /arm-io/nub-spmi-a0: reg[0] 0x8a188000, generation 4. The HPM is polled (no - * interrupts), so the bus needs none either. - */ - /* Enabled for rear port 2's HPM; the display handoff still enables hpm2 itself. */ - nub_spmi_a0: spmi@28a188000 { - compatible = "apple,t6050-spmi", "apple,t8142-spmi"; - reg = <0x2 0x8a188000 0x0 0x4000>; - #address-cells = <2>; - #size-cells = <0>; - - /* - * /arm-io/nub-spmi-a0/hpm0: SN201202x (ACE3), SPMI address 0xc, port-number 1 (back-right): - * the DFU port. Bring-up kept it disabled for the DFU cable's host-side VDM reboot path and - * the debug console (KIS); a smart plug now covers power-cycles, and full parity needs the - * port. While Linux runs, this driver owns the controller, as on other Apple machines. - */ - hpm0: usb-pd@c { - compatible = "apple,sn201202x"; - reg = <0xc SPMI_USID>; - - connector { - compatible = "usb-c-connector"; - label = "USB-C Back-right"; - power-role = "dual"; - data-role = "host"; - - ports { - #address-cells = <1>; - #size-cells = <0>; - - port@0 { - reg = <0>; - hpm0_hs: endpoint { - remote-endpoint = <&usb_drd0_hs>; - }; - }; - - port@1 { - reg = <1>; - hpm0_ss: endpoint { - remote-endpoint = <&atc0_phy_ep>; - }; - }; - - port@2 { - reg = <2>; - hpm0_dp: endpoint { - remote-endpoint = <&dcpext0_typec3>; - }; - }; - }; - }; - }; - - /* /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 { - compatible = "usb-c-connector"; - label = "USB-C Back-right-middle"; - power-role = "dual"; - data-role = "host"; - - ports { - #address-cells = <1>; - #size-cells = <0>; - - port@0 { - reg = <0>; - hpm1_hs: endpoint { - remote-endpoint = <&usb_drd1_hs>; - }; - }; - - port@1 { - reg = <1>; - hpm1_ss: endpoint { - remote-endpoint = <&atc1_phy_ep>; - }; - }; - - port@2 { - reg = <2>; - hpm1_dp: endpoint { - remote-endpoint = <&dcpext0_typec1>; - }; - }; - }; - }; - }; - - /* /arm-io/nub-spmi-a0/hpm2: SN201202x (ACE3), SPMI address 8, port-number 3 */ - hpm2: usb-pd@8 { - compatible = "apple,sn201202x"; - reg = <0x8 SPMI_USID>; - status = "disabled"; - - connector { - compatible = "usb-c-connector"; - label = "USB-C Back-left-middle"; - power-role = "dual"; - data-role = "dual"; - - ports { - #address-cells = <1>; - #size-cells = <0>; - - port@0 { - reg = <0>; - hpm2_hs: endpoint { - remote-endpoint = <&usb_drd2_hs>; - }; - }; - - port@1 { - reg = <1>; - hpm2_ss: endpoint { - remote-endpoint = <&atc2_phy_ep>; - }; - }; - - port@2 { - reg = <2>; - hpm2_dp: endpoint { - remote-endpoint = <&dcpext0_typec>; - }; - }; - }; - }; - }; - - /* /arm-io/nub-spmi-a0/hpm3: SN201202x (ACE3), SPMI address 6, port-number 4 */ - hpm3: usb-pd@6 { - compatible = "apple,sn201202x"; - reg = <0x6 SPMI_USID>; - - connector { - compatible = "usb-c-connector"; - label = "USB-C Back-left"; - power-role = "dual"; - data-role = "host"; - - ports { - #address-cells = <1>; - #size-cells = <0>; - - port@0 { - reg = <0>; - hpm3_hs: endpoint { - remote-endpoint = <&usb_drd3_hs>; - }; - }; - - port@1 { - reg = <1>; - hpm3_ss: endpoint { - remote-endpoint = <&atc3_phy_ep>; - }; - }; - - port@2 { - reg = <2>; - hpm3_dp: endpoint { - remote-endpoint = <&dcpext0_typec2>; - }; - }; - }; - }; - }; - }; - - /* - * Rear USB-C port 2 (HPM1, "back-right-middle"), USB data: ATC1's combo PHY, usb-drd1 and - * dart-usb1, as port 3's above with ADT /arm-io/atc-phy1, usb-drd1 and acio-phy-cpu1. - */ - /* - * Rear USB-C port 1 (HPM0, "back-right" in the ADT, leftmost seen from behind; the DFU - * port): ATC0's combo PHY, usb-drd0 and dart-usb0, as port 2's below. ADT /arm-io/atc-phy0, - * usb-drd0, dart-usb0 and acio-phy-cpu0: every register ATC1's - 0x08000000, the same - * properties and tunables (usb-drd0 adds only usb-restore-disable and the restore NCM address). - */ - /* /arm-io/acio-phy-cpu0 reg[0]: the PHY firmware's mailbox */ - atc0_phy_mbox: mailbox@2a3148000 { - compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; - reg = <0x2 0xa3148000 0x0 0x4000>; - interrupts = , - , - , - ; - interrupt-names = "send-empty", "send-not-empty", "recv-empty", "recv-not-empty"; - #mbox-cells = <0>; - }; - - /* /arm-io/atc-phy0 regs [2] [0] usb-drd0[4] [39] [40] [41] [42] [43] [38] [37] usb-drd0[3] */ - atc0_phy: phy@2a3000000 { - compatible = "apple,t6050-combo-phy"; - reg = <0x2 0xa3000000 0x0 0x2c000>, - <0x2 0xa2a90000 0x0 0x4000>, - <0x2 0xa2800000 0x0 0x4000>, - <0x2 0xa3200000 0x0 0x4000>, - <0x2 0xa3244000 0x0 0x4000>, - <0x2 0xa0000000 0x0 0x8000>, - <0x2 0xa0020000 0x0 0x4000>, - <0x2 0xa3250000 0x0 0x4000>, - <0x2 0xa3140000 0x0 0x4000>, - <0x2 0xa30c0000 0x0 0x10000>, - <0x2 0xa2a84000 0x0 0x4000>; - reg-names = "core", "usb2phy", "usb2-digital", "reset", "fabric", "axi2af", "lioa", - "common-cfg", "usb-control", "firmware-data", "pipehandler"; - #phy-cells = <1>; - #reset-cells = <1>; - apple,port-index = <0>; - /* The DFU cable's debug link is no longer used on J775c: port 0 is ordinary. */ - apple,boot-link-released; - apple,guest-port-reserved; - mode-switch; - orientation-switch; - mboxes = <&atc0_phy_mbox>; - power-domains = <&ps_atc0_usb_aon>, <&ps_atc0_common>, <&ps_atc0_phymxwrap>, - <&ps_atc0_usb>; - power-domain-names = "usb-aon", "common", "wrapper", "usb"; - - port { - atc0_phy_ep: endpoint { - remote-endpoint = <&hpm0_ss>; - }; - }; - }; - - /* - * /arm-io/usb-drd0: reg[0] (core and Apple regions), reg[1] (drd-cfg), interrupt 1419. The - * tunables are its ADT tables (DRD_USB31_GBL_DEFAULT with GCTL.PWRDNSCALE = 0xd, as on - * T6040; GBL_HOST, DBG, CFG_HOST, LINK_REGS, CIO_REGS); PIPE_HANDLER goes to the PHY. - */ - - /* /arm-io/dart-usb0 reg[0] and reg[1], interrupt 1423; vm-base 0x10000004000 +0xffff0000 */ - - - /* /arm-io/acio-phy-cpu1 reg[0]: the PHY firmware's mailbox */ - atc1_phy_mbox: mailbox@2ab148000 { - compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; - reg = <0x2 0xab148000 0x0 0x4000>; - interrupts = , - , - , - ; - interrupt-names = "send-empty", "send-not-empty", "recv-empty", "recv-not-empty"; - #mbox-cells = <0>; - }; - - /* /arm-io/atc-phy1 regs [2] [0] usb-drd1[4] [39] [40] [41] [42] [43] [38] [37] usb-drd1[3] */ - atc1_phy: phy@2ab000000 { - compatible = "apple,t6050-combo-phy"; - reg = <0x2 0xab000000 0x0 0x2c000>, - <0x2 0xaaa90000 0x0 0x4000>, - <0x2 0xaa800000 0x0 0x4000>, - <0x2 0xab200000 0x0 0x4000>, - <0x2 0xab244000 0x0 0x4000>, - <0x2 0xa8000000 0x0 0x8000>, - <0x2 0xa8020000 0x0 0x4000>, - <0x2 0xab250000 0x0 0x4000>, - <0x2 0xab140000 0x0 0x4000>, - <0x2 0xab0c0000 0x0 0x10000>, - <0x2 0xaaa84000 0x0 0x4000>; - reg-names = "core", "usb2phy", "usb2-digital", "reset", "fabric", "axi2af", "lioa", - "common-cfg", "usb-control", "firmware-data", "pipehandler"; - #phy-cells = <1>; - #reset-cells = <1>; - apple,port-index = <1>; - apple,guest-port-reserved; - mode-switch; - orientation-switch; - mboxes = <&atc1_phy_mbox>; - power-domains = <&ps_atc1_usb_aon>, <&ps_atc1_common>, <&ps_atc1_phymxwrap>, - <&ps_atc1_usb>; - power-domain-names = "usb-aon", "common", "wrapper", "usb"; - - port { - atc1_phy_ep: endpoint { - remote-endpoint = <&hpm1_ss>; - }; - }; - }; - - /* - * /arm-io/usb-drd1: reg[0] (core and Apple regions), reg[1] (drd-cfg), interrupt 1451. The - * tunables are its ADT tables (DRD_USB31_GBL_DEFAULT with GCTL.PWRDNSCALE = 0xd, as on - * T6040; GBL_HOST, DBG, CFG_HOST, LINK_REGS, CIO_REGS); PIPE_HANDLER goes to the PHY. - */ - usb_drd1: usb@2aa280000 { - compatible = "apple,t6050-dwc3", "apple,t8103-dwc3"; - reg = <0x2 0xaa280000 0x0 0xcd00>, - <0x2 0xaa28cd00 0x0 0x4b00>, - <0x2 0xaa200000 0x0 0x4000>; - reg-names = "dwc3-core", "dwc3-apple", "drd-cfg"; - interrupts = ; - dr_mode = "otg"; - usb-role-switch; - role-switch-default-mode = "host"; - iommus = <&usb_drd1_dart_0 0>, <&usb_drd1_dart_1 1>; - power-domains = <&ps_atc1_usb>; - resets = <&atc1_phy 0>; - phys = <&atc1_phy PHY_TYPE_USB2>, <&atc1_phy PHY_TYPE_USB3>; - phy-names = "usb2-phy", "usb3-phy"; - apple,tunable-gbl-default = <0x64 0x2 0x0>, <0x10 0xfff80000 0x00680000>; - apple,tunable-gbl-host = <0x4 0x0001ef00 0x00002f00>, <0x1c 0x00000100 0x0>, - <0x2c 0x000a07ff 0x000800c8>, <0x100 0x02000100 0x02000100>, - <0x504 0x00001000 0x0>, <0x528 0xff0000ff 0x06000006>, - <0x52c 0xff0000ff 0x08000008>, <0x580 0xffffffff 0x6f000006>, - <0x584 0xffffffff 0x00060000>; - apple,tunable-dbg = <0x0 0x8 0x8>; - apple,tunable-cfg-host = <0x20 0xff 0x1b>; - apple,tunable-link = <0x10 0xff000000 0xff000000>, <0x20 0x7ff00000 0x4e900000>, - <0x24 0x001f8000 0x000b8000>, <0x60 0x0003ffff 0x00000600>; - apple,tunable-cio = <0x20 0x00ff0000 0x001e0000>; - - port { - usb_drd1_hs: endpoint { - remote-endpoint = <&hpm1_hs>; - }; - }; - }; - - /* /arm-io/dart-usb1 reg[0] and reg[1], interrupt 1455; vm-base 0x10000004000 +0xffff0000 */ - usb_drd1_dart_0: iommu@2aaf00000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - reg = <0x2 0xaaf00000 0x0 0xc000>; - interrupts = ; - power-domains = <&ps_atc1_usb>; - #iommu-cells = <1>; - apple,dma-range = <0x100 0x4000 0x0 0xffff0000>; - }; - - usb_drd1_dart_1: iommu@2aaf80000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - reg = <0x2 0xaaf80000 0x0 0xc000>; - interrupts = ; - power-domains = <&ps_atc1_usb>; - #iommu-cells = <1>; - apple,dma-range = <0x100 0x4000 0x0 0xffff0000>; - }; - - /* - * Rear USB-C port 3 (HPM2, the display port): usb-drd2 and dart-usb2, for USB beside DisplayPort - * on ATC2. Disabled: atc2_phy and its domains are the display handoff's. - */ - /* /arm-io/usb-drd2: reg[0] (core and Apple regions), reg[1] (drd-cfg), interrupt 1483; port 2's tunables */ - usb_drd2: usb@382280000 { - compatible = "apple,t6050-dwc3", "apple,t8103-dwc3"; - reg = <0x3 0x82280000 0x0 0xcd00>, - <0x3 0x8228cd00 0x0 0x4b00>, - <0x3 0x82200000 0x0 0x4000>; - reg-names = "dwc3-core", "dwc3-apple", "drd-cfg"; - interrupts = ; - dr_mode = "otg"; - usb-role-switch; - role-switch-default-mode = "host"; - iommus = <&usb_drd2_dart_0 0>, <&usb_drd2_dart_1 1>; - power-domains = <&ps_atc2_usb>; - resets = <&atc2_phy 0>; - phys = <&atc2_phy PHY_TYPE_USB2>, <&atc2_phy PHY_TYPE_USB3>; - phy-names = "usb2-phy", "usb3-phy"; - apple,tunable-gbl-default = <0x64 0x2 0x0>, <0x10 0xfff80000 0x00680000>; - apple,tunable-gbl-host = <0x4 0x0001ef00 0x00002f00>, <0x1c 0x00000100 0x0>, - <0x2c 0x000a07ff 0x000800c8>, <0x100 0x02000100 0x02000100>, - <0x504 0x00001000 0x0>, <0x528 0xff0000ff 0x06000006>, - <0x52c 0xff0000ff 0x08000008>, <0x580 0xffffffff 0x6f000006>, - <0x584 0xffffffff 0x00060000>; - apple,tunable-dbg = <0x0 0x8 0x8>; - apple,tunable-cfg-host = <0x20 0xff 0x1b>; - apple,tunable-link = <0x10 0xff000000 0xff000000>, <0x20 0x7ff00000 0x4e900000>, - <0x24 0x001f8000 0x000b8000>, <0x60 0x0003ffff 0x00000600>; - apple,tunable-cio = <0x20 0x00ff0000 0x001e0000>; - /* USB beside DisplayPort on port 3: enabled with atc2_phy (specs/2026-11-02-usb-c-all-ports.md). */ - status = "disabled"; - - port { - usb_drd2_hs: endpoint { - remote-endpoint = <&hpm2_hs>; - }; - }; - }; - - /* /arm-io/dart-usb2 reg[0] and reg[1], interrupt 1487; vm-base 0x10000004000 +0xffff0000 */ - usb_drd2_dart_0: iommu@382f00000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - reg = <0x3 0x82f00000 0x0 0xc000>; - interrupts = ; - power-domains = <&ps_atc2_usb>; - #iommu-cells = <1>; - apple,dma-range = <0x100 0x4000 0x0 0xffff0000>; - status = "disabled"; - }; - - usb_drd2_dart_1: iommu@382f80000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - reg = <0x3 0x82f80000 0x0 0xc000>; - interrupts = ; - power-domains = <&ps_atc2_usb>; - #iommu-cells = <1>; - apple,dma-range = <0x100 0x4000 0x0 0xffff0000>; - status = "disabled"; - }; - - /* - * Rear USB-C port 4 (HPM3, "back-left"): ATC3's combo PHY, usb-drd3 and dart-usb3, as port 2's - * (ADT /arm-io/atc-phy3, acio-phy-cpu3, usb-drd3, dart-usb3). - */ - /* /arm-io/acio-phy-cpu3 reg[0]: the PHY firmware's mailbox */ - atc3_phy_mbox: mailbox@38b148000 { - compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; - reg = <0x3 0x8b148000 0x0 0x4000>; - interrupts = , - , - , - ; - interrupt-names = "send-empty", "send-not-empty", "recv-empty", "recv-not-empty"; - #mbox-cells = <0>; - }; - - /* /arm-io/atc-phy3 regs [2] [0] usb-drd3[4] [39] [40] [41] [42] [43] [38] [37] usb-drd3[3] */ - atc3_phy: phy@38b000000 { - compatible = "apple,t6050-combo-phy"; - reg = <0x3 0x8b000000 0x0 0x2c000>, - <0x3 0x8aa90000 0x0 0x4000>, - <0x3 0x8a800000 0x0 0x4000>, - <0x3 0x8b200000 0x0 0x4000>, - <0x3 0x8b244000 0x0 0x4000>, - <0x3 0x88000000 0x0 0x8000>, - <0x3 0x88020000 0x0 0x4000>, - <0x3 0x8b250000 0x0 0x4000>, - <0x3 0x8b140000 0x0 0x4000>, - <0x3 0x8b0c0000 0x0 0x10000>, - <0x3 0x8aa84000 0x0 0x4000>; - reg-names = "core", "usb2phy", "usb2-digital", "reset", "fabric", "axi2af", "lioa", - "common-cfg", "usb-control", "firmware-data", "pipehandler"; - #phy-cells = <1>; - #reset-cells = <1>; - apple,port-index = <3>; - apple,guest-port-reserved; - mode-switch; - orientation-switch; - mboxes = <&atc3_phy_mbox>; - power-domains = <&ps_atc3_usb_aon>, <&ps_atc3_common>, <&ps_atc3_phymxwrap>, - <&ps_atc3_usb>; - power-domain-names = "usb-aon", "common", "wrapper", "usb"; - - port { - atc3_phy_ep: endpoint { - remote-endpoint = <&hpm3_ss>; - }; - }; - }; - - /* /arm-io/usb-drd3: reg[0] (core and Apple regions), reg[1] (drd-cfg), interrupt 1515; port 2's tunables */ - usb_drd3: usb@38a280000 { - compatible = "apple,t6050-dwc3", "apple,t8103-dwc3"; - reg = <0x3 0x8a280000 0x0 0xcd00>, - <0x3 0x8a28cd00 0x0 0x4b00>, - <0x3 0x8a200000 0x0 0x4000>; - reg-names = "dwc3-core", "dwc3-apple", "drd-cfg"; - interrupts = ; - dr_mode = "otg"; - usb-role-switch; - role-switch-default-mode = "host"; - iommus = <&usb_drd3_dart_0 0>, <&usb_drd3_dart_1 1>; - power-domains = <&ps_atc3_usb>; - resets = <&atc3_phy 0>; - phys = <&atc3_phy PHY_TYPE_USB2>, <&atc3_phy PHY_TYPE_USB3>; - phy-names = "usb2-phy", "usb3-phy"; - apple,tunable-gbl-default = <0x64 0x2 0x0>, <0x10 0xfff80000 0x00680000>; - apple,tunable-gbl-host = <0x4 0x0001ef00 0x00002f00>, <0x1c 0x00000100 0x0>, - <0x2c 0x000a07ff 0x000800c8>, <0x100 0x02000100 0x02000100>, - <0x504 0x00001000 0x0>, <0x528 0xff0000ff 0x06000006>, - <0x52c 0xff0000ff 0x08000008>, <0x580 0xffffffff 0x6f000006>, - <0x584 0xffffffff 0x00060000>; - apple,tunable-dbg = <0x0 0x8 0x8>; - apple,tunable-cfg-host = <0x20 0xff 0x1b>; - apple,tunable-link = <0x10 0xff000000 0xff000000>, <0x20 0x7ff00000 0x4e900000>, - <0x24 0x001f8000 0x000b8000>, <0x60 0x0003ffff 0x00000600>; - apple,tunable-cio = <0x20 0x00ff0000 0x001e0000>; - - port { - usb_drd3_hs: endpoint { - remote-endpoint = <&hpm3_hs>; - }; - }; - }; - - /* /arm-io/dart-usb3 reg[0] and reg[1], interrupt 1519; vm-base 0x10000004000 +0xffff0000 */ - usb_drd3_dart_0: iommu@38af00000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - reg = <0x3 0x8af00000 0x0 0xc000>; - interrupts = ; - power-domains = <&ps_atc3_usb>; - #iommu-cells = <1>; - apple,dma-range = <0x100 0x4000 0x0 0xffff0000>; - }; - - usb_drd3_dart_1: iommu@38af80000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - reg = <0x3 0x8af80000 0x0 0xc000>; - interrupts = ; - power-domains = <&ps_atc3_usb>; - #iommu-cells = <1>; - apple,dma-range = <0x100 0x4000 0x0 0xffff0000>; - }; - - /* - * /arm-io/nub-spmi-a2: reg[0] 0x8a1c8000, generation 4, on die 0 like nub-spmi-a0 although - * the front ports' PHYs are on die 1. Its HPMs are polled, as a0's are. - */ - nub_spmi_a2: spmi@28a1c8000 { - compatible = "apple,t6050-spmi", "apple,t8142-spmi"; - reg = <0x2 0x8a1c8000 0x0 0x4000>; - #address-cells = <2>; - #size-cells = <0>; - - /* /arm-io/nub-spmi-a2/hpm4: SN201202x (ACE3), SPMI address 0xc, port-number 5 */ - hpm4: usb-pd@c { - compatible = "apple,sn201202x"; - reg = <0xc SPMI_USID>; - - connector { - compatible = "usb-c-connector"; - label = "USB-C Front-right"; - power-role = "dual"; - data-role = "host"; - - ports { - #address-cells = <1>; - #size-cells = <0>; - - port@0 { - reg = <0>; - hpm4_hs: endpoint { - remote-endpoint = <&usb_drd4_hs>; - }; - }; - - port@1 { - reg = <1>; - hpm4_ss: endpoint { - remote-endpoint = <&atc4_phy_ep>; - }; - }; - }; - }; - }; - - /* /arm-io/nub-spmi-a2/hpm5: SN201202x (ACE3), SPMI address 0xa, port-number 6 */ - hpm5: usb-pd@a { - compatible = "apple,sn201202x"; - reg = <0xa SPMI_USID>; - - connector { - compatible = "usb-c-connector"; - label = "USB-C Front-left"; - power-role = "dual"; - data-role = "host"; - - ports { - #address-cells = <1>; - #size-cells = <0>; - - port@0 { - reg = <0>; - hpm5_hs: endpoint { - remote-endpoint = <&usb_drd5_hs>; - }; - }; - - port@1 { - reg = <1>; - hpm5_ss: endpoint { - remote-endpoint = <&atc5_phy_ep>; - }; - }; - }; - }; - }; - }; - - /* - * The AOP's audio path: the AP GPIO block, the I2C1/I2C2 buses and their power states, and - * the AOP with its mailbox, dart-aop and the ADMAC its audio streams use. From the ADT - * (arm-io ranges +0x200000000). The AOP, its mailbox, dart-aop and the ADMAC are disabled: - * iBoot leaves the AOP halted on locked dart-aop tables, and Aura enables them only when its - * checks of that state pass (chosen.aurora,t6050-aop=1). - */ - pinctrl_ap: pinctrl@29c000000 { - compatible = "apple,t6050-pinctrl", "apple,t8103-pinctrl"; - reg = <0x2 0x9c000000 0x0 0x44000>; - gpio-controller; - #gpio-cells = <2>; - gpio-ranges = <&pinctrl_ap 0 0 221>; - apple,npins = <221>; - interrupt-controller; - #interrupt-cells = <2>; - interrupt-parent = <&aic>; - interrupts = , - , - , - , - , - , - ; - }; - - /* ADT pmgr reg[1]; I2C1 and I2C2 power states (clock-gates 191, 192) */ - pmgr1: power-management@280900000 { - compatible = "apple,t6050-pmgr", "apple,t8103-pmgr", "syscon", "simple-mfd"; - reg = <0x2 0x80900000 0x0 0x4000>; - #address-cells = <1>; - #size-cells = <1>; - - ps_i2c1: power-controller@2c8 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x2c8 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "i2c1"; - }; - - ps_i2c2: power-controller@2d0 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x2d0 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "i2c2"; - }; - - /* - * The boot NOR's controller: ADT pmgr devices SPI_P (id 199, +0x308) and - * QSPI (id 208, +0x350, /arm-io/qspi clock-gates), group 1. SPI_P's parent - * SIO (184) is left undescribed, as for the I2C states above. - */ - ps_spi_p: power-controller@308 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x308 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "spi_p"; - }; - - ps_qspi: power-controller@350 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x350 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "qspi"; - power-domains = <&ps_spi_p>; - }; - - /* - * ADT pmgr device ANE_SYS (id 219, group 1 +0x3a8, parents FAB8_SOC - * and FAB9_SOC, left undescribed as for the I2C states). ANE_SYS_DART - * and ANE_SYS_V hang off it with no state of their own. The child - * states ANE_MPM (+0x3c0), ANE_CPU (+0x3c8) and ANE_TDBASE (+0x3d0) - * are not domains: the ANE driver (CPU, PWGATE, TDBASE, as macOS) - * and its firmware (through DAPF) sequence them. All four read - * 0x300 (ANE_CPU 0x0f000300) at boot. - */ - ps_ane_sys: power-controller@3a8 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x3a8 4>; - #power-domain-cells = <0>; - #reset-cells = <0>; - label = "ane_sys"; - status = "disabled"; - }; - }; - - /* - * The Neural Engine (H17) and its DART, from the J775c ADT (macOS 27.0) - * /arm-io/ane0 (ane,t8132exclave, ane-type 0x220) and /arm-io/dart-ane0 - * (dart,t8110: LLT, BRD and BWR translation instances on interrupt 955, - * sid-count 16, vm-base 1 TiB + 3 TiB). The engine and the DARTs sit - * behind ANE_SYS: any access while it is off stalls the bus. - */ - - - - /* - * reg: the ADT engine window, the pmgr bank the ANE's power states - * live in (ADT reg[1]) and PWGATE inside ADT reg[2] (0x280920000): - * macOS 27.0 clears the request at +0x159c and checks +0x15c0, the - * window's +0xc and +0x30 (the T8140's sit at its reg[2] + 0x268c). - * xl is ADT reg[5], the ANE-XL AXI2AF bridge: macOS writes its - * tunables, and the ANE bridge's at the engine window's base, at - * every engine power-up. The ADT's other three windows (PTD - * 0x284240000, 0x212000000, 0x288374000) are not used. - * Both interrupts are requested. 954 carries the channel status: - * firmware waits sleep until it, polling as a fallback (lobata, - * 2026-11-05); 967 has not been seen to fire. Started only after - * the loader hand-off, from firmware_stage. - */ - ane: ane@508000000 { - compatible = "apple,t6050-ane"; - reg = <0x5 0x08000000 0x0 0x2000000>, - <0x2 0x80900000 0x0 0x18000>, - <0x2 0x80921590 0x0 0x34>, - <0x5 0x84000000 0x0 0x2000000>; - reg-names = "engine", "pmgr", "pwgate", "xl"; - interrupt-parent = <&aic>; - interrupts = , - ; - iommus = <&ane_dart0 0>, <&ane_dart1 0>, <&ane_dart2 0>; - power-domains = <&ps_ane_sys>; - memory-region = <&ane_fw_text>, <&ane_fw_data>; - memory-region-names = "firmware-text", "firmware-data"; - apple,ane-type = <0x220>; - apple,firmware-preloaded; - apple,firmware-iovas = /bits/ 64 <0x10000000000 0x100000c0000>; - /* Inclusive SID0 identity windows: ADT dart-ane0 dapf-instance-0. */ - apple,dapf-ranges = /bits/ 64 <0x2809003a8 0x2809003ab - 0x2809003c0 0x2809003d3 - 0x581668000 0x581668003 - 0x2302668000 0x2302668003 - 0x6302668000 0x6302668003>; - /* - * Requests hold the DRAM and fabric floor through the CLPC's - * client input (DCS 6 / fabric 3), as busy CPUs and the GPU do. - */ - apple,clpc = <&clpc>; - /* - * The ANE has no voltage rail of its own: it shares the S - * cluster's (PMGR perf domain 8 on rail 7, as domain 5), and - * each S-cluster p-state sets the ANE clock its voltage allows. - * Requests hold that cluster up. - */ - performance-domains = <&cpufreq_pc0>; - status = "disabled"; - }; - - i2c1: i2c@505014000 { - compatible = "apple,t6050-i2c", "apple,t8103-i2c"; - reg = <0x5 0x05014000 0x0 0x4000>; - clocks = <&clkref>; - interrupt-parent = <&aic>; - interrupts = ; - #address-cells = <1>; - #size-cells = <0>; - power-domains = <&ps_i2c1>; - }; - - i2c2: i2c@505018000 { - compatible = "apple,t6050-i2c", "apple,t8103-i2c"; - reg = <0x5 0x05018000 0x0 0x4000>; - clocks = <&clkref>; - interrupt-parent = <&aic>; - interrupts = ; - #address-cells = <1>; - #size-cells = <0>; - power-domains = <&ps_i2c2>; - }; - - /* - * The boot NOR (ADT /arm-io/qspi, "qspi,qspimc"): P at 0x305118000 and C at P + 0x800, - * each 0x4000 in the ADT; one resource for their union. Interrupt 1373, clock id 440 - * (/arm-io clock-frequencies[184], 405 MHz). spi-apple-qspi's T8140 policy: data - * reads anywhere, programs and erases only inside the nvram partition. - */ - qspi: spi@505118000 { - compatible = "apple,t6050-qspi", "apple,t8140-qspi"; - reg = <0x5 0x05118000 0x0 0x4800>; - clocks = <&clk_405m>; - interrupt-parent = <&aic>; - interrupts = ; - power-domains = <&ps_qspi>; - #address-cells = <1>; - #size-cells = <0>; - status = "disabled"; - }; - - /* The ASC v4 mailbox at the AOP ASC + 0x8000; ADT interrupts 578..581 in mailbox order */ - aop_mbox: mailbox@290608000 { - compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; - reg = <0x2 0x90608000 0x0 0x4000>; - interrupts = , - , - , - ; - interrupt-names = "send-empty", "send-not-empty", - "recv-empty", "recv-not-empty"; - #mbox-cells = <0>; - status = "disabled"; - }; - - /* - * dart-aop: streams 0 (AOP), 3, 8 (admac-base-ns), 10 and 16 are the AP's; 1, 9 and 11 are - * exclave streams. iBoot leaves its tables locked on the ADT's l1-tt roots: each consumer - * binds one stream and the locked-DART path publishes into its free slots. - */ - aop_dart: iommu@290fc0000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - reg = <0x2 0x90fc0000 0x0 0xc000>; - #iommu-cells = <1>; - interrupt-parent = <&aic>; - interrupts = ; - status = "disabled"; - }; - - /* ADT admac-base-ns: 13 TX and 13 RX channels; the AOP firmware owns its fabric */ - admac_base_ns: dma-controller@293800000 { - compatible = "apple,t6050-admac", "apple,t8140-admac"; - reg = <0x2 0x93800000 0x0 0x34000>; - dma-channels = <13>; - interrupts-extended = <&aic AIC_IRQ 0 637 IRQ_TYPE_LEVEL_HIGH>, - <0>, <0>, <0>; - #dma-cells = <1>; - iommus = <&aop_dart 8>; - apple,dma-range = <0x110 0x00000000 0x0 0x10000000>; - status = "disabled"; - }; - - /* - * The AOP: its SRAM window (ADT reg[2]) and its ASC (reg[0]). Firmware j775daop, loaded - * and left halted by iBoot. Booted as on T8152, over the RTKit mailbox alone: the ADT's - * aop-exclave-mailbox (the setup port T8140 and T8142 boot through) is exclave-assigned - * here and takes an SError from the AP. - */ - aop: aop@290c00000 { - compatible = "apple,t6050-aop", "apple,t8152-aop"; - reg = <0x2 0x90c00000 0x0 0x1e0000>, - <0x2 0x90600000 0x0 0x4000>; - reg-names = "mmio", "asc"; - mboxes = <&aop_mbox>; - mbox-names = "mbox"; - iommus = <&aop_dart 0>; - apple,dma-range = <0x110 0x0 0x10 0x0>; - status = "disabled"; - - /* - * ADT iop-audio-controller: cout/cin (the jack) on base-ns TX2/RX2, spkr on TX0 with - * the amp's V/I sense on RX0 (Linux channel 2N for TX N, 2N+1 for RX N). - */ - aop_audio: audio { - compatible = "apple,t6050-aop-audio"; - dmas = <&admac_base_ns 4>, <&admac_base_ns 5>, - <&admac_base_ns 0>, <&admac_base_ns 1>; - dma-names = "cout", "cin", "spkr", "sense"; - #sound-dai-cells = <1>; - }; - }; - }; - - /* - * The GPU's 14 performance states, in their ADT order (/arm-io/sgx perf-states: one table per - * cluster, two dies x four), with one voltage cell per cluster. Aura fills them in. - */ - gpu_opp: opp-table-gpu { - compatible = "operating-points-v2"; - - opp00 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0 0 0 0 0 0 0>; - opp-microvolt-sram = <0 0 0 0 0 0 0 0>; - }; - opp01 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0 0 0 0 0 0 0>; - opp-microvolt-sram = <0 0 0 0 0 0 0 0>; - }; - opp02 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0 0 0 0 0 0 0>; - opp-microvolt-sram = <0 0 0 0 0 0 0 0>; - }; - opp03 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0 0 0 0 0 0 0>; - opp-microvolt-sram = <0 0 0 0 0 0 0 0>; - }; - opp04 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0 0 0 0 0 0 0>; - opp-microvolt-sram = <0 0 0 0 0 0 0 0>; - }; - opp05 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0 0 0 0 0 0 0>; - opp-microvolt-sram = <0 0 0 0 0 0 0 0>; - }; - opp06 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0 0 0 0 0 0 0>; - opp-microvolt-sram = <0 0 0 0 0 0 0 0>; - }; - opp07 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0 0 0 0 0 0 0>; - opp-microvolt-sram = <0 0 0 0 0 0 0 0>; - }; - opp08 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0 0 0 0 0 0 0>; - opp-microvolt-sram = <0 0 0 0 0 0 0 0>; - }; - opp09 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0 0 0 0 0 0 0>; - opp-microvolt-sram = <0 0 0 0 0 0 0 0>; - }; - opp10 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0 0 0 0 0 0 0>; - opp-microvolt-sram = <0 0 0 0 0 0 0 0>; - }; - opp11 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0 0 0 0 0 0 0>; - opp-microvolt-sram = <0 0 0 0 0 0 0 0>; - }; - opp12 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0 0 0 0 0 0 0>; - opp-microvolt-sram = <0 0 0 0 0 0 0 0>; - }; - opp13 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0 0 0 0 0 0 0>; - opp-microvolt-sram = <0 0 0 0 0 0 0 0>; - }; - }; - - /* The GPU AFR clock domain's states (ADT afr-perf-states), one voltage per die; Aura fills them. */ - gpu_afr_opp: opp-table-gpu-afr { - compatible = "operating-points-v2"; - - opp00 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0>; - }; - opp01 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0>; - }; - opp02 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0>; - }; - opp03 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0>; - }; - opp04 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0>; - }; - opp05 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0>; - }; - opp06 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0>; - }; - opp07 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0>; - }; - opp08 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0>; - }; - opp09 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0>; - }; - opp10 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0>; - }; - opp11 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0>; - }; - opp12 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0>; - }; - opp13 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0>; - }; - }; - - /* The GPU CS clock domain's states (ADT cs-perf-states), one voltage per die; Aura fills them. */ - gpu_cs_opp: opp-table-gpu-cs { - compatible = "operating-points-v2"; - - opp00 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0>; - }; - opp01 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0>; - }; - opp02 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0>; - }; - opp03 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0>; - }; - opp04 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0>; - }; - opp05 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0>; - }; - opp06 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0>; - }; - opp07 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0>; - }; - opp08 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0>; - }; - opp09 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0>; - }; - opp10 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0>; - }; - opp11 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0>; - }; - opp12 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0>; - }; - opp13 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0>; - }; - }; - - /* - * The GPU aperture, die 0 (ADT sgx reg 0x2100000000 through arm-io's ranges): SGX, both - * firmware ASCs and the GPU's PMGR block. All disabled; Aura's dt_set_gpu_t6050 enables them. - */ - soc { - compatible = "simple-bus"; - #address-cells = <2>; - #size-cells = <2>; - ranges; - nonposted-mmio; - - /* ADT pmgr reg 51; GPX and AFR are critical there (always-on), GFX's parents are both. */ - - - /* ADT gfx-asc interrupts 2798, 2797, 2800, 2799: send-empty is 2797, recv-not-empty 2800. */ - - /* ADT gfx1-asc interrupts 2802, 2801, 2804, 2803; its second extent is 0x60000, the VBAR its first 8 bytes. */ - }; - - /* - * Die 1's GPU power states (the die-0 block plus 0x4000000000). Both firmware roles run on die 0, - * but the firmware drives both dies' GPU, so die 1's GFX chain is held on (always-on) while the - * M5 bring-up qualifies initialization (research 49). Aura's dt_set_gpu_t6050 enables them. - */ - soc@6300000000 { - compatible = "simple-bus"; - #address-cells = <2>; - #size-cells = <2>; - ranges = <0x63 0x0 0x63 0x0 0x0 0x1000000>; - nonposted-mmio; - - pmgr3_die1: power-management@6300e80000 { - compatible = "apple,t6050-pmgr", "apple,t8103-pmgr", "syscon", "simple-mfd"; - reg = <0x63 0x00e80000 0x0 0x4000>; - #address-cells = <1>; - #size-cells = <1>; - - ps_gpx_die1: power-controller@0 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x0 4>; - label = "gpx_die1"; - #power-domain-cells = <0>; - #reset-cells = <0>; - apple,always-on; - status = "disabled"; - }; - - ps_afr_die1: power-controller@100 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x100 4>; - label = "afr_die1"; - #power-domain-cells = <0>; - #reset-cells = <0>; - apple,always-on; - status = "disabled"; - }; - - ps_gfx_die1: power-controller@110 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x110 4>; - label = "gfx_die1"; - #power-domain-cells = <0>; - power-domains = <&ps_afr_die1>, <&ps_gpx_die1>; - #reset-cells = <0>; - apple,always-on; - status = "disabled"; - }; - }; - }; - - /* - * Die 0's video decoder (ADT /arm-io/avd0, avd-version 4, the T8142 generation): reg[0] - * 0x2308000000 + 0x1404000 through arm-io's ranges, windows in the T8142/T6041 layout (CM3 code - * and SRAM 0x14000 each at +0x1080000, mailbox +0x10a8000, decode control +0x1100000); ADT - * interrupts 2417, 2418 (die 0 IRQs 2417, 2418). dart-avd0 at +0x1020000, - * interrupt 2424 (die 0 2424), SIDs 0-2 (mapper, piodma, adsbuf). Power: the clock - * gates AVD_SYS_V and AVD_SOC_DART have no PS register; both hang off AVD_SYS (PMGR block - * 0x2380600000 + 0x1d8, also the ARST reset), whose parent FAB1_SOC (+0x1b0) is critical. - */ - soc { - compatible = "simple-bus"; - #address-cells = <2>; - #size-cells = <2>; - ranges; - nonposted-mmio; - - pmgr4: power-management@2380600000 { - compatible = "apple,t6050-pmgr", "apple,t8103-pmgr", "syscon", "simple-mfd"; - reg = <0x23 0x80600000 0x0 0xc000>; - #address-cells = <1>; - #size-cells = <1>; - - ps_fab1_soc: power-controller@1b0 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x1b0 4>; - label = "fab1_soc"; - #power-domain-cells = <0>; - #reset-cells = <0>; - apple,always-on; - }; - - ps_avd_sys: power-controller@1d8 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x1d8 4>; - label = "avd_sys"; - #power-domain-cells = <0>; - #reset-cells = <0>; - power-domains = <&ps_fab1_soc>; - }; - }; - - avd: avd@2309080000 { - compatible = "apple,t6050-avd", "apple,t8142-avd"; - reg = <0x23 0x09080000 0x0 0x14000>, - <0x23 0x09094000 0x0 0x14000>, - <0x23 0x090a8000 0x0 0x4000>, - <0x23 0x09100000 0x0 0x10000>; - reg-names = "code", "sram", "mbox", "ctrl"; - interrupts = , - ; - power-domains = <&ps_avd_sys>; - resets = <&ps_avd_sys>; - iommus = <&avd_dart 0>, <&avd_dart 1>, <&avd_dart 2>; - }; - - avd_dart: iommu@2309020000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - reg = <0x23 0x09020000 0x0 0x20000>; - #iommu-cells = <1>; - interrupts = ; - power-domains = <&ps_avd_sys>; - }; - }; - - /* - * Die 1's video decoder (ADT /arm-io/avd1, avd-version 4, the T8142 generation): reg[0] - * 0x6308000000 + 0x1404000 through arm-io's ranges, windows in the T8142/T6041 layout (CM3 code - * and SRAM 0x14000 each at +0x1080000, mailbox +0x10a8000, decode control +0x1100000); ADT - * interrupts 5521, 5522 (die 1 IRQs 2417, 2418). dart-avd1 at +0x1020000, - * interrupt 5528 (die 1 2424), SIDs 0-2 (mapper, piodma, adsbuf). Power: the clock - * gates AVD_SYS_V and AVD_SOC_DART have no PS register; both hang off AVD_SYS (PMGR block - * 0x6380600000 + 0x1d8, also the ARST reset), whose parent FAB1_SOC (+0x1b0) is critical. - */ - soc@6308000000 { - compatible = "simple-bus"; - #address-cells = <2>; - #size-cells = <2>; - ranges = <0x63 0x08000000 0x63 0x08000000 0x0 0x1404000>, - <0x63 0x80600000 0x63 0x80600000 0x0 0xc000>; - nonposted-mmio; - - pmgr4_die1: power-management@6380600000 { - compatible = "apple,t6050-pmgr", "apple,t8103-pmgr", "syscon", "simple-mfd"; - reg = <0x63 0x80600000 0x0 0xc000>; - #address-cells = <1>; - #size-cells = <1>; - - ps_fab1_soc_die1: power-controller@1b0 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x1b0 4>; - label = "fab1_soc_die1"; - #power-domain-cells = <0>; - #reset-cells = <0>; - apple,always-on; - }; - - ps_avd_sys_die1: power-controller@1d8 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x1d8 4>; - label = "avd_sys_die1"; - #power-domain-cells = <0>; - #reset-cells = <0>; - power-domains = <&ps_fab1_soc_die1>; - }; - }; - - avd_die1: avd@6309080000 { - compatible = "apple,t6050-avd", "apple,t8142-avd"; - reg = <0x63 0x09080000 0x0 0x14000>, - <0x63 0x09094000 0x0 0x14000>, - <0x63 0x090a8000 0x0 0x4000>, - <0x63 0x09100000 0x0 0x10000>; - reg-names = "code", "sram", "mbox", "ctrl"; - interrupts = , - ; - power-domains = <&ps_avd_sys_die1>; - resets = <&ps_avd_sys_die1>; - iommus = <&avd_dart_die1 0>, <&avd_dart_die1 1>, <&avd_dart_die1 2>; - }; - - avd_dart_die1: iommu@6309020000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - reg = <0x63 0x09020000 0x0 0x20000>; - #iommu-cells = <1>; - interrupts = ; - power-domains = <&ps_avd_sys_die1>; - }; - }; - - /* - * The DRM master: scanout buffers map through dart-dispext0 SID 0. Aura enables it with - * dcpext0, and appends each other engine's display DART (SID 0) as it hands that engine - * off: dcpext4's for the HDMI port. A disabled DART listed here would leave it no IOMMU. - */ - display: display-subsystem { - compatible = "apple,display-subsystem"; - iommus = <&dart_dispext0 0>; - status = "disabled"; - }; - - /* - * The memory cache controllers: eight AMCCs of four planes on each die (ADT /arm-io/mcc: - * amcc-count 8, dcs-count-per-amcc 4, die-enable-mask 3, AMCC a of die d at 0x2220000000 + - * d * 0x4000000000 + a * 0x2000000 through arm-io's ranges), one 16 KiB block per plane. - * The boot loader leaves every plane's ways enabled and powered with allocation disabled, so - * the system level cache holds no data until apple-mcc allows it. - */ - soc@2220000000 { - compatible = "simple-bus"; - #address-cells = <2>; - #size-cells = <2>; - ranges = <0x22 0x20000000 0x22 0x20000000 0x0 0x10000000>, - <0x62 0x20000000 0x62 0x20000000 0x0 0x10000000>; - nonposted-mmio; - - mcc: memory-controller@2220000000 { - compatible = "apple,t6050-mcc"; - reg = <0x22 0x20000000 0x0 0x4000>, - <0x22 0x20040000 0x0 0x4000>, - <0x22 0x20080000 0x0 0x4000>, - <0x22 0x200c0000 0x0 0x4000>, - <0x22 0x22000000 0x0 0x4000>, - <0x22 0x22040000 0x0 0x4000>, - <0x22 0x22080000 0x0 0x4000>, - <0x22 0x220c0000 0x0 0x4000>, - <0x22 0x24000000 0x0 0x4000>, - <0x22 0x24040000 0x0 0x4000>, - <0x22 0x24080000 0x0 0x4000>, - <0x22 0x240c0000 0x0 0x4000>, - <0x22 0x26000000 0x0 0x4000>, - <0x22 0x26040000 0x0 0x4000>, - <0x22 0x26080000 0x0 0x4000>, - <0x22 0x260c0000 0x0 0x4000>, - <0x22 0x28000000 0x0 0x4000>, - <0x22 0x28040000 0x0 0x4000>, - <0x22 0x28080000 0x0 0x4000>, - <0x22 0x280c0000 0x0 0x4000>, - <0x22 0x2a000000 0x0 0x4000>, - <0x22 0x2a040000 0x0 0x4000>, - <0x22 0x2a080000 0x0 0x4000>, - <0x22 0x2a0c0000 0x0 0x4000>, - <0x22 0x2c000000 0x0 0x4000>, - <0x22 0x2c040000 0x0 0x4000>, - <0x22 0x2c080000 0x0 0x4000>, - <0x22 0x2c0c0000 0x0 0x4000>, - <0x22 0x2e000000 0x0 0x4000>, - <0x22 0x2e040000 0x0 0x4000>, - <0x22 0x2e080000 0x0 0x4000>, - <0x22 0x2e0c0000 0x0 0x4000>, - <0x62 0x20000000 0x0 0x4000>, - <0x62 0x20040000 0x0 0x4000>, - <0x62 0x20080000 0x0 0x4000>, - <0x62 0x200c0000 0x0 0x4000>, - <0x62 0x22000000 0x0 0x4000>, - <0x62 0x22040000 0x0 0x4000>, - <0x62 0x22080000 0x0 0x4000>, - <0x62 0x220c0000 0x0 0x4000>, - <0x62 0x24000000 0x0 0x4000>, - <0x62 0x24040000 0x0 0x4000>, - <0x62 0x24080000 0x0 0x4000>, - <0x62 0x240c0000 0x0 0x4000>, - <0x62 0x26000000 0x0 0x4000>, - <0x62 0x26040000 0x0 0x4000>, - <0x62 0x26080000 0x0 0x4000>, - <0x62 0x260c0000 0x0 0x4000>, - <0x62 0x28000000 0x0 0x4000>, - <0x62 0x28040000 0x0 0x4000>, - <0x62 0x28080000 0x0 0x4000>, - <0x62 0x280c0000 0x0 0x4000>, - <0x62 0x2a000000 0x0 0x4000>, - <0x62 0x2a040000 0x0 0x4000>, - <0x62 0x2a080000 0x0 0x4000>, - <0x62 0x2a0c0000 0x0 0x4000>, - <0x62 0x2c000000 0x0 0x4000>, - <0x62 0x2c040000 0x0 0x4000>, - <0x62 0x2c080000 0x0 0x4000>, - <0x62 0x2c0c0000 0x0 0x4000>, - <0x62 0x2e000000 0x0 0x4000>, - <0x62 0x2e040000 0x0 0x4000>, - <0x62 0x2e080000 0x0 0x4000>, - <0x62 0x2e0c0000 0x0 0x4000>; - apple,boot-dma-devices = <&display>; - }; - }; - - /* Die 1 MMIO. The boot loader needs each die's bus. */ - soc@4200000000 { - compatible = "simple-bus"; - #address-cells = <2>; - #size-cells = <2>; - ranges = <0x42 0x0 0x42 0x0 0x3 0xc0000000>; - nonposted-mmio; - - /* - * dcpext4, die 1's first external display engine: the one the HDMI port's fixed - * route starts from (die 1's display crossbar, ufp endpoint 0, to lpdptx-phy1, dfp - * endpoint 4). iBoot leaves it as it leaves dcpext0: powered, its ASC running, both - * DARTs locked on its own four-level tables (DCP SID 23, scanout SID 0, PIODMA SID 16). - * Each block is dcpext0's at the die stride (ADT /arm-io/dcpext4, dispext4, - * dart-dcpext4, dart-dispext4, die 1's arm-io ranges +0x200000000); die 1's interrupts - * are dcpext0's numbers on AIC die 1, and its bandwidth request is dcpext0's (BIRQ 0x36) - * on die 1's PMC. All disabled: Aura's T6050 handoff enables them with dcpext0 when - * the engine passes the same checks. No output yet: the HDMI PHY, its converter's power - * and hotplug come with their drivers. - */ - dart_dcpext4: iommu@42b2340000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - reg = <0x42 0xb2340000 0x0 0x20000>; - /* dart-dcpext4 and dart-dispext4 share ADT interrupt 4174 (die 1 1070) */ - interrupts = ; - #iommu-cells = <1>; - apple,dma-range = <0x100 0x0 0x300 0x0>; - status = "disabled"; - }; - - dart_dispext4: iommu@42b2300000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - reg = <0x42 0xb2300000 0x0 0xc000>; - interrupts = ; - #iommu-cells = <1>; - apple,dma-range = <0x100 0x0 0x300 0x0>; - status = "disabled"; - }; - - dcpext4_mbox: mailbox@42b2e08000 { - compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; - reg = <0x42 0xb2e08000 0x0 0x4000>; - interrupts = , - , - , - ; - interrupt-names = "send-empty", "send-not-empty", - "recv-empty", "recv-not-empty"; - #mbox-cells = <0>; - status = "disabled"; - }; - - dcpext4_pmc: pmc-metadata@4286700000 { - reg = <0x42 0x86700000 0x0 0x114000>; - #apple,bw-scratch-cells = <3>; - status = "disabled"; - }; - - dcpext4: dcp@42b2e00000 { - compatible = "apple,t6050-dcpext", "apple,dcpext"; - reg = <0x42 0xb2e00000 0x0 0x4000>, - <0x42 0xb0000000 0x0 0x4000000>, - <0x42 0xb2240000 0x0 0x10000>, - <0x42 0xb23ac000 0x0 0x4000>, - <0x42 0xb2800000 0x0 0x800000>, - <0x42 0x86700000 0x0 0x114000>, - <0x42 0xb2850000 0x0 0x4000>; - reg-names = "coproc", "disp-0", "disp-1", "disp-2", "disp-3", "disp-4", "iop-vbar"; - mboxes = <&dcpext4_mbox>; - mbox-names = "mbox"; - iommus = <&dart_dcpext4 23>; - apple,bw-scratch = <&dcpext4_pmc 0 5 0x2c000>; - /* - * The die-local index, as for the M2 Ultra's die-1 dcpext0 (t602x-dieX.dtsi): - * crossbar ufp endpoint 0 on its die, like dcpext0. The ADT's firmware-facing - * external-index is 5. - */ - apple,dcp-index = <1>; - apple,clock-ids; - apple,connector-type = "HDMI-A"; - apple,dptx-die = <1>; - apple,dptx-phy = <4>; - /* - * The fixed HDMI route: the PHY (its source select picks this engine: the - * crossbar has no registers), the converter's hotplug output (AOP GPIO 14, - * active high) and its two power enables (the SMC's pcIO pins 15 and 26). - */ - phys = <&lpdptx_phy1>; - phy-names = "dp-phy"; - hdmi-hpd-gpios = <&pinctrl_aop 14 GPIO_ACTIVE_HIGH>; - hdmi-pwren-gpios = <&smc_pcio 0 GPIO_ACTIVE_HIGH>; - dp2hdmi-pwren-gpios = <&smc_pcio 1 GPIO_ACTIVE_HIGH>; - status = "disabled"; - - piodma { - iommus = <&dart_dispext4 16>; - }; - }; - - /* - * The HDMI port's PHY (ADT /arm-io/lpdptx-phy1, dptx-phy,t6050) and its power gate - * (die 1's PMGR block at the die stride from die 0's 0x280900000, DPTX_PHY at 0x3f8, - * no parent domains). The PLL core calibration is the ADT node's DCOCFG, DTCVREG, - * DTCCAL, DCDADJ and DLFCFG (RODCOROLEAKCOMP is absent there), with its pclkdrv-select. - * dcpext4's phy: Aura enables it when it hands dcpext4 off. The power gate stays enabled - * (with no consumer it stays off). - */ - pmgr1_die1: power-management@4280900000 { - compatible = "apple,t6050-pmgr", "apple,t8103-pmgr", "syscon", "simple-mfd"; - reg = <0x42 0x80900000 0x0 0x4000>; - #address-cells = <1>; - #size-cells = <1>; - - ps_dptx_phy_die1: power-controller@3f8 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x3f8 4>; - label = "die1_dptx_phy"; - #power-domain-cells = <0>; - #reset-cells = <0>; - }; - }; - - lpdptx_phy1: phy@429c200000 { - compatible = "apple,t6050-dptx-phy"; - reg = <0x42 0x9c200000 0x0 0x4000>, - <0x42 0x9c240000 0x0 0x10000>; - reg-names = "core", "dptx"; - power-domains = <&ps_dptx_phy_die1>; - #phy-cells = <0>; - #reset-cells = <0>; - apple,pll-dcocfg = <3>; - apple,pll-dtcvreg = <15>; - apple,pll-dtccal = <2>; - apple,pll-dcdadj = <16>; - apple,pll-dlfcfg = <3>; - apple,pclkdrv-select = <1>; - /* dcpext4's route: the die-1 crossbar's ufp endpoint 0 (source select 1) */ - apple,ufp-endpoint = <0>; - /* Aura enables it with dcpext4. */ - status = "disabled"; - }; - - /* Die 1's clusters, at the ADT's die-stride (0x4000000000); not in pmgr's reg list. */ - cpufreq_mc01: performance-controller@4210e20000 { - compatible = "apple,t6050-cluster-cpufreq"; - reg = <0x42 0x10e20000 0x0 0x1000>; - #performance-domain-cells = <0>; - apple,firmware-managed-thermal; - }; - - cpufreq_mc11: performance-controller@4211e20000 { - compatible = "apple,t6050-cluster-cpufreq"; - reg = <0x42 0x11e20000 0x0 0x1000>; - #performance-domain-cells = <0>; - apple,firmware-managed-thermal; - }; - - cpufreq_pc1: performance-controller@4212e20000 { - compatible = "apple,t6050-cluster-cpufreq"; - reg = <0x42 0x12e20000 0x0 0x1000>; - #performance-domain-cells = <0>; - apple,firmware-managed-thermal; - }; - - /* - * The front USB-C ports (5, front-right: ATC4; 6, front-left: ATC5) are on die 1: its - * ATC0 and ATC1 at the die stride from rear ports 1 and 2. Their power states are die 1's - * PMGR records for ATC0/ATC1 (ADT gate IDs +0x10000000), in die 1's groups G0 (0x4280600000) - * and G2 (0x4288300000); interrupts are die 0's numbers on AIC die 1. The HPMs are on - * nub-spmi-a2, on die 0. - */ - pmgr0_die1: power-management@4280600000 { - compatible = "apple,t6050-pmgr", "apple,t8103-pmgr", "syscon", "simple-mfd"; - reg = <0x42 0x80600000 0x0 0x4000>; - #address-cells = <1>; - #size-cells = <1>; - - /* die 1 ATC0_COMMON (gate 55): port 5 */ - ps_atc4_common: power-controller@208 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x208 4>; - label = "atc4_common"; - #power-domain-cells = <0>; - #reset-cells = <0>; - }; - - /* die 1 ATC1_COMMON (gate 56): port 6 */ - ps_atc5_common: power-controller@210 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x210 4>; - label = "atc5_common"; - #power-domain-cells = <0>; - #reset-cells = <0>; - }; - }; - - pmgr2_die1: power-management@4288300000 { - compatible = "apple,t6050-pmgr", "apple,t8103-pmgr", "syscon", "simple-mfd"; - reg = <0x42 0x88300000 0x0 0xc000>; - #address-cells = <1>; - #size-cells = <1>; - - /* die 1 ATC0 (port 5): gates 260, 261, 262 */ - ps_atc4_usb_aon: power-controller@148 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x148 4>; - label = "atc4_usb_aon"; - #power-domain-cells = <0>; - #reset-cells = <0>; - }; - - ps_atc4_usb: power-controller@150 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x150 4>; - label = "atc4_usb"; - #power-domain-cells = <0>; - #reset-cells = <0>; - power-domains = <&ps_atc4_common>, <&ps_atc4_usb_aon>; - }; - - ps_atc4_phymxwrap: power-controller@158 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x158 4>; - label = "atc4_phymxwrap"; - #power-domain-cells = <0>; - #reset-cells = <0>; - power-domains = <&ps_atc4_common>, <&ps_atc4_usb_aon>; - }; - - /* die 1 ATC1 (port 6): gates 263, 264, 265 */ - ps_atc5_usb_aon: power-controller@160 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x160 4>; - label = "atc5_usb_aon"; - #power-domain-cells = <0>; - #reset-cells = <0>; - }; - - ps_atc5_usb: power-controller@168 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x168 4>; - label = "atc5_usb"; - #power-domain-cells = <0>; - #reset-cells = <0>; - power-domains = <&ps_atc5_common>, <&ps_atc5_usb_aon>; - }; - - ps_atc5_phymxwrap: power-controller@170 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x170 4>; - label = "atc5_phymxwrap"; - #power-domain-cells = <0>; - #reset-cells = <0>; - power-domains = <&ps_atc5_common>, <&ps_atc5_usb_aon>; - }; - }; - - /* Front USB-C port 5 (HPM4, "front-right") */ - /* /arm-io/acio-phy-cpu4 reg[0]: the PHY firmware's mailbox */ - atc4_phy_mbox: mailbox@42a3148000 { - compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; - reg = <0x42 0xa3148000 0x0 0x4000>; - interrupts = , - , - , - ; - interrupt-names = "send-empty", "send-not-empty", "recv-empty", "recv-not-empty"; - #mbox-cells = <0>; - }; - - /* /arm-io/atc-phy4 regs [2] [0] usb-drd4[4] [39] [40] [41] [42] [43] [38] [37] usb-drd4[3] */ - atc4_phy: phy@42a3000000 { - compatible = "apple,t6050-combo-phy"; - reg = <0x42 0xa3000000 0x0 0x2c000>, - <0x42 0xa2a90000 0x0 0x4000>, - <0x42 0xa2800000 0x0 0x4000>, - <0x42 0xa3200000 0x0 0x4000>, - <0x42 0xa3244000 0x0 0x4000>, - <0x42 0xa0000000 0x0 0x8000>, - <0x42 0xa0020000 0x0 0x4000>, - <0x42 0xa3250000 0x0 0x4000>, - <0x42 0xa3140000 0x0 0x4000>, - <0x42 0xa30c0000 0x0 0x10000>, - <0x42 0xa2a84000 0x0 0x4000>; - reg-names = "core", "usb2phy", "usb2-digital", "reset", "fabric", "axi2af", "lioa", - "common-cfg", "usb-control", "firmware-data", "pipehandler"; - #phy-cells = <1>; - #reset-cells = <1>; - apple,port-index = <4>; - apple,guest-port-reserved; - mode-switch; - orientation-switch; - mboxes = <&atc4_phy_mbox>; - power-domains = <&ps_atc4_usb_aon>, <&ps_atc4_common>, <&ps_atc4_phymxwrap>, - <&ps_atc4_usb>; - power-domain-names = "usb-aon", "common", "wrapper", "usb"; - - port { - atc4_phy_ep: endpoint { - remote-endpoint = <&hpm4_ss>; - }; - }; - }; - - /* /arm-io/usb-drd4: reg[0] (core and Apple regions), reg[1] (drd-cfg), interrupt 4523; port 2's tunables */ - usb_drd4: usb@42a2280000 { - compatible = "apple,t6050-dwc3", "apple,t8103-dwc3"; - reg = <0x42 0xa2280000 0x0 0xcd00>, - <0x42 0xa228cd00 0x0 0x4b00>, - <0x42 0xa2200000 0x0 0x4000>; - reg-names = "dwc3-core", "dwc3-apple", "drd-cfg"; - interrupts = ; - dr_mode = "otg"; - usb-role-switch; - role-switch-default-mode = "host"; - iommus = <&usb_drd4_dart_0 0>, <&usb_drd4_dart_1 1>; - power-domains = <&ps_atc4_usb>; - resets = <&atc4_phy 0>; - phys = <&atc4_phy PHY_TYPE_USB2>, <&atc4_phy PHY_TYPE_USB3>; - phy-names = "usb2-phy", "usb3-phy"; - apple,tunable-gbl-default = <0x64 0x2 0x0>, <0x10 0xfff80000 0x00680000>; - apple,tunable-gbl-host = <0x4 0x0001ef00 0x00002f00>, <0x1c 0x00000100 0x0>, - <0x2c 0x000a07ff 0x000800c8>, <0x100 0x02000100 0x02000100>, - <0x504 0x00001000 0x0>, <0x528 0xff0000ff 0x06000006>, - <0x52c 0xff0000ff 0x08000008>, <0x580 0xffffffff 0x6f000006>, - <0x584 0xffffffff 0x00060000>; - apple,tunable-dbg = <0x0 0x8 0x8>; - apple,tunable-cfg-host = <0x20 0xff 0x1b>; - apple,tunable-link = <0x10 0xff000000 0xff000000>, <0x20 0x7ff00000 0x4e900000>, - <0x24 0x001f8000 0x000b8000>, <0x60 0x0003ffff 0x00000600>; - apple,tunable-cio = <0x20 0x00ff0000 0x001e0000>; - - port { - usb_drd4_hs: endpoint { - remote-endpoint = <&hpm4_hs>; - }; - }; - }; - - /* /arm-io/dart-usb4 reg[0] and reg[1], interrupt 4527; vm-base 0x10000004000 +0xffff0000 */ - usb_drd4_dart_0: iommu@42a2f00000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - reg = <0x42 0xa2f00000 0x0 0xc000>; - interrupts = ; - power-domains = <&ps_atc4_usb>; - #iommu-cells = <1>; - apple,dma-range = <0x100 0x4000 0x0 0xffff0000>; - }; - - usb_drd4_dart_1: iommu@42a2f80000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - reg = <0x42 0xa2f80000 0x0 0xc000>; - interrupts = ; - power-domains = <&ps_atc4_usb>; - #iommu-cells = <1>; - apple,dma-range = <0x100 0x4000 0x0 0xffff0000>; - }; - - /* Front USB-C port 6 (HPM5, "front-left") */ - /* /arm-io/acio-phy-cpu5 reg[0]: the PHY firmware's mailbox */ - atc5_phy_mbox: mailbox@42ab148000 { - compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; - reg = <0x42 0xab148000 0x0 0x4000>; - interrupts = , - , - , - ; - interrupt-names = "send-empty", "send-not-empty", "recv-empty", "recv-not-empty"; - #mbox-cells = <0>; - }; - - /* /arm-io/atc-phy5 regs [2] [0] usb-drd5[4] [39] [40] [41] [42] [43] [38] [37] usb-drd5[3] */ - atc5_phy: phy@42ab000000 { - compatible = "apple,t6050-combo-phy"; - reg = <0x42 0xab000000 0x0 0x2c000>, - <0x42 0xaaa90000 0x0 0x4000>, - <0x42 0xaa800000 0x0 0x4000>, - <0x42 0xab200000 0x0 0x4000>, - <0x42 0xab244000 0x0 0x4000>, - <0x42 0xa8000000 0x0 0x8000>, - <0x42 0xa8020000 0x0 0x4000>, - <0x42 0xab250000 0x0 0x4000>, - <0x42 0xab140000 0x0 0x4000>, - <0x42 0xab0c0000 0x0 0x10000>, - <0x42 0xaaa84000 0x0 0x4000>; - reg-names = "core", "usb2phy", "usb2-digital", "reset", "fabric", "axi2af", "lioa", - "common-cfg", "usb-control", "firmware-data", "pipehandler"; - #phy-cells = <1>; - #reset-cells = <1>; - apple,port-index = <5>; - apple,guest-port-reserved; - mode-switch; - orientation-switch; - mboxes = <&atc5_phy_mbox>; - power-domains = <&ps_atc5_usb_aon>, <&ps_atc5_common>, <&ps_atc5_phymxwrap>, - <&ps_atc5_usb>; - power-domain-names = "usb-aon", "common", "wrapper", "usb"; - - port { - atc5_phy_ep: endpoint { - remote-endpoint = <&hpm5_ss>; - }; - }; - }; - - /* /arm-io/usb-drd5: reg[0] (core and Apple regions), reg[1] (drd-cfg), interrupt 4555; port 2's tunables */ - usb_drd5: usb@42aa280000 { - compatible = "apple,t6050-dwc3", "apple,t8103-dwc3"; - reg = <0x42 0xaa280000 0x0 0xcd00>, - <0x42 0xaa28cd00 0x0 0x4b00>, - <0x42 0xaa200000 0x0 0x4000>; - reg-names = "dwc3-core", "dwc3-apple", "drd-cfg"; - interrupts = ; - dr_mode = "otg"; - usb-role-switch; - role-switch-default-mode = "host"; - iommus = <&usb_drd5_dart_0 0>, <&usb_drd5_dart_1 1>; - power-domains = <&ps_atc5_usb>; - resets = <&atc5_phy 0>; - phys = <&atc5_phy PHY_TYPE_USB2>, <&atc5_phy PHY_TYPE_USB3>; - phy-names = "usb2-phy", "usb3-phy"; - apple,tunable-gbl-default = <0x64 0x2 0x0>, <0x10 0xfff80000 0x00680000>; - apple,tunable-gbl-host = <0x4 0x0001ef00 0x00002f00>, <0x1c 0x00000100 0x0>, - <0x2c 0x000a07ff 0x000800c8>, <0x100 0x02000100 0x02000100>, - <0x504 0x00001000 0x0>, <0x528 0xff0000ff 0x06000006>, - <0x52c 0xff0000ff 0x08000008>, <0x580 0xffffffff 0x6f000006>, - <0x584 0xffffffff 0x00060000>; - apple,tunable-dbg = <0x0 0x8 0x8>; - apple,tunable-cfg-host = <0x20 0xff 0x1b>; - apple,tunable-link = <0x10 0xff000000 0xff000000>, <0x20 0x7ff00000 0x4e900000>, - <0x24 0x001f8000 0x000b8000>, <0x60 0x0003ffff 0x00000600>; - apple,tunable-cio = <0x20 0x00ff0000 0x001e0000>; - - port { - usb_drd5_hs: endpoint { - remote-endpoint = <&hpm5_hs>; - }; - }; - }; - - /* /arm-io/dart-usb5 reg[0] and reg[1], interrupt 4559; vm-base 0x10000004000 +0xffff0000 */ - usb_drd5_dart_0: iommu@42aaf00000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - reg = <0x42 0xaaf00000 0x0 0xc000>; - interrupts = ; - power-domains = <&ps_atc5_usb>; - #iommu-cells = <1>; - apple,dma-range = <0x100 0x4000 0x0 0xffff0000>; - }; - - usb_drd5_dart_1: iommu@42aaf80000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - reg = <0x42 0xaaf80000 0x0 0xc000>; - interrupts = ; - power-domains = <&ps_atc5_usb>; - #iommu-cells = <1>; - apple,dma-range = <0x100 0x4000 0x0 0xffff0000>; - }; - }; -}; diff --git a/arch/arm64/boot/dts/apple/t6050-j775c-loader-gpu.dtsi b/arch/arm64/boot/dts/apple/t6050-j775c-loader-gpu.dtsi deleted file mode 100644 index cd6b317801737..0000000000000 --- a/arch/arm64/boot/dts/apple/t6050-j775c-loader-gpu.dtsi +++ /dev/null @@ -1,98 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0+ OR MIT -/* Retained candidate44 definitions at installed Aura GPU handoff paths. */ -/ { - soc@2300000000 { - compatible = "simple-bus"; - #address-cells = <2>; - #size-cells = <2>; - ranges = <0x23 0 0x23 0 0 0x4000000>; - nonposted-mmio; - - gpu: gpu@2302600000 { - compatible = "apple,agx-g17c", "apple,agx-g17s", "apple,agx-t6050"; - reg = <0x23 0x02600000 0x0 0x88000>, - <0x23 0x00000000 0x0 0x4000000>; - reg-names = "asc", "sgx"; - mboxes = <&gfx_mbox>, <&gfx1_mbox>; - power-domains = <&ps_gfx>; - memory-region = <&uat_ttbs>, <&uat_pagetables>, <&uat_handoff>, - <&gpu_fw_data>, <&uat_l2_pagetables>, <&gpu_fw_text>; - memory-region-names = "ttbs", "pagetables", "handoff", "fw-data", - "l2-pagetables", "fw-text"; - operating-points-v2 = <&gpu_opp>; - apple,afr-opp = <&gpu_afr_opp>; - apple,cs-opp = <&gpu_cs_opp>; - /* Submissions hold the memory and fabric floor while the GPU has work. */ - apple,clpc = <&clpc>; - apple,csafr-min-sram-microvolt = <0>; - /* The six AON power-telemetry records the firmware samples: FourCC and two words each. */ - apple,aon-ptd = <0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0>; - status = "disabled"; - }; - - gfx_mbox: mailbox@2302600000 { - compatible = "apple,t6050-j775d-ascwrap-v6"; - reg = <0x23 0x02600000 0x0 0x88000>, - <0x23 0x02050000 0x0 0x8>; - reg-names = "wrapper", "iop-vbar"; - interrupts = , - ; - interrupt-names = "send-empty", "recv-not-empty"; - apple,firmware-role = "GFX"; - power-domains = <&ps_gfx>; - #mbox-cells = <0>; - status = "disabled"; - }; - - gfx1_mbox: mailbox@2302e00000 { - compatible = "apple,t6050-j775d-ascwrap-v6"; - reg = <0x23 0x02e00000 0x0 0x88000>, - <0x23 0x02850000 0x0 0x8>; - reg-names = "wrapper", "iop-vbar"; - interrupts = , - ; - interrupt-names = "send-empty", "recv-not-empty"; - apple,firmware-role = "GFX1"; - power-domains = <&ps_gfx>; - #mbox-cells = <0>; - status = "disabled"; - }; - - pmgr3: power-management@2300e80000 { - compatible = "apple,t6050-pmgr", "apple,t8103-pmgr", "syscon", "simple-mfd"; - reg = <0x23 0x00e80000 0x0 0x4000>; - #address-cells = <1>; - #size-cells = <1>; - - ps_gpx: power-controller@0 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x0 4>; - label = "gpx"; - #power-domain-cells = <0>; - #reset-cells = <0>; - apple,always-on; - status = "disabled"; - }; - - ps_afr: power-controller@100 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x100 4>; - label = "afr"; - #power-domain-cells = <0>; - #reset-cells = <0>; - apple,always-on; - status = "disabled"; - }; - - ps_gfx: power-controller@110 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x110 4>; - label = "gfx"; - #power-domain-cells = <0>; - power-domains = <&ps_afr>, <&ps_gpx>; - #reset-cells = <0>; - status = "disabled"; - }; - }; - }; -}; diff --git a/arch/arm64/boot/dts/apple/t6050-j775c-rebased-peripherals.dtsi b/arch/arm64/boot/dts/apple/t6050-j775c-rebased-peripherals.dtsi deleted file mode 100644 index 1c0b9b4434674..0000000000000 --- a/arch/arm64/boot/dts/apple/t6050-j775c-rebased-peripherals.dtsi +++ /dev/null @@ -1,302 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0+ OR MIT -/* - * Retained candidate-44 peripheral definitions, moved to integration's - * identity-mapped peripheral bus. Original authorship and definitions - * are retained from the T6050/J775c sources. - * Copyright The Asahi Linux Contributors - */ -/ { - soc { - compatible = "simple-bus"; - #address-cells = <2>; - #size-cells = <2>; - ranges; - nonposted-mmio; - - dart_apcie1: iommu@411000000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - reg = <0x4 0x11000000 0x0 0x20000>; - interrupts = ; - #iommu-cells = <1>; - status = "disabled"; - }; - - atc0_xbar: mux@2a324c000 { - compatible = "apple,t6050-display-crossbar", "apple,t8142-display-crossbar"; - reg = <0x2 0xa324c000 0x0 0x4000>; - #mux-control-cells = <1>; - power-domains = <&ps_atc0_usb_aon>, <&ps_atc0_common>; - power-domain-names = "usb-aon", "common"; - }; - - atc1_xbar: mux@2ab24c000 { - compatible = "apple,t6050-display-crossbar", "apple,t8142-display-crossbar"; - reg = <0x2 0xab24c000 0x0 0x4000>; - #mux-control-cells = <1>; - power-domains = <&ps_atc1_usb_aon>, <&ps_atc1_common>; - power-domain-names = "usb-aon", "common"; - }; - - atc3_xbar: mux@38b24c000 { - compatible = "apple,t6050-display-crossbar", "apple,t8142-display-crossbar"; - reg = <0x3 0x8b24c000 0x0 0x4000>; - #mux-control-cells = <1>; - power-domains = <&ps_atc3_usb_aon>, <&ps_atc3_common>; - power-domain-names = "usb-aon", "common"; - }; - - pinctrl_nub: pinctrl@2881e4000 { - compatible = "apple,t6050-pinctrl", "apple,t8103-pinctrl"; - reg = <0x2 0x881e4000 0x0 0x4000>; - gpio-controller; - #gpio-cells = <2>; - gpio-ranges = <&pinctrl_nub 0 0 61>; - apple,npins = <61>; - gpio-reserved-ranges = <0 14>, <15 46>; - gpio-line-names = "", "", "", "", "", "", "", "", "", "", "", "", "", "", - "usb3hub_rst"; - interrupt-controller; - #interrupt-cells = <2>; - interrupt-parent = <&aic>; - interrupts = , - , - , - , - , - , - ; - - usb3hub-rst-hog { - gpio-hog; - gpios = <14 GPIO_ACTIVE_LOW>; - output-low; - line-name = "usb3hub_rst"; - }; - }; - - usb_drd0_dart_0: iommu@2a2f00000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - reg = <0x2 0xa2f00000 0x0 0xc000>; - interrupts = ; - power-domains = <&ps_atc0_usb>; - #iommu-cells = <1>; - apple,dma-range = <0x100 0x4000 0x0 0xffff0000>; - }; - - usb_drd0_dart_1: iommu@2a2f80000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - reg = <0x2 0xa2f80000 0x0 0xc000>; - interrupts = ; - power-domains = <&ps_atc0_usb>; - #iommu-cells = <1>; - apple,dma-range = <0x100 0x4000 0x0 0xffff0000>; - }; - - usb_drd0: usb@2a2280000 { - compatible = "apple,t6050-dwc3", "apple,t8103-dwc3"; - reg = <0x2 0xa2280000 0x0 0xcd00>, - <0x2 0xa228cd00 0x0 0x4b00>, - <0x2 0xa2200000 0x0 0x4000>; - reg-names = "dwc3-core", "dwc3-apple", "drd-cfg"; - interrupts = ; - dr_mode = "otg"; - usb-role-switch; - role-switch-default-mode = "host"; - iommus = <&usb_drd0_dart_0 0>, <&usb_drd0_dart_1 1>; - power-domains = <&ps_atc0_usb>; - resets = <&atc0_phy 0>; - phys = <&atc0_phy PHY_TYPE_USB2>, <&atc0_phy PHY_TYPE_USB3>; - phy-names = "usb2-phy", "usb3-phy"; - apple,tunable-gbl-default = <0x64 0x2 0x0>, <0x10 0xfff80000 0x00680000>; - apple,tunable-gbl-host = <0x4 0x0001ef00 0x00002f00>, <0x1c 0x00000100 0x0>, - <0x2c 0x000a07ff 0x000800c8>, <0x100 0x02000100 0x02000100>, - <0x504 0x00001000 0x0>, <0x528 0xff0000ff 0x06000006>, - <0x52c 0xff0000ff 0x08000008>, <0x580 0xffffffff 0x6f000006>, - <0x584 0xffffffff 0x00060000>; - apple,tunable-dbg = <0x0 0x8 0x8>; - apple,tunable-cfg-host = <0x20 0xff 0x1b>; - apple,tunable-link = <0x10 0xff000000 0xff000000>, <0x20 0x7ff00000 0x4e900000>, - <0x24 0x001f8000 0x000b8000>, <0x60 0x0003ffff 0x00000600>; - apple,tunable-cio = <0x20 0x00ff0000 0x001e0000>; - - port { - usb_drd0_hs: endpoint { - remote-endpoint = <&hpm0_hs>; - }; - }; - }; - - dart_dispext0_isoc: iommu@2b2180000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - reg = <0x2 0xb2180000 0x0 0x20000>; - interrupts = ; - #iommu-cells = <1>; - power-domains = <&ps_dispext0_adma>; - apple,dma-range = <0x100 0x0 0x10 0x0>; - }; - - admac_dispext0: dma-controller@2b2140000 { - compatible = "apple,t6050-admac", "apple,t8140-admac"; - reg = <0x2 0xb2140000 0x0 0x24000>; - dma-channels = <1>; - interrupts-extended = <&aic AIC_IRQ 0 1092 IRQ_TYPE_LEVEL_HIGH>, - <0>, <0>, <0>; - #dma-cells = <1>; - iommus = <&dart_dispext0_isoc 30>; - power-domains = <&ps_dispext0_adma>; - apple,dma-range = <0x100 0x0 0x10 0x0>; - }; - - dcpext1_mbox: mailbox@392e08000 { - compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; - reg = <0x3 0x92e08000 0x0 0x4000>; - interrupts = , - , - , - ; - interrupt-names = "send-empty", "send-not-empty", - "recv-empty", "recv-not-empty"; - #mbox-cells = <0>; - status = "disabled"; - }; - - dcpext1: dcp@392e00000 { - compatible = "apple,t6050-dcpext", "apple,dcpext"; - reg = <0x3 0x92e00000 0x0 0x4000>, - <0x3 0x90000000 0x0 0x4000000>, - <0x3 0x92240000 0x0 0x10000>, - <0x3 0x923ac000 0x0 0x4000>, - <0x3 0x92800000 0x0 0x800000>, - <0x2 0x86700000 0x0 0x114000>, - <0x3 0x92850000 0x0 0x4000>; - reg-names = "coproc", "disp-0", "disp-1", "disp-2", "disp-3", "disp-4", "iop-vbar"; - mboxes = <&dcpext1_mbox>; - mbox-names = "mbox"; - iommus = <&dart_dcpext1 23>; - /* The PMC metadata is die 0's one block, dcpext0_pmc; DISP_EXT1's slot in it */ - apple,bw-scratch = <&dcpext0_pmc 0 5 0x30000>; - /* The ADT external-index (iop-dcpext1-nub), as dcpext0's 1 */ - apple,dcp-index = <2>; - apple,clock-ids; - apple,connector-type = "HDMI-A"; - apple,dptx-die = <0>; - apple,dptx-phy = <4>; - /* - * The fixed HDMI route: the PHY (its source select picks this engine), the - * converter's hotplug output (AOP GPIO 14, active high) and its two power - * enables (the SMC's pcIO lines). - */ - phys = <&lpdptx_phy0>; - phy-names = "dp-phy"; - hdmi-hpd-gpios = <&pinctrl_aop 14 GPIO_ACTIVE_HIGH>; - hdmi-pwren-gpios = <&smc_pcio 0 GPIO_ACTIVE_HIGH>; - dp2hdmi-pwren-gpios = <&smc_pcio 1 GPIO_ACTIVE_HIGH>; - status = "disabled"; - - piodma { - iommus = <&dart_dispext1 16>; - }; - }; - - dart_dcpext1: iommu@392340000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - reg = <0x3 0x92340000 0x0 0x20000>; - /* dart-dcpext1 and dart-dispext1 share ADT interrupt 1142 */ - interrupts = ; - #iommu-cells = <1>; - /* ADT vm-base 1 TiB, vm-size 3 TiB */ - apple,dma-range = <0x100 0x0 0x300 0x0>; - status = "disabled"; - }; - - dart_dispext1: iommu@392300000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - /* reg[0] only, as for dart-dispext0 */ - reg = <0x3 0x92300000 0x0 0xc000>; - interrupts = ; - #iommu-cells = <1>; - apple,dma-range = <0x100 0x0 0x300 0x0>; - status = "disabled"; - }; - - dart_dispext1_isoc: iommu@392180000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - reg = <0x3 0x92180000 0x0 0x20000>; - interrupts = ; - #iommu-cells = <1>; - power-domains = <&ps_dispext1_adma>; - /* ADT vm-base 1 TiB, vm-size 64 GiB */ - apple,dma-range = <0x100 0x0 0x10 0x0>; - }; - - admac_dispext1: dma-controller@392140000 { - compatible = "apple,t6050-admac", "apple,t8140-admac"; - reg = <0x3 0x92140000 0x0 0x24000>; - /* One TX channel: Linux channel 0 */ - dma-channels = <1>; - interrupts-extended = <&aic AIC_IRQ 0 1164 IRQ_TYPE_LEVEL_HIGH>, - <0>, <0>, <0>; - #dma-cells = <1>; - iommus = <&dart_dispext1_isoc 30>; - power-domains = <&ps_dispext1_adma>; - apple,dma-range = <0x100 0x0 0x10 0x0>; - }; - - ane_dart0: iommu@509800000 { - compatible = "apple,t6050-ane-dart", "apple,t6050-dart", - "apple,t8110-dart"; - reg = <0x5 0x09800000 0x0 0xc000>; - #iommu-cells = <1>; - interrupt-parent = <&aic>; - interrupts = ; - power-domains = <&ps_ane_sys>; - /* The firmware DVAs reach 0x100_xxxx_xxxx. */ - apple,dma-range = <0x0 0x0 0x400 0x0>; - status = "disabled"; - }; - - ane_dart1: iommu@509820000 { - compatible = "apple,t6050-ane-dart", "apple,t6050-dart", - "apple,t8110-dart"; - reg = <0x5 0x09820000 0x0 0xc000>; - #iommu-cells = <1>; - interrupt-parent = <&aic>; - interrupts = ; - power-domains = <&ps_ane_sys>; - apple,dma-range = <0x0 0x0 0x400 0x0>; - status = "disabled"; - }; - - ane_dart2: iommu@509840000 { - compatible = "apple,t6050-ane-dart", "apple,t6050-dart", - "apple,t8110-dart"; - reg = <0x5 0x09840000 0x0 0xc000>; - #iommu-cells = <1>; - interrupt-parent = <&aic>; - interrupts = ; - power-domains = <&ps_ane_sys>; - apple,dma-range = <0x0 0x0 0x400 0x0>; - status = "disabled"; - }; - - lpdptx_phy0: phy@29c200000 { - compatible = "apple,t6050-dptx-phy"; - reg = <0x2 0x9c200000 0x0 0x4000>, - <0x2 0x9c240000 0x0 0x10000>; - reg-names = "core", "dptx"; - power-domains = <&ps_dptx_phy>; - #phy-cells = <0>; - #reset-cells = <0>; - apple,pll-dcocfg = <3>; - apple,pll-dtcvreg = <15>; - apple,pll-dtccal = <2>; - apple,pll-dcdadj = <16>; - apple,pll-dlfcfg = <3>; - apple,pclkdrv-select = <1>; - /* dcpext1's route: the crossbar's ufp endpoint 1 (source select 2) */ - apple,ufp-endpoint = <1>; - /* Aura enables it with dcpext1. */ - status = "disabled"; - }; - }; -}; diff --git a/arch/arm64/boot/dts/apple/t6050-j775c-usb4-capture.dtsi b/arch/arm64/boot/dts/apple/t6050-j775c-usb4-capture.dtsi deleted file mode 100644 index 83938904e80ce..0000000000000 --- a/arch/arm64/boot/dts/apple/t6050-j775c-usb4-capture.dtsi +++ /dev/null @@ -1,24 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0+ OR MIT -/* - * Diagnostic-only ramoops region, inside the J775c's reported System RAM - * 0x10003d70000..0x10fcf3effff and outside its existing reserved ranges. - * Excluded by memblock before allocation; no-map avoids a cached linear alias. - * Reset/firmware retention is measured separately, never assumed. - */ -/ { - reserved-memory { - #address-cells = <2>; - #size-cells = <2>; - ranges; - - usb4_ramoops: ramoops@10100000000 { - compatible = "ramoops"; - reg = <0x101 0x0 0x0 0x200000>; - no-map; - record-size = <0x40000>; - console-size = <0x80000>; - pmsg-size = <0x40000>; - ecc-size = <16>; - }; - }; -}; diff --git a/arch/arm64/boot/dts/apple/t6050-j775c-usb4.dtsi b/arch/arm64/boot/dts/apple/t6050-j775c-usb4.dtsi deleted file mode 100644 index d0fe27c0d3a4e..0000000000000 --- a/arch/arm64/boot/dts/apple/t6050-j775c-usb4.dtsi +++ /dev/null @@ -1,424 +0,0 @@ -/* J775c rear USB4 routers. Per-controller resources and tunables from J775c ADT. */ - - -&{/aliases} { - usb4-0-acio = &acio0; - usb4-0-nhi = &acio0_nhi; - usb4-1-acio = &acio1; - usb4-1-nhi = &acio1_nhi; - usb4-2-acio = &acio2; - usb4-2-nhi = &acio2_nhi; - usb4-3-acio = &acio3; - usb4-3-nhi = &acio3_nhi; -}; - - -&pmgr0 { - - ps_atc0_cio: power-controller@280 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x280 4>; - label = "atc0_cio"; - #power-domain-cells = <0>; - #reset-cells = <0>; - power-domains = <&ps_atc0_common>; - }; - - ps_atc0_cio_pcie: power-controller@338 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x338 4>; - label = "atc0_cio_pcie"; - #power-domain-cells = <0>; - #reset-cells = <0>; - power-domains = <&ps_atc0_cio>; - }; - - ps_atc0_cio_usb: power-controller@340 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x340 4>; - label = "atc0_cio_usb"; - #power-domain-cells = <0>; - #reset-cells = <0>; - power-domains = <&ps_atc0_cio>; - }; - - ps_atc0_cio_auss: power-controller@348 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x348 4>; - label = "atc0_cio_auss"; - #power-domain-cells = <0>; - #reset-cells = <0>; - power-domains = <&ps_atc0_cio>, <&ps_auss>; - }; - - ps_atc1_cio: power-controller@290 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x290 4>; - label = "atc1_cio"; - #power-domain-cells = <0>; - #reset-cells = <0>; - power-domains = <&ps_atc1_common>; - }; - - ps_atc1_cio_pcie: power-controller@350 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x350 4>; - label = "atc1_cio_pcie"; - #power-domain-cells = <0>; - #reset-cells = <0>; - power-domains = <&ps_atc1_cio>; - }; - - ps_atc1_cio_usb: power-controller@358 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x358 4>; - label = "atc1_cio_usb"; - #power-domain-cells = <0>; - #reset-cells = <0>; - power-domains = <&ps_atc1_cio>; - }; - - ps_atc1_cio_auss: power-controller@360 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x360 4>; - label = "atc1_cio_auss"; - #power-domain-cells = <0>; - #reset-cells = <0>; - power-domains = <&ps_atc1_cio>, <&ps_auss>; - }; - - ps_atc2_cio: power-controller@2e8 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x2e8 4>; - label = "atc2_cio"; - #power-domain-cells = <0>; - #reset-cells = <0>; - power-domains = <&ps_atc2_common>; - }; - - ps_atc2_cio_pcie: power-controller@3f8 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x3f8 4>; - label = "atc2_cio_pcie"; - #power-domain-cells = <0>; - #reset-cells = <0>; - power-domains = <&ps_atc2_cio>; - }; - - ps_atc2_cio_usb: power-controller@400 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x400 4>; - label = "atc2_cio_usb"; - #power-domain-cells = <0>; - #reset-cells = <0>; - power-domains = <&ps_atc2_cio>; - }; - - ps_atc2_cio_auss: power-controller@408 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x408 4>; - label = "atc2_cio_auss"; - #power-domain-cells = <0>; - #reset-cells = <0>; - power-domains = <&ps_atc2_cio>, <&ps_auss>; - }; - - ps_atc3_cio: power-controller@2f8 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x2f8 4>; - label = "atc3_cio"; - #power-domain-cells = <0>; - #reset-cells = <0>; - power-domains = <&ps_atc3_common>; - }; - - ps_atc3_cio_pcie: power-controller@410 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x410 4>; - label = "atc3_cio_pcie"; - #power-domain-cells = <0>; - #reset-cells = <0>; - power-domains = <&ps_atc3_cio>; - }; - - ps_atc3_cio_usb: power-controller@418 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x418 4>; - label = "atc3_cio_usb"; - #power-domain-cells = <0>; - #reset-cells = <0>; - power-domains = <&ps_atc3_cio>; - }; - - ps_atc3_cio_auss: power-controller@420 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x420 4>; - label = "atc3_cio_auss"; - #power-domain-cells = <0>; - #reset-cells = <0>; - power-domains = <&ps_atc3_cio>, <&ps_auss>; - }; - - ps_auss: power-controller@248 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x248 4>; - label = "auss"; - #power-domain-cells = <0>; - #reset-cells = <0>; - apple,always-on; - }; -}; - - -&atc0_phy { - apple,tunable-lane0-rx-top-cio = <0x35c 0xe00 0x200>; - apple,tunable-lane1-rx-top-cio = <0x35c 0xe00 0x200>; -}; - - -&atc1_phy { - apple,tunable-lane0-rx-top-cio = <0x35c 0xe00 0x200>; - apple,tunable-lane1-rx-top-cio = <0x35c 0xe00 0x200>; -}; - - -&atc2_phy { - apple,tunable-lane0-rx-top-cio = <0x35c 0xe00 0x200>; - apple,tunable-lane1-rx-top-cio = <0x35c 0xe00 0x200>; -}; - - -&atc3_phy { - apple,tunable-lane0-rx-top-cio = <0x35c 0xe00 0x200>; - apple,tunable-lane1-rx-top-cio = <0x35c 0xe00 0x200>; -}; - - -&pinctrl_aop { - /* Keep HDMI GPIO 14 available, and reserve every pin except CIO LSTX 77/79/81/83. */ - gpio-reserved-ranges = <0 14>, <15 62>, <78 1>, <80 1>, <82 1>, <84 1>; - status = "okay"; - - - - acio2_lstx_pins: acio2-lstx-pins { - pinmux = <0x10051>; - }; - - -}; - - -&hpm0 { - connector { - ports { - port@3 { - reg = <3>; - hpm0_usb4: endpoint { - remote-endpoint = <&acio0_tbt>; - }; - }; - }; - }; -}; - - -&hpm1 { - connector { - ports { - port@3 { - reg = <3>; - hpm1_usb4: endpoint { - remote-endpoint = <&acio1_tbt>; - }; - }; - }; - }; -}; - - -&hpm2 { - connector { - ports { - port@3 { - reg = <3>; - hpm2_usb4: endpoint { - remote-endpoint = <&acio2_tbt>; - }; - }; - }; - }; -}; - - -&hpm3 { - connector { - ports { - port@3 { - reg = <3>; - hpm3_usb4: endpoint { - remote-endpoint = <&acio3_tbt>; - }; - }; - }; - }; -}; - - -&{/soc} { - cio_reconfig0: cio_reset: reset-controller@280620000 { - compatible = "apple,t6050-cio-reset"; - reg = <0x2 0x80620000 0x0 0x4000>; - #reset-cells = <1>; - }; - - - - - - acio2_mbox: mailbox@381108000 { - compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; - reg = <0x3 0x81108000 0x0 0x4000>; - interrupts = , - , - , - ; - interrupt-names = "send-empty", "send-not-empty", - "recv-empty", "recv-not-empty"; - #mbox-cells = <0>; -#if !(defined(T6050_J714C) || defined(T6050_J714S) || defined(T6050_J716C)) - status = "disabled"; -#endif - }; - - acio2: acio@381ac0000 { - compatible = "apple,t6050-usb4-acio"; - reg = <0x3 0x81ac0000 0x0 0xc000>, - <0x3 0x81080000 0x0 0x26000>, - <0x3 0x81e44000 0x0 0x4000>, - <0x3 0x81100000 0x0 0x4000>, - <0x3 0x81c80000 0x0 0x4000>; - reg-names = "rc", "sram", "pcie-adapter", "cpu", "router-ap-fw"; - mboxes = <&acio2_mbox>; - resets = <&cio_reconfig0 2>; - power-domains = <&ps_atc2_cio>, <&ps_atc2_cio_pcie>, - <&ps_atc2_cio_usb>, <&ps_atc2_cio_auss>; - thunderbolt-switch; -#if !(defined(T6050_J714C) || defined(T6050_J714S) || defined(T6050_J716C)) - status = "disabled"; -#endif - pinctrl-0 = <&acio2_lstx_pins>; - pinctrl-names = "lstx"; - lstx-gpios = <&pinctrl_aop 81 GPIO_ACTIVE_HIGH>; - - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x0 0x3 0x81000000 0x1000000>; - nonposted-mmio; - - /* - * /arm-io/dart-acio2, populated with the NHI once the router runs, so that it is - * first read with the router up. Nothing initialises it before Linux: its tunables - * (dart-tunables-instance-0), stream 15 (bypass-15) in bypass, every error - * reported and the context cache flushed. vm-base 0x100_0000_0000. - */ - acio2_dart: iommu@a80000 { - compatible = "apple,t6050-dart", "apple,t8110-dart"; - reg = <0xa80000 0xc000>; - interrupts = ; - power-domains = <&ps_atc2_cio>; - #iommu-cells = <1>; - apple,dma-range = <0x100 0x4000 0x0 0xffff0000>; - apple,bypass-sids = <15>; - apple,full-error-reporting; - apple,ctc-flush; - }; - - /* Interrupts 0x66b.. are the TX rings and 0x677.. the RX rings */ - acio2_nhi: nhi@f00000 { - compatible = "apple,t6050-usb4-nhi"; - reg = <0xf00000 0x100000>; - reg-names = "nhi"; - /* The board or boot loader supplies the host DROM. */ - apple,thunderbolt-drom = [00]; - interrupts = , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - ; - interrupt-names = "txring0", "txring1", "txring2", "txring3", "txring4", "txring5", - "txring6", "txring7", "txring8", "txring9", "txring10", "txring11", - "rxring0", "rxring1", "rxring2", "rxring3", "rxring4", "rxring5", - "rxring6", "rxring7", "rxring8", "rxring9", "rxring10", "rxring11", - "parity"; - iommus = <&acio2_dart 0>, - <&acio2_dart 1>, - <&acio2_dart 2>, - <&acio2_dart 3>, - <&acio2_dart 4>, - <&acio2_dart 5>, - <&acio2_dart 6>, - <&acio2_dart 7>, - <&acio2_dart 8>, - <&acio2_dart 9>, - <&acio2_dart 10>, - <&acio2_dart 11>, - <&acio2_dart 16>, - <&acio2_dart 17>, - <&acio2_dart 18>, - <&acio2_dart 19>, - <&acio2_dart 20>, - <&acio2_dart 21>, - <&acio2_dart 22>, - <&acio2_dart 23>, - <&acio2_dart 24>, - <&acio2_dart 25>, - <&acio2_dart 26>, - <&acio2_dart 27>; - }; - }; - - - -}; - -/* The inherited USB DARTs have no secure-monitor power-down operation in - * Linux's direct T8110 backend. Do not cut their domain from pre-freezer - * Type-C teardown or system PM. Router-only CIO domains remain cycleable. - * Keeping USB also retains its AON/common suppliers for wake. This can be - * relaxed only with a qualified DART ownership/power-down handoff. */ -&ps_atc0_usb { apple,always-on; }; -&ps_atc1_usb { apple,always-on; }; -&ps_atc2_usb { apple,always-on; }; -&ps_atc3_usb { apple,always-on; }; - -&acio2_mbox { status = "okay"; }; -&acio2 { - status = "okay"; - - port { - acio2_tbt: endpoint { - remote-endpoint = <&hpm2_usb4>; - }; - }; -}; diff --git a/arch/arm64/boot/dts/apple/t6050-j775c.dts b/arch/arm64/boot/dts/apple/t6050-j775c.dts index 64bb1a784f6ef..125b527eb7e78 100644 --- a/arch/arm64/boot/dts/apple/t6050-j775c.dts +++ b/arch/arm64/boot/dts/apple/t6050-j775c.dts @@ -1,1185 +1,6168 @@ // SPDX-License-Identifier: GPL-2.0+ OR MIT /* - * Mac Studio (M5 Max, 2026) + * Apple Mac Studio (M5 Max, 2026) * - * target-type: J775c, board-id 0x10, chip-id 0x6050 (one die, 18 CPUs: 2x6 M + 6 P) - * - * The J775D (M5 Ultra) Studio's board on the one-die T6050 of the M5 Max, generated by - * make-j775c-dts.py: - * - the CPU, die-1 and GPU parts are t6050-j716c.dts's (M5 Max): die 1, its CPUs and buses go, - * each cluster's sixth core comes in, the GPU's OPP and AON tables are one die's (Aura fills - * them from the ADT), and the die-1 HPMs and nub-spmi-a2 go; - * - the board parts are t6050-j775d.dts's: PCIe ports 2 (RTL8127A), 3 (ASM3142 USB-A) and 0 (N1), - * audio (SN012776 on i2c1 0x38, CS42L84 on i2c2 0x4b), the pins, console, DARTs, dual fans and - * the NVRAM partition. - * Checked against the J775c ADT captured 2026-11-03 (macOS 26A425): the same PCIe endpoints (lan0 - * 10ec:8127, pcie-xhci 1b21:2142, centauri 106b:1901-1903; the GL9755 SD reader on port 1 is - * described but disabled until trained by the bootloader), the same i2c addresses and GPIO pins - * (amp 106/107, jack 134/139, N1 PERST# 80), the - * same NVRAM (0x700000 + 0xc0000, 12 banks), ATC PHYs 1-3 and HPMs 0-3 on nub-spmi-a0 at J775D's - * die-0 addresses, no nub-spmi-a2, and CPU MPIDRs 0x5/0x105/0x205 for each cluster's sixth core. - * J775c-specific: the N1's platform ID and firmware name carry board 0x10. - * - * Compatibility layout booted as 9c038a05 on J775c; see commit messages. + * target-type: J775c, board-id: 0x10, chip-id: 0x6050 + * One die, 18 CPUs: two six-core M clusters and one six-core P cluster. * + * Board support by Satya Benson. * Copyright The Asahi Linux Contributors + * + * This is the final board description, including the compatibility layout + * required by installed Aura b6e6faf4. Keep the GPU below /soc@2300000000 + * and its ASC/SGX resources until a modern loader is qualified on J775c. + * See Documentation/devicetree/apple-j775c-compatibility.rst. */ /dts-v1/; -#include "t6050-j775c-legacy.dtsi" -#include "t6050-j775c-rebased-peripherals.dtsi" -#include "t6050-j775c-loader-gpu.dtsi" - -/delete-node/ &cpu18; -/delete-node/ &cpu19; -/delete-node/ &cpu20; -/delete-node/ &cpu21; -/delete-node/ &cpu22; -/delete-node/ &cpu24; -/delete-node/ &cpu25; -/delete-node/ &cpu26; -/delete-node/ &cpu27; -/delete-node/ &cpu28; -/delete-node/ &cpu30; -/delete-node/ &cpu31; -/delete-node/ &cpu32; -/delete-node/ &cpu33; -/delete-node/ &cpu34; - / { compatible = "apple,j775c", "apple,t6050", "apple,arm-platform"; + #address-cells = <0x02>; + #size-cells = <0x02>; + interrupt-parent = <&aic>; model = "Apple Mac Studio (M5 Max, 2026)"; chassis-type = "desktop"; - aliases { - serial0 = &dockchannel; - /* the boot loader fills in the MAC address through this alias */ - ethernet0 = ðernet0; - /* kboot fills the N1's factory addresses from /chosen through these */ - wifi0 = &n1_alpha; - bluetooth0 = &n1_beta; - /* Aura's kboot_setup_atc() fills this PHY's tunables from /arm-io/atc-phy2. */ - atcphy2 = &atc2_phy; - /* And /arm-io/atc-phy0's (rear USB-C port 1, the DFU port). */ - atcphy0 = &atc0_phy; - /* The same fills /arm-io/atc-phy1's (rear USB-C port 2, USB data). */ - atcphy1 = &atc1_phy; - /* And rear port 4's (atc-phy3, die 0); J775D's die-1 PHYs 4 and 5 don't exist on J775c. */ - atcphy3 = &atc3_phy; - /* asahi-bless and the boot loader's dt_set_nvram find the partition by this alias */ - nvram = &nvram; + memory@10000000000 { + device_type = "memory"; + reg = <0x100 0x00 0x00 0x00>; }; - /* - * No stdout-path: the boot loader passes the console on the command - * line when it wants one. - */ - chosen { - #address-cells = <2>; - #size-cells = <2>; + /* The loader fills the reserved-memory ranges before starting Linux. */ + reserved-memory { + #address-cells = <0x02>; + #size-cells = <0x02>; ranges; - /* - * Normally replaced by the loader. With no console= named, - * NULL_TTY_DEFAULT_CONSOLE makes the console ttynull. - */ - bootargs = "maxcpus=1 rdinit=/init"; - }; - /* - * PCIe ports 2 (the onboard 10 Gb Ethernet) and 3 (the rear USB-A - * xHCI). The boot loader powers and trains both links and keeps power, - * clocks, the PHYs and PERST; Linux owns the routing, MSI and the - * DARTs. The boot loader disables a port, and its DART, whose link did - * not come up. - * - * Port 0 carries the N1 (Wi-Fi and Bluetooth), described disabled until the - * boot loader trains it (pci@0,0 below). - */ - pcie0: pcie@1cb0000000 { - compatible = "apple,t6050-pcie"; - device_type = "pci"; - reg = <0x1c 0xb0000000 0x0 0x10000000>, - <0x4 0x14000000 0x0 0x4000>, - <0x4 0x12028000 0x0 0x8000>, - <0x4 0x17018000 0x0 0x4000>, - <0x4 0x12024000 0x0 0x4000>, - <0x4 0x13028000 0x0 0x8000>, - <0x4 0x1701c000 0x0 0x4000>, - <0x4 0x13024000 0x0 0x4000>, - <0x4 0x10028000 0x0 0x8000>, - <0x4 0x17010000 0x0 0x4000>, - <0x4 0x10024000 0x0 0x4000>, - <0x4 0x11028000 0x0 0x8000>, - <0x4 0x17014000 0x0 0x4000>, - <0x4 0x11024000 0x0 0x4000>; - reg-names = "config", "rc", "port2", "phy2", "intr2axi2", - "port3", "phy3", "intr2axi3", - "port0", "phy0", "intr2axi0", - "port1", "phy1", "intr2axi1"; - nonposted-mmio; - interrupts = , - , - , - ; - interrupt-names = "port2", "port3", "port0", "port1"; - - /* One shared MSI domain for the GP ports: vectors 64-127 */ - msi-controller; - msi-parent = <&pcie0>; - msi-ranges = <&aic AIC_IRQ 0 1888 IRQ_TYPE_EDGE_RISING 64>; - apple,msi-vector-base = <64>; - - /* - * The boot loader numbers port 2's secondary bus 1 and port 3's 2; - * port 0's is 3 until a boot loader that trains it renumbers all three - * in the PCI core's order. The N1's three functions are on DART - * streams 1-3. - */ - iommu-map = <0x100 &dart_apcie2 1 1>, - <0x200 &dart_apcie3 1 1>, - <0x300 &dart_apcie0 1 3>, - <0x400 &dart_apcie1 1 1>; - iommu-map-mask = <0xffff>; - dma-coherent; - linux,pci-domain = <0>; - bus-range = <0 4>; - #address-cells = <3>; - #size-cells = <2>; - ranges = <0x02000000 0x0 0x80000000 0xb 0x80000000 0x0 0x40000000>, - <0x43000000 0xb 0xc0000000 0xb 0xc0000000 0x0 0x20000000>; - - /* ADT apcie0/pci-bridge1/pcie-sdreader: Genesys GL9755, 17a0:9755. - * Aura powers it via SMC pcIO (0, 0x190000), trains the link, - * then enables this node and its DART and renumbers the buses. - */ - - port02: pci@2,0 { - device_type = "pci"; - reg = <0x1000 0 0 0 0>; - bus-range = <1 1>; - apple,link-trained-by-bootloader; + uat_handoff: uat-handoff { + reg = <0x00 0x00 0x00 0x00>; + no-map; + status = "disabled"; + }; - #address-cells = <3>; - #size-cells = <2>; - ranges; + uat_l2_pagetables: uat-l2-pagetables { + reg = <0x00 0x00 0x00 0x00>; + no-map; + status = "disabled"; + }; - interrupt-controller; - #interrupt-cells = <1>; - interrupt-map-mask = <0 0 0 7>; - interrupt-map = <0 0 0 1 &port02 0 0 0 0>, - <0 0 0 2 &port02 0 0 0 1>, - <0 0 0 3 &port02 0 0 0 2>, - <0 0 0 4 &port02 0 0 0 3>; - - /* The RTL8127A keeps no MAC address of its own */ - ethernet0: ethernet@0,0 { - reg = <0x10000 0x0 0x0 0x0 0x0>; - /* To be filled by the loader */ - local-mac-address = [00 00 00 00 00 00]; - }; + uat_pagetables: uat-pagetables { + reg = <0x00 0x00 0x00 0x00>; + no-map; + status = "disabled"; }; - port03: pci@3,0 { - device_type = "pci"; - reg = <0x1800 0 0 0 0>; - bus-range = <2 2>; - apple,link-trained-by-bootloader; + uat_ttbs: uat-ttbs { + reg = <0x00 0x00 0x00 0x00>; + no-map; + status = "disabled"; + }; - #address-cells = <3>; - #size-cells = <2>; - ranges; + gpu_fw_text: gpu-fw-text { + reg = <0x00 0x00 0x00 0x00>; + no-map; + status = "disabled"; + }; - interrupt-controller; - #interrupt-cells = <1>; - interrupt-map-mask = <0 0 0 7>; - interrupt-map = <0 0 0 1 &port03 0 0 0 0>, - <0 0 0 2 &port03 0 0 0 1>, - <0 0 0 3 &port03 0 0 0 2>, - <0 0 0 4 &port03 0 0 0 3>; - }; - - /* - * The N1 Wi-Fi/Bluetooth (106b:1900, its ROM), trained by the bootloader after the SMC - * releases its reset. Its driver boots the firmware and has this port reset after the ROM - * stage; Control, Alpha (Wi-Fi) and Beta (Bluetooth) then answer at functions 0-2. - * Disabled with its DART: a bootloader that trains the port enables both and renumbers the - * buses here (bus-range, reg, iommu-map) to the PCI core's order, port 0 first. - */ - port00: pci@0,0 { - device_type = "pci"; - reg = <0x0 0 0 0 0>; - bus-range = <3 3>; - apple,link-trained-by-bootloader; - /* - * Its PERST# (pci-bridge0 function-perst): /arm-io/gpio0 pin 0x50, pad - * register 0x140 of pinctrl_ap, which owns the pad (and exposes it: see - * its gpio-reserved-ranges below). Driven only by the root-port reset after - * the N1's ROM stage. - */ - reset-gpios = <&pinctrl_ap 80 GPIO_ACTIVE_LOW>; + gpu_fw_data: gpu-fw-data { + reg = <0x00 0x00 0x00 0x00>; + no-map; status = "disabled"; + }; - #address-cells = <3>; - #size-cells = <2>; - ranges; + ane_fw_text: ane-firmware-text@0 { + compatible = "apple,asc-mem"; + reg = <0x00 0x00 0x00 0x00>; + no-map; + status = "disabled"; + }; - interrupt-controller; - #interrupt-cells = <1>; - interrupt-map-mask = <0 0 0 7>; - interrupt-map = <0 0 0 1 &port00 0 0 0 0>, - <0 0 0 2 &port00 0 0 0 1>, - <0 0 0 3 &port00 0 0 0 2>, - <0 0 0 4 &port00 0 0 0 3>; - - /* The firmware: the chip's image with this board's ticket; platform ID is - * (board 0x10 << 16) | chip 0x6050, from J775c's /chosen board-id */ - n1_control: control@0,0 { - compatible = "pci106b,1900"; - reg = <0x30000 0x0 0x0 0x0 0x0>; - firmware-name = "apple/centauri/j775c-ftab.bin"; - apple,centauri-platform-id = <0x00106050>; - apple,centauri-protocol = <27>; - }; + ane_fw_data: ane-firmware-data@0 { + compatible = "apple,asc-mem"; + reg = <0x00 0x00 0x00 0x00>; + no-map; + status = "disabled"; + }; + }; - n1_alpha: wifi@0,1 { - compatible = "pci106b,1902"; - reg = <0x30100 0x0 0x0 0x0 0x0>; - local-mac-address = [00 00 00 00 00 00]; - }; + /* Single-die CPU inventory; the loader prunes cores that are not present. */ + cpus { + #address-cells = <0x02>; + #size-cells = <0x00>; + + cpu0: cpu@40000 { + compatible = "apple,sawtooth"; + capacity-dmips-mhz = <0x31a>; + device_type = "cpu"; + reg = <0x00 0x40000>; + enable-method = "spin-table"; + operating-points-v2 = <&mcluster_opp>; + performance-domains = <&cpufreq_mc00>; + cpu-release-addr = <0x00 0x00>; + next-level-cache = <&l2_cache_m00>; + }; - n1_beta: bluetooth@0,2 { - compatible = "pci106b,1903"; - reg = <0x30200 0x0 0x0 0x0 0x0>; - local-bd-address = [00 00 00 00 00 00]; - }; + cpu1: cpu@40001 { + compatible = "apple,sawtooth"; + capacity-dmips-mhz = <0x31a>; + device_type = "cpu"; + reg = <0x00 0x40001>; + enable-method = "spin-table"; + operating-points-v2 = <&mcluster_opp>; + performance-domains = <&cpufreq_mc00>; + cpu-release-addr = <0x00 0x00>; + next-level-cache = <&l2_cache_m00>; }; - port01: pci@1,0 { - device_type = "pci"; - reg = <0x800 0 0 0 0>; - bus-range = <4 4>; - apple,link-trained-by-bootloader; - status = "disabled"; - #address-cells = <3>; - #size-cells = <2>; - ranges; - interrupt-controller; - #interrupt-cells = <1>; - interrupt-map-mask = <0 0 0 7>; - interrupt-map = <0 0 0 1 &port01 0 0 0 0>, - <0 0 0 2 &port01 0 0 0 1>, - <0 0 0 3 &port01 0 0 0 2>, - <0 0 0 4 &port01 0 0 0 3>; - - /* ADT card-detect-polarity = write-protect-polarity = 1. */ - sdcard@0,0 { - compatible = "pci17a0,9755"; - reg = <0x40000 0 0 0 0>; - cd-inverted; - wp-inverted; - }; + + cpu2: cpu@40002 { + compatible = "apple,sawtooth"; + capacity-dmips-mhz = <0x31a>; + device_type = "cpu"; + reg = <0x00 0x40002>; + enable-method = "spin-table"; + operating-points-v2 = <&mcluster_opp>; + performance-domains = <&cpufreq_mc00>; + cpu-release-addr = <0x00 0x00>; + next-level-cache = <&l2_cache_m00>; }; - }; - /* - * The jack (CS42L84) and the speaker (SN012776) through the AOP's audio services. The card waits - * for its CPU component, the AOP audio node, which exists only after Aura's AOP handoff. - */ - sound { - compatible = "apple,j775c-macaudio", "apple,j775d-macaudio", "apple,macaudio"; - /* - * No variant letter, as on J375/J475/J575: userspace (speakersafetyd, - * the UCM profile, asahi-audio) keys on the card id "AppleJ775". - */ - model = "Mac Studio J775"; - #address-cells = <1>; - #size-cells = <0>; + cpu3: cpu@40003 { + compatible = "apple,sawtooth"; + capacity-dmips-mhz = <0x31a>; + device_type = "cpu"; + reg = <0x00 0x40003>; + enable-method = "spin-table"; + operating-points-v2 = <&mcluster_opp>; + performance-domains = <&cpufreq_mc00>; + cpu-release-addr = <0x00 0x00>; + next-level-cache = <&l2_cache_m00>; + }; - dai-link@0 { - reg = <0>; - link-name = "Headphone Jack"; + cpu4: cpu@40004 { + compatible = "apple,sawtooth"; + capacity-dmips-mhz = <0x31a>; + device_type = "cpu"; + reg = <0x00 0x40004>; + enable-method = "spin-table"; + operating-points-v2 = <&mcluster_opp>; + performance-domains = <&cpufreq_mc00>; + cpu-release-addr = <0x00 0x00>; + next-level-cache = <&l2_cache_m00>; + }; - cpu { - sound-dai = <&aop_audio 0>; - }; + cpu5: cpu@40005 { + compatible = "apple,sawtooth"; + capacity-dmips-mhz = <0x31a>; + device_type = "cpu"; + reg = <0x00 0x40005>; + enable-method = "spin-table"; + operating-points-v2 = <&mcluster_opp>; + performance-domains = <&cpufreq_mc00>; + cpu-release-addr = <0x00 0x00>; + next-level-cache = <&l2_cache_m00>; + }; - codec { - sound-dai = <&jack_codec>; - }; + cpu6: cpu@40100 { + compatible = "apple,sawtooth"; + capacity-dmips-mhz = <0x31a>; + device_type = "cpu"; + reg = <0x00 0x40100>; + enable-method = "spin-table"; + operating-points-v2 = <&mcluster_opp>; + performance-domains = <&cpufreq_mc10>; + cpu-release-addr = <0x00 0x00>; + next-level-cache = <&l2_cache_m01>; }; - dai-link@1 { - reg = <1>; - link-name = "Speaker"; + cpu7: cpu@40101 { + compatible = "apple,sawtooth"; + capacity-dmips-mhz = <0x31a>; + device_type = "cpu"; + reg = <0x00 0x40101>; + enable-method = "spin-table"; + operating-points-v2 = <&mcluster_opp>; + performance-domains = <&cpufreq_mc10>; + cpu-release-addr = <0x00 0x00>; + next-level-cache = <&l2_cache_m01>; + }; - cpu { - sound-dai = <&aop_audio 3>; - }; + cpu8: cpu@40102 { + compatible = "apple,sawtooth"; + capacity-dmips-mhz = <0x31a>; + device_type = "cpu"; + reg = <0x00 0x40102>; + enable-method = "spin-table"; + operating-points-v2 = <&mcluster_opp>; + performance-domains = <&cpufreq_mc10>; + cpu-release-addr = <0x00 0x00>; + next-level-cache = <&l2_cache_m01>; + }; - codec { - sound-dai = <&speaker_amp>; - }; + cpu9: cpu@40103 { + compatible = "apple,sawtooth"; + capacity-dmips-mhz = <0x31a>; + device_type = "cpu"; + reg = <0x00 0x40103>; + enable-method = "spin-table"; + operating-points-v2 = <&mcluster_opp>; + performance-domains = <&cpufreq_mc10>; + cpu-release-addr = <0x00 0x00>; + next-level-cache = <&l2_cache_m01>; }; - }; - /delete-node/ soc@6300000000; - /delete-node/ soc@2308000000; - /delete-node/ soc@6308000000; - /delete-node/ soc@2220000000; - /delete-node/ soc@4200000000; - - /* - * The memory cache controller of the one die: eight AMCCs of four planes (ADT /arm-io/mcc: - * amcc-count 8, dcs-count-per-amcc 4, die-enable-mask 1). The dtsi's node also lists die 1's - * planes, so it goes with the die-1 buses above. Without this one the system level cache - * never allocates: the boot loader leaves allocation disabled on every plane. - * - * Each plane window reaches past the DSID quota and occupancy registers (+0xa000 to - * +0xc300); the ADT gives each AMCC 0x140000, its planes 0x40000 apart. - */ - soc@2220000000 { - compatible = "simple-bus"; - #address-cells = <2>; - #size-cells = <2>; - ranges = <0x22 0x20000000 0x22 0x20000000 0x0 0x10000000>; - nonposted-mmio; + cpu10: cpu@40104 { + compatible = "apple,sawtooth"; + capacity-dmips-mhz = <0x31a>; + device_type = "cpu"; + reg = <0x00 0x40104>; + enable-method = "spin-table"; + operating-points-v2 = <&mcluster_opp>; + performance-domains = <&cpufreq_mc10>; + cpu-release-addr = <0x00 0x00>; + next-level-cache = <&l2_cache_m01>; + }; - memory-controller@2220000000 { - compatible = "apple,t6050-mcc"; - reg = <0x22 0x20000000 0x0 0x10000>, - <0x22 0x20040000 0x0 0x10000>, - <0x22 0x20080000 0x0 0x10000>, - <0x22 0x200c0000 0x0 0x10000>, - <0x22 0x22000000 0x0 0x10000>, - <0x22 0x22040000 0x0 0x10000>, - <0x22 0x22080000 0x0 0x10000>, - <0x22 0x220c0000 0x0 0x10000>, - <0x22 0x24000000 0x0 0x10000>, - <0x22 0x24040000 0x0 0x10000>, - <0x22 0x24080000 0x0 0x10000>, - <0x22 0x240c0000 0x0 0x10000>, - <0x22 0x26000000 0x0 0x10000>, - <0x22 0x26040000 0x0 0x10000>, - <0x22 0x26080000 0x0 0x10000>, - <0x22 0x260c0000 0x0 0x10000>, - <0x22 0x28000000 0x0 0x10000>, - <0x22 0x28040000 0x0 0x10000>, - <0x22 0x28080000 0x0 0x10000>, - <0x22 0x280c0000 0x0 0x10000>, - <0x22 0x2a000000 0x0 0x10000>, - <0x22 0x2a040000 0x0 0x10000>, - <0x22 0x2a080000 0x0 0x10000>, - <0x22 0x2a0c0000 0x0 0x10000>, - <0x22 0x2c000000 0x0 0x10000>, - <0x22 0x2c040000 0x0 0x10000>, - <0x22 0x2c080000 0x0 0x10000>, - <0x22 0x2c0c0000 0x0 0x10000>, - <0x22 0x2e000000 0x0 0x10000>, - <0x22 0x2e040000 0x0 0x10000>, - <0x22 0x2e080000 0x0 0x10000>, - <0x22 0x2e0c0000 0x0 0x10000>; - apple,boot-dma-devices = <&display>; + cpu11: cpu@40105 { + compatible = "apple,sawtooth"; + capacity-dmips-mhz = <0x31a>; + device_type = "cpu"; + reg = <0x00 0x40105>; + enable-method = "spin-table"; + operating-points-v2 = <&mcluster_opp>; + performance-domains = <&cpufreq_mc10>; + cpu-release-addr = <0x00 0x00>; + next-level-cache = <&l2_cache_m01>; }; - }; - /* - * The GPU's OPP tables for one die: four clusters, so four voltage cells per main state, - * and one per CS/AFR state. Aura fills them in, as on J775D. - */ - /delete-node/ opp-table-gpu; - /delete-node/ opp-table-gpu-afr; - /delete-node/ opp-table-gpu-cs; + cpu12: cpu@10200 { + compatible = "apple,everest"; + capacity-dmips-mhz = <0x400>; + device_type = "cpu"; + reg = <0x00 0x10200>; + enable-method = "spin-table"; + operating-points-v2 = <&pcluster_opp>; + performance-domains = <&cpufreq_pc0>; + cpu-release-addr = <0x00 0x00>; + next-level-cache = <&l2_cache_p0_0>; + }; - /* /arm-io/sgx perf-states: 14 states, one table per cluster */ - gpu_opp: opp-table-gpu { - compatible = "operating-points-v2"; + cpu13: cpu@10201 { + compatible = "apple,everest"; + capacity-dmips-mhz = <0x400>; + device_type = "cpu"; + reg = <0x00 0x10201>; + enable-method = "spin-table"; + operating-points-v2 = <&pcluster_opp>; + performance-domains = <&cpufreq_pc0>; + cpu-release-addr = <0x00 0x00>; + next-level-cache = <&l2_cache_p0_1>; + }; - opp00 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0 0 0>; - opp-microvolt-sram = <0 0 0 0>; + cpu14: cpu@10202 { + compatible = "apple,everest"; + capacity-dmips-mhz = <0x400>; + device_type = "cpu"; + reg = <0x00 0x10202>; + enable-method = "spin-table"; + operating-points-v2 = <&pcluster_opp>; + performance-domains = <&cpufreq_pc0>; + cpu-release-addr = <0x00 0x00>; + next-level-cache = <&l2_cache_p0_2>; }; - opp01 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0 0 0>; - opp-microvolt-sram = <0 0 0 0>; + cpu15: cpu@10203 { + compatible = "apple,everest"; + capacity-dmips-mhz = <0x400>; + device_type = "cpu"; + reg = <0x00 0x10203>; + enable-method = "spin-table"; + operating-points-v2 = <&pcluster_opp>; + performance-domains = <&cpufreq_pc0>; + cpu-release-addr = <0x00 0x00>; + next-level-cache = <&l2_cache_p0_3>; }; - opp02 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0 0 0>; - opp-microvolt-sram = <0 0 0 0>; + cpu16: cpu@10204 { + compatible = "apple,everest"; + capacity-dmips-mhz = <0x400>; + device_type = "cpu"; + reg = <0x00 0x10204>; + enable-method = "spin-table"; + operating-points-v2 = <&pcluster_opp>; + performance-domains = <&cpufreq_pc0>; + cpu-release-addr = <0x00 0x00>; + next-level-cache = <&l2_cache_p0_4>; }; - opp03 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0 0 0>; - opp-microvolt-sram = <0 0 0 0>; + cpu17: cpu@10205 { + compatible = "apple,everest"; + capacity-dmips-mhz = <0x400>; + device_type = "cpu"; + reg = <0x00 0x10205>; + enable-method = "spin-table"; + operating-points-v2 = <&pcluster_opp>; + performance-domains = <&cpufreq_pc0>; + cpu-release-addr = <0x00 0x00>; + next-level-cache = <&l2_cache_p0_5>; }; - opp04 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0 0 0>; - opp-microvolt-sram = <0 0 0 0>; + l2_cache_m00: l2-cache-m00 { + compatible = "cache"; + cache-level = <0x02>; + cache-unified; + cache-size = <0x800000>; }; - opp05 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0 0 0>; - opp-microvolt-sram = <0 0 0 0>; + l2_cache_m01: l2-cache-m01 { + compatible = "cache"; + cache-level = <0x02>; + cache-unified; + cache-size = <0x800000>; }; - opp06 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0 0 0>; - opp-microvolt-sram = <0 0 0 0>; + l3_cache_p0: l3-cache-p0 { + compatible = "cache"; + cache-level = <0x03>; + cache-unified; + cache-size = <0x1000000>; }; - opp07 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0 0 0>; - opp-microvolt-sram = <0 0 0 0>; + l2_cache_p0_0: l2-cache-p0-0 { + compatible = "cache"; + cache-level = <0x02>; + cache-unified; + next-level-cache = <&l3_cache_p0>; }; - opp08 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0 0 0>; - opp-microvolt-sram = <0 0 0 0>; + l2_cache_p0_1: l2-cache-p0-1 { + compatible = "cache"; + cache-level = <0x02>; + cache-unified; + next-level-cache = <&l3_cache_p0>; }; - opp09 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0 0 0>; - opp-microvolt-sram = <0 0 0 0>; + l2_cache_p0_2: l2-cache-p0-2 { + compatible = "cache"; + cache-level = <0x02>; + cache-unified; + next-level-cache = <&l3_cache_p0>; }; - opp10 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0 0 0>; - opp-microvolt-sram = <0 0 0 0>; + l2_cache_p0_3: l2-cache-p0-3 { + compatible = "cache"; + cache-level = <0x02>; + cache-unified; + next-level-cache = <&l3_cache_p0>; }; - opp11 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0 0 0>; - opp-microvolt-sram = <0 0 0 0>; + l2_cache_p0_4: l2-cache-p0-4 { + compatible = "cache"; + cache-level = <0x02>; + cache-unified; + next-level-cache = <&l3_cache_p0>; }; - opp12 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0 0 0>; - opp-microvolt-sram = <0 0 0 0>; + l2_cache_p0_5: l2-cache-p0-5 { + compatible = "cache"; + cache-level = <0x02>; + cache-unified; + next-level-cache = <&l3_cache_p0>; }; - opp13 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0 0 0 0>; - opp-microvolt-sram = <0 0 0 0>; + cpu-map { + + cluster0 { + + core0 { + cpu = <&cpu0>; + }; + + core1 { + cpu = <&cpu1>; + }; + + core2 { + cpu = <&cpu2>; + }; + + core3 { + cpu = <&cpu3>; + }; + + core4 { + cpu = <&cpu4>; + }; + + core5 { + cpu = <&cpu5>; + }; + }; + + cluster1 { + + core0 { + cpu = <&cpu6>; + }; + + core1 { + cpu = <&cpu7>; + }; + + core2 { + cpu = <&cpu8>; + }; + + core3 { + cpu = <&cpu9>; + }; + + core4 { + cpu = <&cpu10>; + }; + + core5 { + cpu = <&cpu11>; + }; + }; + + cluster2 { + + core0 { + cpu = <&cpu12>; + }; + + core1 { + cpu = <&cpu13>; + }; + + core2 { + cpu = <&cpu14>; + }; + + core3 { + cpu = <&cpu15>; + }; + + core4 { + cpu = <&cpu16>; + }; + + core5 { + cpu = <&cpu17>; + }; + }; }; }; - /* afr-perf-states, one voltage */ - gpu_afr_opp: opp-table-gpu-afr { + mcluster_opp: opp-table-mcluster { compatible = "operating-points-v2"; - - opp00 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0>; - }; + opp-shared; opp01 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0>; + opp-hz = /bits/ 64 <0x11e1a300>; + opp-level = <0x01>; }; opp02 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0>; + opp-hz = /bits/ 64 <0x501bd000>; + opp-level = <0x02>; }; opp03 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0>; + opp-hz = /bits/ 64 <0x61fd7300>; + opp-level = <0x03>; }; opp04 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0>; + opp-hz = /bits/ 64 <0x76bb8200>; + opp-level = <0x04>; }; opp05 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0>; + opp-hz = /bits/ 64 <0x89544000>; + opp-level = <0x05>; }; opp06 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0>; + opp-hz = /bits/ 64 <0x9e124f00>; + opp-level = <0x06>; }; opp07 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0>; + opp-hz = /bits/ 64 <0xb0ab0d00>; + opp-level = <0x07>; }; opp08 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0>; + opp-hz = /bits/ 64 <0xc11e7a00>; + opp-level = <0x08>; }; opp09 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0>; + opp-hz = /bits/ 64 <0xd0dacc00>; + opp-level = <0x09>; }; opp10 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0>; + opp-hz = /bits/ 64 <0xdc4c7c00>; + opp-level = <0x0a>; }; opp11 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0>; + opp-hz = /bits/ 64 <0xe7071100>; + opp-level = <0x0b>; }; opp12 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0>; + opp-hz = /bits/ 64 <0xf10a8b00>; + opp-level = <0x0c>; }; opp13 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0>; + opp-hz = /bits/ 64 <0xf8e8b400>; + opp-level = <0x0d>; }; - }; - /* cs-perf-states, one voltage */ - gpu_cs_opp: opp-table-gpu-cs { - compatible = "operating-points-v2"; + opp14 { + opp-hz = /bits/ 64 <0xff58a700>; + opp-level = <0x0e>; + }; - opp00 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0>; + opp15 { + opp-hz = /bits/ 64 <0x100c6dd00>; + opp-level = <0x0f>; + }; + + opp16 { + opp-hz = /bits/ 64 <0x105117f00>; + opp-level = <0x10>; }; + }; + + pcluster_opp: opp-table-pcluster { + compatible = "operating-points-v2"; + opp-shared; opp01 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0>; + opp-hz = /bits/ 64 <0x11e1a300>; + opp-level = <0x01>; }; opp02 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0>; + opp-hz = /bits/ 64 <0x4df67f00>; + opp-level = <0x02>; }; opp03 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0>; + opp-hz = /bits/ 64 <0x608f3d00>; + opp-level = <0x03>; }; opp04 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0>; + opp-hz = /bits/ 64 <0x76046700>; + opp-level = <0x04>; }; opp05 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0>; + opp-hz = /bits/ 64 <0x889d2500>; + opp-level = <0x05>; }; opp06 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0>; + opp-hz = /bits/ 64 <0x99c7ad00>; + opp-level = <0x06>; }; opp07 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0>; + opp-hz = /bits/ 64 <0xaba95000>; + opp-level = <0x07>; }; opp08 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0>; + opp-hz = /bits/ 64 <0xbd8af300>; + opp-level = <0x08>; }; opp09 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0>; + opp-hz = /bits/ 64 <0xcc902a00>; + opp-level = <0x09>; }; opp10 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0>; + opp-hz = /bits/ 64 <0xd9701000>; + opp-level = <0x0a>; }; opp11 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0>; + opp-hz = /bits/ 64 <0xe42aa500>; + opp-level = <0x0b>; }; opp12 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0>; + opp-hz = /bits/ 64 <0xed770400>; + opp-level = <0x0c>; }; opp13 { - opp-hz = /bits/ 64 <0>; - opp-microvolt = <0>; + opp-hz = /bits/ 64 <0xf49e1200>; + opp-level = <0x0d>; }; - }; -}; + opp14 { + opp-hz = /bits/ 64 <0xf99fcf00>; + opp-level = <0x0e>; + }; -/* The AON power-telemetry records of one die (g0TR, g1TR, r0TR), which Aura fills */ -&gpu { - apple,aon-ptd = <0 0 0 0 0 0 0 0 0>; - /* The J775c ADT's gpu-idleoff-standby-timer, 0xdac (the board default is 1500 us). */ - apple,idleoff-standby-timer = <3500>; -}; + opp15 { + opp-hz = /bits/ 64 <0xfc7c3b00>; + opp-level = <0x0f>; + }; -&{/cpus} { - cpu-map { - cluster0 { - core0 { - cpu = <&cpu0>; - }; - core1 { - cpu = <&cpu1>; - }; - core2 { - cpu = <&cpu2>; - }; - core3 { - cpu = <&cpu3>; - }; - core4 { - cpu = <&cpu4>; - }; - core5 { - cpu = <&cpu5>; - }; + opp16 { + opp-hz = /bits/ 64 <0xff58a700>; + opp-level = <0x10>; }; - cluster1 { - core0 { - cpu = <&cpu6>; - }; - core1 { - cpu = <&cpu7>; - }; - core2 { - cpu = <&cpu8>; - }; - core3 { - cpu = <&cpu9>; - }; - core4 { - cpu = <&cpu10>; - }; - core5 { - cpu = <&cpu11>; - }; + + opp17 { + opp-hz = /bits/ 64 <0x100c6dd00>; + opp-level = <0x11>; }; - cluster2 { - core0 { - cpu = <&cpu12>; - }; - core1 { - cpu = <&cpu13>; - }; - core2 { - cpu = <&cpu14>; - }; - core3 { - cpu = <&cpu15>; - }; - core4 { - cpu = <&cpu16>; - }; - core5 { - cpu = <&cpu17>; - }; + + opp18 { + opp-hz = /bits/ 64 <0x102351300>; + opp-level = <0x12>; }; - }; + opp19 { + opp-hz = /bits/ 64 <0x107edeb00>; + opp-level = <0x13>; + }; + opp20 { + opp-hz = /bits/ 64 <0x10cefa800>; + opp-level = <0x14>; + }; -}; + opp21 { + opp-hz = /bits/ 64 <0x112a88000>; + opp-level = <0x15>; + }; + }; -/* - * CPU PMUs, one per core type. A core's PMU interrupt is a FIQ (PMCR0 - * IMODE = FIQ, as XNU programs it), which AIC hands to the PMU whose FIQ - * index lists that core. The ADT's per-core AIC interrupts (cpuN - * "interrupts", 69 + 3n on cluster 0, 101 + 3n on cluster 1, 133 + 3n on - * the P cluster) are not used. These live here rather than in t6050.dtsi - * because the core list is the board's: one die, six cores per cluster. - */ -/ { + clkref: clock-ref { + compatible = "fixed-clock"; + #clock-cells = <0x00>; + clock-frequency = <0x16e3600>; + clock-output-names = "clkref"; + }; -}; + clk_405m: clock-405m { + compatible = "fixed-clock"; + #clock-cells = <0x00>; + clock-frequency = <0x1823cf40>; + clock-output-names = "clk_405m"; + }; + timer { + compatible = "arm,armv8-timer"; + interrupt-parent = <&aic>; + interrupt-names = "phys", "virt", "hyp-phys", "hyp-virt"; + interrupts = <0x01 0x00 0x02 0x04>, <0x01 0x00 0x03 0x04>, <0x01 0x00 0x00 0x04>, + <0x01 0x00 0x01 0x04>; + }; -/* J775D's die-1 PD controllers (hpm4, hpm5 on nub-spmi-a2) don't exist on J775c */ -/delete-node/ &hpm4; -/delete-node/ &hpm5; + cpu_pmu: pmu { + compatible = "apple,t6050-pmu"; + interrupt-parent = <&aic>; + interrupts = <0x01 0x00 0x05 0x04>; + }; -&nub_spmi_a2 { - status = "disabled"; -}; + die0: soc { + compatible = "simple-bus"; + #address-cells = <0x02>; + #size-cells = <0x02>; + ranges; + nonposted-mmio; + cpufreq_mc00: performance-controller@210e20000 { + compatible = "apple,t6050-cluster-cpufreq"; + reg = <0x02 0x10e20000 0x00 0x1000>; + #performance-domain-cells = <0x00>; + apple,firmware-managed-thermal; + }; -/* The pins this board's nodes name, and no others */ -&pinctrl_ap { - /* - * Every pin reads cleanly (evidence/dt/2026-10-30-gpio-qualification.md), but only - * the pins a node in this file names are exposed: 80 (PCIe port 0's PERST#, ADT - * pci-bridge0 function-perst), 106 (amp IRQ), 107 (amp shutdown), 134 (jack IRQ) - * and 139 (jack codec reset), from the ADT's audio-speaker and audio-codec-output. - * A reserved line cannot be requested (gpiolib answers -EINVAL), so a node that - * names a new pin of pinctrl_ap opens it here too. - */ - gpio-reserved-ranges = <0 80>, <81 25>, <108 26>, <135 4>, <140 81>; -}; + cpufreq_mc10: performance-controller@211e20000 { + compatible = "apple,t6050-cluster-cpufreq"; + reg = <0x02 0x11e20000 0x00 0x1000>; + #performance-domain-cells = <0x00>; + apple,firmware-managed-thermal; + }; -&i2c1 { - /* - * ADT speaker-config 00 14 00 02: playback slot 0, amp gain 20, I sense in slot 0 - * and V sense in slot 2. The bytes are : on J316 every - * amp's row matches its validated imon/vmon pair (00 0f 00 02 is imon 0, vmon 2; - * 01 0f 04 06 is imon 4, vmon 6), and J375/J473/J575 use imon 0, vmon 2 as well. - * The firmware's speaker frame is 250 BCLKs of 12 MHz (ADT - * iop-audio-controller/audio-speaker), which the amp's ratio detection rejects. - */ - speaker_amp: codec@38 { - compatible = "ti,sn012776", "ti,tas2764"; - reg = <0x38>; - shutdown-gpios = <&pinctrl_ap 107 GPIO_ACTIVE_HIGH>; - interrupts-extended = <&pinctrl_ap 106 IRQ_TYPE_LEVEL_LOW>; - #sound-dai-cells = <0>; - ti,imon-slot-no = <0>; - ti,vmon-slot-no = <2>; - ti,bclk-ratio = <250>; - }; -}; + cpufreq_pc0: performance-controller@212e20000 { + compatible = "apple,t6050-cluster-cpufreq"; + reg = <0x02 0x12e20000 0x00 0x1000>; + #performance-domain-cells = <0x00>; + apple,firmware-managed-thermal; + }; -&i2c2 { - jack_codec: codec@4b { - compatible = "cirrus,cs42l84"; - reg = <0x4b>; - reset-gpios = <&pinctrl_ap 139 GPIO_ACTIVE_HIGH>; - interrupts-extended = <&pinctrl_ap 134 IRQ_TYPE_LEVEL_LOW>; - #sound-dai-cells = <0>; - sound-name-prefix = "Jack"; - }; -}; + aic: interrupt-controller@280400000 { + compatible = "apple,t6050-aic3", "apple,t8122-aic3"; + interrupt-controller; + #interrupt-cells = <0x04>; + reg = <0x02 0x80400000 0x00 0x1cc000>, <0x02 0x80440000 0x00 0x4000>; + reg-names = "core", "event"; + }; -/* - * The console is on the USB debug link, which drains only while a host reads - * it; the machine also boots with nothing attached there. - */ -&dockchannel { - apple,tx-never-wait; - status = "okay"; -}; + dockchannel: serial@288e3c000 { + compatible = "apple,dockchannel-uart"; + reg = <0x02 0x88e3c000 0x00 0x30>, <0x02 0x88e38000 0x00 0x08>, <0x02 + 0x88e0c000 0x00 0x18>; + reg-names = "data", "config", "irq"; + interrupts = <0x00 0x00 0x168 0x04>; + apple,channel = <0x01>; + apple,sw-drain; + status = "okay"; + apple,tx-never-wait; + }; -&dart_apcie2 { - status = "okay"; -}; + wdt: watchdog@28836c000 { + compatible = "apple,t6050-wdt", "apple,t8103-wdt"; + reg = <0x02 0x8836c000 0x00 0x4000>; + clocks = <&clkref>; + interrupts = <0x00 0x00 0x2d1 0x04>; + }; -&dart_apcie3 { - status = "okay"; -}; + smc_mbox: mailbox@28c608000 { + compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x02 0x8c608000 0x00 0x4000>; + interrupts = <0x00 0x00 0x383 0x04>, <0x00 0x00 0x384 0x04>, <0x00 0x00 + 0x385 0x04>, <0x00 0x00 0x386 0x04>; + interrupt-names = "send-empty" , "send-not-empty" , "recv-empty" , + "recv-not-empty" ; + #mbox-cells = <0x00>; + }; -#include "hwmon-fan-dual.dtsi" + pinctrl_aop: pinctrl@290824000 { + compatible = "apple,t6050-pinctrl", "apple,t8132-pinctrl"; + reg = <0x02 0x90824000 0x00 0x4000>; + gpio-controller; + #gpio-cells = <0x02>; + gpio-ranges = <&pinctrl_aop 0x00 0x00 0x55>; + apple,npins = <0x55>; + interrupt-controller; + #interrupt-cells = <0x02>; + interrupt-parent = <&aic>; + interrupts = <0x00 0x00 0x23c 0x04>, <0x00 0x00 0x23d 0x04>, <0x00 0x00 + 0x23e 0x04>; + apple,irq-group-base = <0x04>; + status = "okay"; + gpio-reserved-ranges = <0x00 0x0e>, <0x0f 0x3e>, <0x4e 0x01>, <0x50 0x01>, + <0x52 0x01>, <0x54 0x01>; + + acio2_lstx_pins: acio2-lstx-pins { + pinmux = <0x10051>; + }; -/* - * The Studio's SMC has F0Ac/F0Mn/F0Mx/F0Tg and F1*, but its mode keys are F0md/F1md (ui8, flags 0xd0: - * readable, writable, a function key), not the F0Md/F1Md the dtsi names; with the dtsi's names fan - * creation failed on the missing key. With the real keys the fans can be set by the kernel's - * thermal policy (the M5 GPU governor, through macsmc_hwmon_fans_request()). No - * apple,fan-manual-control: userspace still only reads them. - */ -&smc_hwmon { - fan-F0Ac { - apple,fan-mode = "F0md"; - }; + acio0_lstx_pins: acio0-lstx-pins { + pinmux = <0x1004d>; + }; - fan-F1Ac { - apple,fan-mode = "F1md"; - }; -}; + acio1_lstx_pins: acio1-lstx-pins { + pinmux = <0x1004f>; + }; + + acio3_lstx_pins: acio3-lstx-pins { + pinmux = <0x10053>; + }; + }; + + smc: smc@28c600000 { + compatible = "apple,t6050-smc"; + reg = <0x02 0x8c600000 0x00 0x4000>, <0x02 0x8de00000 0x00 0x140000>; + reg-names = "smc", "sram"; + mboxes = <&smc_mbox>; + + smc_hwmon: hwmon { + compatible = "apple,smc-hwmon"; + apple,discover-temperatures; + apple,soc-die-keys = "TCMb"; + + power-PD0R { + apple,key-id = "PD0R"; + label = "DC Input Power"; + }; + + fan-F0Ac { + apple,key-id = "F0Ac"; + label = "Fan 1"; + apple,fan-minimum = "F0Mn"; + apple,fan-maximum = "F0Mx"; + apple,fan-target = "F0Tg"; + apple,fan-mode = "F0md"; + }; + + fan-F1Ac { + apple,key-id = "F1Ac"; + label = "Fan 2"; + apple,fan-minimum = "F1Mn"; + apple,fan-maximum = "F1Mx"; + apple,fan-target = "F1Tg"; + apple,fan-mode = "F1md"; + }; + }; + + smc_reboot: reboot { + compatible = "apple,smc-reboot"; + nvmem-cells = <&shutdown_flag + &boot_stage + &boot_error_count + &panic_count + &pm_setting>; + nvmem-cell-names = "shutdown_flag" , "boot_stage" , + "boot_error_count" , "panic_count" , "pm_setting" ; + }; + + smc_pcio: gpio { + compatible = "apple,smc-pcio-gpio"; + gpio-controller; + #gpio-cells = <0x02>; + apple,output-commands = /bits/ 64 <0xf000000800000 + 0x1a000000000000>; + }; + + smc_rtc: rtc { + compatible = "apple,smc-rtc"; + nvmem-cells = <&rtc_offset>; + nvmem-cell-names = "rtc_offset"; + }; + + gpio-low { + compatible = "apple,smc-low-gpio"; + gpio-controller; + #gpio-cells = <0x02>; + }; + }; + + ans_sart: iommu@41dc50000 { + compatible = "apple,t6050-sart"; + reg = <0x04 0x1dc50000 0x00 0xc000>; + }; + + ans_mbox: mailbox@419608000 { + compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x04 0x19608000 0x00 0x4000>; + interrupts = <0x00 0x00 0x543 0x04>, <0x00 0x00 0x544 0x04>, <0x00 0x00 + 0x545 0x04>, <0x00 0x00 0x546 0x04>; + interrupt-names = "send-empty" , "send-not-empty" , "recv-empty" , + "recv-not-empty" ; + #mbox-cells = <0x00>; + }; + + nvme: nvme@45dcc0000 { + compatible = "apple,t6050-nvme-ans2"; + reg = <0x04 0x5dcc0000 0x00 0x10000>, <0x04 0x19600000 0x00 0x4000>, <0x04 + 0x1dcc0000 0x00 0x60000>; + reg-names = "nvme", "ans", "nvmmu"; + interrupts = <0x00 0x00 0x922 0x04>; + mboxes = <&ans_mbox>; + apple,sart = <&ans_sart>; + }; + + dart_apcie2: iommu@412000000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x04 0x12000000 0x00 0x20000>; + interrupts = <0x00 0x00 0x604 0x04>; + #iommu-cells = <0x01>; + status = "okay"; + }; + + dart_apcie0: iommu@410000000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x04 0x10000000 0x00 0x20000>; + interrupts = <0x00 0x00 0x5f4 0x04>; + #iommu-cells = <0x01>; + status = "disabled"; + }; + + dart_apcie3: iommu@413000000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x04 0x13000000 0x00 0x20000>; + interrupts = <0x00 0x00 0x60c 0x04>; + #iommu-cells = <0x01>; + status = "okay"; + }; + + nub_spmi0: spmi@28a014000 { + compatible = "apple,t6050-spmi", "apple,t8142-spmi"; + reg = <0x02 0x8a014000 0x00 0x4000>; + #address-cells = <0x02>; + #size-cells = <0x00>; + + pmu: pmic@e { + compatible = "apple,abbey-pmic", "apple,spmi-nvmem"; + reg = <0x0e 0x00>; + + nvmem-layout { + compatible = "fixed-layout"; + #address-cells = <0x01>; + #size-cells = <0x01>; + + rtc_ctrl: rtc-ctrl@2000 { + reg = <0x2000 0x01>; + }; + + pm_setting: pm-setting@2001 { + reg = <0x2001 0x01>; + }; + + rtc_alarm: rtc-alarm@2008 { + reg = <0x2008 0x04>; + }; + + rtc_alarm_mask: rtc-alarm-mask@200e { + reg = <0x200e 0x01>; + }; + + rtc_offset: rtc-offset@2100 { + reg = <0x2100 0x06>; + }; + + boot_stage: boot-stage@f801 { + reg = <0xf801 0x01>; + }; + + boot_error_count: boot-error-count@f802,0 { + reg = <0xf802 0x01>; + bits = <0x00 0x04>; + }; + + panic_count: panic-count@f802,4 { + reg = <0xf802 0x01>; + bits = <0x04 0x04>; + }; + + shutdown_flag: shutdown-flag@f80f,3 { + reg = <0xf80f 0x01>; + bits = <0x03 0x01>; + }; + }; + }; + }; + + dart_dcpext0: iommu@2b2340000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x02 0xb2340000 0x00 0x20000>; + interrupts = <0x00 0x00 0x42e 0x04>; + #iommu-cells = <0x01>; + apple,dma-range = <0x100 0x00 0x300 0x00>; + status = "disabled"; + }; + + dart_dispext0: iommu@2b2300000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x02 0xb2300000 0x00 0xc000>; + interrupts = <0x00 0x00 0x42e 0x04>; + #iommu-cells = <0x01>; + apple,dma-range = <0x100 0x00 0x300 0x00>; + status = "disabled"; + }; + + dcpext0_mbox: mailbox@2b2e08000 { + compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x02 0xb2e08000 0x00 0x4000>; + interrupts = <0x00 0x00 0x463 0x04>, <0x00 0x00 0x464 0x04>, <0x00 0x00 + 0x465 0x04>, <0x00 0x00 0x466 0x04>; + interrupt-names = "send-empty" , "send-not-empty" , "recv-empty" , + "recv-not-empty" ; + #mbox-cells = <0x00>; + status = "disabled"; + }; + + dcpext0_pmc: pmc-metadata@286700000 { + reg = <0x02 0x86700000 0x00 0x114000>; + #apple,bw-scratch-cells = <0x03>; + status = "disabled"; + }; + + pmc: power-management@286806000 { + compatible = "apple,t6050-pmc"; + reg = <0x02 0x86806000 0x00 0x3000>, <0x02 0x86700000 0x00 0x14000>; + reg-names = "rails", "voters"; + #address-cells = <0x01>; + #size-cells = <0x00>; + apple,static-voters = <0x01 0x03>; + + clpc: performance-controller@1 { + compatible = "apple,t6050-clpc", "apple,t6041-clpc"; + reg = <0x01>; + apple,smc = <&smc>; + }; + }; + + dcpext0: dcp@2b2e00000 { + compatible = "apple,t6050-dcpext", "apple,dcpext"; + reg = <0x02 0xb2e00000 0x00 0x4000>, <0x02 0xb0000000 0x00 0x4000000>, <0x02 + 0xb2240000 0x00 0x10000>, <0x02 0xb23ac000 0x00 0x4000>, <0x02 + 0xb2800000 0x00 0x800000>, <0x02 0x86700000 0x00 0x114000>, <0x02 + 0xb2850000 0x00 0x4000>; + reg-names = "coproc" , "disp-0" , "disp-1" , "disp-2" , "disp-3" , "disp-4" + , "iop-vbar" ; + mboxes = <&dcpext0_mbox>; + mbox-names = "mbox"; + iommus = <&dart_dcpext0 0x17>; + apple,bw-scratch = <&dcpext0_pmc 0x00 0x05 0x2c000>; + apple,dcp-index = <0x01>; + apple,clock-ids; + apple,connector-type = "USB-C"; + apple,dptx-die = <0x00>; + apple,typec-dptx-phys = <0x02 0x01 0x03 0x00>; + apple,typec-mux-indices = <0x00 0x00 0x00 0x00>; + phys = <&atc2_phy 0x06 &atc1_phy 0x06 + &atc3_phy 0x06 &atc0_phy 0x06>; + phy-names = "typec0", "typec1", "typec2", "typec3"; + mux-controls = <&atc2_xbar 0x00 &atc1_xbar 0x00 + &atc3_xbar 0x00 &atc0_xbar 0x00>; + mux-control-names = "typec0", "typec1", "typec2", "typec3"; + status = "disabled"; + + piodma { + iommus = <&dart_dispext0 0x10>; + }; + + typec-routes { + #address-cells = <0x01>; + #size-cells = <0x00>; + + route@0 { + reg = <0x00>; + mode-switch; + + port { + + dcpext0_typec: endpoint { + remote-endpoint = <&hpm2_dp>; + }; + }; + }; + + route@1 { + reg = <0x01>; + mode-switch; + + port { + + dcpext0_typec1: endpoint { + remote-endpoint = <&hpm1_dp>; + }; + }; + }; + + route@2 { + reg = <0x02>; + mode-switch; + + port { + + dcpext0_typec2: endpoint { + remote-endpoint = <&hpm3_dp>; + }; + }; + }; + + route@3 { + reg = <0x03>; + mode-switch; + + port { + + dcpext0_typec3: endpoint { + remote-endpoint = <&hpm0_dp>; + }; + }; + }; + }; + + ports { + #address-cells = <0x01>; + #size-cells = <0x00>; + + port@0 { + reg = <0x00>; + + dcpext0_audio: endpoint { + remote-endpoint = <&dpaudio_dispext0_dcp>; + }; + }; + }; + }; + + pmgr0: power-management@280600000 { + compatible = "apple,t6050-pmgr", "apple,t8103-pmgr", "syscon", "simple-mfd"; + reg = <0x02 0x80600000 0x00 0x4000>; + #address-cells = <0x01>; + #size-cells = <0x01>; + + ps_atc0_common: power-controller@208 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x208 0x04>; + label = "atc0-common"; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + power-domains = <&{/soc/power-management@280600000/power-controller@1e0}>; + status = "okay"; + }; + + ps_atc1_common: power-controller@210 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x210 0x04>; + label = "atc1_common"; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + status = "okay"; + }; + + ps_atc2_common: power-controller@238 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x238 0x04>; + label = "atc2_common"; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + status = "okay"; + }; + + ps_atc3_common: power-controller@240 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x240 0x04>; + label = "atc3_common"; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + status = "okay"; + }; + + ps_dispext1_adma: power-controller@2d8 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x2d8 0x04>; + label = "dispext1_adma"; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + }; + + ps_dispext0_adma: power-controller@270 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x270 0x04>; + label = "dispext0_adma"; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + }; + + ps_atc0_cio: power-controller@280 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x280 0x04>; + label = "atc0-cio"; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + power-domains = <&ps_atc0_common>; + status = "okay"; + }; + + ps_atc0_cio_pcie: power-controller@338 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x338 0x04>; + label = "atc0-cio-pcie"; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + power-domains = <&ps_atc0_cio>; + status = "okay"; + }; + + ps_atc0_cio_usb: power-controller@340 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x340 0x04>; + label = "atc0-cio-usb"; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + power-domains = <&ps_atc0_cio>; + status = "okay"; + }; + + ps_atc0_cio_auss: power-controller@348 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x348 0x04>; + label = "atc0-cio-auss"; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + power-domains = <&ps_atc0_cio + &ps_auss>; + status = "okay"; + }; + + ps_atc1_cio: power-controller@290 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x290 0x04>; + label = "atc1-cio"; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + power-domains = <&ps_atc1_common>; + status = "okay"; + }; + + ps_atc1_cio_pcie: power-controller@350 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x350 0x04>; + label = "atc1-cio-pcie"; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + power-domains = <&ps_atc1_cio>; + status = "okay"; + }; + + ps_atc1_cio_usb: power-controller@358 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x358 0x04>; + label = "atc1-cio-usb"; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + power-domains = <&ps_atc1_cio>; + status = "okay"; + }; + + ps_atc1_cio_auss: power-controller@360 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x360 0x04>; + label = "atc1-cio-auss"; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + power-domains = <&ps_atc1_cio + &ps_auss>; + status = "okay"; + }; + + ps_atc2_cio: power-controller@2e8 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x2e8 0x04>; + label = "atc2-cio"; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + power-domains = <&ps_atc2_common>; + status = "okay"; + }; + + ps_atc2_cio_pcie: power-controller@3f8 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x3f8 0x04>; + label = "atc2-cio-pcie"; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + power-domains = <&ps_atc2_cio>; + status = "okay"; + }; + + ps_atc2_cio_usb: power-controller@400 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x400 0x04>; + label = "atc2-cio-usb"; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + power-domains = <&ps_atc2_cio>; + status = "okay"; + }; + + ps_atc2_cio_auss: power-controller@408 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x408 0x04>; + label = "atc2-cio-auss"; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + power-domains = <&ps_atc2_cio + &ps_auss>; + status = "okay"; + }; + + ps_atc3_cio: power-controller@2f8 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x2f8 0x04>; + label = "atc3_cio"; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + power-domains = <&ps_atc3_common>; + status = "okay"; + }; + + ps_atc3_cio_pcie: power-controller@410 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x410 0x04>; + label = "atc3_cio_pcie"; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + power-domains = <&ps_atc3_cio>; + status = "okay"; + }; + + ps_atc3_cio_usb: power-controller@418 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x418 0x04>; + label = "atc3_cio_usb"; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + power-domains = <&ps_atc3_cio>; + status = "okay"; + }; + + ps_atc3_cio_auss: power-controller@420 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x420 0x04>; + label = "atc3_cio_auss"; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + power-domains = <&ps_atc3_cio + &ps_auss>; + status = "okay"; + }; + + ps_auss: power-controller@248 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x248 0x04>; + label = "auss"; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + apple,always-on; + status = "okay"; + }; + + power-controller@100 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x100 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "pms"; + status = "disabled"; + }; + + power-controller@128 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x128 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "pmp"; + power-domains = <&{/soc/power-management@280600000/power-controller@100}>; + status = "disabled"; + }; + + power-controller@130 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x130 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "pms-sram"; + power-domains = <&{/soc/power-management@280600000/power-controller@100}>; + status = "disabled"; + }; + + power-controller@1d8 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x1d8 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "fab0-piogw"; + status = "okay"; + }; + + power-controller@1e0 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x1e0 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "fab3-soc"; + power-domains = <&{/soc/power-management@280600000/power-controller@1d8}>; + status = "okay"; + }; + + power-controller@1f0 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x1f0 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "fab5-soc"; + power-domains = <&{/soc/power-management@280600000/power-controller@1d8}>; + status = "disabled"; + }; + + power-controller@1f8 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x1f8 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "sbr"; + power-domains = <&{/soc/power-management@280600000/power-controller@1e0}>; + status = "disabled"; + }; + + power-controller@258 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x258 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "msg"; + power-domains = <&{/soc/power-management@280600000/power-controller@1f8}>; + status = "disabled"; + }; + + power-controller@288 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x288 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "atc0-pcie"; + power-domains = <&ps_atc0_common>; + status = "disabled"; + }; + + power-controller@298 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x298 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "atc1-pcie"; + power-domains = <&ps_atc1_common>; + status = "disabled"; + }; + + power-controller@2f0 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x2f0 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "atc2-pcie"; + power-domains = <&ps_atc2_common>; + status = "disabled"; + }; + + power-controller@300 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x300 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "atc3-pcie"; + power-domains = <&ps_atc3_common>; + status = "disabled"; + }; + }; + + pmgr2: power-management@288300000 { + compatible = "apple,t6050-pmgr", "apple,t8103-pmgr", "syscon", "simple-mfd"; + reg = <0x02 0x88300000 0x00 0xc000>; + #address-cells = <0x01>; + #size-cells = <0x01>; + + ps_atc0_usb_aon: power-controller@148 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x148 0x04>; + label = "atc0-usb-aon"; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + status = "okay"; + }; + + ps_atc0_usb: power-controller@150 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x150 0x04>; + label = "atc0-usb"; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + power-domains = <&ps_atc0_common + &ps_atc0_usb_aon>; + status = "okay"; + }; + + ps_atc0_phymxwrap: power-controller@158 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x158 0x04>; + label = "atc0-phymxwrap"; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + power-domains = <&ps_atc0_common + &ps_atc0_usb_aon>; + status = "okay"; + }; + + ps_atc1_usb_aon: power-controller@160 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x160 0x04>; + label = "atc1_usb_aon"; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + status = "okay"; + }; + + ps_atc1_usb: power-controller@168 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x168 0x04>; + label = "atc1_usb"; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + power-domains = <&ps_atc1_common + &ps_atc1_usb_aon>; + status = "okay"; + }; + + ps_atc1_phymxwrap: power-controller@170 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x170 0x04>; + label = "atc1_phymxwrap"; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + power-domains = <&ps_atc1_common + &ps_atc1_usb_aon>; + status = "okay"; + }; + + ps_atc2_usb_aon: power-controller@178 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x178 0x04>; + label = "atc2_usb_aon"; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + status = "okay"; + }; + + ps_atc2_phymxwrap: power-controller@188 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x188 0x04>; + label = "atc2_phymxwrap"; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + power-domains = <&ps_atc2_common + &ps_atc2_usb_aon>; + status = "okay"; + }; + + ps_atc2_usb: power-controller@180 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x180 0x04>; + label = "atc2_usb"; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + power-domains = <&ps_atc2_common + &ps_atc2_usb_aon>; + status = "okay"; + }; + + ps_atc3_usb_aon: power-controller@190 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x190 0x04>; + label = "atc3_usb_aon"; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + status = "okay"; + }; + + ps_atc3_usb: power-controller@198 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x198 0x04>; + label = "atc3_usb"; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + power-domains = <&ps_atc3_common + &ps_atc3_usb_aon>; + status = "okay"; + }; + + ps_atc3_phymxwrap: power-controller@1a0 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x1a0 0x04>; + label = "atc3_phymxwrap"; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + power-domains = <&ps_atc3_common + &ps_atc3_usb_aon>; + status = "okay"; + }; + + power-controller@58 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x58 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "debug-gated"; + status = "disabled"; + }; + + power-controller@98 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x98 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "atc0-common-dp-0"; + status = "disabled"; + }; + + power-controller@a0 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0xa0 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "atc0-common-dp-1"; + status = "disabled"; + }; + + power-controller@a8 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0xa8 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "atc0-common-dp-2"; + status = "disabled"; + }; + + power-controller@b0 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0xb0 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "atc0-common-dp-3"; + status = "disabled"; + }; + + power-controller@b8 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0xb8 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "atc1-common-dp-0"; + status = "disabled"; + }; + + power-controller@c0 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0xc0 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "atc1-common-dp-1"; + status = "disabled"; + }; + + power-controller@c8 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0xc8 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "atc1-common-dp-2"; + status = "disabled"; + }; + + power-controller@d0 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0xd0 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "atc1-common-dp-3"; + status = "disabled"; + }; + + power-controller@d8 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0xd8 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "atc2-common-dp-0"; + status = "disabled"; + }; + + power-controller@e0 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0xe0 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "atc2-common-dp-1"; + status = "disabled"; + }; + + power-controller@e8 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0xe8 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "atc2-common-dp-2"; + status = "disabled"; + }; + + power-controller@f0 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0xf0 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "atc2-common-dp-3"; + status = "disabled"; + }; + + power-controller@f8 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0xf8 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "atc3-common-dp-0"; + status = "disabled"; + }; + + power-controller@100 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x100 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "atc3-common-dp-1"; + status = "disabled"; + }; + + power-controller@108 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x108 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "atc3-common-dp-2"; + status = "disabled"; + }; + + power-controller@110 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x110 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "atc3-common-dp-3"; + status = "disabled"; + }; + }; + + atc2_phy_mbox: mailbox@383148000 { + compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x03 0x83148000 0x00 0x4000>; + interrupts = <0x00 0x00 0x35d 0x04>, <0x00 0x00 0x35e 0x04>, <0x00 0x00 + 0x35f 0x04>, <0x00 0x00 0x360 0x04>; + interrupt-names = "send-empty" , "send-not-empty" , "recv-empty" , + "recv-not-empty" ; + #mbox-cells = <0x00>; + status = "okay"; + }; + + atc2_phy: phy@383000000 { + compatible = "apple,t6050-combo-phy"; + reg = <0x03 0x83000000 0x00 0x2c000>, <0x03 0x82a90000 0x00 0x4000>, <0x03 + 0x82800000 0x00 0x4000>, <0x03 0x83200000 0x00 0x4000>, <0x03 + 0x83244000 0x00 0x4000>, <0x03 0x80000000 0x00 0x8000>, <0x03 + 0x80020000 0x00 0x4000>, <0x03 0x83250000 0x00 0x4000>, <0x03 + 0x83140000 0x00 0x4000>, <0x03 0x830c0000 0x00 0x10000>, <0x03 + 0x82a84000 0x00 0x4000>; + reg-names = "core" , "usb2phy" , "usb2-digital" , "reset" , "fabric" , + "axi2af" , "lioa" , "common-cfg" , "usb-control" , "firmware-data" , + "pipehandler" ; + #phy-cells = <0x01>; + #reset-cells = <0x01>; + apple,port-index = <0x02>; + apple,guest-port-reserved; + mode-switch; + orientation-switch; + mboxes = <&atc2_phy_mbox>; + power-domains = <&ps_atc2_usb_aon + &ps_atc2_common + &ps_atc2_phymxwrap + &ps_atc2_usb>; + power-domain-names = "usb-aon", "common", "wrapper", "usb"; + status = "okay"; + apple,tunable-lane0-rx-top-cio = <0x35c 0xe00 0x200>; + apple,tunable-lane1-rx-top-cio = <0x35c 0xe00 0x200>; + + port { + + atc2_phy_ep: endpoint { + remote-endpoint = <&hpm2_ss>; + }; + }; + }; + + atc2_xbar: mux@38324c000 { + compatible = "apple,t6050-display-crossbar", "apple,t8142-display-crossbar"; + reg = <0x03 0x8324c000 0x00 0x4000>; + #mux-control-cells = <0x01>; + power-domains = <&ps_atc2_usb_aon + &ps_atc2_common>; + power-domain-names = "usb-aon", "common"; + status = "okay"; + }; + + nub_spmi_a0: spmi@28a188000 { + compatible = "apple,t6050-spmi", "apple,t8142-spmi"; + reg = <0x02 0x8a188000 0x00 0x4000>; + #address-cells = <0x02>; + #size-cells = <0x00>; + status = "okay"; + + hpm0: usb-pd@c { + compatible = "apple,sn201202x"; + reg = <0x0c 0x00>; + + connector { + compatible = "usb-c-connector"; + label = "USB-C Back-right"; + power-role = "dual"; + data-role = "host"; + + ports { + #address-cells = <0x01>; + #size-cells = <0x00>; + + port@0 { + reg = <0x00>; + + hpm0_hs: endpoint { + remote-endpoint = <&usb_drd0_hs>; + }; + }; + + port@1 { + reg = <0x01>; + + hpm0_ss: endpoint { + remote-endpoint = <&atc0_phy_ep>; + }; + }; + + port@2 { + reg = <0x02>; + + hpm0_dp: endpoint { + remote-endpoint = <&dcpext0_typec3>; + }; + }; + + port@3 { + reg = <0x03>; + + hpm0_usb4: endpoint { + remote-endpoint = <&{/soc/acio@2a1ac0000/ports/port@1/endpoint}>; + }; + }; + }; + }; + }; + + hpm1: usb-pd@a { + compatible = "apple,sn201202x"; + reg = <0x0a 0x00>; + + connector { + compatible = "usb-c-connector"; + label = "USB-C Back-right-middle"; + power-role = "dual"; + data-role = "host"; + + ports { + #address-cells = <0x01>; + #size-cells = <0x00>; + + port@0 { + reg = <0x00>; + + hpm1_hs: endpoint { + remote-endpoint = <&usb_drd1_hs>; + }; + }; + + port@1 { + reg = <0x01>; + + hpm1_ss: endpoint { + remote-endpoint = <&atc1_phy_ep>; + }; + }; + + port@2 { + reg = <0x02>; + + hpm1_dp: endpoint { + remote-endpoint = <&dcpext0_typec1>; + }; + }; + + port@3 { + reg = <0x03>; + + hpm1_usb4: endpoint { + remote-endpoint = <&{/soc/acio@2a9ac0000/ports/port@1/endpoint}>; + }; + }; + }; + }; + }; + + hpm2: usb-pd@8 { + compatible = "apple,sn201202x"; + reg = <0x08 0x00>; + status = "okay"; + + connector { + compatible = "usb-c-connector"; + label = "USB-C Back-left-middle"; + power-role = "dual"; + data-role = "dual"; + + ports { + #address-cells = <0x01>; + #size-cells = <0x00>; + + port@0 { + reg = <0x00>; + + hpm2_hs: endpoint { + remote-endpoint = <&usb_drd2_hs>; + }; + }; + + port@1 { + reg = <0x01>; + + hpm2_ss: endpoint { + remote-endpoint = <&atc2_phy_ep>; + }; + }; + + port@2 { + reg = <0x02>; + + hpm2_dp: endpoint { + remote-endpoint = <&dcpext0_typec>; + }; + }; + + port@3 { + reg = <0x03>; + + hpm2_usb4: endpoint { + remote-endpoint = <&{/soc/acio@381ac0000/ports/port@1/endpoint}>; + }; + }; + }; + }; + }; + + hpm3: usb-pd@6 { + compatible = "apple,sn201202x"; + reg = <0x06 0x00>; + + connector { + compatible = "usb-c-connector"; + label = "USB-C Back-left"; + power-role = "dual"; + data-role = "host"; + + ports { + #address-cells = <0x01>; + #size-cells = <0x00>; + + port@0 { + reg = <0x00>; + + hpm3_hs: endpoint { + remote-endpoint = <&usb_drd3_hs>; + }; + }; + + port@1 { + reg = <0x01>; + + hpm3_ss: endpoint { + remote-endpoint = <&atc3_phy_ep>; + }; + }; + + port@2 { + reg = <0x02>; + + hpm3_dp: endpoint { + remote-endpoint = <&dcpext0_typec2>; + }; + }; + + port@3 { + reg = <0x03>; + + hpm3_usb4: endpoint { + remote-endpoint = <&{/soc/acio@389ac0000/ports/port@1/endpoint}>; + }; + }; + }; + }; + }; + }; + + atc0_phy_mbox: mailbox@2a3148000 { + compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x02 0xa3148000 0x00 0x4000>; + interrupts = <0x00 0x00 0x349 0x04>, <0x00 0x00 0x34a 0x04>, <0x00 0x00 + 0x34b 0x04>, <0x00 0x00 0x34c 0x04>; + interrupt-names = "send-empty" , "send-not-empty" , "recv-empty" , + "recv-not-empty" ; + #mbox-cells = <0x00>; + }; + + atc0_phy: phy@2a3000000 { + compatible = "apple,t6050-combo-phy"; + reg = <0x02 0xa3000000 0x00 0x2c000>, <0x02 0xa2a90000 0x00 0x4000>, <0x02 + 0xa2800000 0x00 0x4000>, <0x02 0xa3200000 0x00 0x4000>, <0x02 + 0xa3244000 0x00 0x4000>, <0x02 0xa0000000 0x00 0x8000>, <0x02 + 0xa0020000 0x00 0x4000>, <0x02 0xa3250000 0x00 0x4000>, <0x02 + 0xa3140000 0x00 0x4000>, <0x02 0xa30c0000 0x00 0x10000>, <0x02 + 0xa2a84000 0x00 0x4000>; + reg-names = "core" , "usb2phy" , "usb2-digital" , "reset" , "fabric" , + "axi2af" , "lioa" , "common-cfg" , "usb-control" , "firmware-data" , + "pipehandler" ; + #phy-cells = <0x01>; + #reset-cells = <0x01>; + apple,port-index = <0x00>; + apple,guest-port-reserved; + mode-switch; + orientation-switch; + mboxes = <&atc0_phy_mbox>; + power-domains = <&ps_atc0_usb_aon + &ps_atc0_common + &ps_atc0_phymxwrap + &ps_atc0_usb>; + power-domain-names = "usb-aon", "common", "wrapper", "usb"; + apple,tunable-lane0-rx-top-cio = <0x35c 0xe00 0x200>; + apple,tunable-lane1-rx-top-cio = <0x35c 0xe00 0x200>; + + port { + + atc0_phy_ep: endpoint { + remote-endpoint = <&hpm0_ss>; + }; + }; + }; + + atc1_phy_mbox: mailbox@2ab148000 { + compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x02 0xab148000 0x00 0x4000>; + interrupts = <0x00 0x00 0x353 0x04>, <0x00 0x00 0x354 0x04>, <0x00 0x00 + 0x355 0x04>, <0x00 0x00 0x356 0x04>; + interrupt-names = "send-empty" , "send-not-empty" , "recv-empty" , + "recv-not-empty" ; + #mbox-cells = <0x00>; + status = "okay"; + }; + + atc1_phy: phy@2ab000000 { + compatible = "apple,t6050-combo-phy"; + reg = <0x02 0xab000000 0x00 0x2c000>, <0x02 0xaaa90000 0x00 0x4000>, <0x02 + 0xaa800000 0x00 0x4000>, <0x02 0xab200000 0x00 0x4000>, <0x02 + 0xab244000 0x00 0x4000>, <0x02 0xa8000000 0x00 0x8000>, <0x02 + 0xa8020000 0x00 0x4000>, <0x02 0xab250000 0x00 0x4000>, <0x02 + 0xab140000 0x00 0x4000>, <0x02 0xab0c0000 0x00 0x10000>, <0x02 + 0xaaa84000 0x00 0x4000>; + reg-names = "core" , "usb2phy" , "usb2-digital" , "reset" , "fabric" , + "axi2af" , "lioa" , "common-cfg" , "usb-control" , "firmware-data" , + "pipehandler" ; + #phy-cells = <0x01>; + #reset-cells = <0x01>; + apple,port-index = <0x01>; + apple,guest-port-reserved; + mode-switch; + orientation-switch; + mboxes = <&atc1_phy_mbox>; + power-domains = <&ps_atc1_usb_aon + &ps_atc1_common + &ps_atc1_phymxwrap + &ps_atc1_usb>; + power-domain-names = "usb-aon", "common", "wrapper", "usb"; + apple,tunable-lane0-rx-top-cio = <0x35c 0xe00 0x200>; + apple,tunable-lane1-rx-top-cio = <0x35c 0xe00 0x200>; + status = "okay"; + + port { + + atc1_phy_ep: endpoint { + remote-endpoint = <&hpm1_ss>; + }; + }; + }; + + usb_drd1: usb@2aa280000 { + compatible = "apple,t6050-dwc3", "apple,t8103-dwc3"; + reg = <0x02 0xaa280000 0x00 0xcd00>, <0x02 0xaa28cd00 0x00 0x4b00>, <0x02 + 0xaa200000 0x00 0x4000>; + reg-names = "dwc3-core", "dwc3-apple", "drd-cfg"; + interrupts = <0x00 0x00 0x5ab 0x04>; + dr_mode = "otg"; + usb-role-switch; + role-switch-default-mode = "host"; + iommus = <&usb_drd1_dart_0 0x00 &usb_drd1_dart_1 0x01>; + power-domains = <&ps_atc1_usb>; + resets = <&atc1_phy 0x00>; + phys = <&atc1_phy 0x03 &atc1_phy 0x04>; + phy-names = "usb2-phy", "usb3-phy"; + apple,tunable-gbl-default = <0x64 0x02 0x00>, <0x10 0xfff80000 0x680000>; + apple,tunable-gbl-host = <0x04 0x1ef00 0x2f00>, <0x1c 0x100 0x00>, <0x2c + 0xa07ff 0x800c8>, <0x100 0x2000100 0x2000100>, <0x504 0x1000 0x00>, + <0x528 0xff0000ff 0x6000006>, <0x52c 0xff0000ff 0x8000008>, <0x580 + 0xffffffff 0x6f000006>, <0x584 0xffffffff 0x60000>; + apple,tunable-dbg = <0x00 0x08 0x08>; + apple,tunable-cfg-host = <0x20 0xff 0x1b>; + apple,tunable-link = <0x10 0xff000000 0xff000000>, <0x20 0x7ff00000 + 0x4e900000>, <0x24 0x1f8000 0xb8000>, <0x60 0x3ffff 0x600>; + apple,tunable-cio = <0x20 0xff0000 0x1e0000>; + status = "okay"; + + port { + + usb_drd1_hs: endpoint { + remote-endpoint = <&hpm1_hs>; + }; + }; + }; + + usb_drd1_dart_0: iommu@2aaf00000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x02 0xaaf00000 0x00 0xc000>; + interrupts = <0x00 0x00 0x5af 0x04>; + power-domains = <&ps_atc1_usb>; + #iommu-cells = <0x01>; + apple,dma-range = <0x100 0x4000 0x00 0xffff0000>; + status = "okay"; + }; + + usb_drd1_dart_1: iommu@2aaf80000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x02 0xaaf80000 0x00 0xc000>; + interrupts = <0x00 0x00 0x5af 0x04>; + power-domains = <&ps_atc1_usb>; + #iommu-cells = <0x01>; + apple,dma-range = <0x100 0x4000 0x00 0xffff0000>; + status = "okay"; + }; + + usb_drd2: usb@382280000 { + compatible = "apple,t6050-dwc3", "apple,t8103-dwc3"; + reg = <0x03 0x82280000 0x00 0xcd00>, <0x03 0x8228cd00 0x00 0x4b00>, <0x03 + 0x82200000 0x00 0x4000>; + reg-names = "dwc3-core", "dwc3-apple", "drd-cfg"; + interrupts = <0x00 0x00 0x5cb 0x04>; + dr_mode = "otg"; + usb-role-switch; + role-switch-default-mode = "host"; + iommus = <&usb_drd2_dart_0 0x00 &usb_drd2_dart_1 0x01>; + power-domains = <&ps_atc2_usb>; + resets = <&atc2_phy 0x00>; + phys = <&atc2_phy 0x03 &atc2_phy 0x04>; + phy-names = "usb2-phy", "usb3-phy"; + apple,tunable-gbl-default = <0x64 0x02 0x00>, <0x10 0xfff80000 0x680000>; + apple,tunable-gbl-host = <0x04 0x1ef00 0x2f00>, <0x1c 0x100 0x00>, <0x2c + 0xa07ff 0x800c8>, <0x100 0x2000100 0x2000100>, <0x504 0x1000 0x00>, + <0x528 0xff0000ff 0x6000006>, <0x52c 0xff0000ff 0x8000008>, <0x580 + 0xffffffff 0x6f000006>, <0x584 0xffffffff 0x60000>; + apple,tunable-dbg = <0x00 0x08 0x08>; + apple,tunable-cfg-host = <0x20 0xff 0x1b>; + apple,tunable-link = <0x10 0xff000000 0xff000000>, <0x20 0x7ff00000 + 0x4e900000>, <0x24 0x1f8000 0xb8000>, <0x60 0x3ffff 0x600>; + apple,tunable-cio = <0x20 0xff0000 0x1e0000>; + status = "okay"; + + port { + + usb_drd2_hs: endpoint { + remote-endpoint = <&hpm2_hs>; + }; + }; + }; + + usb_drd2_dart_0: iommu@382f00000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x03 0x82f00000 0x00 0xc000>; + interrupts = <0x00 0x00 0x5cf 0x04>; + power-domains = <&ps_atc2_usb>; + #iommu-cells = <0x01>; + apple,dma-range = <0x100 0x4000 0x00 0xffff0000>; + status = "okay"; + }; + + usb_drd2_dart_1: iommu@382f80000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x03 0x82f80000 0x00 0xc000>; + interrupts = <0x00 0x00 0x5cf 0x04>; + power-domains = <&ps_atc2_usb>; + #iommu-cells = <0x01>; + apple,dma-range = <0x100 0x4000 0x00 0xffff0000>; + status = "okay"; + }; + + atc3_phy_mbox: mailbox@38b148000 { + compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x03 0x8b148000 0x00 0x4000>; + interrupts = <0x00 0x00 0x367 0x04>, <0x00 0x00 0x368 0x04>, <0x00 0x00 + 0x369 0x04>, <0x00 0x00 0x36a 0x04>; + interrupt-names = "send-empty" , "send-not-empty" , "recv-empty" , + "recv-not-empty" ; + #mbox-cells = <0x00>; + status = "okay"; + }; + + atc3_phy: phy@38b000000 { + compatible = "apple,t6050-combo-phy"; + reg = <0x03 0x8b000000 0x00 0x2c000>, <0x03 0x8aa90000 0x00 0x4000>, <0x03 + 0x8a800000 0x00 0x4000>, <0x03 0x8b200000 0x00 0x4000>, <0x03 + 0x8b244000 0x00 0x4000>, <0x03 0x88000000 0x00 0x8000>, <0x03 + 0x88020000 0x00 0x4000>, <0x03 0x8b250000 0x00 0x4000>, <0x03 + 0x8b140000 0x00 0x4000>, <0x03 0x8b0c0000 0x00 0x10000>, <0x03 + 0x8aa84000 0x00 0x4000>; + reg-names = "core" , "usb2phy" , "usb2-digital" , "reset" , "fabric" , + "axi2af" , "lioa" , "common-cfg" , "usb-control" , "firmware-data" , + "pipehandler" ; + #phy-cells = <0x01>; + #reset-cells = <0x01>; + apple,port-index = <0x03>; + apple,guest-port-reserved; + mode-switch; + orientation-switch; + mboxes = <&atc3_phy_mbox>; + power-domains = <&ps_atc3_usb_aon + &ps_atc3_common + &ps_atc3_phymxwrap + &ps_atc3_usb>; + power-domain-names = "usb-aon", "common", "wrapper", "usb"; + apple,tunable-lane0-rx-top-cio = <0x35c 0xe00 0x200>; + apple,tunable-lane1-rx-top-cio = <0x35c 0xe00 0x200>; + status = "okay"; + + port { + + atc3_phy_ep: endpoint { + remote-endpoint = <&hpm3_ss>; + }; + }; + }; + + usb_drd3: usb@38a280000 { + compatible = "apple,t6050-dwc3", "apple,t8103-dwc3"; + reg = <0x03 0x8a280000 0x00 0xcd00>, <0x03 0x8a28cd00 0x00 0x4b00>, <0x03 + 0x8a200000 0x00 0x4000>; + reg-names = "dwc3-core", "dwc3-apple", "drd-cfg"; + interrupts = <0x00 0x00 0x5eb 0x04>; + dr_mode = "otg"; + usb-role-switch; + role-switch-default-mode = "host"; + iommus = <&usb_drd3_dart_0 0x00 &usb_drd3_dart_1 0x01>; + power-domains = <&ps_atc3_usb>; + resets = <&atc3_phy 0x00>; + phys = <&atc3_phy 0x03 &atc3_phy 0x04>; + phy-names = "usb2-phy", "usb3-phy"; + apple,tunable-gbl-default = <0x64 0x02 0x00>, <0x10 0xfff80000 0x680000>; + apple,tunable-gbl-host = <0x04 0x1ef00 0x2f00>, <0x1c 0x100 0x00>, <0x2c + 0xa07ff 0x800c8>, <0x100 0x2000100 0x2000100>, <0x504 0x1000 0x00>, + <0x528 0xff0000ff 0x6000006>, <0x52c 0xff0000ff 0x8000008>, <0x580 + 0xffffffff 0x6f000006>, <0x584 0xffffffff 0x60000>; + apple,tunable-dbg = <0x00 0x08 0x08>; + apple,tunable-cfg-host = <0x20 0xff 0x1b>; + apple,tunable-link = <0x10 0xff000000 0xff000000>, <0x20 0x7ff00000 + 0x4e900000>, <0x24 0x1f8000 0xb8000>, <0x60 0x3ffff 0x600>; + apple,tunable-cio = <0x20 0xff0000 0x1e0000>; + status = "okay"; + + port { + + usb_drd3_hs: endpoint { + remote-endpoint = <&hpm3_hs>; + }; + }; + }; + + usb_drd3_dart_0: iommu@38af00000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x03 0x8af00000 0x00 0xc000>; + interrupts = <0x00 0x00 0x5ef 0x04>; + power-domains = <&ps_atc3_usb>; + #iommu-cells = <0x01>; + apple,dma-range = <0x100 0x4000 0x00 0xffff0000>; + status = "okay"; + }; + + usb_drd3_dart_1: iommu@38af80000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x03 0x8af80000 0x00 0xc000>; + interrupts = <0x00 0x00 0x5ef 0x04>; + power-domains = <&ps_atc3_usb>; + #iommu-cells = <0x01>; + apple,dma-range = <0x100 0x4000 0x00 0xffff0000>; + status = "okay"; + }; + + nub_spmi_a2: spmi@28a1c8000 { + compatible = "apple,t6050-spmi", "apple,t8142-spmi"; + reg = <0x02 0x8a1c8000 0x00 0x4000>; + #address-cells = <0x02>; + #size-cells = <0x00>; + }; + + pinctrl_ap: pinctrl@29c000000 { + compatible = "apple,t6050-pinctrl", "apple,t8103-pinctrl"; + reg = <0x02 0x9c000000 0x00 0x44000>; + gpio-controller; + #gpio-cells = <0x02>; + gpio-ranges = <&pinctrl_ap 0x00 0x00 0xdd>; + apple,npins = <0xdd>; + interrupt-controller; + #interrupt-cells = <0x02>; + interrupt-parent = <&aic>; + interrupts = <0x00 0x00 0x1e6 0x04>, <0x00 0x00 0x1e7 0x04>, <0x00 0x00 + 0x1e8 0x04>, <0x00 0x00 0x1e9 0x04>, <0x00 0x00 0x1ea 0x04>, <0x00 + 0x00 0x1eb 0x04>, <0x00 0x00 0x1ec 0x04>; + gpio-reserved-ranges = <0x00 0x50>, <0x51 0x19>, <0x6c 0x1a>, <0x87 0x04>, + <0x8c 0x51>; + }; + + pmgr1: power-management@280900000 { + compatible = "apple,t6050-pmgr", "apple,t8103-pmgr", "syscon", "simple-mfd"; + reg = <0x02 0x80900000 0x00 0x4000>; + #address-cells = <0x01>; + #size-cells = <0x01>; + + ps_i2c1: power-controller@2c8 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x2c8 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "i2c1"; + }; + + ps_i2c2: power-controller@2d0 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x2d0 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "i2c2"; + }; + + ps_spi_p: power-controller@308 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x308 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "spi_p"; + }; + + ps_qspi: power-controller@350 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x350 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "qspi"; + power-domains = <&ps_spi_p>; + }; + + ps_ane_sys: power-controller@3a8 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x3a8 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "ane_sys"; + status = "disabled"; + }; + + ps_dptx_phy: power-controller@3f8 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x3f8 0x04>; + label = "dptx-phy"; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + status = "disabled"; + }; + + power-controller@2a8 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x2a8 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "fpwm0"; + }; + + power-controller@2b0 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x2b0 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "fpwm1"; + status = "disabled"; + }; + + power-controller@2b8 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x2b8 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "fpwm2"; + status = "disabled"; + }; + + power-controller@100 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x100 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "ispsens0"; + status = "disabled"; + }; + + power-controller@108 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x108 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "global-aux-hpd-0"; + status = "disabled"; + }; + + power-controller@110 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x110 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "global-aux-hpd-1"; + status = "disabled"; + }; + + power-controller@118 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x118 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "apcie-gp"; + status = "disabled"; + }; + + power-controller@120 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x120 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "apcie-ge"; + status = "disabled"; + }; + + power-controller@128 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x128 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "apcie-st0"; + status = "disabled"; + }; + + power-controller@130 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x130 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "apcie-st1"; + status = "disabled"; + }; + + power-controller@138 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x138 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "fab6-soc"; + power-domains = <&{/soc/power-management@280600000/power-controller@1d8}>; + status = "disabled"; + }; + + power-controller@140 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x140 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "ans"; + power-domains = <&{/soc/power-management@280900000/power-controller@138}>; + status = "disabled"; + }; + + power-controller@148 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x148 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "apcie-sys-gp"; + power-domains = <&{/soc/power-management@280900000/power-controller@118} + &{/soc/power-management@280900000/power-controller@138}>; + status = "disabled"; + }; + + power-controller@150 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x150 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "apcie-sys-st0"; + power-domains = <&{/soc/power-management@280900000/power-controller@128} + &{/soc/power-management@280900000/power-controller@140}>; + status = "disabled"; + }; + + power-controller@158 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x158 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "apcie-sys-st1"; + power-domains = <&{/soc/power-management@280900000/power-controller@130} + &{/soc/power-management@280900000/power-controller@140}>; + status = "disabled"; + }; + + power-controller@178 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x178 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "fab7-soc"; + power-domains = <&{/soc/power-management@280600000/power-controller@1d8}>; + status = "disabled"; + }; + + power-controller@180 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x180 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "disp-sys"; + power-domains = <&{/soc/power-management@280900000/power-controller@178}>; + status = "disabled"; + }; + + power-controller@188 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x188 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "apcie-sys-ge"; + power-domains = <&{/soc/power-management@280900000/power-controller@120} + &{/soc/power-management@280900000/power-controller@138}>; + status = "disabled"; + }; + + power-controller@190 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x190 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "scodec"; + power-domains = <&{/soc/power-management@280900000/power-controller@178}>; + status = "disabled"; + }; + + power-controller@198 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x198 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "disp-fe"; + power-domains = <&{/soc/power-management@280900000/power-controller@180}>; + status = "disabled"; + }; + + power-controller@1a8 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x1a8 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "disp-cpu"; + power-domains = <&{/soc/power-management@280900000/power-controller@198}>; + status = "disabled"; + }; + + power-controller@1b0 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x1b0 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "apcie-phy-sw"; + power-domains = <&{/soc/power-management@280900000/power-controller@148} + &{/soc/power-management@280900000/power-controller@188}>; + status = "disabled"; + }; + + power-controller@240 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x240 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "aphy-st0-aus5-a"; + power-domains = <&{/soc/power-management@280900000/power-controller@1b0}>; + status = "disabled"; + }; + + power-controller@248 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x248 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "aphy-st1-aus5-a"; + power-domains = <&{/soc/power-management@280900000/power-controller@1b0}>; + status = "disabled"; + }; + + power-controller@250 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x250 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "aphy-ge-aus5-a"; + power-domains = <&{/soc/power-management@280900000/power-controller@1b0}>; + status = "disabled"; + }; + + power-controller@258 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x258 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "aphy-gp-aus5-a"; + power-domains = <&{/soc/power-management@280900000/power-controller@1b0}>; + status = "disabled"; + }; + + power-controller@268 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x268 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "aphy-st0-aus5"; + power-domains = <&{/soc/power-management@280900000/power-controller@240}>; + status = "disabled"; + }; + + power-controller@270 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x270 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "aphy-st1-aus5"; + power-domains = <&{/soc/power-management@280900000/power-controller@248}>; + status = "disabled"; + }; + + power-controller@278 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x278 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "aphy-ge-aus5"; + power-domains = <&{/soc/power-management@280900000/power-controller@250}>; + status = "disabled"; + }; + + power-controller@280 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x280 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "aphy-gp-aus5"; + power-domains = <&{/soc/power-management@280900000/power-controller@258}>; + status = "disabled"; + }; + + power-controller@288 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x288 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "fab8-soc"; + power-domains = <&{/soc/power-management@280600000/power-controller@1d8}>; + status = "disabled"; + }; + + power-controller@290 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x290 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "sio"; + power-domains = <&{/soc/power-management@280900000/power-controller@288}>; + status = "disabled"; + }; + + power-controller@298 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x298 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "sep"; + power-domains = <&{/soc/power-management@280900000/power-controller@288}>; + apple,firmware-owned; + status = "disabled"; + }; + + power-controller@2a0 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x2a0 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "sio-cpu"; + power-domains = <&{/soc/power-management@280900000/power-controller@290}>; + status = "disabled"; + }; + + power-controller@2c0 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x2c0 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "i2c0"; + power-domains = <&{/soc/power-management@280900000/power-controller@290}>; + status = "disabled"; + }; + + power-controller@2d8 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x2d8 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "i2c3"; + power-domains = <&{/soc/power-management@280900000/power-controller@290}>; + status = "disabled"; + }; + + power-controller@2e0 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x2e0 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "i2c4"; + power-domains = <&{/soc/power-management@280900000/power-controller@290}>; + status = "disabled"; + }; + + power-controller@2e8 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x2e8 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "i2c5"; + power-domains = <&{/soc/power-management@280900000/power-controller@290}>; + status = "disabled"; + }; + + power-controller@2f0 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x2f0 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "i2c6"; + power-domains = <&{/soc/power-management@280900000/power-controller@290}>; + status = "disabled"; + }; + + power-controller@2f8 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x2f8 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "i2c7"; + power-domains = <&{/soc/power-management@280900000/power-controller@290}>; + status = "disabled"; + }; + + power-controller@300 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x300 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "i2c8"; + power-domains = <&{/soc/power-management@280900000/power-controller@290}>; + status = "disabled"; + }; + + power-controller@310 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x310 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "uart-p"; + power-domains = <&{/soc/power-management@280900000/power-controller@290}>; + status = "disabled"; + }; + + power-controller@318 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x318 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "aes"; + power-domains = <&{/soc/power-management@280900000/power-controller@290}>; + status = "disabled"; + }; + + power-controller@330 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x330 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "spi2"; + power-domains = <&ps_spi_p>; + status = "disabled"; + }; + + power-controller@338 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x338 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "spi3"; + power-domains = <&ps_spi_p>; + status = "disabled"; + }; + + power-controller@340 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x340 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "spi4"; + power-domains = <&ps_spi_p>; + status = "disabled"; + }; + + power-controller@360 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x360 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "uart0"; + power-domains = <&{/soc/power-management@280900000/power-controller@310}>; + status = "disabled"; + }; + + power-controller@398 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x398 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "fab9-soc"; + power-domains = <&{/soc/power-management@280600000/power-controller@1d8}>; + status = "disabled"; + }; + + power-controller@3a0 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x3a0 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "isp-sys"; + power-domains = <&{/soc/power-management@280900000/power-controller@398}>; + status = "disabled"; + }; + + power-controller@3c8 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x3c8 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "ane-cpu"; + status = "disabled"; + }; + }; + + ane: ane@508000000 { + compatible = "apple,t6050-ane"; + reg = <0x05 0x8000000 0x00 0x2000000>, <0x02 0x80900000 0x00 0x18000>, <0x02 + 0x80921590 0x00 0x34>, <0x05 0x84000000 0x00 0x2000000>; + reg-names = "engine", "pmgr", "pwgate", "xl"; + interrupt-parent = <&aic>; + interrupts = <0x00 0x00 0x3ba 0x04>, <0x00 0x00 0x3c7 0x04>; + iommus = <&ane_dart0 0x00>, <&ane_dart1 0x00>, <&ane_dart2 0x00>; + power-domains = <&ps_ane_sys>; + memory-region = <&ane_fw_text>, <&ane_fw_data>; + memory-region-names = "firmware-text", "firmware-data"; + apple,ane-type = <0x220>; + apple,firmware-preloaded; + apple,firmware-iovas = /bits/ 64 <0x10000000000 0x100000c0000>; + apple,dapf-ranges = /bits/ 64 <0x2809003a8 0x2809003ab 0x2809003c0 + 0x2809003d3 0x581668000 0x581668003 0x2302668000 0x2302668003 + 0x6302668000 0x6302668003>; + apple,clpc = <&clpc>; + performance-domains = <&cpufreq_pc0>; + status = "disabled"; + }; + + i2c1: i2c@505014000 { + compatible = "apple,t6050-i2c", "apple,t8103-i2c"; + reg = <0x05 0x5014000 0x00 0x4000>; + clocks = <&clkref>; + interrupt-parent = <&aic>; + interrupts = <0x00 0x00 0x560 0x04>; + #address-cells = <0x01>; + #size-cells = <0x00>; + power-domains = <&ps_i2c1>; + + speaker_amp: codec@38 { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x38>; + shutdown-gpios = <&pinctrl_ap 0x6b 0x00>; + interrupts-extended = <&pinctrl_ap 0x6a 0x08>; + #sound-dai-cells = <0x00>; + ti,imon-slot-no = <0x00>; + ti,vmon-slot-no = <0x02>; + }; + }; + + i2c2: i2c@505018000 { + compatible = "apple,t6050-i2c", "apple,t8103-i2c"; + reg = <0x05 0x5018000 0x00 0x4000>; + clocks = <&clkref>; + interrupt-parent = <&aic>; + interrupts = <0x00 0x00 0x561 0x04>; + #address-cells = <0x01>; + #size-cells = <0x00>; + power-domains = <&ps_i2c2>; + + jack_codec: codec@4b { + compatible = "cirrus,cs42l84"; + reg = <0x4b>; + reset-gpios = <&pinctrl_ap 0x8b 0x00>; + interrupts-extended = <&pinctrl_ap 0x86 0x08>; + #sound-dai-cells = <0x00>; + sound-name-prefix = "Jack"; + }; + }; + + qspi: spi@505118000 { + compatible = "apple,t6050-qspi", "apple,t8140-qspi"; + reg = <0x05 0x5118000 0x00 0x4800>; + clocks = <&clk_405m>; + interrupt-parent = <&aic>; + interrupts = <0x00 0x00 0x55d 0x04>; + power-domains = <&ps_qspi>; + #address-cells = <0x01>; + #size-cells = <0x00>; + status = "okay"; + + flash@0 { + compatible = "jedec,spi-nor"; + reg = <0x00>; + spi-max-frequency = <0x17d7840>; + spi-rx-bus-width = <0x01>; + spi-tx-bus-width = <0x01>; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <0x01>; + #size-cells = <0x01>; + + nvram: partition@700000 { + label = "nvram"; + reg = <0x00 0x00>; + status = "disabled"; + }; + }; + }; + }; + + aop_mbox: mailbox@290608000 { + compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x02 0x90608000 0x00 0x4000>; + interrupts = <0x00 0x00 0x242 0x04>, <0x00 0x00 0x243 0x04>, <0x00 0x00 + 0x244 0x04>, <0x00 0x00 0x245 0x04>; + interrupt-names = "send-empty" , "send-not-empty" , "recv-empty" , + "recv-not-empty" ; + #mbox-cells = <0x00>; + status = "disabled"; + }; + + aop_dart: iommu@290fc0000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x02 0x90fc0000 0x00 0xc000>; + #iommu-cells = <0x01>; + interrupt-parent = <&aic>; + interrupts = <0x00 0x00 0x268 0x04>; + status = "disabled"; + }; + + admac_base_ns: dma-controller@293800000 { + compatible = "apple,t6050-admac", "apple,t8140-admac"; + reg = <0x02 0x93800000 0x00 0x34000>; + dma-channels = <0x0d>; + interrupts-extended = <&aic 0x00 0x00 + 0x27d 0x04 0x00 0x00 0x00>; + #dma-cells = <0x01>; + iommus = <&aop_dart 0x08>; + apple,dma-range = <0x110 0x00 0x00 0x10000000>; + status = "disabled"; + }; + + aop: aop@290c00000 { + compatible = "apple,t6050-aop", "apple,t8152-aop"; + reg = <0x02 0x90c00000 0x00 0x1e0000>, <0x02 0x90600000 0x00 0x4000>; + reg-names = "mmio", "asc"; + mboxes = <&aop_mbox>; + mbox-names = "mbox"; + iommus = <&aop_dart 0x00>; + apple,dma-range = <0x110 0x00 0x10 0x00>; + status = "disabled"; + + aop_audio: audio { + compatible = "apple,t6050-aop-audio"; + dmas = <&admac_base_ns 0x04 + &admac_base_ns 0x05 + &admac_base_ns 0x00 + &admac_base_ns 0x01>; + dma-names = "cout", "cin", "spkr", "sense"; + #sound-dai-cells = <0x01>; + }; + }; + + pmgr4: power-management@2380600000 { + compatible = "apple,t6050-pmgr", "apple,t8103-pmgr", "syscon", "simple-mfd"; + reg = <0x23 0x80600000 0x00 0xc000>; + #address-cells = <0x01>; + #size-cells = <0x01>; + status = "disabled"; + + ps_fab1_soc: power-controller@1b0 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x1b0 0x04>; + label = "fab1_soc"; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + status = "disabled"; + }; + + ps_avd_sys: power-controller@1d8 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x1d8 0x04>; + label = "avd_sys"; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + power-domains = <&ps_fab1_soc>; + status = "disabled"; + }; + + power-controller@1a0 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x1a0 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "fab1-piogw"; + status = "disabled"; + }; + + power-controller@1a8 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x1a8 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "fab0-soc"; + power-domains = <&{/soc/power-management@2380600000/power-controller@1a0}>; + status = "disabled"; + }; + + power-controller@1b8 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x1b8 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "fab2-soc"; + power-domains = <&{/soc/power-management@2380600000/power-controller@1a0}>; + status = "disabled"; + }; + + power-controller@1c0 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x1c0 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "venc0-sys"; + power-domains = <&{/soc/power-management@2380600000/power-controller@1a8}>; + status = "disabled"; + }; + + power-controller@1c8 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x1c8 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "msr0"; + power-domains = <&{/soc/power-management@2380600000/power-controller@1a8}>; + status = "disabled"; + }; + + power-controller@1d0 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x1d0 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "jpg"; + power-domains = <&{/soc/power-management@2380600000/power-controller@1a8}>; + status = "disabled"; + }; + + power-controller@1e0 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x1e0 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "prores"; + power-domains = <&ps_fab1_soc>; + status = "disabled"; + }; + + power-controller@1f0 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x1f0 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "venc1-sys"; + power-domains = <&{/soc/power-management@2380600000/power-controller@1b8}>; + status = "disabled"; + }; + + power-controller@1f8 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x1f8 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "msr1"; + power-domains = <&{/soc/power-management@2380600000/power-controller@1b8}>; + status = "disabled"; + }; + + power-controller@200 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x200 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "msr0-ase-core"; + power-domains = <&{/soc/power-management@2380600000/power-controller@1c8}>; + status = "disabled"; + }; + + power-controller@208 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x208 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "msr1-ase-core"; + power-domains = <&{/soc/power-management@2380600000/power-controller@1f8}>; + status = "disabled"; + }; + + power-controller@8000 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x8000 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "venc0-dma"; + power-domains = <&{/soc/power-management@2380600000/power-controller@1c0}>; + status = "disabled"; + }; + + power-controller@8008 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x8008 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "venc0-pipe4"; + power-domains = <&{/soc/power-management@2380600000/power-controller@8000}>; + status = "disabled"; + }; + + power-controller@8010 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x8010 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "venc0-pipe5"; + power-domains = <&{/soc/power-management@2380600000/power-controller@8000}>; + status = "disabled"; + }; + + power-controller@8018 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x8018 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "venc0-me0"; + power-domains = <&{/soc/power-management@2380600000/power-controller@8000}>; + status = "disabled"; + }; + + power-controller@8020 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x8020 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "venc0-me1"; + power-domains = <&{/soc/power-management@2380600000/power-controller@8018}>; + status = "disabled"; + }; + + power-controller@8028 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x8028 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "venc1-dma"; + power-domains = <&{/soc/power-management@2380600000/power-controller@1f0}>; + status = "disabled"; + }; + + power-controller@8030 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x8030 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "venc1-pipe4"; + power-domains = <&{/soc/power-management@2380600000/power-controller@8028}>; + status = "disabled"; + }; + + power-controller@8038 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x8038 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "venc1-pipe5"; + power-domains = <&{/soc/power-management@2380600000/power-controller@8028}>; + status = "disabled"; + }; + + power-controller@8040 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x8040 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "venc1-me0"; + power-domains = <&{/soc/power-management@2380600000/power-controller@8028}>; + status = "disabled"; + }; + + power-controller@8048 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x8048 0x04>; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + label = "venc1-me1"; + power-domains = <&{/soc/power-management@2380600000/power-controller@8040}>; + status = "disabled"; + }; + }; + + avd: avd@2309080000 { + compatible = "apple,t6050-avd", "apple,t8142-avd"; + reg = <0x23 0x9080000 0x00 0x14000>, <0x23 0x9094000 0x00 0x14000>, <0x23 + 0x90a8000 0x00 0x4000>, <0x23 0x9100000 0x00 0x10000>; + reg-names = "code", "sram", "mbox", "ctrl"; + interrupts = <0x00 0x00 0x971 0x04>, <0x00 0x00 0x972 0x04>; + power-domains = <&ps_avd_sys>; + resets = <&ps_avd_sys>; + iommus = <&avd_dart 0x00>, <&avd_dart 0x01>, <&avd_dart 0x02>; + }; + + avd_dart: iommu@2309020000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x23 0x9020000 0x00 0x20000>; + #iommu-cells = <0x01>; + interrupts = <0x00 0x00 0x978 0x04>; + power-domains = <&ps_avd_sys>; + status = "disabled"; + }; + + dart_apcie1: iommu@411000000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x04 0x11000000 0x00 0x20000>; + interrupts = <0x00 0x00 0x5fc 0x04>; + #iommu-cells = <0x01>; + status = "disabled"; + }; + + atc0_xbar: mux@2a324c000 { + compatible = "apple,t6050-display-crossbar", "apple,t8142-display-crossbar"; + reg = <0x02 0xa324c000 0x00 0x4000>; + #mux-control-cells = <0x01>; + status = "okay"; + }; + + atc1_xbar: mux@2ab24c000 { + compatible = "apple,t6050-display-crossbar", "apple,t8142-display-crossbar"; + reg = <0x02 0xab24c000 0x00 0x4000>; + #mux-control-cells = <0x01>; + status = "okay"; + }; + + atc3_xbar: mux@38b24c000 { + compatible = "apple,t6050-display-crossbar", "apple,t8142-display-crossbar"; + reg = <0x03 0x8b24c000 0x00 0x4000>; + #mux-control-cells = <0x01>; + status = "okay"; + }; + + pinctrl_nub: pinctrl@2881e4000 { + compatible = "apple,t6050-pinctrl", "apple,t8103-pinctrl"; + reg = <0x02 0x881e4000 0x00 0x4000>; + gpio-controller; + #gpio-cells = <0x02>; + gpio-ranges = <&pinctrl_nub 0x00 0x00 0x3d>; + apple,npins = <0x3d>; + gpio-reserved-ranges = <0x00 0x0e>, <0x0f 0x2e>; + interrupt-controller; + #interrupt-cells = <0x02>; + interrupts = <0x00 0x00 0x2c2 0x04>, <0x00 0x00 0x2c4 0x04>, <0x00 0x00 + 0x2c6 0x04>, <0x00 0x00 0x2c8 0x04>, <0x00 0x00 0x2ca 0x04>, <0x00 + 0x00 0x2cc 0x04>, <0x00 0x00 0x2ce 0x04>; + status = "okay"; + + usb3hub-rst-hog { + gpio-hog; + gpios = <0x0e 0x01>; + output-low; + line-name = "usb3hub_rst"; + }; + }; + + usb_drd0_dart_0: iommu@2a2f00000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x02 0xa2f00000 0x00 0xc000>; + interrupts = <0x00 0x00 0x58f 0x04>; + power-domains = <&ps_atc0_usb>; + #iommu-cells = <0x01>; + status = "okay"; + }; + + usb_drd0_dart_1: iommu@2a2f80000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x02 0xa2f80000 0x00 0xc000>; + interrupts = <0x00 0x00 0x58f 0x04>; + power-domains = <&ps_atc0_usb>; + #iommu-cells = <0x01>; + status = "okay"; + }; + + usb_drd0: usb@2a2280000 { + compatible = "apple,t6050-dwc3", "apple,t8103-dwc3"; + reg = <0x02 0xa2280000 0x00 0xcd00>, <0x02 0xa228cd00 0x00 0x4b00>, <0x02 + 0xa2200000 0x00 0x4000>; + reg-names = "dwc3-core", "dwc3-apple", "drd-cfg"; + interrupts = <0x00 0x00 0x58b 0x04>; + dr_mode = "otg"; + usb-role-switch; + role-switch-default-mode = "host"; + iommus = <&usb_drd0_dart_0 0x00 &usb_drd0_dart_1 0x01>; + power-domains = <&ps_atc0_usb>; + resets = <&atc0_phy 0x00>; + phys = <&atc0_phy 0x03 &atc0_phy 0x04>; + phy-names = "usb2-phy", "usb3-phy"; + apple,tunable-gbl-default = <0x64 0x02 0x00>, <0x10 0xfff80000 0x680000>; + apple,tunable-gbl-host = <0x04 0x1ef00 0x2f00>, <0x1c 0x100 0x00>, <0x2c + 0xa07ff 0x800c8>, <0x100 0x2000100 0x2000100>, <0x504 0x1000 0x00>, + <0x528 0xff0000ff 0x6000006>, <0x52c 0xff0000ff 0x8000008>, <0x580 + 0xffffffff 0x6f000006>, <0x584 0xffffffff 0x60000>; + apple,tunable-dbg = <0x00 0x08 0x08>; + apple,tunable-cfg-host = <0x20 0xff 0x1b>; + apple,tunable-link = <0x10 0xff000000 0xff000000>, <0x20 0x7ff00000 + 0x4e900000>, <0x24 0x1f8000 0xb8000>, <0x60 0x3ffff 0x600>; + apple,tunable-cio = <0x20 0xff0000 0x1e0000>; + status = "okay"; + + port { + + usb_drd0_hs: endpoint { + remote-endpoint = <&hpm0_hs>; + }; + }; + }; + + dart_dispext0_isoc: iommu@2b2180000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x02 0xb2180000 0x00 0x20000>; + interrupts = <0x00 0x00 0x445 0x04>; + #iommu-cells = <0x01>; + power-domains = <&ps_dispext0_adma>; + apple,dma-range = <0x100 0x00 0x10 0x00>; + status = "okay"; + }; + + admac_dispext0: dma-controller@2b2140000 { + compatible = "apple,t6050-admac", "apple,t8140-admac"; + reg = <0x02 0xb2140000 0x00 0x24000>; + dma-channels = <0x01>; + interrupts-extended = <&aic 0x00 0x00 + 0x444 0x04 0x00 0x00 0x00>; + #dma-cells = <0x01>; + iommus = <&dart_dispext0_isoc 0x1e>; + power-domains = <&ps_dispext0_adma>; + apple,dma-range = <0x100 0x00 0x10 0x00>; + status = "okay"; + }; + + dcpext1_mbox: mailbox@392e08000 { + compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x03 0x92e08000 0x00 0x4000>; + interrupts = <0x00 0x00 0x4ab 0x04>, <0x00 0x00 0x4ac 0x04>, <0x00 0x00 + 0x4ad 0x04>, <0x00 0x00 0x4ae 0x04>; + interrupt-names = "send-empty" , "send-not-empty" , "recv-empty" , + "recv-not-empty" ; + #mbox-cells = <0x00>; + status = "disabled"; + }; + + dcpext1: dcp@392e00000 { + compatible = "apple,t6050-dcpext", "apple,dcpext"; + reg = <0x03 0x92e00000 0x00 0x4000>, <0x03 0x90000000 0x00 0x4000000>, <0x03 + 0x92240000 0x00 0x10000>, <0x03 0x923ac000 0x00 0x4000>, <0x03 + 0x92800000 0x00 0x800000>, <0x02 0x86700000 0x00 0x114000>, <0x03 + 0x92850000 0x00 0x4000>; + reg-names = "coproc" , "disp-0" , "disp-1" , "disp-2" , "disp-3" , "disp-4" + , "iop-vbar" ; + mboxes = <&dcpext1_mbox>; + mbox-names = "mbox"; + iommus = <&dart_dcpext1 0x17>; + apple,bw-scratch = <&dcpext0_pmc 0x00 0x05 0x30000>; + apple,dcp-index = <0x02>; + apple,clock-ids; + apple,connector-type = "HDMI-A"; + apple,dptx-die = <0x00>; + apple,dptx-phy = <0x04>; + phys = <&lpdptx_phy0>; + phy-names = "dp-phy"; + hdmi-hpd-gpios = <&pinctrl_aop 0x0e 0x00>; + hdmi-pwren-gpios = <&smc_pcio 0x00 0x00>; + dp2hdmi-pwren-gpios = <&smc_pcio 0x01 0x00>; + status = "disabled"; + + piodma { + iommus = <&dart_dispext1 0x10>; + }; + + ports { + #address-cells = <0x01>; + #size-cells = <0x00>; + + port@0 { + reg = <0x00>; + + dcpext1_audio: endpoint { + remote-endpoint = <&dpaudio_dispext1_dcp>; + }; + }; + }; + }; + + dart_dcpext1: iommu@392340000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x03 0x92340000 0x00 0x20000>; + interrupts = <0x00 0x00 0x476 0x04>; + #iommu-cells = <0x01>; + apple,dma-range = <0x100 0x00 0x300 0x00>; + status = "disabled"; + }; + + dart_dispext1: iommu@392300000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x03 0x92300000 0x00 0xc000>; + interrupts = <0x00 0x00 0x476 0x04>; + #iommu-cells = <0x01>; + apple,dma-range = <0x100 0x00 0x300 0x00>; + status = "disabled"; + }; + + dart_dispext1_isoc: iommu@392180000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x03 0x92180000 0x00 0x20000>; + interrupts = <0x00 0x00 0x48d 0x04>; + #iommu-cells = <0x01>; + power-domains = <&ps_dispext1_adma>; + apple,dma-range = <0x100 0x00 0x10 0x00>; + status = "okay"; + }; + + admac_dispext1: dma-controller@392140000 { + compatible = "apple,t6050-admac", "apple,t8140-admac"; + reg = <0x03 0x92140000 0x00 0x24000>; + dma-channels = <0x01>; + interrupts-extended = <&aic 0x00 0x00 + 0x48c 0x04 0x00 0x00 0x00>; + #dma-cells = <0x01>; + iommus = <&dart_dispext1_isoc 0x1e>; + power-domains = <&ps_dispext1_adma>; + apple,dma-range = <0x100 0x00 0x10 0x00>; + status = "okay"; + }; + + ane_dart0: iommu@509800000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x05 0x9800000 0x00 0xc000 0x05 0x9810000 0x00 0x4000>; + #iommu-cells = <0x01>; + interrupts = <0x00 0x00 0x3bb 0x04>; + status = "disabled"; + reg-names = "dart", "auxiliary"; + }; + + ane_dart1: iommu@509820000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x05 0x9820000 0x00 0xc000>; + #iommu-cells = <0x01>; + interrupts = <0x00 0x00 0x3bb 0x04>; + status = "disabled"; + }; + + ane_dart2: iommu@509840000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x05 0x9840000 0x00 0xc000>; + #iommu-cells = <0x01>; + interrupts = <0x00 0x00 0x3bb 0x04>; + status = "disabled"; + }; + + lpdptx_phy0: phy@29c200000 { + compatible = "apple,t6050-dptx-phy"; + reg = <0x02 0x9c200000 0x00 0x4000>, <0x02 0x9c240000 0x00 0x10000>; + reg-names = "core", "dptx"; + power-domains = <&ps_dptx_phy>; + #phy-cells = <0x00>; + #reset-cells = <0x00>; + apple,pll-dcocfg = <0x03>; + apple,pll-dtcvreg = <0x0f>; + apple,pll-dtccal = <0x02>; + apple,pll-dcdadj = <0x10>; + apple,pll-dlfcfg = <0x03>; + apple,pclkdrv-select = <0x01>; + apple,ufp-endpoint = <0x01>; + status = "disabled"; + }; + + cio_reconfig0: cio_reset: reset-controller@280620000 { + compatible = "apple,t6050-cio-reset"; + reg = <0x02 0x80620000 0x00 0x4000>; + #reset-cells = <0x01>; + status = "okay"; + }; + + acio2_mbox: mailbox@381108000 { + compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x03 0x81108000 0x00 0x4000>; + interrupts = <0x00 0x00 0x359 0x04>, <0x00 0x00 0x35a 0x04>, <0x00 0x00 + 0x35b 0x04>, <0x00 0x00 0x35c 0x04>; + interrupt-names = "send-empty" , "send-not-empty" , "recv-empty" , + "recv-not-empty" ; + #mbox-cells = <0x00>; + status = "okay"; + }; + + acio2: acio@381ac0000 { + compatible = "apple,t6050-usb4-acio"; + reg = <0x03 0x81ac0000 0x00 0xc000>, <0x03 0x81080000 0x00 0x26000>, <0x03 + 0x81e44000 0x00 0x4000>, <0x03 0x81100000 0x00 0x4000>, <0x03 + 0x81c80000 0x00 0x4000>; + reg-names = "rc", "sram", "pcie-adapter", "cpu", "router-ap-fw"; + mboxes = <&acio2_mbox>; + resets = <&cio_reconfig0 0x02>; + power-domains = <&ps_atc2_cio + &ps_atc2_cio_pcie + &ps_atc2_cio_usb + &ps_atc2_cio_auss>; + thunderbolt-switch; + status = "okay"; + pinctrl-0 = <&acio2_lstx_pins>; + pinctrl-names = "lstx"; + lstx-gpios = <&pinctrl_aop 0x51 0x00>; + #address-cells = <0x01>; + #size-cells = <0x01>; + ranges = <0x00 0x03 0x81000000 0x1000000>; + nonposted-mmio; + apple,tunable-pcie-adapter = <0x1008 0x06 0x06>; + apple,tunable-router-ap-fw = <0x08 0xff2 0x482>; + + acio2_dart: iommu@a80000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0xa80000 0xc000>; + interrupts = <0x00 0x00 0x686 0x04>; + power-domains = <&ps_atc2_cio>; + #iommu-cells = <0x01>; + apple,dma-range = <0x100 0x4000 0x00 0xffff0000>; + apple,bypass-sids = <0x0f>; + apple,full-error-reporting; + apple,ctc-flush; + }; + + acio2_nhi: nhi@f00000 { + compatible = "apple,t6050-usb4-nhi"; + reg = <0xf00000 0x100000>; + reg-names = "nhi"; + apple,thunderbolt-drom = [00]; + interrupts = <0x00 0x00 0x66b 0x04>, <0x00 0x00 0x66c 0x04>, <0x00 + 0x00 0x66d 0x04>, <0x00 0x00 0x66e 0x04>, <0x00 0x00 0x66f + 0x04>, <0x00 0x00 0x670 0x04>, <0x00 0x00 0x671 0x04>, <0x00 + 0x00 0x672 0x04>, <0x00 0x00 0x673 0x04>, <0x00 0x00 0x674 + 0x04>, <0x00 0x00 0x675 0x04>, <0x00 0x00 0x676 0x04>, <0x00 + 0x00 0x677 0x04>, <0x00 0x00 0x678 0x04>, <0x00 0x00 0x679 + 0x04>, <0x00 0x00 0x67a 0x04>, <0x00 0x00 0x67b 0x04>, <0x00 + 0x00 0x67c 0x04>, <0x00 0x00 0x67d 0x04>, <0x00 0x00 0x67e + 0x04>, <0x00 0x00 0x67f 0x04>, <0x00 0x00 0x680 0x04>, <0x00 + 0x00 0x681 0x04>, <0x00 0x00 0x682 0x04>, <0x00 0x00 0x688 + 0x04>; + interrupt-names = "txring0" , "txring1" , "txring2" , "txring3" , + "txring4" , "txring5" , "txring6" , "txring7" , "txring8" , + "txring9" , "txring10" , "txring11" , "rxring0" , "rxring1" + , "rxring2" , "rxring3" , "rxring4" , "rxring5" , "rxring6" + , "rxring7" , "rxring8" , "rxring9" , "rxring10" , + "rxring11" , "parity" ; + iommus = <&acio2_dart 0x00 + &acio2_dart 0x01 + &acio2_dart 0x02 + &acio2_dart 0x03 + &acio2_dart 0x04 + &acio2_dart 0x05 + &acio2_dart 0x06 + &acio2_dart 0x07 + &acio2_dart 0x08 + &acio2_dart 0x09 + &acio2_dart 0x0a + &acio2_dart 0x0b + &acio2_dart 0x10 + &acio2_dart 0x11 + &acio2_dart 0x12 + &acio2_dart 0x13 + &acio2_dart 0x14 + &acio2_dart 0x15 + &acio2_dart 0x16 + &acio2_dart 0x17 + &acio2_dart 0x18 + &acio2_dart 0x19 + &acio2_dart 0x1a + &acio2_dart 0x1b>; + }; + + ports { + #address-cells = <0x01>; + #size-cells = <0x00>; + + port@1 { + reg = <0x01>; + + endpoint { + remote-endpoint = <&hpm2_usb4>; + }; + }; + }; + }; + + acio0_mbox: mailbox@2a1108000 { + compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x02 0xa1108000 0x00 0x4000>; + interrupts = <0x00 0x00 0x345 0x04>, <0x00 0x00 0x346 0x04>, <0x00 0x00 + 0x347 0x04>, <0x00 0x00 0x348 0x04>; + interrupt-names = "send-empty" , "send-not-empty" , "recv-empty" , + "recv-not-empty" ; + #mbox-cells = <0x00>; + status = "okay"; + }; + + acio0: acio@2a1ac0000 { + compatible = "apple,t6050-usb4-acio"; + reg = <0x02 0xa1ac0000 0x00 0xc000>, <0x02 0xa1080000 0x00 0x26000>, <0x02 + 0xa1e44000 0x00 0x4000>, <0x02 0xa1100000 0x00 0x4000>, <0x02 + 0xa1c80000 0x00 0x4000>; + reg-names = "rc", "sram", "pcie-adapter", "cpu", "router-ap-fw"; + mboxes = <&acio0_mbox>; + resets = <&cio_reconfig0 0x00>; + power-domains = <&ps_atc0_cio + &ps_atc0_cio_pcie + &ps_atc0_cio_usb + &ps_atc0_cio_auss>; + thunderbolt-switch; + status = "okay"; + pinctrl-0 = <&acio0_lstx_pins>; + pinctrl-names = "lstx"; + lstx-gpios = <&pinctrl_aop 0x4d 0x00>; + #address-cells = <0x01>; + #size-cells = <0x01>; + ranges = <0x00 0x02 0xa1000000 0x1000000>; + nonposted-mmio; + apple,tunable-pcie-adapter = <0x1008 0x06 0x06>; + apple,tunable-router-ap-fw = <0x08 0xff2 0x482>; + + acio0_dart: iommu@a80000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0xa80000 0xc000>; + interrupts = <0x00 0x00 0x646 0x04>; + power-domains = <&ps_atc0_cio>; + #iommu-cells = <0x01>; + apple,dma-range = <0x100 0x4000 0x00 0xffff0000>; + apple,bypass-sids = <0x0f>; + apple,full-error-reporting; + apple,ctc-flush; + }; + + acio0_nhi: nhi@f00000 { + compatible = "apple,t6050-usb4-nhi"; + reg = <0xf00000 0x100000>; + reg-names = "nhi"; + apple,thunderbolt-drom = [00]; + interrupts = <0x00 0x00 0x62b 0x04>, <0x00 0x00 0x62c 0x04>, <0x00 + 0x00 0x62d 0x04>, <0x00 0x00 0x62e 0x04>, <0x00 0x00 0x62f + 0x04>, <0x00 0x00 0x630 0x04>, <0x00 0x00 0x631 0x04>, <0x00 + 0x00 0x632 0x04>, <0x00 0x00 0x633 0x04>, <0x00 0x00 0x634 + 0x04>, <0x00 0x00 0x635 0x04>, <0x00 0x00 0x636 0x04>, <0x00 + 0x00 0x637 0x04>, <0x00 0x00 0x638 0x04>, <0x00 0x00 0x639 + 0x04>, <0x00 0x00 0x63a 0x04>, <0x00 0x00 0x63b 0x04>, <0x00 + 0x00 0x63c 0x04>, <0x00 0x00 0x63d 0x04>, <0x00 0x00 0x63e + 0x04>, <0x00 0x00 0x63f 0x04>, <0x00 0x00 0x640 0x04>, <0x00 + 0x00 0x641 0x04>, <0x00 0x00 0x642 0x04>, <0x00 0x00 0x648 + 0x04>; + interrupt-names = "txring0" , "txring1" , "txring2" , "txring3" , + "txring4" , "txring5" , "txring6" , "txring7" , "txring8" , + "txring9" , "txring10" , "txring11" , "rxring0" , "rxring1" + , "rxring2" , "rxring3" , "rxring4" , "rxring5" , "rxring6" + , "rxring7" , "rxring8" , "rxring9" , "rxring10" , + "rxring11" , "parity" ; + iommus = <&acio0_dart 0x00 + &acio0_dart 0x01 + &acio0_dart 0x02 + &acio0_dart 0x03 + &acio0_dart 0x04 + &acio0_dart 0x05 + &acio0_dart 0x06 + &acio0_dart 0x07 + &acio0_dart 0x08 + &acio0_dart 0x09 + &acio0_dart 0x0a + &acio0_dart 0x0b + &acio0_dart 0x10 + &acio0_dart 0x11 + &acio0_dart 0x12 + &acio0_dart 0x13 + &acio0_dart 0x14 + &acio0_dart 0x15 + &acio0_dart 0x16 + &acio0_dart 0x17 + &acio0_dart 0x18 + &acio0_dart 0x19 + &acio0_dart 0x1a + &acio0_dart 0x1b>; + }; + + ports { + #address-cells = <0x01>; + #size-cells = <0x00>; + + port@1 { + reg = <0x01>; + + endpoint { + remote-endpoint = <&hpm0_usb4>; + }; + }; + }; + }; + + acio1_mbox: mailbox@2a9108000 { + compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x02 0xa9108000 0x00 0x4000>; + interrupts = <0x00 0x00 0x34f 0x04>, <0x00 0x00 0x350 0x04>, <0x00 0x00 + 0x351 0x04>, <0x00 0x00 0x352 0x04>; + interrupt-names = "send-empty" , "send-not-empty" , "recv-empty" , + "recv-not-empty" ; + #mbox-cells = <0x00>; + status = "okay"; + }; + + acio1: acio@2a9ac0000 { + compatible = "apple,t6050-usb4-acio"; + reg = <0x02 0xa9ac0000 0x00 0xc000>, <0x02 0xa9080000 0x00 0x26000>, <0x02 + 0xa9e44000 0x00 0x4000>, <0x02 0xa9100000 0x00 0x4000>, <0x02 + 0xa9c80000 0x00 0x4000>; + reg-names = "rc", "sram", "pcie-adapter", "cpu", "router-ap-fw"; + mboxes = <&acio1_mbox>; + resets = <&cio_reconfig0 0x01>; + power-domains = <&ps_atc1_cio + &ps_atc1_cio_pcie + &ps_atc1_cio_usb + &ps_atc1_cio_auss>; + thunderbolt-switch; + status = "okay"; + pinctrl-0 = <&acio1_lstx_pins>; + pinctrl-names = "lstx"; + lstx-gpios = <&pinctrl_aop 0x4f 0x00>; + #address-cells = <0x01>; + #size-cells = <0x01>; + ranges = <0x00 0x02 0xa9000000 0x1000000>; + nonposted-mmio; + apple,tunable-pcie-adapter = <0x1008 0x06 0x06>; + apple,tunable-router-ap-fw = <0x08 0xff2 0x482>; + + acio1_dart: iommu@a80000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0xa80000 0xc000>; + interrupts = <0x00 0x00 0x666 0x04>; + power-domains = <&ps_atc1_cio>; + #iommu-cells = <0x01>; + apple,dma-range = <0x100 0x4000 0x00 0xffff0000>; + apple,bypass-sids = <0x0f>; + apple,full-error-reporting; + apple,ctc-flush; + }; + + acio1_nhi: nhi@f00000 { + compatible = "apple,t6050-usb4-nhi"; + reg = <0xf00000 0x100000>; + reg-names = "nhi"; + apple,thunderbolt-drom = [00]; + interrupts = <0x00 0x00 0x64b 0x04>, <0x00 0x00 0x64c 0x04>, <0x00 + 0x00 0x64d 0x04>, <0x00 0x00 0x64e 0x04>, <0x00 0x00 0x64f + 0x04>, <0x00 0x00 0x650 0x04>, <0x00 0x00 0x651 0x04>, <0x00 + 0x00 0x652 0x04>, <0x00 0x00 0x653 0x04>, <0x00 0x00 0x654 + 0x04>, <0x00 0x00 0x655 0x04>, <0x00 0x00 0x656 0x04>, <0x00 + 0x00 0x657 0x04>, <0x00 0x00 0x658 0x04>, <0x00 0x00 0x659 + 0x04>, <0x00 0x00 0x65a 0x04>, <0x00 0x00 0x65b 0x04>, <0x00 + 0x00 0x65c 0x04>, <0x00 0x00 0x65d 0x04>, <0x00 0x00 0x65e + 0x04>, <0x00 0x00 0x65f 0x04>, <0x00 0x00 0x660 0x04>, <0x00 + 0x00 0x661 0x04>, <0x00 0x00 0x662 0x04>, <0x00 0x00 0x668 + 0x04>; + interrupt-names = "txring0" , "txring1" , "txring2" , "txring3" , + "txring4" , "txring5" , "txring6" , "txring7" , "txring8" , + "txring9" , "txring10" , "txring11" , "rxring0" , "rxring1" + , "rxring2" , "rxring3" , "rxring4" , "rxring5" , "rxring6" + , "rxring7" , "rxring8" , "rxring9" , "rxring10" , + "rxring11" , "parity" ; + iommus = <&acio1_dart 0x00 + &acio1_dart 0x01 + &acio1_dart 0x02 + &acio1_dart 0x03 + &acio1_dart 0x04 + &acio1_dart 0x05 + &acio1_dart 0x06 + &acio1_dart 0x07 + &acio1_dart 0x08 + &acio1_dart 0x09 + &acio1_dart 0x0a + &acio1_dart 0x0b + &acio1_dart 0x10 + &acio1_dart 0x11 + &acio1_dart 0x12 + &acio1_dart 0x13 + &acio1_dart 0x14 + &acio1_dart 0x15 + &acio1_dart 0x16 + &acio1_dart 0x17 + &acio1_dart 0x18 + &acio1_dart 0x19 + &acio1_dart 0x1a + &acio1_dart 0x1b>; + }; + + ports { + #address-cells = <0x01>; + #size-cells = <0x00>; + + port@1 { + reg = <0x01>; + + endpoint { + remote-endpoint = <&hpm1_usb4>; + }; + }; + }; + }; + + acio3_mbox: mailbox@389108000 { + compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x03 0x89108000 0x00 0x4000>; + interrupts = <0x00 0x00 0x363 0x04>, <0x00 0x00 0x364 0x04>, <0x00 0x00 + 0x365 0x04>, <0x00 0x00 0x366 0x04>; + interrupt-names = "send-empty" , "send-not-empty" , "recv-empty" , + "recv-not-empty" ; + #mbox-cells = <0x00>; + status = "okay"; + }; + + acio3: acio@389ac0000 { + compatible = "apple,t6050-usb4-acio"; + reg = <0x03 0x89ac0000 0x00 0xc000>, <0x03 0x89080000 0x00 0x26000>, <0x03 + 0x89e44000 0x00 0x4000>, <0x03 0x89100000 0x00 0x4000>, <0x03 + 0x89c80000 0x00 0x4000>; + reg-names = "rc", "sram", "pcie-adapter", "cpu", "router-ap-fw"; + mboxes = <&acio3_mbox>; + resets = <&cio_reconfig0 0x03>; + power-domains = <&ps_atc3_cio + &ps_atc3_cio_pcie + &ps_atc3_cio_usb + &ps_atc3_cio_auss>; + thunderbolt-switch; + status = "okay"; + pinctrl-0 = <&acio3_lstx_pins>; + pinctrl-names = "lstx"; + lstx-gpios = <&pinctrl_aop 0x53 0x00>; + #address-cells = <0x01>; + #size-cells = <0x01>; + ranges = <0x00 0x03 0x89000000 0x1000000>; + nonposted-mmio; + apple,tunable-pcie-adapter = <0x1008 0x06 0x06>; + apple,tunable-router-ap-fw = <0x08 0xff2 0x482>; + + acio3_dart: iommu@a80000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0xa80000 0xc000>; + interrupts = <0x00 0x00 0x6a6 0x04>; + power-domains = <&ps_atc3_cio>; + #iommu-cells = <0x01>; + apple,dma-range = <0x100 0x4000 0x00 0xffff0000>; + apple,bypass-sids = <0x0f>; + apple,full-error-reporting; + apple,ctc-flush; + }; + + acio3_nhi: nhi@f00000 { + compatible = "apple,t6050-usb4-nhi"; + reg = <0xf00000 0x100000>; + reg-names = "nhi"; + apple,thunderbolt-drom = [00]; + interrupts = <0x00 0x00 0x68b 0x04>, <0x00 0x00 0x68c 0x04>, <0x00 + 0x00 0x68d 0x04>, <0x00 0x00 0x68e 0x04>, <0x00 0x00 0x68f + 0x04>, <0x00 0x00 0x690 0x04>, <0x00 0x00 0x691 0x04>, <0x00 + 0x00 0x692 0x04>, <0x00 0x00 0x693 0x04>, <0x00 0x00 0x694 + 0x04>, <0x00 0x00 0x695 0x04>, <0x00 0x00 0x696 0x04>, <0x00 + 0x00 0x697 0x04>, <0x00 0x00 0x698 0x04>, <0x00 0x00 0x699 + 0x04>, <0x00 0x00 0x69a 0x04>, <0x00 0x00 0x69b 0x04>, <0x00 + 0x00 0x69c 0x04>, <0x00 0x00 0x69d 0x04>, <0x00 0x00 0x69e + 0x04>, <0x00 0x00 0x69f 0x04>, <0x00 0x00 0x6a0 0x04>, <0x00 + 0x00 0x6a1 0x04>, <0x00 0x00 0x6a2 0x04>, <0x00 0x00 0x6a8 + 0x04>; + interrupt-names = "txring0" , "txring1" , "txring2" , "txring3" , + "txring4" , "txring5" , "txring6" , "txring7" , "txring8" , + "txring9" , "txring10" , "txring11" , "rxring0" , "rxring1" + , "rxring2" , "rxring3" , "rxring4" , "rxring5" , "rxring6" + , "rxring7" , "rxring8" , "rxring9" , "rxring10" , + "rxring11" , "parity" ; + iommus = <&acio3_dart 0x00 + &acio3_dart 0x01 + &acio3_dart 0x02 + &acio3_dart 0x03 + &acio3_dart 0x04 + &acio3_dart 0x05 + &acio3_dart 0x06 + &acio3_dart 0x07 + &acio3_dart 0x08 + &acio3_dart 0x09 + &acio3_dart 0x0a + &acio3_dart 0x0b + &acio3_dart 0x10 + &acio3_dart 0x11 + &acio3_dart 0x12 + &acio3_dart 0x13 + &acio3_dart 0x14 + &acio3_dart 0x15 + &acio3_dart 0x16 + &acio3_dart 0x17 + &acio3_dart 0x18 + &acio3_dart 0x19 + &acio3_dart 0x1a + &acio3_dart 0x1b>; + }; + + ports { + #address-cells = <0x01>; + #size-cells = <0x00>; + + port@1 { + reg = <0x01>; + + endpoint { + remote-endpoint = <&hpm3_usb4>; + }; + }; + }; + }; + + aux@29c260000 { + compatible = "apple,t6050-dptx-aux", "apple,dptx-aux"; + reg = <0x02 0x9c260000 0x00 0x4000 0x02 0x9c260000 0x00 0x4000>; + power-domains = <&{/soc/power-management@280900000/power-controller@108}>; + status = "disabled"; + }; + + aux@29c264000 { + compatible = "apple,t6050-dptx-aux", "apple,dptx-aux"; + reg = <0x02 0x9c264000 0x00 0x4000 0x02 0x9c264000 0x00 0x4000>; + power-domains = <&{/soc/power-management@280900000/power-controller@110}>; + status = "disabled"; + }; + + iommu@48a300000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x04 0x8a300000 0x00 0xc000 0x04 0x8a314000 0x00 0x4000>; + interrupts = <0x00 0x00 0x3de 0x04>; + #iommu-cells = <0x01>; + status = "disabled"; + }; + + dcp-expert@48a3ac058 { + compatible = "apple,t6050-dcp-expert", "apple,dcp-expert"; + reg = <0x04 0x8a3ac058 0x00 0x04 0x04 0x8a374000 0x00 0x40 0x04 0x8a370000 + 0x00 0x40 0x04 0x8a388000 0x00 0x40 0x04 0x8a38c000 0x00 0x40 0x04 + 0x8a394000 0x00 0x40 0x04 0x8a398000 0x00 0x40 0x04 0x8a39c000 0x00 + 0x40 0x04 0x8a3a0000 0x00 0x40 0x04 0x88208000 0x00 0x40 0x04 + 0x8820c000 0x00 0x40 0x04 0x88210000 0x00 0x40 0x04 0x88214000 0x00 + 0x40>; + interrupts = <0x00 0x00 0x3d9 0x04>; + status = "disabled"; + }; + + mailbox@48ae08000 { + compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x04 0x8ae08000 0x00 0x4000>; + interrupts = <0x00 0x00 0x413 0x04 0x00 0x00 0x414 0x04 0x00 0x00 0x415 0x04 + 0x00 0x00 0x416 0x04>; + interrupt-names = "send-empty" , "send-not-empty" , "recv-empty" , + "recv-not-empty" ; + #mbox-cells = <0x00>; + status = "disabled"; + }; + + iommu@48a340000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x04 0x8a340000 0x00 0x20000>; + interrupts = <0x00 0x00 0x3de 0x04>; + #iommu-cells = <0x01>; + status = "disabled"; + }; + + iommu@48a180000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x04 0x8a180000 0x00 0x20000>; + interrupts = <0x00 0x00 0x3f5 0x04>; + #iommu-cells = <0x01>; + status = "disabled"; + }; + + dma-controller@48a140000 { + compatible = "apple,t6050-admac", "apple,t8140-admac"; + reg = <0x04 0x8a140000 0x00 0x24000>; + dma-channels = <0x01>; + interrupts-extended = <&aic 0x00 0x00 + 0x3f4 0x04 0x00 0x00 0x00>; + iommus = <&{/soc/iommu@48a180000} 0x1e>; + #dma-cells = <0x01>; + status = "disabled"; + }; + + dma-control@48a2f4000 { + compatible = "apple,t6050-admac-control", "apple,admac-control"; + reg = <0x04 0x8a2f4000 0x00 0x4000 0x04 0x8a1a0000 0x00 0x4000>; + interrupts = <0x00 0x00 0x3f6 0x04>; + status = "disabled"; + }; + + dcp-expert@2b23ac058 { + compatible = "apple,t6050-dcp-expert", "apple,dcp-expert"; + reg = <0x02 0xb23ac058 0x00 0x04 0x02 0xb2374000 0x00 0x40 0x02 0xb2370000 + 0x00 0x40>; + interrupts = <0x00 0x00 0x429 0x04>; + status = "disabled"; + }; + + dma-control@2b22f4000 { + compatible = "apple,t6050-admac-control", "apple,admac-control"; + reg = <0x02 0xb22f4000 0x00 0x4000 0x02 0xb21a0000 0x00 0x4000>; + interrupts = <0x00 0x00 0x446 0x04>; + status = "disabled"; + }; + + dcp-expert@3923ac058 { + compatible = "apple,t6050-dcp-expert", "apple,dcp-expert"; + reg = <0x03 0x923ac058 0x00 0x04 0x03 0x92374000 0x00 0x40 0x03 0x92370000 + 0x00 0x40>; + interrupts = <0x00 0x00 0x471 0x04>; + status = "disabled"; + }; + + dma-control@3922f4000 { + compatible = "apple,t6050-admac-control", "apple,admac-control"; + reg = <0x03 0x922f4000 0x00 0x4000 0x03 0x921a0000 0x00 0x4000>; + interrupts = <0x00 0x00 0x48e 0x04>; + status = "disabled"; + }; + + dcp-expert@3023ac058 { + compatible = "apple,t6050-dcp-expert", "apple,dcp-expert"; + reg = <0x03 0x23ac058 0x00 0x04 0x03 0x2374000 0x00 0x40 0x03 0x2370000 0x00 + 0x40>; + interrupts = <0x00 0x00 0x4b9 0x04>; + status = "disabled"; + }; + + mailbox@302e08000 { + compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x03 0x2e08000 0x00 0x4000>; + interrupts = <0x00 0x00 0x4f3 0x04 0x00 0x00 0x4f4 0x04 0x00 0x00 0x4f5 0x04 + 0x00 0x00 0x4f6 0x04>; + interrupt-names = "send-empty" , "send-not-empty" , "recv-empty" , + "recv-not-empty" ; + #mbox-cells = <0x00>; + status = "disabled"; + }; + + dcp@302e00000 { + compatible = "apple,t6050-dcpext", "apple,dcpext"; + reg = <0x03 0x2e00000 0x00 0x4000 0x03 0x00 0x00 0x4000000 0x03 0x2240000 + 0x00 0x10000 0x03 0x23ac000 0x00 0x4000 0x03 0x2800000 0x00 0x800000 + 0x02 0x86700000 0x00 0x114000 0x03 0x2850000 0x00 0x4000>; + reg-names = "coproc" , "disp-0" , "disp-1" , "disp-2" , "disp-3" , "disp-4" + , "iop-vbar" ; + mboxes = <&{/soc/mailbox@302e08000}>; + mbox-names = "mbox"; + iommus = <&{/soc/iommu@302340000} 0x17>; + status = "disabled"; + + piodma { + iommus = <&{/soc/iommu@302300000} 0x10>; + }; + }; + + iommu@302340000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x03 0x2340000 0x00 0x20000>; + interrupts = <0x00 0x00 0x4be 0x04>; + #iommu-cells = <0x01>; + status = "disabled"; + }; + + iommu@302300000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x03 0x2300000 0x00 0xc000 0x03 0x2314000 0x00 0x4000>; + interrupts = <0x00 0x00 0x4be 0x04>; + #iommu-cells = <0x01>; + status = "disabled"; + }; + + iommu@302180000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x03 0x2180000 0x00 0x20000>; + interrupts = <0x00 0x00 0x4d5 0x04>; + #iommu-cells = <0x01>; + status = "disabled"; + }; + + dma-controller@302140000 { + compatible = "apple,t6050-admac", "apple,t8140-admac"; + reg = <0x03 0x2140000 0x00 0x24000>; + dma-channels = <0x01>; + interrupts-extended = <&aic 0x00 0x00 + 0x4d4 0x04 0x00 0x00 0x00>; + iommus = <&{/soc/iommu@302180000} 0x1e>; + #dma-cells = <0x01>; + status = "disabled"; + }; + + dma-control@3022f4000 { + compatible = "apple,t6050-admac-control", "apple,admac-control"; + reg = <0x03 0x22f4000 0x00 0x4000 0x03 0x21a0000 0x00 0x4000>; + interrupts = <0x00 0x00 0x4d6 0x04>; + status = "disabled"; + }; + + dcp-expert@3063ac058 { + compatible = "apple,t6050-dcp-expert", "apple,dcp-expert"; + reg = <0x03 0x63ac058 0x00 0x04 0x03 0x6374000 0x00 0x40 0x03 0x6370000 0x00 + 0x40>; + interrupts = <0x00 0x00 0x501 0x04>; + status = "disabled"; + }; + + mailbox@306e08000 { + compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x03 0x6e08000 0x00 0x4000>; + interrupts = <0x00 0x00 0x53b 0x04 0x00 0x00 0x53c 0x04 0x00 0x00 0x53d 0x04 + 0x00 0x00 0x53e 0x04>; + interrupt-names = "send-empty" , "send-not-empty" , "recv-empty" , + "recv-not-empty" ; + #mbox-cells = <0x00>; + status = "disabled"; + }; + + dcp@306e00000 { + compatible = "apple,t6050-dcpext", "apple,dcpext"; + reg = <0x03 0x6e00000 0x00 0x4000 0x03 0x4000000 0x00 0x4000000 0x03 + 0x6240000 0x00 0x10000 0x03 0x63ac000 0x00 0x4000 0x03 0x6800000 + 0x00 0x800000 0x02 0x86700000 0x00 0x114000 0x03 0x6850000 0x00 + 0x4000>; + reg-names = "coproc" , "disp-0" , "disp-1" , "disp-2" , "disp-3" , "disp-4" + , "iop-vbar" ; + mboxes = <&{/soc/mailbox@306e08000}>; + mbox-names = "mbox"; + iommus = <&{/soc/iommu@306340000} 0x17>; + status = "disabled"; + + piodma { + iommus = <&{/soc/iommu@306300000} 0x10>; + }; + }; + + iommu@306340000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x03 0x6340000 0x00 0x20000>; + interrupts = <0x00 0x00 0x506 0x04>; + #iommu-cells = <0x01>; + status = "disabled"; + }; + + iommu@306300000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x03 0x6300000 0x00 0xc000 0x03 0x6314000 0x00 0x4000>; + interrupts = <0x00 0x00 0x506 0x04>; + #iommu-cells = <0x01>; + status = "disabled"; + }; + + iommu@306180000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x03 0x6180000 0x00 0x20000>; + interrupts = <0x00 0x00 0x51d 0x04>; + #iommu-cells = <0x01>; + status = "disabled"; + }; + + dma-controller@306140000 { + compatible = "apple,t6050-admac", "apple,t8140-admac"; + reg = <0x03 0x6140000 0x00 0x24000>; + dma-channels = <0x01>; + interrupts-extended = <&aic 0x00 0x00 + 0x51c 0x04 0x00 0x00 0x00>; + iommus = <&{/soc/iommu@306180000} 0x1e>; + #dma-cells = <0x01>; + status = "disabled"; + }; + + dma-control@3062f4000 { + compatible = "apple,t6050-admac-control", "apple,admac-control"; + reg = <0x03 0x62f4000 0x00 0x4000 0x03 0x61a0000 0x00 0x4000>; + interrupts = <0x00 0x00 0x51e 0x04>; + status = "disabled"; + }; + + iommu@2a4000000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x02 0xa4000000 0x00 0x20000>; + interrupts = <0x00 0x00 0x57e 0x04>; + #iommu-cells = <0x01>; + status = "disabled"; + }; + + iommu@2ac000000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x02 0xac000000 0x00 0x20000>; + interrupts = <0x00 0x00 0x59e 0x04>; + #iommu-cells = <0x01>; + status = "disabled"; + }; + + iommu@384000000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x03 0x84000000 0x00 0x20000>; + interrupts = <0x00 0x00 0x5be 0x04>; + #iommu-cells = <0x01>; + status = "disabled"; + }; + + iommu@395d60000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x03 0x95d60000 0x00 0xc000>; + interrupts = <0x00 0x00 0x927 0x04>; + #iommu-cells = <0x01>; + status = "disabled"; + power-domains = <&ps_auss>; + }; + + usb@3953f0000 { + compatible = "apple,t6050-usb-auss"; + reg = <0x03 0x953f0000 0x00 0x4600 0x03 0x95800000 0x00 0x4000 0x03 + 0x95803c00 0x00 0x4000 0x03 0x95804000 0x00 0x4000 0x03 0x94000000 + 0x00 0x8000 0x03 0x95d80000 0x00 0x4000 0x03 0x95d84000 0x00 0x4000 + 0x03 0x95e40000 0x00 0x4000 0x03 0x95e3c000 0x00 0x4000 0x03 + 0x95d98000 0x00 0x4000>; + interrupts = <0x00 0x00 0x923 0x04 0x00 0x00 0x924 0x04 0x00 0x00 0x925 0x04 + 0x00 0x00 0x926 0x04>; + iommus = <&{/soc/iommu@395d60000} 0x00>; + power-domains = <&ps_auss>; + status = "disabled"; + }; + + iommu@38c000000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x03 0x8c000000 0x00 0x20000>; + interrupts = <0x00 0x00 0x5de 0x04>; + #iommu-cells = <0x01>; + status = "disabled"; + }; + + pwm@505040000 { + compatible = "apple,t6050-fpwm", "apple,s5l-fpwm"; + reg = <0x05 0x5040000 0x00 0x4000>; + clocks = <&clkref>; + power-domains = <&{/soc/power-management@280900000/power-controller@2a8}>; + #pwm-cells = <0x02>; + status = "disabled"; + }; + + pwm@505044000 { + compatible = "apple,t6050-fpwm", "apple,s5l-fpwm"; + reg = <0x05 0x5044000 0x00 0x4000>; + clocks = <&clkref>; + power-domains = <&{/soc/power-management@280900000/power-controller@2b0}>; + #pwm-cells = <0x02>; + status = "disabled"; + }; + + pwm@505048000 { + compatible = "apple,t6050-fpwm", "apple,s5l-fpwm"; + reg = <0x05 0x5048000 0x00 0x4000>; + clocks = <&clkref>; + power-domains = <&{/soc/power-management@280900000/power-controller@2b8}>; + #pwm-cells = <0x02>; + status = "disabled"; + }; + + mailbox@294608000 { + compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x02 0x94608000 0x00 0x4000>; + interrupts = <0x00 0x00 0x2a4 0x04 0x00 0x00 0x2a5 0x04 0x00 0x00 0x2a6 0x04 + 0x00 0x00 0x2a7 0x04>; + interrupt-names = "send-empty" , "send-not-empty" , "recv-empty" , + "recv-not-empty" ; + #mbox-cells = <0x00>; + }; + + /* Keep disabled: activating this MTP DART failed board qualification. */ + iommu@294800000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x02 0x94800000 0x00 0xc000>; + interrupts = <0x00 0x00 0x293 0x04>; + #iommu-cells = <0x01>; + apple,dma-range = <0x100 0x4000 0x00 0xffff0000>; + status = "disabled"; + }; + + mtp@294600000 { + compatible = "apple,t6050-mtp" , "apple,t6050-rtk-helper-asc4" , "apple,mtp" + , "apple,rtk-helper-asc4" ; + reg = <0x02 0x94600000 0x00 0x4000 0x02 0x94c00000 0x00 0xc4000>; + reg-names = "asc", "sram"; + mboxes = <&{/soc/mailbox@294608000}>; + iommus = <&{/soc/iommu@294800000} 0x00>; + #helper-cells = <0x00>; + }; + + fifo@294b14000 { + compatible = "apple,t6050-dockchannel", "apple,dockchannel"; + reg = <0x02 0x94b14000 0x00 0x1000>; + reg-names = "irq"; + interrupts = <0x00 0x00 0x294 0x04>; + ranges = <0x00 0x02 0x94b28000 0x10000>; + nonposted-mmio; + #address-cells = <0x01>; + #size-cells = <0x01>; + interrupt-controller; + #interrupt-cells = <0x02>; + }; + + sep@502600000 { + compatible = "apple,t6050-sep", "apple,sep"; + reg = <0x05 0x2600000 0x00 0x88000 0x05 0x2050000 0x00 0x4000>; + mboxes = <&{/soc/mailbox@502608000}>; + mbox-names = "mbox"; + iommus = <&{/soc/iommu@500b80000} 0x00>; + power-domains = <&{/soc/power-management@280900000/power-controller@298}>; + clocks = <&{/soc/clock-controller@280600000} 0x1bf>; + status = "disabled"; + }; + + mailbox@502608000 { + compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x05 0x2608000 0x00 0x4000>; + interrupts = <0x00 0x00 0x215 0x04 0x00 0x00 0x216 0x04 0x00 0x00 0x217 0x04 + 0x00 0x00 0x218 0x04>; + interrupt-names = "send-empty" , "send-not-empty" , "recv-empty" , + "recv-not-empty" ; + #mbox-cells = <0x00>; + status = "disabled"; + }; + + iommu@500b80000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x05 0xb80000 0x00 0x20000>; + interrupts = <0x00 0x00 0x21f 0x04>; + #iommu-cells = <0x01>; + apple,dma-range = <0x100 0x4000 0x00 0xffff0000>; + apple,dma-offset = <0x00 0x00>; + status = "disabled"; + }; + + clock-controller@280600000 { + compatible = "apple,t6050-pmgr-clocks", "apple,pmgr-clocks"; + reg = <0x02 0x80600000 0x00 0x1fc000 0x02 0x80900000 0x00 0x58000 0x02 + 0x80000000 0x00 0x80000 0x02 0x80210000 0x00 0x8000 0x02 0x80200000 + 0x00 0x4000 0x02 0x806f0000 0x00 0x4000 0x02 0x84000000 0x00 0x8000 + 0x02 0x84240000 0x00 0x40000 0x02 0x86000000 0x00 0x1000000 0x02 + 0x88300000 0x00 0x84000 0x02 0x88200000 0x00 0x80000 0x02 0x88f00000 + 0x00 0x18000 0x02 0x88000000 0x00 0x24000 0x02 0x88e00000 0x00 + 0xa8000 0x02 0x88360000 0x00 0x4000 0x05 0x9878000 0x00 0x4000 0x02 + 0x10e20000 0x00 0x12e8 0x02 0x10e40000 0x00 0xc020 0x02 0x10e50000 + 0x00 0x9048 0x02 0x10e70000 0x00 0xffe8 0x02 0x10050000 0x00 0x9018 + 0x02 0x10150000 0x00 0x9018 0x02 0x10250000 0x00 0x9018 0x02 + 0x10350000 0x00 0x9018 0x02 0x10450000 0x00 0x9018 0x02 0x10550000 + 0x00 0x9018 0x02 0x11e20000 0x00 0x12e8 0x02 0x11e40000 0x00 0xc020 + 0x02 0x11e50000 0x00 0x9048 0x02 0x11e70000 0x00 0xffe8 0x02 + 0x11050000 0x00 0x9018 0x02 0x11150000 0x00 0x9018 0x02 0x11250000 + 0x00 0x9018 0x02 0x11350000 0x00 0x9018 0x02 0x11450000 0x00 0x9018 + 0x02 0x11550000 0x00 0x9018 0x02 0x12e20000 0x00 0x12e8 0x02 + 0x12e40000 0x00 0xc020 0x02 0x12e50000 0x00 0x9048 0x02 0x12e70000 + 0x00 0xffe8 0x02 0x12050000 0x00 0x9018 0x02 0x12150000 0x00 0x9018 + 0x02 0x12250000 0x00 0x9018 0x02 0x12350000 0x00 0x9018 0x02 + 0x12450000 0x00 0x9018 0x02 0x12550000 0x00 0x9018 0x23 0x80600000 + 0x00 0x1e8000 0x23 0x80000000 0x00 0x80000 0x23 0x84000000 0x00 + 0x8000 0x23 0x88300000 0x00 0x84000 0x23 0x88200000 0x00 0x80000 + 0x23 0xe80000 0x00 0x30000 0x23 0xec0000 0x00 0x8000 0x23 0xed0000 + 0x00 0x8000 0x23 0xee0000 0x00 0x8000 0x23 0xef0000 0x00 0x8000 0x23 + 0xf00000 0x00 0x8000 0x23 0xe30000 0x00 0x8000 0x23 0xe70000 0x00 + 0x8000 0x23 0x88000000 0x00 0x8000>; + #clock-cells = <0x01>; + apple,pmgr = <&pmgr0>; + status = "disabled"; + }; + + spmi@28a054000 { + compatible = "apple,t6050-spmi", "apple,t8142-spmi"; + reg = <0x02 0x8a054000 0x00 0x4000 0x02 0x8a044000 0x00 0x4000 0x02 + 0x8a040000 0x00 0x4000>; + interrupts = <0x00 0x00 0x2db 0x04>; + #address-cells = <0x02>; + #size-cells = <0x00>; + status = "disabled"; + }; + + spmi@28a114000 { + compatible = "apple,t6050-spmi", "apple,t8142-spmi"; + reg = <0x02 0x8a114000 0x00 0x4000 0x02 0x8a104000 0x00 0x4000 0x02 + 0x8a100000 0x00 0x4000>; + interrupts = <0x00 0x00 0x2ea 0x04>; + #address-cells = <0x02>; + #size-cells = <0x00>; + status = "disabled"; + }; + + i2c@505024000 { + compatible = "apple,t6050-i2c", "apple,t8103-i2c"; + reg = <0x05 0x5024000 0x00 0x4000>; + interrupts = <0x00 0x00 0x564 0x04>; + power-domains = <&{/soc/power-management@280900000/power-controller@2e8}>; + clocks = <&{/soc/clock-controller@280600000} 0x04>; + #address-cells = <0x01>; + #size-cells = <0x00>; + status = "disabled"; + }; + + i2c@505010000 { + compatible = "apple,t6050-i2c", "apple,t8103-i2c"; + reg = <0x05 0x5010000 0x00 0x4000>; + interrupts = <0x00 0x00 0x55f 0x04>; + power-domains = <&{/soc/power-management@280900000/power-controller@2c0}>; + clocks = <&{/soc/clock-controller@280600000} 0x04>; + #address-cells = <0x01>; + #size-cells = <0x00>; + status = "disabled"; + }; + + i2c@505020000 { + compatible = "apple,t6050-i2c", "apple,t8103-i2c"; + reg = <0x05 0x5020000 0x00 0x4000>; + interrupts = <0x00 0x00 0x563 0x04>; + power-domains = <&{/soc/power-management@280900000/power-controller@2e0}>; + clocks = <&{/soc/clock-controller@280600000} 0x04>; + #address-cells = <0x01>; + #size-cells = <0x00>; + status = "disabled"; + }; + + i2c@505028000 { + compatible = "apple,t6050-i2c", "apple,t8103-i2c"; + reg = <0x05 0x5028000 0x00 0x4000>; + interrupts = <0x00 0x00 0x565 0x04>; + power-domains = <&{/soc/power-management@280900000/power-controller@2f0}>; + clocks = <&{/soc/clock-controller@280600000} 0x04>; + #address-cells = <0x01>; + #size-cells = <0x00>; + status = "disabled"; + }; + + i2c@505030000 { + compatible = "apple,t6050-i2c", "apple,t8103-i2c"; + reg = <0x05 0x5030000 0x00 0x4000>; + interrupts = <0x00 0x00 0x567 0x04>; + power-domains = <&{/soc/power-management@280900000/power-controller@300}>; + clocks = <&{/soc/clock-controller@280600000} 0x04>; + #address-cells = <0x01>; + #size-cells = <0x00>; + status = "disabled"; + }; + + dma-controller@410030000 { + compatible = "apple,t6050-pcie-piodma", "apple,pcie-piodma"; + reg = <0x04 0x10030000 0x00 0x4000 0x04 0x10034000 0x00 0x4000 0x04 + 0x10038000 0x00 0x4000>; + interrupts = <0x00 0x00 0x5f5 0x04>; + iommus = <&dart_apcie0 0x11>; + status = "disabled"; + }; + + dma-controller@411030000 { + compatible = "apple,t6050-pcie-piodma", "apple,pcie-piodma"; + reg = <0x04 0x11030000 0x00 0x4000 0x04 0x11034000 0x00 0x4000 0x04 + 0x11038000 0x00 0x4000>; + interrupts = <0x00 0x00 0x5fd 0x04>; + iommus = <&dart_apcie1 0x11>; + status = "disabled"; + }; + + dma-controller@2a4068000 { + compatible = "apple,t6050-pciec-piodma", "apple,pciec-piodma"; + reg = <0x02 0xa4068000 0x00 0x4000 0x02 0xa406c000 0x00 0x4000 0x02 + 0xa4070000 0x00 0x4000 0x02 0xa403c000 0x00 0x4000>; + interrupts = <0x00 0x00 0x57f 0x04>; + iommus = <&{/soc/iommu@2a4000000} 0xfe>; + status = "disabled"; + }; + + dma-controller@2ac068000 { + compatible = "apple,t6050-pciec-piodma", "apple,pciec-piodma"; + reg = <0x02 0xac068000 0x00 0x4000 0x02 0xac06c000 0x00 0x4000 0x02 + 0xac070000 0x00 0x4000 0x02 0xac03c000 0x00 0x4000>; + interrupts = <0x00 0x00 0x59f 0x04>; + iommus = <&{/soc/iommu@2ac000000} 0xfe>; + status = "disabled"; + }; + + dma-controller@384068000 { + compatible = "apple,t6050-pciec-piodma", "apple,pciec-piodma"; + reg = <0x03 0x84068000 0x00 0x4000 0x03 0x8406c000 0x00 0x4000 0x03 + 0x84070000 0x00 0x4000 0x03 0x8403c000 0x00 0x4000>; + interrupts = <0x00 0x00 0x5bf 0x04>; + iommus = <&{/soc/iommu@384000000} 0xfe>; + status = "disabled"; + }; + + dpin@2a1e50000 { + compatible = "apple,t6050-dpin", "apple,dpin"; + reg = <0x02 0xa1e50000 0x00 0x4000>; + interrupts = <0x00 0x00 0x643 0x04>; + status = "disabled"; + }; + + dpin@2a1e58000 { + compatible = "apple,t6050-dpin", "apple,dpin"; + reg = <0x02 0xa1e58000 0x00 0x4000>; + interrupts = <0x00 0x00 0x644 0x04>; + status = "disabled"; + }; + + dpin@2a1e68000 { + compatible = "apple,t6050-dpin", "apple,dpin"; + reg = <0x02 0xa1e68000 0x00 0x4000>; + interrupts = <0x00 0x00 0x649 0x04>; + status = "disabled"; + }; + + dpin@2a1e70000 { + compatible = "apple,t6050-dpin", "apple,dpin"; + reg = <0x02 0xa1e70000 0x00 0x4000>; + interrupts = <0x00 0x00 0x64a 0x04>; + status = "disabled"; + }; + + dpin@2a9e50000 { + compatible = "apple,t6050-dpin", "apple,dpin"; + reg = <0x02 0xa9e50000 0x00 0x4000>; + interrupts = <0x00 0x00 0x663 0x04>; + status = "disabled"; + }; + + dpin@2a9e58000 { + compatible = "apple,t6050-dpin", "apple,dpin"; + reg = <0x02 0xa9e58000 0x00 0x4000>; + interrupts = <0x00 0x00 0x664 0x04>; + status = "disabled"; + }; + + dpin@2a9e68000 { + compatible = "apple,t6050-dpin", "apple,dpin"; + reg = <0x02 0xa9e68000 0x00 0x4000>; + interrupts = <0x00 0x00 0x669 0x04>; + status = "disabled"; + }; + + dpin@2a9e70000 { + compatible = "apple,t6050-dpin", "apple,dpin"; + reg = <0x02 0xa9e70000 0x00 0x4000>; + interrupts = <0x00 0x00 0x66a 0x04>; + status = "disabled"; + }; + + dpin@381e50000 { + compatible = "apple,t6050-dpin", "apple,dpin"; + reg = <0x03 0x81e50000 0x00 0x4000>; + interrupts = <0x00 0x00 0x683 0x04>; + status = "disabled"; + }; + + dpin@381e58000 { + compatible = "apple,t6050-dpin", "apple,dpin"; + reg = <0x03 0x81e58000 0x00 0x4000>; + interrupts = <0x00 0x00 0x684 0x04>; + status = "disabled"; + }; + + dpin@381e68000 { + compatible = "apple,t6050-dpin", "apple,dpin"; + reg = <0x03 0x81e68000 0x00 0x4000>; + interrupts = <0x00 0x00 0x689 0x04>; + status = "disabled"; + }; + + dpin@381e70000 { + compatible = "apple,t6050-dpin", "apple,dpin"; + reg = <0x03 0x81e70000 0x00 0x4000>; + interrupts = <0x00 0x00 0x68a 0x04>; + status = "disabled"; + }; + + aic-timebase@280580000 { + compatible = "apple,t6050-aic-timebase", "apple,aic-timebase"; + reg = <0x02 0x80580000 0x00 0x1000>; + status = "disabled"; + }; + + error-handler@2220000000 { + compatible = "apple,t6050-error-handler", "apple,soc-error-handler"; + reg = <0x22 0x20000000 0x00 0x240000 0x22 0x20270000 0x00 0x1d0000 0x22 + 0x20600000 0x00 0x40000 0x22 0x20670000 0x00 0x1d0000 0x22 + 0x22000000 0x00 0x240000 0x22 0x22270000 0x00 0x1d0000 0x22 + 0x22600000 0x00 0x40000 0x22 0x22670000 0x00 0x1d0000 0x02 + 0x80000000 0x00 0x80000 0x02 0x80650000 0x00 0x4000 0x02 0x806e0000 + 0x00 0xc000 0x02 0x80210000 0x00 0x4000 0x02 0x88374000 0x00 0x4000 + 0x02 0x86000000 0x00 0x1000000 0x02 0x84250000 0x00 0x4000 0x22 + 0x63000000 0x00 0x38000 0x22 0x64000000 0x00 0x38000 0x22 0x65000000 + 0x00 0x38000 0x02 0x63000000 0x00 0x44000 0x02 0x64000000 0x00 + 0x30000 0x02 0x65000000 0x00 0x3c000 0x02 0x66000000 0x00 0x34000 + 0x02 0x67000000 0x00 0x38000 0x02 0x68000000 0x00 0x38000 0x02 + 0x69000000 0x00 0x30000 0x22 0x5a100000 0x00 0x24000 0x22 0x5b100000 + 0x00 0x24000 0x22 0x5c100000 0x00 0x24000 0x22 0x5d100000 0x00 + 0x24000 0x02 0x4f000000 0x00 0x30000 0x02 0x50000000 0x00 0x30000 + 0x02 0x51000000 0x00 0x30000 0x02 0x52000000 0x00 0x24000 0x02 + 0x62000000 0x00 0x1c000 0x22 0x62000000 0x00 0x1c000 0x22 0x5a000000 + 0x00 0x2c000 0x22 0x5b000000 0x00 0x2c000 0x22 0x5c000000 0x00 + 0x2c000 0x22 0x5d000000 0x00 0x2c000 0x22 0x5a200000 0x00 0x1c000 + 0x22 0x5a300000 0x00 0x1c000 0x22 0x5b200000 0x00 0x1c000 0x22 + 0x5b300000 0x00 0x1c000 0x02 0x6a000000 0x00 0x1c000 0x02 0x6b000000 + 0x00 0x1c000 0x02 0x6c000000 0x00 0x1c000 0x02 0x6d000000 0x00 + 0x1c000 0x22 0x66000000 0x00 0x1c000 0x22 0x67000000 0x00 0x1c000 + 0x22 0x68000000 0x00 0x1c000 0x22 0x69000000 0x00 0x1c000 0x22 + 0x75000000 0x00 0x10000 0x22 0x75010000 0x00 0x10000 0x22 0x75020000 + 0x00 0x10000 0x22 0x75030000 0x00 0x10000 0x22 0x75400000 0x00 + 0x10000 0x22 0x75410000 0x00 0x10000 0x22 0x75420000 0x00 0x10000 + 0x22 0x75430000 0x00 0x10000 0x22 0x75800000 0x00 0x10000 0x22 + 0x75810000 0x00 0x10000 0x22 0x75820000 0x00 0x10000 0x22 0x75830000 + 0x00 0x10000 0x22 0x75c00000 0x00 0x10000 0x22 0x75c10000 0x00 + 0x10000 0x22 0x75c20000 0x00 0x10000 0x22 0x75c30000 0x00 0x10000 + 0x22 0x76000000 0x00 0x10000 0x22 0x76010000 0x00 0x10000 0x22 + 0x76020000 0x00 0x10000 0x22 0x76030000 0x00 0x10000 0x22 0x76400000 + 0x00 0x10000 0x22 0x76410000 0x00 0x10000 0x22 0x76420000 0x00 + 0x10000 0x22 0x76430000 0x00 0x10000 0x22 0x76800000 0x00 0x10000 + 0x22 0x76810000 0x00 0x10000 0x22 0x76820000 0x00 0x10000 0x22 + 0x76830000 0x00 0x10000 0x22 0x76c00000 0x00 0x10000 0x22 0x76c10000 + 0x00 0x10000 0x22 0x76c20000 0x00 0x10000 0x22 0x76c30000 0x00 + 0x10000 0x22 0x77000000 0x00 0x10000 0x22 0x77010000 0x00 0x10000 + 0x22 0x77020000 0x00 0x10000 0x22 0x77030000 0x00 0x10000 0x22 + 0x77040000 0x00 0x10000 0x22 0x77050000 0x00 0x10000 0x22 0x77400000 + 0x00 0x10000 0x22 0x77410000 0x00 0x10000 0x22 0x77420000 0x00 + 0x10000 0x22 0x77430000 0x00 0x10000 0x22 0x77440000 0x00 0x10000 + 0x22 0x77450000 0x00 0x10000 0x22 0x77800000 0x00 0x10000 0x22 + 0x77810000 0x00 0x10000 0x22 0x77820000 0x00 0x10000 0x22 0x77830000 + 0x00 0x10000 0x22 0x77840000 0x00 0x10000 0x22 0x77850000 0x00 + 0x10000 0x22 0x77c00000 0x00 0x10000 0x22 0x77c10000 0x00 0x10000 + 0x22 0x77c20000 0x00 0x10000 0x22 0x77c30000 0x00 0x10000 0x22 + 0x77c40000 0x00 0x10000 0x22 0x77c50000 0x00 0x10000 0x02 0x73000000 + 0x00 0x10000 0x02 0x73010000 0x00 0x10000 0x02 0x73020000 0x00 + 0x10000 0x02 0x73030000 0x00 0x10000 0x02 0x73040000 0x00 0x10000 + 0x02 0x73050000 0x00 0x10000 0x02 0x73060000 0x00 0x10000 0x02 + 0x73400000 0x00 0x10000 0x02 0x73410000 0x00 0x10000 0x02 0x73420000 + 0x00 0x10000 0x02 0x73430000 0x00 0x10000 0x02 0x73440000 0x00 + 0x10000 0x02 0x73450000 0x00 0x10000 0x02 0x73460000 0x00 0x10000 + 0x02 0x73800000 0x00 0x10000 0x02 0x73810000 0x00 0x10000 0x02 + 0x73820000 0x00 0x10000 0x02 0x73830000 0x00 0x10000 0x02 0x73840000 + 0x00 0x10000 0x02 0x73850000 0x00 0x10000 0x02 0x73860000 0x00 + 0x10000 0x02 0x73c00000 0x00 0x10000 0x02 0x73c10000 0x00 0x10000 + 0x02 0x73c20000 0x00 0x10000 0x02 0x73c30000 0x00 0x10000 0x02 + 0x73c40000 0x00 0x10000 0x02 0x73c50000 0x00 0x10000 0x02 0x73c60000 + 0x00 0x10000 0x22 0x75100000 0x00 0x10000 0x22 0x75110000 0x00 + 0x10000 0x22 0x75120000 0x00 0x10000 0x22 0x75130000 0x00 0x10000 + 0x22 0x75500000 0x00 0x10000 0x22 0x75510000 0x00 0x10000 0x22 + 0x75520000 0x00 0x10000 0x22 0x75530000 0x00 0x10000 0x22 0x75900000 + 0x00 0x10000 0x22 0x75910000 0x00 0x10000 0x22 0x75920000 0x00 + 0x10000 0x22 0x75930000 0x00 0x10000 0x22 0x75d00000 0x00 0x10000 + 0x22 0x75d10000 0x00 0x10000 0x22 0x75d20000 0x00 0x10000 0x22 + 0x75d30000 0x00 0x10000 0x22 0x76100000 0x00 0x10000 0x22 0x76110000 + 0x00 0x10000 0x22 0x76120000 0x00 0x10000 0x22 0x76130000 0x00 + 0x10000 0x22 0x76500000 0x00 0x10000 0x22 0x76510000 0x00 0x10000 + 0x22 0x76520000 0x00 0x10000 0x22 0x76530000 0x00 0x10000 0x22 + 0x76900000 0x00 0x10000 0x22 0x76910000 0x00 0x10000 0x22 0x76920000 + 0x00 0x10000 0x22 0x76930000 0x00 0x10000 0x22 0x76d00000 0x00 + 0x10000 0x22 0x76d10000 0x00 0x10000 0x22 0x76d20000 0x00 0x10000 + 0x22 0x76d30000 0x00 0x10000 0x02 0x58000000 0x00 0x10000 0x02 + 0x58010000 0x00 0x10000 0x02 0x58020000 0x00 0x10000 0x02 0x58030000 + 0x00 0x10000 0x02 0x58040000 0x00 0x10000 0x02 0x58400000 0x00 + 0x10000 0x02 0x58410000 0x00 0x10000 0x02 0x58420000 0x00 0x10000 + 0x02 0x58430000 0x00 0x10000 0x02 0x58440000 0x00 0x10000 0x02 + 0x58800000 0x00 0x10000 0x02 0x58810000 0x00 0x10000 0x02 0x58820000 + 0x00 0x10000 0x02 0x58830000 0x00 0x10000 0x02 0x58840000 0x00 + 0x10000 0x02 0x58850000 0x00 0x10000 0x05 0xd00000 0x00 0x40000 0x02 + 0x80078000 0x00 0x4000 0x02 0x806e4000 0x00 0x4000 0x02 0x806e8000 + 0x00 0x4000 0x02 0x74004000 0x00 0x4000 0x22 0x7b004000 0x00 0x4000 + 0x02 0x88000400 0x00 0x400 0x23 0x88000400 0x00 0x400 0x02 + 0x8c801000 0x00 0x400 0x02 0x84398000 0x00 0x4000 0x02 0x8620c020 + 0x00 0x18 0x02 0x8620c008 0x00 0x18 0x05 0x8000200 0x00 0x24 0x05 + 0x84000200 0x00 0x24 0x04 0x1b000200 0x00 0x24 0x02 0xa0000200 0x00 + 0x24 0x02 0xa8000200 0x00 0x24 0x03 0x80000200 0x00 0x24 0x03 + 0x88000200 0x00 0x24 0x03 0x94000200 0x00 0x24 0x23 0x8000200 0x00 + 0x24 0x23 0x1000200 0x00 0x24 0x05 0x80000200 0x00 0x24 0x22 + 0x80000200 0x00 0x24 0x04 0x16000200 0x00 0x24 0x04 0x86000200 0x00 + 0x40 0x23 0xa000200 0x00 0x24 0x02 0x97000200 0x00 0x24 0x23 + 0x8c000200 0x00 0x24 0x04 0x8c000200 0x00 0x24 0x05 0x4000200 0x00 + 0x24>; + interrupts = <0x00 0x00 0xa95 0x04 0x00 0x00 0xa96 0x04 0x00 0x00 0xa97 0x04 + 0x00 0x00 0xa98 0x04 0x00 0x00 0xa99 0x04 0x00 0x00 0xa9a 0x04 0x00 + 0x00 0xa9b 0x04 0x00 0x00 0xa9c 0x04 0x00 0x00 0x189 0x04 0x00 0x00 + 0xc3 0x04 0x00 0x00 0xc4 0x04 0x00 0x00 0xc5 0x04 0x00 0x00 0xc6 + 0x04 0x00 0x00 0xc7 0x04 0x00 0x00 0xc8 0x04 0x00 0x00 0xc9 0x04 + 0x00 0x00 0xca 0x04 0x00 0x00 0xcb 0x04 0x00 0x00 0xcc 0x04 0x00 + 0x00 0xa0c 0x04 0x00 0x00 0xa0d 0x04 0x00 0x00 0xa0e 0x04 0x00 0x00 + 0xa0f 0x04 0x00 0x00 0x99 0x04 0x00 0x00 0x9a 0x04 0x00 0x00 0x9b + 0x04 0x00 0x00 0x9c 0x04 0x00 0x00 0x9d 0x04 0x00 0x00 0x9e 0x04 + 0x00 0x00 0xa14 0x04 0x00 0x00 0xa15 0x04 0x00 0x00 0xa16 0x04 0x00 + 0x00 0xa17 0x04 0x00 0x00 0xa1c 0x04 0x00 0x00 0xa1d 0x04 0x00 0x00 + 0xa1e 0x04 0x00 0x00 0xa1f 0x04 0x00 0x00 0xbd 0x04 0x00 0x00 0xbe + 0x04 0x00 0x00 0xbf 0x04 0x00 0x00 0xc0 0x04 0x00 0x00 0xa2c 0x04 + 0x00 0x00 0xa2d 0x04 0x00 0x00 0xa2e 0x04 0x00 0x00 0xa2f 0x04 0x00 + 0x00 0xa3e 0x04 0x00 0x00 0xa3f 0x04 0x00 0x00 0xa40 0x04 0x00 0x00 + 0xa41 0x04 0x00 0x00 0xa42 0x04 0x00 0x00 0xa43 0x04 0x00 0x00 0xa44 + 0x04 0x00 0x00 0xa45 0x04 0x00 0x00 0xa46 0x04 0x00 0x00 0xa47 0x04 + 0x00 0x00 0xa48 0x04 0x00 0x00 0xa49 0x04 0x00 0x00 0xa4a 0x04 0x00 + 0x00 0xa4b 0x04 0x00 0x00 0xa4c 0x04 0x00 0x00 0xa4d 0x04 0x00 0x00 + 0xa36 0x04 0x00 0x00 0xa37 0x04 0x00 0x00 0xa38 0x04 0x00 0x00 0xa39 + 0x04 0x00 0x00 0xa3a 0x04 0x00 0x00 0xa3b 0x04 0x00 0x00 0xa3c 0x04 + 0x00 0x00 0xa3d 0x04 0x00 0x00 0x9f 0x04 0x00 0x00 0xa0 0x04 0x00 + 0x00 0xa1 0x04 0x00 0x00 0x21e 0x04 0x00 0x00 0x21d 0x04 0x00 0x00 + 0x222 0x04 0x00 0x00 0x223 0x04 0x00 0x00 0x224 0x04 0x00 0x00 0x225 + 0x04 0x00 0x00 0x144 0x04 0x00 0x00 0xc1 0x04 0x00 0x00 0xc2 0x04 + 0x00 0x00 0x30d 0x04 0x00 0x00 0x30e 0x04 0x00 0x00 0x387 0x04 0x00 + 0x00 0x16f 0x04 0x00 0x00 0x1b9 0x04 0x00 0x00 0x3bc 0x04 0x00 0x00 + 0x3c2 0x04 0x00 0x00 0x548 0x04 0x00 0x00 0x573 0x04 0x00 0x00 0x593 + 0x04 0x00 0x00 0x5b3 0x04 0x00 0x00 0x5d3 0x04 0x00 0x00 0x928 0x04 + 0x00 0x00 0x97c 0x04 0x00 0x00 0x997 0x04 0x00 0x00 0x214 0x04 0x00 + 0x00 0x54d 0x04 0x00 0x00 0x613 0x04 0x00 0x00 0x620 0x04 0x00 0x00 + 0x6df 0x04 0x00 0x00 0x316 0x04 0x00 0x00 0x317 0x04 0x00 0x00 0x6af + 0x04 0x00 0x00 0x56d 0x04>; + status = "disabled"; + }; + + crypto@50500c000 { + compatible = "apple,t6050-aes", "apple,aes"; + reg = <0x05 0x500c000 0x00 0x4000 0x02 0x88340000 0x00 0x8000 0x02 + 0x88090000 0x00 0x4000>; + interrupts = <0x00 0x00 0x55e 0x04>; + iommus = <&{/soc/iommu@505060000} 0x01>; + power-domains = <&{/soc/power-management@280900000/power-controller@318}>; + status = "disabled"; + }; + + phy-coproc@395d08000 { + compatible = "apple,t6050-phy-coproc", "apple,phy-coproc"; + reg = <0x03 0x95d08000 0x00 0x4000 0x03 0x95d00000 0x00 0x4000>; + interrupts = <0x00 0x00 0x92b 0x04 0x00 0x00 0x92a 0x04 0x00 0x00 0x92d 0x04 + 0x00 0x00 0x92c 0x04>; + status = "disabled"; + }; + + mailbox@4d067c000 { + compatible = "apple,t6050-secure-mailbox", "apple,secure-mailbox"; + reg = <0x04 0xd067c000 0x00 0x4000>; + interrupts = <0x00 0x00 0x249 0x04 0x00 0x00 0x246 0x04>; + iommus = <&aop_dart 0x01>; + status = "disabled"; + }; + + aop@291600000 { + compatible = "apple,t6050-aop2", "apple,aop2"; + reg = <0x02 0x91600000 0x00 0x88000 0x02 0x91650000 0x00 0x4000 0x02 + 0x9162c000 0x00 0x3c008>; + interrupts = <0x00 0x00 0x24b 0x04 0x00 0x00 0x24a 0x04 0x00 0x00 0x24d 0x04 + 0x00 0x00 0x24c 0x04>; + iommus = <&aop_dart 0x10>; + status = "disabled"; + }; + + event-log@280040000 { + compatible = "apple,t6050-event-log", "apple,soc-event-log"; + reg = <0x02 0x80040000 0x00 0x4000 0x02 0x8004e000 0x00 0x4000 0x23 + 0x8004c800 0x00 0x4000 0x23 0x80040000 0x00 0x4000 0x02 0x80200000 + 0x00 0x4000 0x02 0x80000000 0x00 0x14000 0x02 0x8003c000 0x00 0x4000 + 0x02 0x80020000 0x00 0x10000 0x02 0x806e0000 0x00 0x4000 0x02 + 0x806d0000 0x00 0x4000 0x02 0x80668000 0x00 0x4000 0x02 0x80680000 + 0x00 0x1c000 0x02 0x807d0000 0x00 0x4000 0x02 0x806f0000 0x00 0x4000 + 0x02 0x80928000 0x00 0x4000 0x02 0x80938000 0x00 0x8000 0x02 + 0x86700000 0x00 0x114000 0x02 0x84380000 0x00 0x20000 0x02 + 0x85040000 0x00 0x1c000 0x02 0x84360000 0x00 0x4000 0x02 0x84370000 + 0x00 0x4000 0x23 0x85040000 0x00 0x1c000 0x23 0x84360000 0x00 0x4000 + 0x23 0x84370000 0x00 0x4000 0x05 0x9878000 0x00 0x4000 0x05 + 0x9868000 0x00 0x8000 0x23 0x80300000 0x00 0x8000 0x23 0x80308000 + 0x00 0x8000 0x02 0x80300000 0x00 0x8000 0x23 0x80034000 0x00 0x4000 + 0x23 0x8003c000 0x00 0x4000 0x23 0x80020000 0x00 0x10000 0x23 + 0x80038000 0x00 0x4000 0x23 0x80640000 0x00 0x10000 0x23 0x806d0000 + 0x00 0x4000 0x23 0x80668000 0x00 0x4000 0x23 0x80680000 0x00 0x1c000 + 0x23 0x806f0000 0x00 0x4000 0x02 0x84000000 0x00 0x4000 0x02 + 0x84004600 0x00 0x4000 0x02 0x84004000 0x00 0x4000 0x02 0x84004780 + 0x00 0x4000 0x02 0x84007400 0x00 0x4000 0x02 0x84004e00 0x00 0x4000 + 0x02 0x84004800 0x00 0x4000 0x02 0x84004f80 0x00 0x4000 0x02 + 0x84007600 0x00 0x4000 0x02 0x84005600 0x00 0x4000 0x02 0x84005000 + 0x00 0x4000 0x02 0x84005780 0x00 0x4000 0x02 0x84007800 0x00 0x4000 + 0x02 0x84005e00 0x00 0x4000 0x02 0x84005800 0x00 0x4000 0x02 + 0x84005f80 0x00 0x4000 0x02 0x84007a00 0x00 0x4000 0x02 0x84003e00 + 0x00 0x4000 0x02 0x84003800 0x00 0x4000 0x02 0x84003f80 0x00 0x4000 + 0x02 0x84007200 0x00 0x4000 0x02 0x84006e00 0x00 0x4000 0x02 + 0x84006800 0x00 0x4000 0x02 0x84006f80 0x00 0x4000 0x02 0x84007e00 + 0x00 0x4000 0x02 0x84006600 0x00 0x4000 0x02 0x84006000 0x00 0x4000 + 0x02 0x84006780 0x00 0x4000 0x02 0x84007c00 0x00 0x4000 0x02 + 0x84002e00 0x00 0x4000 0x02 0x84002800 0x00 0x4000 0x02 0x84002f80 + 0x00 0x4000 0x02 0x84007000 0x00 0x4000 0x02 0x84003600 0x00 0x4000 + 0x02 0x84003000 0x00 0x4000 0x02 0x84003780 0x00 0x4000 0x02 + 0x84000400 0x00 0x4000 0x02 0x84000400 0x00 0x4000 0x02 0x84000400 + 0x00 0x4000 0x02 0x84000400 0x00 0x4000 0x02 0x84000400 0x00 0x4000 + 0x02 0x84000400 0x00 0x4000 0x02 0x84000400 0x00 0x4000 0x02 + 0x84000400 0x00 0x4000 0x23 0x84000000 0x00 0x4000 0x23 0x84004e00 + 0x00 0x4000 0x23 0x84004800 0x00 0x4000 0x23 0x84004f80 0x00 0x4000 + 0x23 0x84007000 0x00 0x4000 0x23 0x84002e00 0x00 0x4000 0x23 + 0x84002800 0x00 0x4000 0x23 0x84002f80 0x00 0x4000 0x23 0x84006800 + 0x00 0x4000 0x23 0x84003600 0x00 0x4000 0x23 0x84003000 0x00 0x4000 + 0x23 0x84003780 0x00 0x4000 0x23 0x84006a00 0x00 0x4000 0x23 + 0x84005600 0x00 0x4000 0x23 0x84005000 0x00 0x4000 0x23 0x84005780 + 0x00 0x4000 0x23 0x84007200 0x00 0x4000 0x23 0x84006600 0x00 0x4000 + 0x23 0x84006000 0x00 0x4000 0x23 0x84006780 0x00 0x4000 0x23 + 0x84007400 0x00 0x4000 0x23 0x84005e00 0x00 0x4000 0x23 0x84005800 + 0x00 0x4000 0x23 0x84005f80 0x00 0x4000 0x23 0x84003e00 0x00 0x4000 + 0x23 0x84003800 0x00 0x4000 0x23 0x84003f80 0x00 0x4000 0x23 + 0x84006c00 0x00 0x4000 0x23 0x84004600 0x00 0x4000 0x23 0x84004000 + 0x00 0x4000 0x23 0x84004780 0x00 0x4000 0x23 0x84006e00 0x00 0x4000 + 0x23 0x84000400 0x00 0x4000 0x23 0x84000400 0x00 0x4000 0x23 + 0x84000400 0x00 0x4000 0x23 0x84000400 0x00 0x4000 0x23 0x84000400 + 0x00 0x4000 0x23 0x84000400 0x00 0x4000 0x23 0x84000400 0x00 0x4000 + 0x23 0x84000400 0x00 0x4000 0x02 0x88f00000 0x00 0x18000 0x02 + 0x88200000 0x00 0x4000 0x02 0x88204000 0x00 0x4000 0x02 0x8827c000 + 0x00 0x4000 0x02 0x8832c000 0x00 0x4000 0x02 0x88330000 0x00 0x10000 + 0x02 0x88360000 0x00 0x4000 0x02 0x88340000 0x00 0x8000 0x02 + 0x8836c000 0x00 0x4000 0x02 0x88000000 0x00 0x24000 0x23 0x88200000 + 0x00 0x4000 0x23 0x88204000 0x00 0x4000 0x23 0x8827c000 0x00 0x4000 + 0x23 0x8832c000 0x00 0x4000 0x23 0x88330000 0x00 0x10000 0x23 + 0x88360000 0x00 0x4000 0x23 0x88340000 0x00 0x8000 0x23 0x8836c000 + 0x00 0x4000 0x23 0x88000000 0x00 0x8000>; + interrupts = <0x00 0x00 0x1e 0x04 0x00 0x00 0x1f 0x04 0x00 0x00 0x22 0x04 + 0x00 0x00 0x23 0x04 0x00 0x00 0x24 0x04 0x00 0x00 0x37 0x04 0x00 + 0x00 0x38 0x04 0x00 0x00 0x13f 0x04 0x00 0x00 0x140 0x04 0x00 0x00 + 0x141 0x04 0x00 0x00 0x147 0x04 0x00 0x00 0x148 0x04 0x00 0x00 0x170 + 0x04 0x00 0x00 0x17e 0x04 0x00 0x00 0x1db 0x04 0x00 0x00 0x1e0 0x04 + 0x00 0x00 0x1e1 0x04 0x00 0x00 0x1e4 0x04 0x00 0x00 0x1e5 0x04 0x00 + 0x00 0x30f 0x04 0x00 0x00 0x310 0x04 0x00 0x00 0x3af 0x04 0x00 0x00 + 0x3b7 0x04>; + status = "disabled"; + }; + + dma-controller@505e00000 { + compatible = "apple,t6050-sio", "apple,sio"; + reg = <0x05 0x5e00000 0x00 0x88000 0x05 0x5850000 0x00 0x4000>; + interrupts = <0x00 0x00 0x570 0x04 0x00 0x00 0x56f 0x04 0x00 0x00 0x572 0x04 + 0x00 0x00 0x571 0x04>; + iommus = <&{/soc/iommu@505060000} 0x00>; + power-domains = <&{/soc/power-management@280900000/power-controller@2a0}>; + clocks = <&{/soc/clock-controller@280600000} 0x167 + &{/soc/clock-controller@280600000} 0x166>; + #dma-cells = <0x01>; + status = "disabled"; + }; + + iommu@505060000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x05 0x5060000 0x00 0x20000>; + interrupts = <0x00 0x00 0x56b 0x04>; + power-domains = <&{/soc/power-management@280900000/power-controller@290}>; + #iommu-cells = <0x01>; + status = "disabled"; + }; + + pmp@284e00000 { + compatible = "apple,t6050-pmp-v2", "apple,t6000-pmp-v2"; + reg = <0x02 0x84500000 0x00 0x100000 0x02 0x84e00000 0x00 0x4000>; + reg-names = "pmp", "asc"; + mboxes = <&{/soc/mailbox@284e08000}>; + mbox-names = "mbox"; + iommus = <&{/soc/iommu@2841a0000} 0x00>; + power-domains = <&{/soc/power-management@280600000/power-controller@128} + &{/soc/power-management@280600000/power-controller@130}>; + status = "disabled"; + }; + + mailbox@284e08000 { + compatible = "apple,t6050-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x02 0x84e08000 0x00 0x4000>; + interrupts = <0x00 0x00 0x18c 0x04 0x00 0x00 0x18d 0x04 0x00 0x00 0x18e 0x04 + 0x00 0x00 0x18f 0x04>; + interrupt-names = "send-empty" , "send-not-empty" , "recv-empty" , + "recv-not-empty" ; + #mbox-cells = <0x00>; + power-domains = <&{/soc/power-management@280600000/power-controller@128}>; + status = "disabled"; + }; + + pmp-report@284240000 { + compatible = "apple,t6050-pmp-v2-report"; + reg = <0x02 0x84240000 0x00 0x20000>; + power-domains = <&{/soc/power-management@280600000/power-controller@130}>; + #address-cells = <0x01>; + #size-cells = <0x00>; + status = "disabled"; + + report@c { + compatible = "apple,t6050-pmp-v2-report-entry" , + "apple,t6000-pmp-v2-report-entry" ; + reg = <0x0c>; + label = "pmp-macc0"; + #power-domain-cells = <0x00>; + apple,always-on; + }; + + report@d { + compatible = "apple,t6050-pmp-v2-report-entry" , + "apple,t6000-pmp-v2-report-entry" ; + reg = <0x0d>; + label = "pmp-macc1"; + #power-domain-cells = <0x00>; + apple,always-on; + }; + + report@e { + compatible = "apple,t6050-pmp-v2-report-entry" , + "apple,t6000-pmp-v2-report-entry" ; + reg = <0x0e>; + label = "pmp-pacc"; + #power-domain-cells = <0x00>; + apple,always-on; + }; + + report@f { + compatible = "apple,t6050-pmp-v2-report-entry" , + "apple,t6000-pmp-v2-report-entry" ; + reg = <0x0f>; + label = "pmp-gfx"; + #power-domain-cells = <0x00>; + power-domains = <&ps_gfx>; + }; + + report@12 { + compatible = "apple,t6050-pmp-v2-report-entry" , + "apple,t6000-pmp-v2-report-entry" ; + reg = <0x12>; + label = "pmp-dispint"; + #power-domain-cells = <0x00>; + apple,always-on; + }; + + report@24 { + compatible = "apple,t6050-pmp-v2-report-entry" , + "apple,t6000-pmp-v2-report-entry" ; + reg = <0x24>; + label = "pmp-ans"; + #power-domain-cells = <0x00>; + apple,always-on; + }; + }; + + iommu@2841a0000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x02 0x841a0000 0x00 0xc000 0x02 0x841b0000 0x00 0x4000>; + reg-names = "dart", "dapf"; + interrupts = <0x00 0x00 0x173 0x04>; + #iommu-cells = <0x01>; + apple,dma-range = <0x100 0x00 0x10 0x00>; + power-domains = <&{/soc/power-management@280600000/power-controller@128}>; + status = "disabled"; + }; + + aon-ptd@28cdc0000 { + compatible = "apple,t6050-aon-ptd", "apple,aon-ptd"; + reg = <0x02 0x8cdc0000 0x00 0x4000 0x02 0x8cdd0000 0x00 0x4000 0x02 + 0x8cdd8000 0x00 0x4000 0x02 0x8cde0000 0x00 0x4000>; + interrupts = <0x00 0x00 0x388 0x04 0x00 0x00 0x389 0x04 0x00 0x00 0x38a 0x04 + 0x00 0x00 0x38b 0x04 0x00 0x00 0x38c 0x04 0x00 0x00 0x38d 0x04 0x00 + 0x00 0x38e 0x04 0x00 0x00 0x38f 0x04 0x00 0x00 0x390 0x04 0x00 0x00 + 0x391 0x04 0x00 0x00 0x392 0x04 0x00 0x00 0x393 0x04 0x00 0x00 0x394 + 0x04 0x00 0x00 0x395 0x04 0x00 0x00 0x396 0x04 0x00 0x00 0x397 0x04 + 0x00 0x00 0x398 0x04 0x00 0x00 0x399 0x04 0x00 0x00 0x39a 0x04 0x00 + 0x00 0x39b 0x04 0x00 0x00 0x39c 0x04 0x00 0x00 0x39d 0x04 0x00 0x00 + 0x39e 0x04 0x00 0x00 0x39f 0x04 0x00 0x00 0x3a0 0x04 0x00 0x00 0x3a1 + 0x04 0x00 0x00 0x3a2 0x04 0x00 0x00 0x3a3 0x04 0x00 0x00 0x3a4 0x04 + 0x00 0x00 0x3a5 0x04 0x00 0x00 0x3a6 0x04 0x00 0x00 0x3a7 0x04>; + interrupt-controller; + #interrupt-cells = <0x01>; + #address-cells = <0x00>; + status = "disabled"; + }; + + rsm@288825000 { + compatible = "apple,t6050-rsm", "apple,rsm"; + reg = <0x02 0x88825000 0x00 0x4000 0x02 0x888c0000 0x00 0x04>; + interrupts = <0x00 0x00 0x1ef 0x04>; + iommus = <&{/soc/iommu@2889a0000} 0x00>; + power-domains = <&{/soc/power-management@288300000/power-controller@58}>; + status = "disabled"; + }; + + iommu@2889a0000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x02 0x889a0000 0x00 0xc000>; + interrupts = <0x00 0x00 0x1f2 0x04>; + #iommu-cells = <0x01>; + status = "disabled"; + power-domains = <&{/soc/power-management@288300000/power-controller@58}>; + }; + + serial@505200000 { + compatible = "apple,t6050-uart", "apple,s5l-uart"; + reg = <0x05 0x5200000 0x00 0x4000>; + interrupts = <0x00 0x00 0x54f 0x04>; + power-domains = <&{/soc/power-management@280900000/power-controller@360}>; + clocks = <&{/soc/clock-controller@280600000} 0x1c9 + &{/soc/clock-controller@280600000} 0x04>; + clock-names = "uart", "clk_uart_baud0"; + status = "disabled"; + }; + + spmi@28a094000 { + compatible = "apple,t6050-spmi", "apple,t8142-spmi"; + reg = <0x02 0x8a094000 0x00 0x4000 0x02 0x8a084000 0x00 0x4000 0x02 + 0x8a080000 0x00 0x4000>; + interrupts = <0x00 0x00 0x2e0 0x04>; + #address-cells = <0x02>; + #size-cells = <0x00>; + status = "disabled"; + }; + + spmi@28a0d4000 { + compatible = "apple,t6050-spmi", "apple,t8142-spmi"; + reg = <0x02 0x8a0d4000 0x00 0x4000 0x02 0x8a0c4000 0x00 0x4000 0x02 + 0x8a0c0000 0x00 0x4000>; + interrupts = <0x00 0x00 0x2e5 0x04>; + #address-cells = <0x02>; + #size-cells = <0x00>; + status = "disabled"; + }; + + spmi@290914000 { + compatible = "apple,t6050-spmi", "apple,t8142-spmi"; + reg = <0x02 0x90914000 0x00 0x4000 0x02 0x90904000 0x00 0x4000 0x02 + 0x90900000 0x00 0x4000>; + interrupts = <0x00 0x00 0x26c 0x04>; + #address-cells = <0x02>; + #size-cells = <0x00>; + status = "disabled"; + }; + + scaler@2285000000 { + compatible = "apple,t6050-scaler", "apple,scaler-v23"; + reg = <0x22 0x85000000 0x00 0x14000 0x22 0x85210000 0x00 0x4000 0x22 + 0x85204000 0x00 0x4000 0x22 0x84000000 0x00 0x8000 0x22 0x852c0000 + 0x00 0x40000 0x22 0x85340000 0x00 0x14c000 0x22 0x852a0000 0x00 + 0x4000 0x22 0x85208000 0x00 0x4000 0x22 0x85210000 0x00 0x4000 0x22 + 0x85220000 0x00 0x4000>; + interrupts = <0x00 0x00 0x9a4 0x04 0x00 0x00 0x9a6 0x04 0x00 0x00 0x9a7 0x04 + 0x00 0x00 0x9a8 0x04 0x00 0x00 0x9ac 0x04 0x00 0x00 0x9ad 0x04 0x00 + 0x00 0x9ae 0x04 0x00 0x00 0x9af 0x04 0x00 0x00 0x9b0 0x04 0x00 0x00 + 0x9b1 0x04 0x00 0x00 0x9b2 0x04 0x00 0x00 0x9b3 0x04 0x00 0x00 0x9b4 + 0x04 0x00 0x00 0x9b5 0x04 0x00 0x00 0x9b6 0x04 0x00 0x00 0x9b7 0x04 + 0x00 0x00 0x9b8 0x04 0x00 0x00 0x9b9 0x04 0x00 0x00 0x9ba 0x04 0x00 + 0x00 0x9bb 0x04>; + iommus = <&{/soc/iommu@2285260000} 0x00 &{/soc/iommu@2285260000} 0x01>; + power-domains = <&{/soc/power-management@2380600000/power-controller@1c8} + &{/soc/power-management@2380600000/power-controller@200}>; + clocks = <&{/soc/clock-controller@280600000} 0x1f0>; + resets = <&{/soc/power-management@2380600000/power-controller@1c8}>; + status = "disabled"; + }; + + iommu@2285260000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x22 0x85260000 0x00 0x20000 0x02 0x74000000 0x00 0x4000>; + interrupts = <0x00 0x00 0x9a5 0x04>; + power-domains = <&{/soc/power-management@2380600000/power-controller@1c8}>; + #iommu-cells = <0x01>; + status = "disabled"; + }; + + scaler@23a1000000 { + compatible = "apple,t6050-scaler", "apple,scaler-v23"; + reg = <0x23 0xa1000000 0x00 0x14000 0x23 0xa1210000 0x00 0x4000 0x23 + 0xa1204000 0x00 0x4000 0x23 0xa0000000 0x00 0x8000 0x23 0xa12c0000 + 0x00 0x40000 0x23 0xa1340000 0x00 0x14c000 0x23 0xa12a0000 0x00 + 0x4000 0x23 0xa1208000 0x00 0x4000 0x23 0xa1210000 0x00 0x4000 0x23 + 0xa1220000 0x00 0x4000>; + interrupts = <0x00 0x00 0x9bc 0x04 0x00 0x00 0x9be 0x04 0x00 0x00 0x9bf 0x04 + 0x00 0x00 0x9c0 0x04 0x00 0x00 0x9c4 0x04 0x00 0x00 0x9c5 0x04 0x00 + 0x00 0x9c6 0x04 0x00 0x00 0x9c7 0x04 0x00 0x00 0x9c8 0x04 0x00 0x00 + 0x9c9 0x04 0x00 0x00 0x9ca 0x04 0x00 0x00 0x9cb 0x04 0x00 0x00 0x9cc + 0x04 0x00 0x00 0x9cd 0x04 0x00 0x00 0x9ce 0x04 0x00 0x00 0x9cf 0x04 + 0x00 0x00 0x9d0 0x04 0x00 0x00 0x9d1 0x04 0x00 0x00 0x9d2 0x04 0x00 + 0x00 0x9d3 0x04>; + iommus = <&{/soc/iommu@23a1260000} 0x00 &{/soc/iommu@23a1260000} 0x01>; + power-domains = <&{/soc/power-management@2380600000/power-controller@1f8} + &{/soc/power-management@2380600000/power-controller@208}>; + clocks = <&{/soc/clock-controller@280600000} 0x1f1>; + resets = <&{/soc/power-management@2380600000/power-controller@1f8}>; + status = "disabled"; + }; + + iommu@23a1260000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x23 0xa1260000 0x00 0x20000 0x02 0x74000000 0x00 0x4000>; + interrupts = <0x00 0x00 0x9bd 0x04>; + power-domains = <&{/soc/power-management@2380600000/power-controller@1f8}>; + #iommu-cells = <0x01>; + status = "disabled"; + }; + + video-encoder@2283100000 { + compatible = "apple,t6050-ave", "apple,ave"; + reg = <0x22 0x83100000 0x00 0x45c000 0x22 0x83800000 0x00 0x800000 0x22 + 0x83050000 0x00 0x4000 0x23 0x806001c0 0x00 0x7e64 0x22 0x82000000 + 0x00 0x8000>; + interrupts = <0x00 0x00 0x983 0x04 0x00 0x00 0xae6 0x04 0x00 0x00 0xae5 0x04 + 0x00 0x00 0xae8 0x04 0x00 0x00 0xae7 0x04>; + iommus = <&{/soc/iommu@22830a0000} 0x00 &{/soc/iommu@2283080000} 0x00>; + power-domains = <&{/soc/power-management@2380600000/power-controller@1c0} + &{/soc/power-management@2380600000/power-controller@8008} + &{/soc/power-management@2380600000/power-controller@8010} + &{/soc/power-management@2380600000/power-controller@8018} + &{/soc/power-management@2380600000/power-controller@8020} + &{/soc/power-management@2380600000/power-controller@8000}>; + clocks = <&{/soc/clock-controller@280600000} 0x1f7>; + status = "disabled"; + }; + + iommu@22830a0000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x22 0x830a0000 0x00 0xc000 0x22 0x830b0000 0x00 0x4000>; + interrupts = <0x00 0x00 0x980 0x04>; + power-domains = <&{/soc/power-management@2380600000/power-controller@1c0}>; + #iommu-cells = <0x01>; + status = "disabled"; + }; + + iommu@2283080000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x22 0x83080000 0x00 0xc000 0x22 0x83094000 0x00 0x4000>; + interrupts = <0x00 0x00 0x980 0x04>; + power-domains = <&{/soc/power-management@2380600000/power-controller@1c0}>; + #iommu-cells = <0x01>; + status = "disabled"; + }; + + video-encoder@23a3100000 { + compatible = "apple,t6050-ave", "apple,ave"; + reg = <0x23 0xa3100000 0x00 0x45c000 0x23 0xa3800000 0x00 0x800000 0x23 + 0xa3050000 0x00 0x4000 0x23 0x806001f0 0x00 0x7e5c 0x23 0xa2000000 + 0x00 0x8000>; + interrupts = <0x00 0x00 0x98b 0x04 0x00 0x00 0xaea 0x04 0x00 0x00 0xae9 0x04 + 0x00 0x00 0xaec 0x04 0x00 0x00 0xaeb 0x04>; + iommus = <&{/soc/iommu@23a30a0000} 0x00 &{/soc/iommu@23a3080000} 0x00>; + power-domains = <&{/soc/power-management@2380600000/power-controller@1f0} + &{/soc/power-management@2380600000/power-controller@8030} + &{/soc/power-management@2380600000/power-controller@8038} + &{/soc/power-management@2380600000/power-controller@8040} + &{/soc/power-management@2380600000/power-controller@8048} + &{/soc/power-management@2380600000/power-controller@8028}>; + clocks = <&{/soc/clock-controller@280600000} 0x1f8>; + status = "disabled"; + }; + + iommu@23a30a0000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x23 0xa30a0000 0x00 0xc000 0x23 0xa30b0000 0x00 0x4000>; + interrupts = <0x00 0x00 0x988 0x04>; + power-domains = <&{/soc/power-management@2380600000/power-controller@1f0}>; + #iommu-cells = <0x01>; + status = "disabled"; + }; + + iommu@23a3080000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x23 0xa3080000 0x00 0xc000 0x23 0xa3094000 0x00 0x4000>; + interrupts = <0x00 0x00 0x988 0x04>; + power-domains = <&{/soc/power-management@2380600000/power-controller@1f0}>; + #iommu-cells = <0x01>; + status = "disabled"; + }; + + prores@48d000000 { + compatible = "apple,t6050-prores", "apple,prores"; + reg = <0x04 0x8d000000 0x00 0x4000 0x04 0x8c000000 0x00 0x1000000 0x04 + 0x8d0c0000 0x00 0x4000 0x04 0x8d070000 0x00 0x4000 0x04 0x8d071000 + 0x00 0x4000>; + interrupts = <0x00 0x00 0x6b1 0x04 0x00 0x00 0x6d6 0x04>; + iommus = <&{/soc/iommu@48d020000} 0x01>; + power-domains = <&{/soc/power-management@280900000/power-controller@190}>; + status = "disabled"; + reg-names = "core", "wrapper", "aux", "ctrl", "ctrl1"; + resets = <&{/soc/power-management@280900000/power-controller@190}>; + }; + + iommu@48d020000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x04 0x8d020000 0x00 0xc000>; + interrupts = <0x00 0x00 0x6b0 0x04>; + power-domains = <&{/soc/power-management@280900000/power-controller@190}>; + #iommu-cells = <0x01>; + status = "disabled"; + apple,dma-range = <0x100 0x00 0x300 0x00>; + }; + + iommu@230b020000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x23 0xb020000 0x00 0xc000 0x02 0x74000000 0x00 0x4000>; + interrupts = <0x00 0x00 0x6e0 0x04>; + power-domains = <&{/soc/power-management@2380600000/power-controller@1e0}>; + #iommu-cells = <0x01>; + status = "disabled"; + }; + + jpeg@2281000000 { + compatible = "apple,t6050-jpeg", "apple,jpeg"; + reg = <0x22 0x81000000 0x00 0x4000>; + interrupts = <0x00 0x00 0x54b 0x04>; + iommus = <&{/soc/iommu@2281020000} 0x00>; + power-domains = <&{/soc/power-management@2380600000/power-controller@1d0}>; + clocks = <&{/soc/clock-controller@280600000} 0x1e6 + &{/soc/clock-controller@280600000} 0x1e7>; + status = "disabled"; + }; + + jpeg@2281060000 { + compatible = "apple,t6050-jpeg", "apple,jpeg"; + reg = <0x22 0x81060000 0x00 0x4000>; + interrupts = <0x00 0x00 0x54e 0x04>; + iommus = <&{/soc/iommu@2281020000} 0x01>; + power-domains = <&{/soc/power-management@2380600000/power-controller@1d0}>; + clocks = <&{/soc/clock-controller@280600000} 0x1e6 + &{/soc/clock-controller@280600000} 0x1e7>; + status = "disabled"; + }; + + iommu@2281020000 { + compatible = "apple,t6050-dart", "apple,t8110-dart"; + reg = <0x22 0x81020000 0x00 0xc000 0x02 0x74000000 0x00 0x4000>; + interrupts = <0x00 0x00 0x54c 0x04>; + power-domains = <&{/soc/power-management@2380600000/power-controller@1d0}>; + #iommu-cells = <0x01>; + status = "disabled"; + apple,dma-range = <0x100 0x00 0x300 0x00>; + }; + + neural-processor@508000000 { + compatible = "apple,t6050-ane"; + reg = <0x05 0x8000000 0x00 0x2000000 0x02 0x80900000 0x00 0x18000 0x02 + 0x80920000 0x00 0x4000 0x02 0x84240000 0x00 0x40000 0x02 0x12000000 + 0x00 0xff4000 0x05 0x84000000 0x00 0x2000000 0x02 0x88374000 0x00 + 0x4000>; + reg-names = "engine", "pmgr", "aux-0", "aux-1", "aux-2", "aux-3", "aux-4"; + interrupts = <0x00 0x00 0x3ba 0x04 0x00 0x00 0x3c7 0x04>; + iommus = <&ane_dart0 0x00 &ane_dart1 0x00 + &ane_dart2 0x00>; + power-domains = <&{/soc/power-management@280900000/power-controller@3c8}>; + clocks = <&{/soc/clock-controller@280600000} 0x14f + &{/soc/clock-controller@280600000} 0x14e + &{/soc/clock-controller@280600000} 0x17d>; + status = "disabled"; + }; + + video-decoder@2308000000 { + compatible = "apple,t6050-avd", "apple,avd"; + reg = <0x23 0x8000000 0x00 0x1404000 0x23 0x88090000 0x00 0x4000>; + interrupts = <0x00 0x00 0x971 0x04 0x00 0x00 0x972 0x04>; + iommus = <&avd_dart 0x00 &avd_dart 0x01 + &avd_dart 0x02>; + power-domains = <&ps_avd_sys>; + clocks = <&{/soc/clock-controller@280600000} 0x1e8>; + status = "disabled"; + }; + + dma-controller@293300000 { + compatible = "apple,t6050-admac", "apple,t8140-admac"; + reg = <0x02 0x93300000 0x00 0x34000>; + dma-channels = <0x09>; + interrupts-extended = <&aic 0x00 0x00 + 0x27f 0x04 0x00 0x00 0x00>; + iommus = <&aop_dart 0x0a>; + #dma-cells = <0x01>; + status = "disabled"; + }; + + dma-control@293c80000 { + compatible = "apple,t6050-admac-control", "apple,admac-control"; + reg = <0x02 0x93c80000 0x00 0x4000 0x02 0x93c84000 0x00 0x4000>; + interrupts = <0x00 0x00 0x28c 0x04>; + status = "disabled"; + }; + + message-controller@29b000000 { + compatible = "apple,t6050-msg", "apple,msg"; + reg = <0x02 0x9b000000 0x00 0xb4000 0x02 0x99000000 0x00 0x4000>; + interrupts = <0x00 0x00 0x319 0x04 0x00 0x00 0x31a 0x04 0x00 0x00 0x31b 0x04 + 0x00 0x00 0x31c 0x04 0x00 0x00 0x31d 0x04 0x00 0x00 0x31e 0x04 0x00 + 0x00 0x31f 0x04 0x00 0x00 0x320 0x04 0x00 0x00 0x321 0x04 0x00 0x00 + 0x322 0x04 0x00 0x00 0x323 0x04 0x00 0x00 0x324 0x04 0x00 0x00 0x325 + 0x04 0x00 0x00 0x326 0x04 0x00 0x00 0x327 0x04 0x00 0x00 0x328 0x04 + 0x00 0x00 0x329 0x04 0x00 0x00 0x32a 0x04 0x00 0x00 0x32b 0x04 0x00 + 0x00 0x32c 0x04 0x00 0x00 0x32d 0x04 0x00 0x00 0x32e 0x04 0x00 0x00 + 0x32f 0x04 0x00 0x00 0x330 0x04 0x00 0x00 0x331 0x04 0x00 0x00 0x332 + 0x04 0x00 0x00 0x333 0x04 0x00 0x00 0x334 0x04 0x00 0x00 0x335 0x04 + 0x00 0x00 0x336 0x04 0x00 0x00 0x337 0x04 0x00 0x00 0x338 0x04 0x00 + 0x00 0x339 0x04 0x00 0x00 0x33a 0x04 0x00 0x00 0x33b 0x04 0x00 0x00 + 0x33c 0x04 0x00 0x00 0x33d 0x04 0x00 0x00 0x33e 0x04 0x00 0x00 0x33f + 0x04 0x00 0x00 0x340 0x04 0x00 0x00 0x318 0x04>; + power-domains = <&{/soc/power-management@280600000/power-controller@258}>; + status = "disabled"; + }; + + dma-controller@412030000 { + compatible = "apple,t6050-pcie-piodma", "apple,pcie-piodma"; + reg = <0x04 0x12030000 0x00 0x4000 0x04 0x12034000 0x00 0x4000 0x04 + 0x12038000 0x00 0x4000>; + interrupts = <0x00 0x00 0x605 0x04>; + iommus = <&dart_apcie2 0x11>; + status = "disabled"; + }; + + dma-controller@413030000 { + compatible = "apple,t6050-pcie-piodma", "apple,pcie-piodma"; + reg = <0x04 0x13030000 0x00 0x4000 0x04 0x13034000 0x00 0x4000 0x04 + 0x13038000 0x00 0x4000>; + interrupts = <0x00 0x00 0x60d 0x04>; + iommus = <&dart_apcie3 0x11>; + status = "disabled"; + }; + + spi@50510c000 { + compatible = "apple,t6050-spi", "apple,t8103-spi"; + reg = <0x05 0x510c000 0x00 0x4000>; + interrupts = <0x00 0x00 0x55a 0x04>; + power-domains = <&{/soc/power-management@280900000/power-controller@338}>; + clocks = <&{/soc/clock-controller@280600000} 0x1c4>; + #address-cells = <0x01>; + #size-cells = <0x00>; + status = "disabled"; + }; + + dma-controller@38c068000 { + compatible = "apple,t6050-pciec-piodma", "apple,pciec-piodma"; + reg = <0x03 0x8c068000 0x00 0x4000 0x03 0x8c06c000 0x00 0x4000 0x03 + 0x8c070000 0x00 0x4000 0x03 0x8c03c000 0x00 0x4000>; + interrupts = <0x00 0x00 0x5df 0x04>; + iommus = <&{/soc/iommu@38c000000} 0xfe>; + status = "disabled"; + }; + + dpin@389e50000 { + compatible = "apple,t6050-dpin", "apple,dpin"; + reg = <0x03 0x89e50000 0x00 0x4000>; + interrupts = <0x00 0x00 0x6a3 0x04>; + status = "disabled"; + }; + + dpin@389e58000 { + compatible = "apple,t6050-dpin", "apple,dpin"; + reg = <0x03 0x89e58000 0x00 0x4000>; + interrupts = <0x00 0x00 0x6a4 0x04>; + status = "disabled"; + }; + + dpin@389e68000 { + compatible = "apple,t6050-dpin", "apple,dpin"; + reg = <0x03 0x89e68000 0x00 0x4000>; + interrupts = <0x00 0x00 0x6a9 0x04>; + status = "disabled"; + }; + + dpin@389e70000 { + compatible = "apple,t6050-dpin", "apple,dpin"; + reg = <0x03 0x89e70000 0x00 0x4000>; + interrupts = <0x00 0x00 0x6aa 0x04>; + status = "disabled"; + }; + }; + + gpu_opp: opp-table-gpu { + compatible = "operating-points-v2"; + + opp00 { + opp-hz = /bits/ 64 <0x00>; + opp-microvolt = <0x00 0x00 0x00 0x00>; + opp-microvolt-sram = <0x00 0x00 0x00 0x00>; + }; + + opp01 { + opp-hz = /bits/ 64 <0x00>; + opp-microvolt = <0x00 0x00 0x00 0x00>; + opp-microvolt-sram = <0x00 0x00 0x00 0x00>; + }; + + opp02 { + opp-hz = /bits/ 64 <0x00>; + opp-microvolt = <0x00 0x00 0x00 0x00>; + opp-microvolt-sram = <0x00 0x00 0x00 0x00>; + }; + + opp03 { + opp-hz = /bits/ 64 <0x00>; + opp-microvolt = <0x00 0x00 0x00 0x00>; + opp-microvolt-sram = <0x00 0x00 0x00 0x00>; + }; + + opp04 { + opp-hz = /bits/ 64 <0x00>; + opp-microvolt = <0x00 0x00 0x00 0x00>; + opp-microvolt-sram = <0x00 0x00 0x00 0x00>; + }; + + opp05 { + opp-hz = /bits/ 64 <0x00>; + opp-microvolt = <0x00 0x00 0x00 0x00>; + opp-microvolt-sram = <0x00 0x00 0x00 0x00>; + }; + + opp06 { + opp-hz = /bits/ 64 <0x00>; + opp-microvolt = <0x00 0x00 0x00 0x00>; + opp-microvolt-sram = <0x00 0x00 0x00 0x00>; + }; -/* - * The boot NOR's NVRAM: the loader fills the partition from ADT /arm-io/qspi/spinor/anvram reg - * (0x700000, 0xc0000 here), 12 banks of 64 KiB (/chosen nvram-bank-count, nvram-bank-size). The - * flash is spinor's CS0 (its reg's first cell; the second is 0x19, 25), clocked as on T8140's - * J700. Only this partition is exposed (no MTD_PARTITIONED_MASTER), so the rest of the boot NOR - * has no device node, and the controller's T8140 policy admits programs and erases only inside - * this partition. - */ -&qspi { - status = "okay"; + opp07 { + opp-hz = /bits/ 64 <0x00>; + opp-microvolt = <0x00 0x00 0x00 0x00>; + opp-microvolt-sram = <0x00 0x00 0x00 0x00>; + }; + + opp08 { + opp-hz = /bits/ 64 <0x00>; + opp-microvolt = <0x00 0x00 0x00 0x00>; + opp-microvolt-sram = <0x00 0x00 0x00 0x00>; + }; + + opp09 { + opp-hz = /bits/ 64 <0x00>; + opp-microvolt = <0x00 0x00 0x00 0x00>; + opp-microvolt-sram = <0x00 0x00 0x00 0x00>; + }; + + opp10 { + opp-hz = /bits/ 64 <0x00>; + opp-microvolt = <0x00 0x00 0x00 0x00>; + opp-microvolt-sram = <0x00 0x00 0x00 0x00>; + }; + + opp11 { + opp-hz = /bits/ 64 <0x00>; + opp-microvolt = <0x00 0x00 0x00 0x00>; + opp-microvolt-sram = <0x00 0x00 0x00 0x00>; + }; + + opp12 { + opp-hz = /bits/ 64 <0x00>; + opp-microvolt = <0x00 0x00 0x00 0x00>; + opp-microvolt-sram = <0x00 0x00 0x00 0x00>; + }; + + opp13 { + opp-hz = /bits/ 64 <0x00>; + opp-microvolt = <0x00 0x00 0x00 0x00>; + opp-microvolt-sram = <0x00 0x00 0x00 0x00>; + }; + }; + + display: display-subsystem { + compatible = "apple,display-subsystem"; + iommus = <&dart_dispext0 0x00 &dart_dispext1 0x00>; + status = "disabled"; + }; + + soc@2220000000 { + compatible = "simple-bus"; + #address-cells = <0x02>; + #size-cells = <0x02>; + ranges = <0x22 0x20000000 0x22 0x20000000 0x00 0x10000000>; + nonposted-mmio; + + memory-controller@2220000000 { + compatible = "apple,t6050-mcc"; + reg = <0x22 0x20000000 0x00 0x10000>, <0x22 0x20040000 0x00 0x10000>, <0x22 + 0x20080000 0x00 0x10000>, <0x22 0x200c0000 0x00 0x10000>, <0x22 + 0x22000000 0x00 0x10000>, <0x22 0x22040000 0x00 0x10000>, <0x22 + 0x22080000 0x00 0x10000>, <0x22 0x220c0000 0x00 0x10000>, <0x22 + 0x24000000 0x00 0x10000>, <0x22 0x24040000 0x00 0x10000>, <0x22 + 0x24080000 0x00 0x10000>, <0x22 0x240c0000 0x00 0x10000>, <0x22 + 0x26000000 0x00 0x10000>, <0x22 0x26040000 0x00 0x10000>, <0x22 + 0x26080000 0x00 0x10000>, <0x22 0x260c0000 0x00 0x10000>, <0x22 + 0x28000000 0x00 0x10000>, <0x22 0x28040000 0x00 0x10000>, <0x22 + 0x28080000 0x00 0x10000>, <0x22 0x280c0000 0x00 0x10000>, <0x22 + 0x2a000000 0x00 0x10000>, <0x22 0x2a040000 0x00 0x10000>, <0x22 + 0x2a080000 0x00 0x10000>, <0x22 0x2a0c0000 0x00 0x10000>, <0x22 + 0x2c000000 0x00 0x10000>, <0x22 0x2c040000 0x00 0x10000>, <0x22 + 0x2c080000 0x00 0x10000>, <0x22 0x2c0c0000 0x00 0x10000>, <0x22 + 0x2e000000 0x00 0x10000>, <0x22 0x2e040000 0x00 0x10000>, <0x22 + 0x2e080000 0x00 0x10000>, <0x22 0x2e0c0000 0x00 0x10000>; + apple,boot-dma-devices = <&display>; + }; + }; + + soc@2300000000 { + compatible = "simple-bus"; + #address-cells = <0x02>; + #size-cells = <0x02>; + ranges = <0x23 0x00 0x23 0x00 0x00 0x4000000>; + nonposted-mmio; + + /* Installed loader contract: retain this path and both ASC/SGX banks. */ + gpu: gpu@2302600000 { + compatible = "apple,agx-g17c", "apple,agx-g17s", "apple,agx-t6050"; + reg = <0x23 0x2600000 0x00 0x88000>, <0x23 0x00 0x00 0x4000000>; + reg-names = "asc", "sgx"; + mboxes = <&gfx_mbox + &gfx1_mbox>; + power-domains = <&ps_gfx>; + memory-region = <&uat_ttbs + &uat_pagetables &uat_handoff + &gpu_fw_data + &uat_l2_pagetables + &gpu_fw_text>; + memory-region-names = "ttbs" , "pagetables" , "handoff" , "fw-data" , + "l2-pagetables" , "fw-text" ; + operating-points-v2 = <&gpu_opp>; + apple,afr-opp = <&{/opp-table-gpuafr}>; + apple,cs-opp = <&{/opp-table-gpucs}>; + apple,clpc = <&clpc>; + apple,csafr-min-sram-microvolt = <0x00>; + apple,aon-ptd = <0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00>; + status = "disabled"; + }; + + gfx_mbox: mailbox@2302600000 { + compatible = "apple,t6050-j775d-ascwrap-v6"; + reg = <0x23 0x2600000 0x00 0x88000>, <0x23 0x2050000 0x00 0x08>; + reg-names = "wrapper", "iop-vbar"; + interrupts = <0x00 0x00 0xaed 0x04>, <0x00 0x00 0xaf0 0x04>; + interrupt-names = "send-empty", "recv-not-empty"; + apple,firmware-role = "GFX"; + power-domains = <&ps_gfx>; + #mbox-cells = <0x00>; + status = "disabled"; + }; + + gfx1_mbox: mailbox@2302e00000 { + compatible = "apple,t6050-j775d-ascwrap-v6"; + reg = <0x23 0x2e00000 0x00 0x88000>, <0x23 0x2850000 0x00 0x08>; + reg-names = "wrapper", "iop-vbar"; + interrupts = <0x00 0x00 0xaf1 0x04>, <0x00 0x00 0xaf4 0x04>; + interrupt-names = "send-empty", "recv-not-empty"; + apple,firmware-role = "GFX1"; + power-domains = <&ps_gfx>; + #mbox-cells = <0x00>; + status = "disabled"; + }; - flash@0 { - compatible = "jedec,spi-nor"; - reg = <0>; - spi-max-frequency = <25000000>; - /* Single-wire, as on T8132's J713: no quad-enable status write at probe */ - spi-rx-bus-width = <1>; - spi-tx-bus-width = <1>; + pmgr3: power-management@2300e80000 { + compatible = "apple,t6050-pmgr", "apple,t8103-pmgr", "syscon", "simple-mfd"; + reg = <0x23 0xe80000 0x00 0x4000>; + #address-cells = <0x01>; + #size-cells = <0x01>; + status = "okay"; + + ps_gpx: power-controller@0 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x00 0x04>; + label = "gpx"; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + apple,always-on; + status = "disabled"; + }; - partitions { - compatible = "fixed-partitions"; - #address-cells = <1>; - #size-cells = <1>; + ps_afr: power-controller@100 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x100 0x04>; + label = "afr"; + #power-domain-cells = <0x00>; + #reset-cells = <0x00>; + apple,always-on; + status = "disabled"; + }; - nvram: partition@700000 { - label = "nvram"; - /* To be filled by the loader */ - reg = <0x0 0x0>; + ps_gfx: power-controller@110 { + compatible = "apple,t6050-pmgr-pwrstate" , + "apple,t8103-pmgr-pwrstate" ; + reg = <0x110 0x04>; + label = "gfx"; + #power-domain-cells = <0x00>; + power-domains = <&ps_afr + &ps_gpx>; + #reset-cells = <0x00>; status = "disabled"; }; }; }; -}; -/* - * The always-on (NUB) GPIO block, ADT /arm-io/nub-gpio0 (61 pins, no power gate). Only pin 14 is - * exposed: the rear USB-A hubs' reset, ADT spi3/usb3hub-flash/usb3hub-fw function-usb3hub_rst - * (nub-gpio0 pin 14, flags 1). Behind the ASM3142 sits a VIA VL822 USB3.1/USB2.0 hub pair - * (05ac:800e, 05ac:800d) that boots from its own SPI flash once released. The pin is left an - * undriven input, which holds the hubs in reset; driven high, both hubs and the USB-A devices - * behind them enumerate within a second (lobata, 2026-11-04), so the reset is active low. - */ -&{/soc} { -}; + aliases { + serial0 = &dockchannel; + ethernet0 = ðernet0; + wifi0 = &n1_alpha; + bluetooth0 = &n1_beta; + atcphy2 = &atc2_phy; + atcphy0 = &atc0_phy; + atcphy1 = &atc1_phy; + atcphy3 = &atc3_phy; + nvram = &nvram; + usb4-0-acio = &acio0; + usb4-0-nhi = &acio0_nhi; + usb4-1-acio = &acio1; + usb4-1-nhi = &acio1_nhi; + usb4-2-acio = &acio2; + usb4-2-nhi = &acio2_nhi; + usb4-3-acio = &acio3; + usb4-3-nhi = &acio3_nhi; + }; -/* - * Rear USB-C port 3 (HPM2, usb-pd@8, the display port): its USB controller, enabled with - * atc2_phy as t6050.dtsi says, for USB beside DisplayPort. - */ -&usb_drd2 { - status = "okay"; -}; + chosen { + #address-cells = <0x02>; + #size-cells = <0x02>; + ranges; + }; -&usb_drd2_dart_0 { - status = "okay"; -}; + pcie0: pcie@1cb0000000 { + compatible = "apple,t6050-pcie"; + device_type = "pci"; + reg = <0x1c 0xb0000000 0x00 0x10000000>, <0x04 0x14000000 0x00 0x4000>, <0x04 + 0x12028000 0x00 0x8000>, <0x04 0x17018000 0x00 0x4000>, <0x04 0x12024000 + 0x00 0x4000>, <0x04 0x13028000 0x00 0x8000>, <0x04 0x1701c000 0x00 0x4000>, + <0x04 0x13024000 0x00 0x4000>, <0x04 0x10028000 0x00 0x8000>, <0x04 + 0x17010000 0x00 0x4000>, <0x04 0x10024000 0x00 0x4000>, <0x04 0x11028000 + 0x00 0x8000>, <0x04 0x17014000 0x00 0x4000>, <0x04 0x11024000 0x00 0x4000>; + reg-names = "config" , "rc" , "port2" , "phy2" , "intr2axi2" , "port3" , "phy3" , + "intr2axi3" , "port0" , "phy0" , "intr2axi0" , "port1" , "phy1" , + "intr2axi1" ; + nonposted-mmio; + interrupts = <0x00 0x00 0x603 0x04>, <0x00 0x00 0x60b 0x04>, <0x00 0x00 0x5f3 0x04>, + <0x00 0x00 0x5fb 0x04>; + interrupt-names = "port2", "port3", "port0", "port1"; + msi-controller; + msi-parent = <&pcie0>; + msi-ranges = <&aic 0x00 0x00 0x760 0x01 0x40>; + apple,msi-vector-base = <0x40>; + iommu-map = <0x100 &dart_apcie2 0x01 0x01 0x200 &dart_apcie3 + 0x01 0x01 0x300 &dart_apcie0 0x01 0x03 0x400 + &dart_apcie1 0x01 0x01>; + iommu-map-mask = <0xffff>; + dma-coherent; + linux,pci-domain = <0x00>; + bus-range = <0x00 0x04>; + #address-cells = <0x03>; + #size-cells = <0x02>; + ranges = <0x2000000 0x00 0x80000000 0x0b 0x80000000 0x00 0x40000000>, <0x43000000 + 0x0b 0xc0000000 0x0b 0xc0000000 0x00 0x20000000>; -&usb_drd2_dart_1 { - status = "okay"; -}; + port02: pci@2,0 { + device_type = "pci"; + reg = <0x1000 0x00 0x00 0x00 0x00>; + bus-range = <0x01 0x01>; + apple,link-trained-by-bootloader; + #address-cells = <0x03>; + #size-cells = <0x02>; + ranges; + interrupt-controller; + #interrupt-cells = <0x01>; + interrupt-map-mask = <0x00 0x00 0x00 0x07>; + interrupt-map = <0x00 0x00 0x00 0x01 &port02 0x00 0x00 + 0x00 0x00 0x00 0x00 0x00 0x02 &port02 0x00 0x00 + 0x00 0x01 0x00 0x00 0x00 0x03 &port02 0x00 0x00 + 0x00 0x02 0x00 0x00 0x00 0x04 &port02 0x00 0x00 + 0x00 0x03>; -/* - * The HDMI port. On the one-die J775c it hangs off die 0, where J775D has it on die 1 - * (dcpext4, lpdptx-phy1, dp2hdmi-gpio1, all deleted here with the die-1 buses). From the - * J775c ADT (captured 2026-11-03, macOS 26A425; arm-io ranges child 0 -> 0x200000000): - * - display-crossbar0 (display-crossbar,t6050) has no registers. Its dfp endpoint 4 is - * lpdptx-phy0 (dp-switch-dfp-endpoint 4, transports-supported 5); its ufp endpoints are - * dispext0..7. dcpext1 is ufp endpoint 1 (dcpext0, which takes the four rear USB-C - * ports, is 0), so the PHY's source select picks it (source-select-offset 1). - * - lpdptx-phy0 (dptx-phy,t6050): reg 0x9c240000+0x10000 (dptx) and 0x9c200000+0x4000 - * (core); power-gates and clock-gates 0xe5, PMGR device DPTX_PHY (ps-group 1 + 0x3f8, - * no parents); DCOCFG 3, DTCVREG 15, DTCCAL 2, DCDADJ 16, DLFCFG 3, pclkdrv-select 1; - * RODCOROLEAKCOMP and FD0FD1SWAP absent (0xffffffff). - * - dp2hdmi-gpio0 (dp2hdmi-gpio-parent of lpdptx-phy0, pcon-stays-on): hdmi_hpd is - * aop-gpio0 pin 14, hdmi_pwr_en and dp2hdmi_pwr_en the SMC's pKW8 pcIO commands; the - * same pins as J775D's dp2hdmi-gpio1, which t6050.dtsi already describes (pinctrl_aop, - * smc_pcio). - * - dcpext1 (iop-dcpext1-nub external-index 2), dispext1, dart-dcpext1, dart-dispext1: - * dcpext0's layout at +0x1e0000000 (child 0x1_92e00000), but dispext1's reg[4], the PMC - * metadata, is the one dispext0 names. Interrupts: mailbox 1195..1198 (ADT order - * 0x4ac 0x4ab 0x4ae 0x4ad, as dcpext0's 0x464 0x463 0x466 0x465), both DARTs 1142. - * The bandwidth request is PMGR bwr-agent 4, DISP_EXT1 (BIRQ 0x3c, dispext1's - * bw_req_interrupt0); its scratch is 0x20000 + 0x4000 * agent, as DISP_INT (agent 0, - * J716c's dcp at 0x20000) and DISP_EXT0 (agent 3, dcpext0 at 0x2c000) have it. - * iBoot leaves dcpext1 as it leaves dcpext0: powered (DISPEXT1_CPU 0x2806002e0 = - * 0x1404024f), its ASC running, both DARTs locked (0xff / 0xb9) on the ADT's l1-tt roots - * for SIDs 23, 0 and 16 (Aura's T6050 inventory on lobata, 2026-11-04). All disabled: - * Aura's T6050 handoff enables dcpext1 with its nodes, the PHY and its power domain and - * pinctrl_aop when the engine passes the same checks as dcpext0, and appends - * dart_dispext1 to the display subsystem. - */ -&{/soc} { + ethernet0: ethernet@0,0 { + reg = <0x10000 0x00 0x00 0x00 0x00>; + local-mac-address = [00 00 00 00 00 00]; + }; + }; + port03: pci@3,0 { + device_type = "pci"; + reg = <0x1800 0x00 0x00 0x00 0x00>; + bus-range = <0x02 0x02>; + apple,link-trained-by-bootloader; + #address-cells = <0x03>; + #size-cells = <0x02>; + ranges; + interrupt-controller; + #interrupt-cells = <0x01>; + interrupt-map-mask = <0x00 0x00 0x00 0x07>; + interrupt-map = <0x00 0x00 0x00 0x01 &port03 0x00 0x00 + 0x00 0x00 0x00 0x00 0x00 0x02 &port03 0x00 0x00 + 0x00 0x01 0x00 0x00 0x00 0x03 &port03 0x00 0x00 + 0x00 0x02 0x00 0x00 0x00 0x04 &port03 0x00 0x00 + 0x00 0x03>; + }; + + port00: pci@0,0 { + device_type = "pci"; + reg = <0x00 0x00 0x00 0x00 0x00>; + bus-range = <0x03 0x03>; + apple,link-trained-by-bootloader; + reset-gpios = <&pinctrl_ap 0x50 0x01>; + status = "disabled"; + #address-cells = <0x03>; + #size-cells = <0x02>; + ranges; + interrupt-controller; + #interrupt-cells = <0x01>; + interrupt-map-mask = <0x00 0x00 0x00 0x07>; + interrupt-map = <0x00 0x00 0x00 0x01 &port00 0x00 0x00 + 0x00 0x00 0x00 0x00 0x00 0x02 &port00 0x00 0x00 + 0x00 0x01 0x00 0x00 0x00 0x03 &port00 0x00 0x00 + 0x00 0x02 0x00 0x00 0x00 0x04 &port00 0x00 0x00 + 0x00 0x03>; + + n1_control: control@0,0 { + compatible = "pci106b,1900"; + reg = <0x30000 0x00 0x00 0x00 0x00>; + firmware-name = "apple/centauri/j775c-ftab.bin"; + apple,centauri-platform-id = <0x106050>; + apple,centauri-protocol = <0x1b>; + }; + n1_alpha: wifi@0,1 { + compatible = "pci106b,1902"; + reg = <0x30100 0x00 0x00 0x00 0x00>; + local-mac-address = [00 00 00 00 00 00]; + }; + n1_beta: bluetooth@0,2 { + compatible = "pci106b,1903"; + reg = <0x30200 0x00 0x00 0x00 0x00>; + local-bd-address = [00 00 00 00 00 00]; + }; + }; -}; + port01: pci@1,0 { + device_type = "pci"; + reg = <0x800 0x00 0x00 0x00 0x00>; + bus-range = <0x04 0x04>; + apple,link-trained-by-bootloader; + status = "disabled"; + #address-cells = <0x03>; + #size-cells = <0x02>; + ranges; + interrupt-controller; + #interrupt-cells = <0x01>; + interrupt-map-mask = <0x00 0x00 0x00 0x07>; + interrupt-map = <0x00 0x00 0x00 0x01 &port01 0x00 0x00 + 0x00 0x00 0x00 0x00 0x00 0x02 &port01 0x00 0x00 + 0x00 0x01 0x00 0x00 0x00 0x03 &port01 0x00 0x00 + 0x00 0x02 0x00 0x00 0x00 0x04 &port01 0x00 0x00 + 0x00 0x03>; -/* The HDMI PHY's power gate (ADT pmgr DPTX_PHY, 0xe5); with no consumer it stays off */ -&pmgr1 { - ps_dptx_phy: power-controller@3f8 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x3f8 4>; - label = "dptx_phy"; - #power-domain-cells = <0>; - #reset-cells = <0>; + sdcard@0,0 { + compatible = "pci17a0,9755"; + reg = <0x40000 0x00 0x00 0x00 0x00>; + cd-inverted; + wp-inverted; + }; + }; }; -}; -/* - * The HDMI hotplug input is the only AOP GPIO pin the AP uses; the AOP owns the rest, - * so only pin 14 is exposed (pin 15, force-dpfu, is never requested). - */ -&pinctrl_aop { - gpio-reserved-ranges = <0 14>, <15 70>; -}; + sound { + compatible = "apple,j775c-macaudio", "apple,macaudio"; + model = "Mac Studio J775"; + #address-cells = <0x01>; + #size-cells = <0x00>; -/* - * The HDMI port's audio. On T6050 every display pipe has its own audio DMA controller (ADT - * admac-dispextN, "admac,t6050", the AOP's ADMAC family), behind its own DART - * (dart-dispextN-isoc, one mapper: dispextN-dpa, SID 30), feeding that pipe's DisplayPort - * audio interface (dp-audioN+1). M1..M4 fed it from the SIO coprocessor instead; this - * generation has no SIO DMA path for it (ADT dp-audio2 dma-parent = admac-dispext1), and - * macOS drives it from the AP (AudioDMAController-T605x on admac-dispext1, channel DX10TX; - * DCPAVAudioDMADelegate on dp-audio2). The DCP's audio service on port@0 does the rest. - * From the J775c ADT (arm-io child 0 -> 0x200000000): - * - admac-dispext1: reg 0x1_92140000+0x24000 and the shared 0x88328000+8 (the LLT vote - * register admac-base-ns names too; not needed here); one TX channel; interrupt 0x48c on - * irq-destination 0 (AIC), as admac-base-ns; channel-buffer-allocation 0x1900. - * - dart-dispext1-isoc (dart,t8110): reg 0x1_92180000+0x20000 (and the shared PS_PROT block - * at 0x803f0000), interrupt 0x48d, vm-base 1 TiB, vm-size 64 GiB, no l1-tt: iBoot sets up - * no stream on it, so it is not locked. - * - dp-audio2: power-gates/clock-gates 0x51 = PMGR DISPEXT1_ADMA (ps-group 0, 0x2d8, parent - * DISPEXT1_SYS, which iBoot leaves on with dcpext1); dma-parent admac-dispext1 channel 0. - * No AP-side registers. The ADMAC and the DART have no power gate of their own; both are - * given DISPEXT1_ADMA, which macOS turns on for the DPA. - * The audio interface itself is always available: the display subsystem waits for it as a - * component of dcpext1 (once Aura enables dcpext1), so it carries no power domain whose - * failure could hold the display back. A DMA controller that does not come up only fails - * the PCM's open. - */ -&{/soc} { + dai-link@0 { + reg = <0x00>; + link-name = "Headphone Jack"; -}; + cpu { + sound-dai = <&aop_audio 0x00>; + }; -&pmgr0 { - /* ADT pmgr DISPEXT1_ADMA (0x51): dispext1's audio DMA and DisplayPort audio */ - ps_dispext1_adma: power-controller@2d8 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x2d8 4>; - label = "dispext1_adma"; - #power-domain-cells = <0>; - #reset-cells = <0>; - }; -}; + codec { + sound-dai = <&jack_codec>; + }; + }; + + dai-link@1 { + reg = <0x01>; + link-name = "Speaker"; -&dcpext1 { - ports { - #address-cells = <1>; - #size-cells = <0>; + cpu { + sound-dai = <&aop_audio 0x03>; + }; - port@0 { - reg = <0>; - dcpext1_audio: endpoint { - remote-endpoint = <&dpaudio_dispext1_dcp>; + codec { + sound-dai = <&speaker_amp>; }; }; }; -}; -/* ADT dp-audio2: no AP-side registers, so not on the SoC bus */ -/ { dpaudio_dispext1: audio-controller-dispext1 { compatible = "apple,t6050-dpaudio", "apple,dpaudio"; - dmas = <&admac_dispext1 0>; + dmas = <&admac_dispext1 0x00>; dma-names = "tx"; ports { - #address-cells = <1>; - #size-cells = <0>; + #address-cells = <0x01>; + #size-cells = <0x00>; port@0 { - reg = <0>; + reg = <0x00>; + dpaudio_dispext1_dcp: endpoint { remote-endpoint = <&dcpext1_audio>; }; }; }; }; -}; - -/* - * DisplayPort audio on the rear USB-C ports: dcpext0's pipe, laid out as dcpext1's above. - * ADT admac-dispext0 0xb2140000 (interrupt 0x444), dart-dispext0-isoc 0xb2180000 (interrupt - * 0x445, SID 30, no l1-tt), dp-audio1 with power gate DISPEXT0_ADMA (0x44, pmgr0 0x270, - * parent DISPEXT0_SYS). - */ -&{/soc} { - -}; - -&pmgr0 { - /* ADT pmgr DISPEXT0_ADMA (0x44): dispext0's audio DMA and DisplayPort audio */ - ps_dispext0_adma: power-controller@270 { - compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; - reg = <0x270 4>; - label = "dispext0_adma"; - #power-domain-cells = <0>; - #reset-cells = <0>; - }; -}; - -&dcpext0 { - ports { - #address-cells = <1>; - #size-cells = <0>; - - port@0 { - reg = <0>; - dcpext0_audio: endpoint { - remote-endpoint = <&dpaudio_dispext0_dcp>; - }; - }; - }; -}; -/* ADT dp-audio1 */ -/ { dpaudio_dispext0: audio-controller-dispext0 { compatible = "apple,t6050-dpaudio", "apple,dpaudio"; - dmas = <&admac_dispext0 0>; + dmas = <&admac_dispext0 0x00>; dma-names = "tx"; ports { - #address-cells = <1>; - #size-cells = <0>; + #address-cells = <0x01>; + #size-cells = <0x00>; port@0 { - reg = <0>; + reg = <0x00>; + dpaudio_dispext0_dcp: endpoint { remote-endpoint = <&dcpext0_audio>; }; }; }; }; -}; - -/* The untrained port's DART must not be probed; Aura enables it after link-up. */ -&{/soc} { -}; - -#include "t6050-j775c-usb4.dtsi" - -/* Diagnostic-only ramoops policy is not carried into the upstream layout. */ - -/* Match the ported board's ATC2 supplier activation. */ -&atc2_phy_mbox { status = "okay"; }; -&atc2_phy { status = "okay"; }; -&atc2_xbar { status = "okay"; }; -/* Match the ported board's rear port 3 PD activation. */ -&hpm2 { status = "okay"; }; - -/* Activate ATC2 domain providers as a separate migration step. */ -&ps_atc2_common { status = "okay"; }; -&ps_atc2_usb_aon { status = "okay"; }; -&ps_atc2_phymxwrap { status = "okay"; }; -&ps_atc2_usb { status = "okay"; }; + opp-table-gpuafr { + compatible = "operating-points-v2"; -/* Exact shared ACIO0/1/3 definitions from 953cbcc0, enabled here. */ -#include "t6050-acio.dtsi" + opp00 { + opp-hz = <0x00 0x00>; + opp-microvolt = <0x00>; + }; -&acio0_mbox { status = "okay"; }; -&acio0 { - status = "okay"; + opp01 { + opp-hz = <0x00 0x00>; + opp-microvolt = <0x00>; + }; - port { - acio0_tbt: endpoint { - remote-endpoint = <&hpm0_usb4>; + opp02 { + opp-hz = <0x00 0x00>; + opp-microvolt = <0x00>; }; - }; -}; -&acio1_mbox { status = "okay"; }; -&acio1 { - status = "okay"; + opp03 { + opp-hz = <0x00 0x00>; + opp-microvolt = <0x00>; + }; - port { - acio1_tbt: endpoint { - remote-endpoint = <&hpm1_usb4>; + opp04 { + opp-hz = <0x00 0x00>; + opp-microvolt = <0x00>; }; - }; -}; -&acio3_mbox { status = "okay"; }; -&acio3 { - status = "okay"; + opp05 { + opp-hz = <0x00 0x00>; + opp-microvolt = <0x00>; + }; - port { - acio3_tbt: endpoint { - remote-endpoint = <&hpm3_usb4>; + opp06 { + opp-hz = <0x00 0x00>; + opp-microvolt = <0x00>; }; - }; -}; -#include "t6050-j775c-incremental-pmgr.dtsi" + opp07 { + opp-hz = <0x00 0x00>; + opp-microvolt = <0x00>; + }; -#include "t6050-j775c-incremental-pcie.dtsi" + opp08 { + opp-hz = <0x00 0x00>; + opp-microvolt = <0x00>; + }; -#include "t6050-j775c-incremental-display.dtsi" + opp09 { + opp-hz = <0x00 0x00>; + opp-microvolt = <0x00>; + }; -/* J775c has no internal panel: retain the booted desktop handoff selection. */ -/delete-node/ &{/soc/dcp@48ae00000}; + opp10 { + opp-hz = <0x00 0x00>; + opp-microvolt = <0x00>; + }; -#include "t6050-j775c-incremental-audio.dtsi" + opp11 { + opp-hz = <0x00 0x00>; + opp-microvolt = <0x00>; + }; -#include "t6050-j775c-incremental-sd.dtsi" + opp12 { + opp-hz = <0x00 0x00>; + opp-microvolt = <0x00>; + }; -/* Remove unreferenced die1 caches inherited by the retained source. */ -/delete-node/ &{/cpus/l2-cache-m10}; -/delete-node/ &{/cpus/l2-cache-m11}; -/delete-node/ &{/cpus/l3-cache-p1}; -/delete-node/ &{/cpus/l2-cache-p1-0}; -/delete-node/ &{/cpus/l2-cache-p1-1}; -/delete-node/ &{/cpus/l2-cache-p1-2}; -/delete-node/ &{/cpus/l2-cache-p1-3}; -/delete-node/ &{/cpus/l2-cache-p1-4}; -/delete-node/ &{/cpus/l2-cache-p1-5}; + opp13 { + opp-hz = <0x00 0x00>; + opp-microvolt = <0x00>; + }; + }; -#include "t6050-j775c-incremental-usbpolicy.dtsi" + opp-table-gpucs { + compatible = "operating-points-v2"; -#include "t6050-j775c-incremental-spmi.dtsi" + opp00 { + opp-hz = <0x00 0x00>; + opp-microvolt = <0x00>; + }; -#include "t6050-j775c-incremental-pmgr4.dtsi" + opp01 { + opp-hz = <0x00 0x00>; + opp-microvolt = <0x00>; + }; -#include "t6050-j775c-incremental-additions.dtsi" + opp02 { + opp-hz = <0x00 0x00>; + opp-microvolt = <0x00>; + }; -/* Isolate newly active MTP DART from the inventory additions. */ -&{/soc/iommu@294800000} { status = "disabled"; }; + opp03 { + opp-hz = <0x00 0x00>; + opp-microvolt = <0x00>; + }; -#include "t6050-j775c-incremental-remaining-nogpu.dtsi" + opp04 { + opp-hz = <0x00 0x00>; + opp-microvolt = <0x00>; + }; -/* Keep isolated MTP activation failure disabled after later migrations. */ -&{/soc/iommu@294800000} { status = "disabled"; }; + opp05 { + opp-hz = <0x00 0x00>; + opp-microvolt = <0x00>; + }; -#include "t6050-j775c-incremental-gpuopp.dtsi" + opp06 { + opp-hz = <0x00 0x00>; + opp-microvolt = <0x00>; + }; -/* Installed Stage2 needs the final fallback while Linux uses current G17 compatibles. */ -&gpu { compatible = "apple,agx-g17c", "apple,agx-g17s", "apple,agx-t6050"; }; + opp07 { + opp-hz = <0x00 0x00>; + opp-microvolt = <0x00>; + }; -/delete-node/ &{/opp-table-gpu-afr}; -/delete-node/ &{/opp-table-gpu-cs}; + opp08 { + opp-hz = <0x00 0x00>; + opp-microvolt = <0x00>; + }; -/* The shared router graph uses adapter port 1; drop stale duplicate links. */ -&acio0 { - /delete-node/ port; -}; + opp09 { + opp-hz = <0x00 0x00>; + opp-microvolt = <0x00>; + }; -&acio1 { - /delete-node/ port; -}; + opp10 { + opp-hz = <0x00 0x00>; + opp-microvolt = <0x00>; + }; -&acio2 { - /delete-node/ port; -}; + opp11 { + opp-hz = <0x00 0x00>; + opp-microvolt = <0x00>; + }; -&acio3 { - /delete-node/ port; -}; + opp12 { + opp-hz = <0x00 0x00>; + opp-microvolt = <0x00>; + }; -/* Name the retained second ADT window without assigning a filter role. */ -&ane_dart0 { - reg-names = "dart", "auxiliary"; + opp13 { + opp-hz = <0x00 0x00>; + opp-microvolt = <0x00>; + }; + }; }; From f21ee133a2483cf64a8df1ffae5fccfca98eb4d0 Mon Sep 17 00:00:00 2001 From: Diljit Singh Date: Mon, 16 Nov 2026 16:13:58 -0500 Subject: [PATCH 08/12] dt-bindings: gpu: apple: describe the installed G17C loader fallback Allow only the exact G17C, G17S, T6050 compatible sequence required by installed loaders, alongside the existing two-item G17C form. Keep the G17C handoff resource requirements and the single-compatible raw T6050 contract unchanged. Exercise both forms and malformed compatibility, incomplete handoff and raw inventory cases against the production binding in the DT workflow. Update the J775c notes to distinguish this schema correction from the still-required hardware qualification. Signed-off-by: Diljit Singh --- .github/workflows/dt-checks.yml | 3 + .../devicetree/apple-j775c-compatibility.rst | 27 ++-- .../devicetree/bindings/gpu/apple,agx.yaml | 7 + scripts/dtc/apple-agx-binding-test.py | 142 ++++++++++++++++++ 4 files changed, 169 insertions(+), 10 deletions(-) create mode 100644 scripts/dtc/apple-agx-binding-test.py diff --git a/.github/workflows/dt-checks.yml b/.github/workflows/dt-checks.yml index 1c2d88af7bc3e..c957386db288a 100644 --- a/.github/workflows/dt-checks.yml +++ b/.github/workflows/dt-checks.yml @@ -61,6 +61,9 @@ jobs: echo "/usr/lib/llvm-$CLANG_VERSION/bin" >> "$GITHUB_PATH" pip install --quiet dtschema yamllint pylibfdt + - name: GPU binding compatibility and resource contracts + run: python3 scripts/dtc/apple-agx-binding-test.py + - name: CHECK_DTBS and dt_binding_check, base vs head id: dt env: diff --git a/Documentation/devicetree/apple-j775c-compatibility.rst b/Documentation/devicetree/apple-j775c-compatibility.rst index 5f7636ae3c1c3..0a8b7bdef0334 100644 --- a/Documentation/devicetree/apple-j775c-compatibility.rst +++ b/Documentation/devicetree/apple-j775c-compatibility.rst @@ -50,13 +50,20 @@ inheriting the shared disabled inventory. The production-C Clock PM host test covers the locked and unlocked PCI APIs, errors and adopted-host gate; it does not qualify physical links or other M5 boards. -Full-schema validation still reports the legacy GPU compatible-list -``oneOf`` failure. ``scripts/dtc/apple-dt-check.sh`` compares normalized -warning sets for all Apple DTBs at base and head. It has no warning -allowlist or board exception mechanism. ADT coverage waivers cannot waive -schema diagnostics. - -Keep this work draft until the GPU loader migration and affected-board -hardware qualification are complete. A later migration must recheck GPU -handoff and HDMI on J775c; old hardware receipts do not qualify a new -loader or kernel composition. +The GPU binding describes both the two-item G17C compatible list and the +exact three-item list carrying the installed loader's T6050 fallback. +Both forms retain the same register, mailbox, memory and performance +handoff requirements. This does not change the separate, disabled raw +T6050 GPU inventory contract. ``scripts/dtc/apple-agx-binding-test.py`` +checks both valid forms and rejects malformed lists, incomplete G17C +resources and a raw T6050 node without its required interrupt inventory. + +``scripts/dtc/apple-dt-check.sh`` compares normalized warning sets for all +Apple DTBs at base and head. It has no warning allowlist or board exception +mechanism. ADT coverage waivers cannot waive schema diagnostics. + +Keep this work draft until affected-board hardware qualification is +complete. Any later migration to a modern loader must recheck GPU handoff +and HDMI on J775c; old hardware receipts do not qualify a new loader or +kernel composition. Accepting the existing binding contract is not new +hardware qualification. diff --git a/Documentation/devicetree/bindings/gpu/apple,agx.yaml b/Documentation/devicetree/bindings/gpu/apple,agx.yaml index 7794c0e13b939..327d268de5a43 100644 --- a/Documentation/devicetree/bindings/gpu/apple,agx.yaml +++ b/Documentation/devicetree/bindings/gpu/apple,agx.yaml @@ -27,6 +27,13 @@ properties: - items: - const: apple,agx-g17c - const: apple,agx-g17s + - description: + G17C firmware handoff with the SoC fallback required by installed + boot loaders when filling operating points and firmware resources. + items: + - const: apple,agx-g17c + - const: apple,agx-g17s + - const: apple,agx-t6050 - items: - const: apple,agx-t8103 - const: apple,agx-g13g diff --git a/scripts/dtc/apple-agx-binding-test.py b/scripts/dtc/apple-agx-binding-test.py new file mode 100644 index 0000000000000..90c7bd37002d1 --- /dev/null +++ b/scripts/dtc/apple-agx-binding-test.py @@ -0,0 +1,142 @@ +#!/usr/bin/env python3 +# SPDX-License-Identifier: GPL-2.0-only OR MIT +"""Validate G17 GPU compatibility and resource contracts with the real binding.""" + +from pathlib import Path +import unittest + +from dtschema import DTValidator + +ROOT = Path(__file__).resolve().parents[2] +BINDING = ROOT / "Documentation/devicetree/bindings/gpu/apple,agx.yaml" + + +def g17c(fallback=False): + compatible = ["apple,agx-g17c", "apple,agx-g17s"] + if fallback: + compatible.append("apple,agx-t6050") + return { + "compatible": compatible, + "reg": [[0x23, 0x2600000, 0, 0x88000], [0x23, 0, 0, 0x4000000]], + "reg-names": ["asc", "sgx"], + "mboxes": [[1], [2]], + "power-domains": [[3]], + "memory-region": [[4], [5], [6], [7], [8], [9]], + "memory-region-names": [ + "ttbs", "pagetables", "handoff", "fw-data", "l2-pagetables", "fw-text" + ], + "operating-points-v2": [[10]], + "apple,cs-opp": [[11]], + "apple,afr-opp": [[12]], + "apple,csafr-min-sram-microvolt": [0], + "apple,aon-ptd": [0] * 9, + "status": ["disabled"], + } + + +def raw_t6050(): + return { + "compatible": ["apple,agx-t6050"], + "reg": [[0x23, 0, 0, 0x4000000], [0x23, 0x2600000, 0, 0x88000]], + "interrupts": [[0, 0, irq, 4] for irq in range(8)], + "power-domains": [[1]], + "status": ["disabled"], + } + + +class GPUContracts(unittest.TestCase): + @classmethod + def setUpClass(cls): + cls.validator = DTValidator([str(BINDING)]) + + def errors(self, node): + return list(self.validator.iter_errors(node, filter=["gpu/apple,agx.yaml"])) + + def assert_valid(self, node): + errors = self.errors(node) + self.assertFalse(errors, "\n".join(error.message for error in errors)) + + def assert_invalid(self, node, property_name): + errors = self.errors(node) + self.assertTrue(errors, "invalid GPU description unexpectedly accepted") + def context(error): + yield error + for child in error.context: + yield from context(child) + + details = [child for error in errors for child in context(error)] + self.assertTrue( + any(property_name in error.path or property_name in error.message for error in details), + "\n".join(error.message for error in errors), + ) + + def test_g17c_modern_and_loader_fallback(self): + for fallback in (False, True): + with self.subTest(fallback=fallback): + self.assert_valid(g17c(fallback)) + + def test_compatibles_are_exact_and_ordered(self): + for compatible in ( + ["apple,agx-g17c", "apple,agx-g17s", "apple,agx-t8140"], + ["apple,agx-g17s", "apple,agx-g17c", "apple,agx-t6050"], + ["apple,agx-g17c", "apple,agx-t6050"], + ["apple,agx-g17c", "apple,agx-g17s", "apple,agx-t6050", "apple,agx-g13s"], + ): + with self.subTest(compatible=compatible): + node = g17c(True) + node["compatible"] = compatible + self.assert_invalid(node, "compatible") + + def test_g17c_resource_contract_is_not_relaxed(self): + for fallback in (False, True): + for name, value in ( + ("reg", [[0x23, 0, 0, 0x4000000]]), + ("reg-names", ["sgx", "asc"]), + ("mboxes", [[1]]), + ("memory-region", [[4], [5], [6]]), + ("memory-region-names", ["ttbs", "pagetables", "handoff"]), + ): + with self.subTest(fallback=fallback, property=name): + node = g17c(fallback) + node[name] = value + self.assert_invalid(node, name) + + def test_required_g17c_handoff_properties_remain_required(self): + for fallback in (False, True): + for name in ( + "power-domains", "operating-points-v2", "apple,cs-opp", "apple,afr-opp", + "apple,csafr-min-sram-microvolt", "apple,aon-ptd", + ): + with self.subTest(fallback=fallback, property=name): + node = g17c(fallback) + del node[name] + self.assert_invalid(node, name) + + def test_g17s_existing_single_register_form(self): + node = g17c() + node["compatible"] = ["apple,agx-g17s"] + node["reg"] = [[0x23, 0, 0, 0x4000000]] + node["reg-names"] = ["sgx"] + for name in ( + "operating-points-v2", "apple,cs-opp", "apple,afr-opp", + "apple,csafr-min-sram-microvolt", "apple,aon-ptd", + ): + del node[name] + self.assert_valid(node) + + def test_raw_t6050_remains_disabled_with_interrupt_inventory(self): + self.assert_valid(raw_t6050()) + for name, value in (("status", ["okay"]), ("interrupts", [[0, 0, 1, 4]])): + with self.subTest(property=name): + node = raw_t6050() + node[name] = value + self.assert_invalid(node, name) + + def test_raw_t6050_does_not_accept_coprocessor_only_handoff(self): + node = g17c() + node["compatible"] = ["apple,agx-t6050"] + self.assert_invalid(node, "interrupts") + + +if __name__ == "__main__": + unittest.main() From a6a3f97cc27725fc09fb39584faed835268dbb2b Mon Sep 17 00:00:00 2001 From: Joshua Warren <816217+joshuaswarren@users.noreply.github.com> Date: Wed, 18 Nov 2026 13:49:20 -0600 Subject: [PATCH 09/12] drm/asahi: g17: fw: the InitData layouts of the M5 firmware builds (26B123, 26C5035r) The M5 Pro and Max firmware builds of macOS 27.2 (26B123) and 27.3 beta 1 (26C5035r) grow the power policy and the status config against 26A428, and the 26C5035r build inserts one HW data word. Carrying those layouts needs per-build InitData tables; the profile scheme had them only for 26A428. Port the M5Layout subsystem from the wAP rebase onto the current tip: - fw/variant.rs: the M5Layouts enum and the m5_layouts field, with the V26B123_M5 and V26C5035_M5 variants (V26C5035r acknowledged on a J716s under aura; 27.2 has not run on metal yet). - fw/m5/initdata.rs: the M5Layout and M5StatusConfigMap/M5PolicyMap subsystems with the two new profiles (J714G17S26B123, J714G17S26C5035); the encoders take the build's layout; the policy and status-config maps relocate the build's fields in place (relayout_m5_policy); the M5Graph consts for the two builds and the J714_26B123/J714_26C5035 boards. - initdata/m5.rs: the submission history reads through the status-config map; build_m5 lays the policy out for the build before the controller defaults run. Const-graph rule learned on the way: a per-build Config override must be a full literal, because a struct-update from the base would inherit the base's build list, whose 26C5035r entry names the override. Proof: drivers/gpu/drm/asahi/aurora.o builds for arm64 with the pinned bindgen (rustc 1.96.0); the const assert blocks of the ported tables evaluate during that build. --- drivers/gpu/drm/asahi/g17/fw/m5/initdata.rs | 984 +++++++++++++++++--- drivers/gpu/drm/asahi/g17/fw/variant.rs | 34 + drivers/gpu/drm/asahi/g17/initdata/m5.rs | 37 +- 3 files changed, 906 insertions(+), 149 deletions(-) diff --git a/drivers/gpu/drm/asahi/g17/fw/m5/initdata.rs b/drivers/gpu/drm/asahi/g17/fw/m5/initdata.rs index fa59271630930..c39c64c6fa52e 100644 --- a/drivers/gpu/drm/asahi/g17/fw/m5/initdata.rs +++ b/drivers/gpu/drm/asahi/g17/fw/m5/initdata.rs @@ -10,6 +10,7 @@ use core::ops::Range; use core::result::Result; use crate::g17::fw::kick::{KickTimestamp, KICK_SLOTS}; +use super::super::variant::M5Layouts; pub(crate) const ROOT_SIZE_PRIMARY: usize = 0x0b8; @@ -41,9 +42,41 @@ pub(crate) enum RootProfile { /// [`Self::J873G18G26A428`] graph with a longer policy and status config /// ([`COMMON26B123_LAYOUTS`]). The J813's G17G build runs it as the J873's G18G one does. J873G18G26B123, + + /// The M5 graph of the macOS 27.2 firmware (26B123): the 26A428 graph with a larger power + /// policy and status config ([`ABI_ALLOCATION_SIZES_26B123_M5`]). + J714G17S26B123, + + /// The M5 graph of the macOS 27.3 beta 1 firmware (26C5035r): the 26B123 graph with one more + /// HW data word ([`M5_26C5035_HW_DATA_BANDS`]). It takes the same interface version word as + /// 26B123's, so only the firmware's identity tells them apart. + J714G17S26C5035, } impl RootProfile { + /// The M5 graph profile of a firmware build's InitData layouts. + pub(crate) const fn for_m5_layouts(layouts: super::super::variant::M5Layouts) -> Self { + use super::super::variant::M5Layouts; + match layouts { + M5Layouts::V26A428 => Self::J714G17S26A428, + M5Layouts::V26B123 => Self::J714G17S26B123, + M5Layouts::V26C5035 => Self::J714G17S26C5035, + } + } + + /// The layout of an M5 graph profile, `None` for the others. + pub(crate) const fn m5_layout(self) -> Option<&'static M5Layout> { + match self { + Self::J714G17S26A428 => Some(&M5_LAYOUT_26A428), + Self::J714G17S26B123 => Some(&M5_LAYOUT_26B123), + Self::J714G17S26C5035 => Some(&M5_LAYOUT_26C5035), + Self::J700G17P + | Self::J813G17G25G76 + | Self::J873G18G26A428 + | Self::J873G18G26B123 => None, + } + } + pub(crate) const fn version_word(self) -> u64 { match self { Self::J700G17P => INITDATA_VERSION_WORD, @@ -51,6 +84,7 @@ impl RootProfile { Self::J873G18G26A428 => COMMON26_INITDATA_VERSION_WORD, Self::J873G18G26B123 => COMMON26B123_INITDATA_VERSION_WORD, Self::J714G17S26A428 => M5_INITDATA_VERSION_WORD, + Self::J714G17S26B123 | Self::J714G17S26C5035 => M5_26B123_INITDATA_VERSION_WORD, } } @@ -64,14 +98,18 @@ impl RootProfile { match self { Self::J873G18G26A428 => Some(&COMMON26_LAYOUTS), Self::J873G18G26B123 => Some(&COMMON26B123_LAYOUTS), - Self::J700G17P | Self::J813G17G25G76 | Self::J714G17S26A428 => None, + Self::J700G17P + | Self::J813G17G25G76 + | Self::J714G17S26A428 + | Self::J714G17S26B123 + | Self::J714G17S26C5035 => None, } } pub(crate) const fn root_size(self, role: InstanceRole) -> usize { match self { Self::J873G18G26A428 | Self::J873G18G26B123 => COMMON26_ROOT_SIZE, - Self::J714G17S26A428 => M5_ROOT_SIZE, + Self::J714G17S26A428 | Self::J714G17S26B123 | Self::J714G17S26C5035 => M5_ROOT_SIZE, Self::J700G17P | Self::J813G17G25G76 => root_size(role), } } @@ -84,10 +122,14 @@ impl RootProfile { (Self::J873G18G26A428 | Self::J873G18G26B123, InstanceRole::Secondary) => { COMMON26_CONTROL_OPENING_OPCODE_SECONDARY } - (Self::J714G17S26A428, InstanceRole::Primary) => M5_CONTROL_OPENING_OPCODE_PRIMARY, - (Self::J714G17S26A428, InstanceRole::Secondary) => { - M5_CONTROL_OPENING_OPCODE_SECONDARY - } + ( + Self::J714G17S26A428 | Self::J714G17S26B123 | Self::J714G17S26C5035, + InstanceRole::Primary, + ) => M5_CONTROL_OPENING_OPCODE_PRIMARY, + ( + Self::J714G17S26A428 | Self::J714G17S26B123 | Self::J714G17S26C5035, + InstanceRole::Secondary, + ) => M5_CONTROL_OPENING_OPCODE_SECONDARY, (_, InstanceRole::Primary) => CONTROL_OPENING_OPCODE_PRIMARY, (_, InstanceRole::Secondary) => CONTROL_OPENING_OPCODE_SECONDARY, } @@ -95,26 +137,34 @@ impl RootProfile { pub(crate) const fn control_register_opcode(self) -> Option { match self { - Self::J873G18G26A428 | Self::J873G18G26B123 | Self::J714G17S26A428 => None, + Self::J873G18G26A428 + | Self::J873G18G26B123 + | Self::J714G17S26A428 + | Self::J714G17S26B123 + | Self::J714G17S26C5035 => None, Self::J700G17P | Self::J813G17G25G76 => Some(CONTROL_OPENING_PRIMARY_REGISTER_OPCODE), } } pub(crate) const fn bundle_view_offsets(self) -> [usize; 5] { + if let Some(layout) = self.m5_layout() { + return layout.bundle_view_offsets(); + } match self { Self::J873G18G26A428 => COMMON26_BUNDLE_VIEW_OFFSETS, Self::J873G18G26B123 => COMMON26B123_BUNDLE_VIEW_OFFSETS, - Self::J714G17S26A428 => M5_BUNDLE_VIEW_OFFSETS, - Self::J700G17P | Self::J813G17G25G76 => BUNDLE_VIEW_OFFSETS, + _ => BUNDLE_VIEW_OFFSETS, } } pub(crate) const fn bundle_view_extents(self) -> [usize; 5] { + if let Some(layout) = self.m5_layout() { + return layout.bundle_view_extents(); + } match self { // 26B123 grows only the policy and the status config; the five views keep their sizes. Self::J873G18G26A428 | Self::J873G18G26B123 => COMMON26_BUNDLE_VIEW_EXTENTS, - Self::J714G17S26A428 => M5_BUNDLE_VIEW_EXTENTS, - Self::J700G17P | Self::J813G17G25G76 => BUNDLE_VIEW_EXTENTS, + _ => BUNDLE_VIEW_EXTENTS, } } @@ -122,25 +172,56 @@ impl RootProfile { pub(crate) const fn region_view_low_addrs(self) -> [u64; 2] { match self { Self::J873G18G26A428 | Self::J873G18G26B123 => COMMON26_REGION_VIEW_LOW_ADDRS, - Self::J714G17S26A428 | Self::J700G17P | Self::J813G17G25G76 => REGION_VIEW_LOW_ADDRS, + Self::J700G17P + | Self::J813G17G25G76 + | Self::J714G17S26A428 + | Self::J714G17S26B123 + | Self::J714G17S26C5035 => REGION_VIEW_LOW_ADDRS, } } pub(crate) const fn repeated_region_bundle_offset(self) -> usize { + if let Some(layout) = self.m5_layout() { + return layout.shared.block_88; + } match self { Self::J873G18G26A428 => COMMON26_SHARED_LAYOUT.block_88, Self::J873G18G26B123 => COMMON26B123_SHARED_LAYOUT.block_88, - Self::J714G17S26A428 => M5_SHARED_LAYOUT.block_88, - Self::J700G17P | Self::J813G17G25G76 => MAIN_REPEATED_REGION_BUNDLE_OFFSET, + _ => MAIN_REPEATED_REGION_BUNDLE_OFFSET, } } pub(crate) const fn work_ring_bundle_offsets(self) -> [usize; WORK_CHANNEL_COUNT] { + if let Some(layout) = self.m5_layout() { + return work_ring_offsets(&layout.shared); + } match self { Self::J873G18G26A428 => COMMON26_WORK_RING_BUNDLE_OFFSETS, Self::J873G18G26B123 => COMMON26B123_WORK_RING_BUNDLE_OFFSETS, - Self::J714G17S26A428 => M5_WORK_RING_BUNDLE_OFFSETS, - Self::J700G17P | Self::J813G17G25G76 => WORK_RING_BUNDLE_OFFSETS, + _ => WORK_RING_BUNDLE_OFFSETS, + } + } + + /// The InitData layouts of this profile's firmware build, `None` off the M5 graph. + pub(crate) const fn m5_layouts(self) -> Option { + use super::super::variant::M5Layouts; + match self { + Self::J714G17S26A428 => Some(M5Layouts::V26A428), + Self::J714G17S26B123 => Some(M5Layouts::V26B123), + Self::J714G17S26C5035 => Some(M5Layouts::V26C5035), + _ => None, + } + } + + /// Status-config layout of the M5 graph built for this profile. + pub(crate) const fn m5_status_config(self) -> &'static M5StatusConfigMap { + match self { + Self::J714G17S26B123 | Self::J714G17S26C5035 => &M5_26B123_STATUS_CONFIG, + Self::J700G17P + | Self::J813G17G25G76 + | Self::J873G18G26A428 + | Self::J873G18G26B123 + | Self::J714G17S26A428 => &M5_26A428_STATUS_CONFIG, } } } @@ -240,6 +321,7 @@ pub(crate) const BUNDLE_VIEW_OFFSETS: [usize; 5] = [0x2740, 0x3380, 0x4400, 0xbc pub(crate) const BUNDLE_VIEW_EXTENTS: [usize; 5] = [0x18c0, 0x0c80, 0x3c00, 0x3380, 0x3300]; pub(crate) const REGION_VIEW_LOW_ADDRS: [u64; 2] = [0x70_0183_8000, 0x70_0184_0000]; + /// The GPU-visible aliases of the firmware's own tables on the J813: macOS 27.0 publishes them /// 8 GiB above where the 25G76 trace had them (the J813's own completion table, read under aura). pub(crate) const COMMON26_REGION_VIEW_LOW_ADDRS: [u64; 2] = [0x72_0183_8000, 0x72_0184_0000]; @@ -901,7 +983,8 @@ pub(crate) fn encode_main_config_for_profile( RootProfile::J813G17G25G76 => 0xc, RootProfile::J873G18G26A428 | RootProfile::J873G18G26B123 - | RootProfile::J714G17S26A428 => COMMON26_MAIN_SECONDARY_KIND, + | RootProfile::J714G17S26A428 | RootProfile::J714G17S26B123 + | RootProfile::J714G17S26C5035 => COMMON26_MAIN_SECONDARY_KIND, }); if profile == RootProfile::J714G17S26A428 { @@ -1505,7 +1588,9 @@ pub(crate) const COMMON26_HW_PERF_RELATIVE_A: usize = 0x19e4; pub(crate) const COMMON26_HW_PERF_RELATIVE_B: usize = 0x1a24; const M5_HW_AUX_RELATIVE_FREQUENCY: usize = 0x1aa4; + const M5_HW_AUX_PERF_STATE: usize = 0x1cac; + const M5_HW_AUX_PERF_STATE_SIZE: usize = 0x148; // Clock-domain 2: MHz, core mV, SRAM mV. The second voltage lane is unused. @@ -1703,11 +1788,9 @@ pub(crate) const ABI_ALLOCATION_SIZES_26A428_M5: [usize; 24] = [ 0xe730, 0x0780, 0x0020, 0x01b0, 0x4800, 0x28800, 0x79800, 0x9000, 0x00a8, 0x0008, 0x1ca0, 0x00e4, ]; -pub(crate) const M5_SHARED_LAYOUT: SharedClusterLayout = - shared_cluster_layout(&ABI_ALLOCATION_SIZES_26A428_M5); +pub(crate) const M5_SHARED_LAYOUT: SharedClusterLayout = M5_LAYOUT_26A428.shared; -pub(crate) const M5_PRIVATE_LAYOUT: PrivateClusterLayout = - private_cluster_layout(&ABI_ALLOCATION_SIZES_26A428_M5); +pub(crate) const M5_PRIVATE_LAYOUT: PrivateClusterLayout = M5_LAYOUT_26A428.private; pub(crate) const M5_SHARED_CLUSTER_SIZE: usize = M5_SHARED_LAYOUT.total; @@ -1716,6 +1799,7 @@ pub(crate) const M5_PRIVATE_CLUSTER_SIZE: usize = M5_PRIVATE_LAYOUT.total; pub(crate) const M5_HW_DATA_SIZE: usize = ABI_ALLOCATION_SIZES_26A428_M5[ALLOC_HW_DATA]; pub(crate) const M5_KICK_SHARED_SIZE: usize = 0x2000; + pub(crate) const M5_KICK_SHARED_POINTER: usize = 0x27dc; pub(crate) fn set_m5_kick_shared(board: &Board, out: &mut [u8], address: u64) @@ -1781,12 +1865,16 @@ pub(crate) const M5_STATUS_B_SPAN: usize = M5_PRIVATE_LAYOUT.roles[0].status_a - M5_PRIVATE_LAYOUT.status_b; pub(crate) const M5_RECOVERY_STATE: usize = 0x4ae0; + /// The firmware's progress word in the primary status B, beside the recovery state: the /// firmware moves it as it works, and a reader that finds it changed since its previous read /// counts the GPU as progressing. pub(crate) const M5_PROGRESS: usize = 0x4b00; + pub(crate) const M5_HOST_RECOVERY: usize = 0x4af0; + pub(crate) const M5_RECOVERY_INFO: usize = 0x4298; + pub(crate) const M5_RECOVERY_SLOT_MASK: usize = 0x4ab8; pub(crate) const M5_STATUS_CONFIG_LINK_WORD: usize = 0x774; @@ -1814,12 +1902,15 @@ const COMMON26_STATUS_B_SPAN: usize = /// Status config +0x6c4 = 1 and +0x6c8 = the FW VA of status B +0xe71c. const COMMON26_STATUS_CONFIG_LINK_WORD: usize = 0x6c4; + const COMMON26_STATUS_CONFIG_LINK_PTR: usize = 0x6c8; /// The policy block's FW VA of the private-cluster policy state (25G76 +0x3c98). const COMMON26_POLICY_STATE_PTR: usize = 0x3d30; + /// The policy block's FW VA of the AON PTD (25G76 +0x6460). const COMMON26_POLICY_AON_PTD_PTR: usize = 0x64d8; + /// The policy block's boot mach_absolute_time (25G76 +0x651c). const COMMON26_POLICY_BOOT_TIMESTAMP: usize = 0x6c14; @@ -1927,18 +2018,6 @@ const _: () = { <= COMMON26_STATUS_B_SPAN); }; -// --- The common interface of macOS 27.2 (26B123, RTKit 3514.41.1) ------------------------------- -// -// Against 26A428, the same changes as the J873's G18G build of this release: -// -// - Both roles expect the InitData root version word with bit 45 set. -// - The policy grows by 0x60 (0x7168 -> 0x71c8 for G17G; 0x7800 -> 0x7860 in the common table) -// and the status config by 8 (0x6d0 -> 0x6d8); the other 22 allocations keep their sizes. -// - Policy and status-config fields move as the bands below describe. The new words carry a new -// accelerator power-controller field (accel +0x1122c), which the generic power and performance -// setup sets to 5000 and the G17G one leaves alone. -// - Every other InitData object keeps its field offsets. - /// FW_PROVEN 26B123: u16 {0x04c0, 0x83a0, 0x6339, 0x0c8b}. pub(crate) const COMMON26B123_INITDATA_VERSION_WORD: u64 = 0x0c8b_6339_83a0_04c0; @@ -1952,6 +2031,7 @@ pub(crate) const ABI_ALLOCATION_SIZES_26B123: [usize; 24] = [ /// total is unchanged. pub(crate) const COMMON26B123_SHARED_LAYOUT: SharedClusterLayout = shared_cluster_layout(&ABI_ALLOCATION_SIZES_26B123); + /// 0x6d8 packs to the 0x700 that 0x6d0 took: the private cluster is the 26A428 one. pub(crate) const COMMON26B123_PRIVATE_LAYOUT: PrivateClusterLayout = private_cluster_layout(&ABI_ALLOCATION_SIZES_26B123); @@ -1980,6 +2060,7 @@ const COMMON26B123_POLICY_BANDS: &[LayoutBand] = &[ band(0x2f0c, 0x2f18, 0x10, Evidence::ProducerChecked), band(0x2fb4, 0x6da0, 0x18, Evidence::ProducerChecked), ]; + const COMMON26B123_POLICY_NEW_WORDS: &[(usize, u32)] = &[(0x2f28, 5000)]; /// Status config 26A428 -> 26B123: +0x59c..+0x5b3 move by 4 and +0x5b4 to the end by 8 (the @@ -1990,6 +2071,7 @@ const COMMON26B123_STATUS_CONFIG_BANDS: &[LayoutBand] = &[ band(0x59c, 0x5b4, 4, Evidence::ProducerChecked), band(0x5b4, 0x6d0, 8, Evidence::ProducerChecked), ]; + const COMMON26B123_STATUS_CONFIG_NEW_WORDS: &[(usize, u32)] = &[(0x5b8, 5000)]; /// How a later build moves the blocks the 26A428 encoders produce. @@ -2556,6 +2638,48 @@ pub(crate) const J813_26B123: Board = Board { ..J813 }; +/// The M5 graph of the macOS 27.2 (26B123) firmware build: 26A428's with the larger power policy +/// and status config ([`ABI_ALLOCATION_SIZES_26B123_M5`]); every other layout keeps its size. +pub(crate) const M5_GRAPH_26B123: Graph = Graph { + profile: RootProfile::J714G17S26B123, + private: M5_PRIVATE_LAYOUT, + shared: M5_SHARED_LAYOUT, + policy_size: M5_26B123_POLICY_SIZE, + bundle_view_offsets: M5_BUNDLE_VIEW_OFFSETS, + bundle_view_extents: M5_BUNDLE_VIEW_EXTENTS, + work_ring_offsets: M5_WORK_RING_BUNDLE_OFFSETS, + state_grids: M5_PRIVATE_STATE_GRIDS, + power_assert_tally: super::power::POWER_ASSERT_TALLY, +}; + +/// The M5 graph of the macOS 27.3 beta 1 (26C5035r) firmware build: 26B123's, with one more HW +/// data word ([`M5_26C5035_HW_DATA_BANDS`]) and the same interface version word, so only the +/// firmware's identity tells them apart. +pub(crate) const M5_GRAPH_26C5035: Graph = Graph { + profile: RootProfile::J714G17S26C5035, + private: M5_PRIVATE_LAYOUT, + shared: M5_SHARED_LAYOUT, + policy_size: M5_26B123_POLICY_SIZE, + bundle_view_offsets: M5_BUNDLE_VIEW_OFFSETS, + bundle_view_extents: M5_BUNDLE_VIEW_EXTENTS, + work_ring_offsets: M5_WORK_RING_BUNDLE_OFFSETS, + state_grids: M5_PRIVATE_STATE_GRIDS, + power_assert_tally: super::power::POWER_ASSERT_TALLY, +}; + +/// The J714 on its macOS 27.2 (26B123) firmware: the same board on the larger-policy M5 graph. +pub(crate) const J714_26B123: Board = Board { + graph: &M5_GRAPH_26B123, + ..J714 +}; + +/// The J714 on the macOS 27.3 beta 1 (26C5035r) firmware: the 26B123 graph with one more HW data +/// word ([`M5_26C5035_HW_DATA_BANDS`]). +pub(crate) const J714_26C5035: Board = Board { + graph: &M5_GRAPH_26C5035, + ..J714 +}; + const _: () = { use super::target::min_parameter_buffer_pages; assert!(J714.min_parameter_buffer as u64 == min_parameter_buffer_pages(J714.clusters) << 15); @@ -2565,16 +2689,23 @@ const _: () = { /// Populate the enabled-USC count from the device's sampled core masks. /// This count covers the whole device, not one cluster. -pub(crate) fn set_m5_enabled_cores(board: &Board, out: &mut [u8], enabled: u32) - -> Result<(), InitdataError> { - if out.len() != M5_HW_DATA_SIZE { +pub(crate) fn set_m5_enabled_cores( + layout: &M5Layout, + out: &mut [u8], + enabled: u32, +) -> Result<(), InitdataError> { + if out.len() != layout.hw_data_size() { return Err(InitdataError::BufferSize); } if enabled == 0 || enabled > 128 { return Err(InitdataError::InterfaceMismatch); } - put_u32(out, 0x10a4, enabled); - put_u32(out, hw_offset(board, 0x268c), enabled); + for offset in [0x10a4, 0x268c] { + let offset = layout + .hw_data_offset(offset) + .ok_or(InitdataError::BufferSize)?; + put_u32(out, offset, enabled); + } Ok(()) } @@ -2787,6 +2918,7 @@ const J714_REGISTER_WINDOWS: [M5RegisterWindowSpec; 30] = { /// (J873, same GPU base): slot 17 0x36000, DPEP (29) and ADCLK (30), and slot 32, the J813's /// 25G76 slot 27, which J714's list lacks. const J813_GPU_BASE: u64 = 0x5_8000_0000; + /// The J813's windows, read out of macOS 27.0's own hardware-data bundle under aura (its live /// UAT maps exactly these, at exactly the device VAs [`m5_register_windows`] computes). const J813_REGISTER_WINDOWS: [M5RegisterWindowSpec; 22] = { @@ -2912,6 +3044,12 @@ pub(crate) struct M5RegisterWindow { pub(crate) const M5_MAX_REGISTER_WINDOWS: usize = J775D_REGISTER_WINDOWS.len(); impl Board { + /// Whether this is the J813, whose register programs macOS 27.0 writes in the common 26A428 + /// forms rather than the M5 Pro's (read out of its own kicks under aura). + pub(crate) const fn j813_forms(&self) -> bool { + self.chip_id == 0x8142 + } + /// Whether the board takes the host encodings measured on the M5 Ultra (G17D) where they /// differ from J714's, as `super::compute` and the render registers read them. pub(crate) const fn g17d_forms(&self) -> bool { @@ -2926,12 +3064,6 @@ impl Board { self.completion_inputs } - /// Whether this is the J813, whose register programs macOS 27.0 writes in the common 26A428 - /// forms rather than the M5 Pro's (read out of its own kicks under aura). - pub(crate) const fn j813_forms(&self) -> bool { - self.chip_id == 0x8142 - } - /// The board's `index`th register window. pub(crate) fn register_window_spec(&self, index: usize) -> Option<&'static M5RegisterWindowSpec> { self.register_windows.get(index) @@ -2939,7 +3071,7 @@ impl Board { /// The board's register windows: the first [`Board::register_window_count`] entries. pub(crate) fn register_windows(&self) -> [M5RegisterWindow; M5_MAX_REGISTER_WINDOWS] { - m5_register_windows(self.register_windows, self.graph.is_common26()) + m5_register_windows(self.register_windows) } /// Register windows of the board. @@ -2948,7 +3080,7 @@ impl Board { } } -fn m5_register_windows(specs: &'static [M5RegisterWindowSpec], common26: bool) +fn m5_register_windows(specs: &'static [M5RegisterWindowSpec]) -> [M5RegisterWindow; M5_MAX_REGISTER_WINDOWS] { let mask = UAT_PAGE_SIZE as u64 - 1; @@ -2957,8 +3089,7 @@ fn m5_register_windows(specs: &'static [M5RegisterWindowSpec], common26: bool) let mut next: u64 = 0; for (window, spec) in out.iter_mut().zip(specs) { let va = next + (spec.instances[0] & mask); - let size = if common26 { spec.size as u64 } else { (spec.size as u64 + mask) & !mask }; - let span = spec.instances.len() as u64 * size; + let span = spec.instances.len() as u64 * ((spec.size as u64 + mask) & !mask); *window = M5RegisterWindow { slot: spec.slot, device_va: HW_REGISTER_APERTURE.start + va, @@ -2967,11 +3098,7 @@ fn m5_register_windows(specs: &'static [M5RegisterWindowSpec], common26: bool) unk_18: spec.unk_18, flag: spec.flag, }; - // In the common 26A428 bundle the guard page follows the window's own bytes, before - // either is rounded up: a window whose size is not a whole number of pages does not push - // the next one past its page (macOS 27.0's J813 bundle, where slot 32's 0x1000 bytes - // leave the next window at the end of its own page). - let end = if common26 { va + span } else { (va + span + mask) & !mask }; + let end = (va + span + mask) & !mask; next = (end + UAT_PAGE_SIZE as u64 + 0x7fff) & !0x7fff; } out @@ -2986,11 +3113,6 @@ pub(crate) fn encode_m5_register_map( return Err(InitdataError::BufferSize); } out.fill(0); - if let Some(flags) = board.register_slot_flags { - for (slot, flag) in flags.iter().enumerate() { - put_u32(out, slot * HW_REGISTER_MAP_ENTRY_SIZE + 0x20, *flag); - } - } for (index, window) in windows.iter().enumerate() { let spec = board.register_windows.get(index).ok_or(InitdataError::RegisterWindow)?; if window.slot >= COMMON26_HW_REGISTER_MAP_SLOTS @@ -3010,13 +3132,14 @@ pub(crate) fn encode_m5_register_map( } pub(crate) fn encode_m5_hw_data( + layout: &M5Layout, board: &Board, aliases: [G17PKsmCompletionAliases; M5_25G76_COMPLETION_QUEUE_COUNT], qos_high: u64, windows: &[M5RegisterWindow], out: &mut [u8], ) -> Result<(), InitdataError> { - if out.len() != M5_HW_DATA_SIZE { + if out.len() != M5_HW_DATA_SIZE || out.len() != layout.hw_data_size() { return Err(InitdataError::BufferSize); } required_address(qos_high)?; @@ -3037,8 +3160,8 @@ pub(crate) fn encode_m5_hw_data( write_relocated_words(M5_25G76_HW_PLATFORM_WORDS, 0, COMMON26_HW_DATA_BANDS, g18)?; encode_m5_register_map(board, windows, &mut g18[HW_REGISTER_MAP_OFFSET..COMMON26_HW_REGISTER_MAP_END])?; - put_u32(g18, COMMON26_HW_CHIP_ID_OFFSET, board.chip_id); - put_u32(g18, COMMON26_HW_PERF_STATE_COUNT, board.perf_state_count); + put_u32(g18, COMMON26_HW_CHIP_ID_OFFSET, 0x6050); + put_u32(g18, COMMON26_HW_PERF_STATE_COUNT, J714_GPU_NUM_PERF_STATES); put_u32(g18, COMMON26_HW_FIXED_WORD_OFFSET, COMMON26_HW_FIXED_WORD_VALUE); put_u32(g18, 0x0fb4, 1); @@ -3052,18 +3175,11 @@ pub(crate) fn encode_m5_hw_data( put_u32(g18, 0x283a, 1); put_u32(g18, 0x283e, 1); let states = board.perf_states; - // Off and the board's `perf_state_count` states: the rows above them stay zero, as in macOS - // 27.0's J813 bundle, whose twelve states leave state 13 empty where the padded table repeats - // its top state. (Every other board has 13 states, so all fourteen rows.) - let used = board.perf_state_count as usize + 1; - for (state, &(frequency, core, sram)) in states.iter().enumerate().take(used) { + for (state, &(frequency, core, sram)) in states.iter().enumerate() { put_u32(g18, COMMON26_HW_PERF_FREQUENCY + state * 4, frequency); put_u32(g18, COMMON26_HW_PERF_SCALE + state * 4, COMMON26_PERF_SCALE_VALUE); - let relative = match board.relative_power { - Some(table) => table[state], - None => frequency * 100 / states[13].0, - }; + let relative = frequency * 100 / states[13].0; put_u32(g18, COMMON26_HW_PERF_RELATIVE_A + state * 4, relative); for lane in 0..COMMON26_HW_PERF_LANES { let row = state * COMMON26_HW_PERF_ROW_STRIDE + lane * 4; @@ -3074,34 +3190,21 @@ pub(crate) fn encode_m5_hw_data( } for index in 0..COMMON26_HW_PERF_ROWS { put_u32(g18, COMMON26_HW_PERF_INDEX_MAP + index * 4, index as u32); - let relative = if index < used { board.relative_frequency[index] } else { 0 }; - put_u32(g18, COMMON26_HW_PERF_RELATIVE_B + index * 4, relative); - if board.aux_perf_states.is_some() { - put_u32(g18, M5_HW_AUX_RELATIVE_FREQUENCY + index * 4, relative); - } + put_u32(g18, COMMON26_HW_PERF_RELATIVE_B + index * 4, board.relative_frequency[index]); + put_u32(g18, M5_HW_AUX_RELATIVE_FREQUENCY + index * 4, board.relative_frequency[index]); } encode_m5_aux_perf_states(board, g18); let table = COMMON26_KSM_COMPLETION_TABLE_OFFSET; g18[table..table + completion.len()].copy_from_slice(&completion); put_u64(g18, COMMON26_QOS_POINTER_OFFSET, qos_high); - if board.hw_data_insert { - let insert = M5_HW_DATA_INSERT; - let len = M5_HW_DATA_INSERT_LEN; - out.copy_within(insert..COMMON26_HW_DATA_SIZE, insert + len); - out[insert..insert + len].fill(0); - } + let insert = M5_HW_DATA_INSERT; + let len = M5_HW_DATA_INSERT_LEN; + out.copy_within(insert..COMMON26_HW_DATA_SIZE, insert + len); + out[insert..insert + len].fill(0); put_u32(out, 0x2660, 0); - put_u32(out, hw_offset(board, 0x2728), 0); - put_u32(out, hw_offset(board, 0x272c), 1); - // On the J813 macOS 27.0's initFirmwareData also seeds the KSM kick queues - // here: the NextTimestamp of each queue's first kick and the ring's entry - // count, taken from the driver's kick-queue setup. The firmware copies the - // timestamp to context +0xb80, where it seeds all 128 queue states. - if board.graph.is_common26() { - put_u64(out, hw_offset(board, 0x2730), KickTimestamp::FIRST.get()); - put_u32(out, hw_offset(board, 0x2738), KICK_SLOTS as u32); - } + put_u32(out, 0x2728, 0); + put_u32(out, 0x272c, 1); if let Some(mask) = board.mcc_mask { put_u64(out, 0x10a8, mask); } @@ -3109,11 +3212,16 @@ pub(crate) fn encode_m5_hw_data( put_u32(out, 0x100c, word); put_u32(out, 0x1048, cores); } - for &(offset, value) in board.hw_words { + // The inherited J813 minimum parameter-buffer size is replaced per board. + put_u32(out, 0x26b0, board.min_parameter_buffer); + // Then the build's own HW data, which only adds to the 26A428 one. + relocate_hw_data(layout.hw_data_bands, out)?; + for &(offset, value) in layout.hw_data_words { + if offset + 4 > out.len() { + return Err(InitdataError::BufferSize); + } put_u32(out, offset, value); } - // The inherited J813 minimum parameter-buffer size is replaced per board. - put_u32(out, hw_offset(board, 0x26b0), board.min_parameter_buffer); Ok(()) } @@ -3166,41 +3274,16 @@ pub(crate) fn encode_m5_region_c(out: &mut [u8]) -> Result<(), InitdataError> { Ok(()) } -pub(crate) fn encode_m5_primary_status_b( - fwctl_state: u64, - fwctl_ring: u64, - status_b: u64, - out: &mut [u8], -) -> Result<(), InitdataError> { - if out.len() != M5_STATUS_B_SPAN { - return Err(InitdataError::BufferSize); - } - required_address(fwctl_state)?; - required_address(fwctl_ring)?; - required_address(status_b)?; - let config = M5_STATUS_CONFIG_IN_STATUS_B; - out.fill(0); - encode_status_block(&mut out[..STATUS_BLOCK_SIZE])?; - put_u64(out, COMMON26_STATUS_B_FWCTL_STATE, fwctl_state); - put_u64(out, COMMON26_STATUS_B_FWCTL_RING, fwctl_ring); - put_u32(out, COMMON26_STATUS_B_CONFIG_HEADER, 1); - put_u32(out, COMMON26_STATUS_B_LINK_WORD, 0); - put_u64(out, COMMON26_STATUS_B_LINK_PTR, - status_b + (config + M5_STATUS_CONFIG_LINK_WORD) as u64); - write_relocated_words(M5_25G76_STATUS_CONFIG_WORDS, 0, COMMON26_STATUS_CONFIG_BANDS, - &mut out[config..config + M5_STATUS_CONFIG_SIZE])?; - put_u32(out, config + M5_STATUS_CONFIG_LINK_WORD, 1); - put_u64(out, config + M5_STATUS_CONFIG_LINK_PTR, - status_b + COMMON26_STATUS_B_LINK_WORD as u64); - Ok(()) -} - pub(crate) fn encode_m5_private_cluster( + profile: RootProfile, private_base: u64, fwctl_state: u64, out: &mut [u8], ) -> Result<(), InitdataError> { - let layout = M5_PRIVATE_LAYOUT; + let layout = profile + .m5_layout() + .ok_or(InitdataError::InterfaceMismatch)? + .private; if out.len() != layout.total { return Err(InitdataError::BufferSize); } @@ -3220,8 +3303,14 @@ pub(crate) fn encode_m5_private_cluster( out.fill(0); let status_b = layout.status_b; let status_a = layout.roles[0].status_a; - encode_m5_primary_status_b(fwctl_state, fwctl_ring, private_base + status_b as u64, - &mut out[status_b..status_a])?; + encode_m5_primary_status_b_for( + profile.m5_status_config(), + layout.status_config - status_b, + fwctl_state, + fwctl_ring, + private_base + status_b as u64, + &mut out[status_b..status_a], + )?; for role in layout.roles { encode_status_block(&mut out[role.status_a..role.status_a + STATUS_BLOCK_SIZE])?; } @@ -3237,23 +3326,25 @@ pub(crate) fn encode_m5_private_cluster( } pub(crate) fn encode_m5_bundle_policy( + m5_layout: &M5Layout, bindings: M5PolicyBindings, out: &mut [u8], ) -> Result<(), InitdataError> { - let layout = M5_SHARED_LAYOUT; - if out.len() < M5_SHARED_PREFIX_SIZE { + let layout = m5_layout.shared; + let prefix = m5_layout.shared_prefix_size(); + if out.len() < prefix { return Err(InitdataError::BufferSize); } required_address(bindings.state)?; required_address(bindings.aon_ptd)?; - out[layout.block_c18..M5_SHARED_PREFIX_SIZE].fill(0); + out[layout.block_c18..prefix].fill(0); let m5 = M5_25G76_SHARED_LAYOUT; for &(offset, value) in M5_25G76_POLICY_WORDS { if (m5.block_1048..m5.block_e10).contains(&offset) { put_u32(out, layout.block_1048 + (offset - m5.block_1048), value); } } - let policy = &mut out[layout.policy..layout.policy + M5_POLICY_SIZE]; + let policy = &mut out[layout.policy..layout.policy + m5_layout.policy_size()]; put_u32(policy, 0x04, J714_GPU_POWER_SAMPLE_PERIOD_AIC_CLOCKS); put_u32(policy, 0x08, J714_GPU_POWER_SAMPLE_PERIOD_AIC_CLOCKS); @@ -3292,10 +3383,7 @@ pub(crate) fn encode_m5_bundle_policy( Ok(()) } -/// Initial controller inputs for J714, applied on every part. The leakage inputs are those of the -/// part they were read from (calibration words 0xd2035701 0xac3a1280 0x0a281d81). The firmware -/// holds its power estimate, not the draw, to the maximum: a part that leaks more draws more than -/// the estimate; the emergency clamp still applies. +/// Initial controller inputs for J714 with the matched calibration. pub(crate) fn encode_m5_policy_controller_defaults(out: &mut [u8]) -> Result<(), InitdataError> { if out.len() < M5_SHARED_PREFIX_SIZE { return Err(InitdataError::BufferSize); } // Both calibrated hardware curves, as J714's firmware expects them. @@ -3313,7 +3401,7 @@ pub(crate) fn encode_m5_policy_controller_defaults(out: &mut [u8]) -> Result<(), 0x42b6ec22, 0x42c80000, 0x00000000, 0x00000000, ]; for (index, &value) in RELATIVE_POWER_AUX.iter().enumerate() { put_u32(out, 0x1a64 + index * 4, value); } - let policy = &mut out[M5_SHARED_LAYOUT.policy..M5_SHARED_LAYOUT.policy + M5_POLICY_SIZE]; + let policy = m5_policy_source(out)?; const INITIAL: &[(usize, u32)] = &[ (0xd4, 0x3f828f5c), (0xd8, 0x3f828f5c), @@ -3557,14 +3645,14 @@ pub(crate) fn encode_m5_policy_controller_defaults(out: &mut [u8]) -> Result<(), Ok(()) } -/// Initial controller inputs for J716c, applied on every part: the J714 -/// defaults, including the relative power curves, with the reference part's leakage +/// Initial controller inputs for J716c with its matched calibration: the J714 +/// defaults, including the relative power curves, with this chip's leakage /// values (clusters 0-3, base, AFR) and its maximum power (196098 mW), and the /// found masks of its AON PTD records (RT0g and RT1g, then RT0r) next to their /// tags. pub(crate) fn encode_m5_policy_controller_defaults_j716c(out: &mut [u8]) -> Result<(), InitdataError> { encode_m5_policy_controller_defaults(out)?; - let policy = &mut out[M5_SHARED_LAYOUT.policy..M5_SHARED_LAYOUT.policy + M5_POLICY_SIZE]; + let policy = m5_policy_source(out)?; const MAXIMUM_POWER: u32 = 196_098; const MAXIMUM_POWER_F32: u32 = 0x483f_8080; for offset in [M5_POLICY_MAXIMUM_POWER, 0xad0, 0x44a4, 0x44a8, 0x44ac, 0x45e4] { @@ -3603,7 +3691,7 @@ pub(crate) fn encode_m5_policy_controller_defaults_j775d(out: &mut [u8]) -> Resu 0x421c_12dd, 0x4230_6915, 0x4250_6a36, 0x427d_e40c, 0x4294_0cc0, 0x42bd_bd8e, 0x42c8_0000, ]; for (index, &value) in RELATIVE_POWER_AUX.iter().enumerate() { put_u32(out, 0x1a64 + index * 4, value); } - let policy = &mut out[M5_SHARED_LAYOUT.policy..M5_SHARED_LAYOUT.policy + M5_POLICY_SIZE]; + let policy = m5_policy_source(out)?; const MAXIMUM_POWER: u32 = 345_262; const MAXIMUM_POWER_F32: u32 = 0x48a8_95c0; for offset in [M5_POLICY_MAXIMUM_POWER, 0xad0, 0x44a4, 0x44a8, 0x44ac, 0x45e4] { @@ -3657,3 +3745,621 @@ pub(crate) fn encode_m5_policy_controller_defaults_j775d(out: &mut [u8]) -> Resu } Ok(()) } + +/// Status config 26A428 -> 26B123 (macOS 27.2; 27.3 beta 1 has the same layout), in 26A428 +/// offsets. The status config grows from 0x780 to 0x790 bytes (allocation size table entry 13). +/// +/// From +0x5b4 the object holds two controller blocks, at +0x5b4 and +0x610, of 0x5c bytes +/// each. 26B123 inserts two words into each block, an override slot at block +0x28 and its +/// value at block +0x58, so a block grows to 0x64 bytes and everything after the second one +/// moves by 0x10, the link word and pointer (0x774/0x778 -> 0x784/0x788) and the submission +/// history (0x73c/0x74c/0x750 -> 0x74c/0x75c/0x760) included. The bands are +/// not yet confirmed from captured InitData. +pub(crate) const M5_26B123_STATUS_CONFIG_BANDS: &[LayoutBand] = &[ + band(0x000, 0x5dc, 0, Evidence::Inferred), + band(0x5dc, 0x608, 0x4, Evidence::Inferred), + band(0x608, 0x638, 0x8, Evidence::Inferred), + band(0x638, 0x664, 0xc, Evidence::Inferred), + band(0x664, M5_STATUS_CONFIG_SIZE, 0x10, Evidence::Inferred), +]; + +/// Status-config size of 26B123 (entry 13 of its allocation size table). +pub(crate) const M5_26B123_STATUS_CONFIG_SIZE: usize = + ABI_ALLOCATION_SIZES_26B123_M5[ALLOC_STATUS_CONFIG]; + +/// The words 26B123 has and 26A428 does not, at 26B123 offsets: the override slot of each +/// controller block (0x5dc and 0x640, zero) and its value (0x60c = 5000 and 0x670 = 0). The +/// values are not yet confirmed from captured InitData. +pub(crate) const M5_26B123_STATUS_CONFIG_INSERTED: &[(usize, u32)] = + &[(0x5dc, 0), (0x60c, 5000), (0x640, 0), (0x670, 0)]; + +/// The interface version word, at root+0, of the 27.2 (26B123) and 27.3 beta 1 (26C5035r) M5 +/// firmware: the 26A428 word with bit 46 set. It is not yet confirmed from captured InitData. +pub(crate) const M5_26B123_INITDATA_VERSION_WORD: u64 = 0x0c8e_4339_8728_04c0; + +/// The allocation size table of the 27.2 (26B123) and 27.3 beta 1 (26C5035r) M5 firmware, indexed +/// like [`ABI_ALLOCATION_SIZES_26A428_M5`]. Only two entries differ from it: the power policy +/// (index 4, 0x126b0 -> 0x12728) and the status config (index 13, 0x780 -> 0x790). The sizes are +/// not yet confirmed from captured InitData. +pub(crate) const ABI_ALLOCATION_SIZES_26B123_M5: [usize; 24] = [ + 0x2850, 0x0c18, 0x1048, 0x0e10, 0x12728, 0x0068, 0x0800, 0x0088, 0x1800, 0x04c0, 0x4000, + 0x0030, 0xe730, 0x0790, 0x0020, 0x01b0, 0x4800, 0x28800, 0x79800, 0x9000, 0x00a8, 0x0008, + 0x1ca0, 0x00e4, +]; + +/// The HW data of the 27.3 beta 1 firmware (26C5035r) is 26A428's with one u32 inserted at 0x2720 +/// ([`M5_26C5035_HW_FORCED_IDLE_TIMEOUT`]): every later field moves by 4 (the kick-shared pointer +/// from 0x27dc to 0x27e0, the last moved word from 0x2846 to 0x284a), and the four zero bytes past +/// 0x284c fall off the end. The layout is not yet confirmed from captured InitData. +pub(crate) const M5_26C5035_HW_DATA_BANDS: &[LayoutBand] = &[ + band(0x0000, 0x2720, 0, Evidence::Inferred), + band(0x2720, 0x284c, 4, Evidence::Inferred), +]; + +/// The 26C5035r HW data word for the time the GPU may take to reach a forced idle after a sleep +/// request, ms; 0 disables the wait. 26A428 and 26B123 HW data have no such word. Its meaning and +/// the value written to it are not yet confirmed from captured InitData. +pub(crate) const M5_26C5035_HW_FORCED_IDLE_TIMEOUT: usize = 0x2720; + +/// The forced-idle wait written to the HW data, in seconds (5000 ms). The value is not yet +/// confirmed from captured InitData. +pub(crate) const M5_GPU_TIMEOUT_SECONDS: u32 = 5; + +/// The forced-idle word for a wait of `seconds`: seconds x 1000 ms, saturating to u32::MAX. +pub(crate) const fn m5_forced_idle_timeout_ms(seconds: u32) -> u32 { + seconds.saturating_mul(1000) +} + +/// The InitData layout of one M5 firmware build: its allocation size table, the packed clusters +/// derived from it, and how its HW data differs from the 26A428 encoding. +#[derive(Debug, Copy, Clone, PartialEq, Eq)] +pub(crate) struct M5Layout { + /// The allocation size table. + pub(crate) sizes: [usize; 24], + /// The shared cluster (the HW data bundle). + pub(crate) shared: SharedClusterLayout, + /// The private cluster. + pub(crate) private: PrivateClusterLayout, + /// Moves the 26A428 HW data encoding to this build's offsets; empty where they are the same. + pub(crate) hw_data_bands: &'static [LayoutBand], + /// Words of this build's HW data that have no place in the 26A428 encoding: offset, value. + pub(crate) hw_data_words: &'static [(usize, u32)], +} + +impl M5Layout { + const fn new( + sizes: [usize; 24], + hw_data_bands: &'static [LayoutBand], + hw_data_words: &'static [(usize, u32)], + ) -> Self { + Self { + sizes, + shared: shared_cluster_layout(&sizes), + private: private_cluster_layout(&sizes), + hw_data_bands, + hw_data_words, + } + } + + pub(crate) const fn hw_data_size(&self) -> usize { + self.sizes[ALLOC_HW_DATA] + } + + pub(crate) const fn policy_size(&self) -> usize { + self.sizes[ALLOC_POLICY] + } + + pub(crate) const fn status_config_size(&self) -> usize { + self.sizes[ALLOC_STATUS_CONFIG] + } + + /// The bundle up to its BRN table: HW data, the four views and the power policy. + pub(crate) const fn shared_prefix_size(&self) -> usize { + self.shared.brn_table + } + + pub(crate) const fn bundle_view_offsets(&self) -> [usize; 5] { + [ + self.shared.block_c18, + self.shared.block_1048, + self.shared.block_e10, + self.shared.block_68, + self.shared.block_800, + ] + } + + pub(crate) const fn bundle_view_extents(&self) -> [usize; 5] { + [ + self.sizes[ALLOC_BLOCK_C18], + self.sizes[ALLOC_BLOCK_1048], + self.sizes[ALLOC_BLOCK_E10], + self.sizes[ALLOC_BLOCK_68], + self.sizes[ALLOC_BLOCK_800], + ] + } + + pub(crate) const fn private_status_a(&self) -> [usize; 2] { + [ + self.private.roles[0].status_a, + self.private.roles[1].status_a, + ] + } + + pub(crate) const fn private_state_grids(&self) -> [usize; 2] { + [ + self.private.dm_ring_states[0], + self.private.secondary_control_state - WORK_STATE_GRID_OFFSETS[CONTROL_CHANNEL_INDEX], + ] + } + + pub(crate) const fn status_config_in_status_b(&self) -> usize { + self.private.status_config - self.private.status_b + } + + pub(crate) const fn status_b_span(&self) -> usize { + self.private.roles[0].status_a - self.private.status_b + } + + /// Where this build's HW data holds the field the 26A428 encoding holds at `offset`. + pub(crate) const fn hw_data_offset(&self, offset: usize) -> Option { + if self.hw_data_bands.is_empty() { + return Some(offset); + } + relocate_by_bands(self.hw_data_bands, offset) + } +} + +/// The 27.0 (26A428) M5 layout. +pub(crate) const M5_LAYOUT_26A428: M5Layout = + M5Layout::new(ABI_ALLOCATION_SIZES_26A428_M5, &[], &[]); + +/// The 27.2 (26B123) M5 layout. +pub(crate) const M5_LAYOUT_26B123: M5Layout = + M5Layout::new(ABI_ALLOCATION_SIZES_26B123_M5, &[], &[]); + +/// The 27.3 beta 1 (26C5035r) M5 layout. +pub(crate) const M5_LAYOUT_26C5035: M5Layout = M5Layout::new( + ABI_ALLOCATION_SIZES_26B123_M5, + M5_26C5035_HW_DATA_BANDS, + &[( + M5_26C5035_HW_FORCED_IDLE_TIMEOUT, + m5_forced_idle_timeout_ms(M5_GPU_TIMEOUT_SECONDS), + )], +); + +/// Submission-history period and slot count (two u64), its generation word and its per-slot +/// bytes in the status config, at 26A428 offsets. +pub(crate) const M5_STATUS_CONFIG_HISTORY: usize = 0x73c; + +pub(crate) const M5_STATUS_CONFIG_HISTORY_GENERATION: usize = 0x74c; + +pub(crate) const M5_STATUS_CONFIG_HISTORY_SLOTS: usize = 0x750; + +/// Where one firmware build keeps the status-config fields the driver knows by their 26A428 +/// offsets. +#[derive(Debug, Copy, Clone, PartialEq, Eq)] +pub(crate) struct M5StatusConfigMap { + /// Allocation size (entry 13 of the build's allocation size table). + pub(crate) size: usize, + /// 26A428 offset -> this build's offset; empty for 26A428 itself. + pub(crate) bands: &'static [LayoutBand], + /// Words this build has and 26A428 does not, at this build's offsets. + pub(crate) inserted: &'static [(usize, u32)], +} + +impl M5StatusConfigMap { + /// This build's offset of the 26A428 status-config offset `offset`. + pub(crate) const fn relocate(&self, offset: usize) -> Option { + if !self.bands.is_empty() { + return relocate_by_bands(self.bands, offset); + } + if offset < self.size { + Some(offset) + } else { + None + } + } +} + +pub(crate) const M5_26A428_STATUS_CONFIG: M5StatusConfigMap = M5StatusConfigMap { + size: M5_STATUS_CONFIG_SIZE, + bands: &[], + inserted: &[], +}; + +pub(crate) const M5_26B123_STATUS_CONFIG: M5StatusConfigMap = M5StatusConfigMap { + size: M5_26B123_STATUS_CONFIG_SIZE, + bands: M5_26B123_STATUS_CONFIG_BANDS, + inserted: M5_26B123_STATUS_CONFIG_INSERTED, +}; + +/// Power policy 26A428 -> 26B123 (macOS 27.2; 27.3 beta 1 has the same layout), in 26A428 +/// offsets. The policy grows from 0x126b0 to 0x12728 bytes (allocation size table entry 4); five +/// inserts move the words above them: +/// +/// - +0x4910, 0x10 bytes (two u64 words). The three controller input words at 0x4910..0x4918 +/// (3500, 1000 and 3000 in the J714 defaults) move to 0x4920. +/// - +0x491c, 4 bytes: a controller input word, at 0x492c in 26B123 +/// ([`M5_26B123_POLICY_CONTROLLER_WORDS`]). +/// - 4 bytes between 0x494c and 0x49b8, and 0x18 bytes between 0x4a00 and 0x4a98, in space the M5 +/// encoders do not write: the bands start at the next written offset (0x4948 -> 0x495c, +/// 0x49b8 -> 0x49d0, 0x49fc -> 0x4a14, 0x4a98 -> 0x4ac8), and no word the M5 encoders write +/// falls in either range. +/// - +0x12668, 0x48 bytes: the table at +0x122f0 (24-byte entries) grows from 37 to 40 entries, +/// its trailing fields moving from +0x378/+0x37c/+0x37d/+0x380 to +0x3c0/+0x3c4/+0x3c5/+0x3c8. +/// The new entries are assumed to sit at the end. +/// +/// The state and AON PTD pointers move with their band, 0x8254 -> 0x8284 and 0x11a1c -> 0x11a4c. +/// The 26B123 policy may use words of its own at 0x94e4..0x954c, in space the M5 encoders do not +/// write in 26A428 (0x94b4..0x951c); they stay zero here. The bands are +/// not yet confirmed from captured InitData. +pub(crate) const M5_26B123_POLICY_BANDS: &[LayoutBand] = &[ + band(0x0000, 0x4910, 0, Evidence::Inferred), + band(0x4910, 0x491c, 0x10, Evidence::Inferred), + band(0x491c, 0x49b8, 0x14, Evidence::Inferred), + band(0x49b8, 0x4a98, 0x18, Evidence::Inferred), + band(0x4a98, 0x12668, 0x30, Evidence::Inferred), + band(0x12668, M5_POLICY_SIZE, 0x78, Evidence::Inferred), +]; + +/// Power-policy size of 26B123 (entry 4 of its allocation size table). +pub(crate) const M5_26B123_POLICY_SIZE: usize = ABI_ALLOCATION_SIZES_26B123_M5[ALLOC_POLICY]; + +/// The 26B123 policy controller input words the 26A428 controller defaults do not write, at 26B123 +/// offsets: +/// +/// - 0x492c, the word of the 4-byte insert at 26A428 +0x491c: 5000. +/// - 0x4a14 (26A428 0x49fc, which the J714 defaults write as 500): 1600 for every M5. +/// +/// The values are not yet confirmed from captured InitData. +pub(crate) const M5_26B123_POLICY_CONTROLLER_WORDS: &[(usize, u32)] = + &[(0x492c, 5000), (0x4a14, 1600)]; + +/// The 26B123 policy controller input words for the G17D core type (M5 Ultra), at 26B123 +/// offsets: 2500 at 0x4920 and 800 at 0x4928 (26A428 0x4910 and 0x4918, 3500 and 3000 in the J714 +/// defaults), 1100 at 0x492c, 0 at 0x49e4 (26A428 0x49cc, 1 in the J714 defaults) and 1600 at +/// 0x4a14. The values are not yet confirmed from captured InitData. +pub(crate) const M5_26B123_POLICY_CONTROLLER_WORDS_G17D: &[(usize, u32)] = &[ + (0x4920, 2500), + (0x4928, 800), + (0x492c, 1100), + (0x49e4, 0), + (0x4a14, 1600), +]; + +/// The HW-data core type of the G17D (M5 Ultra) parts. +const M5_CORE_TYPE_G17D: u32 = 0x1a; + +/// Where one firmware build keeps the power-policy words the M5 encoders write at their 26A428 +/// offsets. +#[derive(Debug, Copy, Clone, PartialEq, Eq)] +pub(crate) struct M5PolicyMap { + /// Allocation size (entry 4 of the build's allocation size table). + pub(crate) size: usize, + /// 26A428 offset -> this build's offset; empty for 26A428 itself. + pub(crate) bands: &'static [LayoutBand], + /// Words of this build's controller configuration the 26A428 controller defaults do not + /// write, at this build's offsets: for core types with words of their own, then for every + /// other core type. + pub(crate) controller_words_by_core: &'static [(u32, &'static [(usize, u32)])], + pub(crate) controller_words: &'static [(usize, u32)], +} + +impl M5PolicyMap { + /// This build's offset of the 26A428 policy offset `offset`. + pub(crate) const fn relocate(&self, offset: usize) -> Option { + if !self.bands.is_empty() { + return relocate_by_bands(self.bands, offset); + } + if offset < self.size { + Some(offset) + } else { + None + } + } + + /// This build's controller-configuration words for `board`. + fn controller_words_for(&self, board: &Board) -> &'static [(usize, u32)] { + for &(core, words) in self.controller_words_by_core { + if core == board.core_revision.0 { + return words; + } + } + self.controller_words + } +} + +pub(crate) const M5_26A428_POLICY: M5PolicyMap = M5PolicyMap { + size: M5_POLICY_SIZE, + bands: &[], + controller_words_by_core: &[], + controller_words: &[], +}; + +pub(crate) const M5_26B123_POLICY: M5PolicyMap = M5PolicyMap { + size: M5_26B123_POLICY_SIZE, + bands: M5_26B123_POLICY_BANDS, + controller_words_by_core: &[(M5_CORE_TYPE_G17D, M5_26B123_POLICY_CONTROLLER_WORDS_G17D)], + controller_words: M5_26B123_POLICY_CONTROLLER_WORDS, +}; +/// Lays out the power policy the M5 encoders wrote at 26A428 offsets into `policy[..0x126b0]` +/// as `map` says, in place: every band moves, highest first, and the bytes no band covers are +/// zeroed. With `controller_defaults`, the build's controller-configuration words for `board` +/// follow. For 26A428 nothing changes. +pub(crate) fn relayout_m5_policy( + map: &M5PolicyMap, + board: &Board, + controller_defaults: bool, + policy: &mut [u8], +) -> Result<(), InitdataError> { + if policy.len() != map.size { + return Err(InitdataError::BufferSize); + } + if map.bands.is_empty() { + return Ok(()); + } + if !expands_in_place(map.bands, M5_POLICY_SIZE, map.size) { + return Err(InitdataError::BufferSize); + } + // A band's target lies over its own source and the higher bands, which have moved already. + for band in map.bands.iter().rev() { + let target = band + .start + .checked_add_signed(band.delta) + .ok_or(InitdataError::BufferSize)?; + policy.copy_within(band.start..band.end, target); + } + let mut end = 0; + for band in map.bands { + let target = band + .start + .checked_add_signed(band.delta) + .ok_or(InitdataError::BufferSize)?; + policy[end..target].fill(0); + end = target + (band.end - band.start); + } + policy[end..].fill(0); + if controller_defaults { + for &(offset, value) in map.controller_words_for(board) { + if offset + .checked_add(4) + .is_none_or(|word_end| word_end > policy.len()) + { + return Err(InitdataError::BufferSize); + } + put_u32(policy, offset, value); + } + } + Ok(()) +} + +/// Moves an HW data encoding by `bands`, which are in ascending order and move their bytes up by +/// non-negative deltas, none smaller than the band before it. The bytes no band moves anything to +/// are cleared; the bytes past the last band have to be zero, as the move drops them. +fn relocate_hw_data(bands: &[LayoutBand], out: &mut [u8]) -> Result<(), InitdataError> { + let Some(last) = bands.last() else { + return Ok(()); + }; + let dropped = out.get(last.end..).ok_or(InitdataError::BufferSize)?; + if dropped.iter().any(|byte| *byte != 0) { + return Err(InitdataError::BufferSize); + } + let mut floor = (0, 0); + for band in bands { + let delta = usize::try_from(band.delta).map_err(|_| InitdataError::BufferSize)?; + if band.start < floor.0 || band.end < band.start || delta < floor.1 { + return Err(InitdataError::BufferSize); + } + if band.end + delta > out.len() { + return Err(InitdataError::BufferSize); + } + floor = (band.end, delta); + } + for band in bands.iter().rev() { + out.copy_within(band.start..band.end, band.start + band.delta as usize); + } + let mut moved = 0; + for band in bands { + let start = band.start + band.delta as usize; + out[moved..start].fill(0); + moved = band.end + band.delta as usize; + } + out[moved..].fill(0); + Ok(()) +} + +/// Encodes the primary status-B span (`out`, from status B to the primary status A) of a build +/// whose status config sits at `config` in the span and is laid out as `map` says. +pub(crate) fn encode_m5_primary_status_b_for( + map: &M5StatusConfigMap, + config: usize, + fwctl_state: u64, + fwctl_ring: u64, + status_b: u64, + out: &mut [u8], +) -> Result<(), InitdataError> { + let end = config + .checked_add(map.size) + .ok_or(InitdataError::BufferSize)?; + if end > out.len() { + return Err(InitdataError::BufferSize); + } + let link_word = map + .relocate(M5_STATUS_CONFIG_LINK_WORD) + .ok_or(InitdataError::BufferSize)?; + let link_ptr = map + .relocate(M5_STATUS_CONFIG_LINK_PTR) + .ok_or(InitdataError::BufferSize)?; + required_address(fwctl_state)?; + required_address(fwctl_ring)?; + required_address(status_b)?; + out.fill(0); + encode_status_block(&mut out[..STATUS_BLOCK_SIZE])?; + put_u64(out, COMMON26_STATUS_B_FWCTL_STATE, fwctl_state); + put_u64(out, COMMON26_STATUS_B_FWCTL_RING, fwctl_ring); + put_u32(out, COMMON26_STATUS_B_CONFIG_HEADER, 1); + put_u32(out, COMMON26_STATUS_B_LINK_WORD, 0); + put_u64( + out, + COMMON26_STATUS_B_LINK_PTR, + status_b + (config + link_word) as u64, + ); + write_m5_status_config_words(map, &mut out[config..end])?; + put_u32(out, config + link_word, 1); + put_u64( + out, + config + link_ptr, + status_b + COMMON26_STATUS_B_LINK_WORD as u64, + ); + Ok(()) +} + +/// Writes the 25G76 status-config words through the 26A428 bands and then `map`, followed by +/// the words the build inserted. For 26A428 this is +/// `write_relocated_words(M5_25G76_STATUS_CONFIG_WORDS, 0, COMMON26_STATUS_CONFIG_BANDS, out)`. +fn write_m5_status_config_words( + map: &M5StatusConfigMap, + out: &mut [u8], +) -> Result<(), InitdataError> { + if out.len() != map.size { + return Err(InitdataError::BufferSize); + } + for &(offset, value) in M5_25G76_STATUS_CONFIG_WORDS { + for (index, byte) in value.to_le_bytes().into_iter().enumerate() { + if byte == 0 { + continue; + } + let target = relocate_by_bands(COMMON26_STATUS_CONFIG_BANDS, offset + index) + .and_then(|source| map.relocate(source)); + if let Some(target) = target { + *out.get_mut(target).ok_or(InitdataError::BufferSize)? = byte; + } + } + } + for &(offset, value) in map.inserted { + if offset.checked_add(4).is_none_or(|end| end > out.len()) { + return Err(InitdataError::BufferSize); + } + put_u32(out, offset, value); + } + Ok(()) +} + +/// The power policy in `out` (a bundle) in its 26A428 form, which the controller defaults write +/// and [`relayout_m5_policy`] then lays out for the firmware build. Every M5 layout starts the +/// policy at the same offset. +fn m5_policy_source(out: &mut [u8]) -> Result<&mut [u8], InitdataError> { + out.get_mut(M5_SHARED_LAYOUT.policy..M5_SHARED_LAYOUT.policy + M5_POLICY_SIZE) + .ok_or(InitdataError::BufferSize) +} + + +pub(crate) const fn m5_policy(layouts: M5Layouts) -> &'static M5PolicyMap { + match layouts { + M5Layouts::V26A428 => &M5_26A428_POLICY, + _ => &M5_26B123_POLICY, + } +} + +/// The power-policy allocation size of an M5 firmware build. + +pub(crate) const fn m5_policy_size(layouts: M5Layouts) -> usize { + m5_policy(layouts).size +} + +/// Whether `bands` lay `source` bytes out over `target` bytes in place: contiguous from 0 to +/// `source`, with shifts that never shrink, ending at `target`. + +const fn expands_in_place(bands: &[LayoutBand], source: usize, target: usize) -> bool { + let mut index = 0; + let mut end = 0; + let mut delta: isize = 0; + while index < bands.len() { + let band = bands[index]; + if band.start != end || band.end <= band.start || band.delta < delta { + return false; + } + end = band.end; + delta = band.delta; + index += 1; + } + end == source && (end as isize + delta) as usize == target +} + +const _: () = { + let mut index = 0; + while index < ABI_ALLOCATION_SIZES_26B123_M5.len() { + let same = ABI_ALLOCATION_SIZES_26B123_M5[index] == ABI_ALLOCATION_SIZES_26A428_M5[index]; + assert!(same == (index != ALLOC_POLICY && index != ALLOC_STATUS_CONFIG)); + index += 1; + } +}; + +/// The HW data of the 27.3 beta 1 firmware (26C5035r) is 26A428's with one u32 inserted at 0x2720 +/// ([`M5_26C5035_HW_FORCED_IDLE_TIMEOUT`]): every later field moves by 4 (the kick-shared pointer +/// from 0x27dc to 0x27e0, the last moved word from 0x2846 to 0x284a), and the four zero bytes past +/// 0x284c fall off the end. The layout is not yet confirmed from captured InitData. + +const _: () = { + // The bundle and the private cluster keep the sizes of their fixed windows. + assert!(M5_LAYOUT_26B123.shared.total == M5_LAYOUT_26A428.shared.total); + assert!(M5_LAYOUT_26B123.private.total == M5_LAYOUT_26A428.private.total); + // The kick-shared pointer and the last word the 26C5035r layout moves. + let kick = M5_KICK_SHARED_POINTER; + assert!(matches!( + M5_LAYOUT_26A428.hw_data_offset(kick), + Some(0x27dc) + )); + assert!(matches!( + M5_LAYOUT_26C5035.hw_data_offset(kick), + Some(0x27e0) + )); + assert!(matches!( + M5_LAYOUT_26C5035.hw_data_offset(0x2846), + Some(0x284a) + )); + assert!(matches!( + M5_LAYOUT_26C5035.hw_data_offset(0x271c), + Some(0x271c) + )); +}; + +const _: () = { + use super::super::variant::M5Layouts; + // Every M5 build's policy map and status-config map fill the allocations of its size table, + // and the policy starts where the encoders write its 26A428 form. + let builds = [M5Layouts::V26A428, M5Layouts::V26B123, M5Layouts::V26C5035]; + let mut index = 0; + while index < builds.len() { + let profile = RootProfile::for_m5_layouts(builds[index]); + let layout = match profile.m5_layout() { + Some(layout) => layout, + None => panic!("an M5 build without an M5 layout"), + }; + assert!(m5_policy_size(builds[index]) == layout.policy_size()); + assert!(profile.m5_status_config().size == layout.status_config_size()); + assert!(layout.shared.policy == M5_SHARED_LAYOUT.policy); + index += 1; + } +}; + +const _: () = { + assert!(expands_in_place( + M5_26B123_POLICY_BANDS, + M5_POLICY_SIZE, + M5_26B123_POLICY_SIZE + )); + assert!(matches!( + M5_26B123_POLICY.relocate(M5_POLICY_STATE_PTR), + Some(0x8284) + )); + assert!(matches!( + M5_26B123_POLICY.relocate(M5_POLICY_AON_PTD_PTR), + Some(0x11a4c) + )); + assert!(matches!( + M5_26B123_POLICY.relocate(M5_POLICY_MAXIMUM_POWER), + Some(0xa18) + )); +}; + diff --git a/drivers/gpu/drm/asahi/g17/fw/variant.rs b/drivers/gpu/drm/asahi/g17/fw/variant.rs index 7c3ee790dc941..e3f72677d1196 100644 --- a/drivers/gpu/drm/asahi/g17/fw/variant.rs +++ b/drivers/gpu/drm/asahi/g17/fw/variant.rs @@ -27,6 +27,22 @@ pub(crate) enum InitAck { Status, } +/// The InitData layouts of an M5 firmware build ([`super::m5::initdata`]). The 27.2 and later +/// layouts are not yet confirmed from captured InitData. Observed so far: the 27.3 beta 1 +/// firmware (26C5035r) on a J716s acknowledged the primary and secondary InitData built with the +/// `V26C5035` layouts and ran without a coprocessor fault; the 27.2 firmware has not run. +#[derive(Copy, Clone, Debug, PartialEq, Eq)] +pub(crate) enum M5Layouts { + /// The 26A428 graph: version word 0x0c8e_0339_8728_04c0 and its allocation sizes. + V26A428, + /// The 27.2 (26B123) graph: version word 0x0c8e_4339_8728_04c0, a larger power policy + /// (0x12728) and status config (0x790), the 26A428 HW data. + V26B123, + /// The 27.3 beta 1 (26C5035r) graph: 26B123's, the same version word included, with a HW + /// data word inserted at 0x2720. Only the firmware's identity tells it from 26B123. + V26C5035, +} + /// The initialization graph of a firmware build. #[derive(Copy, Clone, Debug, PartialEq, Eq)] pub(crate) enum InitGraph { @@ -71,6 +87,8 @@ pub(crate) struct Variant { /// Ray-traversal commands run for one client at a time, with other clients' compute /// commands kept out meanwhile ([`crate::g17::traversal`]). pub(crate) traversal_exclusion: bool, + /// The InitData layouts the M5 graph must build for this firmware; `None` off M5. + pub(crate) m5_layouts: Option, /// Renders may carry ray-query stages. The M5 command set has none: it encodes no render /// ray-query state. pub(crate) render_ray_query: bool, @@ -135,6 +153,7 @@ pub(crate) enum Firmware { /// The A18 Pro firmware (26A428). pub(crate) const V26A428: Variant = Variant { + m5_layouts: None, graph: InitGraph::G17P, init_ack: InitAck::Message, power_on_done: true, @@ -165,6 +184,7 @@ pub(crate) const V26A428: Variant = Variant { /// The M4 Pro firmware (25G83, `mBoot-18000.161.10`). pub(crate) const V25G83: Variant = Variant { + m5_layouts: None, graph: InitGraph::V25G83, init_ack: InitAck::Status, // Never sent on the M4 Pro: the firmware has retired its opening record when it accepts @@ -206,6 +226,7 @@ pub(crate) const V25G83: Variant = Variant { /// The 26A428 firmware of the M5 GPUs, which runs the M5 protocol (the M5 graph, queues and /// command set). pub(crate) const V26A428_M5: Variant = Variant { + m5_layouts: Some(M5Layouts::V26A428), m5_commands: true, // Not measured on the M5 firmware. traversal_exclusion: false, @@ -230,3 +251,16 @@ const _: () = { assert!(super::queue::PointerBlock::valid_layout(&V25G83.pointers)); assert!(super::queue::PointerBlock::valid_layout(&V25F84.pointers)); }; + +/// The 27.2 M5 firmware (26B123): the 26A428 M5 protocol with the 26B123 InitData layouts. +pub(crate) const V26B123_M5: Variant = Variant { + m5_layouts: Some(M5Layouts::V26B123), + ..V26A428_M5 +}; + +/// The 27.3 beta 1 M5 firmware (26C5035r): the 26A428 M5 protocol with the 26C5035r InitData +/// layouts. +pub(crate) const V26C5035_M5: Variant = Variant { + m5_layouts: Some(M5Layouts::V26C5035), + ..V26A428_M5 +}; diff --git a/drivers/gpu/drm/asahi/g17/initdata/m5.rs b/drivers/gpu/drm/asahi/g17/initdata/m5.rs index 7b641965cdc70..9c3af814186cf 100644 --- a/drivers/gpu/drm/asahi/g17/initdata/m5.rs +++ b/drivers/gpu/drm/asahi/g17/initdata/m5.rs @@ -70,16 +70,19 @@ impl InitData { // 26A428 one (0x6d0 bytes) has no such table. if self.graph.is_common26() { return Ok(()); } let private = self.object(self.cluster)?; - let base = m::M5_PRIVATE_LAYOUT.status_config; + let status_config = self.graph.profile.m5_status_config(); + let base = self.graph.private.status_config; + let history_at = status_config.relocate(m::M5_STATUS_CONFIG_HISTORY).ok_or(EINVAL)?; + let generation_at = status_config.relocate(m::M5_STATUS_CONFIG_HISTORY_GENERATION).ok_or(EINVAL)?; for _ in 0..64 { - let generation = private.word(base + 0x74c)?.load(Ordering::Acquire); + let generation = private.word(base + generation_at)?.load(Ordering::Acquire); if generation & 1 != 0 { core::hint::spin_loop(); continue; } // The firmware moves the generation around every change of the geometry: while it // reads as it did, the geometry read under it stands, without four more loads. let (period, count) = match self.history_geometry.get() { Some((seen, period, count)) if seen == generation => (period, count), _ => { - let config = private.read_words::<4>(base + 0x73c)?; + let config = private.read_words::<4>(base + history_at)?; fence(Ordering::Acquire); if generation != private.word(base + 0x74c)?.load(Ordering::Acquire) { core::hint::spin_loop(); continue; @@ -210,9 +213,11 @@ impl InitData { .map_err(|_| EINVAL)?; } else { m::encode_m5_region_c(self.object_mut(self.region_c)?.bytes_mut()).map_err(|_| EINVAL)?; - m::encode_m5_private_cluster(PRIVATE, FWCTL, + m::encode_m5_private_cluster(self.graph.profile, PRIVATE, FWCTL, &mut self.object_mut(self.cluster)?.bytes_mut()[..private.total]).map_err(|_| EINVAL)?; } + let layout = self.graph.profile.m5_layout().ok_or(EINVAL)?; + let hw_data_size = layout.hw_data_size(); let windows = board.register_windows(); let windows = &windows[..board.register_window_count()]; for (index, window) in windows.iter().enumerate() { @@ -236,16 +241,17 @@ impl InitData { let views = m::PrimaryRegionViews { sentinel_high: BASE + 0xc07e_0000, alias_high: [PB, UMA], }; - m::encode_m5_hw_data(board, completions, QOS, windows, - &mut self.object_mut(self.bundle)?.bytes_mut()[..m::M5_HW_DATA_SIZE]).map_err(|_| EINVAL)?; + m::encode_m5_hw_data(layout, board, completions, QOS, windows, + &mut self.object_mut(self.bundle)?.bytes_mut()[..hw_data_size]) + .map_err(|_| EINVAL)?; m::set_m5_kick_shared(board, - &mut self.object_mut(self.bundle)?.bytes_mut()[..m::M5_HW_DATA_SIZE], KICK_SHARED) + &mut self.object_mut(self.bundle)?.bytes_mut()[..hw_data_size], KICK_SHARED) .map_err(|_| EINVAL)?; let masked_cores: u32 = id.core_masks.iter().map(|mask| mask.count_ones()).sum(); let enabled_cores = if masked_cores != 0 { masked_cores } else { id.num_clusters.checked_mul(id.num_cores).ok_or(EOVERFLOW)? }; - m::set_m5_enabled_cores(board, - &mut self.object_mut(self.bundle)?.bytes_mut()[..m::M5_HW_DATA_SIZE], enabled_cores) + m::set_m5_enabled_cores(layout, + &mut self.object_mut(self.bundle)?.bytes_mut()[..hw_data_size], enabled_cores) .map_err(|_| EINVAL)?; let bindings = m::M5PolicyBindings { state: PRIVATE + private.policy_state as u64, aon_ptd: aon_va, boot_timestamp: 0, @@ -253,8 +259,19 @@ impl InitData { if common26 { m::encode_common26_bundle_policy(board, bindings, self.object_mut(self.bundle)?.bytes_mut()) } else { - m::encode_m5_bundle_policy(bindings, self.object_mut(self.bundle)?.bytes_mut()) + m::encode_m5_bundle_policy(layout, bindings, self.object_mut(self.bundle)?.bytes_mut()) }.map_err(|_| EINVAL)?; + if !common26 { + // The M5 encoders write the 26A428 form; a later build's policy map lays it out + // in place. For 26A428 the map has no bands and this changes nothing. + let policy_map = m::m5_policy(self.graph.profile.m5_layouts().ok_or(EINVAL)?); + let policy_start = self.graph.shared.policy; + let policy_size = self.graph.policy_size; + m::relayout_m5_policy(policy_map, board, board.controller_defaults.is_some(), + &mut self.object_mut(self.bundle)?.bytes_mut() + [policy_start..policy_start + policy_size]) + .map_err(|_| EINVAL)?; + } if let Some(defaults) = board.controller_defaults { defaults(self.object_mut(self.bundle)?.bytes_mut()).map_err(|_| EINVAL)?; let maximum = self.object(self.bundle)?.word(shared.policy + m::M5_POLICY_MAXIMUM_POWER)? From 83257af7e184bb727faf0bd86495ead206f8869c Mon Sep 17 00:00:00 2001 From: Joshua Warren <816217+joshuaswarren@users.noreply.github.com> Date: Wed, 18 Nov 2026 13:49:21 -0600 Subject: [PATCH 10/12] drm/asahi: hw/t6050: identify the macOS 27.2 and 27.3-beta1 M5 builds The 27.2 (26B123) and 27.3 beta 1 (26C5035r) builds of the M5 Pro and Max get their own per-build configurations, naming the boards whose graphs carry the builds' layouts (the previous commit's work). The 26C5035r entropy, boot-filled ranges and TEXT digests were measured on two J714s boots and one J716s boot under aura; the 27.2 records came from the 27.2 boots. --- drivers/gpu/drm/asahi/hw/t6050.rs | 302 ++++++++++++++++++++++++++++-- 1 file changed, 282 insertions(+), 20 deletions(-) diff --git a/drivers/gpu/drm/asahi/hw/t6050.rs b/drivers/gpu/drm/asahi/hw/t6050.rs index 4ea3862efd4cb..b93afb95638dc 100644 --- a/drivers/gpu/drm/asahi/hw/t6050.rs +++ b/drivers/gpu/drm/asahi/hw/t6050.rs @@ -47,11 +47,70 @@ pub(crate) const CONFIG: Config = Config { // back to back: the primary's TEXT 0x50000, then the secondary's 0x54000, with the same // entropy records and boot-filled ranges as the M5 Max. The digest is that of the // firmware's TEXT with those ranges zeroed, measured on two J714s boots. - firmware: crate::g17::fw::variant::Firmware::Identified(&[crate::g17::fw::variant::Build { - os_version: [27, 0, 0], - name: "27.0 (26A428), G17S", - images: &[ - crate::fwid::FirmwareBuild { + // The firmware in `fw-text` must be one of these builds. iBoot loads the G17S build of both + // roles back to back: the primary's text at 0x50000 of `fw-text`, then the secondary's at + // 0x54000, with the same entropy records and boot-filled ranges as the M5 Max (27.2 and 27.3 + // move the primary's records by a few bytes). Each digest is that of the firmware's text with + // those ranges zeroed, a loaded copy normalizing to it on every boot. Newest first. + firmware: crate::g17::fw::variant::Firmware::Identified(&[ + crate::g17::fw::variant::Build { + os_version: [27, 3, 0], + name: "27.3 (26C5035r), G17S", + images: &[crate::fwid::FirmwareBuild { + name: "26C5035r for T6050 G17S, primary then secondary", + text_size: 0xa4000, + data_size: 0x184000, + entropy: &[[0x49eac, 0x49f8f], [0x9d92c, 0x9da0f]], + boot_filled: &[ + (0x224, 4), + (0x23c, 8), + (0x4976c, 0x740), + (0x49eac, 0x231), + (0x50224, 4), + (0x5023c, 8), + (0x9d1ec, 0x740), + (0x9d92c, 0x231), + ], + text_sha256: [ + 0xb5, 0x53, 0x7c, 0x8f, 0x06, 0xbd, 0x19, 0xeb, 0xf0, 0xef, 0xd0, 0xcb, 0xfb, + 0x65, 0x52, 0x33, 0x9a, 0x10, 0xd4, 0xaf, 0xc4, 0xed, 0xa9, 0xd2, 0x1c, 0xbe, + 0xdc, 0x36, 0x66, 0x76, 0x36, 0x00, + ], + }], + variant: &crate::g17::fw::variant::V26A428_M5, + config: Some(&CONFIG_26C5035), + }, + crate::g17::fw::variant::Build { + os_version: [27, 2, 0], + name: "27.2 (26B123), G17S", + images: &[crate::fwid::FirmwareBuild { + name: "26B123 for T6050 G17S, primary then secondary", + text_size: 0xa4000, + data_size: 0x184000, + entropy: &[[0x49ea4, 0x49f87], [0x9d92c, 0x9da0f]], + boot_filled: &[ + (0x224, 4), + (0x23c, 8), + (0x49764, 0x740), + (0x49ea4, 0x231), + (0x50224, 4), + (0x5023c, 8), + (0x9d1ec, 0x740), + (0x9d92c, 0x231), + ], + text_sha256: [ + 0x2b, 0x46, 0x13, 0xc6, 0x2a, 0x8a, 0x00, 0x7f, 0x22, 0xa9, 0x41, 0x01, 0x70, + 0x2c, 0x9a, 0xc6, 0xc4, 0xe9, 0x0f, 0x2e, 0x12, 0x3f, 0x3b, 0x36, 0xfb, 0xe6, + 0xff, 0xea, 0x91, 0x3f, 0x0f, 0xd9, + ], + }], + variant: &crate::g17::fw::variant::V26A428_M5, + config: Some(&CONFIG_26B123), + }, + crate::g17::fw::variant::Build { + os_version: [27, 0, 0], + name: "27.0 (26A428), G17S", + images: &[crate::fwid::FirmwareBuild { name: "26A428 for T6050 G17S, primary then secondary", text_size: 0xa4000, data_size: 0x184000, @@ -65,11 +124,69 @@ pub(crate) const CONFIG: Config = Config { 0xc9, 0x1a, 0x8a, 0x5e, 0xf6, 0x09, 0x28, 0xd7, 0x72, 0x00, 0xf6, 0xd5, 0x3b, 0xd0, 0x99, 0xb9, 0x47, 0x39, 0xc6, ], - }, - ], - variant: &crate::g17::fw::variant::V26A428_M5, - config: None, - }]), + }], + variant: &crate::g17::fw::variant::V26A428_M5, + config: None, + }, + ]), + // Two clusters of ten cores. The buffers are sized for every core slot of the board, so the + // board's cluster and slot counts admit the GPU, whichever cores are fused off. + core_layout: CoreLayout { + cores: None, + alternate_core_masks: None, + operand_state: crate::g17::fw::compute::OperandState::TWO_BY_TEN, + deflake: crate::g17::fw::render::Deflake::TWO_CLUSTERS, + compute_blocks: crate::g17::fw::freelist::COMPUTE_BLOCKS, + }, +}; +/// CONFIG_26B123: the M5 Pro configuration for the per-build override. Its build list is empty: the driver picks builds off the chip configuration and never reads them here, and an inherited list would make the const graph cyclic. +pub(crate) const CONFIG_26B123: Config = Config { + firmware: crate::g17::fw::variant::Firmware::Identified(&[]), + chip_id: 0x6050, + identity: Identity { + family: 0xb, + variant: 3, + num_dies: 1, + gpu_variant: GpuVariant::S, + usc_generation: 3, + hal_generation: 300, + }, + uat_ias: 42, + uat_oas: 42, + // Both roles publish their kernel roots. The boot arguments iBoot writes into each role's + // TEXT give the primary's tables at `pagetables` (BPTP, the ADT gfx-shared-region) and the + // secondary's 0x40000 above it, 0x40000 each (SPTP). + secondary_root_offset: Some(0x40000), + // Each role places its own buffers. Its crash log goes in its __DATA_SHARED_RO, inside + // `fw-data`, as on the M5 Max, whose data segments have the same layout. + crash_buffers: CrashBuffers::FirmwareData, + profile: FirmwareProfile::M5PublishedRoots, + pm_metrics: None, + windows: &[], + reserved_slots: &[], + perf: None, + opps: 0, + // The M5 Max and Ultra's UAT policy, for the same firmware family. + uat_quirks: CONFIG_ULTRA.uat_quirks, + region_c: None, + chip: None, + m5: Some(&crate::g17::fw::m5::initdata::J714_26B123), + adopt_root_entries: true, + fabric_bridge: false, + sleep_restart: false, + recovery_slot_keys: None, + gpu_generation: GpuGen::G17, + // The firmware in `fw-text` must be this build. iBoot loads the G17S build of both roles + // back to back: the primary's TEXT 0x50000, then the secondary's 0x54000, with the same + // entropy records and boot-filled ranges as the M5 Max. The digest is that of the + // firmware's TEXT with those ranges zeroed, measured on two J714s boots. + // The firmware in `fw-text` must be one of these builds. iBoot loads the G17S build of both + // roles back to back: the primary's text at 0x50000 of `fw-text`, then the secondary's at + // 0x54000, with the same entropy records and boot-filled ranges as the M5 Max (27.2 and 27.3 + // move the primary's records by a few bytes). Each digest is that of the firmware's text with + // those ranges zeroed, a loaded copy normalizing to it on every boot. Newest first. + + // Two clusters of ten cores. The buffers are sized for every core slot of the board, so the // board's cluster and slot counts admit the GPU, whichever cores are fused off. core_layout: CoreLayout { @@ -81,6 +198,7 @@ pub(crate) const CONFIG: Config = Config { }, }; + /// M5 Max: ID variant 4, GPU variant C, HAL generation 300 like the M5 Pro. pub(crate) const CONFIG_MAX: Config = Config { chip_id: 0x6050, @@ -118,11 +236,40 @@ pub(crate) const CONFIG_MAX: Config = Config { // the G17C build of both roles back to back: the primary's TEXT 0x50000, then the // secondary's 0x54000. The digest is that of the firmware's TEXT with the boot-filled ranges // zeroed. - firmware: crate::g17::fw::variant::Firmware::Identified(&[crate::g17::fw::variant::Build { - os_version: [27, 0, 0], - name: "27.0 (26A428), G17C", - images: &[ - crate::fwid::FirmwareBuild { + // The G17C builds of the M5 Max, newest first; the same sizes as the G17S builds, the + // digests measured from the G17C text on the M5 Max. + firmware: crate::g17::fw::variant::Firmware::Identified(&[ + crate::g17::fw::variant::Build { + os_version: [27, 3, 0], + name: "27.3 (26C5035r), G17C", + images: &[crate::fwid::FirmwareBuild { + name: "26C5035r for T6050 G17C, primary then secondary", + text_size: 0xa4000, + data_size: 0x184000, + entropy: &[[0x49eac, 0x49f8f], [0x9d92c, 0x9da0f]], + boot_filled: &[ + (0x224, 4), + (0x23c, 8), + (0x4976c, 0x740), + (0x49eac, 0x231), + (0x50224, 4), + (0x5023c, 8), + (0x9d1ec, 0x740), + (0x9d92c, 0x231), + ], + text_sha256: [ + 0x54, 0x3f, 0x7c, 0xf9, 0xbd, 0xa3, 0x72, 0xd9, 0xbc, 0x24, 0xb3, 0x40, 0x13, + 0xb0, 0x58, 0x54, 0x40, 0x9e, 0xce, 0xd9, 0xf8, 0x01, 0x93, 0x34, 0xf5, 0x09, + 0xce, 0x64, 0x72, 0xc9, 0xe9, 0x12, + ], + }], + variant: &crate::g17::fw::variant::V26A428_M5, + config: Some(&CONFIG_MAX_26C5035), + }, + crate::g17::fw::variant::Build { + os_version: [27, 0, 0], + name: "27.0 (26A428), G17C", + images: &[crate::fwid::FirmwareBuild { name: "26A428 for T6050 G17C, primary then secondary", text_size: 0xa4000, data_size: 0x184000, @@ -136,11 +283,11 @@ pub(crate) const CONFIG_MAX: Config = Config { 0x00, 0x6d, 0xd8, 0x9f, 0x2c, 0xd8, 0xb4, 0xca, 0x60, 0x59, 0x9a, 0x0c, 0xb5, 0x5c, 0x35, 0xec, 0xb0, 0x98, 0xf4, ], - }, - ], - variant: &crate::g17::fw::variant::V26A428_M5, - config: None, - }]), + }], + variant: &crate::g17::fw::variant::V26A428_M5, + config: None, + }, + ]), // Four clusters of ten cores. The buffers are sized for every core slot of the board, so the // board's cluster and slot counts admit the GPU, whichever cores are fused off. core_layout: CoreLayout { @@ -158,6 +305,121 @@ pub(crate) const CONFIG_MAX: Config = Config { /// this board has run with: every table change written back, page-by-page TLB invalidation, and /// the handoff values its firmware expects (current slot 0xffff, the byte after the flush records /// 1, the lock never taken). +/// The M5 Pro on its 27.2 (26B123) firmware: the probed configuration with the build's board, +/// whose graph carries the 26B123 policy and status-config layout. + +/// CONFIG_26C5035: the M5 Pro configuration for the per-build override. Its build list is empty: the driver picks builds off the chip configuration and never reads them here, and an inherited list would make the const graph cyclic. +pub(crate) const CONFIG_26C5035: Config = Config { + firmware: crate::g17::fw::variant::Firmware::Identified(&[]), + chip_id: 0x6050, + identity: Identity { + family: 0xb, + variant: 3, + num_dies: 1, + gpu_variant: GpuVariant::S, + usc_generation: 3, + hal_generation: 300, + }, + uat_ias: 42, + uat_oas: 42, + // Both roles publish their kernel roots. The boot arguments iBoot writes into each role's + // TEXT give the primary's tables at `pagetables` (BPTP, the ADT gfx-shared-region) and the + // secondary's 0x40000 above it, 0x40000 each (SPTP). + secondary_root_offset: Some(0x40000), + // Each role places its own buffers. Its crash log goes in its __DATA_SHARED_RO, inside + // `fw-data`, as on the M5 Max, whose data segments have the same layout. + crash_buffers: CrashBuffers::FirmwareData, + profile: FirmwareProfile::M5PublishedRoots, + pm_metrics: None, + windows: &[], + reserved_slots: &[], + perf: None, + opps: 0, + // The M5 Max and Ultra's UAT policy, for the same firmware family. + uat_quirks: CONFIG_ULTRA.uat_quirks, + region_c: None, + chip: None, + m5: Some(&crate::g17::fw::m5::initdata::J714_26C5035), + adopt_root_entries: true, + fabric_bridge: false, + sleep_restart: false, + recovery_slot_keys: None, + gpu_generation: GpuGen::G17, + // The firmware in `fw-text` must be this build. iBoot loads the G17S build of both roles + // back to back: the primary's TEXT 0x50000, then the secondary's 0x54000, with the same + // entropy records and boot-filled ranges as the M5 Max. The digest is that of the + // firmware's TEXT with those ranges zeroed, measured on two J714s boots. + // The firmware in `fw-text` must be one of these builds. iBoot loads the G17S build of both + // roles back to back: the primary's text at 0x50000 of `fw-text`, then the secondary's at + // 0x54000, with the same entropy records and boot-filled ranges as the M5 Max (27.2 and 27.3 + // move the primary's records by a few bytes). Each digest is that of the firmware's text with + // those ranges zeroed, a loaded copy normalizing to it on every boot. Newest first. + + + // Two clusters of ten cores. The buffers are sized for every core slot of the board, so the + // board's cluster and slot counts admit the GPU, whichever cores are fused off. + core_layout: CoreLayout { + cores: None, + alternate_core_masks: None, + operand_state: crate::g17::fw::compute::OperandState::TWO_BY_TEN, + deflake: crate::g17::fw::render::Deflake::TWO_CLUSTERS, + compute_blocks: crate::g17::fw::freelist::COMPUTE_BLOCKS, + }, +}; + +/// CONFIG_MAX_26C5035: the M5 Max configuration for the per-build override. Its build list is empty: the driver picks builds off the chip configuration and never reads them here, and an inherited list would make the const graph cyclic. +pub(crate) const CONFIG_MAX_26C5035: Config = Config { + firmware: crate::g17::fw::variant::Firmware::Identified(&[]), + chip_id: 0x6050, + identity: Identity { + family: 0xb, + variant: 4, + num_dies: 1, + gpu_variant: GpuVariant::C, + usc_generation: 3, + hal_generation: 300, + }, + uat_ias: 42, + uat_oas: 42, + // Bare metal, as the M5 Ultra: both roles publish their kernel roots, the secondary's + // 0x40000 into `pagetables`, and each asks for its crash log inside `fw-data`. + secondary_root_offset: Some(0x40000), + crash_buffers: CrashBuffers::FirmwareData, + profile: FirmwareProfile::M5PublishedRoots, + pm_metrics: None, + windows: &[], + reserved_slots: &[], + perf: None, + opps: 0, + // The M5 Ultra's UAT policy, which this board's firmware expects too. + uat_quirks: CONFIG_ULTRA.uat_quirks, + region_c: None, + chip: None, + m5: Some(&crate::g17::fw::m5::initdata::J714_26C5035), + adopt_root_entries: true, + fabric_bridge: false, + sleep_restart: false, + recovery_slot_keys: None, + gpu_generation: GpuGen::G17, + // As on the M5 Ultra, the firmware in `fw-text` must be this build. The boot loader loads + // the G17C build of both roles back to back: the primary's TEXT 0x50000, then the + // secondary's 0x54000. The digest is that of the firmware's TEXT with the boot-filled ranges + // zeroed. + // The G17C builds of the M5 Max, newest first; the same sizes as the G17S builds, the + // digests measured from the G17C text on the M5 Max. + + + // Four clusters of ten cores. The buffers are sized for every core slot of the board, so the + // board's cluster and slot counts admit the GPU, whichever cores are fused off. + core_layout: CoreLayout { + cores: None, + alternate_core_masks: None, + operand_state: crate::g17::fw::compute::OperandState::FOUR_BY_TEN, + deflake: crate::g17::fw::render::Deflake::FOUR_CLUSTERS, + compute_blocks: crate::g17::fw::freelist::COMPUTE_BLOCKS, + }, +}; + pub(crate) const CONFIG_ULTRA: Config = Config { chip_id: 0x6050, // Family 0xb (G17), variant 6 (G17D), revision 0x11. From 0d4abd4e9f835022b6109cabba3eb8f8bf24be04 Mon Sep 17 00:00:00 2001 From: Joshua Warren <816217+joshuaswarren@users.noreply.github.com> Date: Wed, 18 Nov 2026 14:28:30 -0600 Subject: [PATCH 11/12] drm/asahi: review: the M5 Max 27.3-beta1 build takes the J716C board CONFIG_MAX_26C5035 named J714_26C5035, whose ..J714 base makes it the Pro board (2 clusters, 20 cores): a real M5 Max (J716C, 4 clusters, 40 cores) was refused at the probe after its firmware identified. Give the build its own board (J716C on the M5_GRAPH_26C5035 graph) and name it. Also from the review: drop the dead V26B123_M5/V26C5035_M5 variant consts and the unread Variant::m5_layouts field (layout flows config.m5 -> board.graph -> profile), and remove the comment artifacts in t6050.rs (the pasted single-build comments before the multi-build lists and the orphaned 26B123 doc above CONFIG_26C5035). --- drivers/gpu/drm/asahi/g17/fw/m5/initdata.rs | 6 ++++++ drivers/gpu/drm/asahi/g17/fw/variant.rs | 18 ------------------ drivers/gpu/drm/asahi/hw/t6050.rs | 17 +---------------- 3 files changed, 7 insertions(+), 34 deletions(-) diff --git a/drivers/gpu/drm/asahi/g17/fw/m5/initdata.rs b/drivers/gpu/drm/asahi/g17/fw/m5/initdata.rs index c39c64c6fa52e..109ff2038a968 100644 --- a/drivers/gpu/drm/asahi/g17/fw/m5/initdata.rs +++ b/drivers/gpu/drm/asahi/g17/fw/m5/initdata.rs @@ -2680,6 +2680,12 @@ pub(crate) const J714_26C5035: Board = Board { ..J714 }; +/// The M5 Max on the macOS 27.3 beta 1 (26C5035r) firmware: the J716C on the same build's graph. +pub(crate) const J716C_26C5035: Board = Board { + graph: &M5_GRAPH_26C5035, + ..J716C +}; + const _: () = { use super::target::min_parameter_buffer_pages; assert!(J714.min_parameter_buffer as u64 == min_parameter_buffer_pages(J714.clusters) << 15); diff --git a/drivers/gpu/drm/asahi/g17/fw/variant.rs b/drivers/gpu/drm/asahi/g17/fw/variant.rs index e3f72677d1196..868c9dc881719 100644 --- a/drivers/gpu/drm/asahi/g17/fw/variant.rs +++ b/drivers/gpu/drm/asahi/g17/fw/variant.rs @@ -87,8 +87,6 @@ pub(crate) struct Variant { /// Ray-traversal commands run for one client at a time, with other clients' compute /// commands kept out meanwhile ([`crate::g17::traversal`]). pub(crate) traversal_exclusion: bool, - /// The InitData layouts the M5 graph must build for this firmware; `None` off M5. - pub(crate) m5_layouts: Option, /// Renders may carry ray-query stages. The M5 command set has none: it encodes no render /// ray-query state. pub(crate) render_ray_query: bool, @@ -153,7 +151,6 @@ pub(crate) enum Firmware { /// The A18 Pro firmware (26A428). pub(crate) const V26A428: Variant = Variant { - m5_layouts: None, graph: InitGraph::G17P, init_ack: InitAck::Message, power_on_done: true, @@ -184,7 +181,6 @@ pub(crate) const V26A428: Variant = Variant { /// The M4 Pro firmware (25G83, `mBoot-18000.161.10`). pub(crate) const V25G83: Variant = Variant { - m5_layouts: None, graph: InitGraph::V25G83, init_ack: InitAck::Status, // Never sent on the M4 Pro: the firmware has retired its opening record when it accepts @@ -226,7 +222,6 @@ pub(crate) const V25G83: Variant = Variant { /// The 26A428 firmware of the M5 GPUs, which runs the M5 protocol (the M5 graph, queues and /// command set). pub(crate) const V26A428_M5: Variant = Variant { - m5_layouts: Some(M5Layouts::V26A428), m5_commands: true, // Not measured on the M5 firmware. traversal_exclusion: false, @@ -251,16 +246,3 @@ const _: () = { assert!(super::queue::PointerBlock::valid_layout(&V25G83.pointers)); assert!(super::queue::PointerBlock::valid_layout(&V25F84.pointers)); }; - -/// The 27.2 M5 firmware (26B123): the 26A428 M5 protocol with the 26B123 InitData layouts. -pub(crate) const V26B123_M5: Variant = Variant { - m5_layouts: Some(M5Layouts::V26B123), - ..V26A428_M5 -}; - -/// The 27.3 beta 1 M5 firmware (26C5035r): the 26A428 M5 protocol with the 26C5035r InitData -/// layouts. -pub(crate) const V26C5035_M5: Variant = Variant { - m5_layouts: Some(M5Layouts::V26C5035), - ..V26A428_M5 -}; diff --git a/drivers/gpu/drm/asahi/hw/t6050.rs b/drivers/gpu/drm/asahi/hw/t6050.rs index b93afb95638dc..295fecc20028b 100644 --- a/drivers/gpu/drm/asahi/hw/t6050.rs +++ b/drivers/gpu/drm/asahi/hw/t6050.rs @@ -43,10 +43,6 @@ pub(crate) const CONFIG: Config = Config { sleep_restart: false, recovery_slot_keys: None, gpu_generation: GpuGen::G17, - // The firmware in `fw-text` must be this build. iBoot loads the G17S build of both roles - // back to back: the primary's TEXT 0x50000, then the secondary's 0x54000, with the same - // entropy records and boot-filled ranges as the M5 Max. The digest is that of the - // firmware's TEXT with those ranges zeroed, measured on two J714s boots. // The firmware in `fw-text` must be one of these builds. iBoot loads the G17S build of both // roles back to back: the primary's text at 0x50000 of `fw-text`, then the secondary's at // 0x54000, with the same entropy records and boot-filled ranges as the M5 Max (27.2 and 27.3 @@ -176,10 +172,6 @@ pub(crate) const CONFIG_26B123: Config = Config { sleep_restart: false, recovery_slot_keys: None, gpu_generation: GpuGen::G17, - // The firmware in `fw-text` must be this build. iBoot loads the G17S build of both roles - // back to back: the primary's TEXT 0x50000, then the secondary's 0x54000, with the same - // entropy records and boot-filled ranges as the M5 Max. The digest is that of the - // firmware's TEXT with those ranges zeroed, measured on two J714s boots. // The firmware in `fw-text` must be one of these builds. iBoot loads the G17S build of both // roles back to back: the primary's text at 0x50000 of `fw-text`, then the secondary's at // 0x54000, with the same entropy records and boot-filled ranges as the M5 Max (27.2 and 27.3 @@ -305,9 +297,6 @@ pub(crate) const CONFIG_MAX: Config = Config { /// this board has run with: every table change written back, page-by-page TLB invalidation, and /// the handoff values its firmware expects (current slot 0xffff, the byte after the flush records /// 1, the lock never taken). -/// The M5 Pro on its 27.2 (26B123) firmware: the probed configuration with the build's board, -/// whose graph carries the 26B123 policy and status-config layout. - /// CONFIG_26C5035: the M5 Pro configuration for the per-build override. Its build list is empty: the driver picks builds off the chip configuration and never reads them here, and an inherited list would make the const graph cyclic. pub(crate) const CONFIG_26C5035: Config = Config { firmware: crate::g17::fw::variant::Firmware::Identified(&[]), @@ -345,10 +334,6 @@ pub(crate) const CONFIG_26C5035: Config = Config { sleep_restart: false, recovery_slot_keys: None, gpu_generation: GpuGen::G17, - // The firmware in `fw-text` must be this build. iBoot loads the G17S build of both roles - // back to back: the primary's TEXT 0x50000, then the secondary's 0x54000, with the same - // entropy records and boot-filled ranges as the M5 Max. The digest is that of the - // firmware's TEXT with those ranges zeroed, measured on two J714s boots. // The firmware in `fw-text` must be one of these builds. iBoot loads the G17S build of both // roles back to back: the primary's text at 0x50000 of `fw-text`, then the secondary's at // 0x54000, with the same entropy records and boot-filled ranges as the M5 Max (27.2 and 27.3 @@ -395,7 +380,7 @@ pub(crate) const CONFIG_MAX_26C5035: Config = Config { uat_quirks: CONFIG_ULTRA.uat_quirks, region_c: None, chip: None, - m5: Some(&crate::g17::fw::m5::initdata::J714_26C5035), + m5: Some(&crate::g17::fw::m5::initdata::J716C_26C5035), adopt_root_entries: true, fabric_bridge: false, sleep_restart: false, From 7617bd0320c8ee8a299a59af811e09842628be6d Mon Sep 17 00:00:00 2001 From: Joshua Warren <816217+joshuaswarren@users.noreply.github.com> Date: Thu, 19 Nov 2026 19:43:55 -0600 Subject: [PATCH 12/12] drm/asahi: scope the M5 firmware support to the stable 27.2 builds Aurora asked for stable 27.2 only, matching the firmware pin. The 27.3-beta1 (26C5035r) scope moves intact to wAN/m5max-fw-273-held on this fork. Removed: the 26C5035r build entries in the M5 Pro and M5 Max firmware lists and their two per-build override configs in hw/t6050.rs; the V26C5035 layout variant and its captured-InitData note in g17/fw/variant.rs; the J714G17S26C5035 root profile, the 26C5035r graph, the J714_26C5035 and J716C_26C5035 boards, the 26C5035r layout, HW-data bands and forced-idle word, and the beta wording in doc comments in g17/fw/m5/initdata.rs. 268 deletions against 20 adjusted match arms and comments. Not built here; Aurora runs dt-checks and host-tests on push. --- drivers/gpu/drm/asahi/g17/fw/m5/initdata.rs | 111 ++----------- drivers/gpu/drm/asahi/g17/fw/variant.rs | 7 +- drivers/gpu/drm/asahi/hw/t6050.rs | 170 +------------------- 3 files changed, 20 insertions(+), 268 deletions(-) diff --git a/drivers/gpu/drm/asahi/g17/fw/m5/initdata.rs b/drivers/gpu/drm/asahi/g17/fw/m5/initdata.rs index 109ff2038a968..4c439e7fcefff 100644 --- a/drivers/gpu/drm/asahi/g17/fw/m5/initdata.rs +++ b/drivers/gpu/drm/asahi/g17/fw/m5/initdata.rs @@ -46,11 +46,6 @@ pub(crate) enum RootProfile { /// The M5 graph of the macOS 27.2 firmware (26B123): the 26A428 graph with a larger power /// policy and status config ([`ABI_ALLOCATION_SIZES_26B123_M5`]). J714G17S26B123, - - /// The M5 graph of the macOS 27.3 beta 1 firmware (26C5035r): the 26B123 graph with one more - /// HW data word ([`M5_26C5035_HW_DATA_BANDS`]). It takes the same interface version word as - /// 26B123's, so only the firmware's identity tells them apart. - J714G17S26C5035, } impl RootProfile { @@ -60,7 +55,6 @@ impl RootProfile { match layouts { M5Layouts::V26A428 => Self::J714G17S26A428, M5Layouts::V26B123 => Self::J714G17S26B123, - M5Layouts::V26C5035 => Self::J714G17S26C5035, } } @@ -69,7 +63,6 @@ impl RootProfile { match self { Self::J714G17S26A428 => Some(&M5_LAYOUT_26A428), Self::J714G17S26B123 => Some(&M5_LAYOUT_26B123), - Self::J714G17S26C5035 => Some(&M5_LAYOUT_26C5035), Self::J700G17P | Self::J813G17G25G76 | Self::J873G18G26A428 @@ -84,7 +77,7 @@ impl RootProfile { Self::J873G18G26A428 => COMMON26_INITDATA_VERSION_WORD, Self::J873G18G26B123 => COMMON26B123_INITDATA_VERSION_WORD, Self::J714G17S26A428 => M5_INITDATA_VERSION_WORD, - Self::J714G17S26B123 | Self::J714G17S26C5035 => M5_26B123_INITDATA_VERSION_WORD, + Self::J714G17S26B123 => M5_26B123_INITDATA_VERSION_WORD, } } @@ -101,15 +94,14 @@ impl RootProfile { Self::J700G17P | Self::J813G17G25G76 | Self::J714G17S26A428 - | Self::J714G17S26B123 - | Self::J714G17S26C5035 => None, + | Self::J714G17S26B123 => None, } } pub(crate) const fn root_size(self, role: InstanceRole) -> usize { match self { Self::J873G18G26A428 | Self::J873G18G26B123 => COMMON26_ROOT_SIZE, - Self::J714G17S26A428 | Self::J714G17S26B123 | Self::J714G17S26C5035 => M5_ROOT_SIZE, + Self::J714G17S26A428 | Self::J714G17S26B123 => M5_ROOT_SIZE, Self::J700G17P | Self::J813G17G25G76 => root_size(role), } } @@ -123,11 +115,11 @@ impl RootProfile { COMMON26_CONTROL_OPENING_OPCODE_SECONDARY } ( - Self::J714G17S26A428 | Self::J714G17S26B123 | Self::J714G17S26C5035, + Self::J714G17S26A428 | Self::J714G17S26B123, InstanceRole::Primary, ) => M5_CONTROL_OPENING_OPCODE_PRIMARY, ( - Self::J714G17S26A428 | Self::J714G17S26B123 | Self::J714G17S26C5035, + Self::J714G17S26A428 | Self::J714G17S26B123, InstanceRole::Secondary, ) => M5_CONTROL_OPENING_OPCODE_SECONDARY, (_, InstanceRole::Primary) => CONTROL_OPENING_OPCODE_PRIMARY, @@ -140,8 +132,7 @@ impl RootProfile { Self::J873G18G26A428 | Self::J873G18G26B123 | Self::J714G17S26A428 - | Self::J714G17S26B123 - | Self::J714G17S26C5035 => None, + | Self::J714G17S26B123 => None, Self::J700G17P | Self::J813G17G25G76 => Some(CONTROL_OPENING_PRIMARY_REGISTER_OPCODE), } } @@ -175,8 +166,7 @@ impl RootProfile { Self::J700G17P | Self::J813G17G25G76 | Self::J714G17S26A428 - | Self::J714G17S26B123 - | Self::J714G17S26C5035 => REGION_VIEW_LOW_ADDRS, + | Self::J714G17S26B123 => REGION_VIEW_LOW_ADDRS, } } @@ -208,7 +198,6 @@ impl RootProfile { match self { Self::J714G17S26A428 => Some(M5Layouts::V26A428), Self::J714G17S26B123 => Some(M5Layouts::V26B123), - Self::J714G17S26C5035 => Some(M5Layouts::V26C5035), _ => None, } } @@ -216,7 +205,7 @@ impl RootProfile { /// Status-config layout of the M5 graph built for this profile. pub(crate) const fn m5_status_config(self) -> &'static M5StatusConfigMap { match self { - Self::J714G17S26B123 | Self::J714G17S26C5035 => &M5_26B123_STATUS_CONFIG, + Self::J714G17S26B123 => &M5_26B123_STATUS_CONFIG, Self::J700G17P | Self::J813G17G25G76 | Self::J873G18G26A428 @@ -983,8 +972,7 @@ pub(crate) fn encode_main_config_for_profile( RootProfile::J813G17G25G76 => 0xc, RootProfile::J873G18G26A428 | RootProfile::J873G18G26B123 - | RootProfile::J714G17S26A428 | RootProfile::J714G17S26B123 - | RootProfile::J714G17S26C5035 => COMMON26_MAIN_SECONDARY_KIND, + | RootProfile::J714G17S26A428 | RootProfile::J714G17S26B123 => COMMON26_MAIN_SECONDARY_KIND, }); if profile == RootProfile::J714G17S26A428 { @@ -2652,40 +2640,12 @@ pub(crate) const M5_GRAPH_26B123: Graph = Graph { power_assert_tally: super::power::POWER_ASSERT_TALLY, }; -/// The M5 graph of the macOS 27.3 beta 1 (26C5035r) firmware build: 26B123's, with one more HW -/// data word ([`M5_26C5035_HW_DATA_BANDS`]) and the same interface version word, so only the -/// firmware's identity tells them apart. -pub(crate) const M5_GRAPH_26C5035: Graph = Graph { - profile: RootProfile::J714G17S26C5035, - private: M5_PRIVATE_LAYOUT, - shared: M5_SHARED_LAYOUT, - policy_size: M5_26B123_POLICY_SIZE, - bundle_view_offsets: M5_BUNDLE_VIEW_OFFSETS, - bundle_view_extents: M5_BUNDLE_VIEW_EXTENTS, - work_ring_offsets: M5_WORK_RING_BUNDLE_OFFSETS, - state_grids: M5_PRIVATE_STATE_GRIDS, - power_assert_tally: super::power::POWER_ASSERT_TALLY, -}; - /// The J714 on its macOS 27.2 (26B123) firmware: the same board on the larger-policy M5 graph. pub(crate) const J714_26B123: Board = Board { graph: &M5_GRAPH_26B123, ..J714 }; -/// The J714 on the macOS 27.3 beta 1 (26C5035r) firmware: the 26B123 graph with one more HW data -/// word ([`M5_26C5035_HW_DATA_BANDS`]). -pub(crate) const J714_26C5035: Board = Board { - graph: &M5_GRAPH_26C5035, - ..J714 -}; - -/// The M5 Max on the macOS 27.3 beta 1 (26C5035r) firmware: the J716C on the same build's graph. -pub(crate) const J716C_26C5035: Board = Board { - graph: &M5_GRAPH_26C5035, - ..J716C -}; - const _: () = { use super::target::min_parameter_buffer_pages; assert!(J714.min_parameter_buffer as u64 == min_parameter_buffer_pages(J714.clusters) << 15); @@ -3752,7 +3712,7 @@ pub(crate) fn encode_m5_policy_controller_defaults_j775d(out: &mut [u8]) -> Resu Ok(()) } -/// Status config 26A428 -> 26B123 (macOS 27.2; 27.3 beta 1 has the same layout), in 26A428 +/// Status config 26A428 -> 26B123 (macOS 27.2), in 26A428 /// offsets. The status config grows from 0x780 to 0x790 bytes (allocation size table entry 13). /// /// From +0x5b4 the object holds two controller blocks, at +0x5b4 and +0x610, of 0x5c bytes @@ -3779,11 +3739,11 @@ pub(crate) const M5_26B123_STATUS_CONFIG_SIZE: usize = pub(crate) const M5_26B123_STATUS_CONFIG_INSERTED: &[(usize, u32)] = &[(0x5dc, 0), (0x60c, 5000), (0x640, 0), (0x670, 0)]; -/// The interface version word, at root+0, of the 27.2 (26B123) and 27.3 beta 1 (26C5035r) M5 +/// The interface version word, at root+0, of the 27.2 (26B123) M5 /// firmware: the 26A428 word with bit 46 set. It is not yet confirmed from captured InitData. pub(crate) const M5_26B123_INITDATA_VERSION_WORD: u64 = 0x0c8e_4339_8728_04c0; -/// The allocation size table of the 27.2 (26B123) and 27.3 beta 1 (26C5035r) M5 firmware, indexed +/// The allocation size table of the 27.2 (26B123) M5 firmware, indexed /// like [`ABI_ALLOCATION_SIZES_26A428_M5`]. Only two entries differ from it: the power policy /// (index 4, 0x126b0 -> 0x12728) and the status config (index 13, 0x780 -> 0x790). The sizes are /// not yet confirmed from captured InitData. @@ -3793,20 +3753,6 @@ pub(crate) const ABI_ALLOCATION_SIZES_26B123_M5: [usize; 24] = [ 0x1ca0, 0x00e4, ]; -/// The HW data of the 27.3 beta 1 firmware (26C5035r) is 26A428's with one u32 inserted at 0x2720 -/// ([`M5_26C5035_HW_FORCED_IDLE_TIMEOUT`]): every later field moves by 4 (the kick-shared pointer -/// from 0x27dc to 0x27e0, the last moved word from 0x2846 to 0x284a), and the four zero bytes past -/// 0x284c fall off the end. The layout is not yet confirmed from captured InitData. -pub(crate) const M5_26C5035_HW_DATA_BANDS: &[LayoutBand] = &[ - band(0x0000, 0x2720, 0, Evidence::Inferred), - band(0x2720, 0x284c, 4, Evidence::Inferred), -]; - -/// The 26C5035r HW data word for the time the GPU may take to reach a forced idle after a sleep -/// request, ms; 0 disables the wait. 26A428 and 26B123 HW data have no such word. Its meaning and -/// the value written to it are not yet confirmed from captured InitData. -pub(crate) const M5_26C5035_HW_FORCED_IDLE_TIMEOUT: usize = 0x2720; - /// The forced-idle wait written to the HW data, in seconds (5000 ms). The value is not yet /// confirmed from captured InitData. pub(crate) const M5_GPU_TIMEOUT_SECONDS: u32 = 5; @@ -3923,16 +3869,6 @@ pub(crate) const M5_LAYOUT_26A428: M5Layout = pub(crate) const M5_LAYOUT_26B123: M5Layout = M5Layout::new(ABI_ALLOCATION_SIZES_26B123_M5, &[], &[]); -/// The 27.3 beta 1 (26C5035r) M5 layout. -pub(crate) const M5_LAYOUT_26C5035: M5Layout = M5Layout::new( - ABI_ALLOCATION_SIZES_26B123_M5, - M5_26C5035_HW_DATA_BANDS, - &[( - M5_26C5035_HW_FORCED_IDLE_TIMEOUT, - m5_forced_idle_timeout_ms(M5_GPU_TIMEOUT_SECONDS), - )], -); - /// Submission-history period and slot count (two u64), its generation word and its per-slot /// bytes in the status config, at 26A428 offsets. pub(crate) const M5_STATUS_CONFIG_HISTORY: usize = 0x73c; @@ -3979,7 +3915,7 @@ pub(crate) const M5_26B123_STATUS_CONFIG: M5StatusConfigMap = M5StatusConfigMap inserted: M5_26B123_STATUS_CONFIG_INSERTED, }; -/// Power policy 26A428 -> 26B123 (macOS 27.2; 27.3 beta 1 has the same layout), in 26A428 +/// Power policy 26A428 -> 26B123 (macOS 27.2), in 26A428 /// offsets. The policy grows from 0x126b0 to 0x12728 bytes (allocation size table entry 4); five /// inserts move the words above them: /// @@ -4301,40 +4237,23 @@ const _: () = { } }; -/// The HW data of the 27.3 beta 1 firmware (26C5035r) is 26A428's with one u32 inserted at 0x2720 -/// ([`M5_26C5035_HW_FORCED_IDLE_TIMEOUT`]): every later field moves by 4 (the kick-shared pointer -/// from 0x27dc to 0x27e0, the last moved word from 0x2846 to 0x284a), and the four zero bytes past -/// 0x284c fall off the end. The layout is not yet confirmed from captured InitData. - const _: () = { // The bundle and the private cluster keep the sizes of their fixed windows. assert!(M5_LAYOUT_26B123.shared.total == M5_LAYOUT_26A428.shared.total); assert!(M5_LAYOUT_26B123.private.total == M5_LAYOUT_26A428.private.total); - // The kick-shared pointer and the last word the 26C5035r layout moves. + // The kick-shared pointer offset. let kick = M5_KICK_SHARED_POINTER; assert!(matches!( M5_LAYOUT_26A428.hw_data_offset(kick), Some(0x27dc) )); - assert!(matches!( - M5_LAYOUT_26C5035.hw_data_offset(kick), - Some(0x27e0) - )); - assert!(matches!( - M5_LAYOUT_26C5035.hw_data_offset(0x2846), - Some(0x284a) - )); - assert!(matches!( - M5_LAYOUT_26C5035.hw_data_offset(0x271c), - Some(0x271c) - )); }; const _: () = { use super::super::variant::M5Layouts; // Every M5 build's policy map and status-config map fill the allocations of its size table, // and the policy starts where the encoders write its 26A428 form. - let builds = [M5Layouts::V26A428, M5Layouts::V26B123, M5Layouts::V26C5035]; + let builds = [M5Layouts::V26A428, M5Layouts::V26B123]; let mut index = 0; while index < builds.len() { let profile = RootProfile::for_m5_layouts(builds[index]); diff --git a/drivers/gpu/drm/asahi/g17/fw/variant.rs b/drivers/gpu/drm/asahi/g17/fw/variant.rs index 868c9dc881719..1f9667e29ab1c 100644 --- a/drivers/gpu/drm/asahi/g17/fw/variant.rs +++ b/drivers/gpu/drm/asahi/g17/fw/variant.rs @@ -28,9 +28,7 @@ pub(crate) enum InitAck { } /// The InitData layouts of an M5 firmware build ([`super::m5::initdata`]). The 27.2 and later -/// layouts are not yet confirmed from captured InitData. Observed so far: the 27.3 beta 1 -/// firmware (26C5035r) on a J716s acknowledged the primary and secondary InitData built with the -/// `V26C5035` layouts and ran without a coprocessor fault; the 27.2 firmware has not run. +/// layouts are not yet confirmed from captured InitData. #[derive(Copy, Clone, Debug, PartialEq, Eq)] pub(crate) enum M5Layouts { /// The 26A428 graph: version word 0x0c8e_0339_8728_04c0 and its allocation sizes. @@ -38,9 +36,6 @@ pub(crate) enum M5Layouts { /// The 27.2 (26B123) graph: version word 0x0c8e_4339_8728_04c0, a larger power policy /// (0x12728) and status config (0x790), the 26A428 HW data. V26B123, - /// The 27.3 beta 1 (26C5035r) graph: 26B123's, the same version word included, with a HW - /// data word inserted at 0x2720. Only the firmware's identity tells it from 26B123. - V26C5035, } /// The initialization graph of a firmware build. diff --git a/drivers/gpu/drm/asahi/hw/t6050.rs b/drivers/gpu/drm/asahi/hw/t6050.rs index 295fecc20028b..a5d00830bbc51 100644 --- a/drivers/gpu/drm/asahi/hw/t6050.rs +++ b/drivers/gpu/drm/asahi/hw/t6050.rs @@ -45,37 +45,10 @@ pub(crate) const CONFIG: Config = Config { gpu_generation: GpuGen::G17, // The firmware in `fw-text` must be one of these builds. iBoot loads the G17S build of both // roles back to back: the primary's text at 0x50000 of `fw-text`, then the secondary's at - // 0x54000, with the same entropy records and boot-filled ranges as the M5 Max (27.2 and 27.3 - // move the primary's records by a few bytes). Each digest is that of the firmware's text with + // 0x54000, with the same entropy records and boot-filled ranges as the M5 Max (27.2 + // moves the primary's records by a few bytes). Each digest is that of the firmware's text with // those ranges zeroed, a loaded copy normalizing to it on every boot. Newest first. firmware: crate::g17::fw::variant::Firmware::Identified(&[ - crate::g17::fw::variant::Build { - os_version: [27, 3, 0], - name: "27.3 (26C5035r), G17S", - images: &[crate::fwid::FirmwareBuild { - name: "26C5035r for T6050 G17S, primary then secondary", - text_size: 0xa4000, - data_size: 0x184000, - entropy: &[[0x49eac, 0x49f8f], [0x9d92c, 0x9da0f]], - boot_filled: &[ - (0x224, 4), - (0x23c, 8), - (0x4976c, 0x740), - (0x49eac, 0x231), - (0x50224, 4), - (0x5023c, 8), - (0x9d1ec, 0x740), - (0x9d92c, 0x231), - ], - text_sha256: [ - 0xb5, 0x53, 0x7c, 0x8f, 0x06, 0xbd, 0x19, 0xeb, 0xf0, 0xef, 0xd0, 0xcb, 0xfb, - 0x65, 0x52, 0x33, 0x9a, 0x10, 0xd4, 0xaf, 0xc4, 0xed, 0xa9, 0xd2, 0x1c, 0xbe, - 0xdc, 0x36, 0x66, 0x76, 0x36, 0x00, - ], - }], - variant: &crate::g17::fw::variant::V26A428_M5, - config: Some(&CONFIG_26C5035), - }, crate::g17::fw::variant::Build { os_version: [27, 2, 0], name: "27.2 (26B123), G17S", @@ -174,8 +147,8 @@ pub(crate) const CONFIG_26B123: Config = Config { gpu_generation: GpuGen::G17, // The firmware in `fw-text` must be one of these builds. iBoot loads the G17S build of both // roles back to back: the primary's text at 0x50000 of `fw-text`, then the secondary's at - // 0x54000, with the same entropy records and boot-filled ranges as the M5 Max (27.2 and 27.3 - // move the primary's records by a few bytes). Each digest is that of the firmware's text with + // 0x54000, with the same entropy records and boot-filled ranges as the M5 Max (27.2 + // moves the primary's records by a few bytes). Each digest is that of the firmware's text with // those ranges zeroed, a loaded copy normalizing to it on every boot. Newest first. @@ -231,33 +204,6 @@ pub(crate) const CONFIG_MAX: Config = Config { // The G17C builds of the M5 Max, newest first; the same sizes as the G17S builds, the // digests measured from the G17C text on the M5 Max. firmware: crate::g17::fw::variant::Firmware::Identified(&[ - crate::g17::fw::variant::Build { - os_version: [27, 3, 0], - name: "27.3 (26C5035r), G17C", - images: &[crate::fwid::FirmwareBuild { - name: "26C5035r for T6050 G17C, primary then secondary", - text_size: 0xa4000, - data_size: 0x184000, - entropy: &[[0x49eac, 0x49f8f], [0x9d92c, 0x9da0f]], - boot_filled: &[ - (0x224, 4), - (0x23c, 8), - (0x4976c, 0x740), - (0x49eac, 0x231), - (0x50224, 4), - (0x5023c, 8), - (0x9d1ec, 0x740), - (0x9d92c, 0x231), - ], - text_sha256: [ - 0x54, 0x3f, 0x7c, 0xf9, 0xbd, 0xa3, 0x72, 0xd9, 0xbc, 0x24, 0xb3, 0x40, 0x13, - 0xb0, 0x58, 0x54, 0x40, 0x9e, 0xce, 0xd9, 0xf8, 0x01, 0x93, 0x34, 0xf5, 0x09, - 0xce, 0x64, 0x72, 0xc9, 0xe9, 0x12, - ], - }], - variant: &crate::g17::fw::variant::V26A428_M5, - config: Some(&CONFIG_MAX_26C5035), - }, crate::g17::fw::variant::Build { os_version: [27, 0, 0], name: "27.0 (26A428), G17C", @@ -297,114 +243,6 @@ pub(crate) const CONFIG_MAX: Config = Config { /// this board has run with: every table change written back, page-by-page TLB invalidation, and /// the handoff values its firmware expects (current slot 0xffff, the byte after the flush records /// 1, the lock never taken). -/// CONFIG_26C5035: the M5 Pro configuration for the per-build override. Its build list is empty: the driver picks builds off the chip configuration and never reads them here, and an inherited list would make the const graph cyclic. -pub(crate) const CONFIG_26C5035: Config = Config { - firmware: crate::g17::fw::variant::Firmware::Identified(&[]), - chip_id: 0x6050, - identity: Identity { - family: 0xb, - variant: 3, - num_dies: 1, - gpu_variant: GpuVariant::S, - usc_generation: 3, - hal_generation: 300, - }, - uat_ias: 42, - uat_oas: 42, - // Both roles publish their kernel roots. The boot arguments iBoot writes into each role's - // TEXT give the primary's tables at `pagetables` (BPTP, the ADT gfx-shared-region) and the - // secondary's 0x40000 above it, 0x40000 each (SPTP). - secondary_root_offset: Some(0x40000), - // Each role places its own buffers. Its crash log goes in its __DATA_SHARED_RO, inside - // `fw-data`, as on the M5 Max, whose data segments have the same layout. - crash_buffers: CrashBuffers::FirmwareData, - profile: FirmwareProfile::M5PublishedRoots, - pm_metrics: None, - windows: &[], - reserved_slots: &[], - perf: None, - opps: 0, - // The M5 Max and Ultra's UAT policy, for the same firmware family. - uat_quirks: CONFIG_ULTRA.uat_quirks, - region_c: None, - chip: None, - m5: Some(&crate::g17::fw::m5::initdata::J714_26C5035), - adopt_root_entries: true, - fabric_bridge: false, - sleep_restart: false, - recovery_slot_keys: None, - gpu_generation: GpuGen::G17, - // The firmware in `fw-text` must be one of these builds. iBoot loads the G17S build of both - // roles back to back: the primary's text at 0x50000 of `fw-text`, then the secondary's at - // 0x54000, with the same entropy records and boot-filled ranges as the M5 Max (27.2 and 27.3 - // move the primary's records by a few bytes). Each digest is that of the firmware's text with - // those ranges zeroed, a loaded copy normalizing to it on every boot. Newest first. - - - // Two clusters of ten cores. The buffers are sized for every core slot of the board, so the - // board's cluster and slot counts admit the GPU, whichever cores are fused off. - core_layout: CoreLayout { - cores: None, - alternate_core_masks: None, - operand_state: crate::g17::fw::compute::OperandState::TWO_BY_TEN, - deflake: crate::g17::fw::render::Deflake::TWO_CLUSTERS, - compute_blocks: crate::g17::fw::freelist::COMPUTE_BLOCKS, - }, -}; - -/// CONFIG_MAX_26C5035: the M5 Max configuration for the per-build override. Its build list is empty: the driver picks builds off the chip configuration and never reads them here, and an inherited list would make the const graph cyclic. -pub(crate) const CONFIG_MAX_26C5035: Config = Config { - firmware: crate::g17::fw::variant::Firmware::Identified(&[]), - chip_id: 0x6050, - identity: Identity { - family: 0xb, - variant: 4, - num_dies: 1, - gpu_variant: GpuVariant::C, - usc_generation: 3, - hal_generation: 300, - }, - uat_ias: 42, - uat_oas: 42, - // Bare metal, as the M5 Ultra: both roles publish their kernel roots, the secondary's - // 0x40000 into `pagetables`, and each asks for its crash log inside `fw-data`. - secondary_root_offset: Some(0x40000), - crash_buffers: CrashBuffers::FirmwareData, - profile: FirmwareProfile::M5PublishedRoots, - pm_metrics: None, - windows: &[], - reserved_slots: &[], - perf: None, - opps: 0, - // The M5 Ultra's UAT policy, which this board's firmware expects too. - uat_quirks: CONFIG_ULTRA.uat_quirks, - region_c: None, - chip: None, - m5: Some(&crate::g17::fw::m5::initdata::J716C_26C5035), - adopt_root_entries: true, - fabric_bridge: false, - sleep_restart: false, - recovery_slot_keys: None, - gpu_generation: GpuGen::G17, - // As on the M5 Ultra, the firmware in `fw-text` must be this build. The boot loader loads - // the G17C build of both roles back to back: the primary's TEXT 0x50000, then the - // secondary's 0x54000. The digest is that of the firmware's TEXT with the boot-filled ranges - // zeroed. - // The G17C builds of the M5 Max, newest first; the same sizes as the G17S builds, the - // digests measured from the G17C text on the M5 Max. - - - // Four clusters of ten cores. The buffers are sized for every core slot of the board, so the - // board's cluster and slot counts admit the GPU, whichever cores are fused off. - core_layout: CoreLayout { - cores: None, - alternate_core_masks: None, - operand_state: crate::g17::fw::compute::OperandState::FOUR_BY_TEN, - deflake: crate::g17::fw::render::Deflake::FOUR_CLUSTERS, - compute_blocks: crate::g17::fw::freelist::COMPUTE_BLOCKS, - }, -}; - pub(crate) const CONFIG_ULTRA: Config = Config { chip_id: 0x6050, // Family 0xb (G17), variant 6 (G17D), revision 0x11.