diff --git a/Documentation/devicetree/bindings/display/apple,dcp.yaml b/Documentation/devicetree/bindings/display/apple,dcp.yaml index f646774fe79ed..b0f711cba9327 100644 --- a/Documentation/devicetree/bindings/display/apple,dcp.yaml +++ b/Documentation/devicetree/bindings/display/apple,dcp.yaml @@ -67,7 +67,7 @@ properties: - enum: [disp-2, iop-vbar] - enum: [disp-3, iop-vbar] - enum: [disp-4, iop-vbar] - - enum: [disp-5, iop-vbar] + - enum: [disp-5, iop-vbar, coproc-aux] - const: iop-vbar interrupts: diff --git a/Documentation/devicetree/bindings/iommu/apple,ane-dma.yaml b/Documentation/devicetree/bindings/iommu/apple,ane-dma.yaml new file mode 100644 index 0000000000000..b2d361e4017ed --- /dev/null +++ b/Documentation/devicetree/bindings/iommu/apple,ane-dma.yaml @@ -0,0 +1,40 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iommu/apple,ane-dma.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Apple M1 Neural Engine auxiliary DMA aperture + +maintainers: + - Ryan Murray <81541646+RyanTheTide@users.noreply.github.com> + +description: | + An auxiliary address-translation aperture accompanies the three Neural + Engine DART register banks. It is described separately because it is + not an instance of the general-purpose DART programming model. + Its interrupt is shared with the DART banks. + +properties: + compatible: + items: + - enum: + - apple,t6000-ane-dma + - const: apple,ane-dma + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + power-domains: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - power-domains + +additionalProperties: false diff --git a/Documentation/devicetree/bindings/iommu/apple,dart.yaml b/Documentation/devicetree/bindings/iommu/apple,dart.yaml index a5455e4eac35a..514b17641bf5b 100644 --- a/Documentation/devicetree/bindings/iommu/apple,dart.yaml +++ b/Documentation/devicetree/bindings/iommu/apple,dart.yaml @@ -23,6 +23,10 @@ description: |+ properties: compatible: oneOf: + - items: + - const: apple,t6000-display-dart + - const: apple,t6000-dart + - const: apple,t8110-dart - enum: - apple,t8103-dart - apple,t8103-usb4-dart @@ -79,7 +83,7 @@ properties: minItems: 1 items: - const: dart - - const: dapf + - enum: [dapf, auxiliary] interrupts: maxItems: 1 @@ -172,6 +176,17 @@ required: - interrupts allOf: + - if: + properties: + compatible: + contains: + const: apple,t6000-display-dart + then: + properties: + reg: + minItems: 2 + required: + - reg-names - if: properties: reg: diff --git a/Documentation/devicetree/bindings/media/apple,prores.yaml b/Documentation/devicetree/bindings/media/apple,prores.yaml index 56a9edc89e13d..1b24523e3d004 100644 --- a/Documentation/devicetree/bindings/media/apple,prores.yaml +++ b/Documentation/devicetree/bindings/media/apple,prores.yaml @@ -20,6 +20,7 @@ properties: - const: apple,t8140-prores - items: - enum: + - apple,t6000-prores - apple,t6020-prores - apple,t6021-prores - apple,t6022-prores diff --git a/Documentation/devicetree/bindings/misc/apple,radio-pmu.yaml b/Documentation/devicetree/bindings/misc/apple,radio-pmu.yaml index 934fd143ec834..3fc72258f1d96 100644 --- a/Documentation/devicetree/bindings/misc/apple,radio-pmu.yaml +++ b/Documentation/devicetree/bindings/misc/apple,radio-pmu.yaml @@ -18,6 +18,8 @@ properties: items: - enum: - apple,t6041-radio-pmu + - apple,t6000-wifibt-pmu + - apple,t6000-uwb-pmu - const: apple,radio-pmu reg: diff --git a/Documentation/devicetree/bindings/misc/apple,sd-card-control.yaml b/Documentation/devicetree/bindings/misc/apple,sd-card-control.yaml index f0a707eb47474..114c1f5fdaf46 100644 --- a/Documentation/devicetree/bindings/misc/apple,sd-card-control.yaml +++ b/Documentation/devicetree/bindings/misc/apple,sd-card-control.yaml @@ -17,6 +17,7 @@ properties: compatible: items: - enum: + - apple,t6000-sd-card-control - apple,t6030-sd-card-control - apple,t6031-sd-card-control - apple,t6041-sd-card-control diff --git a/Documentation/devicetree/bindings/npu/apple,ane.yaml b/Documentation/devicetree/bindings/npu/apple,ane.yaml index 68215f2bf074b..6e50f9f11b233 100644 --- a/Documentation/devicetree/bindings/npu/apple,ane.yaml +++ b/Documentation/devicetree/bindings/npu/apple,ane.yaml @@ -23,15 +23,19 @@ description: properties: compatible: - enum: - - apple,t8103-ane - - apple,t6000-ane - - apple,t6020-ane - - apple,t6021-ane - - apple,t6022-ane - - apple,t6041-ane - - apple,t8112-ane - - apple,t8140-ane + oneOf: + - enum: + - apple,t8103-ane + - apple,t6000-ane + - apple,t6020-ane + - apple,t6021-ane + - apple,t6022-ane + - apple,t6041-ane + - apple,t8112-ane + - apple,t8140-ane + - items: + - const: apple,t6001-ane + - const: apple,ane reg: minItems: 1 @@ -45,6 +49,11 @@ properties: - description: Fourth auxiliary window - description: Fifth auxiliary window + clocks: + minItems: 4 + maxItems: 4 + description: Native secondary-engine clock selectors in hardware-description order. + reg-names: minItems: 1 maxItems: 7 @@ -313,8 +322,6 @@ allOf: properties: interrupts: maxItems: 1 - power-domains: - minItems: 5 reg: maxItems: 4 reg-names: @@ -396,6 +403,37 @@ allOf: required: - mboxes + - if: + properties: + compatible: + contains: + enum: + - apple,t8140-ane + - apple,t6041-ane + - apple,t6001-ane + else: + properties: + power-domains: + minItems: 5 + - if: + properties: + compatible: + contains: + const: apple,t6001-ane + then: + properties: + reg: + maxItems: 1 + reg-names: + maxItems: 1 + power-domains: + maxItems: 1 + required: + - clocks + else: + properties: + clocks: false + additionalProperties: false examples: diff --git a/Documentation/devicetree/bindings/phy/apple,ausb-phy.yaml b/Documentation/devicetree/bindings/phy/apple,ausb-phy.yaml new file mode 100644 index 0000000000000..3e260aa404dc2 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/apple,ausb-phy.yaml @@ -0,0 +1,42 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/apple,ausb-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Apple T6000 AUSB port PHY + +maintainers: + - Ryan Murray <81541646+RyanTheTide@users.noreply.github.com> + +description: | + An AUSB port PHY has its own register aperture and control gate. + Its shared USB3 PHY is described by the phys reference. + +properties: + compatible: + items: + - enum: + - apple,t6000-ausb-phy + - const: apple,ausb-phy + + reg: + maxItems: 1 + + power-domains: + maxItems: 1 + + phys: + maxItems: 1 + + '#phy-cells': + const: 0 + +required: + - compatible + - reg + - power-domains + - phys + - '#phy-cells' + +additionalProperties: false diff --git a/Documentation/devicetree/bindings/phy/apple,ausb-usb3-phy.yaml b/Documentation/devicetree/bindings/phy/apple,ausb-usb3-phy.yaml new file mode 100644 index 0000000000000..45524041b5f09 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/apple,ausb-usb3-phy.yaml @@ -0,0 +1,40 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/apple,ausb-usb3-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Apple T6000 shared AUSB USB3 PHY + +maintainers: + - Ryan Murray <81541646+RyanTheTide@users.noreply.github.com> + +description: | + The shared AUSB USB3 PHY exposes control and analogue apertures. + It supplies the two AUSB port PHYs and has separate USB and always-on gates. + +properties: + compatible: + items: + - enum: + - apple,t6000-ausb-usb3-phy + - const: apple,ausb-usb3-phy + + reg: + minItems: 21 + maxItems: 21 + + power-domains: + minItems: 2 + maxItems: 2 + + '#phy-cells': + const: 0 + +required: + - compatible + - reg + - power-domains + - '#phy-cells' + +additionalProperties: false diff --git a/Documentation/devicetree/bindings/spmi/apple,viper-spmi.yaml b/Documentation/devicetree/bindings/spmi/apple,viper-spmi.yaml new file mode 100644 index 0000000000000..cee7e76833d47 --- /dev/null +++ b/Documentation/devicetree/bindings/spmi/apple,viper-spmi.yaml @@ -0,0 +1,30 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/spmi/apple,viper-spmi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Apple Viper SPMI endpoint + +maintainers: + - Ryan Murray <81541646+RyanTheTide@users.noreply.github.com> + +description: | + A Viper endpoint on an auxiliary SPMI bus. Its register protocol and + firmware ownership are separate from those of the primary PMIC. + +properties: + compatible: + oneOf: + - items: + - const: apple,t6000-viper-spmi + - const: apple,viper-spmi + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false diff --git a/Documentation/devicetree/bindings/usb/apple,ausb-drd.yaml b/Documentation/devicetree/bindings/usb/apple,ausb-drd.yaml new file mode 100644 index 0000000000000..3c627b6383793 --- /dev/null +++ b/Documentation/devicetree/bindings/usb/apple,ausb-drd.yaml @@ -0,0 +1,49 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/apple,ausb-drd.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Apple T6000 AUSB dual-role controller + +maintainers: + - Ryan Murray <81541646+RyanTheTide@users.noreply.github.com> + +description: | + The AUSB controller has four register apertures and four interrupt + sources. Both DMA translation banks use stream 3. Its PHY is separate. + +properties: + compatible: + items: + - enum: + - apple,t6000-ausb-drd + - const: apple,ausb-drd + + reg: + minItems: 4 + maxItems: 4 + + interrupts: + minItems: 4 + maxItems: 4 + + power-domains: + maxItems: 1 + + phys: + maxItems: 1 + + iommus: + minItems: 2 + maxItems: 2 + +required: + - compatible + - reg + - interrupts + - power-domains + - phys + - iommus + +additionalProperties: false diff --git a/arch/arm64/boot/dts/apple/t6000-aux-spmi.dtsi b/arch/arm64/boot/dts/apple/t6000-aux-spmi.dtsi new file mode 100644 index 0000000000000..9f2393caecb77 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6000-aux-spmi.dtsi @@ -0,0 +1,144 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Disabled auxiliary SPMI resources; primary polled PMIC access is retained. */ + +&{/soc} { + primary_spmi_monitor: spmi-monitor@2920a0e00 { + compatible = "apple,t6000-spmi-monitor", "apple,spmi-monitor"; + reg = <0x2 0x920a0e00 0x0 0x100>, + <0x2 0x920a0400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + apple,controller = <&nub_spmi0>; + interrupt-controller; + #interrupt-cells = <2>; + #address-cells = <0>; + status = "disabled"; + }; +}; + +&pmic1 { + battery_monitor: battery-monitor { + compatible = "apple,t6000-battery-monitor", "apple,battery-monitor"; + interrupt-parent = <&primary_spmi_monitor>; + interrupts = <62 IRQ_TYPE_NONE>; + status = "disabled"; + }; +}; + +&nub_spmi1 { + reg = <0x2 0x920a9300 0x0 0x100>, + <0x2 0x920a8e00 0x0 0x100>, + <0x2 0x920a8400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + pmic@e { + compatible = "apple,maverick-pmic", "apple,spmi-nvmem"; + reg = <0xe SPMI_USID>; + read-only; + status = "disabled"; + }; + spmi-device@d { + compatible = "apple,t6000-viper-spmi", "apple,viper-spmi"; + reg = <0xd SPMI_USID>; + status = "disabled"; + }; +}; + +&clvr_spmi0 { + reg = <0x2 0x8e501100 0x0 0x100>, + <0x2 0x8e500e00 0x0 0x100>, + <0x2 0x8e500400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + pmic@f { + compatible = "apple,monaco-pmic", "apple,spmi-nvmem"; + reg = <0xf SPMI_USID>; + read-only; + status = "disabled"; + }; +}; + +&clvr_spmi1 { + reg = <0x2 0x8e509100 0x0 0x100>, + <0x2 0x8e508e00 0x0 0x100>, + <0x2 0x8e508400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + pmic@f { + compatible = "apple,monaco-pmic", "apple,spmi-nvmem"; + reg = <0xf SPMI_USID>; + read-only; + status = "disabled"; + }; +}; + +&clvr_spmi2 { + reg = <0x2 0x8e511100 0x0 0x100>, + <0x2 0x8e510e00 0x0 0x100>, + <0x2 0x8e510400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + pmic@f { + compatible = "apple,monaco-pmic", "apple,spmi-nvmem"; + reg = <0xf SPMI_USID>; + read-only; + status = "disabled"; + }; +}; + +&aop_spmi0 { + reg = <0x2 0x93829300 0x0 0x100>, + <0x2 0x93828e00 0x0 0x100>, + <0x2 0x93828400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + spmi-device@e { + compatible = "apple,t6000-wifibt-pmu", "apple,radio-pmu"; + reg = <0xe SPMI_USID>; + status = "disabled"; + }; + spmi-device@f { + compatible = "apple,t6000-uwb-pmu", "apple,radio-pmu"; + reg = <0xf SPMI_USID>; + status = "disabled"; + }; +}; + +&aop_spmi1 { + reg = <0x2 0x9382d300 0x0 0x100>, + <0x2 0x9382ce00 0x0 0x100>, + <0x2 0x9382c400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + stockholm: nfc@c { + compatible = "apple,t6000-stockholm-spmi", "apple,stockholm-spmi"; + reg = <0xc SPMI_USID>; + interrupt-parent = <&aop_spmi1>; + interrupts = <160 IRQ_TYPE_NONE>, + <161 IRQ_TYPE_NONE>, + <162 IRQ_TYPE_NONE>, + <163 IRQ_TYPE_NONE>, + <164 IRQ_TYPE_NONE>, + <165 IRQ_TYPE_NONE>, + <166 IRQ_TYPE_NONE>; + status = "disabled"; + }; +}; + + +&pmic1 { + interrupt-parent = <&primary_spmi_monitor>; + interrupts = <2 IRQ_TYPE_NONE>; +}; diff --git a/arch/arm64/boot/dts/apple/t6000-peripherals.dtsi b/arch/arm64/boot/dts/apple/t6000-peripherals.dtsi new file mode 100644 index 0000000000000..e935a6b239be4 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6000-peripherals.dtsi @@ -0,0 +1,475 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Disabled resource descriptions for T6000. */ + +&{/soc} { + ane0_dma: dma-controller@285804000 { + compatible = "apple,t6000-ane-dma", "apple,ane-dma"; + reg = <0x2 0x85804000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_ane_sys>; + status = "disabled"; + }; + + aic_timebase: timer@28e148000 { + compatible = "apple,t6000-aic-timebase", "apple,aic-timebase"; + reg = <0x2 0x8e148000 0x0 0x1000>; + status = "disabled"; + }; + + dwi: bus-controller@28e208000 { + compatible = "apple,t6000-dwi", "apple,dwi"; + reg = <0x2 0x8e208000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_dwi>; + status = "disabled"; + }; + + dockchannel_uart: fifo@29250c000 { + compatible = "apple,t6000-dockchannel", "apple,dockchannel"; + reg = <0x2 0x9250c000 0x0 0x18>; + interrupt-parent = <&aic>; + interrupts = ; + reg-names = "irq"; + ranges = <0 0x2 0x92528000 0x10004>; + #address-cells = <1>; + #size-cells = <1>; + interrupt-controller; + #interrupt-cells = <2>; + status = "disabled"; + }; + + apr0: video-codec@311000000 { + compatible = "apple,t6000-prores", "apple,prores"; + reg = <0x3 0x11000000 0x0 0x4000>, + <0x3 0x10000000 0x0 0x1000000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_scodec>; + iommus = <&apr0_dart 0>; + reg-names = "core", "wrapper"; + status = "disabled"; + }; + + apr0_dart: iommu@311008000 { + compatible = "apple,t8110-dart"; + reg = <0x3 0x11008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_scodec>; + #iommu-cells = <1>; + status = "disabled"; + }; + + aes: crypto@39b060000 { + compatible = "apple,t6000-aes", "apple,aes"; + reg = <0x3 0x9b060000 0x0 0x4000>, + <0x2 0x922d0000 0x0 0x8000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_aes>; + iommus = <&sio_dart_0 1>, <&sio_dart_1 1>; + status = "disabled"; + }; + + jpeg0: jpeg@409000000 { + compatible = "apple,t6000-jpeg", "apple,jpeg"; + reg = <0x4 0x09000000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg>; + clocks = <&peripheral_clocks 354>, <&peripheral_clocks 355>; + iommus = <&jpeg0_dart 0>; + status = "disabled"; + }; + + jpeg0_dart: iommu@409004000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x4 0x09004000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg>; + #iommu-cells = <1>; + status = "disabled"; + }; + + jpeg1: jpeg@409008000 { + compatible = "apple,t6000-jpeg", "apple,jpeg"; + reg = <0x4 0x09008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg>; + clocks = <&peripheral_clocks 354>, <&peripheral_clocks 355>; + iommus = <&jpeg1_dart 0>; + status = "disabled"; + }; + + jpeg1_dart: iommu@40900c000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x4 0x0900c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg>; + #iommu-cells = <1>; + status = "disabled"; + }; + + scaler0: scaler@40b000000 { + compatible = "apple,t6000-scaler", "apple,scaler"; + reg = <0x4 0x0b000000 0x0 0x28000>, + <0x4 0x0b210000 0x0 0x4000>, + <0x4 0x0b204000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + ; + power-domains = <&ps_msr0>, <&ps_msr0_ase_core>; + clocks = <&peripheral_clocks 356>; + iommus = <&scaler0_dart 0>, <&scaler0_dart 1>; + resets = <&ps_msr0>; + status = "disabled"; + }; + + scaler0_dart: iommu@40b200000 { + compatible = "apple,t8110-dart"; + reg = <0x4 0x0b200000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_msr0>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ave0_dma: dma-controller@40d020000 { + compatible = "apple,t6000-ave-dma", "apple,ave-dma"; + reg = <0x4 0x0d020000 0x0 0x4000>, + <0x4 0x0d044000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc_sys>; + status = "disabled"; + }; + + atc0_dpin0: displayport@701e50000 { + compatible = "apple,t6000-dpin", "apple,dpin"; + reg = <0x7 0x01e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + atc0_dpin1: displayport@701e58000 { + compatible = "apple,t6000-dpin", "apple,dpin"; + reg = <0x7 0x01e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + apciec0_piodma: dma-controller@722000000 { + compatible = "apple,t6000-pciec-piodma", "apple,pciec-piodma"; + reg = <0x7 0x22000000 0x0 0x4000>, + <0x7 0x22004000 0x0 0x4000>, + <0x7 0x22008000 0x0 0x4000>, + <0x7 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&apciec0_dart 15>; + status = "disabled"; + }; + + atc1_dpin0: displayport@b01e50000 { + compatible = "apple,t6000-dpin", "apple,dpin"; + reg = <0xb 0x01e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + atc1_dpin1: displayport@b01e58000 { + compatible = "apple,t6000-dpin", "apple,dpin"; + reg = <0xb 0x01e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + apciec1_piodma: dma-controller@b22000000 { + compatible = "apple,t6000-pciec-piodma", "apple,pciec-piodma"; + reg = <0xb 0x22000000 0x0 0x4000>, + <0xb 0x22004000 0x0 0x4000>, + <0xb 0x22008000 0x0 0x4000>, + <0xb 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&apciec1_dart 15>; + status = "disabled"; + }; + + atc2_dpin0: displayport@f01e50000 { + compatible = "apple,t6000-dpin", "apple,dpin"; + reg = <0xf 0x01e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + atc2_dpin1: displayport@f01e58000 { + compatible = "apple,t6000-dpin", "apple,dpin"; + reg = <0xf 0x01e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + apciec2_piodma: dma-controller@f22000000 { + compatible = "apple,t6000-pciec-piodma", "apple,pciec-piodma"; + reg = <0xf 0x22000000 0x0 0x4000>, + <0xf 0x22004000 0x0 0x4000>, + <0xf 0x22008000 0x0 0x4000>, + <0xf 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&apciec2_dart 15>; + status = "disabled"; + }; +}; + +&{/soc} { + + mcc: memory-controller@200000000 { + compatible = "apple,t6000-mcc", "apple,mcc"; + reg = <0x2 0x00000000 0x0 0x1000000>, + <0x2 0x01000000 0x0 0x1000000>, + <0x2 0x02000000 0x0 0x1000000>, + <0x2 0x03000000 0x0 0x1000000>; + status = "disabled"; + }; + + soc_events: event-log@28e080000 { + compatible = "apple,t6000-event-log", "apple,soc-event-log"; + reg = <0x2 0x8e080000 0x0 0x80000>, + <0x2 0x8e580000 0x0 0x80000>, + <0x2 0x8e680000 0x0 0x74000>, + <0x2 0x8e45c000 0x0 0x4000>, + <0x2 0x8e460000 0x0 0x4000>, + <0x2 0x8e464000 0x0 0x4000>, + <0x2 0x8e468000 0x0 0x4000>, + <0x2 0x8e46c000 0x0 0x4000>, + <0x2 0x8e458000 0x0 0x4000>, + <0x2 0x8e428000 0x0 0x8000>, + <0x2 0x8e430000 0x0 0x8000>, + <0x2 0x8e418000 0x0 0x8000>, + <0x2 0x8e410000 0x0 0x8000>, + <0x2 0x8e420000 0x0 0x8000>, + <0x2 0x8e400000 0x0 0x8000>, + <0x2 0x8e408000 0x0 0x8000>, + <0x2 0x8e438000 0x0 0x8000>, + <0x2 0x8e440000 0x0 0x8000>, + <0x2 0x92200000 0x0 0x80000>, + <0x2 0x8e000000 0x0 0x80000>, + <0x2 0x8e600000 0x0 0x4c000>, + <0x2 0x92280000 0x0 0x74000>, + <0x2 0x85838000 0x0 0x8000>, + <0x5 0x09838000 0x0 0x8000>, + <0x2 0x85868000 0x0 0x4000>, + <0x5 0x09868000 0x0 0x4000>, + <0x4 0x04e20000 0x0 0x4000>, + <0x4 0x04e20000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + status = "disabled"; + }; + + soc_errors: error-handler@395440000 { + compatible = "apple,t6000-error-handler", "apple,soc-error-handler"; + reg = <0x3 0x95440000 0x0 0x40000>, + <0x2 0x8e000000 0x0 0x80000>, + <0x2 0x8e080000 0x0 0x80000>, + <0x2 0x00000000 0x0 0x1000000>, + <0x2 0x01000000 0x0 0x1000000>, + <0x2 0x02000000 0x0 0x1000000>, + <0x2 0x03000000 0x0 0x1000000>, + <0x2 0x82000000 0x0 0x4000>, + <0x3 0x04000000 0x0 0x4000>, + <0x3 0x83000000 0x0 0x4000>, + <0x4 0x02000000 0x0 0x4000>, + <0x2 0x58d00000 0x0 0x20000>, + <0x2 0x59100000 0x0 0x20000>, + <0x2 0x5ad00000 0x0 0x20000>, + <0x2 0x5b100000 0x0 0x20000>, + <0x2 0x59500000 0x0 0x20000>, + <0x2 0x5b500000 0x0 0x20000>, + <0x2 0x5b900000 0x0 0x20000>, + <0x2 0x4fa00000 0x0 0x20000>, + <0x2 0x50a00000 0x0 0x20000>, + <0x2 0x50e00000 0x0 0x20000>, + <0x2 0x4fa80000 0x0 0x20000>, + <0x2 0x50a80000 0x0 0x20000>, + <0x2 0x64300000 0x0 0x20000>, + <0x2 0x65300000 0x0 0x20000>, + <0x2 0x64700000 0x0 0x20000>, + <0x2 0x66300000 0x0 0x20000>, + <0x2 0x65700000 0x0 0x20000>, + <0x2 0x67300000 0x0 0x20000>, + <0x2 0x64b00000 0x0 0x20000>, + <0x2 0x66700000 0x0 0x20000>, + <0x2 0x65b00000 0x0 0x20000>, + <0x2 0x67700000 0x0 0x20000>, + <0x2 0x58900000 0x0 0x20000>, + <0x2 0x5a900000 0x0 0x20000>, + <0x2 0x5c000000 0x0 0x20000>, + <0x2 0x5d000000 0x0 0x20000>, + <0x2 0x4f600000 0x0 0x20000>, + <0x2 0x50600000 0x0 0x20000>, + <0x2 0x52000000 0x0 0x20000>, + <0x2 0x53000000 0x0 0x20000>, + <0x2 0x4f032000 0x0 0x1000>, + <0x2 0x4f332000 0x0 0x1000>, + <0x2 0x50032000 0x0 0x1000>, + <0x2 0x50332000 0x0 0x1000>, + <0x2 0x58032000 0x0 0x1000>, + <0x2 0x58332000 0x0 0x1000>, + <0x2 0x58632000 0x0 0x1000>, + <0x2 0x5a032000 0x0 0x1000>, + <0x2 0x5a332000 0x0 0x1000>, + <0x2 0x5a632000 0x0 0x1000>, + <0x2 0x64032000 0x0 0x1000>, + <0x2 0x66032000 0x0 0x1000>, + <0x2 0x65032000 0x0 0x1000>, + <0x2 0x67032000 0x0 0x1000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + status = "disabled"; + }; + + pwm1: timer-pwm@39b030000 { + compatible = "apple,t6000-pwm", "apple,pwm"; + reg = <0x3 0x9b030000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_fpwm1>; + status = "disabled"; + }; +}; + +&ave { + reg = <0x4 0x0d100000 0x0 0x45c000>, + <0x4 0x0d050000 0x0 0x8000>, + <0x4 0x0d800000 0x0 0x800000>, + <0x2 0x8e588000 0x0 0x24>, + <0x4 0x0c000000 0x0 0x1000000>; + reg-names = "codec", "mailbox", "coproc", "pmgr", "pio"; + clocks = <&peripheral_clocks 350>; +}; + +/ { + peripheral_clocks: clock-controller { + compatible = "apple,t6000-pmgr-clocks", "apple,pmgr-clocks"; + #clock-cells = <1>; + apple,pmgr = <&pmgr>; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t6000.dtsi b/arch/arm64/boot/dts/apple/t6000.dtsi index 75b3fcf23b573..f4551b00b25cb 100644 --- a/arch/arm64/boot/dts/apple/t6000.dtsi +++ b/arch/arm64/boot/dts/apple/t6000.dtsi @@ -10,7 +10,7 @@ /* This chip is just a cut down version of t6001, so include it and disable the missing parts */ #define GPU_REPEAT(x) - +#define APPLE_T6000_SUBSET #include "t6001.dtsi" / { @@ -90,3 +90,6 @@ power-domains = <&ps_ane_sys_cpu>, <&ps_ane_set1>, <&ps_ane_set2>, <&ps_ane_set3>, <&ps_ane_set4>, <&ps_pms_sram>; }; + +#include "t6000-peripherals.dtsi" +#include "t6000-aux-spmi.dtsi" diff --git a/arch/arm64/boot/dts/apple/t6001-aux-spmi.dtsi b/arch/arm64/boot/dts/apple/t6001-aux-spmi.dtsi new file mode 100644 index 0000000000000..a7b887e9a3f7d --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6001-aux-spmi.dtsi @@ -0,0 +1,182 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Disabled auxiliary SPMI resources; primary polled PMIC access is retained. */ + +&{/soc} { + primary_spmi_monitor: spmi-monitor@2920a0e00 { + compatible = "apple,t6000-spmi-monitor", "apple,spmi-monitor"; + reg = <0x2 0x920a0e00 0x0 0x100>, + <0x2 0x920a0400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + apple,controller = <&nub_spmi0>; + interrupt-controller; + #interrupt-cells = <2>; + #address-cells = <0>; + status = "disabled"; + }; + + clvr_spmi3: spmi@28e519100 { + compatible = "apple,t6000-spmi", "apple,spmi"; + reg = <0x2 0x8e519100 0x0 0x100>, + <0x2 0x8e518e00 0x0 0x100>, + <0x2 0x8e518400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + #address-cells = <2>; + #size-cells = <0>; + status = "disabled"; + pmic@f { + compatible = "apple,monaco-pmic", "apple,spmi-nvmem"; + reg = <0xf SPMI_USID>; + status = "disabled"; + }; + }; + + clvr_spmi4: spmi@28e521100 { + compatible = "apple,t6000-spmi", "apple,spmi"; + reg = <0x2 0x8e521100 0x0 0x100>, + <0x2 0x8e520e00 0x0 0x100>, + <0x2 0x8e520400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + #address-cells = <2>; + #size-cells = <0>; + status = "disabled"; + pmic@f { + compatible = "apple,monaco-pmic", "apple,spmi-nvmem"; + reg = <0xf SPMI_USID>; + status = "disabled"; + }; + }; +}; + +&pmic1 { + battery_monitor: battery-monitor { + compatible = "apple,t6000-battery-monitor", "apple,battery-monitor"; + interrupt-parent = <&primary_spmi_monitor>; + interrupts = <62 IRQ_TYPE_NONE>; + status = "disabled"; + }; +}; + +&nub_spmi1 { + reg = <0x2 0x920a9300 0x0 0x100>, + <0x2 0x920a8e00 0x0 0x100>, + <0x2 0x920a8400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + pmic@e { + compatible = "apple,maverick-pmic", "apple,spmi-nvmem"; + reg = <0xe SPMI_USID>; + read-only; + status = "disabled"; + }; + spmi-device@d { + compatible = "apple,t6000-viper-spmi", "apple,viper-spmi"; + reg = <0xd SPMI_USID>; + status = "disabled"; + }; +}; + +&clvr_spmi0 { + reg = <0x2 0x8e501100 0x0 0x100>, + <0x2 0x8e500e00 0x0 0x100>, + <0x2 0x8e500400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + pmic@f { + compatible = "apple,monaco-pmic", "apple,spmi-nvmem"; + reg = <0xf SPMI_USID>; + read-only; + status = "disabled"; + }; +}; + +&clvr_spmi1 { + reg = <0x2 0x8e509100 0x0 0x100>, + <0x2 0x8e508e00 0x0 0x100>, + <0x2 0x8e508400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + pmic@f { + compatible = "apple,monaco-pmic", "apple,spmi-nvmem"; + reg = <0xf SPMI_USID>; + read-only; + status = "disabled"; + }; +}; + +&clvr_spmi2 { + reg = <0x2 0x8e511100 0x0 0x100>, + <0x2 0x8e510e00 0x0 0x100>, + <0x2 0x8e510400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + pmic@f { + compatible = "apple,monaco-pmic", "apple,spmi-nvmem"; + reg = <0xf SPMI_USID>; + read-only; + status = "disabled"; + }; +}; + +&aop_spmi0 { + reg = <0x2 0x93829300 0x0 0x100>, + <0x2 0x93828e00 0x0 0x100>, + <0x2 0x93828400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + spmi-device@e { + compatible = "apple,t6000-wifibt-pmu", "apple,radio-pmu"; + reg = <0xe SPMI_USID>; + status = "disabled"; + }; + spmi-device@f { + compatible = "apple,t6000-uwb-pmu", "apple,radio-pmu"; + reg = <0xf SPMI_USID>; + status = "disabled"; + }; +}; + +&aop_spmi1 { + reg = <0x2 0x9382d300 0x0 0x100>, + <0x2 0x9382ce00 0x0 0x100>, + <0x2 0x9382c400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + stockholm: nfc@c { + compatible = "apple,t6000-stockholm-spmi", "apple,stockholm-spmi"; + reg = <0xc SPMI_USID>; + interrupt-parent = <&aop_spmi1>; + interrupts = <160 IRQ_TYPE_NONE>, + <161 IRQ_TYPE_NONE>, + <162 IRQ_TYPE_NONE>, + <163 IRQ_TYPE_NONE>, + <164 IRQ_TYPE_NONE>, + <165 IRQ_TYPE_NONE>, + <166 IRQ_TYPE_NONE>; + status = "disabled"; + }; +}; + + +&pmic1 { + interrupt-parent = <&primary_spmi_monitor>; + interrupts = <2 IRQ_TYPE_NONE>; +}; diff --git a/arch/arm64/boot/dts/apple/t6001-display-extra.dtsi b/arch/arm64/boot/dts/apple/t6001-display-extra.dtsi new file mode 100644 index 0000000000000..d06ac3ac4c18d --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6001-display-extra.dtsi @@ -0,0 +1,132 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Additional display engines; firmware and route ownership are unqualified. */ + +&{/soc} { + dispext2_dart: iommu@48b304000 { + compatible = "apple,t6000-display-dart", "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x4 0x8b304000 0x0 0x4000>, + <0x4 0x8b300000 0x0 0x4000>; + reg-names = "dart", "auxiliary"; + #iommu-cells = <5>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_dispext2_cpu0>; + status = "disabled"; + }; + + dcpext2_dart: iommu@48b30c000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x4 0x8b30c000 0x0 0x4000>; + #iommu-cells = <5>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_dispext2_cpu0>; + status = "disabled"; + }; + + dcpext2_mbox: mailbox@48bc08000 { + compatible = "apple,t6000-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x4 0x8bc08000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + ; + interrupt-names = "send-empty", "send-not-empty", + "recv-empty", "recv-not-empty"; + #mbox-cells = <0>; + power-domains = <&ps_dispext2_cpu0>; + resets = <&ps_dispext2_cpu0>; + status = "disabled"; + }; + + dcpext2: dcp@48bc00000 { + compatible = "apple,t6000-dcpext", "apple,dcpext"; + reg = <0x4 0x8bc00000 0x0 0x4000>, + <0x4 0x8a000000 0x0 0x3000000>, + <0x4 0x8b320000 0x0 0x4000>, + <0x4 0x8b344000 0x0 0x4000>, + <0x4 0x8b800000 0x0 0x800000>, + <0x2 0x8e3d0000 0x0 0x4000>, + <0x4 0x8b850000 0x0 0x4000>; + reg-names = "coproc", "disp-0", "disp-1", "disp-2", + "disp-3", "disp-4", "coproc-aux"; + mboxes = <&dcpext2_mbox>; + mbox-names = "mbox"; + iommus = <&dcpext2_dart 0 0x0 0x0 0x0 0xfc000000>; + power-domains = <&ps_dispext2_cpu0>; + resets = <&ps_dispext2_cpu0>; + apple,dcp-index = <3>; + phandle = <&dcpext2>; + status = "disabled"; + + piodma { + iommus = <&dispext2_dart 4 0x0 0x0 0x0 0xfc000000>; + status = "disabled"; + }; + }; + + dispext3_dart: iommu@48e304000 { + compatible = "apple,t6000-display-dart", "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x4 0x8e304000 0x0 0x4000>, + <0x4 0x8e300000 0x0 0x4000>; + reg-names = "dart", "auxiliary"; + #iommu-cells = <5>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_dispext3_cpu0>; + status = "disabled"; + }; + + dcpext3_dart: iommu@48e30c000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x4 0x8e30c000 0x0 0x4000>; + #iommu-cells = <5>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_dispext3_cpu0>; + status = "disabled"; + }; + + dcpext3_mbox: mailbox@48ec08000 { + compatible = "apple,t6000-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x4 0x8ec08000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + ; + interrupt-names = "send-empty", "send-not-empty", + "recv-empty", "recv-not-empty"; + #mbox-cells = <0>; + power-domains = <&ps_dispext3_cpu0>; + resets = <&ps_dispext3_cpu0>; + status = "disabled"; + }; + + dcpext3: dcp@48ec00000 { + compatible = "apple,t6000-dcpext", "apple,dcpext"; + reg = <0x4 0x8ec00000 0x0 0x4000>, + <0x4 0x8d000000 0x0 0x3000000>, + <0x4 0x8e320000 0x0 0x4000>, + <0x4 0x8e344000 0x0 0x4000>, + <0x4 0x8e800000 0x0 0x800000>, + <0x2 0x8e3d0000 0x0 0x4000>, + <0x4 0x8e850000 0x0 0x4000>; + reg-names = "coproc", "disp-0", "disp-1", "disp-2", + "disp-3", "disp-4", "coproc-aux"; + mboxes = <&dcpext3_mbox>; + mbox-names = "mbox"; + iommus = <&dcpext3_dart 0 0x0 0x0 0x0 0xfc000000>; + power-domains = <&ps_dispext3_cpu0>; + resets = <&ps_dispext3_cpu0>; + apple,dcp-index = <4>; + phandle = <&dcpext3>; + status = "disabled"; + + piodma { + iommus = <&dispext3_dart 4 0x0 0x0 0x0 0xfc000000>; + status = "disabled"; + }; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t6001-j375c-control.dtsi b/arch/arm64/boot/dts/apple/t6001-j375c-control.dtsi new file mode 100644 index 0000000000000..5914e67ea7245 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6001-j375c-control.dtsi @@ -0,0 +1,26 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Populated board control clients. Transport ownership is not transferred. */ + +&i2c4 { + sd_card_control: sd-card-control@20 { + compatible = "apple,t6000-sd-card-control", "apple,sd-card-control"; + reg = <0x20>; + status = "disabled"; + }; +}; + +&i2c5 { + ethernet_sideband: ethernet-sideband@32 { + compatible = "apple,t6000-aqc107-i2c", "apple,aqc107-i2c"; + reg = <0x32>; + status = "disabled"; + }; +}; + +&spi2 { + usb3hub_flash: flash@0 { + compatible = "jedec,spi-nor"; + reg = <0>; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t6001-j375c-peripherals.dtsi b/arch/arm64/boot/dts/apple/t6001-j375c-peripherals.dtsi new file mode 100644 index 0000000000000..9cce8435e76cd --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6001-j375c-peripherals.dtsi @@ -0,0 +1,32 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Disabled resource descriptions for T6001. */ + +&{/soc} { + atc3_dpin0: displayport@1301e50000 { + compatible = "apple,t6000-dpin", "apple,dpin"; + reg = <0x13 0x01e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + atc3_dpin1: displayport@1301e58000 { + compatible = "apple,t6000-dpin", "apple,dpin"; + reg = <0x13 0x01e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + apciec3_piodma: dma-controller@1322000000 { + compatible = "apple,t6000-pciec-piodma", "apple,pciec-piodma"; + reg = <0x13 0x22000000 0x0 0x4000>, + <0x13 0x22004000 0x0 0x4000>, + <0x13 0x22008000 0x0 0x4000>, + <0x13 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&apciec3_dart 15>; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t6001-j375c.dts b/arch/arm64/boot/dts/apple/t6001-j375c.dts index f3f98f0380090..35cd50028b75b 100644 --- a/arch/arm64/boot/dts/apple/t6001-j375c.dts +++ b/arch/arm64/boot/dts/apple/t6001-j375c.dts @@ -60,3 +60,7 @@ }; #include "hwmon-fan-dual.dtsi" + +#include "t6001-j375c-peripherals.dtsi" + +#include "t6001-j375c-control.dtsi" diff --git a/arch/arm64/boot/dts/apple/t6001-peripherals.dtsi b/arch/arm64/boot/dts/apple/t6001-peripherals.dtsi new file mode 100644 index 0000000000000..51b94d55a5a9b --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6001-peripherals.dtsi @@ -0,0 +1,715 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Disabled resource descriptions for T6001. */ + +&{/soc} { + ane0_dma: dma-controller@285804000 { + compatible = "apple,t6000-ane-dma", "apple,ane-dma"; + reg = <0x2 0x85804000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_ane_sys>; + status = "disabled"; + }; + + aic_timebase: timer@28e148000 { + compatible = "apple,t6000-aic-timebase", "apple,aic-timebase"; + reg = <0x2 0x8e148000 0x0 0x1000>; + status = "disabled"; + }; + + dwi: bus-controller@28e208000 { + compatible = "apple,t6000-dwi", "apple,dwi"; + reg = <0x2 0x8e208000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_dwi>; + status = "disabled"; + }; + + dockchannel_uart: fifo@29250c000 { + compatible = "apple,t6000-dockchannel", "apple,dockchannel"; + reg = <0x2 0x9250c000 0x0 0x18>; + interrupt-parent = <&aic>; + interrupts = ; + reg-names = "irq"; + ranges = <0 0x2 0x92528000 0x10004>; + #address-cells = <1>; + #size-cells = <1>; + interrupt-controller; + #interrupt-cells = <2>; + status = "disabled"; + }; + + apr0: video-codec@311000000 { + compatible = "apple,t6000-prores", "apple,prores"; + reg = <0x3 0x11000000 0x0 0x4000>, + <0x3 0x10000000 0x0 0x1000000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_scodec>; + iommus = <&apr0_dart 0>; + reg-names = "core", "wrapper"; + status = "disabled"; + }; + + apr0_dart: iommu@311008000 { + compatible = "apple,t8110-dart"; + reg = <0x3 0x11008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_scodec>; + #iommu-cells = <1>; + status = "disabled"; + }; + + aes: crypto@39b060000 { + compatible = "apple,t6000-aes", "apple,aes"; + reg = <0x3 0x9b060000 0x0 0x4000>, + <0x2 0x922d0000 0x0 0x8000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_aes>; + iommus = <&sio_dart_0 1>, <&sio_dart_1 1>; + status = "disabled"; + }; + + jpeg0: jpeg@409000000 { + compatible = "apple,t6000-jpeg", "apple,jpeg"; + reg = <0x4 0x09000000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg>; + clocks = <&peripheral_clocks 354>, <&peripheral_clocks 355>; + iommus = <&jpeg0_dart 0>; + status = "disabled"; + }; + + jpeg0_dart: iommu@409004000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x4 0x09004000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg>; + #iommu-cells = <1>; + status = "disabled"; + }; + + jpeg1: jpeg@409008000 { + compatible = "apple,t6000-jpeg", "apple,jpeg"; + reg = <0x4 0x09008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg>; + clocks = <&peripheral_clocks 354>, <&peripheral_clocks 355>; + iommus = <&jpeg1_dart 0>; + status = "disabled"; + }; + + jpeg1_dart: iommu@40900c000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x4 0x0900c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg>; + #iommu-cells = <1>; + status = "disabled"; + }; + + scaler0: scaler@40b000000 { + compatible = "apple,t6000-scaler", "apple,scaler"; + reg = <0x4 0x0b000000 0x0 0x28000>, + <0x4 0x0b210000 0x0 0x4000>, + <0x4 0x0b204000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + ; + power-domains = <&ps_msr0>, <&ps_msr0_ase_core>; + clocks = <&peripheral_clocks 356>; + iommus = <&scaler0_dart 0>, <&scaler0_dart 1>; + resets = <&ps_msr0>; + status = "disabled"; + }; + + scaler0_dart: iommu@40b200000 { + compatible = "apple,t8110-dart"; + reg = <0x4 0x0b200000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_msr0>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ave0_dma: dma-controller@40d020000 { + compatible = "apple,t6000-ave-dma", "apple,ave-dma"; + reg = <0x4 0x0d020000 0x0 0x4000>, + <0x4 0x0d044000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc_sys>; + status = "disabled"; + }; + + apr1: video-codec@489000000 { + compatible = "apple,t6000-prores", "apple,prores"; + reg = <0x4 0x89000000 0x0 0x4000>, + <0x4 0x88000000 0x0 0x1000000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_prores>; + iommus = <&apr1_dart 0>; + reg-names = "core", "wrapper"; + status = "disabled"; + }; + + apr1_dart: iommu@489008000 { + compatible = "apple,t8110-dart"; + reg = <0x4 0x89008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_prores>; + #iommu-cells = <1>; + status = "disabled"; + }; + + scaler1: scaler@505000000 { + compatible = "apple,t6000-scaler", "apple,scaler"; + reg = <0x5 0x05000000 0x0 0x28000>, + <0x5 0x05210000 0x0 0x4000>, + <0x5 0x05204000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + ; + power-domains = <&ps_msr1>, <&ps_msr1_ase_core>; + clocks = <&peripheral_clocks 356>; + iommus = <&scaler1_dart 0>, <&scaler1_dart 1>; + resets = <&ps_msr1>; + status = "disabled"; + }; + + scaler1_dart: iommu@505200000 { + compatible = "apple,t8110-dart"; + reg = <0x5 0x05200000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_msr1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ave1_dma: dma-controller@507020000 { + compatible = "apple,t6000-ave-dma", "apple,ave-dma"; + reg = <0x5 0x07020000 0x0 0x4000>, + <0x5 0x07044000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc1_sys>; + status = "disabled"; + }; + + ave1_dart1: iommu@507030000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x5 0x07030000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc1_sys>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ave1_dart0: iommu@507040000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x5 0x07040000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc1_sys>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ave1: video-codec@507100000 { + compatible = "apple,t6000-ave"; + reg = <0x5 0x07100000 0x0 0x45c000>, + <0x5 0x07050000 0x0 0x8000>, + <0x5 0x07800000 0x0 0x800000>, + <0x2 0x8e680260 0x0 0x7dc4>, + <0x5 0x06000000 0x0 0x1000000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + ; + power-domains = <&ps_venc1_dma>, <&ps_venc1_pipe4>, <&ps_venc1_pipe5>, <&ps_venc1_me0>, <&ps_venc1_me1>; + clocks = <&peripheral_clocks 454>; + iommus = <&ave1_dart0 0>, <&ave1_dart1 0>; + reg-names = "codec", "mailbox", "coproc", "pmgr", "pio"; + power-domain-names = "dma", "pipe4", "pipe5", "me0", "me1"; + status = "disabled"; + }; + + ane1_dart0: iommu@509800000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x5 0x09800000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_ane1_sys>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ane1_dma: dma-controller@509804000 { + compatible = "apple,t6000-ane-dma", "apple,ane-dma"; + reg = <0x5 0x09804000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_ane1_sys>; + status = "disabled"; + }; + + ane1_dart1: iommu@509810000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x5 0x09810000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_ane1_sys>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ane1_dart2: iommu@509820000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x5 0x09820000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_ane1_sys>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ane1: ane@509c04000 { + compatible = "apple,t6001-ane", "apple,ane"; + reg = <0x5 0x09c04000 0x0 0x24000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_ane1_sys_cpu>; + clocks = <&peripheral_clocks 318>, <&peripheral_clocks 319>, <&peripheral_clocks 320>, <&peripheral_clocks 321>; + iommus = <&ane1_dart0 0>, <&ane1_dart1 0>, <&ane1_dart2 0>; + reg-names = "engine"; + interrupt-names = "ane"; + status = "disabled"; + }; + + atc0_dpin0: displayport@701e50000 { + compatible = "apple,t6000-dpin", "apple,dpin"; + reg = <0x7 0x01e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + atc0_dpin1: displayport@701e58000 { + compatible = "apple,t6000-dpin", "apple,dpin"; + reg = <0x7 0x01e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + apciec0_piodma: dma-controller@722000000 { + compatible = "apple,t6000-pciec-piodma", "apple,pciec-piodma"; + reg = <0x7 0x22000000 0x0 0x4000>, + <0x7 0x22004000 0x0 0x4000>, + <0x7 0x22008000 0x0 0x4000>, + <0x7 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&apciec0_dart 15>; + status = "disabled"; + }; + + atc1_dpin0: displayport@b01e50000 { + compatible = "apple,t6000-dpin", "apple,dpin"; + reg = <0xb 0x01e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + atc1_dpin1: displayport@b01e58000 { + compatible = "apple,t6000-dpin", "apple,dpin"; + reg = <0xb 0x01e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + apciec1_piodma: dma-controller@b22000000 { + compatible = "apple,t6000-pciec-piodma", "apple,pciec-piodma"; + reg = <0xb 0x22000000 0x0 0x4000>, + <0xb 0x22004000 0x0 0x4000>, + <0xb 0x22008000 0x0 0x4000>, + <0xb 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&apciec1_dart 15>; + status = "disabled"; + }; + + atc2_dpin0: displayport@f01e50000 { + compatible = "apple,t6000-dpin", "apple,dpin"; + reg = <0xf 0x01e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + atc2_dpin1: displayport@f01e58000 { + compatible = "apple,t6000-dpin", "apple,dpin"; + reg = <0xf 0x01e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + apciec2_piodma: dma-controller@f22000000 { + compatible = "apple,t6000-pciec-piodma", "apple,pciec-piodma"; + reg = <0xf 0x22000000 0x0 0x4000>, + <0xf 0x22004000 0x0 0x4000>, + <0xf 0x22008000 0x0 0x4000>, + <0xf 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&apciec2_dart 15>; + status = "disabled"; + }; +}; + +&{/soc} { + + mcc: memory-controller@200000000 { + compatible = "apple,t6000-mcc", "apple,mcc"; + reg = <0x2 0x00000000 0x0 0x1000000>, + <0x2 0x01000000 0x0 0x1000000>, + <0x2 0x02000000 0x0 0x1000000>, + <0x2 0x03000000 0x0 0x1000000>, + <0x2 0x04000000 0x0 0x1000000>, + <0x2 0x05000000 0x0 0x1000000>, + <0x2 0x06000000 0x0 0x1000000>, + <0x2 0x07000000 0x0 0x1000000>; + status = "disabled"; + }; + + soc_events: event-log@28e080000 { + compatible = "apple,t6001-event-log", "apple,soc-event-log"; + reg = <0x2 0x8e080000 0x0 0x80000>, + <0x2 0x8e580000 0x0 0x80000>, + <0x2 0x8e680000 0x0 0x74000>, + <0x2 0x8e45c000 0x0 0x4000>, + <0x2 0x8e460000 0x0 0x4000>, + <0x2 0x8e464000 0x0 0x4000>, + <0x2 0x8e468000 0x0 0x4000>, + <0x2 0x8e46c000 0x0 0x4000>, + <0x2 0x8e458000 0x0 0x4000>, + <0x2 0x8e428000 0x0 0x8000>, + <0x2 0x8e430000 0x0 0x8000>, + <0x2 0x8e418000 0x0 0x8000>, + <0x2 0x8e410000 0x0 0x8000>, + <0x2 0x8e420000 0x0 0x8000>, + <0x2 0x8e400000 0x0 0x8000>, + <0x2 0x8e408000 0x0 0x8000>, + <0x2 0x8e438000 0x0 0x8000>, + <0x2 0x8e440000 0x0 0x8000>, + <0x2 0x92200000 0x0 0x80000>, + <0x2 0x8e000000 0x0 0x80000>, + <0x2 0x8e600000 0x0 0x4c000>, + <0x2 0x92280000 0x0 0x74000>, + <0x2 0x85838000 0x0 0x8000>, + <0x5 0x09838000 0x0 0x8000>, + <0x2 0x85868000 0x0 0x4000>, + <0x5 0x09868000 0x0 0x4000>, + <0x4 0x04e20000 0x0 0x4000>, + <0x4 0x04e20000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + status = "disabled"; + }; + + soc_errors: error-handler@395440000 { + compatible = "apple,t6001-error-handler", "apple,soc-error-handler"; + reg = <0x3 0x95440000 0x0 0x40000>, + <0x2 0x8e000000 0x0 0x80000>, + <0x2 0x8e080000 0x0 0x80000>, + <0x2 0x00000000 0x0 0x1000000>, + <0x2 0x01000000 0x0 0x1000000>, + <0x2 0x02000000 0x0 0x1000000>, + <0x2 0x03000000 0x0 0x1000000>, + <0x2 0x04000000 0x0 0x1000000>, + <0x2 0x05000000 0x0 0x1000000>, + <0x2 0x06000000 0x0 0x1000000>, + <0x2 0x07000000 0x0 0x1000000>, + <0x2 0x82000000 0x0 0x4000>, + <0x3 0x04000000 0x0 0x4000>, + <0x3 0x83000000 0x0 0x4000>, + <0x4 0x02000000 0x0 0x4000>, + <0x4 0x82000000 0x0 0x4000>, + <0x5 0x02000000 0x0 0x4000>, + <0x2 0x58d00000 0x0 0x20000>, + <0x2 0x59100000 0x0 0x20000>, + <0x2 0x5ad00000 0x0 0x20000>, + <0x2 0x5b100000 0x0 0x20000>, + <0x2 0x60000000 0x0 0x20000>, + <0x2 0x60000000 0x0 0x20000>, + <0x2 0x59500000 0x0 0x20000>, + <0x2 0x5b500000 0x0 0x20000>, + <0x2 0x5b900000 0x0 0x20000>, + <0x2 0x4fa00000 0x0 0x20000>, + <0x2 0x50a00000 0x0 0x20000>, + <0x2 0x50e00000 0x0 0x20000>, + <0x2 0x4fa80000 0x0 0x20000>, + <0x2 0x50a80000 0x0 0x20000>, + <0x2 0x64300000 0x0 0x20000>, + <0x2 0x65300000 0x0 0x20000>, + <0x2 0x64700000 0x0 0x20000>, + <0x2 0x66300000 0x0 0x20000>, + <0x2 0x65700000 0x0 0x20000>, + <0x2 0x67300000 0x0 0x20000>, + <0x2 0x6a300000 0x0 0x20000>, + <0x2 0x68600000 0x0 0x20000>, + <0x2 0x6b300000 0x0 0x20000>, + <0x2 0x69600000 0x0 0x20000>, + <0x2 0x64b00000 0x0 0x20000>, + <0x2 0x66700000 0x0 0x20000>, + <0x2 0x65b00000 0x0 0x20000>, + <0x2 0x67700000 0x0 0x20000>, + <0x2 0x6a700000 0x0 0x20000>, + <0x2 0x68a00000 0x0 0x20000>, + <0x2 0x6b700000 0x0 0x20000>, + <0x2 0x69a00000 0x0 0x20000>, + <0x2 0x58900000 0x0 0x20000>, + <0x2 0x5a900000 0x0 0x20000>, + <0x2 0x5c000000 0x0 0x20000>, + <0x2 0x5d000000 0x0 0x20000>, + <0x2 0x5e900000 0x0 0x20000>, + <0x2 0x5fc00000 0x0 0x20000>, + <0x2 0x61000000 0x0 0x20000>, + <0x2 0x62000000 0x0 0x20000>, + <0x2 0x4f600000 0x0 0x20000>, + <0x2 0x50600000 0x0 0x20000>, + <0x2 0x52000000 0x0 0x20000>, + <0x2 0x53000000 0x0 0x20000>, + <0x2 0x54600000 0x0 0x20000>, + <0x2 0x55600000 0x0 0x20000>, + <0x2 0x56000000 0x0 0x20000>, + <0x2 0x57000000 0x0 0x20000>, + <0x2 0x4f032000 0x0 0x1000>, + <0x2 0x4f332000 0x0 0x1000>, + <0x2 0x50032000 0x0 0x1000>, + <0x2 0x50332000 0x0 0x1000>, + <0x2 0x54032000 0x0 0x1000>, + <0x2 0x55032000 0x0 0x1000>, + <0x2 0x58032000 0x0 0x1000>, + <0x2 0x58332000 0x0 0x1000>, + <0x2 0x58632000 0x0 0x1000>, + <0x2 0x5a032000 0x0 0x1000>, + <0x2 0x5a332000 0x0 0x1000>, + <0x2 0x5a632000 0x0 0x1000>, + <0x2 0x5e032000 0x0 0x1000>, + <0x2 0x5f632000 0x0 0x1000>, + <0x2 0x5f032000 0x0 0x1000>, + <0x2 0x5f332000 0x0 0x1000>, + <0x2 0x5e332000 0x0 0x1000>, + <0x2 0x64032000 0x0 0x1000>, + <0x2 0x66032000 0x0 0x1000>, + <0x2 0x65032000 0x0 0x1000>, + <0x2 0x67032000 0x0 0x1000>, + <0x2 0x6a032000 0x0 0x1000>, + <0x2 0x68032000 0x0 0x1000>, + <0x2 0x6b032000 0x0 0x1000>, + <0x2 0x69032000 0x0 0x1000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + status = "disabled"; + }; + + pwm1: timer-pwm@39b030000 { + compatible = "apple,t6000-pwm", "apple,pwm"; + reg = <0x3 0x9b030000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_fpwm1>; + status = "disabled"; + }; +}; + +&ave { + reg = <0x4 0x0d100000 0x0 0x45c000>, + <0x4 0x0d050000 0x0 0x8000>, + <0x4 0x0d800000 0x0 0x800000>, + <0x2 0x8e588000 0x0 0x24>, + <0x4 0x0c000000 0x0 0x1000000>; + reg-names = "codec", "mailbox", "coproc", "pmgr", "pio"; + clocks = <&peripheral_clocks 350>; +}; + +/ { + peripheral_clocks: clock-controller { + compatible = "apple,t6000-pmgr-clocks", "apple,pmgr-clocks"; + #clock-cells = <1>; + apple,pmgr = <&pmgr>; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t6001.dtsi b/arch/arm64/boot/dts/apple/t6001.dtsi index e617f7f3f41a9..d4eaf064e2ad0 100644 --- a/arch/arm64/boot/dts/apple/t6001.dtsi +++ b/arch/arm64/boot/dts/apple/t6001.dtsi @@ -148,3 +148,9 @@ power-domains = <&ps_ane_sys_cpu>, <&ps_ane_set1>, <&ps_ane_set2>, <&ps_ane_set3>, <&ps_ane_set4>, <&ps_pms_sram>; }; + +#ifndef APPLE_T6000_SUBSET +#include "t6001-peripherals.dtsi" +#include "t6001-aux-spmi.dtsi" +#include "t6001-display-extra.dtsi" +#endif diff --git a/arch/arm64/boot/dts/apple/t6002-aux-spmi.dtsi b/arch/arm64/boot/dts/apple/t6002-aux-spmi.dtsi new file mode 100644 index 0000000000000..40b3b632a554b --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6002-aux-spmi.dtsi @@ -0,0 +1,317 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Disabled auxiliary SPMI resources; primary polled PMIC access is retained. */ + +&die0 { + primary_spmi_monitor: spmi-monitor@2920a0e00 { + compatible = "apple,t6000-spmi-monitor", "apple,spmi-monitor"; + reg = <0x2 0x920a0e00 0x0 0x100>, + <0x2 0x920a0400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + apple,controller = <&nub_spmi0>; + interrupt-controller; + #interrupt-cells = <2>; + #address-cells = <0>; + status = "disabled"; + }; + + clvr_spmi3: spmi@28e519100 { + compatible = "apple,t6000-spmi", "apple,spmi"; + reg = <0x2 0x8e519100 0x0 0x100>, + <0x2 0x8e518e00 0x0 0x100>, + <0x2 0x8e518400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + #address-cells = <2>; + #size-cells = <0>; + status = "disabled"; + pmic@f { + compatible = "apple,monaco-pmic", "apple,spmi-nvmem"; + reg = <0xf SPMI_USID>; + status = "disabled"; + }; + }; + + clvr_spmi4: spmi@28e521100 { + compatible = "apple,t6000-spmi", "apple,spmi"; + reg = <0x2 0x8e521100 0x0 0x100>, + <0x2 0x8e520e00 0x0 0x100>, + <0x2 0x8e520400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + #address-cells = <2>; + #size-cells = <0>; + status = "disabled"; + pmic@f { + compatible = "apple,monaco-pmic", "apple,spmi-nvmem"; + reg = <0xf SPMI_USID>; + status = "disabled"; + }; + }; +}; + +&die1 { + nub_spmi0_die1: spmi@2920a1300 { + compatible = "apple,t6000-spmi", "apple,spmi"; + reg = <0x2 0x920a1300 0x0 0x100>, + <0x2 0x920a0e00 0x0 0x100>, + <0x2 0x920a0400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + #address-cells = <2>; + #size-cells = <0>; + status = "disabled"; + pmic@f { + compatible = "apple,maverick-pmic", "apple,spmi-nvmem"; + reg = <0xf SPMI_USID>; + status = "disabled"; + }; + }; + + nub_spmi1_die1: spmi@2920a9300 { + compatible = "apple,t6000-spmi", "apple,spmi"; + reg = <0x2 0x920a9300 0x0 0x100>, + <0x2 0x920a8e00 0x0 0x100>, + <0x2 0x920a8400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + #address-cells = <2>; + #size-cells = <0>; + status = "disabled"; + pmic@e { + compatible = "apple,maverick-pmic", "apple,spmi-nvmem"; + reg = <0xe SPMI_USID>; + status = "disabled"; + }; + }; + + clvr_spmi0_die1: spmi@28e501100 { + compatible = "apple,t6000-spmi", "apple,spmi"; + reg = <0x2 0x8e501100 0x0 0x100>, + <0x2 0x8e500e00 0x0 0x100>, + <0x2 0x8e500400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + #address-cells = <2>; + #size-cells = <0>; + status = "disabled"; + pmic@f { + compatible = "apple,monaco-pmic", "apple,spmi-nvmem"; + reg = <0xf SPMI_USID>; + status = "disabled"; + }; + }; + + clvr_spmi1_die1: spmi@28e509100 { + compatible = "apple,t6000-spmi", "apple,spmi"; + reg = <0x2 0x8e509100 0x0 0x100>, + <0x2 0x8e508e00 0x0 0x100>, + <0x2 0x8e508400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + #address-cells = <2>; + #size-cells = <0>; + status = "disabled"; + pmic@f { + compatible = "apple,monaco-pmic", "apple,spmi-nvmem"; + reg = <0xf SPMI_USID>; + status = "disabled"; + }; + }; + + clvr_spmi2_die1: spmi@28e511100 { + compatible = "apple,t6000-spmi", "apple,spmi"; + reg = <0x2 0x8e511100 0x0 0x100>, + <0x2 0x8e510e00 0x0 0x100>, + <0x2 0x8e510400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + #address-cells = <2>; + #size-cells = <0>; + status = "disabled"; + pmic@f { + compatible = "apple,monaco-pmic", "apple,spmi-nvmem"; + reg = <0xf SPMI_USID>; + status = "disabled"; + }; + }; + + clvr_spmi3_die1: spmi@28e519100 { + compatible = "apple,t6000-spmi", "apple,spmi"; + reg = <0x2 0x8e519100 0x0 0x100>, + <0x2 0x8e518e00 0x0 0x100>, + <0x2 0x8e518400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + #address-cells = <2>; + #size-cells = <0>; + status = "disabled"; + pmic@f { + compatible = "apple,monaco-pmic", "apple,spmi-nvmem"; + reg = <0xf SPMI_USID>; + status = "disabled"; + }; + }; + + clvr_spmi4_die1: spmi@28e521100 { + compatible = "apple,t6000-spmi", "apple,spmi"; + reg = <0x2 0x8e521100 0x0 0x100>, + <0x2 0x8e520e00 0x0 0x100>, + <0x2 0x8e520400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + #address-cells = <2>; + #size-cells = <0>; + status = "disabled"; + pmic@f { + compatible = "apple,monaco-pmic", "apple,spmi-nvmem"; + reg = <0xf SPMI_USID>; + status = "disabled"; + }; + }; +}; + +&pmic1 { + battery_monitor: battery-monitor { + compatible = "apple,t6000-battery-monitor", "apple,battery-monitor"; + interrupt-parent = <&primary_spmi_monitor>; + interrupts = <62 IRQ_TYPE_NONE>; + status = "disabled"; + }; +}; + +&nub_spmi1 { + reg = <0x2 0x920a9300 0x0 0x100>, + <0x2 0x920a8e00 0x0 0x100>, + <0x2 0x920a8400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + pmic@e { + compatible = "apple,maverick-pmic", "apple,spmi-nvmem"; + reg = <0xe SPMI_USID>; + read-only; + status = "disabled"; + }; + spmi-device@d { + compatible = "apple,t6000-viper-spmi", "apple,viper-spmi"; + reg = <0xd SPMI_USID>; + status = "disabled"; + }; +}; + +&clvr_spmi0 { + reg = <0x2 0x8e501100 0x0 0x100>, + <0x2 0x8e500e00 0x0 0x100>, + <0x2 0x8e500400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + pmic@f { + compatible = "apple,monaco-pmic", "apple,spmi-nvmem"; + reg = <0xf SPMI_USID>; + read-only; + status = "disabled"; + }; +}; + +&clvr_spmi1 { + reg = <0x2 0x8e509100 0x0 0x100>, + <0x2 0x8e508e00 0x0 0x100>, + <0x2 0x8e508400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + pmic@f { + compatible = "apple,monaco-pmic", "apple,spmi-nvmem"; + reg = <0xf SPMI_USID>; + read-only; + status = "disabled"; + }; +}; + +&clvr_spmi2 { + reg = <0x2 0x8e511100 0x0 0x100>, + <0x2 0x8e510e00 0x0 0x100>, + <0x2 0x8e510400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + pmic@f { + compatible = "apple,monaco-pmic", "apple,spmi-nvmem"; + reg = <0xf SPMI_USID>; + read-only; + status = "disabled"; + }; +}; + +&aop_spmi0 { + reg = <0x2 0x93829300 0x0 0x100>, + <0x2 0x93828e00 0x0 0x100>, + <0x2 0x93828400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + spmi-device@e { + compatible = "apple,t6000-wifibt-pmu", "apple,radio-pmu"; + reg = <0xe SPMI_USID>; + status = "disabled"; + }; + spmi-device@f { + compatible = "apple,t6000-uwb-pmu", "apple,radio-pmu"; + reg = <0xf SPMI_USID>; + status = "disabled"; + }; +}; + +&aop_spmi1 { + reg = <0x2 0x9382d300 0x0 0x100>, + <0x2 0x9382ce00 0x0 0x100>, + <0x2 0x9382c400 0x0 0x78>; + interrupt-parent = <&aic>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + stockholm: nfc@c { + compatible = "apple,t6000-stockholm-spmi", "apple,stockholm-spmi"; + reg = <0xc SPMI_USID>; + interrupt-parent = <&aop_spmi1>; + interrupts = <160 IRQ_TYPE_NONE>, + <161 IRQ_TYPE_NONE>, + <162 IRQ_TYPE_NONE>, + <163 IRQ_TYPE_NONE>, + <164 IRQ_TYPE_NONE>, + <165 IRQ_TYPE_NONE>, + <166 IRQ_TYPE_NONE>; + status = "disabled"; + }; +}; + + +&pmic1 { + interrupt-parent = <&primary_spmi_monitor>; + interrupts = <2 IRQ_TYPE_NONE>; +}; diff --git a/arch/arm64/boot/dts/apple/t6002-display-extra.dtsi b/arch/arm64/boot/dts/apple/t6002-display-extra.dtsi new file mode 100644 index 0000000000000..17cc7c497550c --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6002-display-extra.dtsi @@ -0,0 +1,262 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Additional display engines; firmware and route ownership are unqualified. */ + +&die0 { + dispext2_dart: iommu@48b304000 { + compatible = "apple,t6000-display-dart", "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x4 0x8b304000 0x0 0x4000>, + <0x4 0x8b300000 0x0 0x4000>; + reg-names = "dart", "auxiliary"; + #iommu-cells = <5>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_dispext2_cpu0>; + status = "disabled"; + }; + + dcpext2_dart: iommu@48b30c000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x4 0x8b30c000 0x0 0x4000>; + #iommu-cells = <5>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_dispext2_cpu0>; + status = "disabled"; + }; + + dcpext2_mbox: mailbox@48bc08000 { + compatible = "apple,t6000-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x4 0x8bc08000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + ; + interrupt-names = "send-empty", "send-not-empty", + "recv-empty", "recv-not-empty"; + #mbox-cells = <0>; + power-domains = <&ps_dispext2_cpu0>; + resets = <&ps_dispext2_cpu0>; + status = "disabled"; + }; + + dcpext2: dcp@48bc00000 { + compatible = "apple,t6000-dcpext", "apple,dcpext"; + reg = <0x4 0x8bc00000 0x0 0x4000>, + <0x4 0x8a000000 0x0 0x3000000>, + <0x4 0x8b320000 0x0 0x4000>, + <0x4 0x8b344000 0x0 0x4000>, + <0x4 0x8b800000 0x0 0x800000>, + <0x2 0x8e3d0000 0x0 0x4000>, + <0x4 0x8b850000 0x0 0x4000>; + reg-names = "coproc", "disp-0", "disp-1", "disp-2", + "disp-3", "disp-4", "coproc-aux"; + mboxes = <&dcpext2_mbox>; + mbox-names = "mbox"; + iommus = <&dcpext2_dart 0 0x0 0x0 0x0 0xfc000000>; + power-domains = <&ps_dispext2_cpu0>; + resets = <&ps_dispext2_cpu0>; + apple,dcp-index = <3>; + phandle = <&dcpext2>; + status = "disabled"; + + piodma { + iommus = <&dispext2_dart 4 0x0 0x0 0x0 0xfc000000>; + status = "disabled"; + }; + }; + + dispext3_dart: iommu@48e304000 { + compatible = "apple,t6000-display-dart", "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x4 0x8e304000 0x0 0x4000>, + <0x4 0x8e300000 0x0 0x4000>; + reg-names = "dart", "auxiliary"; + #iommu-cells = <5>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_dispext3_cpu0>; + status = "disabled"; + }; + + dcpext3_dart: iommu@48e30c000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x4 0x8e30c000 0x0 0x4000>; + #iommu-cells = <5>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_dispext3_cpu0>; + status = "disabled"; + }; + + dcpext3_mbox: mailbox@48ec08000 { + compatible = "apple,t6000-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x4 0x8ec08000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + ; + interrupt-names = "send-empty", "send-not-empty", + "recv-empty", "recv-not-empty"; + #mbox-cells = <0>; + power-domains = <&ps_dispext3_cpu0>; + resets = <&ps_dispext3_cpu0>; + status = "disabled"; + }; + + dcpext3: dcp@48ec00000 { + compatible = "apple,t6000-dcpext", "apple,dcpext"; + reg = <0x4 0x8ec00000 0x0 0x4000>, + <0x4 0x8d000000 0x0 0x3000000>, + <0x4 0x8e320000 0x0 0x4000>, + <0x4 0x8e344000 0x0 0x4000>, + <0x4 0x8e800000 0x0 0x800000>, + <0x2 0x8e3d0000 0x0 0x4000>, + <0x4 0x8e850000 0x0 0x4000>; + reg-names = "coproc", "disp-0", "disp-1", "disp-2", + "disp-3", "disp-4", "coproc-aux"; + mboxes = <&dcpext3_mbox>; + mbox-names = "mbox"; + iommus = <&dcpext3_dart 0 0x0 0x0 0x0 0xfc000000>; + power-domains = <&ps_dispext3_cpu0>; + resets = <&ps_dispext3_cpu0>; + apple,dcp-index = <4>; + phandle = <&dcpext3>; + status = "disabled"; + + piodma { + iommus = <&dispext3_dart 4 0x0 0x0 0x0 0xfc000000>; + status = "disabled"; + }; + }; +}; + +&die1 { + dispext6_dart: iommu@48b304000 { + compatible = "apple,t6000-display-dart", "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x4 0x8b304000 0x0 0x4000>, + <0x4 0x8b300000 0x0 0x4000>; + reg-names = "dart", "auxiliary"; + #iommu-cells = <5>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_dispext2_cpu0_die1>; + status = "disabled"; + }; + + dcpext6_dart: iommu@48b30c000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x4 0x8b30c000 0x0 0x4000>; + #iommu-cells = <5>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_dispext2_cpu0_die1>; + status = "disabled"; + }; + + dcpext6_mbox: mailbox@48bc08000 { + compatible = "apple,t6000-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x4 0x8bc08000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + ; + interrupt-names = "send-empty", "send-not-empty", + "recv-empty", "recv-not-empty"; + #mbox-cells = <0>; + power-domains = <&ps_dispext2_cpu0_die1>; + resets = <&ps_dispext2_cpu0_die1>; + status = "disabled"; + }; + + dcpext6: dcp@48bc00000 { + compatible = "apple,t6000-dcpext", "apple,dcpext"; + reg = <0x4 0x8bc00000 0x0 0x4000>, + <0x4 0x8a000000 0x0 0x3000000>, + <0x4 0x8b320000 0x0 0x4000>, + <0x4 0x8b344000 0x0 0x4000>, + <0x4 0x8b800000 0x0 0x800000>, + <0x2 0x8e3d0000 0x0 0x4000>, + <0x4 0x8b850000 0x0 0x4000>; + reg-names = "coproc", "disp-0", "disp-1", "disp-2", + "disp-3", "disp-4", "coproc-aux"; + mboxes = <&dcpext6_mbox>; + mbox-names = "mbox"; + iommus = <&dcpext6_dart 0 0x0 0x0 0x0 0xfc000000>; + power-domains = <&ps_dispext2_cpu0_die1>; + resets = <&ps_dispext2_cpu0_die1>; + apple,dcp-index = <3>; + phandle = <&dcpext6>; + status = "disabled"; + + piodma { + iommus = <&dispext6_dart 4 0x0 0x0 0x0 0xfc000000>; + status = "disabled"; + }; + }; + + dispext7_dart: iommu@48e304000 { + compatible = "apple,t6000-display-dart", "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x4 0x8e304000 0x0 0x4000>, + <0x4 0x8e300000 0x0 0x4000>; + reg-names = "dart", "auxiliary"; + #iommu-cells = <5>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_dispext3_cpu0_die1>; + status = "disabled"; + }; + + dcpext7_dart: iommu@48e30c000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x4 0x8e30c000 0x0 0x4000>; + #iommu-cells = <5>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_dispext3_cpu0_die1>; + status = "disabled"; + }; + + dcpext7_mbox: mailbox@48ec08000 { + compatible = "apple,t6000-asc-mailbox", "apple,asc-mailbox-v4"; + reg = <0x4 0x8ec08000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + ; + interrupt-names = "send-empty", "send-not-empty", + "recv-empty", "recv-not-empty"; + #mbox-cells = <0>; + power-domains = <&ps_dispext3_cpu0_die1>; + resets = <&ps_dispext3_cpu0_die1>; + status = "disabled"; + }; + + dcpext7: dcp@48ec00000 { + compatible = "apple,t6000-dcpext", "apple,dcpext"; + reg = <0x4 0x8ec00000 0x0 0x4000>, + <0x4 0x8d000000 0x0 0x3000000>, + <0x4 0x8e320000 0x0 0x4000>, + <0x4 0x8e344000 0x0 0x4000>, + <0x4 0x8e800000 0x0 0x800000>, + <0x2 0x8e3d0000 0x0 0x4000>, + <0x4 0x8e850000 0x0 0x4000>; + reg-names = "coproc", "disp-0", "disp-1", "disp-2", + "disp-3", "disp-4", "coproc-aux"; + mboxes = <&dcpext7_mbox>; + mbox-names = "mbox"; + iommus = <&dcpext7_dart 0 0x0 0x0 0x0 0xfc000000>; + power-domains = <&ps_dispext3_cpu0_die1>; + resets = <&ps_dispext3_cpu0_die1>; + apple,dcp-index = <4>; + phandle = <&dcpext7>; + status = "disabled"; + + piodma { + iommus = <&dispext7_dart 4 0x0 0x0 0x0 0xfc000000>; + status = "disabled"; + }; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t6002-j375d-control.dtsi b/arch/arm64/boot/dts/apple/t6002-j375d-control.dtsi new file mode 100644 index 0000000000000..dc1ca66240a53 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6002-j375d-control.dtsi @@ -0,0 +1,18 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Populated board control clients. Transport ownership is not transferred. */ + +&i2c4 { + sd_card_control: sd-card-control@20 { + compatible = "apple,t6000-sd-card-control", "apple,sd-card-control"; + reg = <0x20>; + status = "disabled"; + }; +}; + +&i2c5 { + ethernet_sideband: ethernet-sideband@32 { + compatible = "apple,t6000-aqc107-i2c", "apple,aqc107-i2c"; + reg = <0x32>; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t6002-j375d.dts b/arch/arm64/boot/dts/apple/t6002-j375d.dts index 885744417f0ab..a16df355852ef 100644 --- a/arch/arm64/boot/dts/apple/t6002-j375d.dts +++ b/arch/arm64/boot/dts/apple/t6002-j375d.dts @@ -300,3 +300,5 @@ }; #include "hwmon-fan-dual.dtsi" + +#include "t6002-j375d-control.dtsi" diff --git a/arch/arm64/boot/dts/apple/t6002-peripherals.dtsi b/arch/arm64/boot/dts/apple/t6002-peripherals.dtsi new file mode 100644 index 0000000000000..ba6616910477e --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6002-peripherals.dtsi @@ -0,0 +1,1822 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Disabled resource descriptions for T6002. */ + +&die0 { + ane0_dma: dma-controller@285804000 { + compatible = "apple,t6000-ane-dma", "apple,ane-dma"; + reg = <0x2 0x85804000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_ane_sys>; + status = "disabled"; + }; + + aic_timebase: timer@28e148000 { + compatible = "apple,t6000-aic-timebase", "apple,aic-timebase"; + reg = <0x2 0x8e148000 0x0 0x1000>; + status = "disabled"; + }; + + dwi: bus-controller@28e208000 { + compatible = "apple,t6000-dwi", "apple,dwi"; + reg = <0x2 0x8e208000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_dwi>; + status = "disabled"; + }; + + dockchannel_uart: fifo@29250c000 { + compatible = "apple,t6000-dockchannel", "apple,dockchannel"; + reg = <0x2 0x9250c000 0x0 0x18>; + interrupt-parent = <&aic>; + interrupts = ; + reg-names = "irq"; + ranges = <0 0x2 0x92528000 0x10004>; + #address-cells = <1>; + #size-cells = <1>; + interrupt-controller; + #interrupt-cells = <2>; + status = "disabled"; + }; + + ausb_phy0: phy@30d000000 { + compatible = "apple,t6000-ausb-phy", "apple,ausb-phy"; + reg = <0x3 0x0d000000 0x0 0x4000>; + power-domains = <&ps_c0_usbctl>; + #phy-cells = <0>; + phys = <&ausb_usb3phy>; + status = "disabled"; + }; + + ausb_drd0: usb@30d010000 { + compatible = "apple,t6000-ausb-drd", "apple,ausb-drd"; + reg = <0x3 0x0d010000 0x0 0x11800>, + <0x3 0x0d020000 0x0 0x4000>, + <0x3 0x0d01c100 0x0 0x4000>, + <0x3 0x0d000000 0x0 0x2c000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + ; + power-domains = <&ps_c0_usb31drd>; + iommus = <&ausb0_dart0 3>, <&ausb0_dart1 3>; + phys = <&ausb_phy0>; + status = "disabled"; + }; + + ausb0_dart0: iommu@30d024000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x3 0x0d024000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + ausb0_dart1: iommu@30d028000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x3 0x0d028000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + ausb_phy1: phy@30d400000 { + compatible = "apple,t6000-ausb-phy", "apple,ausb-phy"; + reg = <0x3 0x0d400000 0x0 0x4000>; + power-domains = <&ps_c1_usbctl>; + #phy-cells = <0>; + phys = <&ausb_usb3phy>; + status = "disabled"; + }; + + ausb_drd1: usb@30d410000 { + compatible = "apple,t6000-ausb-drd", "apple,ausb-drd"; + reg = <0x3 0x0d410000 0x0 0x11800>, + <0x3 0x0d420000 0x0 0x4000>, + <0x3 0x0d41c100 0x0 0x4000>, + <0x3 0x0d400000 0x0 0x2c000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + ; + power-domains = <&ps_c1_usb31drd>; + iommus = <&ausb1_dart0 3>, <&ausb1_dart1 3>; + phys = <&ausb_phy1>; + status = "disabled"; + }; + + ausb1_dart0: iommu@30d424000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x3 0x0d424000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + ausb1_dart1: iommu@30d428000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x3 0x0d428000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + ausb_usb3phy: phy@30d900000 { + compatible = "apple,t6000-ausb-usb3-phy", "apple,ausb-usb3-phy"; + reg = <0x3 0x0d900000 0x0 0x4000>, + <0x3 0x0d980000 0x0 0x4000>, + <0x3 0x0d982000 0x0 0x4000>, + <0x3 0x0d982200 0x0 0x4000>, + <0x3 0x0d982800 0x0 0x4000>, + <0x3 0x0d982a00 0x0 0x4000>, + <0x3 0x0d980a00 0x0 0x4000>, + <0x3 0x0d980800 0x0 0x4000>, + <0x3 0x0d98d000 0x0 0x4000>, + <0x3 0x0d994000 0x0 0x4000>, + <0x3 0x0d98c000 0x0 0x4000>, + <0x3 0x0d993000 0x0 0x4000>, + <0x3 0x0d98b000 0x0 0x4000>, + <0x3 0x0d992000 0x0 0x4000>, + <0x3 0x0d989000 0x0 0x4000>, + <0x3 0x0d990000 0x0 0x4000>, + <0x3 0x0d981000 0x0 0x4000>, + <0x2 0x922bc000 0x0 0x2000>, + <0x3 0x0c000000 0x0 0x1000000>, + <0x3 0x0d98a000 0x0 0x4000>, + <0x3 0x0d991000 0x0 0x4000>; + power-domains = <&ps_gp_usb_aon>, <&ps_usb>; + #phy-cells = <0>; + status = "disabled"; + }; + + apr0: video-codec@311000000 { + compatible = "apple,t6000-prores", "apple,prores"; + reg = <0x3 0x11000000 0x0 0x4000>, + <0x3 0x10000000 0x0 0x1000000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_scodec>; + iommus = <&apr0_dart 0>; + reg-names = "core", "wrapper"; + status = "disabled"; + }; + + apr0_dart: iommu@311008000 { + compatible = "apple,t8110-dart"; + reg = <0x3 0x11008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_scodec>; + #iommu-cells = <1>; + status = "disabled"; + }; + + aes: crypto@39b060000 { + compatible = "apple,t6000-aes", "apple,aes"; + reg = <0x3 0x9b060000 0x0 0x4000>, + <0x2 0x922d0000 0x0 0x8000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_aes>; + iommus = <&sio_dart_0 1>, <&sio_dart_1 1>; + status = "disabled"; + }; + + jpeg0: jpeg@409000000 { + compatible = "apple,t6000-jpeg", "apple,jpeg"; + reg = <0x4 0x09000000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg>; + clocks = <&peripheral_clocks 354>, <&peripheral_clocks 355>; + iommus = <&jpeg0_dart 0>; + status = "disabled"; + }; + + jpeg0_dart: iommu@409004000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x4 0x09004000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg>; + #iommu-cells = <1>; + status = "disabled"; + }; + + jpeg1: jpeg@409008000 { + compatible = "apple,t6000-jpeg", "apple,jpeg"; + reg = <0x4 0x09008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg>; + clocks = <&peripheral_clocks 354>, <&peripheral_clocks 355>; + iommus = <&jpeg1_dart 0>; + status = "disabled"; + }; + + jpeg1_dart: iommu@40900c000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x4 0x0900c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg>; + #iommu-cells = <1>; + status = "disabled"; + }; + + scaler0: scaler@40b000000 { + compatible = "apple,t6000-scaler", "apple,scaler"; + reg = <0x4 0x0b000000 0x0 0x28000>, + <0x4 0x0b210000 0x0 0x4000>, + <0x4 0x0b204000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + ; + power-domains = <&ps_msr0>, <&ps_msr0_ase_core>; + clocks = <&peripheral_clocks 356>; + iommus = <&scaler0_dart 0>, <&scaler0_dart 1>; + resets = <&ps_msr0>; + status = "disabled"; + }; + + scaler0_dart: iommu@40b200000 { + compatible = "apple,t8110-dart"; + reg = <0x4 0x0b200000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_msr0>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ave0_dma: dma-controller@40d020000 { + compatible = "apple,t6000-ave-dma", "apple,ave-dma"; + reg = <0x4 0x0d020000 0x0 0x4000>, + <0x4 0x0d044000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc_sys>; + status = "disabled"; + }; + + apr1: video-codec@489000000 { + compatible = "apple,t6000-prores", "apple,prores"; + reg = <0x4 0x89000000 0x0 0x4000>, + <0x4 0x88000000 0x0 0x1000000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_prores>; + iommus = <&apr1_dart 0>; + reg-names = "core", "wrapper"; + status = "disabled"; + }; + + apr1_dart: iommu@489008000 { + compatible = "apple,t8110-dart"; + reg = <0x4 0x89008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_prores>; + #iommu-cells = <1>; + status = "disabled"; + }; + + scaler1: scaler@505000000 { + compatible = "apple,t6000-scaler", "apple,scaler"; + reg = <0x5 0x05000000 0x0 0x28000>, + <0x5 0x05210000 0x0 0x4000>, + <0x5 0x05204000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + ; + power-domains = <&ps_msr1>, <&ps_msr1_ase_core>; + clocks = <&peripheral_clocks 356>; + iommus = <&scaler1_dart 0>, <&scaler1_dart 1>; + resets = <&ps_msr1>; + status = "disabled"; + }; + + scaler1_dart: iommu@505200000 { + compatible = "apple,t8110-dart"; + reg = <0x5 0x05200000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_msr1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ave1_dma: dma-controller@507020000 { + compatible = "apple,t6000-ave-dma", "apple,ave-dma"; + reg = <0x5 0x07020000 0x0 0x4000>, + <0x5 0x07044000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc1_sys>; + status = "disabled"; + }; + + ave1_dart1: iommu@507030000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x5 0x07030000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc1_sys>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ave1_dart0: iommu@507040000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x5 0x07040000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc1_sys>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ave1: video-codec@507100000 { + compatible = "apple,t6000-ave"; + reg = <0x5 0x07100000 0x0 0x45c000>, + <0x5 0x07050000 0x0 0x8000>, + <0x5 0x07800000 0x0 0x800000>, + <0x2 0x8e680260 0x0 0x7dc4>, + <0x5 0x06000000 0x0 0x1000000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + ; + power-domains = <&ps_venc1_dma>, <&ps_venc1_pipe4>, <&ps_venc1_pipe5>, <&ps_venc1_me0>, <&ps_venc1_me1>; + clocks = <&peripheral_clocks 454>; + iommus = <&ave1_dart0 0>, <&ave1_dart1 0>; + reg-names = "codec", "mailbox", "coproc", "pmgr", "pio"; + power-domain-names = "dma", "pipe4", "pipe5", "me0", "me1"; + status = "disabled"; + }; + + ane1_dart0: iommu@509800000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x5 0x09800000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_ane1_sys>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ane1_dma: dma-controller@509804000 { + compatible = "apple,t6000-ane-dma", "apple,ane-dma"; + reg = <0x5 0x09804000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_ane1_sys>; + status = "disabled"; + }; + + ane1_dart1: iommu@509810000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x5 0x09810000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_ane1_sys>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ane1_dart2: iommu@509820000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x5 0x09820000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_ane1_sys>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ane1: ane@509c04000 { + compatible = "apple,t6001-ane", "apple,ane"; + reg = <0x5 0x09c04000 0x0 0x24000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_ane1_sys_cpu>; + clocks = <&peripheral_clocks 318>, <&peripheral_clocks 319>, <&peripheral_clocks 320>, <&peripheral_clocks 321>; + iommus = <&ane1_dart0 0>, <&ane1_dart1 0>, <&ane1_dart2 0>; + reg-names = "engine"; + interrupt-names = "ane"; + status = "disabled"; + }; + + atc0_dpin0: displayport@701e50000 { + compatible = "apple,t6000-dpin", "apple,dpin"; + reg = <0x7 0x01e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + atc0_dpin1: displayport@701e58000 { + compatible = "apple,t6000-dpin", "apple,dpin"; + reg = <0x7 0x01e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + apciec0_dart: iommu@721008000 { + compatible = "apple,t8110-dart"; + reg = <0x7 0x21008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + apciec0_piodma: dma-controller@722000000 { + compatible = "apple,t6000-pciec-piodma", "apple,pciec-piodma"; + reg = <0x7 0x22000000 0x0 0x4000>, + <0x7 0x22004000 0x0 0x4000>, + <0x7 0x22008000 0x0 0x4000>, + <0x7 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&apciec0_dart 15>; + status = "disabled"; + }; + + apciec0: pcie@730000000 { + compatible = "apple,t6000-pciec"; + reg = <0x7 0x30000000 0x0 0x10000000>, + <0x7 0x20000000 0x0 0x4000>, + <0x7 0x21000000 0x0 0x8000>, + <0x7 0x20004000 0x0 0x4000>, + <0x7 0x20200000 0x0 0x4000>, + <0x7 0x21010000 0x0 0x4000>, + <0x7 0x2100c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_atc0_pcie>; + device_type = "pci"; + reg-names = "config", "rc", "port0", "fabric", "debug", "ltssm", "intr2axi"; + msi-controller; + msi-parent = <&apciec0>; + msi-ranges = <&aic AIC_IRQ 0 1614 IRQ_TYPE_EDGE_RISING 32>; + iommu-map = <0 &apciec0_dart 0 0x40>; + iommu-map-mask = <0x3f>; + bus-range = <0 0x7f>; + #address-cells = <3>; + #size-cells = <2>; + ranges = <0x43000000 0x8 0x0 0x8 0x0 0x2 0x0>, + <0x2000000 0x0 0x100000 0xa 0x100000 0x0 0x3ff00000>, + <0x42000000 0x0 0x40000000 0xa 0x40000000 0x0 0x40000000>; + status = "disabled"; + }; + + atc1_dpin0: displayport@b01e50000 { + compatible = "apple,t6000-dpin", "apple,dpin"; + reg = <0xb 0x01e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + atc1_dpin1: displayport@b01e58000 { + compatible = "apple,t6000-dpin", "apple,dpin"; + reg = <0xb 0x01e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + apciec1_dart: iommu@b21008000 { + compatible = "apple,t8110-dart"; + reg = <0xb 0x21008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + apciec1_piodma: dma-controller@b22000000 { + compatible = "apple,t6000-pciec-piodma", "apple,pciec-piodma"; + reg = <0xb 0x22000000 0x0 0x4000>, + <0xb 0x22004000 0x0 0x4000>, + <0xb 0x22008000 0x0 0x4000>, + <0xb 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&apciec1_dart 15>; + status = "disabled"; + }; + + apciec1: pcie@b30000000 { + compatible = "apple,t6000-pciec"; + reg = <0xb 0x30000000 0x0 0x10000000>, + <0xb 0x20000000 0x0 0x4000>, + <0xb 0x21000000 0x0 0x8000>, + <0xb 0x20004000 0x0 0x4000>, + <0xb 0x20200000 0x0 0x4000>, + <0xb 0x21010000 0x0 0x4000>, + <0xb 0x2100c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_atc1_pcie>; + device_type = "pci"; + reg-names = "config", "rc", "port0", "fabric", "debug", "ltssm", "intr2axi"; + msi-controller; + msi-parent = <&apciec1>; + msi-ranges = <&aic AIC_IRQ 0 1646 IRQ_TYPE_EDGE_RISING 32>; + iommu-map = <0 &apciec1_dart 0 0x40>; + iommu-map-mask = <0x3f>; + bus-range = <0 0x7f>; + #address-cells = <3>; + #size-cells = <2>; + ranges = <0x43000000 0xc 0x0 0xc 0x0 0x2 0x0>, + <0x2000000 0x0 0x100000 0xe 0x100000 0x0 0x3ff00000>, + <0x42000000 0x0 0x40000000 0xe 0x40000000 0x0 0x40000000>; + status = "disabled"; + }; + + atc2_dpin0: displayport@f01e50000 { + compatible = "apple,t6000-dpin", "apple,dpin"; + reg = <0xf 0x01e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + atc2_dpin1: displayport@f01e58000 { + compatible = "apple,t6000-dpin", "apple,dpin"; + reg = <0xf 0x01e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + apciec2_dart: iommu@f21008000 { + compatible = "apple,t8110-dart"; + reg = <0xf 0x21008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + apciec2_piodma: dma-controller@f22000000 { + compatible = "apple,t6000-pciec-piodma", "apple,pciec-piodma"; + reg = <0xf 0x22000000 0x0 0x4000>, + <0xf 0x22004000 0x0 0x4000>, + <0xf 0x22008000 0x0 0x4000>, + <0xf 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&apciec2_dart 15>; + status = "disabled"; + }; + + apciec2: pcie@f30000000 { + compatible = "apple,t6000-pciec"; + reg = <0xf 0x30000000 0x0 0x10000000>, + <0xf 0x20000000 0x0 0x4000>, + <0xf 0x21000000 0x0 0x8000>, + <0xf 0x20004000 0x0 0x4000>, + <0xf 0x20200000 0x0 0x4000>, + <0xf 0x21010000 0x0 0x4000>, + <0xf 0x2100c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_atc2_pcie>; + device_type = "pci"; + reg-names = "config", "rc", "port0", "fabric", "debug", "ltssm", "intr2axi"; + msi-controller; + msi-parent = <&apciec2>; + msi-ranges = <&aic AIC_IRQ 0 1678 IRQ_TYPE_EDGE_RISING 32>; + iommu-map = <0 &apciec2_dart 0 0x40>; + iommu-map-mask = <0x3f>; + bus-range = <0 0x7f>; + #address-cells = <3>; + #size-cells = <2>; + ranges = <0x43000000 0x10 0x0 0x10 0x0 0x2 0x0>, + <0x2000000 0x0 0x100000 0x12 0x100000 0x0 0x3ff00000>, + <0x42000000 0x0 0x40000000 0x12 0x40000000 0x0 0x40000000>; + status = "disabled"; + }; + + atc3_dpin0: displayport@1301e50000 { + compatible = "apple,t6000-dpin", "apple,dpin"; + reg = <0x13 0x01e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + atc3_dpin1: displayport@1301e58000 { + compatible = "apple,t6000-dpin", "apple,dpin"; + reg = <0x13 0x01e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + apciec3_dart: iommu@1321008000 { + compatible = "apple,t8110-dart"; + reg = <0x13 0x21008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + apciec3_piodma: dma-controller@1322000000 { + compatible = "apple,t6000-pciec-piodma", "apple,pciec-piodma"; + reg = <0x13 0x22000000 0x0 0x4000>, + <0x13 0x22004000 0x0 0x4000>, + <0x13 0x22008000 0x0 0x4000>, + <0x13 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&apciec3_dart 15>; + status = "disabled"; + }; + + apciec3: pcie@1330000000 { + compatible = "apple,t6000-pciec"; + reg = <0x13 0x30000000 0x0 0x10000000>, + <0x13 0x20000000 0x0 0x4000>, + <0x13 0x21000000 0x0 0x8000>, + <0x13 0x20004000 0x0 0x4000>, + <0x13 0x20200000 0x0 0x4000>, + <0x13 0x21010000 0x0 0x4000>, + <0x13 0x2100c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_atc3_pcie>; + device_type = "pci"; + reg-names = "config", "rc", "port0", "fabric", "debug", "ltssm", "intr2axi"; + msi-controller; + msi-parent = <&apciec3>; + msi-ranges = <&aic AIC_IRQ 0 1710 IRQ_TYPE_EDGE_RISING 32>; + iommu-map = <0 &apciec3_dart 0 0x40>; + iommu-map-mask = <0x3f>; + bus-range = <0 0x7f>; + #address-cells = <3>; + #size-cells = <2>; + ranges = <0x43000000 0x14 0x0 0x14 0x0 0x2 0x0>, + <0x2000000 0x0 0x100000 0x16 0x100000 0x0 0x3ff00000>, + <0x42000000 0x0 0x40000000 0x16 0x40000000 0x0 0x40000000>; + status = "disabled"; + }; +}; + +&die1 { + ane2_dart0: iommu@285800000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x2 0x85800000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_ane_sys_die1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ane2_dma: dma-controller@285804000 { + compatible = "apple,t6000-ane-dma", "apple,ane-dma"; + reg = <0x2 0x85804000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_ane_sys_die1>; + status = "disabled"; + }; + + ane2_dart1: iommu@285810000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x2 0x85810000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_ane_sys_die1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ane2_dart2: iommu@285820000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x2 0x85820000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_ane_sys_die1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ane2: ane@285c04000 { + compatible = "apple,t6001-ane", "apple,ane"; + reg = <0x2 0x85c04000 0x0 0x24000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_ane_sys_cpu_die1>; + clocks = <&peripheral_clocks_die1 318>, <&peripheral_clocks_die1 319>, <&peripheral_clocks_die1 320>, <&peripheral_clocks_die1 321>; + iommus = <&ane2_dart0 0>, <&ane2_dart1 0>, <&ane2_dart2 0>; + reg-names = "engine"; + interrupt-names = "ane"; + status = "disabled"; + }; + + apr2: video-codec@311000000 { + compatible = "apple,t6000-prores", "apple,prores"; + reg = <0x3 0x11000000 0x0 0x4000>, + <0x3 0x10000000 0x0 0x1000000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_scodec_die1>; + iommus = <&apr2_dart 0>; + reg-names = "core", "wrapper"; + status = "disabled"; + }; + + apr2_dart: iommu@311008000 { + compatible = "apple,t8110-dart"; + reg = <0x3 0x11008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_scodec_die1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + jpeg2: jpeg@409000000 { + compatible = "apple,t6000-jpeg", "apple,jpeg"; + reg = <0x4 0x09000000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg_die1>; + clocks = <&peripheral_clocks_die1 354>, <&peripheral_clocks_die1 355>; + iommus = <&jpeg2_dart 0>; + status = "disabled"; + }; + + jpeg2_dart: iommu@409004000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x4 0x09004000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg_die1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + jpeg3: jpeg@409008000 { + compatible = "apple,t6000-jpeg", "apple,jpeg"; + reg = <0x4 0x09008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg_die1>; + clocks = <&peripheral_clocks_die1 354>, <&peripheral_clocks_die1 355>; + iommus = <&jpeg3_dart 0>; + status = "disabled"; + }; + + jpeg3_dart: iommu@40900c000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x4 0x0900c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_jpg_die1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + scaler2: scaler@40b000000 { + compatible = "apple,t6000-scaler", "apple,scaler"; + reg = <0x4 0x0b000000 0x0 0x28000>, + <0x4 0x0b210000 0x0 0x4000>, + <0x4 0x0b204000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + ; + power-domains = <&ps_msr0_die1>, <&ps_msr0_ase_core_die1>; + clocks = <&peripheral_clocks_die1 356>; + iommus = <&scaler2_dart 0>, <&scaler2_dart 1>; + resets = <&ps_msr0_die1>; + status = "disabled"; + }; + + scaler2_dart: iommu@40b200000 { + compatible = "apple,t8110-dart"; + reg = <0x4 0x0b200000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_msr0_die1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ave2_dma: dma-controller@40d020000 { + compatible = "apple,t6000-ave-dma", "apple,ave-dma"; + reg = <0x4 0x0d020000 0x0 0x4000>, + <0x4 0x0d044000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc_sys_die1>; + status = "disabled"; + }; + + ave2_dart1: iommu@40d030000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x4 0x0d030000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc_sys_die1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ave2_dart0: iommu@40d040000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x4 0x0d040000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc_sys_die1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ave2: video-codec@40d100000 { + compatible = "apple,t6000-ave"; + reg = <0x4 0x0d100000 0x0 0x45c000>, + <0x4 0x0d050000 0x0 0x8000>, + <0x4 0x0d800000 0x0 0x800000>, + <0x2 0x8e588000 0x0 0x24>, + <0x4 0x0c000000 0x0 0x1000000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + ; + power-domains = <&ps_venc_dma_die1>, <&ps_venc_pipe4_die1>, <&ps_venc_pipe5_die1>, <&ps_venc_me0_die1>, <&ps_venc_me1_die1>; + clocks = <&peripheral_clocks_die1 350>; + iommus = <&ave2_dart0 0>, <&ave2_dart1 0>; + reg-names = "codec", "mailbox", "coproc", "pmgr", "pio"; + power-domain-names = "dma", "pipe4", "pipe5", "me0", "me1"; + status = "disabled"; + }; + + apr3: video-codec@489000000 { + compatible = "apple,t6000-prores", "apple,prores"; + reg = <0x4 0x89000000 0x0 0x4000>, + <0x4 0x88000000 0x0 0x1000000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_prores_die1>; + iommus = <&apr3_dart 0>; + reg-names = "core", "wrapper"; + status = "disabled"; + }; + + apr3_dart: iommu@489008000 { + compatible = "apple,t8110-dart"; + reg = <0x4 0x89008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_prores_die1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + scaler3: scaler@505000000 { + compatible = "apple,t6000-scaler", "apple,scaler"; + reg = <0x5 0x05000000 0x0 0x28000>, + <0x5 0x05210000 0x0 0x4000>, + <0x5 0x05204000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + ; + power-domains = <&ps_msr1_die1>, <&ps_msr1_ase_core_die1>; + clocks = <&peripheral_clocks_die1 356>; + iommus = <&scaler3_dart 0>, <&scaler3_dart 1>; + resets = <&ps_msr1_die1>; + status = "disabled"; + }; + + scaler3_dart: iommu@505200000 { + compatible = "apple,t8110-dart"; + reg = <0x5 0x05200000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_msr1_die1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ave3_dma: dma-controller@507020000 { + compatible = "apple,t6000-ave-dma", "apple,ave-dma"; + reg = <0x5 0x07020000 0x0 0x4000>, + <0x5 0x07044000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc1_sys_die1>; + status = "disabled"; + }; + + ave3_dart1: iommu@507030000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x5 0x07030000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc1_sys_die1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ave3_dart0: iommu@507040000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x5 0x07040000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_venc1_sys_die1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ave3: video-codec@507100000 { + compatible = "apple,t6000-ave"; + reg = <0x5 0x07100000 0x0 0x45c000>, + <0x5 0x07050000 0x0 0x8000>, + <0x5 0x07800000 0x0 0x800000>, + <0x2 0x8e680260 0x0 0x7dc4>, + <0x5 0x06000000 0x0 0x1000000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + ; + power-domains = <&ps_venc1_dma_die1>, <&ps_venc1_pipe4_die1>, <&ps_venc1_pipe5_die1>, <&ps_venc1_me0_die1>, <&ps_venc1_me1_die1>; + clocks = <&peripheral_clocks_die1 454>; + iommus = <&ave3_dart0 0>, <&ave3_dart1 0>; + reg-names = "codec", "mailbox", "coproc", "pmgr", "pio"; + power-domain-names = "dma", "pipe4", "pipe5", "me0", "me1"; + status = "disabled"; + }; + + ane3_dart0: iommu@509800000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x5 0x09800000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_ane1_sys_die1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ane3_dma: dma-controller@509804000 { + compatible = "apple,t6000-ane-dma", "apple,ane-dma"; + reg = <0x5 0x09804000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_ane1_sys_die1>; + status = "disabled"; + }; + + ane3_dart1: iommu@509810000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x5 0x09810000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_ane1_sys_die1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ane3_dart2: iommu@509820000 { + compatible = "apple,t6000-dart", "apple,t8110-dart"; + reg = <0x5 0x09820000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_ane1_sys_die1>; + #iommu-cells = <1>; + status = "disabled"; + }; + + ane3: ane@509c04000 { + compatible = "apple,t6001-ane", "apple,ane"; + reg = <0x5 0x09c04000 0x0 0x24000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_ane1_sys_cpu_die1>; + clocks = <&peripheral_clocks_die1 318>, <&peripheral_clocks_die1 319>, <&peripheral_clocks_die1 320>, <&peripheral_clocks_die1 321>; + iommus = <&ane3_dart0 0>, <&ane3_dart1 0>, <&ane3_dart2 0>; + reg-names = "engine"; + interrupt-names = "ane"; + status = "disabled"; + }; + + atc4_dpin0: displayport@701e50000 { + compatible = "apple,t6000-dpin", "apple,dpin"; + reg = <0x7 0x01e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + atc4_dpin1: displayport@701e58000 { + compatible = "apple,t6000-dpin", "apple,dpin"; + reg = <0x7 0x01e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + apciec4_dart: iommu@721008000 { + compatible = "apple,t8110-dart"; + reg = <0x7 0x21008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + apciec4_piodma: dma-controller@722000000 { + compatible = "apple,t6000-pciec-piodma", "apple,pciec-piodma"; + reg = <0x7 0x22000000 0x0 0x4000>, + <0x7 0x22004000 0x0 0x4000>, + <0x7 0x22008000 0x0 0x4000>, + <0x7 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&apciec4_dart 15>; + status = "disabled"; + }; + + apciec4: pcie@730000000 { + compatible = "apple,t6000-pciec"; + reg = <0x7 0x30000000 0x0 0x10000000>, + <0x7 0x20000000 0x0 0x4000>, + <0x7 0x21000000 0x0 0x8000>, + <0x7 0x20004000 0x0 0x4000>, + <0x7 0x20200000 0x0 0x4000>, + <0x7 0x21010000 0x0 0x4000>, + <0x7 0x2100c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_atc0_pcie_die1>; + device_type = "pci"; + reg-names = "config", "rc", "port0", "fabric", "debug", "ltssm", "intr2axi"; + msi-controller; + msi-parent = <&apciec4>; + msi-ranges = <&aic AIC_IRQ 1 1614 IRQ_TYPE_EDGE_RISING 32>; + iommu-map = <0 &apciec4_dart 0 0x40>; + iommu-map-mask = <0x3f>; + bus-range = <0 0x7f>; + #address-cells = <3>; + #size-cells = <2>; + ranges = <0x43000000 0x28 0x0 0x8 0x0 0x2 0x0>, + <0x2000000 0x0 0x100000 0xa 0x100000 0x0 0x3ff00000>, + <0x42000000 0x0 0x40000000 0xa 0x40000000 0x0 0x40000000>; + status = "disabled"; + }; + + atc5_dpin0: displayport@b01e50000 { + compatible = "apple,t6000-dpin", "apple,dpin"; + reg = <0xb 0x01e50000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + atc5_dpin1: displayport@b01e58000 { + compatible = "apple,t6000-dpin", "apple,dpin"; + reg = <0xb 0x01e58000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + status = "disabled"; + }; + + apciec5_dart: iommu@b21008000 { + compatible = "apple,t8110-dart"; + reg = <0xb 0x21008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + #iommu-cells = <1>; + status = "disabled"; + }; + + apciec5_piodma: dma-controller@b22000000 { + compatible = "apple,t6000-pciec-piodma", "apple,pciec-piodma"; + reg = <0xb 0x22000000 0x0 0x4000>, + <0xb 0x22004000 0x0 0x4000>, + <0xb 0x22008000 0x0 0x4000>, + <0xb 0x20008000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + iommus = <&apciec5_dart 15>; + status = "disabled"; + }; + + apciec5: pcie@b30000000 { + compatible = "apple,t6000-pciec"; + reg = <0xb 0x30000000 0x0 0x10000000>, + <0xb 0x20000000 0x0 0x4000>, + <0xb 0x21000000 0x0 0x8000>, + <0xb 0x20004000 0x0 0x4000>, + <0xb 0x20200000 0x0 0x4000>, + <0xb 0x21010000 0x0 0x4000>, + <0xb 0x2100c000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_atc1_pcie_die1>; + device_type = "pci"; + reg-names = "config", "rc", "port0", "fabric", "debug", "ltssm", "intr2axi"; + msi-controller; + msi-parent = <&apciec5>; + msi-ranges = <&aic AIC_IRQ 1 1646 IRQ_TYPE_EDGE_RISING 32>; + iommu-map = <0 &apciec5_dart 0 0x40>; + iommu-map-mask = <0x3f>; + bus-range = <0 0x7f>; + #address-cells = <3>; + #size-cells = <2>; + ranges = <0x43000000 0x2c 0x0 0xc 0x0 0x2 0x0>, + <0x2000000 0x0 0x100000 0xe 0x100000 0x0 0x3ff00000>, + <0x42000000 0x0 0x40000000 0xe 0x40000000 0x0 0x40000000>; + status = "disabled"; + }; +}; + +/ { + peripheral_clocks: clock-controller { + compatible = "apple,t6000-pmgr-clocks", "apple,pmgr-clocks"; + #clock-cells = <1>; + apple,pmgr = <&pmgr>; + status = "disabled"; + }; + + peripheral_clocks_die1: clock-controller-die1 { + compatible = "apple,t6000-pmgr-clocks", "apple,pmgr-clocks"; + #clock-cells = <1>; + apple,pmgr = <&pmgr_die1>; + status = "disabled"; + }; +}; + +&die0 { + mcc: memory-controller@200000000 { + compatible = "apple,t6000-mcc", "apple,mcc"; + reg = <0x2 0x00000000 0x0 0x1000000>, + <0x2 0x01000000 0x0 0x1000000>, + <0x2 0x02000000 0x0 0x1000000>, + <0x2 0x03000000 0x0 0x1000000>, + <0x2 0x04000000 0x0 0x1000000>, + <0x2 0x05000000 0x0 0x1000000>, + <0x2 0x06000000 0x0 0x1000000>, + <0x2 0x07000000 0x0 0x1000000>; + status = "disabled"; + }; + + soc_errors: error-handler@395440000 { + compatible = "apple,t6002-error-handler", "apple,soc-error-handler"; + reg = <0x3 0x95440000 0x0 0x40000>, + <0x2 0x8e000000 0x0 0x80000>, + <0x2 0x8e080000 0x0 0x80000>, + <0x2 0x00000000 0x0 0x1000000>, + <0x2 0x01000000 0x0 0x1000000>, + <0x2 0x02000000 0x0 0x1000000>, + <0x2 0x03000000 0x0 0x1000000>, + <0x2 0x04000000 0x0 0x1000000>, + <0x2 0x05000000 0x0 0x1000000>, + <0x2 0x06000000 0x0 0x1000000>, + <0x2 0x07000000 0x0 0x1000000>, + <0x2 0x82000000 0x0 0x4000>, + <0x3 0x04000000 0x0 0x4000>, + <0x3 0x83000000 0x0 0x4000>, + <0x4 0x02000000 0x0 0x4000>, + <0x4 0x82000000 0x0 0x4000>, + <0x5 0x02000000 0x0 0x4000>, + <0x2 0x58d00000 0x0 0x20000>, + <0x2 0x59100000 0x0 0x20000>, + <0x2 0x5ad00000 0x0 0x20000>, + <0x2 0x5b100000 0x0 0x20000>, + <0x2 0x60000000 0x0 0x20000>, + <0x2 0x60000000 0x0 0x20000>, + <0x2 0x59500000 0x0 0x20000>, + <0x2 0x5b500000 0x0 0x20000>, + <0x2 0x5b900000 0x0 0x20000>, + <0x2 0x4fa00000 0x0 0x20000>, + <0x2 0x50a00000 0x0 0x20000>, + <0x2 0x50e00000 0x0 0x20000>, + <0x2 0x4fa80000 0x0 0x20000>, + <0x2 0x50a80000 0x0 0x20000>, + <0x2 0x64300000 0x0 0x20000>, + <0x2 0x65300000 0x0 0x20000>, + <0x2 0x64700000 0x0 0x20000>, + <0x2 0x66300000 0x0 0x20000>, + <0x2 0x65700000 0x0 0x20000>, + <0x2 0x67300000 0x0 0x20000>, + <0x2 0x6a300000 0x0 0x20000>, + <0x2 0x68600000 0x0 0x20000>, + <0x2 0x6b300000 0x0 0x20000>, + <0x2 0x69600000 0x0 0x20000>, + <0x2 0x64b00000 0x0 0x20000>, + <0x2 0x66700000 0x0 0x20000>, + <0x2 0x65b00000 0x0 0x20000>, + <0x2 0x67700000 0x0 0x20000>, + <0x2 0x6a700000 0x0 0x20000>, + <0x2 0x68a00000 0x0 0x20000>, + <0x2 0x6b700000 0x0 0x20000>, + <0x2 0x69a00000 0x0 0x20000>, + <0x2 0x58900000 0x0 0x20000>, + <0x2 0x5a900000 0x0 0x20000>, + <0x2 0x5c000000 0x0 0x20000>, + <0x2 0x5d000000 0x0 0x20000>, + <0x2 0x5e900000 0x0 0x20000>, + <0x2 0x5fc00000 0x0 0x20000>, + <0x2 0x61000000 0x0 0x20000>, + <0x2 0x62000000 0x0 0x20000>, + <0x2 0x4f600000 0x0 0x20000>, + <0x2 0x50600000 0x0 0x20000>, + <0x2 0x52000000 0x0 0x20000>, + <0x2 0x53000000 0x0 0x20000>, + <0x2 0x54600000 0x0 0x20000>, + <0x2 0x55600000 0x0 0x20000>, + <0x2 0x56000000 0x0 0x20000>, + <0x2 0x57000000 0x0 0x20000>, + <0x2 0x4f032000 0x0 0x1000>, + <0x2 0x4f332000 0x0 0x1000>, + <0x2 0x50032000 0x0 0x1000>, + <0x2 0x50332000 0x0 0x1000>, + <0x2 0x54032000 0x0 0x1000>, + <0x2 0x55032000 0x0 0x1000>, + <0x2 0x54332000 0x0 0x1000>, + <0x2 0x55332000 0x0 0x1000>, + <0x2 0x58032000 0x0 0x1000>, + <0x2 0x58332000 0x0 0x1000>, + <0x2 0x58632000 0x0 0x1000>, + <0x2 0x5a032000 0x0 0x1000>, + <0x2 0x5a332000 0x0 0x1000>, + <0x2 0x5a632000 0x0 0x1000>, + <0x2 0x5e032000 0x0 0x1000>, + <0x2 0x5f632000 0x0 0x1000>, + <0x2 0x5f032000 0x0 0x1000>, + <0x2 0x5f332000 0x0 0x1000>, + <0x2 0x5e332000 0x0 0x1000>, + <0x2 0x5e632000 0x0 0x1000>, + <0x2 0x5f932000 0x0 0x1000>, + <0x2 0x64032000 0x0 0x1000>, + <0x2 0x66032000 0x0 0x1000>, + <0x2 0x65032000 0x0 0x1000>, + <0x2 0x67032000 0x0 0x1000>, + <0x2 0x6a032000 0x0 0x1000>, + <0x2 0x68032000 0x0 0x1000>, + <0x2 0x6b032000 0x0 0x1000>, + <0x2 0x69032000 0x0 0x1000>, + <0x2 0x6ab32000 0x0 0x1000>, + <0x2 0x6bb32000 0x0 0x1000>, + <0x2 0x54400000 0x0 0x4000>, + <0x2 0x55400000 0x0 0x4000>, + <0x2 0x5e700000 0x0 0x4000>, + <0x2 0x5fa00000 0x0 0x4000>, + <0x2 0x6ac00000 0x0 0x4000>, + <0x2 0x6ac80000 0x0 0x4000>, + <0x2 0x6bc00000 0x0 0x4000>, + <0x2 0x6bc80000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + status = "disabled"; + }; + + soc_events: event-log@28e080000 { + compatible = "apple,t6002-event-log", "apple,soc-event-log"; + reg = <0x2 0x8e080000 0x0 0x80000>, + <0x2 0x8e580000 0x0 0x80000>, + <0x2 0x8e680000 0x0 0x74000>, + <0x2 0x8e45c000 0x0 0x4000>, + <0x2 0x8e460000 0x0 0x4000>, + <0x2 0x8e464000 0x0 0x4000>, + <0x2 0x8e468000 0x0 0x4000>, + <0x2 0x8e46c000 0x0 0x4000>, + <0x2 0x8e458000 0x0 0x4000>, + <0x2 0x8e428000 0x0 0x8000>, + <0x2 0x8e430000 0x0 0x8000>, + <0x2 0x8e418000 0x0 0x8000>, + <0x2 0x8e410000 0x0 0x8000>, + <0x2 0x8e420000 0x0 0x8000>, + <0x2 0x8e400000 0x0 0x8000>, + <0x2 0x8e408000 0x0 0x8000>, + <0x2 0x8e438000 0x0 0x8000>, + <0x2 0x8e440000 0x0 0x8000>, + <0x2 0x92200000 0x0 0x80000>, + <0x2 0x8e000000 0x0 0x80000>, + <0x2 0x8e600000 0x0 0x4c000>, + <0x2 0x92280000 0x0 0x74000>, + <0x2 0x85838000 0x0 0x8000>, + <0x5 0x09838000 0x0 0x8000>, + <0x2 0x85868000 0x0 0x4000>, + <0x5 0x09868000 0x0 0x4000>, + <0x4 0x04e20000 0x0 0x4000>, + <0x4 0x04e20000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + status = "disabled"; + }; + + pwm1: timer-pwm@39b030000 { + compatible = "apple,t6000-pwm", "apple,pwm"; + reg = <0x3 0x9b030000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = ; + power-domains = <&ps_fpwm1>; + status = "disabled"; + }; +}; + +&die1 { + mcc_die1: memory-controller@200000000 { + compatible = "apple,t6000-mcc", "apple,mcc"; + reg = <0x2 0x00000000 0x0 0x1000000>, + <0x2 0x01000000 0x0 0x1000000>, + <0x2 0x02000000 0x0 0x1000000>, + <0x2 0x03000000 0x0 0x1000000>, + <0x2 0x04000000 0x0 0x1000000>, + <0x2 0x05000000 0x0 0x1000000>, + <0x2 0x06000000 0x0 0x1000000>, + <0x2 0x07000000 0x0 0x1000000>; + status = "disabled"; + }; + + soc_errors_die1: error-handler@200000000 { + compatible = "apple,t6002-error-handler", "apple,soc-error-handler"; + reg = <0x2 0x00000000 0x0 0x1000000>, + <0x2 0x01000000 0x0 0x1000000>, + <0x2 0x02000000 0x0 0x1000000>, + <0x2 0x03000000 0x0 0x1000000>, + <0x2 0x04000000 0x0 0x1000000>, + <0x2 0x05000000 0x0 0x1000000>, + <0x2 0x06000000 0x0 0x1000000>, + <0x2 0x07000000 0x0 0x1000000>, + <0x2 0x82000000 0x0 0x4000>, + <0x3 0x04000000 0x0 0x4000>, + <0x3 0x83000000 0x0 0x4000>, + <0x4 0x02000000 0x0 0x4000>, + <0x4 0x82000000 0x0 0x4000>, + <0x5 0x02000000 0x0 0x4000>, + <0x2 0x58d00000 0x0 0x20000>, + <0x2 0x59100000 0x0 0x20000>, + <0x2 0x5ad00000 0x0 0x20000>, + <0x2 0x5b100000 0x0 0x20000>, + <0x2 0x60000000 0x0 0x20000>, + <0x2 0x60400000 0x0 0x20000>, + <0x2 0x59500000 0x0 0x20000>, + <0x2 0x5b500000 0x0 0x20000>, + <0x2 0x5b900000 0x0 0x20000>, + <0x2 0x4fa00000 0x0 0x20000>, + <0x2 0x50a00000 0x0 0x20000>, + <0x2 0x50e00000 0x0 0x20000>, + <0x2 0x4fa80000 0x0 0x20000>, + <0x2 0x50a80000 0x0 0x20000>, + <0x2 0x64300000 0x0 0x20000>, + <0x2 0x65300000 0x0 0x20000>, + <0x2 0x64700000 0x0 0x20000>, + <0x2 0x66300000 0x0 0x20000>, + <0x2 0x65700000 0x0 0x20000>, + <0x2 0x67300000 0x0 0x20000>, + <0x2 0x6a300000 0x0 0x20000>, + <0x2 0x68600000 0x0 0x20000>, + <0x2 0x6b300000 0x0 0x20000>, + <0x2 0x69600000 0x0 0x20000>, + <0x2 0x64b00000 0x0 0x20000>, + <0x2 0x66700000 0x0 0x20000>, + <0x2 0x65b00000 0x0 0x20000>, + <0x2 0x67700000 0x0 0x20000>, + <0x2 0x6a700000 0x0 0x20000>, + <0x2 0x68a00000 0x0 0x20000>, + <0x2 0x6b700000 0x0 0x20000>, + <0x2 0x69a00000 0x0 0x20000>, + <0x2 0x58900000 0x0 0x20000>, + <0x2 0x5a900000 0x0 0x20000>, + <0x2 0x5c000000 0x0 0x20000>, + <0x2 0x5d000000 0x0 0x20000>, + <0x2 0x5e900000 0x0 0x20000>, + <0x2 0x5fc00000 0x0 0x20000>, + <0x2 0x61000000 0x0 0x20000>, + <0x2 0x62000000 0x0 0x20000>, + <0x2 0x4f600000 0x0 0x20000>, + <0x2 0x50600000 0x0 0x20000>, + <0x2 0x52000000 0x0 0x20000>, + <0x2 0x53000000 0x0 0x20000>, + <0x2 0x54600000 0x0 0x20000>, + <0x2 0x55600000 0x0 0x20000>, + <0x2 0x56000000 0x0 0x20000>, + <0x2 0x57000000 0x0 0x20000>, + <0x2 0x4f032000 0x0 0x1000>, + <0x2 0x4f332000 0x0 0x1000>, + <0x2 0x50032000 0x0 0x1000>, + <0x2 0x50332000 0x0 0x1000>, + <0x2 0x54032000 0x0 0x1000>, + <0x2 0x55032000 0x0 0x1000>, + <0x2 0x54332000 0x0 0x1000>, + <0x2 0x55332000 0x0 0x1000>, + <0x2 0x58032000 0x0 0x1000>, + <0x2 0x58332000 0x0 0x1000>, + <0x2 0x58632000 0x0 0x1000>, + <0x2 0x5a032000 0x0 0x1000>, + <0x2 0x5a332000 0x0 0x1000>, + <0x2 0x5a632000 0x0 0x1000>, + <0x2 0x5e032000 0x0 0x1000>, + <0x2 0x5f632000 0x0 0x1000>, + <0x2 0x5f032000 0x0 0x1000>, + <0x2 0x5f332000 0x0 0x1000>, + <0x2 0x5e332000 0x0 0x1000>, + <0x2 0x5e632000 0x0 0x1000>, + <0x2 0x5f932000 0x0 0x1000>, + <0x2 0x64032000 0x0 0x1000>, + <0x2 0x66032000 0x0 0x1000>, + <0x2 0x65032000 0x0 0x1000>, + <0x2 0x67032000 0x0 0x1000>, + <0x2 0x6a032000 0x0 0x1000>, + <0x2 0x68032000 0x0 0x1000>, + <0x2 0x6b032000 0x0 0x1000>, + <0x2 0x69032000 0x0 0x1000>, + <0x2 0x6ab32000 0x0 0x1000>, + <0x2 0x6bb32000 0x0 0x1000>, + <0x2 0x54400000 0x0 0x4000>, + <0x2 0x55400000 0x0 0x4000>, + <0x2 0x5e700000 0x0 0x4000>, + <0x2 0x5fa00000 0x0 0x4000>, + <0x2 0x6ac00000 0x0 0x4000>, + <0x2 0x6ac80000 0x0 0x4000>, + <0x2 0x6bc00000 0x0 0x4000>, + <0x2 0x6bc80000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + status = "disabled"; + }; + + soc_events_die1: event-log@28e080000 { + compatible = "apple,t6002-event-log", "apple,soc-event-log"; + reg = <0x2 0x8e080000 0x0 0x80000>, + <0x2 0x8e580000 0x0 0x80000>, + <0x2 0x8e680000 0x0 0x74000>, + <0x2 0x8e45c000 0x0 0x4000>, + <0x2 0x8e460000 0x0 0x4000>, + <0x2 0x8e464000 0x0 0x4000>, + <0x2 0x8e468000 0x0 0x4000>, + <0x2 0x8e46c000 0x0 0x4000>, + <0x2 0x8e458000 0x0 0x4000>, + <0x2 0x8e428000 0x0 0x8000>, + <0x2 0x8e430000 0x0 0x8000>, + <0x2 0x8e418000 0x0 0x8000>, + <0x2 0x8e410000 0x0 0x8000>, + <0x2 0x8e420000 0x0 0x8000>, + <0x2 0x8e400000 0x0 0x8000>, + <0x2 0x8e408000 0x0 0x8000>, + <0x2 0x8e438000 0x0 0x8000>, + <0x2 0x8e440000 0x0 0x8000>, + <0x2 0x92200000 0x0 0x80000>, + <0x2 0x8e000000 0x0 0x80000>, + <0x2 0x8e600000 0x0 0x4c000>, + <0x2 0x92280000 0x0 0x74000>, + <0x2 0x85838000 0x0 0x8000>, + <0x5 0x09838000 0x0 0x8000>, + <0x2 0x85868000 0x0 0x4000>, + <0x5 0x09868000 0x0 0x4000>; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + status = "disabled"; + }; +}; + +&ave { + reg = <0x4 0x0d100000 0x0 0x45c000>, + <0x4 0x0d050000 0x0 0x8000>, + <0x4 0x0d800000 0x0 0x800000>, + <0x2 0x8e588000 0x0 0x24>, + <0x4 0x0c000000 0x0 0x1000000>; + reg-names = "codec", "mailbox", "coproc", "pmgr", "pio"; + clocks = <&peripheral_clocks 350>; +}; diff --git a/arch/arm64/boot/dts/apple/t6002.dtsi b/arch/arm64/boot/dts/apple/t6002.dtsi index d34a03b374df5..cba784ce56c18 100644 --- a/arch/arm64/boot/dts/apple/t6002.dtsi +++ b/arch/arm64/boot/dts/apple/t6002.dtsi @@ -380,3 +380,7 @@ }; #include "hwmon-common.dtsi" + +#include "t6002-peripherals.dtsi" +#include "t6002-aux-spmi.dtsi" +#include "t6002-display-extra.dtsi" diff --git a/arch/arm64/boot/dts/apple/t600x-die0.dtsi b/arch/arm64/boot/dts/apple/t600x-die0.dtsi index dd36e7e53ebea..63da88e035da3 100644 --- a/arch/arm64/boot/dts/apple/t600x-die0.dtsi +++ b/arch/arm64/boot/dts/apple/t600x-die0.dtsi @@ -8,9 +8,9 @@ &SOC_NODE { - ave_dart1: iommu@20d030000 { + ave_dart1: iommu@40d030000 { compatible = "apple,t6000-dart"; - reg = <0x2 0x0d030000 0 0x4000>; + reg = <0x4 0x0d030000 0 0x4000>; interrupt-parent = <&aic>; interrupts = ; power-domains = <&ps_venc_sys>; @@ -18,9 +18,9 @@ status = "disabled"; }; - ave_dart0: iommu@20d040000 { + ave_dart0: iommu@40d040000 { compatible = "apple,t6000-dart"; - reg = <0x2 0x0d040000 0 0x4000>; + reg = <0x4 0x0d040000 0 0x4000>; interrupt-parent = <&aic>; interrupts = ; power-domains = <&ps_venc_sys>; @@ -28,11 +28,11 @@ status = "disabled"; }; - ave: video-codec@20d100000 { + ave: video-codec@40d100000 { compatible = "apple,t6000-ave"; - reg = <0x2 0x0d100000 0 0x45c000>, - <0x2 0x0d050000 0 0x8000>, - <0x2 0x0d800000 0 0x800000>; + reg = <0x4 0x0d100000 0 0x45c000>, + <0x4 0x0d050000 0 0x8000>, + <0x4 0x0d800000 0 0x800000>; reg-names = "codec", "mailbox", "coproc"; interrupt-parent = <&aic>; interrupts = , diff --git a/arch/arm64/boot/dts/apple/t600x-j314-j316-control.dtsi b/arch/arm64/boot/dts/apple/t600x-j314-j316-control.dtsi new file mode 100644 index 0000000000000..39de40bcac695 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t600x-j314-j316-control.dtsi @@ -0,0 +1,41 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Populated board control clients. Transport ownership is not transferred. */ + +&i2c4 { + sd_card_control: sd-card-control@20 { + compatible = "apple,t6000-sd-card-control", "apple,sd-card-control"; + reg = <0x20>; + status = "disabled"; + }; +}; + +&spi4 { + clocks = <&peripheral_clocks 380>; + + panel_controller: panel-timing-controller@0 { + compatible = "parade,dp855"; + reg = <0>; + status = "disabled"; + + i2c { + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + temperature-sensor@70 { + compatible = "ti,tmp103"; + reg = <0x70>; + status = "disabled"; + }; + temperature-sensor@71 { + compatible = "ti,tmp103"; + reg = <0x71>; + status = "disabled"; + }; + temperature-sensor@72 { + compatible = "ti,tmp103"; + reg = <0x72>; + status = "disabled"; + }; + }; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t600x-j314-j316.dtsi b/arch/arm64/boot/dts/apple/t600x-j314-j316.dtsi index a15e5d77a70f5..8055596720149 100644 --- a/arch/arm64/boot/dts/apple/t600x-j314-j316.dtsi +++ b/arch/arm64/boot/dts/apple/t600x-j314-j316.dtsi @@ -997,3 +997,7 @@ &pmp_report_isp_sys { status = "okay"; }; + +#ifdef APPLE_T600X_NON_ULTRA +#include "t600x-j314-j316-control.dtsi" +#endif diff --git a/arch/arm64/boot/dts/apple/t600x-pmgr.dtsi b/arch/arm64/boot/dts/apple/t600x-pmgr.dtsi index 77469a62242a6..e1abbd1c6dfe1 100644 --- a/arch/arm64/boot/dts/apple/t600x-pmgr.dtsi +++ b/arch/arm64/boot/dts/apple/t600x-pmgr.dtsi @@ -1925,8 +1925,7 @@ power-domains = <&DIE_NODE(ps_afnc5_lw0)>, <&DIE_NODE(ps_afr)>; }; - /* Seems to be disabled on shipping hardware */ -#if 0 + /* Unqualified secondary ANE power states are described but remain off. */ DIE_NODE(ps_ane1_sys): power-controller@268 { compatible = "apple,t6000-pmgr-pwrstate", "apple,pmgr-pwrstate"; reg = <0x268 4>; @@ -1934,6 +1933,7 @@ #reset-cells = <0>; label = DIE_LABEL(ane1_sys); power-domains = <&DIE_NODE(ps_afnc5_lw0)>; + status = "disabled"; }; DIE_NODE(ps_ane1_sys_cpu): power-controller@270 { @@ -1943,8 +1943,8 @@ #reset-cells = <0>; label = DIE_LABEL(ane1_sys_cpu); power-domains = <&DIE_NODE(ps_ane1_sys)>; + status = "disabled"; }; -#endif DIE_NODE(ps_venc1_dma): power-controller@8000 { compatible = "apple,t6000-pmgr-pwrstate", "apple,pmgr-pwrstate";