diff --git a/Documentation/devicetree/bindings/arm/apple.yaml b/Documentation/devicetree/bindings/arm/apple.yaml index 9156ca918cdfb..1eaf92969a77c 100644 --- a/Documentation/devicetree/bindings/arm/apple.yaml +++ b/Documentation/devicetree/bindings/arm/apple.yaml @@ -476,6 +476,11 @@ properties: items: - enum: - apple,j714c # MacBook Pro (14-inch, M5 Max, 2026) + - apple,j714s # MacBook Pro (14-inch, M5 Pro) + - apple,j716c # MacBook Pro (16-inch, M5 Max) + - apple,j716s # MacBook Pro (16-inch, M5 Pro) + - apple,j775c # Mac Studio (J775c) + - apple,j873s # Mac mini (J873s) - apple,k114c # MacBook Pro (14-inch PROLED XDR, M5 Max, 2026) - apple,k114s # MacBook Pro (14-inch PROLED XDR, M5 Pro, 2026) - apple,k116c # MacBook Pro (16-inch PROLED XDR, M5 Max, 2026) diff --git a/arch/arm64/boot/dts/apple/Makefile b/arch/arm64/boot/dts/apple/Makefile index e9144783ca301..ca58cd71aa3cc 100644 --- a/arch/arm64/boot/dts/apple/Makefile +++ b/arch/arm64/boot/dts/apple/Makefile @@ -121,9 +121,14 @@ dtb-$(CONFIG_ARCH_APPLE) += t8152-j873g.dtb # Explicit cold-ANE lead test; never select as the production board DTB. + dtb-$(CONFIG_ARCH_APPLE) += t6050-j714c.dtb +dtb-$(CONFIG_ARCH_APPLE) += t6050-j714s.dtb dtb-$(CONFIG_ARCH_APPLE) += t6050-j716c.dtb +dtb-$(CONFIG_ARCH_APPLE) += t6050-j716s.dtb +dtb-$(CONFIG_ARCH_APPLE) += t6050-j775c.dtb dtb-$(CONFIG_ARCH_APPLE) += t6050-j775d.dtb +dtb-$(CONFIG_ARCH_APPLE) += t6050-j873s.dtb dtb-$(CONFIG_ARCH_APPLE) += t6050-k114c.dtb dtb-$(CONFIG_ARCH_APPLE) += t6050-k114s.dtb dtb-$(CONFIG_ARCH_APPLE) += t6050-k116c.dtb diff --git a/arch/arm64/boot/dts/apple/t6050-die0.dtsi b/arch/arm64/boot/dts/apple/t6050-die0.dtsi index 176ff87a80e6c..5121c92f956e9 100644 --- a/arch/arm64/boot/dts/apple/t6050-die0.dtsi +++ b/arch/arm64/boot/dts/apple/t6050-die0.dtsi @@ -799,7 +799,7 @@ * the amp's V/I sense on RX0 (Linux channel 2N for TX N, 2N+1 for RX N). */ aop_audio: audio { - compatible = "apple,t6050-aop-audio"; + compatible = "apple,t6050-aop-audio", "apple,aop-audio"; dmas = <&admac_base_ns 4>, <&admac_base_ns 5>, <&admac_base_ns 0>, <&admac_base_ns 1>; dma-names = "cout", "cin", "spkr", "sense"; diff --git a/arch/arm64/boot/dts/apple/t6050-j714-j716-power-domains.dtsi b/arch/arm64/boot/dts/apple/t6050-j714-j716-power-domains.dtsi new file mode 100644 index 0000000000000..69852e2308e6e --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6050-j714-j716-power-domains.dtsi @@ -0,0 +1,943 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Hardware gate relationships only. New controllers and states stay disabled. */ + +&{/soc} { + hw_pwr_bank_2300e80000: power-management@2300e80000 { + compatible = "apple,t6050-pmgr", "apple,t8103-pmgr", "syscon", "simple-mfd"; + reg = <0x23 0xe80000 0 0x4000>; + #address-cells = <1>; + #size-cells = <1>; + status = "disabled"; + }; + hw_pwr_bank_2380600000: power-management@2380600000 { + compatible = "apple,t6050-pmgr", "apple,t8103-pmgr", "syscon", "simple-mfd"; + reg = <0x23 0x80600000 0 0x4000>; + #address-cells = <1>; + #size-cells = <1>; + status = "disabled"; + }; + hw_pwr_bank_2380608000: power-management@2380608000 { + compatible = "apple,t6050-pmgr", "apple,t8103-pmgr", "syscon", "simple-mfd"; + reg = <0x23 0x80608000 0 0x4000>; + #address-cells = <1>; + #size-cells = <1>; + status = "disabled"; + }; +}; + +&pmgr0 { + hw_pwr_280600100: power-controller@100 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x100 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "pms"; + apple,always-on; + status = "disabled"; + }; + hw_pwr_280600128: power-controller@128 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x128 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "pmp"; + apple,always-on; + power-domains = <&hw_pwr_280600100>; + status = "disabled"; + }; + hw_pwr_280600130: power-controller@130 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x130 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "pms-sram"; + apple,always-on; + power-domains = <&hw_pwr_280600100>; + status = "disabled"; + }; + hw_pwr_2806001d8: power-controller@1d8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1d8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "fab0-piogw"; + apple,always-on; + status = "disabled"; + }; + hw_pwr_2806001e0: power-controller@1e0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1e0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "fab3-soc"; + apple,always-on; + power-domains = <&hw_pwr_2806001d8>; + status = "disabled"; + }; + hw_pwr_280600208: power-controller@208 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x208 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-common"; + power-domains = <&hw_pwr_2806001e0>; + status = "disabled"; + }; + hw_pwr_280600280: power-controller@280 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x280 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-cio"; + power-domains = <&hw_pwr_280600208>; + status = "disabled"; + }; + hw_pwr_280600288: power-controller@288 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x288 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-pcie"; + power-domains = <&hw_pwr_280600208>; + status = "disabled"; + }; + hw_pwr_280600290: power-controller@290 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x290 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc1-cio"; + power-domains = <&ps_atc1_common>; + status = "disabled"; + }; + hw_pwr_280600298: power-controller@298 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x298 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc1-pcie"; + power-domains = <&ps_atc1_common>; + status = "disabled"; + }; + hw_pwr_2806002e8: power-controller@2e8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2e8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc2-cio"; + power-domains = <&ps_atc2_common>; + status = "disabled"; + }; + hw_pwr_2806002f0: power-controller@2f0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2f0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc2-pcie"; + power-domains = <&ps_atc2_common>; + status = "disabled"; + }; + hw_pwr_280600338: power-controller@338 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x338 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-cio-pcie"; + power-domains = <&hw_pwr_280600280>; + status = "disabled"; + }; + hw_pwr_280600340: power-controller@340 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x340 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-cio-usb"; + power-domains = <&hw_pwr_280600280>; + status = "disabled"; + }; + hw_pwr_280600348: power-controller@348 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x348 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-cio-auss"; + power-domains = <&ps_auss>, <&hw_pwr_280600280>; + status = "disabled"; + }; + hw_pwr_280600350: power-controller@350 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x350 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc1-cio-pcie"; + power-domains = <&hw_pwr_280600290>; + status = "disabled"; + }; + hw_pwr_280600358: power-controller@358 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x358 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc1-cio-usb"; + power-domains = <&hw_pwr_280600290>; + status = "disabled"; + }; + hw_pwr_280600360: power-controller@360 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x360 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc1-cio-auss"; + power-domains = <&ps_auss>, <&hw_pwr_280600290>; + status = "disabled"; + }; + hw_pwr_2806003f8: power-controller@3f8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x3f8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc2-cio-pcie"; + power-domains = <&hw_pwr_2806002e8>; + status = "disabled"; + }; + hw_pwr_280600400: power-controller@400 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x400 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc2-cio-usb"; + power-domains = <&hw_pwr_2806002e8>; + status = "disabled"; + }; + hw_pwr_280600408: power-controller@408 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x408 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc2-cio-auss"; + power-domains = <&ps_auss>, <&hw_pwr_2806002e8>; + status = "disabled"; + }; +}; + +&pmgr1 { + hw_pwr_280900108: power-controller@108 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x108 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "global-aux-hpd-0"; + status = "disabled"; + }; + hw_pwr_280900110: power-controller@110 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x110 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "global-aux-hpd-1"; + status = "disabled"; + }; + hw_pwr_280900178: power-controller@178 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x178 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "fab7-soc"; + apple,always-on; + power-domains = <&hw_pwr_2806001d8>; + status = "disabled"; + }; + hw_pwr_280900180: power-controller@180 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x180 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "disp-sys"; + power-domains = <&hw_pwr_280900178>; + status = "disabled"; + }; + hw_pwr_280900190: power-controller@190 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x190 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "scodec"; + power-domains = <&hw_pwr_280900178>; + status = "disabled"; + }; + hw_pwr_280900198: power-controller@198 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x198 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "disp-fe"; + power-domains = <&hw_pwr_280900180>; + status = "disabled"; + }; + hw_pwr_2809001a8: power-controller@1a8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1a8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "disp-cpu"; + power-domains = <&hw_pwr_280900198>; + status = "disabled"; + }; + hw_pwr_280900288: power-controller@288 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x288 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "fab8-soc"; + apple,always-on; + power-domains = <&hw_pwr_2806001d8>; + status = "disabled"; + }; + hw_pwr_280900290: power-controller@290 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x290 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "sio"; + apple,always-on; + power-domains = <&hw_pwr_280900288>; + status = "disabled"; + }; + hw_pwr_280900298: power-controller@298 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x298 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "sep"; + apple,always-on; + power-domains = <&hw_pwr_280900288>; + status = "disabled"; + }; + hw_pwr_2809002a0: power-controller@2a0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2a0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "sio-cpu"; + apple,always-on; + power-domains = <&hw_pwr_280900290>; + status = "disabled"; + }; + hw_pwr_2809002c0: power-controller@2c0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2c0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "i2c0"; + power-domains = <&hw_pwr_280900290>; + status = "disabled"; + }; + hw_pwr_2809002d8: power-controller@2d8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2d8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "i2c3"; + power-domains = <&hw_pwr_280900290>; + status = "disabled"; + }; + hw_pwr_2809002e0: power-controller@2e0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2e0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "i2c4"; + power-domains = <&hw_pwr_280900290>; + status = "disabled"; + }; + hw_pwr_2809002e8: power-controller@2e8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2e8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "i2c5"; + power-domains = <&hw_pwr_280900290>; + status = "disabled"; + }; + hw_pwr_2809002f0: power-controller@2f0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2f0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "i2c6"; + power-domains = <&hw_pwr_280900290>; + status = "disabled"; + }; + hw_pwr_2809002f8: power-controller@2f8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2f8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "i2c7"; + power-domains = <&hw_pwr_280900290>; + status = "disabled"; + }; + hw_pwr_280900300: power-controller@300 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x300 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "i2c8"; + power-domains = <&hw_pwr_280900290>; + status = "disabled"; + }; + hw_pwr_280900318: power-controller@318 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x318 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "aes"; + power-domains = <&hw_pwr_280900290>; + status = "disabled"; + }; + hw_pwr_280900330: power-controller@330 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x330 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "spi2"; + power-domains = <&ps_spi_p>; + status = "disabled"; + }; + hw_pwr_280900340: power-controller@340 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x340 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "spi4"; + power-domains = <&ps_spi_p>; + status = "disabled"; + }; + hw_pwr_280900398: power-controller@398 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x398 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "fab9-soc"; + apple,always-on; + power-domains = <&hw_pwr_2806001d8>; + status = "disabled"; + }; + hw_pwr_2809003a0: power-controller@3a0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x3a0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "isp-sys"; + power-domains = <&hw_pwr_280900398>; + status = "disabled"; + }; +}; + +&pmgr2 { + hw_pwr_288300058: power-controller@58 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x58 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "debug-gated"; + apple,always-on; + status = "disabled"; + }; + hw_pwr_288300098: power-controller@98 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x98 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-common-dp-0"; + status = "disabled"; + }; + hw_pwr_2883000a0: power-controller@a0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0xa0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-common-dp-1"; + status = "disabled"; + }; + hw_pwr_2883000a8: power-controller@a8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0xa8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-common-dp-2"; + status = "disabled"; + }; + hw_pwr_2883000b0: power-controller@b0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0xb0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-common-dp-3"; + status = "disabled"; + }; + hw_pwr_288300148: power-controller@148 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x148 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-usb-aon"; + status = "disabled"; + }; + hw_pwr_288300150: power-controller@150 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x150 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-usb"; + power-domains = <&hw_pwr_280600208>, <&hw_pwr_288300148>; + status = "disabled"; + }; + hw_pwr_288300158: power-controller@158 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x158 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-phymxwrap"; + power-domains = <&hw_pwr_280600208>, <&hw_pwr_288300148>; + status = "disabled"; + }; +}; + +&hw_pwr_bank_2380600000 { + hw_pwr_23806001a0: power-controller@1a0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1a0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "fab1-piogw"; + apple,always-on; + status = "disabled"; + }; + hw_pwr_23806001a8: power-controller@1a8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1a8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "fab0-soc"; + apple,always-on; + power-domains = <&hw_pwr_23806001a0>; + status = "disabled"; + }; + hw_pwr_23806001b0: power-controller@1b0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1b0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "fab1-soc"; + apple,always-on; + power-domains = <&hw_pwr_23806001a0>; + status = "disabled"; + }; + hw_pwr_23806001b8: power-controller@1b8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1b8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "fab2-soc"; + apple,always-on; + power-domains = <&hw_pwr_23806001a0>; + status = "disabled"; + }; + hw_pwr_23806001c0: power-controller@1c0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1c0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc0-sys"; + power-domains = <&hw_pwr_23806001a8>; + status = "disabled"; + }; + hw_pwr_23806001c8: power-controller@1c8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1c8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "msr0"; + power-domains = <&hw_pwr_23806001a8>; + status = "disabled"; + }; + hw_pwr_23806001d0: power-controller@1d0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1d0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "jpg"; + power-domains = <&hw_pwr_23806001a8>; + status = "disabled"; + }; + hw_pwr_23806001d8: power-controller@1d8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1d8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "avd-sys"; + power-domains = <&hw_pwr_23806001b0>; + status = "disabled"; + }; + hw_pwr_23806001e0: power-controller@1e0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1e0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "prores"; + power-domains = <&hw_pwr_23806001b0>; + status = "disabled"; + }; + hw_pwr_23806001f0: power-controller@1f0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1f0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc1-sys"; + power-domains = <&hw_pwr_23806001b8>; + status = "disabled"; + }; + hw_pwr_23806001f8: power-controller@1f8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1f8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "msr1"; + power-domains = <&hw_pwr_23806001b8>; + status = "disabled"; + }; + hw_pwr_2380600200: power-controller@200 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x200 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "msr0-ase-core"; + power-domains = <&hw_pwr_23806001c8>; + status = "disabled"; + }; + hw_pwr_2380600208: power-controller@208 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x208 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "msr1-ase-core"; + power-domains = <&hw_pwr_23806001f8>; + status = "disabled"; + }; +}; + +&hw_pwr_bank_2380608000 { + hw_pwr_2380608000: power-controller@0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc0-dma"; + power-domains = <&hw_pwr_23806001c0>; + status = "disabled"; + }; + hw_pwr_2380608008: power-controller@8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc0-pipe4"; + power-domains = <&hw_pwr_2380608000>; + status = "disabled"; + }; + hw_pwr_2380608010: power-controller@10 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x10 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc0-pipe5"; + power-domains = <&hw_pwr_2380608000>; + status = "disabled"; + }; + hw_pwr_2380608018: power-controller@18 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x18 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc0-me0"; + power-domains = <&hw_pwr_2380608000>; + status = "disabled"; + }; + hw_pwr_2380608020: power-controller@20 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x20 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc0-me1"; + power-domains = <&hw_pwr_2380608018>; + status = "disabled"; + }; + hw_pwr_2380608028: power-controller@28 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x28 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc1-dma"; + power-domains = <&hw_pwr_23806001f0>; + status = "disabled"; + }; + hw_pwr_2380608030: power-controller@30 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x30 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc1-pipe4"; + power-domains = <&hw_pwr_2380608028>; + status = "disabled"; + }; + hw_pwr_2380608038: power-controller@38 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x38 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc1-pipe5"; + power-domains = <&hw_pwr_2380608028>; + status = "disabled"; + }; + hw_pwr_2380608040: power-controller@40 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x40 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc1-me0"; + power-domains = <&hw_pwr_2380608028>; + status = "disabled"; + }; + hw_pwr_2380608048: power-controller@48 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x48 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc1-me1"; + power-domains = <&hw_pwr_2380608040>; + status = "disabled"; + }; +}; + +&hw_pwr_bank_2300e80000 { + hw_pwr_2300e80000: power-controller@0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "gpx"; + apple,always-on; + status = "disabled"; + }; + hw_pwr_2300e80100: power-controller@100 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x100 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "afr"; + apple,always-on; + status = "disabled"; + }; + hw_pwr_2300e80110: power-controller@110 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x110 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "gfx"; + power-domains = <&hw_pwr_2300e80000>, <&hw_pwr_2300e80100>; + status = "disabled"; + }; +}; + +&hw_acio0 { + power-domains = <&hw_pwr_280600348>, <&hw_pwr_280600280>, <&hw_pwr_280600338>, <&hw_pwr_280600340>; +}; + +&hw_acio1 { + power-domains = <&hw_pwr_280600360>, <&hw_pwr_280600290>, <&hw_pwr_280600350>, <&hw_pwr_280600358>; +}; + +&hw_acio2 { + power-domains = <&hw_pwr_280600408>, <&hw_pwr_2806002e8>, <&hw_pwr_2806003f8>, <&hw_pwr_280600400>; +}; + +&hw_aes { + power-domains = <&hw_pwr_280900318>; +}; + +&hw_apciec0 { + power-domains = <&hw_pwr_288300148>, <&hw_pwr_280600288>; +}; + +&hw_apciec1 { + power-domains = <&ps_atc1_usb_aon>, <&hw_pwr_280600298>; +}; + +&hw_apciec2 { + power-domains = <&ps_atc2_usb_aon>, <&hw_pwr_2806002f0>; +}; + +&hw_apr0 { + power-domains = <&hw_pwr_280900190>; +}; + +&hw_atc_phy0 { + power-domains = <&hw_pwr_288300148>, <&hw_pwr_280600208>, <&hw_pwr_288300158>, <&hw_pwr_288300098>, <&hw_pwr_2883000a0>, <&hw_pwr_2883000a8>, <&hw_pwr_2883000b0>; +}; + +&hw_avd0 { + power-domains = <&hw_pwr_23806001d8>; +}; + +&hw_ave0 { + power-domains = <&hw_pwr_23806001c0>, <&hw_pwr_2380608008>, <&hw_pwr_2380608010>, <&hw_pwr_2380608018>, <&hw_pwr_2380608020>, <&hw_pwr_2380608000>; +}; + +&hw_ave1 { + power-domains = <&hw_pwr_23806001f0>, <&hw_pwr_2380608030>, <&hw_pwr_2380608038>, <&hw_pwr_2380608040>, <&hw_pwr_2380608048>, <&hw_pwr_2380608028>; +}; + +&hw_dart_apr0 { + power-domains = <&hw_pwr_280900190>; +}; + +&hw_dart_apr1 { + power-domains = <&hw_pwr_23806001e0>; +}; + +&hw_dart_avd0 { + power-domains = <&hw_pwr_23806001d8>; +}; + +&hw_dart_ave0 { + power-domains = <&hw_pwr_23806001c0>; +}; + +&hw_dart_ave1 { + power-domains = <&hw_pwr_23806001f0>; +}; + +&hw_dart_isp0 { + power-domains = <&hw_pwr_2809003a0>; +}; + +&hw_dart_jpeg0 { + power-domains = <&hw_pwr_23806001d0>; +}; + +&hw_dart_scaler { + power-domains = <&hw_pwr_23806001c8>, <&hw_pwr_23806001f8>; +}; + +&hw_dart_scaler0 { + power-domains = <&hw_pwr_23806001c8>; +}; + +&hw_dart_scaler1 { + power-domains = <&hw_pwr_23806001f8>; +}; + +&hw_dart_sio { + power-domains = <&hw_pwr_280900290>; +}; + +&hw_dart_usb0 { + power-domains = <&hw_pwr_288300150>; +}; + +&hw_dcp { + power-domains = <&hw_pwr_280900198>, <&hw_pwr_2809001a8>; +}; + +&hw_dptx0_aux { + power-domains = <&hw_pwr_280900108>; +}; + +&hw_dptx1_aux { + power-domains = <&hw_pwr_280900110>; +}; + +&hw_gfx1_asc { + power-domains = <&hw_pwr_2300e80110>; +}; + +&hw_gfx_asc { + power-domains = <&hw_pwr_2300e80110>; +}; + +&hw_i2c0 { + power-domains = <&hw_pwr_2809002c0>; +}; + +&hw_i2c3 { + power-domains = <&hw_pwr_2809002d8>; +}; + +&hw_i2c4 { + power-domains = <&hw_pwr_2809002e0>; +}; + +&hw_i2c5 { + power-domains = <&hw_pwr_2809002e8>; +}; + +&hw_i2c6 { + power-domains = <&hw_pwr_2809002f0>; +}; + +&hw_i2c7 { + power-domains = <&hw_pwr_2809002f8>; +}; + +&hw_i2c8 { + power-domains = <&hw_pwr_280900300>; +}; + +&hw_jpeg0 { + power-domains = <&hw_pwr_23806001d0>; +}; + +&hw_jpeg1 { + power-domains = <&hw_pwr_23806001d0>; +}; + +&hw_pmp0 { + power-domains = <&hw_pwr_280600128>, <&hw_pwr_280600130>; +}; + +&hw_rsm { + power-domains = <&hw_pwr_288300058>; +}; + +&hw_scaler0 { + power-domains = <&hw_pwr_23806001c8>, <&hw_pwr_2380600200>; +}; + +&hw_scaler1 { + power-domains = <&hw_pwr_23806001f8>, <&hw_pwr_2380600208>; +}; + +&hw_sep { + power-domains = <&hw_pwr_280900298>; +}; + +&hw_sgx { + power-domains = <&hw_pwr_2300e80110>; +}; + +&hw_sio { + power-domains = <&hw_pwr_2809002a0>; +}; + +&hw_spi2 { + power-domains = <&hw_pwr_280900330>; +}; + +&hw_spi4 { + power-domains = <&hw_pwr_280900340>; +}; + +&hw_usb_drd0 { + power-domains = <&hw_pwr_288300150>; +}; diff --git a/arch/arm64/boot/dts/apple/t6050-j714c-audio-topology.dtsi b/arch/arm64/boot/dts/apple/t6050-j714c-audio-topology.dtsi new file mode 100644 index 0000000000000..3d71f5dcb667a --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6050-j714c-audio-topology.dtsi @@ -0,0 +1,73 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Codec identities only; no amplifier programming or acoustic configuration. */ + +&i2c1 { + #address-cells = <1>; + #size-cells = <0>; + + hw_audio_speaker: codec@38 { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x38>; + #sound-dai-cells = <0>; + sound-name-prefix = "Speaker 0"; + status = "disabled"; + }; + + hw_audio_speaker_left_woofer_2: codec@39 { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x39>; + #sound-dai-cells = <0>; + sound-name-prefix = "Left Woofer 2"; + status = "disabled"; + }; + + hw_audio_speaker_left_tweeter: codec@3a { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x3a>; + #sound-dai-cells = <0>; + sound-name-prefix = "Left Tweeter"; + status = "disabled"; + }; +}; + +&i2c2 { + #address-cells = <1>; + #size-cells = <0>; + + hw_jack_codec: codec@4b { + compatible = "cirrus,cs42l84"; + reg = <0x4b>; + #sound-dai-cells = <0>; + sound-name-prefix = "Jack"; + status = "disabled"; + }; +}; + +&hw_i2c3 { + #address-cells = <1>; + #size-cells = <0>; + + hw_audio_speaker_right_woofer_1: codec@3b { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x3b>; + #sound-dai-cells = <0>; + sound-name-prefix = "Right Woofer 1"; + status = "disabled"; + }; + + hw_audio_speaker_right_woofer_2: codec@3c { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x3c>; + #sound-dai-cells = <0>; + sound-name-prefix = "Right Woofer 2"; + status = "disabled"; + }; + + hw_audio_speaker_right_tweeter: codec@3d { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x3d>; + #sound-dai-cells = <0>; + sound-name-prefix = "Right Tweeter"; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t6050-j714c-peripherals.dtsi b/arch/arm64/boot/dts/apple/t6050-j714c-peripherals.dtsi new file mode 100644 index 0000000000000..5a29b9a38c599 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6050-j714c-peripherals.dtsi @@ -0,0 +1,404 @@ +#include "t6050-peripherals.dtsi" + +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Register and interrupt resources; ownership-sensitive blocks stay disabled. */ + +&{/soc} { + hw_nub_spmi1: spmi-resource@28a054000 { + compatible = "apple,t6050-spmi", "apple,spmi"; + reg = <0x2 0x8a054000 0x0 0x4000>, + <0x2 0x8a044000 0x0 0x4000>, + <0x2 0x8a040000 0x0 0x4000>; + status = "disabled"; + interrupts = ; + }; + + hw_nub_spmi4: spmi-resource@28a114000 { + compatible = "apple,t6050-spmi", "apple,spmi"; + reg = <0x2 0x8a114000 0x0 0x4000>, + <0x2 0x8a104000 0x0 0x4000>, + <0x2 0x8a100000 0x0 0x4000>; + status = "disabled"; + interrupts = ; + }; + + hw_i2c5: i2c@505024000 { + compatible = "apple,t6050-i2c", "apple,t8103-i2c"; + reg = <0x5 0x5024000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + clocks = <&clkref>; + #address-cells = <1>; + #size-cells = <0>; + }; + + hw_i2c7: i2c@50502c000 { + compatible = "apple,t6050-i2c", "apple,t8103-i2c"; + reg = <0x5 0x502c000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + clocks = <&clkref>; + #address-cells = <1>; + #size-cells = <0>; + }; + + hw_i2c3: i2c@50501c000 { + compatible = "apple,t6050-i2c", "apple,t8103-i2c"; + reg = <0x5 0x501c000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + clocks = <&clkref>; + #address-cells = <1>; + #size-cells = <0>; + }; + + hw_i2c4: i2c@505020000 { + compatible = "apple,t6050-i2c", "apple,t8103-i2c"; + reg = <0x5 0x5020000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + clocks = <&clkref>; + #address-cells = <1>; + #size-cells = <0>; + }; + + hw_spi2: spi@505108000 { + compatible = "apple,t6050-spi", "apple,spi"; + reg = <0x5 0x5108000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + }; + + hw_spi4: spi@505110000 { + compatible = "apple,t6050-spi", "apple,spi"; + reg = <0x5 0x5110000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + }; + + hw_nub_spmi_a1: spmi-resource@28a1a8000 { + compatible = "apple,t6050-spmi", "apple,spmi"; + reg = <0x2 0x8a1a8000 0x0 0x4000>, + <0x2 0x8a1a4000 0x0 0x4000>, + <0x2 0x8a1a0000 0x0 0x4000>; + status = "disabled"; + interrupts = ; + }; + + hw_dart_isp0: iommu@5828c0000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x5 0x828c0000 0x0 0xc000>, + <0x5 0x828e0000 0x0 0xc000>, + <0x5 0x82900000 0x0 0xc000>, + <0x5 0x828f4000 0x0 0x4000>, + <0x5 0x82914000 0x0 0x4000>, + <0x5 0x828d0000 0x0 0x4000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_dart_apcie1: iommu@411000000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x4 0x11000000 0x0 0x20000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_apcie1_piodma: dma-controller@411030000 { + compatible = "apple,t6050-pcie-piodma", "apple,pcie-piodma"; + reg = <0x4 0x11030000 0x0 0x4000>, + <0x4 0x11034000 0x0 0x4000>, + <0x4 0x11038000 0x0 0x4000>; + interrupts = ; + iommus = <&hw_dart_apcie1 17>; + status = "disabled"; + }; + + hw_dockchannel_mtp: dockchannel-complex@294b00000 { + compatible = "apple,t6050-dockchannel-complex", "apple,dockchannel-complex"; + reg = <0x2 0x94b00000 0x0 0x1000>, + <0x2 0x94b14000 0x0 0x1000>, + <0x2 0x94b30000 0x0 0x1000>, + <0x2 0x94b34000 0x0 0x1000>, + <0x2 0x94b28000 0x0 0x1000>, + <0x2 0x94b2c000 0x0 0x1000>; + interrupts = ; + status = "disabled"; + }; + + hw_secure_repair: secure-repair@2881e4000 { + compatible = "apple,t6050-secure-repair", "apple,secure-repair"; + reg = <0x2 0x881e4000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + ; + status = "disabled"; + }; + + hw_acio0: usb4@2a1f00000 { + compatible = "apple,t6050-usb4-nhi", "apple,usb4-nhi"; + reg = <0x2 0xa1f00000 0x0 0x100000>, + <0x2 0xa1ac0000 0x0 0x4000>, + <0x2 0xa1ac4000 0x0 0x4000>, + <0x2 0xa1ac8000 0x0 0x4000>, + <0x2 0xa1e44000 0x0 0x4000>, + <0x2 0xa1c80000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + iommus = <&hw_dart_acio0 0>, <&hw_dart_acio0 1>, <&hw_dart_acio0 2>, <&hw_dart_acio0 3>, <&hw_dart_acio0 4>, <&hw_dart_acio0 5>, <&hw_dart_acio0 6>, <&hw_dart_acio0 7>, <&hw_dart_acio0 8>, <&hw_dart_acio0 9>, <&hw_dart_acio0 10>, <&hw_dart_acio0 11>, <&hw_dart_acio0 16>, <&hw_dart_acio0 17>, <&hw_dart_acio0 18>, <&hw_dart_acio0 19>, <&hw_dart_acio0 20>, <&hw_dart_acio0 21>, <&hw_dart_acio0 22>, <&hw_dart_acio0 23>, <&hw_dart_acio0 24>, <&hw_dart_acio0 25>, <&hw_dart_acio0 26>, <&hw_dart_acio0 27>; + status = "disabled"; + }; + + hw_acio1: usb4@2a9f00000 { + compatible = "apple,t6050-usb4-nhi", "apple,usb4-nhi"; + reg = <0x2 0xa9f00000 0x0 0x100000>, + <0x2 0xa9ac0000 0x0 0x4000>, + <0x2 0xa9ac4000 0x0 0x4000>, + <0x2 0xa9ac8000 0x0 0x4000>, + <0x2 0xa9e44000 0x0 0x4000>, + <0x2 0xa9c80000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + iommus = <&hw_dart_acio1 0>, <&hw_dart_acio1 1>, <&hw_dart_acio1 2>, <&hw_dart_acio1 3>, <&hw_dart_acio1 4>, <&hw_dart_acio1 5>, <&hw_dart_acio1 6>, <&hw_dart_acio1 7>, <&hw_dart_acio1 8>, <&hw_dart_acio1 9>, <&hw_dart_acio1 10>, <&hw_dart_acio1 11>, <&hw_dart_acio1 16>, <&hw_dart_acio1 17>, <&hw_dart_acio1 18>, <&hw_dart_acio1 19>, <&hw_dart_acio1 20>, <&hw_dart_acio1 21>, <&hw_dart_acio1 22>, <&hw_dart_acio1 23>, <&hw_dart_acio1 24>, <&hw_dart_acio1 25>, <&hw_dart_acio1 26>, <&hw_dart_acio1 27>; + status = "disabled"; + }; + + hw_acio2: usb4@381f00000 { + compatible = "apple,t6050-usb4-nhi", "apple,usb4-nhi"; + reg = <0x3 0x81f00000 0x0 0x100000>, + <0x3 0x81ac0000 0x0 0x4000>, + <0x3 0x81ac4000 0x0 0x4000>, + <0x3 0x81ac8000 0x0 0x4000>, + <0x3 0x81e44000 0x0 0x4000>, + <0x3 0x81c80000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + iommus = <&hw_dart_acio2 0>, <&hw_dart_acio2 1>, <&hw_dart_acio2 2>, <&hw_dart_acio2 3>, <&hw_dart_acio2 4>, <&hw_dart_acio2 5>, <&hw_dart_acio2 6>, <&hw_dart_acio2 7>, <&hw_dart_acio2 8>, <&hw_dart_acio2 9>, <&hw_dart_acio2 10>, <&hw_dart_acio2 11>, <&hw_dart_acio2 16>, <&hw_dart_acio2 17>, <&hw_dart_acio2 18>, <&hw_dart_acio2 19>, <&hw_dart_acio2 20>, <&hw_dart_acio2 21>, <&hw_dart_acio2 22>, <&hw_dart_acio2 23>, <&hw_dart_acio2 24>, <&hw_dart_acio2 25>, <&hw_dart_acio2 26>, <&hw_dart_acio2 27>; + status = "disabled"; + }; + + hw_atc3_dpxbar: atc-dpxbar@38b24c000 { + compatible = "apple,t6050-atc-dpxbar", "apple,atc-dpxbar"; + reg = <0x3 0x8b24c000 0x0 0x4000>; + status = "disabled"; + }; + + hw_disp0: display-engine@488000000 { + compatible = "apple,t6050-display-engine", "apple,display-engine"; + reg = <0x4 0x88000000 0x0 0x4000000>, + <0x4 0x8a240000 0x0 0x10000>, + <0x4 0x8a3ac000 0x0 0x4000>, + <0x4 0x8a800000 0x0 0x800000>, + <0x2 0x86700000 0x0 0x114000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + ; + iommus = <&hw_dart_disp0 0>, <&hw_dart_disp0 16>; + status = "disabled"; + }; + + hw_dart_disp0: iommu@48a300000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x4 0x8a300000 0x0 0xc000>, + <0x4 0x8a314000 0x0 0x4000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_dcp0_expert: dcp-expert@48a3ac058 { + compatible = "apple,t6050-dcp-expert", "apple,dcp-expert"; + reg = <0x4 0x8a3ac058 0x0 0x4>, + <0x4 0x8a374000 0x0 0x40>, + <0x4 0x8a370000 0x0 0x40>, + <0x4 0x8a388000 0x0 0x40>, + <0x4 0x8a38c000 0x0 0x40>, + <0x4 0x8a394000 0x0 0x40>, + <0x4 0x8a398000 0x0 0x40>, + <0x4 0x8a39c000 0x0 0x40>, + <0x4 0x8a3a0000 0x0 0x40>, + <0x4 0x88208000 0x0 0x40>, + <0x4 0x8820c000 0x0 0x40>, + <0x4 0x88210000 0x0 0x40>, + <0x4 0x88214000 0x0 0x40>; + interrupts = ; + status = "disabled"; + }; + + hw_dcp: dcp@48ae00000 { + compatible = "apple,t6050-dcp", "apple,dcp"; + reg = <0x4 0x8ae00000 0x0 0x88000>, + <0x4 0x8a850000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + , + ; + iommus = <&hw_dart_dcp 23>, <&hw_dart_dcp 24>; + status = "disabled"; + }; + + hw_dart_dcp: iommu@48a340000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x4 0x8a340000 0x0 0x20000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_dart_disp0_isoc: iommu@48a180000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x4 0x8a180000 0x0 0x20000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_admac_disp0: dma-controller@48a140000 { + compatible = "apple,t6050-admac", "apple,admac"; + reg = <0x4 0x8a140000 0x0 0x24000>, + <0x2 0x88328000 0x0 0x8>; + interrupts = ; + iommus = <&hw_dart_disp0_isoc 30>; + status = "disabled"; + #dma-cells = <1>; + }; + + hw_admac_disp0_ced_ssw: admac-control@48a2f4000 { + compatible = "apple,t6050-admac-control", "apple,admac-control"; + reg = <0x4 0x8a2f4000 0x0 0x4000>, + <0x4 0x8a1a0000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + }; + + hw_avd0: video-decoder@2308000000 { + compatible = "apple,t6050-avd", "apple,avd"; + reg = <0x23 0x8000000 0x0 0x1404000>, + <0x23 0x88090000 0x0 0x4000>; + interrupts = , + ; + iommus = <&hw_dart_avd0 0>, <&hw_dart_avd0 1>, <&hw_dart_avd0 2>; + status = "disabled"; + }; + + hw_dart_avd0: iommu@2309020000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x23 0x9020000 0x0 0x20000>, + <0x2 0x74000000 0x0 0x4000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_admac_leap_s: dma-controller@293200000 { + compatible = "apple,t6050-admac", "apple,admac"; + reg = <0x2 0x93200000 0x0 0x34000>, + <0x2 0x88328000 0x0 0x8>; + interrupts = ; + status = "disabled"; + #dma-cells = <1>; + }; + + hw_admac_hp_mic_ec_proxy: audio-dma-proxy@4d3200000 { + compatible = "apple,t6050-audio-dma-proxy", "apple,audio-dma-proxy"; + reg = <0x4 0xd3200000 0x0 0x34000>; + status = "disabled"; + }; + + hw_admac_sllb_ec_proxy: audio-dma-proxy@4d3200000 { + compatible = "apple,t6050-audio-dma-proxy", "apple,audio-dma-proxy"; + reg = <0x4 0xd3200000 0x0 0x34000>; + status = "disabled"; + }; + + +}; diff --git a/arch/arm64/boot/dts/apple/t6050-j714c.dts b/arch/arm64/boot/dts/apple/t6050-j714c.dts index d3b0a511fe98d..0aa10c4486932 100644 --- a/arch/arm64/boot/dts/apple/t6050-j714c.dts +++ b/arch/arm64/boot/dts/apple/t6050-j714c.dts @@ -221,3 +221,10 @@ }; }; }; + +#include "t6050-j714c-peripherals.dtsi" + +#include "t6050-j714c-audio-topology.dtsi" + + +#include "t6050-j714-j716-power-domains.dtsi" diff --git a/arch/arm64/boot/dts/apple/t6050-j714s-audio-topology.dtsi b/arch/arm64/boot/dts/apple/t6050-j714s-audio-topology.dtsi new file mode 100644 index 0000000000000..3d71f5dcb667a --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6050-j714s-audio-topology.dtsi @@ -0,0 +1,73 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Codec identities only; no amplifier programming or acoustic configuration. */ + +&i2c1 { + #address-cells = <1>; + #size-cells = <0>; + + hw_audio_speaker: codec@38 { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x38>; + #sound-dai-cells = <0>; + sound-name-prefix = "Speaker 0"; + status = "disabled"; + }; + + hw_audio_speaker_left_woofer_2: codec@39 { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x39>; + #sound-dai-cells = <0>; + sound-name-prefix = "Left Woofer 2"; + status = "disabled"; + }; + + hw_audio_speaker_left_tweeter: codec@3a { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x3a>; + #sound-dai-cells = <0>; + sound-name-prefix = "Left Tweeter"; + status = "disabled"; + }; +}; + +&i2c2 { + #address-cells = <1>; + #size-cells = <0>; + + hw_jack_codec: codec@4b { + compatible = "cirrus,cs42l84"; + reg = <0x4b>; + #sound-dai-cells = <0>; + sound-name-prefix = "Jack"; + status = "disabled"; + }; +}; + +&hw_i2c3 { + #address-cells = <1>; + #size-cells = <0>; + + hw_audio_speaker_right_woofer_1: codec@3b { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x3b>; + #sound-dai-cells = <0>; + sound-name-prefix = "Right Woofer 1"; + status = "disabled"; + }; + + hw_audio_speaker_right_woofer_2: codec@3c { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x3c>; + #sound-dai-cells = <0>; + sound-name-prefix = "Right Woofer 2"; + status = "disabled"; + }; + + hw_audio_speaker_right_tweeter: codec@3d { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x3d>; + #sound-dai-cells = <0>; + sound-name-prefix = "Right Tweeter"; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t6050-j714s-peripherals.dtsi b/arch/arm64/boot/dts/apple/t6050-j714s-peripherals.dtsi new file mode 100644 index 0000000000000..f137056271c7b --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6050-j714s-peripherals.dtsi @@ -0,0 +1,386 @@ +#include "t6050-peripherals.dtsi" + +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Register and interrupt resources; ownership-sensitive blocks stay disabled. */ + +&{/soc} { + hw_i2c5: i2c@505024000 { + compatible = "apple,t6050-i2c", "apple,t8103-i2c"; + reg = <0x5 0x5024000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + clocks = <&clkref>; + #address-cells = <1>; + #size-cells = <0>; + }; + + hw_i2c7: i2c@50502c000 { + compatible = "apple,t6050-i2c", "apple,t8103-i2c"; + reg = <0x5 0x502c000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + clocks = <&clkref>; + #address-cells = <1>; + #size-cells = <0>; + }; + + hw_i2c3: i2c@50501c000 { + compatible = "apple,t6050-i2c", "apple,t8103-i2c"; + reg = <0x5 0x501c000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + clocks = <&clkref>; + #address-cells = <1>; + #size-cells = <0>; + }; + + hw_i2c4: i2c@505020000 { + compatible = "apple,t6050-i2c", "apple,t8103-i2c"; + reg = <0x5 0x5020000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + clocks = <&clkref>; + #address-cells = <1>; + #size-cells = <0>; + }; + + hw_spi2: spi@505108000 { + compatible = "apple,t6050-spi", "apple,spi"; + reg = <0x5 0x5108000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + }; + + hw_spi4: spi@505110000 { + compatible = "apple,t6050-spi", "apple,spi"; + reg = <0x5 0x5110000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + }; + + hw_nub_spmi_a1: spmi-resource@28a1a8000 { + compatible = "apple,t6050-spmi", "apple,spmi"; + reg = <0x2 0x8a1a8000 0x0 0x4000>, + <0x2 0x8a1a4000 0x0 0x4000>, + <0x2 0x8a1a0000 0x0 0x4000>; + status = "disabled"; + interrupts = ; + }; + + hw_dart_isp0: iommu@5828c0000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x5 0x828c0000 0x0 0xc000>, + <0x5 0x828e0000 0x0 0xc000>, + <0x5 0x82900000 0x0 0xc000>, + <0x5 0x828f4000 0x0 0x4000>, + <0x5 0x82914000 0x0 0x4000>, + <0x5 0x828d0000 0x0 0x4000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_dart_apcie1: iommu@411000000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x4 0x11000000 0x0 0x20000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_apcie1_piodma: dma-controller@411030000 { + compatible = "apple,t6050-pcie-piodma", "apple,pcie-piodma"; + reg = <0x4 0x11030000 0x0 0x4000>, + <0x4 0x11034000 0x0 0x4000>, + <0x4 0x11038000 0x0 0x4000>; + interrupts = ; + iommus = <&hw_dart_apcie1 17>; + status = "disabled"; + }; + + hw_dockchannel_mtp: dockchannel-complex@294b00000 { + compatible = "apple,t6050-dockchannel-complex", "apple,dockchannel-complex"; + reg = <0x2 0x94b00000 0x0 0x1000>, + <0x2 0x94b14000 0x0 0x1000>, + <0x2 0x94b30000 0x0 0x1000>, + <0x2 0x94b34000 0x0 0x1000>, + <0x2 0x94b28000 0x0 0x1000>, + <0x2 0x94b2c000 0x0 0x1000>; + interrupts = ; + status = "disabled"; + }; + + hw_secure_repair: secure-repair@2881e4000 { + compatible = "apple,t6050-secure-repair", "apple,secure-repair"; + reg = <0x2 0x881e4000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + ; + status = "disabled"; + }; + + hw_acio0: usb4@2a1f00000 { + compatible = "apple,t6050-usb4-nhi", "apple,usb4-nhi"; + reg = <0x2 0xa1f00000 0x0 0x100000>, + <0x2 0xa1ac0000 0x0 0x4000>, + <0x2 0xa1ac4000 0x0 0x4000>, + <0x2 0xa1ac8000 0x0 0x4000>, + <0x2 0xa1e44000 0x0 0x4000>, + <0x2 0xa1c80000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + iommus = <&hw_dart_acio0 0>, <&hw_dart_acio0 1>, <&hw_dart_acio0 2>, <&hw_dart_acio0 3>, <&hw_dart_acio0 4>, <&hw_dart_acio0 5>, <&hw_dart_acio0 6>, <&hw_dart_acio0 7>, <&hw_dart_acio0 8>, <&hw_dart_acio0 9>, <&hw_dart_acio0 10>, <&hw_dart_acio0 11>, <&hw_dart_acio0 16>, <&hw_dart_acio0 17>, <&hw_dart_acio0 18>, <&hw_dart_acio0 19>, <&hw_dart_acio0 20>, <&hw_dart_acio0 21>, <&hw_dart_acio0 22>, <&hw_dart_acio0 23>, <&hw_dart_acio0 24>, <&hw_dart_acio0 25>, <&hw_dart_acio0 26>, <&hw_dart_acio0 27>; + status = "disabled"; + }; + + hw_acio1: usb4@2a9f00000 { + compatible = "apple,t6050-usb4-nhi", "apple,usb4-nhi"; + reg = <0x2 0xa9f00000 0x0 0x100000>, + <0x2 0xa9ac0000 0x0 0x4000>, + <0x2 0xa9ac4000 0x0 0x4000>, + <0x2 0xa9ac8000 0x0 0x4000>, + <0x2 0xa9e44000 0x0 0x4000>, + <0x2 0xa9c80000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + iommus = <&hw_dart_acio1 0>, <&hw_dart_acio1 1>, <&hw_dart_acio1 2>, <&hw_dart_acio1 3>, <&hw_dart_acio1 4>, <&hw_dart_acio1 5>, <&hw_dart_acio1 6>, <&hw_dart_acio1 7>, <&hw_dart_acio1 8>, <&hw_dart_acio1 9>, <&hw_dart_acio1 10>, <&hw_dart_acio1 11>, <&hw_dart_acio1 16>, <&hw_dart_acio1 17>, <&hw_dart_acio1 18>, <&hw_dart_acio1 19>, <&hw_dart_acio1 20>, <&hw_dart_acio1 21>, <&hw_dart_acio1 22>, <&hw_dart_acio1 23>, <&hw_dart_acio1 24>, <&hw_dart_acio1 25>, <&hw_dart_acio1 26>, <&hw_dart_acio1 27>; + status = "disabled"; + }; + + hw_acio2: usb4@381f00000 { + compatible = "apple,t6050-usb4-nhi", "apple,usb4-nhi"; + reg = <0x3 0x81f00000 0x0 0x100000>, + <0x3 0x81ac0000 0x0 0x4000>, + <0x3 0x81ac4000 0x0 0x4000>, + <0x3 0x81ac8000 0x0 0x4000>, + <0x3 0x81e44000 0x0 0x4000>, + <0x3 0x81c80000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + iommus = <&hw_dart_acio2 0>, <&hw_dart_acio2 1>, <&hw_dart_acio2 2>, <&hw_dart_acio2 3>, <&hw_dart_acio2 4>, <&hw_dart_acio2 5>, <&hw_dart_acio2 6>, <&hw_dart_acio2 7>, <&hw_dart_acio2 8>, <&hw_dart_acio2 9>, <&hw_dart_acio2 10>, <&hw_dart_acio2 11>, <&hw_dart_acio2 16>, <&hw_dart_acio2 17>, <&hw_dart_acio2 18>, <&hw_dart_acio2 19>, <&hw_dart_acio2 20>, <&hw_dart_acio2 21>, <&hw_dart_acio2 22>, <&hw_dart_acio2 23>, <&hw_dart_acio2 24>, <&hw_dart_acio2 25>, <&hw_dart_acio2 26>, <&hw_dart_acio2 27>; + status = "disabled"; + }; + + hw_atc3_dpxbar: atc-dpxbar@38b24c000 { + compatible = "apple,t6050-atc-dpxbar", "apple,atc-dpxbar"; + reg = <0x3 0x8b24c000 0x0 0x4000>; + status = "disabled"; + }; + + hw_disp0: display-engine@488000000 { + compatible = "apple,t6050-display-engine", "apple,display-engine"; + reg = <0x4 0x88000000 0x0 0x4000000>, + <0x4 0x8a240000 0x0 0x10000>, + <0x4 0x8a3ac000 0x0 0x4000>, + <0x4 0x8a800000 0x0 0x800000>, + <0x2 0x86700000 0x0 0x114000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + ; + iommus = <&hw_dart_disp0 0>, <&hw_dart_disp0 16>; + status = "disabled"; + }; + + hw_dart_disp0: iommu@48a300000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x4 0x8a300000 0x0 0xc000>, + <0x4 0x8a314000 0x0 0x4000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_dcp0_expert: dcp-expert@48a3ac058 { + compatible = "apple,t6050-dcp-expert", "apple,dcp-expert"; + reg = <0x4 0x8a3ac058 0x0 0x4>, + <0x4 0x8a374000 0x0 0x40>, + <0x4 0x8a370000 0x0 0x40>, + <0x4 0x8a388000 0x0 0x40>, + <0x4 0x8a38c000 0x0 0x40>, + <0x4 0x8a394000 0x0 0x40>, + <0x4 0x8a398000 0x0 0x40>, + <0x4 0x8a39c000 0x0 0x40>, + <0x4 0x8a3a0000 0x0 0x40>, + <0x4 0x88208000 0x0 0x40>, + <0x4 0x8820c000 0x0 0x40>, + <0x4 0x88210000 0x0 0x40>, + <0x4 0x88214000 0x0 0x40>; + interrupts = ; + status = "disabled"; + }; + + hw_dcp: dcp@48ae00000 { + compatible = "apple,t6050-dcp", "apple,dcp"; + reg = <0x4 0x8ae00000 0x0 0x88000>, + <0x4 0x8a850000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + , + ; + iommus = <&hw_dart_dcp 23>, <&hw_dart_dcp 24>; + status = "disabled"; + }; + + hw_dart_dcp: iommu@48a340000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x4 0x8a340000 0x0 0x20000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_dart_disp0_isoc: iommu@48a180000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x4 0x8a180000 0x0 0x20000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_admac_disp0: dma-controller@48a140000 { + compatible = "apple,t6050-admac", "apple,admac"; + reg = <0x4 0x8a140000 0x0 0x24000>, + <0x2 0x88328000 0x0 0x8>; + interrupts = ; + iommus = <&hw_dart_disp0_isoc 30>; + status = "disabled"; + #dma-cells = <1>; + }; + + hw_admac_disp0_ced_ssw: admac-control@48a2f4000 { + compatible = "apple,t6050-admac-control", "apple,admac-control"; + reg = <0x4 0x8a2f4000 0x0 0x4000>, + <0x4 0x8a1a0000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + }; + + hw_avd0: video-decoder@2308000000 { + compatible = "apple,t6050-avd", "apple,avd"; + reg = <0x23 0x8000000 0x0 0x1404000>, + <0x23 0x88090000 0x0 0x4000>; + interrupts = , + ; + iommus = <&hw_dart_avd0 0>, <&hw_dart_avd0 1>, <&hw_dart_avd0 2>; + status = "disabled"; + }; + + hw_dart_avd0: iommu@2309020000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x23 0x9020000 0x0 0x20000>, + <0x2 0x74000000 0x0 0x4000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_admac_leap_s: dma-controller@293200000 { + compatible = "apple,t6050-admac", "apple,admac"; + reg = <0x2 0x93200000 0x0 0x34000>, + <0x2 0x88328000 0x0 0x8>; + interrupts = ; + status = "disabled"; + #dma-cells = <1>; + }; + + hw_admac_hp_mic_ec_proxy: audio-dma-proxy@4d3200000 { + compatible = "apple,t6050-audio-dma-proxy", "apple,audio-dma-proxy"; + reg = <0x4 0xd3200000 0x0 0x34000>; + status = "disabled"; + }; + + hw_admac_sllb_ec_proxy: audio-dma-proxy@4d3200000 { + compatible = "apple,t6050-audio-dma-proxy", "apple,audio-dma-proxy"; + reg = <0x4 0xd3200000 0x0 0x34000>; + status = "disabled"; + }; + + +}; diff --git a/arch/arm64/boot/dts/apple/t6050-j714s.dts b/arch/arm64/boot/dts/apple/t6050-j714s.dts new file mode 100644 index 0000000000000..e7b3df962c056 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6050-j714s.dts @@ -0,0 +1,76 @@ +// SPDX-License-Identifier: GPL-2.0 OR MIT +/dts-v1/; + +#include "t6050-max.dtsi" + +/ { + model = "Apple MacBook Pro (14-inch, M5 Pro)"; + compatible = "apple,j714s", "apple,t6050", "apple,arm-platform"; + chassis-type = "laptop"; + + aliases { + serial0 = &dockchannel; + }; + + chosen { + #address-cells = <2>; + #size-cells = <2>; + ranges; + stdout-path = "serial0:1500000n8"; + + framebuffer0: framebuffer@0 { + compatible = "apple,simple-framebuffer", "simple-framebuffer"; + reg = <0 0 0 0>; + status = "disabled"; + }; + }; +}; + +&dockchannel { + status = "okay"; +}; + +&cpufreq_mc0 { + status = "disabled"; +}; + +&cpufreq_mc1 { + status = "disabled"; +}; + +&cpufreq_pc { + status = "disabled"; +}; + +#include "t6050-j714s-peripherals.dtsi" + +/* Board-specific storage and SMC handoff still require qualification. */ + +&nvme { + status = "disabled"; +}; + +&ans_mbox { + status = "disabled"; +}; + +&smc { + status = "disabled"; +}; + +&smc_mbox { + status = "disabled"; +}; + +#include "t6050-j714s-audio-topology.dtsi" + + +#include "t6050-j714-j716-power-domains.dtsi" + +&pmc { + status = "disabled"; +}; + +&clpc { + status = "disabled"; +}; diff --git a/arch/arm64/boot/dts/apple/t6050-j716c-audio-topology.dtsi b/arch/arm64/boot/dts/apple/t6050-j716c-audio-topology.dtsi new file mode 100644 index 0000000000000..3d71f5dcb667a --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6050-j716c-audio-topology.dtsi @@ -0,0 +1,73 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Codec identities only; no amplifier programming or acoustic configuration. */ + +&i2c1 { + #address-cells = <1>; + #size-cells = <0>; + + hw_audio_speaker: codec@38 { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x38>; + #sound-dai-cells = <0>; + sound-name-prefix = "Speaker 0"; + status = "disabled"; + }; + + hw_audio_speaker_left_woofer_2: codec@39 { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x39>; + #sound-dai-cells = <0>; + sound-name-prefix = "Left Woofer 2"; + status = "disabled"; + }; + + hw_audio_speaker_left_tweeter: codec@3a { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x3a>; + #sound-dai-cells = <0>; + sound-name-prefix = "Left Tweeter"; + status = "disabled"; + }; +}; + +&i2c2 { + #address-cells = <1>; + #size-cells = <0>; + + hw_jack_codec: codec@4b { + compatible = "cirrus,cs42l84"; + reg = <0x4b>; + #sound-dai-cells = <0>; + sound-name-prefix = "Jack"; + status = "disabled"; + }; +}; + +&hw_i2c3 { + #address-cells = <1>; + #size-cells = <0>; + + hw_audio_speaker_right_woofer_1: codec@3b { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x3b>; + #sound-dai-cells = <0>; + sound-name-prefix = "Right Woofer 1"; + status = "disabled"; + }; + + hw_audio_speaker_right_woofer_2: codec@3c { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x3c>; + #sound-dai-cells = <0>; + sound-name-prefix = "Right Woofer 2"; + status = "disabled"; + }; + + hw_audio_speaker_right_tweeter: codec@3d { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x3d>; + #sound-dai-cells = <0>; + sound-name-prefix = "Right Tweeter"; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t6050-j716c-peripherals.dtsi b/arch/arm64/boot/dts/apple/t6050-j716c-peripherals.dtsi new file mode 100644 index 0000000000000..5a29b9a38c599 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6050-j716c-peripherals.dtsi @@ -0,0 +1,404 @@ +#include "t6050-peripherals.dtsi" + +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Register and interrupt resources; ownership-sensitive blocks stay disabled. */ + +&{/soc} { + hw_nub_spmi1: spmi-resource@28a054000 { + compatible = "apple,t6050-spmi", "apple,spmi"; + reg = <0x2 0x8a054000 0x0 0x4000>, + <0x2 0x8a044000 0x0 0x4000>, + <0x2 0x8a040000 0x0 0x4000>; + status = "disabled"; + interrupts = ; + }; + + hw_nub_spmi4: spmi-resource@28a114000 { + compatible = "apple,t6050-spmi", "apple,spmi"; + reg = <0x2 0x8a114000 0x0 0x4000>, + <0x2 0x8a104000 0x0 0x4000>, + <0x2 0x8a100000 0x0 0x4000>; + status = "disabled"; + interrupts = ; + }; + + hw_i2c5: i2c@505024000 { + compatible = "apple,t6050-i2c", "apple,t8103-i2c"; + reg = <0x5 0x5024000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + clocks = <&clkref>; + #address-cells = <1>; + #size-cells = <0>; + }; + + hw_i2c7: i2c@50502c000 { + compatible = "apple,t6050-i2c", "apple,t8103-i2c"; + reg = <0x5 0x502c000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + clocks = <&clkref>; + #address-cells = <1>; + #size-cells = <0>; + }; + + hw_i2c3: i2c@50501c000 { + compatible = "apple,t6050-i2c", "apple,t8103-i2c"; + reg = <0x5 0x501c000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + clocks = <&clkref>; + #address-cells = <1>; + #size-cells = <0>; + }; + + hw_i2c4: i2c@505020000 { + compatible = "apple,t6050-i2c", "apple,t8103-i2c"; + reg = <0x5 0x5020000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + clocks = <&clkref>; + #address-cells = <1>; + #size-cells = <0>; + }; + + hw_spi2: spi@505108000 { + compatible = "apple,t6050-spi", "apple,spi"; + reg = <0x5 0x5108000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + }; + + hw_spi4: spi@505110000 { + compatible = "apple,t6050-spi", "apple,spi"; + reg = <0x5 0x5110000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + }; + + hw_nub_spmi_a1: spmi-resource@28a1a8000 { + compatible = "apple,t6050-spmi", "apple,spmi"; + reg = <0x2 0x8a1a8000 0x0 0x4000>, + <0x2 0x8a1a4000 0x0 0x4000>, + <0x2 0x8a1a0000 0x0 0x4000>; + status = "disabled"; + interrupts = ; + }; + + hw_dart_isp0: iommu@5828c0000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x5 0x828c0000 0x0 0xc000>, + <0x5 0x828e0000 0x0 0xc000>, + <0x5 0x82900000 0x0 0xc000>, + <0x5 0x828f4000 0x0 0x4000>, + <0x5 0x82914000 0x0 0x4000>, + <0x5 0x828d0000 0x0 0x4000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_dart_apcie1: iommu@411000000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x4 0x11000000 0x0 0x20000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_apcie1_piodma: dma-controller@411030000 { + compatible = "apple,t6050-pcie-piodma", "apple,pcie-piodma"; + reg = <0x4 0x11030000 0x0 0x4000>, + <0x4 0x11034000 0x0 0x4000>, + <0x4 0x11038000 0x0 0x4000>; + interrupts = ; + iommus = <&hw_dart_apcie1 17>; + status = "disabled"; + }; + + hw_dockchannel_mtp: dockchannel-complex@294b00000 { + compatible = "apple,t6050-dockchannel-complex", "apple,dockchannel-complex"; + reg = <0x2 0x94b00000 0x0 0x1000>, + <0x2 0x94b14000 0x0 0x1000>, + <0x2 0x94b30000 0x0 0x1000>, + <0x2 0x94b34000 0x0 0x1000>, + <0x2 0x94b28000 0x0 0x1000>, + <0x2 0x94b2c000 0x0 0x1000>; + interrupts = ; + status = "disabled"; + }; + + hw_secure_repair: secure-repair@2881e4000 { + compatible = "apple,t6050-secure-repair", "apple,secure-repair"; + reg = <0x2 0x881e4000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + ; + status = "disabled"; + }; + + hw_acio0: usb4@2a1f00000 { + compatible = "apple,t6050-usb4-nhi", "apple,usb4-nhi"; + reg = <0x2 0xa1f00000 0x0 0x100000>, + <0x2 0xa1ac0000 0x0 0x4000>, + <0x2 0xa1ac4000 0x0 0x4000>, + <0x2 0xa1ac8000 0x0 0x4000>, + <0x2 0xa1e44000 0x0 0x4000>, + <0x2 0xa1c80000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + iommus = <&hw_dart_acio0 0>, <&hw_dart_acio0 1>, <&hw_dart_acio0 2>, <&hw_dart_acio0 3>, <&hw_dart_acio0 4>, <&hw_dart_acio0 5>, <&hw_dart_acio0 6>, <&hw_dart_acio0 7>, <&hw_dart_acio0 8>, <&hw_dart_acio0 9>, <&hw_dart_acio0 10>, <&hw_dart_acio0 11>, <&hw_dart_acio0 16>, <&hw_dart_acio0 17>, <&hw_dart_acio0 18>, <&hw_dart_acio0 19>, <&hw_dart_acio0 20>, <&hw_dart_acio0 21>, <&hw_dart_acio0 22>, <&hw_dart_acio0 23>, <&hw_dart_acio0 24>, <&hw_dart_acio0 25>, <&hw_dart_acio0 26>, <&hw_dart_acio0 27>; + status = "disabled"; + }; + + hw_acio1: usb4@2a9f00000 { + compatible = "apple,t6050-usb4-nhi", "apple,usb4-nhi"; + reg = <0x2 0xa9f00000 0x0 0x100000>, + <0x2 0xa9ac0000 0x0 0x4000>, + <0x2 0xa9ac4000 0x0 0x4000>, + <0x2 0xa9ac8000 0x0 0x4000>, + <0x2 0xa9e44000 0x0 0x4000>, + <0x2 0xa9c80000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + iommus = <&hw_dart_acio1 0>, <&hw_dart_acio1 1>, <&hw_dart_acio1 2>, <&hw_dart_acio1 3>, <&hw_dart_acio1 4>, <&hw_dart_acio1 5>, <&hw_dart_acio1 6>, <&hw_dart_acio1 7>, <&hw_dart_acio1 8>, <&hw_dart_acio1 9>, <&hw_dart_acio1 10>, <&hw_dart_acio1 11>, <&hw_dart_acio1 16>, <&hw_dart_acio1 17>, <&hw_dart_acio1 18>, <&hw_dart_acio1 19>, <&hw_dart_acio1 20>, <&hw_dart_acio1 21>, <&hw_dart_acio1 22>, <&hw_dart_acio1 23>, <&hw_dart_acio1 24>, <&hw_dart_acio1 25>, <&hw_dart_acio1 26>, <&hw_dart_acio1 27>; + status = "disabled"; + }; + + hw_acio2: usb4@381f00000 { + compatible = "apple,t6050-usb4-nhi", "apple,usb4-nhi"; + reg = <0x3 0x81f00000 0x0 0x100000>, + <0x3 0x81ac0000 0x0 0x4000>, + <0x3 0x81ac4000 0x0 0x4000>, + <0x3 0x81ac8000 0x0 0x4000>, + <0x3 0x81e44000 0x0 0x4000>, + <0x3 0x81c80000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + iommus = <&hw_dart_acio2 0>, <&hw_dart_acio2 1>, <&hw_dart_acio2 2>, <&hw_dart_acio2 3>, <&hw_dart_acio2 4>, <&hw_dart_acio2 5>, <&hw_dart_acio2 6>, <&hw_dart_acio2 7>, <&hw_dart_acio2 8>, <&hw_dart_acio2 9>, <&hw_dart_acio2 10>, <&hw_dart_acio2 11>, <&hw_dart_acio2 16>, <&hw_dart_acio2 17>, <&hw_dart_acio2 18>, <&hw_dart_acio2 19>, <&hw_dart_acio2 20>, <&hw_dart_acio2 21>, <&hw_dart_acio2 22>, <&hw_dart_acio2 23>, <&hw_dart_acio2 24>, <&hw_dart_acio2 25>, <&hw_dart_acio2 26>, <&hw_dart_acio2 27>; + status = "disabled"; + }; + + hw_atc3_dpxbar: atc-dpxbar@38b24c000 { + compatible = "apple,t6050-atc-dpxbar", "apple,atc-dpxbar"; + reg = <0x3 0x8b24c000 0x0 0x4000>; + status = "disabled"; + }; + + hw_disp0: display-engine@488000000 { + compatible = "apple,t6050-display-engine", "apple,display-engine"; + reg = <0x4 0x88000000 0x0 0x4000000>, + <0x4 0x8a240000 0x0 0x10000>, + <0x4 0x8a3ac000 0x0 0x4000>, + <0x4 0x8a800000 0x0 0x800000>, + <0x2 0x86700000 0x0 0x114000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + ; + iommus = <&hw_dart_disp0 0>, <&hw_dart_disp0 16>; + status = "disabled"; + }; + + hw_dart_disp0: iommu@48a300000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x4 0x8a300000 0x0 0xc000>, + <0x4 0x8a314000 0x0 0x4000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_dcp0_expert: dcp-expert@48a3ac058 { + compatible = "apple,t6050-dcp-expert", "apple,dcp-expert"; + reg = <0x4 0x8a3ac058 0x0 0x4>, + <0x4 0x8a374000 0x0 0x40>, + <0x4 0x8a370000 0x0 0x40>, + <0x4 0x8a388000 0x0 0x40>, + <0x4 0x8a38c000 0x0 0x40>, + <0x4 0x8a394000 0x0 0x40>, + <0x4 0x8a398000 0x0 0x40>, + <0x4 0x8a39c000 0x0 0x40>, + <0x4 0x8a3a0000 0x0 0x40>, + <0x4 0x88208000 0x0 0x40>, + <0x4 0x8820c000 0x0 0x40>, + <0x4 0x88210000 0x0 0x40>, + <0x4 0x88214000 0x0 0x40>; + interrupts = ; + status = "disabled"; + }; + + hw_dcp: dcp@48ae00000 { + compatible = "apple,t6050-dcp", "apple,dcp"; + reg = <0x4 0x8ae00000 0x0 0x88000>, + <0x4 0x8a850000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + , + ; + iommus = <&hw_dart_dcp 23>, <&hw_dart_dcp 24>; + status = "disabled"; + }; + + hw_dart_dcp: iommu@48a340000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x4 0x8a340000 0x0 0x20000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_dart_disp0_isoc: iommu@48a180000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x4 0x8a180000 0x0 0x20000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_admac_disp0: dma-controller@48a140000 { + compatible = "apple,t6050-admac", "apple,admac"; + reg = <0x4 0x8a140000 0x0 0x24000>, + <0x2 0x88328000 0x0 0x8>; + interrupts = ; + iommus = <&hw_dart_disp0_isoc 30>; + status = "disabled"; + #dma-cells = <1>; + }; + + hw_admac_disp0_ced_ssw: admac-control@48a2f4000 { + compatible = "apple,t6050-admac-control", "apple,admac-control"; + reg = <0x4 0x8a2f4000 0x0 0x4000>, + <0x4 0x8a1a0000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + }; + + hw_avd0: video-decoder@2308000000 { + compatible = "apple,t6050-avd", "apple,avd"; + reg = <0x23 0x8000000 0x0 0x1404000>, + <0x23 0x88090000 0x0 0x4000>; + interrupts = , + ; + iommus = <&hw_dart_avd0 0>, <&hw_dart_avd0 1>, <&hw_dart_avd0 2>; + status = "disabled"; + }; + + hw_dart_avd0: iommu@2309020000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x23 0x9020000 0x0 0x20000>, + <0x2 0x74000000 0x0 0x4000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_admac_leap_s: dma-controller@293200000 { + compatible = "apple,t6050-admac", "apple,admac"; + reg = <0x2 0x93200000 0x0 0x34000>, + <0x2 0x88328000 0x0 0x8>; + interrupts = ; + status = "disabled"; + #dma-cells = <1>; + }; + + hw_admac_hp_mic_ec_proxy: audio-dma-proxy@4d3200000 { + compatible = "apple,t6050-audio-dma-proxy", "apple,audio-dma-proxy"; + reg = <0x4 0xd3200000 0x0 0x34000>; + status = "disabled"; + }; + + hw_admac_sllb_ec_proxy: audio-dma-proxy@4d3200000 { + compatible = "apple,t6050-audio-dma-proxy", "apple,audio-dma-proxy"; + reg = <0x4 0xd3200000 0x0 0x34000>; + status = "disabled"; + }; + + +}; diff --git a/arch/arm64/boot/dts/apple/t6050-j716c.dts b/arch/arm64/boot/dts/apple/t6050-j716c.dts index da061edcb7b2f..ee84dbe584440 100644 --- a/arch/arm64/boot/dts/apple/t6050-j716c.dts +++ b/arch/arm64/boot/dts/apple/t6050-j716c.dts @@ -221,3 +221,10 @@ &smc_pcio { apple,output-commands = /bits/ 64 <0x001a000000000000 0x000f000000800000 0x011c000000010000>; }; + +#include "t6050-j716c-peripherals.dtsi" + +#include "t6050-j716c-audio-topology.dtsi" + + +#include "t6050-j714-j716-power-domains.dtsi" diff --git a/arch/arm64/boot/dts/apple/t6050-j716s-audio-topology.dtsi b/arch/arm64/boot/dts/apple/t6050-j716s-audio-topology.dtsi new file mode 100644 index 0000000000000..3d71f5dcb667a --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6050-j716s-audio-topology.dtsi @@ -0,0 +1,73 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Codec identities only; no amplifier programming or acoustic configuration. */ + +&i2c1 { + #address-cells = <1>; + #size-cells = <0>; + + hw_audio_speaker: codec@38 { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x38>; + #sound-dai-cells = <0>; + sound-name-prefix = "Speaker 0"; + status = "disabled"; + }; + + hw_audio_speaker_left_woofer_2: codec@39 { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x39>; + #sound-dai-cells = <0>; + sound-name-prefix = "Left Woofer 2"; + status = "disabled"; + }; + + hw_audio_speaker_left_tweeter: codec@3a { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x3a>; + #sound-dai-cells = <0>; + sound-name-prefix = "Left Tweeter"; + status = "disabled"; + }; +}; + +&i2c2 { + #address-cells = <1>; + #size-cells = <0>; + + hw_jack_codec: codec@4b { + compatible = "cirrus,cs42l84"; + reg = <0x4b>; + #sound-dai-cells = <0>; + sound-name-prefix = "Jack"; + status = "disabled"; + }; +}; + +&hw_i2c3 { + #address-cells = <1>; + #size-cells = <0>; + + hw_audio_speaker_right_woofer_1: codec@3b { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x3b>; + #sound-dai-cells = <0>; + sound-name-prefix = "Right Woofer 1"; + status = "disabled"; + }; + + hw_audio_speaker_right_woofer_2: codec@3c { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x3c>; + #sound-dai-cells = <0>; + sound-name-prefix = "Right Woofer 2"; + status = "disabled"; + }; + + hw_audio_speaker_right_tweeter: codec@3d { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x3d>; + #sound-dai-cells = <0>; + sound-name-prefix = "Right Tweeter"; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t6050-j716s-peripherals.dtsi b/arch/arm64/boot/dts/apple/t6050-j716s-peripherals.dtsi new file mode 100644 index 0000000000000..f137056271c7b --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6050-j716s-peripherals.dtsi @@ -0,0 +1,386 @@ +#include "t6050-peripherals.dtsi" + +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Register and interrupt resources; ownership-sensitive blocks stay disabled. */ + +&{/soc} { + hw_i2c5: i2c@505024000 { + compatible = "apple,t6050-i2c", "apple,t8103-i2c"; + reg = <0x5 0x5024000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + clocks = <&clkref>; + #address-cells = <1>; + #size-cells = <0>; + }; + + hw_i2c7: i2c@50502c000 { + compatible = "apple,t6050-i2c", "apple,t8103-i2c"; + reg = <0x5 0x502c000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + clocks = <&clkref>; + #address-cells = <1>; + #size-cells = <0>; + }; + + hw_i2c3: i2c@50501c000 { + compatible = "apple,t6050-i2c", "apple,t8103-i2c"; + reg = <0x5 0x501c000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + clocks = <&clkref>; + #address-cells = <1>; + #size-cells = <0>; + }; + + hw_i2c4: i2c@505020000 { + compatible = "apple,t6050-i2c", "apple,t8103-i2c"; + reg = <0x5 0x5020000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + clocks = <&clkref>; + #address-cells = <1>; + #size-cells = <0>; + }; + + hw_spi2: spi@505108000 { + compatible = "apple,t6050-spi", "apple,spi"; + reg = <0x5 0x5108000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + }; + + hw_spi4: spi@505110000 { + compatible = "apple,t6050-spi", "apple,spi"; + reg = <0x5 0x5110000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + }; + + hw_nub_spmi_a1: spmi-resource@28a1a8000 { + compatible = "apple,t6050-spmi", "apple,spmi"; + reg = <0x2 0x8a1a8000 0x0 0x4000>, + <0x2 0x8a1a4000 0x0 0x4000>, + <0x2 0x8a1a0000 0x0 0x4000>; + status = "disabled"; + interrupts = ; + }; + + hw_dart_isp0: iommu@5828c0000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x5 0x828c0000 0x0 0xc000>, + <0x5 0x828e0000 0x0 0xc000>, + <0x5 0x82900000 0x0 0xc000>, + <0x5 0x828f4000 0x0 0x4000>, + <0x5 0x82914000 0x0 0x4000>, + <0x5 0x828d0000 0x0 0x4000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_dart_apcie1: iommu@411000000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x4 0x11000000 0x0 0x20000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_apcie1_piodma: dma-controller@411030000 { + compatible = "apple,t6050-pcie-piodma", "apple,pcie-piodma"; + reg = <0x4 0x11030000 0x0 0x4000>, + <0x4 0x11034000 0x0 0x4000>, + <0x4 0x11038000 0x0 0x4000>; + interrupts = ; + iommus = <&hw_dart_apcie1 17>; + status = "disabled"; + }; + + hw_dockchannel_mtp: dockchannel-complex@294b00000 { + compatible = "apple,t6050-dockchannel-complex", "apple,dockchannel-complex"; + reg = <0x2 0x94b00000 0x0 0x1000>, + <0x2 0x94b14000 0x0 0x1000>, + <0x2 0x94b30000 0x0 0x1000>, + <0x2 0x94b34000 0x0 0x1000>, + <0x2 0x94b28000 0x0 0x1000>, + <0x2 0x94b2c000 0x0 0x1000>; + interrupts = ; + status = "disabled"; + }; + + hw_secure_repair: secure-repair@2881e4000 { + compatible = "apple,t6050-secure-repair", "apple,secure-repair"; + reg = <0x2 0x881e4000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + ; + status = "disabled"; + }; + + hw_acio0: usb4@2a1f00000 { + compatible = "apple,t6050-usb4-nhi", "apple,usb4-nhi"; + reg = <0x2 0xa1f00000 0x0 0x100000>, + <0x2 0xa1ac0000 0x0 0x4000>, + <0x2 0xa1ac4000 0x0 0x4000>, + <0x2 0xa1ac8000 0x0 0x4000>, + <0x2 0xa1e44000 0x0 0x4000>, + <0x2 0xa1c80000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + iommus = <&hw_dart_acio0 0>, <&hw_dart_acio0 1>, <&hw_dart_acio0 2>, <&hw_dart_acio0 3>, <&hw_dart_acio0 4>, <&hw_dart_acio0 5>, <&hw_dart_acio0 6>, <&hw_dart_acio0 7>, <&hw_dart_acio0 8>, <&hw_dart_acio0 9>, <&hw_dart_acio0 10>, <&hw_dart_acio0 11>, <&hw_dart_acio0 16>, <&hw_dart_acio0 17>, <&hw_dart_acio0 18>, <&hw_dart_acio0 19>, <&hw_dart_acio0 20>, <&hw_dart_acio0 21>, <&hw_dart_acio0 22>, <&hw_dart_acio0 23>, <&hw_dart_acio0 24>, <&hw_dart_acio0 25>, <&hw_dart_acio0 26>, <&hw_dart_acio0 27>; + status = "disabled"; + }; + + hw_acio1: usb4@2a9f00000 { + compatible = "apple,t6050-usb4-nhi", "apple,usb4-nhi"; + reg = <0x2 0xa9f00000 0x0 0x100000>, + <0x2 0xa9ac0000 0x0 0x4000>, + <0x2 0xa9ac4000 0x0 0x4000>, + <0x2 0xa9ac8000 0x0 0x4000>, + <0x2 0xa9e44000 0x0 0x4000>, + <0x2 0xa9c80000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + iommus = <&hw_dart_acio1 0>, <&hw_dart_acio1 1>, <&hw_dart_acio1 2>, <&hw_dart_acio1 3>, <&hw_dart_acio1 4>, <&hw_dart_acio1 5>, <&hw_dart_acio1 6>, <&hw_dart_acio1 7>, <&hw_dart_acio1 8>, <&hw_dart_acio1 9>, <&hw_dart_acio1 10>, <&hw_dart_acio1 11>, <&hw_dart_acio1 16>, <&hw_dart_acio1 17>, <&hw_dart_acio1 18>, <&hw_dart_acio1 19>, <&hw_dart_acio1 20>, <&hw_dart_acio1 21>, <&hw_dart_acio1 22>, <&hw_dart_acio1 23>, <&hw_dart_acio1 24>, <&hw_dart_acio1 25>, <&hw_dart_acio1 26>, <&hw_dart_acio1 27>; + status = "disabled"; + }; + + hw_acio2: usb4@381f00000 { + compatible = "apple,t6050-usb4-nhi", "apple,usb4-nhi"; + reg = <0x3 0x81f00000 0x0 0x100000>, + <0x3 0x81ac0000 0x0 0x4000>, + <0x3 0x81ac4000 0x0 0x4000>, + <0x3 0x81ac8000 0x0 0x4000>, + <0x3 0x81e44000 0x0 0x4000>, + <0x3 0x81c80000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + iommus = <&hw_dart_acio2 0>, <&hw_dart_acio2 1>, <&hw_dart_acio2 2>, <&hw_dart_acio2 3>, <&hw_dart_acio2 4>, <&hw_dart_acio2 5>, <&hw_dart_acio2 6>, <&hw_dart_acio2 7>, <&hw_dart_acio2 8>, <&hw_dart_acio2 9>, <&hw_dart_acio2 10>, <&hw_dart_acio2 11>, <&hw_dart_acio2 16>, <&hw_dart_acio2 17>, <&hw_dart_acio2 18>, <&hw_dart_acio2 19>, <&hw_dart_acio2 20>, <&hw_dart_acio2 21>, <&hw_dart_acio2 22>, <&hw_dart_acio2 23>, <&hw_dart_acio2 24>, <&hw_dart_acio2 25>, <&hw_dart_acio2 26>, <&hw_dart_acio2 27>; + status = "disabled"; + }; + + hw_atc3_dpxbar: atc-dpxbar@38b24c000 { + compatible = "apple,t6050-atc-dpxbar", "apple,atc-dpxbar"; + reg = <0x3 0x8b24c000 0x0 0x4000>; + status = "disabled"; + }; + + hw_disp0: display-engine@488000000 { + compatible = "apple,t6050-display-engine", "apple,display-engine"; + reg = <0x4 0x88000000 0x0 0x4000000>, + <0x4 0x8a240000 0x0 0x10000>, + <0x4 0x8a3ac000 0x0 0x4000>, + <0x4 0x8a800000 0x0 0x800000>, + <0x2 0x86700000 0x0 0x114000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + ; + iommus = <&hw_dart_disp0 0>, <&hw_dart_disp0 16>; + status = "disabled"; + }; + + hw_dart_disp0: iommu@48a300000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x4 0x8a300000 0x0 0xc000>, + <0x4 0x8a314000 0x0 0x4000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_dcp0_expert: dcp-expert@48a3ac058 { + compatible = "apple,t6050-dcp-expert", "apple,dcp-expert"; + reg = <0x4 0x8a3ac058 0x0 0x4>, + <0x4 0x8a374000 0x0 0x40>, + <0x4 0x8a370000 0x0 0x40>, + <0x4 0x8a388000 0x0 0x40>, + <0x4 0x8a38c000 0x0 0x40>, + <0x4 0x8a394000 0x0 0x40>, + <0x4 0x8a398000 0x0 0x40>, + <0x4 0x8a39c000 0x0 0x40>, + <0x4 0x8a3a0000 0x0 0x40>, + <0x4 0x88208000 0x0 0x40>, + <0x4 0x8820c000 0x0 0x40>, + <0x4 0x88210000 0x0 0x40>, + <0x4 0x88214000 0x0 0x40>; + interrupts = ; + status = "disabled"; + }; + + hw_dcp: dcp@48ae00000 { + compatible = "apple,t6050-dcp", "apple,dcp"; + reg = <0x4 0x8ae00000 0x0 0x88000>, + <0x4 0x8a850000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + , + ; + iommus = <&hw_dart_dcp 23>, <&hw_dart_dcp 24>; + status = "disabled"; + }; + + hw_dart_dcp: iommu@48a340000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x4 0x8a340000 0x0 0x20000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_dart_disp0_isoc: iommu@48a180000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x4 0x8a180000 0x0 0x20000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_admac_disp0: dma-controller@48a140000 { + compatible = "apple,t6050-admac", "apple,admac"; + reg = <0x4 0x8a140000 0x0 0x24000>, + <0x2 0x88328000 0x0 0x8>; + interrupts = ; + iommus = <&hw_dart_disp0_isoc 30>; + status = "disabled"; + #dma-cells = <1>; + }; + + hw_admac_disp0_ced_ssw: admac-control@48a2f4000 { + compatible = "apple,t6050-admac-control", "apple,admac-control"; + reg = <0x4 0x8a2f4000 0x0 0x4000>, + <0x4 0x8a1a0000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + }; + + hw_avd0: video-decoder@2308000000 { + compatible = "apple,t6050-avd", "apple,avd"; + reg = <0x23 0x8000000 0x0 0x1404000>, + <0x23 0x88090000 0x0 0x4000>; + interrupts = , + ; + iommus = <&hw_dart_avd0 0>, <&hw_dart_avd0 1>, <&hw_dart_avd0 2>; + status = "disabled"; + }; + + hw_dart_avd0: iommu@2309020000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x23 0x9020000 0x0 0x20000>, + <0x2 0x74000000 0x0 0x4000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_admac_leap_s: dma-controller@293200000 { + compatible = "apple,t6050-admac", "apple,admac"; + reg = <0x2 0x93200000 0x0 0x34000>, + <0x2 0x88328000 0x0 0x8>; + interrupts = ; + status = "disabled"; + #dma-cells = <1>; + }; + + hw_admac_hp_mic_ec_proxy: audio-dma-proxy@4d3200000 { + compatible = "apple,t6050-audio-dma-proxy", "apple,audio-dma-proxy"; + reg = <0x4 0xd3200000 0x0 0x34000>; + status = "disabled"; + }; + + hw_admac_sllb_ec_proxy: audio-dma-proxy@4d3200000 { + compatible = "apple,t6050-audio-dma-proxy", "apple,audio-dma-proxy"; + reg = <0x4 0xd3200000 0x0 0x34000>; + status = "disabled"; + }; + + +}; diff --git a/arch/arm64/boot/dts/apple/t6050-j716s.dts b/arch/arm64/boot/dts/apple/t6050-j716s.dts new file mode 100644 index 0000000000000..6a6501b9fee92 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6050-j716s.dts @@ -0,0 +1,76 @@ +// SPDX-License-Identifier: GPL-2.0 OR MIT +/dts-v1/; + +#include "t6050-max.dtsi" + +/ { + model = "Apple MacBook Pro (16-inch, M5 Pro)"; + compatible = "apple,j716s", "apple,t6050", "apple,arm-platform"; + chassis-type = "laptop"; + + aliases { + serial0 = &dockchannel; + }; + + chosen { + #address-cells = <2>; + #size-cells = <2>; + ranges; + stdout-path = "serial0:1500000n8"; + + framebuffer0: framebuffer@0 { + compatible = "apple,simple-framebuffer", "simple-framebuffer"; + reg = <0 0 0 0>; + status = "disabled"; + }; + }; +}; + +&dockchannel { + status = "okay"; +}; + +&cpufreq_mc0 { + status = "disabled"; +}; + +&cpufreq_mc1 { + status = "disabled"; +}; + +&cpufreq_pc { + status = "disabled"; +}; + +#include "t6050-j716s-peripherals.dtsi" + +/* Board-specific storage and SMC handoff still require qualification. */ + +&nvme { + status = "disabled"; +}; + +&ans_mbox { + status = "disabled"; +}; + +&smc { + status = "disabled"; +}; + +&smc_mbox { + status = "disabled"; +}; + +#include "t6050-j716s-audio-topology.dtsi" + + +#include "t6050-j714-j716-power-domains.dtsi" + +&pmc { + status = "disabled"; +}; + +&clpc { + status = "disabled"; +}; diff --git a/arch/arm64/boot/dts/apple/t6050-j775c-audio-topology.dtsi b/arch/arm64/boot/dts/apple/t6050-j775c-audio-topology.dtsi new file mode 100644 index 0000000000000..42a5a4622f312 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6050-j775c-audio-topology.dtsi @@ -0,0 +1,28 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Codec identities only; no amplifier programming or acoustic configuration. */ + +&i2c1 { + #address-cells = <1>; + #size-cells = <0>; + + hw_audio_speaker: codec@38 { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x38>; + #sound-dai-cells = <0>; + sound-name-prefix = "Speaker 0"; + status = "disabled"; + }; +}; + +&i2c2 { + #address-cells = <1>; + #size-cells = <0>; + + hw_jack_codec: codec@4b { + compatible = "cirrus,cs42l84"; + reg = <0x4b>; + #sound-dai-cells = <0>; + sound-name-prefix = "Jack"; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t6050-j775c-peripherals.dtsi b/arch/arm64/boot/dts/apple/t6050-j775c-peripherals.dtsi new file mode 100644 index 0000000000000..2ae0bf4614f88 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6050-j775c-peripherals.dtsi @@ -0,0 +1,451 @@ +#include "t6050-peripherals.dtsi" + +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Register and interrupt resources; ownership-sensitive blocks stay disabled. */ + +&{/soc} { + hw_nub_spmi1: spmi-resource@28a054000 { + compatible = "apple,t6050-spmi", "apple,spmi"; + reg = <0x2 0x8a054000 0x0 0x4000>, + <0x2 0x8a044000 0x0 0x4000>, + <0x2 0x8a040000 0x0 0x4000>; + status = "disabled"; + interrupts = ; + }; + + hw_nub_spmi4: spmi-resource@28a114000 { + compatible = "apple,t6050-spmi", "apple,spmi"; + reg = <0x2 0x8a114000 0x0 0x4000>, + <0x2 0x8a104000 0x0 0x4000>, + <0x2 0x8a100000 0x0 0x4000>; + status = "disabled"; + interrupts = ; + }; + + hw_i2c4: i2c@505020000 { + compatible = "apple,t6050-i2c", "apple,t8103-i2c"; + reg = <0x5 0x5020000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + clocks = <&clkref>; + #address-cells = <1>; + #size-cells = <0>; + }; + + hw_i2c5: i2c@505024000 { + compatible = "apple,t6050-i2c", "apple,t8103-i2c"; + reg = <0x5 0x5024000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + clocks = <&clkref>; + #address-cells = <1>; + #size-cells = <0>; + }; + + hw_dart_apcie1: iommu@411000000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x4 0x11000000 0x0 0x20000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_apcie1_piodma: dma-controller@411030000 { + compatible = "apple,t6050-pcie-piodma", "apple,pcie-piodma"; + reg = <0x4 0x11030000 0x0 0x4000>, + <0x4 0x11034000 0x0 0x4000>, + <0x4 0x11038000 0x0 0x4000>; + interrupts = ; + iommus = <&hw_dart_apcie1 17>; + status = "disabled"; + }; + + hw_apcie2_piodma: dma-controller@412030000 { + compatible = "apple,t6050-pcie-piodma", "apple,pcie-piodma"; + reg = <0x4 0x12030000 0x0 0x4000>, + <0x4 0x12034000 0x0 0x4000>, + <0x4 0x12038000 0x0 0x4000>; + interrupts = ; + iommus = <&dart_apcie2 17>; + status = "disabled"; + }; + + hw_apcie3_piodma: dma-controller@413030000 { + compatible = "apple,t6050-pcie-piodma", "apple,pcie-piodma"; + reg = <0x4 0x13030000 0x0 0x4000>, + <0x4 0x13034000 0x0 0x4000>, + <0x4 0x13038000 0x0 0x4000>; + interrupts = ; + iommus = <&dart_apcie3 17>; + status = "disabled"; + }; + + hw_spi3: spi@50510c000 { + compatible = "apple,t6050-spi", "apple,spi"; + reg = <0x5 0x510c000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + }; + + hw_acio0: usb4@2a1f00000 { + compatible = "apple,t6050-usb4-nhi", "apple,usb4-nhi"; + reg = <0x2 0xa1f00000 0x0 0x100000>, + <0x2 0xa1ac0000 0x0 0x4000>, + <0x2 0xa1ac4000 0x0 0x4000>, + <0x2 0xa1ac8000 0x0 0x4000>, + <0x2 0xa1e44000 0x0 0x4000>, + <0x2 0xa1c80000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + iommus = <&hw_dart_acio0 0>, <&hw_dart_acio0 1>, <&hw_dart_acio0 2>, <&hw_dart_acio0 3>, <&hw_dart_acio0 4>, <&hw_dart_acio0 5>, <&hw_dart_acio0 6>, <&hw_dart_acio0 7>, <&hw_dart_acio0 8>, <&hw_dart_acio0 9>, <&hw_dart_acio0 10>, <&hw_dart_acio0 11>, <&hw_dart_acio0 16>, <&hw_dart_acio0 17>, <&hw_dart_acio0 18>, <&hw_dart_acio0 19>, <&hw_dart_acio0 20>, <&hw_dart_acio0 21>, <&hw_dart_acio0 22>, <&hw_dart_acio0 23>, <&hw_dart_acio0 24>, <&hw_dart_acio0 25>, <&hw_dart_acio0 26>, <&hw_dart_acio0 27>; + status = "disabled"; + }; + + hw_acio1: usb4@2a9f00000 { + compatible = "apple,t6050-usb4-nhi", "apple,usb4-nhi"; + reg = <0x2 0xa9f00000 0x0 0x100000>, + <0x2 0xa9ac0000 0x0 0x4000>, + <0x2 0xa9ac4000 0x0 0x4000>, + <0x2 0xa9ac8000 0x0 0x4000>, + <0x2 0xa9e44000 0x0 0x4000>, + <0x2 0xa9c80000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + iommus = <&hw_dart_acio1 0>, <&hw_dart_acio1 1>, <&hw_dart_acio1 2>, <&hw_dart_acio1 3>, <&hw_dart_acio1 4>, <&hw_dart_acio1 5>, <&hw_dart_acio1 6>, <&hw_dart_acio1 7>, <&hw_dart_acio1 8>, <&hw_dart_acio1 9>, <&hw_dart_acio1 10>, <&hw_dart_acio1 11>, <&hw_dart_acio1 16>, <&hw_dart_acio1 17>, <&hw_dart_acio1 18>, <&hw_dart_acio1 19>, <&hw_dart_acio1 20>, <&hw_dart_acio1 21>, <&hw_dart_acio1 22>, <&hw_dart_acio1 23>, <&hw_dart_acio1 24>, <&hw_dart_acio1 25>, <&hw_dart_acio1 26>, <&hw_dart_acio1 27>; + status = "disabled"; + }; + + hw_acio2: usb4@381f00000 { + compatible = "apple,t6050-usb4-nhi", "apple,usb4-nhi"; + reg = <0x3 0x81f00000 0x0 0x100000>, + <0x3 0x81ac0000 0x0 0x4000>, + <0x3 0x81ac4000 0x0 0x4000>, + <0x3 0x81ac8000 0x0 0x4000>, + <0x3 0x81e44000 0x0 0x4000>, + <0x3 0x81c80000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + iommus = <&hw_dart_acio2 0>, <&hw_dart_acio2 1>, <&hw_dart_acio2 2>, <&hw_dart_acio2 3>, <&hw_dart_acio2 4>, <&hw_dart_acio2 5>, <&hw_dart_acio2 6>, <&hw_dart_acio2 7>, <&hw_dart_acio2 8>, <&hw_dart_acio2 9>, <&hw_dart_acio2 10>, <&hw_dart_acio2 11>, <&hw_dart_acio2 16>, <&hw_dart_acio2 17>, <&hw_dart_acio2 18>, <&hw_dart_acio2 19>, <&hw_dart_acio2 20>, <&hw_dart_acio2 21>, <&hw_dart_acio2 22>, <&hw_dart_acio2 23>, <&hw_dart_acio2 24>, <&hw_dart_acio2 25>, <&hw_dart_acio2 26>, <&hw_dart_acio2 27>; + status = "disabled"; + }; + + hw_apciec3: pcie@1c80000000 { + compatible = "apple,t6050-pciec", "apple,pciec"; + reg = <0x1c 0x80000000 0x0 0x10000000>, + <0x3 0x8c034000 0x0 0x4000>, + <0x3 0x8c020000 0x0 0x8000>, + <0x3 0x8c038000 0x0 0x4000>, + <0x3 0x8c060000 0x0 0x4000>, + <0x3 0x88020000 0x0 0x4000>, + <0x3 0x8c02c000 0x0 0x4000>, + <0x3 0x8c028000 0x0 0x4000>; + interrupts = , + , + , + , + , + ; + status = "disabled"; + }; + + hw_dart_apciec3: iommu@38c000000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x3 0x8c000000 0x0 0x20000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_apciec3_piodma: dma-controller@38c068000 { + compatible = "apple,t6050-pciec-piodma", "apple,pciec-piodma"; + reg = <0x3 0x8c068000 0x0 0x4000>, + <0x3 0x8c06c000 0x0 0x4000>, + <0x3 0x8c070000 0x0 0x4000>, + <0x3 0x8c03c000 0x0 0x4000>; + interrupts = ; + iommus = <&hw_dart_apciec3 254>; + status = "disabled"; + }; + + hw_acio3: usb4@389f00000 { + compatible = "apple,t6050-usb4-nhi", "apple,usb4-nhi"; + reg = <0x3 0x89f00000 0x0 0x100000>, + <0x3 0x89ac0000 0x0 0x4000>, + <0x3 0x89ac4000 0x0 0x4000>, + <0x3 0x89ac8000 0x0 0x4000>, + <0x3 0x89e44000 0x0 0x4000>, + <0x3 0x89c80000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + iommus = <&hw_dart_acio3 0>, <&hw_dart_acio3 1>, <&hw_dart_acio3 2>, <&hw_dart_acio3 3>, <&hw_dart_acio3 4>, <&hw_dart_acio3 5>, <&hw_dart_acio3 6>, <&hw_dart_acio3 7>, <&hw_dart_acio3 8>, <&hw_dart_acio3 9>, <&hw_dart_acio3 10>, <&hw_dart_acio3 11>, <&hw_dart_acio3 16>, <&hw_dart_acio3 17>, <&hw_dart_acio3 18>, <&hw_dart_acio3 19>, <&hw_dart_acio3 20>, <&hw_dart_acio3 21>, <&hw_dart_acio3 22>, <&hw_dart_acio3 23>, <&hw_dart_acio3 24>, <&hw_dart_acio3 25>, <&hw_dart_acio3 26>, <&hw_dart_acio3 27>; + status = "disabled"; + }; + + hw_dart_acio3: iommu@389a80000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x3 0x89a80000 0x0 0xc000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_acio_cpu3: usb4-coproc@389108000 { + compatible = "apple,t6050-usb4-acio", "apple,usb4-acio"; + reg = <0x3 0x89108000 0x0 0x4000>, + <0x3 0x89100000 0x0 0x4000>; + interrupts = , + , + , + ; + status = "disabled"; + }; + + hw_atc3_dpxbar: atc-dpxbar@38b24c000 { + compatible = "apple,t6050-atc-dpxbar", "apple,atc-dpxbar"; + reg = <0x3 0x8b24c000 0x0 0x4000>; + status = "disabled"; + }; + + hw_atc3_dpin0: dp-in@389e50000 { + compatible = "apple,t6050-dp-in", "apple,dp-in"; + reg = <0x3 0x89e50000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + }; + + hw_atc3_dpin1: dp-in@389e58000 { + compatible = "apple,t6050-dp-in", "apple,dp-in"; + reg = <0x3 0x89e58000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + }; + + hw_atc3_dpin2: dp-in@389e68000 { + compatible = "apple,t6050-dp-in", "apple,dp-in"; + reg = <0x3 0x89e68000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + }; + + hw_atc3_dpin3: dp-in@389e70000 { + compatible = "apple,t6050-dp-in", "apple,dp-in"; + reg = <0x3 0x89e70000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + }; + + hw_disp0: display-engine@488000000 { + compatible = "apple,t6050-display-engine", "apple,display-engine"; + reg = <0x4 0x88000000 0x0 0x4000000>, + <0x4 0x8a240000 0x0 0x10000>, + <0x4 0x8a3ac000 0x0 0x4000>, + <0x4 0x8a800000 0x0 0x800000>, + <0x2 0x86700000 0x0 0x114000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + ; + iommus = <&hw_dart_disp0 0>, <&hw_dart_disp0 16>; + status = "disabled"; + }; + + hw_dart_disp0: iommu@48a300000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x4 0x8a300000 0x0 0xc000>, + <0x4 0x8a314000 0x0 0x4000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_dcp0_expert: dcp-expert@48a3ac058 { + compatible = "apple,t6050-dcp-expert", "apple,dcp-expert"; + reg = <0x4 0x8a3ac058 0x0 0x4>, + <0x4 0x8a374000 0x0 0x40>, + <0x4 0x8a370000 0x0 0x40>, + <0x4 0x8a388000 0x0 0x40>, + <0x4 0x8a38c000 0x0 0x40>, + <0x4 0x8a394000 0x0 0x40>, + <0x4 0x8a398000 0x0 0x40>, + <0x4 0x8a39c000 0x0 0x40>, + <0x4 0x8a3a0000 0x0 0x40>, + <0x4 0x88208000 0x0 0x40>, + <0x4 0x8820c000 0x0 0x40>, + <0x4 0x88210000 0x0 0x40>, + <0x4 0x88214000 0x0 0x40>; + interrupts = ; + status = "disabled"; + }; + + hw_dcp: dcp@48ae00000 { + compatible = "apple,t6050-dcp", "apple,dcp"; + reg = <0x4 0x8ae00000 0x0 0x88000>, + <0x4 0x8a850000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + , + ; + iommus = <&hw_dart_dcp 23>, <&hw_dart_dcp 24>; + status = "disabled"; + }; + + hw_dart_dcp: iommu@48a340000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x4 0x8a340000 0x0 0x20000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_dart_disp0_isoc: iommu@48a180000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x4 0x8a180000 0x0 0x20000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_admac_disp0: dma-controller@48a140000 { + compatible = "apple,t6050-admac", "apple,admac"; + reg = <0x4 0x8a140000 0x0 0x24000>, + <0x2 0x88328000 0x0 0x8>; + interrupts = ; + iommus = <&hw_dart_disp0_isoc 30>; + status = "disabled"; + #dma-cells = <1>; + }; + + hw_admac_disp0_ced_ssw: admac-control@48a2f4000 { + compatible = "apple,t6050-admac-control", "apple,admac-control"; + reg = <0x4 0x8a2f4000 0x0 0x4000>, + <0x4 0x8a1a0000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + }; + + hw_avd0: video-decoder@2308000000 { + compatible = "apple,t6050-avd", "apple,avd"; + reg = <0x23 0x8000000 0x0 0x1404000>, + <0x23 0x88090000 0x0 0x4000>; + interrupts = , + ; + iommus = <&hw_dart_avd0 0>, <&hw_dart_avd0 1>, <&hw_dart_avd0 2>; + status = "disabled"; + }; + + hw_dart_avd0: iommu@2309020000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x23 0x9020000 0x0 0x20000>, + <0x2 0x74000000 0x0 0x4000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + +}; diff --git a/arch/arm64/boot/dts/apple/t6050-j775c-power-domains.dtsi b/arch/arm64/boot/dts/apple/t6050-j775c-power-domains.dtsi new file mode 100644 index 0000000000000..b49fa788cd6a7 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6050-j775c-power-domains.dtsi @@ -0,0 +1,898 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Hardware gate relationships only. New controllers and states stay disabled. */ + +&{/soc} { + hw_pwr_bank_2300e80000: power-management@2300e80000 { + compatible = "apple,t6050-pmgr", "apple,t8103-pmgr", "syscon", "simple-mfd"; + reg = <0x23 0xe80000 0 0x4000>; + #address-cells = <1>; + #size-cells = <1>; + status = "disabled"; + }; + hw_pwr_bank_2380600000: power-management@2380600000 { + compatible = "apple,t6050-pmgr", "apple,t8103-pmgr", "syscon", "simple-mfd"; + reg = <0x23 0x80600000 0 0x4000>; + #address-cells = <1>; + #size-cells = <1>; + status = "disabled"; + }; + hw_pwr_bank_2380608000: power-management@2380608000 { + compatible = "apple,t6050-pmgr", "apple,t8103-pmgr", "syscon", "simple-mfd"; + reg = <0x23 0x80608000 0 0x4000>; + #address-cells = <1>; + #size-cells = <1>; + status = "disabled"; + }; +}; + +&pmgr0 { + hw_pwr_280600100: power-controller@100 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x100 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "pms"; + apple,always-on; + status = "disabled"; + }; + hw_pwr_280600128: power-controller@128 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x128 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "pmp"; + apple,always-on; + power-domains = <&hw_pwr_280600100>; + status = "disabled"; + }; + hw_pwr_280600130: power-controller@130 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x130 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "pms-sram"; + apple,always-on; + power-domains = <&hw_pwr_280600100>; + status = "disabled"; + }; + hw_pwr_2806001d8: power-controller@1d8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1d8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "fab0-piogw"; + apple,always-on; + status = "disabled"; + }; + hw_pwr_2806001e0: power-controller@1e0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1e0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "fab3-soc"; + apple,always-on; + power-domains = <&hw_pwr_2806001d8>; + status = "disabled"; + }; + hw_pwr_280600208: power-controller@208 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x208 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-common"; + power-domains = <&hw_pwr_2806001e0>; + status = "disabled"; + }; + hw_pwr_280600280: power-controller@280 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x280 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-cio"; + power-domains = <&hw_pwr_280600208>; + status = "disabled"; + }; + hw_pwr_280600288: power-controller@288 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x288 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-pcie"; + power-domains = <&hw_pwr_280600208>; + status = "disabled"; + }; + hw_pwr_280600290: power-controller@290 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x290 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc1-cio"; + power-domains = <&ps_atc1_common>; + status = "disabled"; + }; + hw_pwr_280600298: power-controller@298 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x298 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc1-pcie"; + power-domains = <&ps_atc1_common>; + status = "disabled"; + }; + hw_pwr_2806002e8: power-controller@2e8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2e8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc2-cio"; + power-domains = <&ps_atc2_common>; + status = "disabled"; + }; + hw_pwr_2806002f0: power-controller@2f0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2f0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc2-pcie"; + power-domains = <&ps_atc2_common>; + status = "disabled"; + }; + hw_pwr_280600300: power-controller@300 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x300 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc3-pcie"; + power-domains = <&ps_atc3_common>; + status = "disabled"; + }; + hw_pwr_280600338: power-controller@338 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x338 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-cio-pcie"; + power-domains = <&hw_pwr_280600280>; + status = "disabled"; + }; + hw_pwr_280600340: power-controller@340 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x340 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-cio-usb"; + power-domains = <&hw_pwr_280600280>; + status = "disabled"; + }; + hw_pwr_280600348: power-controller@348 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x348 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-cio-auss"; + power-domains = <&ps_auss>, <&hw_pwr_280600280>; + status = "disabled"; + }; + hw_pwr_280600350: power-controller@350 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x350 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc1-cio-pcie"; + power-domains = <&hw_pwr_280600290>; + status = "disabled"; + }; + hw_pwr_280600358: power-controller@358 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x358 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc1-cio-usb"; + power-domains = <&hw_pwr_280600290>; + status = "disabled"; + }; + hw_pwr_280600360: power-controller@360 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x360 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc1-cio-auss"; + power-domains = <&ps_auss>, <&hw_pwr_280600290>; + status = "disabled"; + }; + hw_pwr_2806003f8: power-controller@3f8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x3f8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc2-cio-pcie"; + power-domains = <&hw_pwr_2806002e8>; + status = "disabled"; + }; + hw_pwr_280600400: power-controller@400 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x400 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc2-cio-usb"; + power-domains = <&hw_pwr_2806002e8>; + status = "disabled"; + }; + hw_pwr_280600408: power-controller@408 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x408 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc2-cio-auss"; + power-domains = <&ps_auss>, <&hw_pwr_2806002e8>; + status = "disabled"; + }; +}; + +&pmgr1 { + hw_pwr_280900108: power-controller@108 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x108 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "global-aux-hpd-0"; + status = "disabled"; + }; + hw_pwr_280900110: power-controller@110 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x110 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "global-aux-hpd-1"; + status = "disabled"; + }; + hw_pwr_280900178: power-controller@178 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x178 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "fab7-soc"; + apple,always-on; + power-domains = <&hw_pwr_2806001d8>; + status = "disabled"; + }; + hw_pwr_280900180: power-controller@180 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x180 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "disp-sys"; + power-domains = <&hw_pwr_280900178>; + status = "disabled"; + }; + hw_pwr_280900190: power-controller@190 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x190 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "scodec"; + power-domains = <&hw_pwr_280900178>; + status = "disabled"; + }; + hw_pwr_280900198: power-controller@198 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x198 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "disp-fe"; + power-domains = <&hw_pwr_280900180>; + status = "disabled"; + }; + hw_pwr_2809001a8: power-controller@1a8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1a8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "disp-cpu"; + power-domains = <&hw_pwr_280900198>; + status = "disabled"; + }; + hw_pwr_280900288: power-controller@288 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x288 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "fab8-soc"; + apple,always-on; + power-domains = <&hw_pwr_2806001d8>; + status = "disabled"; + }; + hw_pwr_280900290: power-controller@290 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x290 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "sio"; + apple,always-on; + power-domains = <&hw_pwr_280900288>; + status = "disabled"; + }; + hw_pwr_280900298: power-controller@298 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x298 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "sep"; + apple,always-on; + power-domains = <&hw_pwr_280900288>; + status = "disabled"; + }; + hw_pwr_2809002a0: power-controller@2a0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2a0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "sio-cpu"; + apple,always-on; + power-domains = <&hw_pwr_280900290>; + status = "disabled"; + }; + hw_pwr_2809002c0: power-controller@2c0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2c0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "i2c0"; + power-domains = <&hw_pwr_280900290>; + status = "disabled"; + }; + hw_pwr_2809002e0: power-controller@2e0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2e0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "i2c4"; + power-domains = <&hw_pwr_280900290>; + status = "disabled"; + }; + hw_pwr_2809002e8: power-controller@2e8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2e8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "i2c5"; + power-domains = <&hw_pwr_280900290>; + status = "disabled"; + }; + hw_pwr_2809002f0: power-controller@2f0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2f0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "i2c6"; + power-domains = <&hw_pwr_280900290>; + status = "disabled"; + }; + hw_pwr_280900300: power-controller@300 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x300 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "i2c8"; + power-domains = <&hw_pwr_280900290>; + status = "disabled"; + }; + hw_pwr_280900318: power-controller@318 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x318 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "aes"; + power-domains = <&hw_pwr_280900290>; + status = "disabled"; + }; + hw_pwr_280900338: power-controller@338 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x338 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "spi3"; + power-domains = <&ps_spi_p>; + status = "disabled"; + }; +}; + +&pmgr2 { + hw_pwr_288300058: power-controller@58 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x58 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "debug-gated"; + apple,always-on; + status = "disabled"; + }; + hw_pwr_288300098: power-controller@98 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x98 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-common-dp-0"; + status = "disabled"; + }; + hw_pwr_2883000a0: power-controller@a0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0xa0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-common-dp-1"; + status = "disabled"; + }; + hw_pwr_2883000a8: power-controller@a8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0xa8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-common-dp-2"; + status = "disabled"; + }; + hw_pwr_2883000b0: power-controller@b0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0xb0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-common-dp-3"; + status = "disabled"; + }; + hw_pwr_288300148: power-controller@148 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x148 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-usb-aon"; + status = "disabled"; + }; + hw_pwr_288300150: power-controller@150 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x150 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-usb"; + power-domains = <&hw_pwr_280600208>, <&hw_pwr_288300148>; + status = "disabled"; + }; + hw_pwr_288300158: power-controller@158 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x158 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-phymxwrap"; + power-domains = <&hw_pwr_280600208>, <&hw_pwr_288300148>; + status = "disabled"; + }; +}; + +&hw_pwr_bank_2380600000 { + hw_pwr_23806001a0: power-controller@1a0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1a0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "fab1-piogw"; + apple,always-on; + status = "disabled"; + }; + hw_pwr_23806001a8: power-controller@1a8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1a8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "fab0-soc"; + apple,always-on; + power-domains = <&hw_pwr_23806001a0>; + status = "disabled"; + }; + hw_pwr_23806001b0: power-controller@1b0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1b0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "fab1-soc"; + apple,always-on; + power-domains = <&hw_pwr_23806001a0>; + status = "disabled"; + }; + hw_pwr_23806001b8: power-controller@1b8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1b8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "fab2-soc"; + apple,always-on; + power-domains = <&hw_pwr_23806001a0>; + status = "disabled"; + }; + hw_pwr_23806001c0: power-controller@1c0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1c0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc0-sys"; + power-domains = <&hw_pwr_23806001a8>; + status = "disabled"; + }; + hw_pwr_23806001c8: power-controller@1c8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1c8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "msr0"; + power-domains = <&hw_pwr_23806001a8>; + status = "disabled"; + }; + hw_pwr_23806001d0: power-controller@1d0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1d0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "jpg"; + power-domains = <&hw_pwr_23806001a8>; + status = "disabled"; + }; + hw_pwr_23806001d8: power-controller@1d8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1d8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "avd-sys"; + power-domains = <&hw_pwr_23806001b0>; + status = "disabled"; + }; + hw_pwr_23806001e0: power-controller@1e0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1e0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "prores"; + power-domains = <&hw_pwr_23806001b0>; + status = "disabled"; + }; + hw_pwr_23806001f0: power-controller@1f0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1f0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc1-sys"; + power-domains = <&hw_pwr_23806001b8>; + status = "disabled"; + }; + hw_pwr_23806001f8: power-controller@1f8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1f8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "msr1"; + power-domains = <&hw_pwr_23806001b8>; + status = "disabled"; + }; + hw_pwr_2380600200: power-controller@200 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x200 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "msr0-ase-core"; + power-domains = <&hw_pwr_23806001c8>; + status = "disabled"; + }; + hw_pwr_2380600208: power-controller@208 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x208 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "msr1-ase-core"; + power-domains = <&hw_pwr_23806001f8>; + status = "disabled"; + }; +}; + +&hw_pwr_bank_2380608000 { + hw_pwr_2380608000: power-controller@0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc0-dma"; + power-domains = <&hw_pwr_23806001c0>; + status = "disabled"; + }; + hw_pwr_2380608008: power-controller@8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc0-pipe4"; + power-domains = <&hw_pwr_2380608000>; + status = "disabled"; + }; + hw_pwr_2380608010: power-controller@10 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x10 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc0-pipe5"; + power-domains = <&hw_pwr_2380608000>; + status = "disabled"; + }; + hw_pwr_2380608018: power-controller@18 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x18 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc0-me0"; + power-domains = <&hw_pwr_2380608000>; + status = "disabled"; + }; + hw_pwr_2380608020: power-controller@20 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x20 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc0-me1"; + power-domains = <&hw_pwr_2380608018>; + status = "disabled"; + }; + hw_pwr_2380608028: power-controller@28 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x28 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc1-dma"; + power-domains = <&hw_pwr_23806001f0>; + status = "disabled"; + }; + hw_pwr_2380608030: power-controller@30 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x30 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc1-pipe4"; + power-domains = <&hw_pwr_2380608028>; + status = "disabled"; + }; + hw_pwr_2380608038: power-controller@38 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x38 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc1-pipe5"; + power-domains = <&hw_pwr_2380608028>; + status = "disabled"; + }; + hw_pwr_2380608040: power-controller@40 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x40 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc1-me0"; + power-domains = <&hw_pwr_2380608028>; + status = "disabled"; + }; + hw_pwr_2380608048: power-controller@48 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x48 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc1-me1"; + power-domains = <&hw_pwr_2380608040>; + status = "disabled"; + }; +}; + +&hw_pwr_bank_2300e80000 { + hw_pwr_2300e80000: power-controller@0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "gpx"; + apple,always-on; + status = "disabled"; + }; + hw_pwr_2300e80100: power-controller@100 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x100 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "afr"; + apple,always-on; + status = "disabled"; + }; + hw_pwr_2300e80110: power-controller@110 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x110 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "gfx"; + power-domains = <&hw_pwr_2300e80000>, <&hw_pwr_2300e80100>; + status = "disabled"; + }; +}; + +&hw_acio0 { + power-domains = <&hw_pwr_280600348>, <&hw_pwr_280600280>, <&hw_pwr_280600338>, <&hw_pwr_280600340>; +}; + +&hw_acio1 { + power-domains = <&hw_pwr_280600360>, <&hw_pwr_280600290>, <&hw_pwr_280600350>, <&hw_pwr_280600358>; +}; + +&hw_acio2 { + power-domains = <&hw_pwr_280600408>, <&hw_pwr_2806002e8>, <&hw_pwr_2806003f8>, <&hw_pwr_280600400>; +}; + +&hw_acio3 { + power-domains = <&ps_atc3_cio_auss>, <&ps_atc3_cio>, <&ps_atc3_cio_pcie>, <&ps_atc3_cio_usb>; +}; + +&hw_aes { + power-domains = <&hw_pwr_280900318>; +}; + +&hw_apciec0 { + power-domains = <&hw_pwr_288300148>, <&hw_pwr_280600288>; +}; + +&hw_apciec1 { + power-domains = <&ps_atc1_usb_aon>, <&hw_pwr_280600298>; +}; + +&hw_apciec2 { + power-domains = <&ps_atc2_usb_aon>, <&hw_pwr_2806002f0>; +}; + +&hw_apciec3 { + power-domains = <&ps_atc3_usb_aon>, <&hw_pwr_280600300>; +}; + +&hw_apr0 { + power-domains = <&hw_pwr_280900190>; +}; + +&hw_atc_phy0 { + power-domains = <&hw_pwr_288300148>, <&hw_pwr_280600208>, <&hw_pwr_288300158>, <&hw_pwr_288300098>, <&hw_pwr_2883000a0>, <&hw_pwr_2883000a8>, <&hw_pwr_2883000b0>; +}; + +&hw_avd0 { + power-domains = <&hw_pwr_23806001d8>; +}; + +&hw_ave0 { + power-domains = <&hw_pwr_23806001c0>, <&hw_pwr_2380608008>, <&hw_pwr_2380608010>, <&hw_pwr_2380608018>, <&hw_pwr_2380608020>, <&hw_pwr_2380608000>; +}; + +&hw_ave1 { + power-domains = <&hw_pwr_23806001f0>, <&hw_pwr_2380608030>, <&hw_pwr_2380608038>, <&hw_pwr_2380608040>, <&hw_pwr_2380608048>, <&hw_pwr_2380608028>; +}; + +&hw_dart_apr0 { + power-domains = <&hw_pwr_280900190>; +}; + +&hw_dart_apr1 { + power-domains = <&hw_pwr_23806001e0>; +}; + +&hw_dart_avd0 { + power-domains = <&hw_pwr_23806001d8>; +}; + +&hw_dart_ave0 { + power-domains = <&hw_pwr_23806001c0>; +}; + +&hw_dart_ave1 { + power-domains = <&hw_pwr_23806001f0>; +}; + +&hw_dart_jpeg0 { + power-domains = <&hw_pwr_23806001d0>; +}; + +&hw_dart_scaler { + power-domains = <&hw_pwr_23806001c8>, <&hw_pwr_23806001f8>; +}; + +&hw_dart_scaler0 { + power-domains = <&hw_pwr_23806001c8>; +}; + +&hw_dart_scaler1 { + power-domains = <&hw_pwr_23806001f8>; +}; + +&hw_dart_sio { + power-domains = <&hw_pwr_280900290>; +}; + +&hw_dart_usb0 { + power-domains = <&hw_pwr_288300150>; +}; + +&hw_dcp { + power-domains = <&hw_pwr_280900198>, <&hw_pwr_2809001a8>; +}; + +&hw_dptx0_aux { + power-domains = <&hw_pwr_280900108>; +}; + +&hw_dptx1_aux { + power-domains = <&hw_pwr_280900110>; +}; + +&hw_gfx1_asc { + power-domains = <&hw_pwr_2300e80110>; +}; + +&hw_gfx_asc { + power-domains = <&hw_pwr_2300e80110>; +}; + +&hw_i2c0 { + power-domains = <&hw_pwr_2809002c0>; +}; + +&hw_i2c4 { + power-domains = <&hw_pwr_2809002e0>; +}; + +&hw_i2c5 { + power-domains = <&hw_pwr_2809002e8>; +}; + +&hw_i2c6 { + power-domains = <&hw_pwr_2809002f0>; +}; + +&hw_i2c8 { + power-domains = <&hw_pwr_280900300>; +}; + +&hw_jpeg0 { + power-domains = <&hw_pwr_23806001d0>; +}; + +&hw_jpeg1 { + power-domains = <&hw_pwr_23806001d0>; +}; + +&hw_pmp0 { + power-domains = <&hw_pwr_280600128>, <&hw_pwr_280600130>; +}; + +&hw_rsm { + power-domains = <&hw_pwr_288300058>; +}; + +&hw_scaler0 { + power-domains = <&hw_pwr_23806001c8>, <&hw_pwr_2380600200>; +}; + +&hw_scaler1 { + power-domains = <&hw_pwr_23806001f8>, <&hw_pwr_2380600208>; +}; + +&hw_sep { + power-domains = <&hw_pwr_280900298>; +}; + +&hw_sgx { + power-domains = <&hw_pwr_2300e80110>; +}; + +&hw_sio { + power-domains = <&hw_pwr_2809002a0>; +}; + +&hw_spi3 { + power-domains = <&hw_pwr_280900338>; +}; + +&hw_usb_drd0 { + power-domains = <&hw_pwr_288300150>; +}; diff --git a/arch/arm64/boot/dts/apple/t6050-j775c.dts b/arch/arm64/boot/dts/apple/t6050-j775c.dts new file mode 100644 index 0000000000000..2c708d9636fd9 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6050-j775c.dts @@ -0,0 +1,76 @@ +// SPDX-License-Identifier: GPL-2.0 OR MIT +/dts-v1/; + +#include "t6050-max.dtsi" + +/ { + model = "Apple Mac Studio (J775c)"; + compatible = "apple,j775c", "apple,t6050", "apple,arm-platform"; + chassis-type = "desktop"; + + aliases { + serial0 = &dockchannel; + }; + + chosen { + #address-cells = <2>; + #size-cells = <2>; + ranges; + stdout-path = "serial0:1500000n8"; + + framebuffer0: framebuffer@0 { + compatible = "apple,simple-framebuffer", "simple-framebuffer"; + reg = <0 0 0 0>; + status = "disabled"; + }; + }; +}; + +&dockchannel { + status = "okay"; +}; + +&cpufreq_mc0 { + status = "disabled"; +}; + +&cpufreq_mc1 { + status = "disabled"; +}; + +&cpufreq_pc { + status = "disabled"; +}; + +#include "t6050-j775c-peripherals.dtsi" + +/* Board-specific storage and SMC handoff still require qualification. */ + +&nvme { + status = "disabled"; +}; + +&ans_mbox { + status = "disabled"; +}; + +&smc { + status = "disabled"; +}; + +&smc_mbox { + status = "disabled"; +}; + +#include "t6050-j775c-audio-topology.dtsi" + + +#include "t6050-j775c-power-domains.dtsi" + +&pmc { + status = "disabled"; +}; + +&clpc { + status = "disabled"; +}; diff --git a/arch/arm64/boot/dts/apple/t6050-j775d-peripherals.dtsi b/arch/arm64/boot/dts/apple/t6050-j775d-peripherals.dtsi new file mode 100644 index 0000000000000..e16ec7be56426 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6050-j775d-peripherals.dtsi @@ -0,0 +1,352 @@ +#include "t6050-peripherals.dtsi" + +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Register and interrupt resources; ownership-sensitive blocks stay disabled. */ + +&{/soc} { + hw_i2c7: i2c@50502c000 { + compatible = "apple,t6050-i2c", "apple,t8103-i2c"; + reg = <0x5 0x502c000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + clocks = <&clkref>; + #address-cells = <1>; + #size-cells = <0>; + }; + + hw_nub_spmi1: spmi-resource@28a054000 { + compatible = "apple,t6050-spmi", "apple,spmi"; + reg = <0x2 0x8a054000 0x0 0x4000>, + <0x2 0x8a044000 0x0 0x4000>, + <0x2 0x8a040000 0x0 0x4000>; + status = "disabled"; + interrupts = ; + }; + + hw_nub_spmi4: spmi-resource@28a114000 { + compatible = "apple,t6050-spmi", "apple,spmi"; + reg = <0x2 0x8a114000 0x0 0x4000>, + <0x2 0x8a104000 0x0 0x4000>, + <0x2 0x8a100000 0x0 0x4000>; + status = "disabled"; + interrupts = ; + }; + + hw_nub_spmi_a2: spmi-resource@28a1c8000 { + compatible = "apple,t6050-spmi", "apple,spmi"; + reg = <0x2 0x8a1c8000 0x0 0x4000>, + <0x2 0x8a1c4000 0x0 0x4000>, + <0x2 0x8a1c0000 0x0 0x4000>; + status = "disabled"; + interrupts = ; + }; + + hw_i2c4: i2c@505020000 { + compatible = "apple,t6050-i2c", "apple,t8103-i2c"; + reg = <0x5 0x5020000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + clocks = <&clkref>; + #address-cells = <1>; + #size-cells = <0>; + }; + + hw_i2c5: i2c@505024000 { + compatible = "apple,t6050-i2c", "apple,t8103-i2c"; + reg = <0x5 0x5024000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + clocks = <&clkref>; + #address-cells = <1>; + #size-cells = <0>; + }; + + hw_dart_apcie1: iommu@411000000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x4 0x11000000 0x0 0x20000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_apcie1_piodma: dma-controller@411030000 { + compatible = "apple,t6050-pcie-piodma", "apple,pcie-piodma"; + reg = <0x4 0x11030000 0x0 0x4000>, + <0x4 0x11034000 0x0 0x4000>, + <0x4 0x11038000 0x0 0x4000>; + interrupts = ; + iommus = <&hw_dart_apcie1 17>; + status = "disabled"; + }; + + hw_apcie2_piodma: dma-controller@412030000 { + compatible = "apple,t6050-pcie-piodma", "apple,pcie-piodma"; + reg = <0x4 0x12030000 0x0 0x4000>, + <0x4 0x12034000 0x0 0x4000>, + <0x4 0x12038000 0x0 0x4000>; + interrupts = ; + iommus = <&dart_apcie2 17>; + status = "disabled"; + }; + + hw_apcie3_piodma: dma-controller@413030000 { + compatible = "apple,t6050-pcie-piodma", "apple,pcie-piodma"; + reg = <0x4 0x13030000 0x0 0x4000>, + <0x4 0x13034000 0x0 0x4000>, + <0x4 0x13038000 0x0 0x4000>; + interrupts = ; + iommus = <&dart_apcie3 17>; + status = "disabled"; + }; + + hw_acio0: usb4@2a1f00000 { + compatible = "apple,t6050-usb4-nhi", "apple,usb4-nhi"; + reg = <0x2 0xa1f00000 0x0 0x100000>, + <0x2 0xa1ac0000 0x0 0x4000>, + <0x2 0xa1ac4000 0x0 0x4000>, + <0x2 0xa1ac8000 0x0 0x4000>, + <0x2 0xa1e44000 0x0 0x4000>, + <0x2 0xa1c80000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + iommus = <&hw_dart_acio0 0>, <&hw_dart_acio0 1>, <&hw_dart_acio0 2>, <&hw_dart_acio0 3>, <&hw_dart_acio0 4>, <&hw_dart_acio0 5>, <&hw_dart_acio0 6>, <&hw_dart_acio0 7>, <&hw_dart_acio0 8>, <&hw_dart_acio0 9>, <&hw_dart_acio0 10>, <&hw_dart_acio0 11>, <&hw_dart_acio0 16>, <&hw_dart_acio0 17>, <&hw_dart_acio0 18>, <&hw_dart_acio0 19>, <&hw_dart_acio0 20>, <&hw_dart_acio0 21>, <&hw_dart_acio0 22>, <&hw_dart_acio0 23>, <&hw_dart_acio0 24>, <&hw_dart_acio0 25>, <&hw_dart_acio0 26>, <&hw_dart_acio0 27>; + status = "disabled"; + }; + + hw_acio1: usb4@2a9f00000 { + compatible = "apple,t6050-usb4-nhi", "apple,usb4-nhi"; + reg = <0x2 0xa9f00000 0x0 0x100000>, + <0x2 0xa9ac0000 0x0 0x4000>, + <0x2 0xa9ac4000 0x0 0x4000>, + <0x2 0xa9ac8000 0x0 0x4000>, + <0x2 0xa9e44000 0x0 0x4000>, + <0x2 0xa9c80000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + iommus = <&hw_dart_acio1 0>, <&hw_dart_acio1 1>, <&hw_dart_acio1 2>, <&hw_dart_acio1 3>, <&hw_dart_acio1 4>, <&hw_dart_acio1 5>, <&hw_dart_acio1 6>, <&hw_dart_acio1 7>, <&hw_dart_acio1 8>, <&hw_dart_acio1 9>, <&hw_dart_acio1 10>, <&hw_dart_acio1 11>, <&hw_dart_acio1 16>, <&hw_dart_acio1 17>, <&hw_dart_acio1 18>, <&hw_dart_acio1 19>, <&hw_dart_acio1 20>, <&hw_dart_acio1 21>, <&hw_dart_acio1 22>, <&hw_dart_acio1 23>, <&hw_dart_acio1 24>, <&hw_dart_acio1 25>, <&hw_dart_acio1 26>, <&hw_dart_acio1 27>; + status = "disabled"; + }; + + hw_acio2: usb4@381f00000 { + compatible = "apple,t6050-usb4-nhi", "apple,usb4-nhi"; + reg = <0x3 0x81f00000 0x0 0x100000>, + <0x3 0x81ac0000 0x0 0x4000>, + <0x3 0x81ac4000 0x0 0x4000>, + <0x3 0x81ac8000 0x0 0x4000>, + <0x3 0x81e44000 0x0 0x4000>, + <0x3 0x81c80000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + iommus = <&hw_dart_acio2 0>, <&hw_dart_acio2 1>, <&hw_dart_acio2 2>, <&hw_dart_acio2 3>, <&hw_dart_acio2 4>, <&hw_dart_acio2 5>, <&hw_dart_acio2 6>, <&hw_dart_acio2 7>, <&hw_dart_acio2 8>, <&hw_dart_acio2 9>, <&hw_dart_acio2 10>, <&hw_dart_acio2 11>, <&hw_dart_acio2 16>, <&hw_dart_acio2 17>, <&hw_dart_acio2 18>, <&hw_dart_acio2 19>, <&hw_dart_acio2 20>, <&hw_dart_acio2 21>, <&hw_dart_acio2 22>, <&hw_dart_acio2 23>, <&hw_dart_acio2 24>, <&hw_dart_acio2 25>, <&hw_dart_acio2 26>, <&hw_dart_acio2 27>; + status = "disabled"; + }; + + hw_apciec3: pcie@1c80000000 { + compatible = "apple,t6050-pciec", "apple,pciec"; + reg = <0x1c 0x80000000 0x0 0x10000000>, + <0x3 0x8c034000 0x0 0x4000>, + <0x3 0x8c020000 0x0 0x8000>, + <0x3 0x8c038000 0x0 0x4000>, + <0x3 0x8c060000 0x0 0x4000>, + <0x3 0x88020000 0x0 0x4000>, + <0x3 0x8c02c000 0x0 0x4000>, + <0x3 0x8c028000 0x0 0x4000>; + interrupts = , + , + , + , + , + ; + status = "disabled"; + }; + + hw_dart_apciec3: iommu@38c000000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x3 0x8c000000 0x0 0x20000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_apciec3_piodma: dma-controller@38c068000 { + compatible = "apple,t6050-pciec-piodma", "apple,pciec-piodma"; + reg = <0x3 0x8c068000 0x0 0x4000>, + <0x3 0x8c06c000 0x0 0x4000>, + <0x3 0x8c070000 0x0 0x4000>, + <0x3 0x8c03c000 0x0 0x4000>; + interrupts = ; + iommus = <&hw_dart_apciec3 254>; + status = "disabled"; + }; + + hw_acio3: usb4@389f00000 { + compatible = "apple,t6050-usb4-nhi", "apple,usb4-nhi"; + reg = <0x3 0x89f00000 0x0 0x100000>, + <0x3 0x89ac0000 0x0 0x4000>, + <0x3 0x89ac4000 0x0 0x4000>, + <0x3 0x89ac8000 0x0 0x4000>, + <0x3 0x89e44000 0x0 0x4000>, + <0x3 0x89c80000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + iommus = <&hw_dart_acio3 0>, <&hw_dart_acio3 1>, <&hw_dart_acio3 2>, <&hw_dart_acio3 3>, <&hw_dart_acio3 4>, <&hw_dart_acio3 5>, <&hw_dart_acio3 6>, <&hw_dart_acio3 7>, <&hw_dart_acio3 8>, <&hw_dart_acio3 9>, <&hw_dart_acio3 10>, <&hw_dart_acio3 11>, <&hw_dart_acio3 16>, <&hw_dart_acio3 17>, <&hw_dart_acio3 18>, <&hw_dart_acio3 19>, <&hw_dart_acio3 20>, <&hw_dart_acio3 21>, <&hw_dart_acio3 22>, <&hw_dart_acio3 23>, <&hw_dart_acio3 24>, <&hw_dart_acio3 25>, <&hw_dart_acio3 26>, <&hw_dart_acio3 27>; + status = "disabled"; + }; + + hw_dart_acio3: iommu@389a80000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x3 0x89a80000 0x0 0xc000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_acio_cpu3: usb4-coproc@389108000 { + compatible = "apple,t6050-usb4-acio", "apple,usb4-acio"; + reg = <0x3 0x89108000 0x0 0x4000>, + <0x3 0x89100000 0x0 0x4000>; + interrupts = , + , + , + ; + status = "disabled"; + }; + + hw_atc3_dpxbar: atc-dpxbar@38b24c000 { + compatible = "apple,t6050-atc-dpxbar", "apple,atc-dpxbar"; + reg = <0x3 0x8b24c000 0x0 0x4000>; + status = "disabled"; + }; + + hw_atc3_dpin0: dp-in@389e50000 { + compatible = "apple,t6050-dp-in", "apple,dp-in"; + reg = <0x3 0x89e50000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + }; + + hw_atc3_dpin1: dp-in@389e58000 { + compatible = "apple,t6050-dp-in", "apple,dp-in"; + reg = <0x3 0x89e58000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + }; + + hw_atc3_dpin2: dp-in@389e68000 { + compatible = "apple,t6050-dp-in", "apple,dp-in"; + reg = <0x3 0x89e68000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + }; + + hw_atc3_dpin3: dp-in@389e70000 { + compatible = "apple,t6050-dp-in", "apple,dp-in"; + reg = <0x3 0x89e70000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + }; + + hw_avd0: video-decoder@2308000000 { + compatible = "apple,t6050-avd", "apple,avd"; + reg = <0x23 0x8000000 0x0 0x1404000>, + <0x23 0x88090000 0x0 0x4000>; + interrupts = , + ; + iommus = <&avd_dart 0>, <&avd_dart 1>, <&avd_dart 2>; + status = "disabled"; + }; + + +}; diff --git a/arch/arm64/boot/dts/apple/t6050-j775d-power-domains.dtsi b/arch/arm64/boot/dts/apple/t6050-j775d-power-domains.dtsi new file mode 100644 index 0000000000000..8e215ce9a13dc --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6050-j775d-power-domains.dtsi @@ -0,0 +1,827 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Hardware gate relationships only. New controllers and states stay disabled. */ + +&{/soc} { + hw_pwr_bank_2300e80000: power-management@2300e80000 { + compatible = "apple,t6050-pmgr", "apple,t8103-pmgr", "syscon", "simple-mfd"; + reg = <0x23 0xe80000 0 0x4000>; + #address-cells = <1>; + #size-cells = <1>; + status = "disabled"; + }; +}; + +&pmgr0 { + hw_pwr_280600100: power-controller@100 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x100 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "pms"; + apple,always-on; + status = "disabled"; + }; + hw_pwr_280600128: power-controller@128 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x128 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "pmp"; + apple,always-on; + power-domains = <&hw_pwr_280600100>; + status = "disabled"; + }; + hw_pwr_280600130: power-controller@130 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x130 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "pms-sram"; + apple,always-on; + power-domains = <&hw_pwr_280600100>; + status = "disabled"; + }; + hw_pwr_2806001d8: power-controller@1d8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1d8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "fab0-piogw"; + apple,always-on; + status = "disabled"; + }; + hw_pwr_2806001e0: power-controller@1e0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1e0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "fab3-soc"; + apple,always-on; + power-domains = <&hw_pwr_2806001d8>; + status = "disabled"; + }; + hw_pwr_280600208: power-controller@208 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x208 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-common"; + power-domains = <&hw_pwr_2806001e0>; + status = "disabled"; + }; + hw_pwr_280600280: power-controller@280 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x280 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-cio"; + power-domains = <&hw_pwr_280600208>; + status = "disabled"; + }; + hw_pwr_280600288: power-controller@288 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x288 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-pcie"; + power-domains = <&hw_pwr_280600208>; + status = "disabled"; + }; + hw_pwr_280600290: power-controller@290 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x290 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc1-cio"; + power-domains = <&ps_atc1_common>; + status = "disabled"; + }; + hw_pwr_280600298: power-controller@298 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x298 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc1-pcie"; + power-domains = <&ps_atc1_common>; + status = "disabled"; + }; + hw_pwr_2806002e8: power-controller@2e8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2e8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc2-cio"; + power-domains = <&ps_atc2_common>; + status = "disabled"; + }; + hw_pwr_2806002f0: power-controller@2f0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2f0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc2-pcie"; + power-domains = <&ps_atc2_common>; + status = "disabled"; + }; + hw_pwr_280600300: power-controller@300 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x300 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc3-pcie"; + power-domains = <&ps_atc3_common>; + status = "disabled"; + }; + hw_pwr_280600338: power-controller@338 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x338 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-cio-pcie"; + power-domains = <&hw_pwr_280600280>; + status = "disabled"; + }; + hw_pwr_280600340: power-controller@340 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x340 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-cio-usb"; + power-domains = <&hw_pwr_280600280>; + status = "disabled"; + }; + hw_pwr_280600348: power-controller@348 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x348 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-cio-auss"; + power-domains = <&ps_auss>, <&hw_pwr_280600280>; + status = "disabled"; + }; + hw_pwr_280600350: power-controller@350 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x350 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc1-cio-pcie"; + power-domains = <&hw_pwr_280600290>; + status = "disabled"; + }; + hw_pwr_280600358: power-controller@358 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x358 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc1-cio-usb"; + power-domains = <&hw_pwr_280600290>; + status = "disabled"; + }; + hw_pwr_280600360: power-controller@360 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x360 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc1-cio-auss"; + power-domains = <&ps_auss>, <&hw_pwr_280600290>; + status = "disabled"; + }; + hw_pwr_2806003f8: power-controller@3f8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x3f8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc2-cio-pcie"; + power-domains = <&hw_pwr_2806002e8>; + status = "disabled"; + }; + hw_pwr_280600400: power-controller@400 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x400 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc2-cio-usb"; + power-domains = <&hw_pwr_2806002e8>; + status = "disabled"; + }; + hw_pwr_280600408: power-controller@408 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x408 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc2-cio-auss"; + power-domains = <&ps_auss>, <&hw_pwr_2806002e8>; + status = "disabled"; + }; +}; + +&pmgr1 { + hw_pwr_280900108: power-controller@108 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x108 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "global-aux-hpd-0"; + status = "disabled"; + }; + hw_pwr_280900110: power-controller@110 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x110 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "global-aux-hpd-1"; + status = "disabled"; + }; + hw_pwr_280900178: power-controller@178 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x178 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "fab7-soc"; + apple,always-on; + power-domains = <&hw_pwr_2806001d8>; + status = "disabled"; + }; + hw_pwr_280900190: power-controller@190 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x190 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "scodec"; + power-domains = <&hw_pwr_280900178>; + status = "disabled"; + }; + hw_pwr_280900288: power-controller@288 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x288 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "fab8-soc"; + apple,always-on; + power-domains = <&hw_pwr_2806001d8>; + status = "disabled"; + }; + hw_pwr_280900290: power-controller@290 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x290 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "sio"; + apple,always-on; + power-domains = <&hw_pwr_280900288>; + status = "disabled"; + }; + hw_pwr_280900298: power-controller@298 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x298 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "sep"; + apple,always-on; + power-domains = <&hw_pwr_280900288>; + status = "disabled"; + }; + hw_pwr_2809002a0: power-controller@2a0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2a0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "sio-cpu"; + apple,always-on; + power-domains = <&hw_pwr_280900290>; + status = "disabled"; + }; + hw_pwr_2809002c0: power-controller@2c0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2c0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "i2c0"; + power-domains = <&hw_pwr_280900290>; + status = "disabled"; + }; + hw_pwr_2809002e0: power-controller@2e0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2e0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "i2c4"; + power-domains = <&hw_pwr_280900290>; + status = "disabled"; + }; + hw_pwr_2809002e8: power-controller@2e8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2e8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "i2c5"; + power-domains = <&hw_pwr_280900290>; + status = "disabled"; + }; + hw_pwr_2809002f0: power-controller@2f0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2f0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "i2c6"; + power-domains = <&hw_pwr_280900290>; + status = "disabled"; + }; + hw_pwr_2809002f8: power-controller@2f8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2f8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "i2c7"; + power-domains = <&hw_pwr_280900290>; + status = "disabled"; + }; + hw_pwr_280900300: power-controller@300 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x300 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "i2c8"; + power-domains = <&hw_pwr_280900290>; + status = "disabled"; + }; + hw_pwr_280900318: power-controller@318 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x318 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "aes"; + power-domains = <&hw_pwr_280900290>; + status = "disabled"; + }; +}; + +&pmgr2 { + hw_pwr_288300058: power-controller@58 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x58 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "debug-gated"; + apple,always-on; + status = "disabled"; + }; + hw_pwr_288300098: power-controller@98 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x98 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-common-dp-0"; + status = "disabled"; + }; + hw_pwr_2883000a0: power-controller@a0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0xa0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-common-dp-1"; + status = "disabled"; + }; + hw_pwr_2883000a8: power-controller@a8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0xa8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-common-dp-2"; + status = "disabled"; + }; + hw_pwr_2883000b0: power-controller@b0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0xb0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-common-dp-3"; + status = "disabled"; + }; + hw_pwr_288300148: power-controller@148 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x148 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-usb-aon"; + status = "disabled"; + }; + hw_pwr_288300150: power-controller@150 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x150 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-usb"; + power-domains = <&hw_pwr_280600208>, <&hw_pwr_288300148>; + status = "disabled"; + }; + hw_pwr_288300158: power-controller@158 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x158 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-phymxwrap"; + power-domains = <&hw_pwr_280600208>, <&hw_pwr_288300148>; + status = "disabled"; + }; +}; + +&pmgr4 { + hw_pwr_23806001a0: power-controller@1a0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1a0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "fab1-piogw"; + apple,always-on; + status = "disabled"; + }; + hw_pwr_23806001a8: power-controller@1a8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1a8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "fab0-soc"; + apple,always-on; + power-domains = <&hw_pwr_23806001a0>; + status = "disabled"; + }; + hw_pwr_23806001b8: power-controller@1b8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1b8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "fab2-soc"; + apple,always-on; + power-domains = <&hw_pwr_23806001a0>; + status = "disabled"; + }; + hw_pwr_23806001c0: power-controller@1c0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1c0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc0-sys"; + power-domains = <&hw_pwr_23806001a8>; + status = "disabled"; + }; + hw_pwr_23806001c8: power-controller@1c8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1c8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "msr0"; + power-domains = <&hw_pwr_23806001a8>; + status = "disabled"; + }; + hw_pwr_23806001d0: power-controller@1d0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1d0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "jpg"; + power-domains = <&hw_pwr_23806001a8>; + status = "disabled"; + }; + hw_pwr_23806001e0: power-controller@1e0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1e0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "prores"; + power-domains = <&ps_fab1_soc>; + status = "disabled"; + }; + hw_pwr_23806001f0: power-controller@1f0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1f0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc1-sys"; + power-domains = <&hw_pwr_23806001b8>; + status = "disabled"; + }; + hw_pwr_23806001f8: power-controller@1f8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1f8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "msr1"; + power-domains = <&hw_pwr_23806001b8>; + status = "disabled"; + }; + hw_pwr_2380600200: power-controller@200 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x200 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "msr0-ase-core"; + power-domains = <&hw_pwr_23806001c8>; + status = "disabled"; + }; + hw_pwr_2380600208: power-controller@208 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x208 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "msr1-ase-core"; + power-domains = <&hw_pwr_23806001f8>; + status = "disabled"; + }; + hw_pwr_2380608000: power-controller@8000 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x8000 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc0-dma"; + power-domains = <&hw_pwr_23806001c0>; + status = "disabled"; + }; + hw_pwr_2380608008: power-controller@8008 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x8008 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc0-pipe4"; + power-domains = <&hw_pwr_2380608000>; + status = "disabled"; + }; + hw_pwr_2380608010: power-controller@8010 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x8010 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc0-pipe5"; + power-domains = <&hw_pwr_2380608000>; + status = "disabled"; + }; + hw_pwr_2380608018: power-controller@8018 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x8018 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc0-me0"; + power-domains = <&hw_pwr_2380608000>; + status = "disabled"; + }; + hw_pwr_2380608020: power-controller@8020 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x8020 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc0-me1"; + power-domains = <&hw_pwr_2380608018>; + status = "disabled"; + }; + hw_pwr_2380608028: power-controller@8028 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x8028 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc1-dma"; + power-domains = <&hw_pwr_23806001f0>; + status = "disabled"; + }; + hw_pwr_2380608030: power-controller@8030 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x8030 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc1-pipe4"; + power-domains = <&hw_pwr_2380608028>; + status = "disabled"; + }; + hw_pwr_2380608038: power-controller@8038 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x8038 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc1-pipe5"; + power-domains = <&hw_pwr_2380608028>; + status = "disabled"; + }; + hw_pwr_2380608040: power-controller@8040 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x8040 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc1-me0"; + power-domains = <&hw_pwr_2380608028>; + status = "disabled"; + }; + hw_pwr_2380608048: power-controller@8048 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x8048 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc1-me1"; + power-domains = <&hw_pwr_2380608040>; + status = "disabled"; + }; +}; + +&hw_pwr_bank_2300e80000 { + hw_pwr_2300e80000: power-controller@0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "gpx"; + apple,always-on; + status = "disabled"; + }; + hw_pwr_2300e80100: power-controller@100 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x100 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "afr"; + apple,always-on; + status = "disabled"; + }; + hw_pwr_2300e80110: power-controller@110 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x110 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "gfx"; + power-domains = <&hw_pwr_2300e80000>, <&hw_pwr_2300e80100>; + status = "disabled"; + }; +}; + +&hw_acio0 { + power-domains = <&hw_pwr_280600348>, <&hw_pwr_280600280>, <&hw_pwr_280600338>, <&hw_pwr_280600340>; +}; + +&hw_acio1 { + power-domains = <&hw_pwr_280600360>, <&hw_pwr_280600290>, <&hw_pwr_280600350>, <&hw_pwr_280600358>; +}; + +&hw_acio2 { + power-domains = <&hw_pwr_280600408>, <&hw_pwr_2806002e8>, <&hw_pwr_2806003f8>, <&hw_pwr_280600400>; +}; + +&hw_acio3 { + power-domains = <&ps_atc3_cio_auss>, <&ps_atc3_cio>, <&ps_atc3_cio_pcie>, <&ps_atc3_cio_usb>; +}; + +&hw_aes { + power-domains = <&hw_pwr_280900318>; +}; + +&hw_apciec0 { + power-domains = <&hw_pwr_288300148>, <&hw_pwr_280600288>; +}; + +&hw_apciec1 { + power-domains = <&ps_atc1_usb_aon>, <&hw_pwr_280600298>; +}; + +&hw_apciec2 { + power-domains = <&ps_atc2_usb_aon>, <&hw_pwr_2806002f0>; +}; + +&hw_apciec3 { + power-domains = <&ps_atc3_usb_aon>, <&hw_pwr_280600300>; +}; + +&hw_apr0 { + power-domains = <&hw_pwr_280900190>; +}; + +&hw_atc_phy0 { + power-domains = <&hw_pwr_288300148>, <&hw_pwr_280600208>, <&hw_pwr_288300158>, <&hw_pwr_288300098>, <&hw_pwr_2883000a0>, <&hw_pwr_2883000a8>, <&hw_pwr_2883000b0>; +}; + +&hw_avd0 { + power-domains = <&ps_avd_sys>; +}; + +&hw_ave0 { + power-domains = <&hw_pwr_23806001c0>, <&hw_pwr_2380608008>, <&hw_pwr_2380608010>, <&hw_pwr_2380608018>, <&hw_pwr_2380608020>, <&hw_pwr_2380608000>; +}; + +&hw_ave1 { + power-domains = <&hw_pwr_23806001f0>, <&hw_pwr_2380608030>, <&hw_pwr_2380608038>, <&hw_pwr_2380608040>, <&hw_pwr_2380608048>, <&hw_pwr_2380608028>; +}; + +&hw_dart_apr0 { + power-domains = <&hw_pwr_280900190>; +}; + +&hw_dart_apr1 { + power-domains = <&hw_pwr_23806001e0>; +}; + +&hw_dart_ave0 { + power-domains = <&hw_pwr_23806001c0>; +}; + +&hw_dart_ave1 { + power-domains = <&hw_pwr_23806001f0>; +}; + +&hw_dart_jpeg0 { + power-domains = <&hw_pwr_23806001d0>; +}; + +&hw_dart_scaler { + power-domains = <&hw_pwr_23806001c8>, <&hw_pwr_23806001f8>; +}; + +&hw_dart_scaler0 { + power-domains = <&hw_pwr_23806001c8>; +}; + +&hw_dart_scaler1 { + power-domains = <&hw_pwr_23806001f8>; +}; + +&hw_dart_sio { + power-domains = <&hw_pwr_280900290>; +}; + +&hw_dart_usb0 { + power-domains = <&hw_pwr_288300150>; +}; + +&hw_dptx0_aux { + power-domains = <&hw_pwr_280900108>; +}; + +&hw_dptx1_aux { + power-domains = <&hw_pwr_280900110>; +}; + +&hw_gfx1_asc { + power-domains = <&hw_pwr_2300e80110>; +}; + +&hw_gfx_asc { + power-domains = <&hw_pwr_2300e80110>; +}; + +&hw_i2c0 { + power-domains = <&hw_pwr_2809002c0>; +}; + +&hw_i2c4 { + power-domains = <&hw_pwr_2809002e0>; +}; + +&hw_i2c5 { + power-domains = <&hw_pwr_2809002e8>; +}; + +&hw_i2c6 { + power-domains = <&hw_pwr_2809002f0>; +}; + +&hw_i2c7 { + power-domains = <&hw_pwr_2809002f8>; +}; + +&hw_i2c8 { + power-domains = <&hw_pwr_280900300>; +}; + +&hw_jpeg0 { + power-domains = <&hw_pwr_23806001d0>; +}; + +&hw_jpeg1 { + power-domains = <&hw_pwr_23806001d0>; +}; + +&hw_pmp0 { + power-domains = <&hw_pwr_280600128>, <&hw_pwr_280600130>; +}; + +&hw_rsm { + power-domains = <&hw_pwr_288300058>; +}; + +&hw_scaler0 { + power-domains = <&hw_pwr_23806001c8>, <&hw_pwr_2380600200>; +}; + +&hw_scaler1 { + power-domains = <&hw_pwr_23806001f8>, <&hw_pwr_2380600208>; +}; + +&hw_sep { + power-domains = <&hw_pwr_280900298>; +}; + +&hw_sgx { + power-domains = <&hw_pwr_2300e80110>; +}; + +&hw_sio { + power-domains = <&hw_pwr_2809002a0>; +}; + +&hw_usb_drd0 { + power-domains = <&hw_pwr_288300150>; +}; diff --git a/arch/arm64/boot/dts/apple/t6050-j775d.dts b/arch/arm64/boot/dts/apple/t6050-j775d.dts index 5c0b238dc096f..ef8be8ff14991 100644 --- a/arch/arm64/boot/dts/apple/t6050-j775d.dts +++ b/arch/arm64/boot/dts/apple/t6050-j775d.dts @@ -699,3 +699,9 @@ hdmi-pwren-gpios = <&smc_pcio 0 GPIO_ACTIVE_HIGH>; dp2hdmi-pwren-gpios = <&smc_pcio 1 GPIO_ACTIVE_HIGH>; }; + +#include "t6050-j775d-peripherals.dtsi" + + + +#include "t6050-j775d-power-domains.dtsi" diff --git a/arch/arm64/boot/dts/apple/t6050-j873s-audio-topology.dtsi b/arch/arm64/boot/dts/apple/t6050-j873s-audio-topology.dtsi new file mode 100644 index 0000000000000..42a5a4622f312 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6050-j873s-audio-topology.dtsi @@ -0,0 +1,28 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Codec identities only; no amplifier programming or acoustic configuration. */ + +&i2c1 { + #address-cells = <1>; + #size-cells = <0>; + + hw_audio_speaker: codec@38 { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x38>; + #sound-dai-cells = <0>; + sound-name-prefix = "Speaker 0"; + status = "disabled"; + }; +}; + +&i2c2 { + #address-cells = <1>; + #size-cells = <0>; + + hw_jack_codec: codec@4b { + compatible = "cirrus,cs42l84"; + reg = <0x4b>; + #sound-dai-cells = <0>; + sound-name-prefix = "Jack"; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t6050-j873s-peripherals.dtsi b/arch/arm64/boot/dts/apple/t6050-j873s-peripherals.dtsi new file mode 100644 index 0000000000000..b2c5056d7b9f3 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6050-j873s-peripherals.dtsi @@ -0,0 +1,264 @@ +#include "t6050-peripherals.dtsi" + +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Register and interrupt resources; ownership-sensitive blocks stay disabled. */ + +&{/soc} { + + hw_i2c5: i2c@505024000 { + compatible = "apple,t6050-i2c", "apple,t8103-i2c"; + reg = <0x5 0x5024000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + clocks = <&clkref>; + #address-cells = <1>; + #size-cells = <0>; + }; + + hw_apcie2_piodma: dma-controller@412030000 { + compatible = "apple,t6050-pcie-piodma", "apple,pcie-piodma"; + reg = <0x4 0x12030000 0x0 0x4000>, + <0x4 0x12034000 0x0 0x4000>, + <0x4 0x12038000 0x0 0x4000>; + interrupts = ; + iommus = <&dart_apcie2 17>; + status = "disabled"; + }; + + hw_acio0: usb4@2a1f00000 { + compatible = "apple,t6050-usb4-nhi", "apple,usb4-nhi"; + reg = <0x2 0xa1f00000 0x0 0x100000>, + <0x2 0xa1ac0000 0x0 0x4000>, + <0x2 0xa1ac4000 0x0 0x4000>, + <0x2 0xa1ac8000 0x0 0x4000>, + <0x2 0xa1e44000 0x0 0x4000>, + <0x2 0xa1c80000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + status = "disabled"; + }; + + hw_acio1: usb4@2a9f00000 { + compatible = "apple,t6050-usb4-nhi", "apple,usb4-nhi"; + reg = <0x2 0xa9f00000 0x0 0x100000>, + <0x2 0xa9ac0000 0x0 0x4000>, + <0x2 0xa9ac4000 0x0 0x4000>, + <0x2 0xa9ac8000 0x0 0x4000>, + <0x2 0xa9e44000 0x0 0x4000>, + <0x2 0xa9c80000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + status = "disabled"; + }; + + hw_acio2: usb4@381f00000 { + compatible = "apple,t6050-usb4-nhi", "apple,usb4-nhi"; + reg = <0x3 0x81f00000 0x0 0x100000>, + <0x3 0x81ac0000 0x0 0x4000>, + <0x3 0x81ac4000 0x0 0x4000>, + <0x3 0x81ac8000 0x0 0x4000>, + <0x3 0x81e44000 0x0 0x4000>, + <0x3 0x81c80000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + status = "disabled"; + }; + + hw_spi3: spi@50510c000 { + compatible = "apple,t6050-spi", "apple,spi"; + reg = <0x5 0x510c000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + }; + + hw_disp0: display-engine@488000000 { + compatible = "apple,t6050-display-engine", "apple,display-engine"; + reg = <0x4 0x88000000 0x0 0x4000000>, + <0x4 0x8a240000 0x0 0x10000>, + <0x4 0x8a3ac000 0x0 0x4000>, + <0x4 0x8a800000 0x0 0x800000>, + <0x2 0x86700000 0x0 0x114000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + ; + iommus = <&hw_dart_disp0 0>, <&hw_dart_disp0 16>; + status = "disabled"; + }; + + hw_dart_disp0: iommu@48a300000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x4 0x8a300000 0x0 0xc000>, + <0x4 0x8a314000 0x0 0x4000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_dcp0_expert: dcp-expert@48a3ac058 { + compatible = "apple,t6050-dcp-expert", "apple,dcp-expert"; + reg = <0x4 0x8a3ac058 0x0 0x4>, + <0x4 0x8a374000 0x0 0x40>, + <0x4 0x8a370000 0x0 0x40>, + <0x4 0x8a388000 0x0 0x40>, + <0x4 0x8a38c000 0x0 0x40>, + <0x4 0x8a394000 0x0 0x40>, + <0x4 0x8a398000 0x0 0x40>, + <0x4 0x8a39c000 0x0 0x40>, + <0x4 0x8a3a0000 0x0 0x40>, + <0x4 0x88208000 0x0 0x40>, + <0x4 0x8820c000 0x0 0x40>, + <0x4 0x88210000 0x0 0x40>, + <0x4 0x88214000 0x0 0x40>; + interrupts = ; + status = "disabled"; + }; + + hw_dcp: dcp@48ae00000 { + compatible = "apple,t6050-dcp", "apple,dcp"; + reg = <0x4 0x8ae00000 0x0 0x88000>, + <0x4 0x8a850000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + , + ; + iommus = <&hw_dart_dcp 23>, <&hw_dart_dcp 24>; + status = "disabled"; + }; + + hw_dart_dcp: iommu@48a340000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x4 0x8a340000 0x0 0x20000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_dart_disp0_isoc: iommu@48a180000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x4 0x8a180000 0x0 0x20000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_admac_disp0: dma-controller@48a140000 { + compatible = "apple,t6050-admac", "apple,admac"; + reg = <0x4 0x8a140000 0x0 0x24000>, + <0x2 0x88328000 0x0 0x8>; + interrupts = ; + iommus = <&hw_dart_disp0_isoc 30>; + status = "disabled"; + #dma-cells = <1>; + }; + + hw_admac_disp0_ced_ssw: admac-control@48a2f4000 { + compatible = "apple,t6050-admac-control", "apple,admac-control"; + reg = <0x4 0x8a2f4000 0x0 0x4000>, + <0x4 0x8a1a0000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + }; + + hw_avd0: video-decoder@2308000000 { + compatible = "apple,t6050-avd", "apple,avd"; + reg = <0x23 0x8000000 0x0 0x1404000>, + <0x23 0x88090000 0x0 0x4000>; + interrupts = , + ; + status = "disabled"; + }; + + hw_dart_avd0: iommu@2309020000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x23 0x9020000 0x0 0x20000>, + <0x2 0x74000000 0x0 0x4000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + +}; diff --git a/arch/arm64/boot/dts/apple/t6050-j873s-power-domains.dtsi b/arch/arm64/boot/dts/apple/t6050-j873s-power-domains.dtsi new file mode 100644 index 0000000000000..3e3a011fabb9c --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6050-j873s-power-domains.dtsi @@ -0,0 +1,868 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Hardware gate relationships only. New controllers and states stay disabled. */ + +&{/soc} { + hw_pwr_bank_2300e80000: power-management@2300e80000 { + compatible = "apple,t6050-pmgr", "apple,t8103-pmgr", "syscon", "simple-mfd"; + reg = <0x23 0xe80000 0 0x4000>; + #address-cells = <1>; + #size-cells = <1>; + status = "disabled"; + }; + hw_pwr_bank_2380600000: power-management@2380600000 { + compatible = "apple,t6050-pmgr", "apple,t8103-pmgr", "syscon", "simple-mfd"; + reg = <0x23 0x80600000 0 0x4000>; + #address-cells = <1>; + #size-cells = <1>; + status = "disabled"; + }; + hw_pwr_bank_2380608000: power-management@2380608000 { + compatible = "apple,t6050-pmgr", "apple,t8103-pmgr", "syscon", "simple-mfd"; + reg = <0x23 0x80608000 0 0x4000>; + #address-cells = <1>; + #size-cells = <1>; + status = "disabled"; + }; +}; + +&pmgr0 { + hw_pwr_280600100: power-controller@100 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x100 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "pms"; + apple,always-on; + status = "disabled"; + }; + hw_pwr_280600128: power-controller@128 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x128 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "pmp"; + apple,always-on; + power-domains = <&hw_pwr_280600100>; + status = "disabled"; + }; + hw_pwr_280600130: power-controller@130 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x130 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "pms-sram"; + apple,always-on; + power-domains = <&hw_pwr_280600100>; + status = "disabled"; + }; + hw_pwr_2806001d8: power-controller@1d8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1d8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "fab0-piogw"; + apple,always-on; + status = "disabled"; + }; + hw_pwr_2806001e0: power-controller@1e0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1e0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "fab3-soc"; + apple,always-on; + power-domains = <&hw_pwr_2806001d8>; + status = "disabled"; + }; + hw_pwr_280600208: power-controller@208 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x208 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-common"; + power-domains = <&hw_pwr_2806001e0>; + status = "disabled"; + }; + hw_pwr_280600280: power-controller@280 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x280 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-cio"; + power-domains = <&hw_pwr_280600208>; + status = "disabled"; + }; + hw_pwr_280600288: power-controller@288 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x288 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-pcie"; + power-domains = <&hw_pwr_280600208>; + status = "disabled"; + }; + hw_pwr_280600290: power-controller@290 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x290 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc1-cio"; + power-domains = <&ps_atc1_common>; + status = "disabled"; + }; + hw_pwr_280600298: power-controller@298 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x298 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc1-pcie"; + power-domains = <&ps_atc1_common>; + status = "disabled"; + }; + hw_pwr_2806002e8: power-controller@2e8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2e8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc2-cio"; + power-domains = <&ps_atc2_common>; + status = "disabled"; + }; + hw_pwr_2806002f0: power-controller@2f0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2f0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc2-pcie"; + power-domains = <&ps_atc2_common>; + status = "disabled"; + }; + hw_pwr_280600338: power-controller@338 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x338 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-cio-pcie"; + power-domains = <&hw_pwr_280600280>; + status = "disabled"; + }; + hw_pwr_280600340: power-controller@340 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x340 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-cio-usb"; + power-domains = <&hw_pwr_280600280>; + status = "disabled"; + }; + hw_pwr_280600348: power-controller@348 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x348 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-cio-auss"; + power-domains = <&ps_auss>, <&hw_pwr_280600280>; + status = "disabled"; + }; + hw_pwr_280600350: power-controller@350 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x350 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc1-cio-pcie"; + power-domains = <&hw_pwr_280600290>; + status = "disabled"; + }; + hw_pwr_280600358: power-controller@358 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x358 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc1-cio-usb"; + power-domains = <&hw_pwr_280600290>; + status = "disabled"; + }; + hw_pwr_280600360: power-controller@360 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x360 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc1-cio-auss"; + power-domains = <&ps_auss>, <&hw_pwr_280600290>; + status = "disabled"; + }; + hw_pwr_2806003f8: power-controller@3f8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x3f8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc2-cio-pcie"; + power-domains = <&hw_pwr_2806002e8>; + status = "disabled"; + }; + hw_pwr_280600400: power-controller@400 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x400 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc2-cio-usb"; + power-domains = <&hw_pwr_2806002e8>; + status = "disabled"; + }; + hw_pwr_280600408: power-controller@408 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x408 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc2-cio-auss"; + power-domains = <&ps_auss>, <&hw_pwr_2806002e8>; + status = "disabled"; + }; +}; + +&pmgr1 { + hw_pwr_280900108: power-controller@108 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x108 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "global-aux-hpd-0"; + status = "disabled"; + }; + hw_pwr_280900110: power-controller@110 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x110 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "global-aux-hpd-1"; + status = "disabled"; + }; + hw_pwr_280900178: power-controller@178 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x178 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "fab7-soc"; + apple,always-on; + power-domains = <&hw_pwr_2806001d8>; + status = "disabled"; + }; + hw_pwr_280900180: power-controller@180 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x180 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "disp-sys"; + power-domains = <&hw_pwr_280900178>; + status = "disabled"; + }; + hw_pwr_280900190: power-controller@190 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x190 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "scodec"; + power-domains = <&hw_pwr_280900178>; + status = "disabled"; + }; + hw_pwr_280900198: power-controller@198 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x198 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "disp-fe"; + power-domains = <&hw_pwr_280900180>; + status = "disabled"; + }; + hw_pwr_2809001a8: power-controller@1a8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1a8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "disp-cpu"; + power-domains = <&hw_pwr_280900198>; + status = "disabled"; + }; + hw_pwr_280900288: power-controller@288 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x288 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "fab8-soc"; + apple,always-on; + power-domains = <&hw_pwr_2806001d8>; + status = "disabled"; + }; + hw_pwr_280900290: power-controller@290 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x290 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "sio"; + apple,always-on; + power-domains = <&hw_pwr_280900288>; + status = "disabled"; + }; + hw_pwr_280900298: power-controller@298 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x298 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "sep"; + apple,always-on; + power-domains = <&hw_pwr_280900288>; + status = "disabled"; + }; + hw_pwr_2809002a0: power-controller@2a0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2a0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "sio-cpu"; + apple,always-on; + power-domains = <&hw_pwr_280900290>; + status = "disabled"; + }; + hw_pwr_2809002c0: power-controller@2c0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2c0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "i2c0"; + power-domains = <&hw_pwr_280900290>; + status = "disabled"; + }; + hw_pwr_2809002e8: power-controller@2e8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2e8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "i2c5"; + power-domains = <&hw_pwr_280900290>; + status = "disabled"; + }; + hw_pwr_2809002f0: power-controller@2f0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2f0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "i2c6"; + power-domains = <&hw_pwr_280900290>; + status = "disabled"; + }; + hw_pwr_280900300: power-controller@300 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x300 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "i2c8"; + power-domains = <&hw_pwr_280900290>; + status = "disabled"; + }; + hw_pwr_280900318: power-controller@318 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x318 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "aes"; + power-domains = <&hw_pwr_280900290>; + status = "disabled"; + }; + hw_pwr_280900338: power-controller@338 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x338 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "spi3"; + power-domains = <&ps_spi_p>; + status = "disabled"; + }; +}; + +&pmgr2 { + hw_pwr_288300058: power-controller@58 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x58 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "debug-gated"; + apple,always-on; + status = "disabled"; + }; + hw_pwr_288300098: power-controller@98 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x98 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-common-dp-0"; + status = "disabled"; + }; + hw_pwr_2883000a0: power-controller@a0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0xa0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-common-dp-1"; + status = "disabled"; + }; + hw_pwr_2883000a8: power-controller@a8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0xa8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-common-dp-2"; + status = "disabled"; + }; + hw_pwr_2883000b0: power-controller@b0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0xb0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-common-dp-3"; + status = "disabled"; + }; + hw_pwr_288300148: power-controller@148 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x148 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-usb-aon"; + status = "disabled"; + }; + hw_pwr_288300150: power-controller@150 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x150 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-usb"; + power-domains = <&hw_pwr_280600208>, <&hw_pwr_288300148>; + status = "disabled"; + }; + hw_pwr_288300158: power-controller@158 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x158 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-phymxwrap"; + power-domains = <&hw_pwr_280600208>, <&hw_pwr_288300148>; + status = "disabled"; + }; +}; + +&hw_pwr_bank_2380600000 { + hw_pwr_23806001a0: power-controller@1a0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1a0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "fab1-piogw"; + apple,always-on; + status = "disabled"; + }; + hw_pwr_23806001a8: power-controller@1a8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1a8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "fab0-soc"; + apple,always-on; + power-domains = <&hw_pwr_23806001a0>; + status = "disabled"; + }; + hw_pwr_23806001b0: power-controller@1b0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1b0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "fab1-soc"; + apple,always-on; + power-domains = <&hw_pwr_23806001a0>; + status = "disabled"; + }; + hw_pwr_23806001b8: power-controller@1b8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1b8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "fab2-soc"; + apple,always-on; + power-domains = <&hw_pwr_23806001a0>; + status = "disabled"; + }; + hw_pwr_23806001c0: power-controller@1c0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1c0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc0-sys"; + power-domains = <&hw_pwr_23806001a8>; + status = "disabled"; + }; + hw_pwr_23806001c8: power-controller@1c8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1c8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "msr0"; + power-domains = <&hw_pwr_23806001a8>; + status = "disabled"; + }; + hw_pwr_23806001d0: power-controller@1d0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1d0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "jpg"; + power-domains = <&hw_pwr_23806001a8>; + status = "disabled"; + }; + hw_pwr_23806001d8: power-controller@1d8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1d8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "avd-sys"; + power-domains = <&hw_pwr_23806001b0>; + status = "disabled"; + }; + hw_pwr_23806001e0: power-controller@1e0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1e0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "prores"; + power-domains = <&hw_pwr_23806001b0>; + status = "disabled"; + }; + hw_pwr_23806001f0: power-controller@1f0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1f0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc1-sys"; + power-domains = <&hw_pwr_23806001b8>; + status = "disabled"; + }; + hw_pwr_23806001f8: power-controller@1f8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1f8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "msr1"; + power-domains = <&hw_pwr_23806001b8>; + status = "disabled"; + }; + hw_pwr_2380600200: power-controller@200 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x200 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "msr0-ase-core"; + power-domains = <&hw_pwr_23806001c8>; + status = "disabled"; + }; + hw_pwr_2380600208: power-controller@208 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x208 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "msr1-ase-core"; + power-domains = <&hw_pwr_23806001f8>; + status = "disabled"; + }; +}; + +&hw_pwr_bank_2380608000 { + hw_pwr_2380608000: power-controller@0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc0-dma"; + power-domains = <&hw_pwr_23806001c0>; + status = "disabled"; + }; + hw_pwr_2380608008: power-controller@8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc0-pipe4"; + power-domains = <&hw_pwr_2380608000>; + status = "disabled"; + }; + hw_pwr_2380608010: power-controller@10 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x10 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc0-pipe5"; + power-domains = <&hw_pwr_2380608000>; + status = "disabled"; + }; + hw_pwr_2380608018: power-controller@18 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x18 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc0-me0"; + power-domains = <&hw_pwr_2380608000>; + status = "disabled"; + }; + hw_pwr_2380608020: power-controller@20 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x20 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc0-me1"; + power-domains = <&hw_pwr_2380608018>; + status = "disabled"; + }; + hw_pwr_2380608028: power-controller@28 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x28 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc1-dma"; + power-domains = <&hw_pwr_23806001f0>; + status = "disabled"; + }; + hw_pwr_2380608030: power-controller@30 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x30 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc1-pipe4"; + power-domains = <&hw_pwr_2380608028>; + status = "disabled"; + }; + hw_pwr_2380608038: power-controller@38 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x38 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc1-pipe5"; + power-domains = <&hw_pwr_2380608028>; + status = "disabled"; + }; + hw_pwr_2380608040: power-controller@40 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x40 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc1-me0"; + power-domains = <&hw_pwr_2380608028>; + status = "disabled"; + }; + hw_pwr_2380608048: power-controller@48 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x48 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc1-me1"; + power-domains = <&hw_pwr_2380608040>; + status = "disabled"; + }; +}; + +&hw_pwr_bank_2300e80000 { + hw_pwr_2300e80000: power-controller@0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "gpx"; + apple,always-on; + status = "disabled"; + }; + hw_pwr_2300e80100: power-controller@100 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x100 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "afr"; + apple,always-on; + status = "disabled"; + }; + hw_pwr_2300e80110: power-controller@110 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x110 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "gfx"; + power-domains = <&hw_pwr_2300e80000>, <&hw_pwr_2300e80100>; + status = "disabled"; + }; +}; + +&hw_acio0 { + power-domains = <&hw_pwr_280600348>, <&hw_pwr_280600280>, <&hw_pwr_280600338>, <&hw_pwr_280600340>; +}; + +&hw_acio1 { + power-domains = <&hw_pwr_280600360>, <&hw_pwr_280600290>, <&hw_pwr_280600350>, <&hw_pwr_280600358>; +}; + +&hw_acio2 { + power-domains = <&hw_pwr_280600408>, <&hw_pwr_2806002e8>, <&hw_pwr_2806003f8>, <&hw_pwr_280600400>; +}; + +&hw_aes { + power-domains = <&hw_pwr_280900318>; +}; + +&hw_apciec0 { + power-domains = <&hw_pwr_288300148>, <&hw_pwr_280600288>; +}; + +&hw_apciec1 { + power-domains = <&ps_atc1_usb_aon>, <&hw_pwr_280600298>; +}; + +&hw_apciec2 { + power-domains = <&ps_atc2_usb_aon>, <&hw_pwr_2806002f0>; +}; + +&hw_apr0 { + power-domains = <&hw_pwr_280900190>; +}; + +&hw_atc_phy0 { + power-domains = <&hw_pwr_288300148>, <&hw_pwr_280600208>, <&hw_pwr_288300158>, <&hw_pwr_288300098>, <&hw_pwr_2883000a0>, <&hw_pwr_2883000a8>, <&hw_pwr_2883000b0>; +}; + +&hw_avd0 { + power-domains = <&hw_pwr_23806001d8>; +}; + +&hw_ave0 { + power-domains = <&hw_pwr_23806001c0>, <&hw_pwr_2380608008>, <&hw_pwr_2380608010>, <&hw_pwr_2380608018>, <&hw_pwr_2380608020>, <&hw_pwr_2380608000>; +}; + +&hw_ave1 { + power-domains = <&hw_pwr_23806001f0>, <&hw_pwr_2380608030>, <&hw_pwr_2380608038>, <&hw_pwr_2380608040>, <&hw_pwr_2380608048>, <&hw_pwr_2380608028>; +}; + +&hw_dart_apr0 { + power-domains = <&hw_pwr_280900190>; +}; + +&hw_dart_apr1 { + power-domains = <&hw_pwr_23806001e0>; +}; + +&hw_dart_avd0 { + power-domains = <&hw_pwr_23806001d8>; +}; + +&hw_dart_ave0 { + power-domains = <&hw_pwr_23806001c0>; +}; + +&hw_dart_ave1 { + power-domains = <&hw_pwr_23806001f0>; +}; + +&hw_dart_jpeg0 { + power-domains = <&hw_pwr_23806001d0>; +}; + +&hw_dart_scaler { + power-domains = <&hw_pwr_23806001c8>, <&hw_pwr_23806001f8>; +}; + +&hw_dart_scaler0 { + power-domains = <&hw_pwr_23806001c8>; +}; + +&hw_dart_scaler1 { + power-domains = <&hw_pwr_23806001f8>; +}; + +&hw_dart_sio { + power-domains = <&hw_pwr_280900290>; +}; + +&hw_dart_usb0 { + power-domains = <&hw_pwr_288300150>; +}; + +&hw_dcp { + power-domains = <&hw_pwr_280900198>, <&hw_pwr_2809001a8>; +}; + +&hw_dptx0_aux { + power-domains = <&hw_pwr_280900108>; +}; + +&hw_dptx1_aux { + power-domains = <&hw_pwr_280900110>; +}; + +&hw_gfx1_asc { + power-domains = <&hw_pwr_2300e80110>; +}; + +&hw_gfx_asc { + power-domains = <&hw_pwr_2300e80110>; +}; + +&hw_i2c0 { + power-domains = <&hw_pwr_2809002c0>; +}; + +&hw_i2c5 { + power-domains = <&hw_pwr_2809002e8>; +}; + +&hw_i2c6 { + power-domains = <&hw_pwr_2809002f0>; +}; + +&hw_i2c8 { + power-domains = <&hw_pwr_280900300>; +}; + +&hw_jpeg0 { + power-domains = <&hw_pwr_23806001d0>; +}; + +&hw_jpeg1 { + power-domains = <&hw_pwr_23806001d0>; +}; + +&hw_pmp0 { + power-domains = <&hw_pwr_280600128>, <&hw_pwr_280600130>; +}; + +&hw_rsm { + power-domains = <&hw_pwr_288300058>; +}; + +&hw_scaler0 { + power-domains = <&hw_pwr_23806001c8>, <&hw_pwr_2380600200>; +}; + +&hw_scaler1 { + power-domains = <&hw_pwr_23806001f8>, <&hw_pwr_2380600208>; +}; + +&hw_sep { + power-domains = <&hw_pwr_280900298>; +}; + +&hw_sgx { + power-domains = <&hw_pwr_2300e80110>; +}; + +&hw_sio { + power-domains = <&hw_pwr_2809002a0>; +}; + +&hw_spi3 { + power-domains = <&hw_pwr_280900338>; +}; + +&hw_usb_drd0 { + power-domains = <&hw_pwr_288300150>; +}; diff --git a/arch/arm64/boot/dts/apple/t6050-j873s.dts b/arch/arm64/boot/dts/apple/t6050-j873s.dts new file mode 100644 index 0000000000000..8437c78efa515 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6050-j873s.dts @@ -0,0 +1,76 @@ +// SPDX-License-Identifier: GPL-2.0 OR MIT +/dts-v1/; + +#include "t6050-max.dtsi" + +/ { + model = "Apple Mac mini (J873s)"; + compatible = "apple,j873s", "apple,t6050", "apple,arm-platform"; + chassis-type = "desktop"; + + aliases { + serial0 = &dockchannel; + }; + + chosen { + #address-cells = <2>; + #size-cells = <2>; + ranges; + stdout-path = "serial0:1500000n8"; + + framebuffer0: framebuffer@0 { + compatible = "apple,simple-framebuffer", "simple-framebuffer"; + reg = <0 0 0 0>; + status = "disabled"; + }; + }; +}; + +&dockchannel { + status = "okay"; +}; + +&cpufreq_mc0 { + status = "disabled"; +}; + +&cpufreq_mc1 { + status = "disabled"; +}; + +&cpufreq_pc { + status = "disabled"; +}; + +#include "t6050-j873s-peripherals.dtsi" + +/* Board-specific storage and SMC handoff still require qualification. */ + +&nvme { + status = "disabled"; +}; + +&ans_mbox { + status = "disabled"; +}; + +&smc { + status = "disabled"; +}; + +&smc_mbox { + status = "disabled"; +}; + +#include "t6050-j873s-audio-topology.dtsi" + + +#include "t6050-j873s-power-domains.dtsi" + +&pmc { + status = "disabled"; +}; + +&clpc { + status = "disabled"; +}; diff --git a/arch/arm64/boot/dts/apple/t6050-k114-k116-power-domains.dtsi b/arch/arm64/boot/dts/apple/t6050-k114-k116-power-domains.dtsi new file mode 100644 index 0000000000000..16739653efe4e --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6050-k114-k116-power-domains.dtsi @@ -0,0 +1,917 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Hardware gate relationships only. New controllers and states stay disabled. */ + +&{/soc} { + hw_pwr_bank_2300e80000: power-management@2300e80000 { + compatible = "apple,t6050-pmgr", "apple,t8103-pmgr", "syscon", "simple-mfd"; + reg = <0x23 0xe80000 0 0x4000>; + #address-cells = <1>; + #size-cells = <1>; + status = "disabled"; + }; + hw_pwr_bank_2380600000: power-management@2380600000 { + compatible = "apple,t6050-pmgr", "apple,t8103-pmgr", "syscon", "simple-mfd"; + reg = <0x23 0x80600000 0 0x4000>; + #address-cells = <1>; + #size-cells = <1>; + status = "disabled"; + }; + hw_pwr_bank_2380608000: power-management@2380608000 { + compatible = "apple,t6050-pmgr", "apple,t8103-pmgr", "syscon", "simple-mfd"; + reg = <0x23 0x80608000 0 0x4000>; + #address-cells = <1>; + #size-cells = <1>; + status = "disabled"; + }; +}; + +&pmgr0 { + hw_pwr_280600100: power-controller@100 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x100 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "pms"; + apple,always-on; + status = "disabled"; + }; + hw_pwr_280600128: power-controller@128 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x128 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "pmp"; + apple,always-on; + power-domains = <&hw_pwr_280600100>; + status = "disabled"; + }; + hw_pwr_280600130: power-controller@130 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x130 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "pms-sram"; + apple,always-on; + power-domains = <&hw_pwr_280600100>; + status = "disabled"; + }; + hw_pwr_2806001d8: power-controller@1d8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1d8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "fab0-piogw"; + apple,always-on; + status = "disabled"; + }; + hw_pwr_2806001e0: power-controller@1e0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1e0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "fab3-soc"; + apple,always-on; + power-domains = <&hw_pwr_2806001d8>; + status = "disabled"; + }; + hw_pwr_280600208: power-controller@208 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x208 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-common"; + power-domains = <&hw_pwr_2806001e0>; + status = "disabled"; + }; + hw_pwr_280600280: power-controller@280 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x280 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-cio"; + power-domains = <&hw_pwr_280600208>; + status = "disabled"; + }; + hw_pwr_280600288: power-controller@288 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x288 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-pcie"; + power-domains = <&hw_pwr_280600208>; + status = "disabled"; + }; + hw_pwr_280600290: power-controller@290 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x290 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc1-cio"; + power-domains = <&ps_atc1_common>; + status = "disabled"; + }; + hw_pwr_280600298: power-controller@298 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x298 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc1-pcie"; + power-domains = <&ps_atc1_common>; + status = "disabled"; + }; + hw_pwr_2806002e8: power-controller@2e8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2e8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc2-cio"; + power-domains = <&ps_atc2_common>; + status = "disabled"; + }; + hw_pwr_2806002f0: power-controller@2f0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2f0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc2-pcie"; + power-domains = <&ps_atc2_common>; + status = "disabled"; + }; + hw_pwr_280600338: power-controller@338 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x338 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-cio-pcie"; + power-domains = <&hw_pwr_280600280>; + status = "disabled"; + }; + hw_pwr_280600340: power-controller@340 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x340 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-cio-usb"; + power-domains = <&hw_pwr_280600280>; + status = "disabled"; + }; + hw_pwr_280600348: power-controller@348 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x348 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-cio-auss"; + power-domains = <&ps_auss>, <&hw_pwr_280600280>; + status = "disabled"; + }; + hw_pwr_280600350: power-controller@350 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x350 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc1-cio-pcie"; + power-domains = <&hw_pwr_280600290>; + status = "disabled"; + }; + hw_pwr_280600358: power-controller@358 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x358 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc1-cio-usb"; + power-domains = <&hw_pwr_280600290>; + status = "disabled"; + }; + hw_pwr_280600360: power-controller@360 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x360 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc1-cio-auss"; + power-domains = <&ps_auss>, <&hw_pwr_280600290>; + status = "disabled"; + }; + hw_pwr_2806003f8: power-controller@3f8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x3f8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc2-cio-pcie"; + power-domains = <&hw_pwr_2806002e8>; + status = "disabled"; + }; + hw_pwr_280600400: power-controller@400 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x400 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc2-cio-usb"; + power-domains = <&hw_pwr_2806002e8>; + status = "disabled"; + }; + hw_pwr_280600408: power-controller@408 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x408 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc2-cio-auss"; + power-domains = <&ps_auss>, <&hw_pwr_2806002e8>; + status = "disabled"; + }; +}; + +&pmgr1 { + hw_pwr_280900108: power-controller@108 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x108 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "global-aux-hpd-0"; + status = "disabled"; + }; + hw_pwr_280900110: power-controller@110 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x110 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "global-aux-hpd-1"; + status = "disabled"; + }; + hw_pwr_280900178: power-controller@178 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x178 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "fab7-soc"; + apple,always-on; + power-domains = <&hw_pwr_2806001d8>; + status = "disabled"; + }; + hw_pwr_280900180: power-controller@180 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x180 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "disp-sys"; + power-domains = <&hw_pwr_280900178>; + status = "disabled"; + }; + hw_pwr_280900190: power-controller@190 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x190 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "scodec"; + power-domains = <&hw_pwr_280900178>; + status = "disabled"; + }; + hw_pwr_280900198: power-controller@198 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x198 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "disp-fe"; + power-domains = <&hw_pwr_280900180>; + status = "disabled"; + }; + hw_pwr_2809001a8: power-controller@1a8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1a8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "disp-cpu"; + power-domains = <&hw_pwr_280900198>; + status = "disabled"; + }; + hw_pwr_280900288: power-controller@288 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x288 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "fab8-soc"; + apple,always-on; + power-domains = <&hw_pwr_2806001d8>; + status = "disabled"; + }; + hw_pwr_280900290: power-controller@290 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x290 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "sio"; + apple,always-on; + power-domains = <&hw_pwr_280900288>; + status = "disabled"; + }; + hw_pwr_280900298: power-controller@298 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x298 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "sep"; + apple,always-on; + power-domains = <&hw_pwr_280900288>; + status = "disabled"; + }; + hw_pwr_2809002a0: power-controller@2a0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2a0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "sio-cpu"; + apple,always-on; + power-domains = <&hw_pwr_280900290>; + status = "disabled"; + }; + hw_pwr_2809002c0: power-controller@2c0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2c0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "i2c0"; + power-domains = <&hw_pwr_280900290>; + status = "disabled"; + }; + hw_pwr_2809002d8: power-controller@2d8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2d8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "i2c3"; + power-domains = <&hw_pwr_280900290>; + status = "disabled"; + }; + hw_pwr_2809002e0: power-controller@2e0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2e0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "i2c4"; + power-domains = <&hw_pwr_280900290>; + status = "disabled"; + }; + hw_pwr_2809002f0: power-controller@2f0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x2f0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "i2c6"; + power-domains = <&hw_pwr_280900290>; + status = "disabled"; + }; + hw_pwr_280900300: power-controller@300 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x300 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "i2c8"; + power-domains = <&hw_pwr_280900290>; + status = "disabled"; + }; + hw_pwr_280900318: power-controller@318 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x318 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "aes"; + power-domains = <&hw_pwr_280900290>; + status = "disabled"; + }; + hw_pwr_280900330: power-controller@330 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x330 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "spi2"; + power-domains = <&ps_spi_p>; + status = "disabled"; + }; + hw_pwr_280900340: power-controller@340 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x340 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "spi4"; + power-domains = <&ps_spi_p>; + status = "disabled"; + }; + hw_pwr_280900398: power-controller@398 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x398 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "fab9-soc"; + apple,always-on; + power-domains = <&hw_pwr_2806001d8>; + status = "disabled"; + }; + hw_pwr_2809003a0: power-controller@3a0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x3a0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "isp-sys"; + power-domains = <&hw_pwr_280900398>; + status = "disabled"; + }; +}; + +&pmgr2 { + hw_pwr_288300058: power-controller@58 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x58 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "debug-gated"; + apple,always-on; + status = "disabled"; + }; + hw_pwr_288300098: power-controller@98 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x98 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-common-dp-0"; + status = "disabled"; + }; + hw_pwr_2883000a0: power-controller@a0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0xa0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-common-dp-1"; + status = "disabled"; + }; + hw_pwr_2883000a8: power-controller@a8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0xa8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-common-dp-2"; + status = "disabled"; + }; + hw_pwr_2883000b0: power-controller@b0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0xb0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-common-dp-3"; + status = "disabled"; + }; + hw_pwr_288300148: power-controller@148 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x148 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-usb-aon"; + status = "disabled"; + }; + hw_pwr_288300150: power-controller@150 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x150 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-usb"; + power-domains = <&hw_pwr_280600208>, <&hw_pwr_288300148>; + status = "disabled"; + }; + hw_pwr_288300158: power-controller@158 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x158 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "atc0-phymxwrap"; + power-domains = <&hw_pwr_280600208>, <&hw_pwr_288300148>; + status = "disabled"; + }; +}; + +&hw_pwr_bank_2380600000 { + hw_pwr_23806001a0: power-controller@1a0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1a0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "fab1-piogw"; + apple,always-on; + status = "disabled"; + }; + hw_pwr_23806001a8: power-controller@1a8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1a8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "fab0-soc"; + apple,always-on; + power-domains = <&hw_pwr_23806001a0>; + status = "disabled"; + }; + hw_pwr_23806001b0: power-controller@1b0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1b0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "fab1-soc"; + apple,always-on; + power-domains = <&hw_pwr_23806001a0>; + status = "disabled"; + }; + hw_pwr_23806001b8: power-controller@1b8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1b8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "fab2-soc"; + apple,always-on; + power-domains = <&hw_pwr_23806001a0>; + status = "disabled"; + }; + hw_pwr_23806001c0: power-controller@1c0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1c0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc0-sys"; + power-domains = <&hw_pwr_23806001a8>; + status = "disabled"; + }; + hw_pwr_23806001c8: power-controller@1c8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1c8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "msr0"; + power-domains = <&hw_pwr_23806001a8>; + status = "disabled"; + }; + hw_pwr_23806001d0: power-controller@1d0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1d0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "jpg"; + power-domains = <&hw_pwr_23806001a8>; + status = "disabled"; + }; + hw_pwr_23806001d8: power-controller@1d8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1d8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "avd-sys"; + power-domains = <&hw_pwr_23806001b0>; + status = "disabled"; + }; + hw_pwr_23806001e0: power-controller@1e0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1e0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "prores"; + power-domains = <&hw_pwr_23806001b0>; + status = "disabled"; + }; + hw_pwr_23806001f0: power-controller@1f0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1f0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc1-sys"; + power-domains = <&hw_pwr_23806001b8>; + status = "disabled"; + }; + hw_pwr_23806001f8: power-controller@1f8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x1f8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "msr1"; + power-domains = <&hw_pwr_23806001b8>; + status = "disabled"; + }; + hw_pwr_2380600200: power-controller@200 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x200 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "msr0-ase-core"; + power-domains = <&hw_pwr_23806001c8>; + status = "disabled"; + }; + hw_pwr_2380600208: power-controller@208 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x208 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "msr1-ase-core"; + power-domains = <&hw_pwr_23806001f8>; + status = "disabled"; + }; +}; + +&hw_pwr_bank_2380608000 { + hw_pwr_2380608000: power-controller@0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc0-dma"; + power-domains = <&hw_pwr_23806001c0>; + status = "disabled"; + }; + hw_pwr_2380608008: power-controller@8 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x8 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc0-pipe4"; + power-domains = <&hw_pwr_2380608000>; + status = "disabled"; + }; + hw_pwr_2380608010: power-controller@10 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x10 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc0-pipe5"; + power-domains = <&hw_pwr_2380608000>; + status = "disabled"; + }; + hw_pwr_2380608018: power-controller@18 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x18 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc0-me0"; + power-domains = <&hw_pwr_2380608000>; + status = "disabled"; + }; + hw_pwr_2380608020: power-controller@20 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x20 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc0-me1"; + power-domains = <&hw_pwr_2380608018>; + status = "disabled"; + }; + hw_pwr_2380608028: power-controller@28 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x28 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc1-dma"; + power-domains = <&hw_pwr_23806001f0>; + status = "disabled"; + }; + hw_pwr_2380608030: power-controller@30 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x30 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc1-pipe4"; + power-domains = <&hw_pwr_2380608028>; + status = "disabled"; + }; + hw_pwr_2380608038: power-controller@38 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x38 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc1-pipe5"; + power-domains = <&hw_pwr_2380608028>; + status = "disabled"; + }; + hw_pwr_2380608040: power-controller@40 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x40 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc1-me0"; + power-domains = <&hw_pwr_2380608028>; + status = "disabled"; + }; + hw_pwr_2380608048: power-controller@48 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x48 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "venc1-me1"; + power-domains = <&hw_pwr_2380608040>; + status = "disabled"; + }; +}; + +&hw_pwr_bank_2300e80000 { + hw_pwr_2300e80000: power-controller@0 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x0 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "gpx"; + apple,always-on; + status = "disabled"; + }; + hw_pwr_2300e80100: power-controller@100 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x100 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "afr"; + apple,always-on; + status = "disabled"; + }; + hw_pwr_2300e80110: power-controller@110 { + compatible = "apple,t6050-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate"; + reg = <0x110 4>; + #power-domain-cells = <0>; + #reset-cells = <0>; + label = "gfx"; + power-domains = <&hw_pwr_2300e80000>, <&hw_pwr_2300e80100>; + status = "disabled"; + }; +}; + +&hw_acio0 { + power-domains = <&hw_pwr_280600348>, <&hw_pwr_280600280>, <&hw_pwr_280600338>, <&hw_pwr_280600340>; +}; + +&hw_acio1 { + power-domains = <&hw_pwr_280600360>, <&hw_pwr_280600290>, <&hw_pwr_280600350>, <&hw_pwr_280600358>; +}; + +&hw_acio2 { + power-domains = <&hw_pwr_280600408>, <&hw_pwr_2806002e8>, <&hw_pwr_2806003f8>, <&hw_pwr_280600400>; +}; + +&hw_aes { + power-domains = <&hw_pwr_280900318>; +}; + +&hw_apciec0 { + power-domains = <&hw_pwr_288300148>, <&hw_pwr_280600288>; +}; + +&hw_apciec1 { + power-domains = <&ps_atc1_usb_aon>, <&hw_pwr_280600298>; +}; + +&hw_apciec2 { + power-domains = <&ps_atc2_usb_aon>, <&hw_pwr_2806002f0>; +}; + +&hw_apr0 { + power-domains = <&hw_pwr_280900190>; +}; + +&hw_atc_phy0 { + power-domains = <&hw_pwr_288300148>, <&hw_pwr_280600208>, <&hw_pwr_288300158>, <&hw_pwr_288300098>, <&hw_pwr_2883000a0>, <&hw_pwr_2883000a8>, <&hw_pwr_2883000b0>; +}; + +&hw_avd0 { + power-domains = <&hw_pwr_23806001d8>; +}; + +&hw_ave0 { + power-domains = <&hw_pwr_23806001c0>, <&hw_pwr_2380608008>, <&hw_pwr_2380608010>, <&hw_pwr_2380608018>, <&hw_pwr_2380608020>, <&hw_pwr_2380608000>; +}; + +&hw_ave1 { + power-domains = <&hw_pwr_23806001f0>, <&hw_pwr_2380608030>, <&hw_pwr_2380608038>, <&hw_pwr_2380608040>, <&hw_pwr_2380608048>, <&hw_pwr_2380608028>; +}; + +&hw_dart_apr0 { + power-domains = <&hw_pwr_280900190>; +}; + +&hw_dart_apr1 { + power-domains = <&hw_pwr_23806001e0>; +}; + +&hw_dart_avd0 { + power-domains = <&hw_pwr_23806001d8>; +}; + +&hw_dart_ave0 { + power-domains = <&hw_pwr_23806001c0>; +}; + +&hw_dart_ave1 { + power-domains = <&hw_pwr_23806001f0>; +}; + +&hw_dart_isp0 { + power-domains = <&hw_pwr_2809003a0>; +}; + +&hw_dart_jpeg0 { + power-domains = <&hw_pwr_23806001d0>; +}; + +&hw_dart_scaler { + power-domains = <&hw_pwr_23806001c8>, <&hw_pwr_23806001f8>; +}; + +&hw_dart_scaler0 { + power-domains = <&hw_pwr_23806001c8>; +}; + +&hw_dart_scaler1 { + power-domains = <&hw_pwr_23806001f8>; +}; + +&hw_dart_sio { + power-domains = <&hw_pwr_280900290>; +}; + +&hw_dart_usb0 { + power-domains = <&hw_pwr_288300150>; +}; + +&hw_dcp { + power-domains = <&hw_pwr_280900198>, <&hw_pwr_2809001a8>; +}; + +&hw_dptx0_aux { + power-domains = <&hw_pwr_280900108>; +}; + +&hw_dptx1_aux { + power-domains = <&hw_pwr_280900110>; +}; + +&hw_gfx1_asc { + power-domains = <&hw_pwr_2300e80110>; +}; + +&hw_gfx_asc { + power-domains = <&hw_pwr_2300e80110>; +}; + +&hw_i2c0 { + power-domains = <&hw_pwr_2809002c0>; +}; + +&hw_i2c3 { + power-domains = <&hw_pwr_2809002d8>; +}; + +&hw_i2c4 { + power-domains = <&hw_pwr_2809002e0>; +}; + +&hw_i2c6 { + power-domains = <&hw_pwr_2809002f0>; +}; + +&hw_i2c8 { + power-domains = <&hw_pwr_280900300>; +}; + +&hw_jpeg0 { + power-domains = <&hw_pwr_23806001d0>; +}; + +&hw_jpeg1 { + power-domains = <&hw_pwr_23806001d0>; +}; + +&hw_pmp0 { + power-domains = <&hw_pwr_280600128>, <&hw_pwr_280600130>; +}; + +&hw_rsm { + power-domains = <&hw_pwr_288300058>; +}; + +&hw_scaler0 { + power-domains = <&hw_pwr_23806001c8>, <&hw_pwr_2380600200>; +}; + +&hw_scaler1 { + power-domains = <&hw_pwr_23806001f8>, <&hw_pwr_2380600208>; +}; + +&hw_sep { + power-domains = <&hw_pwr_280900298>; +}; + +&hw_sgx { + power-domains = <&hw_pwr_2300e80110>; +}; + +&hw_sio { + power-domains = <&hw_pwr_2809002a0>; +}; + +&hw_spi2 { + power-domains = <&hw_pwr_280900330>; +}; + +&hw_spi4 { + power-domains = <&hw_pwr_280900340>; +}; + +&hw_usb_drd0 { + power-domains = <&hw_pwr_288300150>; +}; diff --git a/arch/arm64/boot/dts/apple/t6050-k114c-audio-topology.dtsi b/arch/arm64/boot/dts/apple/t6050-k114c-audio-topology.dtsi new file mode 100644 index 0000000000000..3d71f5dcb667a --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6050-k114c-audio-topology.dtsi @@ -0,0 +1,73 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Codec identities only; no amplifier programming or acoustic configuration. */ + +&i2c1 { + #address-cells = <1>; + #size-cells = <0>; + + hw_audio_speaker: codec@38 { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x38>; + #sound-dai-cells = <0>; + sound-name-prefix = "Speaker 0"; + status = "disabled"; + }; + + hw_audio_speaker_left_woofer_2: codec@39 { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x39>; + #sound-dai-cells = <0>; + sound-name-prefix = "Left Woofer 2"; + status = "disabled"; + }; + + hw_audio_speaker_left_tweeter: codec@3a { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x3a>; + #sound-dai-cells = <0>; + sound-name-prefix = "Left Tweeter"; + status = "disabled"; + }; +}; + +&i2c2 { + #address-cells = <1>; + #size-cells = <0>; + + hw_jack_codec: codec@4b { + compatible = "cirrus,cs42l84"; + reg = <0x4b>; + #sound-dai-cells = <0>; + sound-name-prefix = "Jack"; + status = "disabled"; + }; +}; + +&hw_i2c3 { + #address-cells = <1>; + #size-cells = <0>; + + hw_audio_speaker_right_woofer_1: codec@3b { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x3b>; + #sound-dai-cells = <0>; + sound-name-prefix = "Right Woofer 1"; + status = "disabled"; + }; + + hw_audio_speaker_right_woofer_2: codec@3c { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x3c>; + #sound-dai-cells = <0>; + sound-name-prefix = "Right Woofer 2"; + status = "disabled"; + }; + + hw_audio_speaker_right_tweeter: codec@3d { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x3d>; + #sound-dai-cells = <0>; + sound-name-prefix = "Right Tweeter"; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t6050-k114c-peripherals.dtsi b/arch/arm64/boot/dts/apple/t6050-k114c-peripherals.dtsi new file mode 100644 index 0000000000000..b7a6fa0a11f85 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6050-k114c-peripherals.dtsi @@ -0,0 +1,384 @@ +#include "t6050-peripherals.dtsi" + +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Register and interrupt resources; ownership-sensitive blocks stay disabled. */ + +&{/soc} { + hw_nub_spmi1: spmi-resource@28a054000 { + compatible = "apple,t6050-spmi", "apple,spmi"; + reg = <0x2 0x8a054000 0x0 0x4000>, + <0x2 0x8a044000 0x0 0x4000>, + <0x2 0x8a040000 0x0 0x4000>; + status = "disabled"; + interrupts = ; + }; + + hw_nub_spmi4: spmi-resource@28a114000 { + compatible = "apple,t6050-spmi", "apple,spmi"; + reg = <0x2 0x8a114000 0x0 0x4000>, + <0x2 0x8a104000 0x0 0x4000>, + <0x2 0x8a100000 0x0 0x4000>; + status = "disabled"; + interrupts = ; + }; + + hw_i2c3: i2c@50501c000 { + compatible = "apple,t6050-i2c", "apple,t8103-i2c"; + reg = <0x5 0x501c000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + clocks = <&clkref>; + #address-cells = <1>; + #size-cells = <0>; + }; + + hw_i2c4: i2c@505020000 { + compatible = "apple,t6050-i2c", "apple,t8103-i2c"; + reg = <0x5 0x5020000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + clocks = <&clkref>; + #address-cells = <1>; + #size-cells = <0>; + }; + + hw_spi2: spi@505108000 { + compatible = "apple,t6050-spi", "apple,spi"; + reg = <0x5 0x5108000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + }; + + hw_spi4: spi@505110000 { + compatible = "apple,t6050-spi", "apple,spi"; + reg = <0x5 0x5110000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + }; + + hw_nub_spmi_a1: spmi-resource@28a1a8000 { + compatible = "apple,t6050-spmi", "apple,spmi"; + reg = <0x2 0x8a1a8000 0x0 0x4000>, + <0x2 0x8a1a4000 0x0 0x4000>, + <0x2 0x8a1a0000 0x0 0x4000>; + status = "disabled"; + interrupts = ; + }; + + hw_dart_isp0: iommu@5828c0000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x5 0x828c0000 0x0 0xc000>, + <0x5 0x828e0000 0x0 0xc000>, + <0x5 0x82900000 0x0 0xc000>, + <0x5 0x828f4000 0x0 0x4000>, + <0x5 0x82914000 0x0 0x4000>, + <0x5 0x828d0000 0x0 0x4000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_dart_apcie1: iommu@411000000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x4 0x11000000 0x0 0x20000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_apcie1_piodma: dma-controller@411030000 { + compatible = "apple,t6050-pcie-piodma", "apple,pcie-piodma"; + reg = <0x4 0x11030000 0x0 0x4000>, + <0x4 0x11034000 0x0 0x4000>, + <0x4 0x11038000 0x0 0x4000>; + interrupts = ; + iommus = <&hw_dart_apcie1 17>; + status = "disabled"; + }; + + hw_dockchannel_mtp: dockchannel-complex@294b00000 { + compatible = "apple,t6050-dockchannel-complex", "apple,dockchannel-complex"; + reg = <0x2 0x94b00000 0x0 0x1000>, + <0x2 0x94b14000 0x0 0x1000>, + <0x2 0x94b30000 0x0 0x1000>, + <0x2 0x94b34000 0x0 0x1000>, + <0x2 0x94b28000 0x0 0x1000>, + <0x2 0x94b2c000 0x0 0x1000>; + interrupts = ; + status = "disabled"; + }; + + hw_secure_repair: secure-repair@2881e4000 { + compatible = "apple,t6050-secure-repair", "apple,secure-repair"; + reg = <0x2 0x881e4000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + ; + status = "disabled"; + }; + + hw_acio0: usb4@2a1f00000 { + compatible = "apple,t6050-usb4-nhi", "apple,usb4-nhi"; + reg = <0x2 0xa1f00000 0x0 0x100000>, + <0x2 0xa1ac0000 0x0 0x4000>, + <0x2 0xa1ac4000 0x0 0x4000>, + <0x2 0xa1ac8000 0x0 0x4000>, + <0x2 0xa1e44000 0x0 0x4000>, + <0x2 0xa1c80000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + iommus = <&hw_dart_acio0 0>, <&hw_dart_acio0 1>, <&hw_dart_acio0 2>, <&hw_dart_acio0 3>, <&hw_dart_acio0 4>, <&hw_dart_acio0 5>, <&hw_dart_acio0 6>, <&hw_dart_acio0 7>, <&hw_dart_acio0 8>, <&hw_dart_acio0 9>, <&hw_dart_acio0 10>, <&hw_dart_acio0 11>, <&hw_dart_acio0 16>, <&hw_dart_acio0 17>, <&hw_dart_acio0 18>, <&hw_dart_acio0 19>, <&hw_dart_acio0 20>, <&hw_dart_acio0 21>, <&hw_dart_acio0 22>, <&hw_dart_acio0 23>, <&hw_dart_acio0 24>, <&hw_dart_acio0 25>, <&hw_dart_acio0 26>, <&hw_dart_acio0 27>; + status = "disabled"; + }; + + hw_acio1: usb4@2a9f00000 { + compatible = "apple,t6050-usb4-nhi", "apple,usb4-nhi"; + reg = <0x2 0xa9f00000 0x0 0x100000>, + <0x2 0xa9ac0000 0x0 0x4000>, + <0x2 0xa9ac4000 0x0 0x4000>, + <0x2 0xa9ac8000 0x0 0x4000>, + <0x2 0xa9e44000 0x0 0x4000>, + <0x2 0xa9c80000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + iommus = <&hw_dart_acio1 0>, <&hw_dart_acio1 1>, <&hw_dart_acio1 2>, <&hw_dart_acio1 3>, <&hw_dart_acio1 4>, <&hw_dart_acio1 5>, <&hw_dart_acio1 6>, <&hw_dart_acio1 7>, <&hw_dart_acio1 8>, <&hw_dart_acio1 9>, <&hw_dart_acio1 10>, <&hw_dart_acio1 11>, <&hw_dart_acio1 16>, <&hw_dart_acio1 17>, <&hw_dart_acio1 18>, <&hw_dart_acio1 19>, <&hw_dart_acio1 20>, <&hw_dart_acio1 21>, <&hw_dart_acio1 22>, <&hw_dart_acio1 23>, <&hw_dart_acio1 24>, <&hw_dart_acio1 25>, <&hw_dart_acio1 26>, <&hw_dart_acio1 27>; + status = "disabled"; + }; + + hw_acio2: usb4@381f00000 { + compatible = "apple,t6050-usb4-nhi", "apple,usb4-nhi"; + reg = <0x3 0x81f00000 0x0 0x100000>, + <0x3 0x81ac0000 0x0 0x4000>, + <0x3 0x81ac4000 0x0 0x4000>, + <0x3 0x81ac8000 0x0 0x4000>, + <0x3 0x81e44000 0x0 0x4000>, + <0x3 0x81c80000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + iommus = <&hw_dart_acio2 0>, <&hw_dart_acio2 1>, <&hw_dart_acio2 2>, <&hw_dart_acio2 3>, <&hw_dart_acio2 4>, <&hw_dart_acio2 5>, <&hw_dart_acio2 6>, <&hw_dart_acio2 7>, <&hw_dart_acio2 8>, <&hw_dart_acio2 9>, <&hw_dart_acio2 10>, <&hw_dart_acio2 11>, <&hw_dart_acio2 16>, <&hw_dart_acio2 17>, <&hw_dart_acio2 18>, <&hw_dart_acio2 19>, <&hw_dart_acio2 20>, <&hw_dart_acio2 21>, <&hw_dart_acio2 22>, <&hw_dart_acio2 23>, <&hw_dart_acio2 24>, <&hw_dart_acio2 25>, <&hw_dart_acio2 26>, <&hw_dart_acio2 27>; + status = "disabled"; + }; + + hw_atc3_dpxbar: atc-dpxbar@38b24c000 { + compatible = "apple,t6050-atc-dpxbar", "apple,atc-dpxbar"; + reg = <0x3 0x8b24c000 0x0 0x4000>; + status = "disabled"; + }; + + hw_disp0: display-engine@488000000 { + compatible = "apple,t6050-display-engine", "apple,display-engine"; + reg = <0x4 0x88000000 0x0 0x4000000>, + <0x4 0x8a240000 0x0 0x10000>, + <0x4 0x8a3ac000 0x0 0x4000>, + <0x4 0x8a800000 0x0 0x800000>, + <0x2 0x86700000 0x0 0x114000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + ; + iommus = <&hw_dart_disp0 0>, <&hw_dart_disp0 16>; + status = "disabled"; + }; + + hw_dart_disp0: iommu@48a300000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x4 0x8a300000 0x0 0xc000>, + <0x4 0x8a314000 0x0 0x4000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_dcp0_expert: dcp-expert@48a3ac058 { + compatible = "apple,t6050-dcp-expert", "apple,dcp-expert"; + reg = <0x4 0x8a3ac058 0x0 0x4>, + <0x4 0x8a374000 0x0 0x40>, + <0x4 0x8a370000 0x0 0x40>, + <0x4 0x8a388000 0x0 0x40>, + <0x4 0x8a38c000 0x0 0x40>, + <0x4 0x8a394000 0x0 0x40>, + <0x4 0x8a398000 0x0 0x40>, + <0x4 0x8a39c000 0x0 0x40>, + <0x4 0x8a3a0000 0x0 0x40>, + <0x4 0x88208000 0x0 0x40>, + <0x4 0x8820c000 0x0 0x40>, + <0x4 0x88210000 0x0 0x40>, + <0x4 0x88214000 0x0 0x40>; + interrupts = ; + status = "disabled"; + }; + + hw_dcp: dcp@48ae00000 { + compatible = "apple,t6050-dcp", "apple,dcp"; + reg = <0x4 0x8ae00000 0x0 0x88000>, + <0x4 0x8a850000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + , + ; + iommus = <&hw_dart_dcp 23>, <&hw_dart_dcp 24>; + status = "disabled"; + }; + + hw_dart_dcp: iommu@48a340000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x4 0x8a340000 0x0 0x20000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_dart_disp0_isoc: iommu@48a180000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x4 0x8a180000 0x0 0x20000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_admac_disp0: dma-controller@48a140000 { + compatible = "apple,t6050-admac", "apple,admac"; + reg = <0x4 0x8a140000 0x0 0x24000>, + <0x2 0x88328000 0x0 0x8>; + interrupts = ; + iommus = <&hw_dart_disp0_isoc 30>; + status = "disabled"; + #dma-cells = <1>; + }; + + hw_admac_disp0_ced_ssw: admac-control@48a2f4000 { + compatible = "apple,t6050-admac-control", "apple,admac-control"; + reg = <0x4 0x8a2f4000 0x0 0x4000>, + <0x4 0x8a1a0000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + }; + + hw_avd0: video-decoder@2308000000 { + compatible = "apple,t6050-avd", "apple,avd"; + reg = <0x23 0x8000000 0x0 0x1404000>, + <0x23 0x88090000 0x0 0x4000>; + interrupts = , + ; + iommus = <&hw_dart_avd0 0>, <&hw_dart_avd0 1>, <&hw_dart_avd0 2>; + status = "disabled"; + }; + + hw_dart_avd0: iommu@2309020000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x23 0x9020000 0x0 0x20000>, + <0x2 0x74000000 0x0 0x4000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_admac_leap_s: dma-controller@293200000 { + compatible = "apple,t6050-admac", "apple,admac"; + reg = <0x2 0x93200000 0x0 0x34000>, + <0x2 0x88328000 0x0 0x8>; + interrupts = ; + status = "disabled"; + #dma-cells = <1>; + }; + + hw_admac_hp_mic_ec_proxy: audio-dma-proxy@4d3200000 { + compatible = "apple,t6050-audio-dma-proxy", "apple,audio-dma-proxy"; + reg = <0x4 0xd3200000 0x0 0x34000>; + status = "disabled"; + }; + + hw_admac_sllb_ec_proxy: audio-dma-proxy@4d3200000 { + compatible = "apple,t6050-audio-dma-proxy", "apple,audio-dma-proxy"; + reg = <0x4 0xd3200000 0x0 0x34000>; + status = "disabled"; + }; + + +}; diff --git a/arch/arm64/boot/dts/apple/t6050-k114c.dts b/arch/arm64/boot/dts/apple/t6050-k114c.dts index 1acbb53d1aa04..c9c0efeb4566f 100644 --- a/arch/arm64/boot/dts/apple/t6050-k114c.dts +++ b/arch/arm64/boot/dts/apple/t6050-k114c.dts @@ -19,3 +19,10 @@ &mtp_multitouch { firmware-name = "apple/tpmtfw-k114c.bin"; }; + +#include "t6050-k114c-peripherals.dtsi" + +#include "t6050-k114c-audio-topology.dtsi" + + +#include "t6050-k114-k116-power-domains.dtsi" diff --git a/arch/arm64/boot/dts/apple/t6050-k114s-audio-topology.dtsi b/arch/arm64/boot/dts/apple/t6050-k114s-audio-topology.dtsi new file mode 100644 index 0000000000000..3d71f5dcb667a --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6050-k114s-audio-topology.dtsi @@ -0,0 +1,73 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Codec identities only; no amplifier programming or acoustic configuration. */ + +&i2c1 { + #address-cells = <1>; + #size-cells = <0>; + + hw_audio_speaker: codec@38 { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x38>; + #sound-dai-cells = <0>; + sound-name-prefix = "Speaker 0"; + status = "disabled"; + }; + + hw_audio_speaker_left_woofer_2: codec@39 { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x39>; + #sound-dai-cells = <0>; + sound-name-prefix = "Left Woofer 2"; + status = "disabled"; + }; + + hw_audio_speaker_left_tweeter: codec@3a { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x3a>; + #sound-dai-cells = <0>; + sound-name-prefix = "Left Tweeter"; + status = "disabled"; + }; +}; + +&i2c2 { + #address-cells = <1>; + #size-cells = <0>; + + hw_jack_codec: codec@4b { + compatible = "cirrus,cs42l84"; + reg = <0x4b>; + #sound-dai-cells = <0>; + sound-name-prefix = "Jack"; + status = "disabled"; + }; +}; + +&hw_i2c3 { + #address-cells = <1>; + #size-cells = <0>; + + hw_audio_speaker_right_woofer_1: codec@3b { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x3b>; + #sound-dai-cells = <0>; + sound-name-prefix = "Right Woofer 1"; + status = "disabled"; + }; + + hw_audio_speaker_right_woofer_2: codec@3c { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x3c>; + #sound-dai-cells = <0>; + sound-name-prefix = "Right Woofer 2"; + status = "disabled"; + }; + + hw_audio_speaker_right_tweeter: codec@3d { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x3d>; + #sound-dai-cells = <0>; + sound-name-prefix = "Right Tweeter"; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t6050-k114s-peripherals.dtsi b/arch/arm64/boot/dts/apple/t6050-k114s-peripherals.dtsi new file mode 100644 index 0000000000000..545ceeb28c1f2 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6050-k114s-peripherals.dtsi @@ -0,0 +1,367 @@ +#include "t6050-peripherals.dtsi" + +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Register and interrupt resources; ownership-sensitive blocks stay disabled. */ + +&{/soc} { + + hw_i2c3: i2c@50501c000 { + compatible = "apple,t6050-i2c", "apple,t8103-i2c"; + reg = <0x5 0x501c000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + clocks = <&clkref>; + #address-cells = <1>; + #size-cells = <0>; + }; + + hw_i2c4: i2c@505020000 { + compatible = "apple,t6050-i2c", "apple,t8103-i2c"; + reg = <0x5 0x5020000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + clocks = <&clkref>; + #address-cells = <1>; + #size-cells = <0>; + }; + + hw_spi2: spi@505108000 { + compatible = "apple,t6050-spi", "apple,spi"; + reg = <0x5 0x5108000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + }; + + hw_spi4: spi@505110000 { + compatible = "apple,t6050-spi", "apple,spi"; + reg = <0x5 0x5110000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + }; + + hw_nub_spmi_a1: spmi-resource@28a1a8000 { + compatible = "apple,t6050-spmi", "apple,spmi"; + reg = <0x2 0x8a1a8000 0x0 0x4000>, + <0x2 0x8a1a4000 0x0 0x4000>, + <0x2 0x8a1a0000 0x0 0x4000>; + status = "disabled"; + interrupts = ; + }; + + hw_dart_isp0: iommu@5828c0000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x5 0x828c0000 0x0 0xc000>, + <0x5 0x828e0000 0x0 0xc000>, + <0x5 0x82900000 0x0 0xc000>, + <0x5 0x828f4000 0x0 0x4000>, + <0x5 0x82914000 0x0 0x4000>, + <0x5 0x828d0000 0x0 0x4000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_dart_apcie1: iommu@411000000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x4 0x11000000 0x0 0x20000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_apcie1_piodma: dma-controller@411030000 { + compatible = "apple,t6050-pcie-piodma", "apple,pcie-piodma"; + reg = <0x4 0x11030000 0x0 0x4000>, + <0x4 0x11034000 0x0 0x4000>, + <0x4 0x11038000 0x0 0x4000>; + interrupts = ; + iommus = <&hw_dart_apcie1 17>; + status = "disabled"; + }; + + hw_dockchannel_mtp: dockchannel-complex@294b00000 { + compatible = "apple,t6050-dockchannel-complex", "apple,dockchannel-complex"; + reg = <0x2 0x94b00000 0x0 0x1000>, + <0x2 0x94b14000 0x0 0x1000>, + <0x2 0x94b30000 0x0 0x1000>, + <0x2 0x94b34000 0x0 0x1000>, + <0x2 0x94b28000 0x0 0x1000>, + <0x2 0x94b2c000 0x0 0x1000>; + interrupts = ; + status = "disabled"; + }; + + hw_secure_repair: secure-repair@2881e4000 { + compatible = "apple,t6050-secure-repair", "apple,secure-repair"; + reg = <0x2 0x881e4000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + ; + status = "disabled"; + }; + + hw_acio0: usb4@2a1f00000 { + compatible = "apple,t6050-usb4-nhi", "apple,usb4-nhi"; + reg = <0x2 0xa1f00000 0x0 0x100000>, + <0x2 0xa1ac0000 0x0 0x4000>, + <0x2 0xa1ac4000 0x0 0x4000>, + <0x2 0xa1ac8000 0x0 0x4000>, + <0x2 0xa1e44000 0x0 0x4000>, + <0x2 0xa1c80000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + iommus = <&hw_dart_acio0 0>, <&hw_dart_acio0 1>, <&hw_dart_acio0 2>, <&hw_dart_acio0 3>, <&hw_dart_acio0 4>, <&hw_dart_acio0 5>, <&hw_dart_acio0 6>, <&hw_dart_acio0 7>, <&hw_dart_acio0 8>, <&hw_dart_acio0 9>, <&hw_dart_acio0 10>, <&hw_dart_acio0 11>, <&hw_dart_acio0 16>, <&hw_dart_acio0 17>, <&hw_dart_acio0 18>, <&hw_dart_acio0 19>, <&hw_dart_acio0 20>, <&hw_dart_acio0 21>, <&hw_dart_acio0 22>, <&hw_dart_acio0 23>, <&hw_dart_acio0 24>, <&hw_dart_acio0 25>, <&hw_dart_acio0 26>, <&hw_dart_acio0 27>; + status = "disabled"; + }; + + hw_acio1: usb4@2a9f00000 { + compatible = "apple,t6050-usb4-nhi", "apple,usb4-nhi"; + reg = <0x2 0xa9f00000 0x0 0x100000>, + <0x2 0xa9ac0000 0x0 0x4000>, + <0x2 0xa9ac4000 0x0 0x4000>, + <0x2 0xa9ac8000 0x0 0x4000>, + <0x2 0xa9e44000 0x0 0x4000>, + <0x2 0xa9c80000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + iommus = <&hw_dart_acio1 0>, <&hw_dart_acio1 1>, <&hw_dart_acio1 2>, <&hw_dart_acio1 3>, <&hw_dart_acio1 4>, <&hw_dart_acio1 5>, <&hw_dart_acio1 6>, <&hw_dart_acio1 7>, <&hw_dart_acio1 8>, <&hw_dart_acio1 9>, <&hw_dart_acio1 10>, <&hw_dart_acio1 11>, <&hw_dart_acio1 16>, <&hw_dart_acio1 17>, <&hw_dart_acio1 18>, <&hw_dart_acio1 19>, <&hw_dart_acio1 20>, <&hw_dart_acio1 21>, <&hw_dart_acio1 22>, <&hw_dart_acio1 23>, <&hw_dart_acio1 24>, <&hw_dart_acio1 25>, <&hw_dart_acio1 26>, <&hw_dart_acio1 27>; + status = "disabled"; + }; + + hw_acio2: usb4@381f00000 { + compatible = "apple,t6050-usb4-nhi", "apple,usb4-nhi"; + reg = <0x3 0x81f00000 0x0 0x100000>, + <0x3 0x81ac0000 0x0 0x4000>, + <0x3 0x81ac4000 0x0 0x4000>, + <0x3 0x81ac8000 0x0 0x4000>, + <0x3 0x81e44000 0x0 0x4000>, + <0x3 0x81c80000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + iommus = <&hw_dart_acio2 0>, <&hw_dart_acio2 1>, <&hw_dart_acio2 2>, <&hw_dart_acio2 3>, <&hw_dart_acio2 4>, <&hw_dart_acio2 5>, <&hw_dart_acio2 6>, <&hw_dart_acio2 7>, <&hw_dart_acio2 8>, <&hw_dart_acio2 9>, <&hw_dart_acio2 10>, <&hw_dart_acio2 11>, <&hw_dart_acio2 16>, <&hw_dart_acio2 17>, <&hw_dart_acio2 18>, <&hw_dart_acio2 19>, <&hw_dart_acio2 20>, <&hw_dart_acio2 21>, <&hw_dart_acio2 22>, <&hw_dart_acio2 23>, <&hw_dart_acio2 24>, <&hw_dart_acio2 25>, <&hw_dart_acio2 26>, <&hw_dart_acio2 27>; + status = "disabled"; + }; + + hw_atc3_dpxbar: atc-dpxbar@38b24c000 { + compatible = "apple,t6050-atc-dpxbar", "apple,atc-dpxbar"; + reg = <0x3 0x8b24c000 0x0 0x4000>; + status = "disabled"; + }; + + hw_disp0: display-engine@488000000 { + compatible = "apple,t6050-display-engine", "apple,display-engine"; + reg = <0x4 0x88000000 0x0 0x4000000>, + <0x4 0x8a240000 0x0 0x10000>, + <0x4 0x8a3ac000 0x0 0x4000>, + <0x4 0x8a800000 0x0 0x800000>, + <0x2 0x86700000 0x0 0x114000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + ; + iommus = <&hw_dart_disp0 0>, <&hw_dart_disp0 16>; + status = "disabled"; + }; + + hw_dart_disp0: iommu@48a300000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x4 0x8a300000 0x0 0xc000>, + <0x4 0x8a314000 0x0 0x4000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_dcp0_expert: dcp-expert@48a3ac058 { + compatible = "apple,t6050-dcp-expert", "apple,dcp-expert"; + reg = <0x4 0x8a3ac058 0x0 0x4>, + <0x4 0x8a374000 0x0 0x40>, + <0x4 0x8a370000 0x0 0x40>, + <0x4 0x8a388000 0x0 0x40>, + <0x4 0x8a38c000 0x0 0x40>, + <0x4 0x8a394000 0x0 0x40>, + <0x4 0x8a398000 0x0 0x40>, + <0x4 0x8a39c000 0x0 0x40>, + <0x4 0x8a3a0000 0x0 0x40>, + <0x4 0x88208000 0x0 0x40>, + <0x4 0x8820c000 0x0 0x40>, + <0x4 0x88210000 0x0 0x40>, + <0x4 0x88214000 0x0 0x40>; + interrupts = ; + status = "disabled"; + }; + + hw_dcp: dcp@48ae00000 { + compatible = "apple,t6050-dcp", "apple,dcp"; + reg = <0x4 0x8ae00000 0x0 0x88000>, + <0x4 0x8a850000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + , + ; + iommus = <&hw_dart_dcp 23>, <&hw_dart_dcp 24>; + status = "disabled"; + }; + + hw_dart_dcp: iommu@48a340000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x4 0x8a340000 0x0 0x20000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_dart_disp0_isoc: iommu@48a180000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x4 0x8a180000 0x0 0x20000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_admac_disp0: dma-controller@48a140000 { + compatible = "apple,t6050-admac", "apple,admac"; + reg = <0x4 0x8a140000 0x0 0x24000>, + <0x2 0x88328000 0x0 0x8>; + interrupts = ; + iommus = <&hw_dart_disp0_isoc 30>; + status = "disabled"; + #dma-cells = <1>; + }; + + hw_admac_disp0_ced_ssw: admac-control@48a2f4000 { + compatible = "apple,t6050-admac-control", "apple,admac-control"; + reg = <0x4 0x8a2f4000 0x0 0x4000>, + <0x4 0x8a1a0000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + }; + + hw_avd0: video-decoder@2308000000 { + compatible = "apple,t6050-avd", "apple,avd"; + reg = <0x23 0x8000000 0x0 0x1404000>, + <0x23 0x88090000 0x0 0x4000>; + interrupts = , + ; + iommus = <&hw_dart_avd0 0>, <&hw_dart_avd0 1>, <&hw_dart_avd0 2>; + status = "disabled"; + }; + + hw_dart_avd0: iommu@2309020000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x23 0x9020000 0x0 0x20000>, + <0x2 0x74000000 0x0 0x4000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_admac_leap_s: dma-controller@293200000 { + compatible = "apple,t6050-admac", "apple,admac"; + reg = <0x2 0x93200000 0x0 0x34000>, + <0x2 0x88328000 0x0 0x8>; + interrupts = ; + status = "disabled"; + #dma-cells = <1>; + }; + + hw_admac_hp_mic_ec_proxy: audio-dma-proxy@4d3200000 { + compatible = "apple,t6050-audio-dma-proxy", "apple,audio-dma-proxy"; + reg = <0x4 0xd3200000 0x0 0x34000>; + status = "disabled"; + }; + + hw_admac_sllb_ec_proxy: audio-dma-proxy@4d3200000 { + compatible = "apple,t6050-audio-dma-proxy", "apple,audio-dma-proxy"; + reg = <0x4 0xd3200000 0x0 0x34000>; + status = "disabled"; + }; + + +}; diff --git a/arch/arm64/boot/dts/apple/t6050-k114s.dts b/arch/arm64/boot/dts/apple/t6050-k114s.dts index bb1c9b4998953..bc8c488ebca22 100644 --- a/arch/arm64/boot/dts/apple/t6050-k114s.dts +++ b/arch/arm64/boot/dts/apple/t6050-k114s.dts @@ -19,3 +19,10 @@ &mtp_multitouch { firmware-name = "apple/tpmtfw-k114s.bin"; }; + +#include "t6050-k114s-peripherals.dtsi" + +#include "t6050-k114s-audio-topology.dtsi" + + +#include "t6050-k114-k116-power-domains.dtsi" diff --git a/arch/arm64/boot/dts/apple/t6050-k116c-audio-topology.dtsi b/arch/arm64/boot/dts/apple/t6050-k116c-audio-topology.dtsi new file mode 100644 index 0000000000000..3d71f5dcb667a --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6050-k116c-audio-topology.dtsi @@ -0,0 +1,73 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Codec identities only; no amplifier programming or acoustic configuration. */ + +&i2c1 { + #address-cells = <1>; + #size-cells = <0>; + + hw_audio_speaker: codec@38 { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x38>; + #sound-dai-cells = <0>; + sound-name-prefix = "Speaker 0"; + status = "disabled"; + }; + + hw_audio_speaker_left_woofer_2: codec@39 { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x39>; + #sound-dai-cells = <0>; + sound-name-prefix = "Left Woofer 2"; + status = "disabled"; + }; + + hw_audio_speaker_left_tweeter: codec@3a { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x3a>; + #sound-dai-cells = <0>; + sound-name-prefix = "Left Tweeter"; + status = "disabled"; + }; +}; + +&i2c2 { + #address-cells = <1>; + #size-cells = <0>; + + hw_jack_codec: codec@4b { + compatible = "cirrus,cs42l84"; + reg = <0x4b>; + #sound-dai-cells = <0>; + sound-name-prefix = "Jack"; + status = "disabled"; + }; +}; + +&hw_i2c3 { + #address-cells = <1>; + #size-cells = <0>; + + hw_audio_speaker_right_woofer_1: codec@3b { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x3b>; + #sound-dai-cells = <0>; + sound-name-prefix = "Right Woofer 1"; + status = "disabled"; + }; + + hw_audio_speaker_right_woofer_2: codec@3c { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x3c>; + #sound-dai-cells = <0>; + sound-name-prefix = "Right Woofer 2"; + status = "disabled"; + }; + + hw_audio_speaker_right_tweeter: codec@3d { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x3d>; + #sound-dai-cells = <0>; + sound-name-prefix = "Right Tweeter"; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t6050-k116c-peripherals.dtsi b/arch/arm64/boot/dts/apple/t6050-k116c-peripherals.dtsi new file mode 100644 index 0000000000000..b7a6fa0a11f85 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6050-k116c-peripherals.dtsi @@ -0,0 +1,384 @@ +#include "t6050-peripherals.dtsi" + +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Register and interrupt resources; ownership-sensitive blocks stay disabled. */ + +&{/soc} { + hw_nub_spmi1: spmi-resource@28a054000 { + compatible = "apple,t6050-spmi", "apple,spmi"; + reg = <0x2 0x8a054000 0x0 0x4000>, + <0x2 0x8a044000 0x0 0x4000>, + <0x2 0x8a040000 0x0 0x4000>; + status = "disabled"; + interrupts = ; + }; + + hw_nub_spmi4: spmi-resource@28a114000 { + compatible = "apple,t6050-spmi", "apple,spmi"; + reg = <0x2 0x8a114000 0x0 0x4000>, + <0x2 0x8a104000 0x0 0x4000>, + <0x2 0x8a100000 0x0 0x4000>; + status = "disabled"; + interrupts = ; + }; + + hw_i2c3: i2c@50501c000 { + compatible = "apple,t6050-i2c", "apple,t8103-i2c"; + reg = <0x5 0x501c000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + clocks = <&clkref>; + #address-cells = <1>; + #size-cells = <0>; + }; + + hw_i2c4: i2c@505020000 { + compatible = "apple,t6050-i2c", "apple,t8103-i2c"; + reg = <0x5 0x5020000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + clocks = <&clkref>; + #address-cells = <1>; + #size-cells = <0>; + }; + + hw_spi2: spi@505108000 { + compatible = "apple,t6050-spi", "apple,spi"; + reg = <0x5 0x5108000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + }; + + hw_spi4: spi@505110000 { + compatible = "apple,t6050-spi", "apple,spi"; + reg = <0x5 0x5110000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + }; + + hw_nub_spmi_a1: spmi-resource@28a1a8000 { + compatible = "apple,t6050-spmi", "apple,spmi"; + reg = <0x2 0x8a1a8000 0x0 0x4000>, + <0x2 0x8a1a4000 0x0 0x4000>, + <0x2 0x8a1a0000 0x0 0x4000>; + status = "disabled"; + interrupts = ; + }; + + hw_dart_isp0: iommu@5828c0000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x5 0x828c0000 0x0 0xc000>, + <0x5 0x828e0000 0x0 0xc000>, + <0x5 0x82900000 0x0 0xc000>, + <0x5 0x828f4000 0x0 0x4000>, + <0x5 0x82914000 0x0 0x4000>, + <0x5 0x828d0000 0x0 0x4000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_dart_apcie1: iommu@411000000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x4 0x11000000 0x0 0x20000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_apcie1_piodma: dma-controller@411030000 { + compatible = "apple,t6050-pcie-piodma", "apple,pcie-piodma"; + reg = <0x4 0x11030000 0x0 0x4000>, + <0x4 0x11034000 0x0 0x4000>, + <0x4 0x11038000 0x0 0x4000>; + interrupts = ; + iommus = <&hw_dart_apcie1 17>; + status = "disabled"; + }; + + hw_dockchannel_mtp: dockchannel-complex@294b00000 { + compatible = "apple,t6050-dockchannel-complex", "apple,dockchannel-complex"; + reg = <0x2 0x94b00000 0x0 0x1000>, + <0x2 0x94b14000 0x0 0x1000>, + <0x2 0x94b30000 0x0 0x1000>, + <0x2 0x94b34000 0x0 0x1000>, + <0x2 0x94b28000 0x0 0x1000>, + <0x2 0x94b2c000 0x0 0x1000>; + interrupts = ; + status = "disabled"; + }; + + hw_secure_repair: secure-repair@2881e4000 { + compatible = "apple,t6050-secure-repair", "apple,secure-repair"; + reg = <0x2 0x881e4000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + ; + status = "disabled"; + }; + + hw_acio0: usb4@2a1f00000 { + compatible = "apple,t6050-usb4-nhi", "apple,usb4-nhi"; + reg = <0x2 0xa1f00000 0x0 0x100000>, + <0x2 0xa1ac0000 0x0 0x4000>, + <0x2 0xa1ac4000 0x0 0x4000>, + <0x2 0xa1ac8000 0x0 0x4000>, + <0x2 0xa1e44000 0x0 0x4000>, + <0x2 0xa1c80000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + iommus = <&hw_dart_acio0 0>, <&hw_dart_acio0 1>, <&hw_dart_acio0 2>, <&hw_dart_acio0 3>, <&hw_dart_acio0 4>, <&hw_dart_acio0 5>, <&hw_dart_acio0 6>, <&hw_dart_acio0 7>, <&hw_dart_acio0 8>, <&hw_dart_acio0 9>, <&hw_dart_acio0 10>, <&hw_dart_acio0 11>, <&hw_dart_acio0 16>, <&hw_dart_acio0 17>, <&hw_dart_acio0 18>, <&hw_dart_acio0 19>, <&hw_dart_acio0 20>, <&hw_dart_acio0 21>, <&hw_dart_acio0 22>, <&hw_dart_acio0 23>, <&hw_dart_acio0 24>, <&hw_dart_acio0 25>, <&hw_dart_acio0 26>, <&hw_dart_acio0 27>; + status = "disabled"; + }; + + hw_acio1: usb4@2a9f00000 { + compatible = "apple,t6050-usb4-nhi", "apple,usb4-nhi"; + reg = <0x2 0xa9f00000 0x0 0x100000>, + <0x2 0xa9ac0000 0x0 0x4000>, + <0x2 0xa9ac4000 0x0 0x4000>, + <0x2 0xa9ac8000 0x0 0x4000>, + <0x2 0xa9e44000 0x0 0x4000>, + <0x2 0xa9c80000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + iommus = <&hw_dart_acio1 0>, <&hw_dart_acio1 1>, <&hw_dart_acio1 2>, <&hw_dart_acio1 3>, <&hw_dart_acio1 4>, <&hw_dart_acio1 5>, <&hw_dart_acio1 6>, <&hw_dart_acio1 7>, <&hw_dart_acio1 8>, <&hw_dart_acio1 9>, <&hw_dart_acio1 10>, <&hw_dart_acio1 11>, <&hw_dart_acio1 16>, <&hw_dart_acio1 17>, <&hw_dart_acio1 18>, <&hw_dart_acio1 19>, <&hw_dart_acio1 20>, <&hw_dart_acio1 21>, <&hw_dart_acio1 22>, <&hw_dart_acio1 23>, <&hw_dart_acio1 24>, <&hw_dart_acio1 25>, <&hw_dart_acio1 26>, <&hw_dart_acio1 27>; + status = "disabled"; + }; + + hw_acio2: usb4@381f00000 { + compatible = "apple,t6050-usb4-nhi", "apple,usb4-nhi"; + reg = <0x3 0x81f00000 0x0 0x100000>, + <0x3 0x81ac0000 0x0 0x4000>, + <0x3 0x81ac4000 0x0 0x4000>, + <0x3 0x81ac8000 0x0 0x4000>, + <0x3 0x81e44000 0x0 0x4000>, + <0x3 0x81c80000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + iommus = <&hw_dart_acio2 0>, <&hw_dart_acio2 1>, <&hw_dart_acio2 2>, <&hw_dart_acio2 3>, <&hw_dart_acio2 4>, <&hw_dart_acio2 5>, <&hw_dart_acio2 6>, <&hw_dart_acio2 7>, <&hw_dart_acio2 8>, <&hw_dart_acio2 9>, <&hw_dart_acio2 10>, <&hw_dart_acio2 11>, <&hw_dart_acio2 16>, <&hw_dart_acio2 17>, <&hw_dart_acio2 18>, <&hw_dart_acio2 19>, <&hw_dart_acio2 20>, <&hw_dart_acio2 21>, <&hw_dart_acio2 22>, <&hw_dart_acio2 23>, <&hw_dart_acio2 24>, <&hw_dart_acio2 25>, <&hw_dart_acio2 26>, <&hw_dart_acio2 27>; + status = "disabled"; + }; + + hw_atc3_dpxbar: atc-dpxbar@38b24c000 { + compatible = "apple,t6050-atc-dpxbar", "apple,atc-dpxbar"; + reg = <0x3 0x8b24c000 0x0 0x4000>; + status = "disabled"; + }; + + hw_disp0: display-engine@488000000 { + compatible = "apple,t6050-display-engine", "apple,display-engine"; + reg = <0x4 0x88000000 0x0 0x4000000>, + <0x4 0x8a240000 0x0 0x10000>, + <0x4 0x8a3ac000 0x0 0x4000>, + <0x4 0x8a800000 0x0 0x800000>, + <0x2 0x86700000 0x0 0x114000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + ; + iommus = <&hw_dart_disp0 0>, <&hw_dart_disp0 16>; + status = "disabled"; + }; + + hw_dart_disp0: iommu@48a300000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x4 0x8a300000 0x0 0xc000>, + <0x4 0x8a314000 0x0 0x4000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_dcp0_expert: dcp-expert@48a3ac058 { + compatible = "apple,t6050-dcp-expert", "apple,dcp-expert"; + reg = <0x4 0x8a3ac058 0x0 0x4>, + <0x4 0x8a374000 0x0 0x40>, + <0x4 0x8a370000 0x0 0x40>, + <0x4 0x8a388000 0x0 0x40>, + <0x4 0x8a38c000 0x0 0x40>, + <0x4 0x8a394000 0x0 0x40>, + <0x4 0x8a398000 0x0 0x40>, + <0x4 0x8a39c000 0x0 0x40>, + <0x4 0x8a3a0000 0x0 0x40>, + <0x4 0x88208000 0x0 0x40>, + <0x4 0x8820c000 0x0 0x40>, + <0x4 0x88210000 0x0 0x40>, + <0x4 0x88214000 0x0 0x40>; + interrupts = ; + status = "disabled"; + }; + + hw_dcp: dcp@48ae00000 { + compatible = "apple,t6050-dcp", "apple,dcp"; + reg = <0x4 0x8ae00000 0x0 0x88000>, + <0x4 0x8a850000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + , + ; + iommus = <&hw_dart_dcp 23>, <&hw_dart_dcp 24>; + status = "disabled"; + }; + + hw_dart_dcp: iommu@48a340000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x4 0x8a340000 0x0 0x20000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_dart_disp0_isoc: iommu@48a180000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x4 0x8a180000 0x0 0x20000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_admac_disp0: dma-controller@48a140000 { + compatible = "apple,t6050-admac", "apple,admac"; + reg = <0x4 0x8a140000 0x0 0x24000>, + <0x2 0x88328000 0x0 0x8>; + interrupts = ; + iommus = <&hw_dart_disp0_isoc 30>; + status = "disabled"; + #dma-cells = <1>; + }; + + hw_admac_disp0_ced_ssw: admac-control@48a2f4000 { + compatible = "apple,t6050-admac-control", "apple,admac-control"; + reg = <0x4 0x8a2f4000 0x0 0x4000>, + <0x4 0x8a1a0000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + }; + + hw_avd0: video-decoder@2308000000 { + compatible = "apple,t6050-avd", "apple,avd"; + reg = <0x23 0x8000000 0x0 0x1404000>, + <0x23 0x88090000 0x0 0x4000>; + interrupts = , + ; + iommus = <&hw_dart_avd0 0>, <&hw_dart_avd0 1>, <&hw_dart_avd0 2>; + status = "disabled"; + }; + + hw_dart_avd0: iommu@2309020000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x23 0x9020000 0x0 0x20000>, + <0x2 0x74000000 0x0 0x4000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_admac_leap_s: dma-controller@293200000 { + compatible = "apple,t6050-admac", "apple,admac"; + reg = <0x2 0x93200000 0x0 0x34000>, + <0x2 0x88328000 0x0 0x8>; + interrupts = ; + status = "disabled"; + #dma-cells = <1>; + }; + + hw_admac_hp_mic_ec_proxy: audio-dma-proxy@4d3200000 { + compatible = "apple,t6050-audio-dma-proxy", "apple,audio-dma-proxy"; + reg = <0x4 0xd3200000 0x0 0x34000>; + status = "disabled"; + }; + + hw_admac_sllb_ec_proxy: audio-dma-proxy@4d3200000 { + compatible = "apple,t6050-audio-dma-proxy", "apple,audio-dma-proxy"; + reg = <0x4 0xd3200000 0x0 0x34000>; + status = "disabled"; + }; + + +}; diff --git a/arch/arm64/boot/dts/apple/t6050-k116c.dts b/arch/arm64/boot/dts/apple/t6050-k116c.dts index 6942c070e7030..d826a6e5d5f91 100644 --- a/arch/arm64/boot/dts/apple/t6050-k116c.dts +++ b/arch/arm64/boot/dts/apple/t6050-k116c.dts @@ -19,3 +19,10 @@ &mtp_multitouch { firmware-name = "apple/tpmtfw-k116c.bin"; }; + +#include "t6050-k116c-peripherals.dtsi" + +#include "t6050-k116c-audio-topology.dtsi" + + +#include "t6050-k114-k116-power-domains.dtsi" diff --git a/arch/arm64/boot/dts/apple/t6050-k116s-audio-topology.dtsi b/arch/arm64/boot/dts/apple/t6050-k116s-audio-topology.dtsi new file mode 100644 index 0000000000000..3d71f5dcb667a --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6050-k116s-audio-topology.dtsi @@ -0,0 +1,73 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Codec identities only; no amplifier programming or acoustic configuration. */ + +&i2c1 { + #address-cells = <1>; + #size-cells = <0>; + + hw_audio_speaker: codec@38 { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x38>; + #sound-dai-cells = <0>; + sound-name-prefix = "Speaker 0"; + status = "disabled"; + }; + + hw_audio_speaker_left_woofer_2: codec@39 { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x39>; + #sound-dai-cells = <0>; + sound-name-prefix = "Left Woofer 2"; + status = "disabled"; + }; + + hw_audio_speaker_left_tweeter: codec@3a { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x3a>; + #sound-dai-cells = <0>; + sound-name-prefix = "Left Tweeter"; + status = "disabled"; + }; +}; + +&i2c2 { + #address-cells = <1>; + #size-cells = <0>; + + hw_jack_codec: codec@4b { + compatible = "cirrus,cs42l84"; + reg = <0x4b>; + #sound-dai-cells = <0>; + sound-name-prefix = "Jack"; + status = "disabled"; + }; +}; + +&hw_i2c3 { + #address-cells = <1>; + #size-cells = <0>; + + hw_audio_speaker_right_woofer_1: codec@3b { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x3b>; + #sound-dai-cells = <0>; + sound-name-prefix = "Right Woofer 1"; + status = "disabled"; + }; + + hw_audio_speaker_right_woofer_2: codec@3c { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x3c>; + #sound-dai-cells = <0>; + sound-name-prefix = "Right Woofer 2"; + status = "disabled"; + }; + + hw_audio_speaker_right_tweeter: codec@3d { + compatible = "ti,sn012776", "ti,tas2764"; + reg = <0x3d>; + #sound-dai-cells = <0>; + sound-name-prefix = "Right Tweeter"; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/apple/t6050-k116s-peripherals.dtsi b/arch/arm64/boot/dts/apple/t6050-k116s-peripherals.dtsi new file mode 100644 index 0000000000000..545ceeb28c1f2 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6050-k116s-peripherals.dtsi @@ -0,0 +1,367 @@ +#include "t6050-peripherals.dtsi" + +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Register and interrupt resources; ownership-sensitive blocks stay disabled. */ + +&{/soc} { + + hw_i2c3: i2c@50501c000 { + compatible = "apple,t6050-i2c", "apple,t8103-i2c"; + reg = <0x5 0x501c000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + clocks = <&clkref>; + #address-cells = <1>; + #size-cells = <0>; + }; + + hw_i2c4: i2c@505020000 { + compatible = "apple,t6050-i2c", "apple,t8103-i2c"; + reg = <0x5 0x5020000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + clocks = <&clkref>; + #address-cells = <1>; + #size-cells = <0>; + }; + + hw_spi2: spi@505108000 { + compatible = "apple,t6050-spi", "apple,spi"; + reg = <0x5 0x5108000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + }; + + hw_spi4: spi@505110000 { + compatible = "apple,t6050-spi", "apple,spi"; + reg = <0x5 0x5110000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + }; + + hw_nub_spmi_a1: spmi-resource@28a1a8000 { + compatible = "apple,t6050-spmi", "apple,spmi"; + reg = <0x2 0x8a1a8000 0x0 0x4000>, + <0x2 0x8a1a4000 0x0 0x4000>, + <0x2 0x8a1a0000 0x0 0x4000>; + status = "disabled"; + interrupts = ; + }; + + hw_dart_isp0: iommu@5828c0000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x5 0x828c0000 0x0 0xc000>, + <0x5 0x828e0000 0x0 0xc000>, + <0x5 0x82900000 0x0 0xc000>, + <0x5 0x828f4000 0x0 0x4000>, + <0x5 0x82914000 0x0 0x4000>, + <0x5 0x828d0000 0x0 0x4000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_dart_apcie1: iommu@411000000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x4 0x11000000 0x0 0x20000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_apcie1_piodma: dma-controller@411030000 { + compatible = "apple,t6050-pcie-piodma", "apple,pcie-piodma"; + reg = <0x4 0x11030000 0x0 0x4000>, + <0x4 0x11034000 0x0 0x4000>, + <0x4 0x11038000 0x0 0x4000>; + interrupts = ; + iommus = <&hw_dart_apcie1 17>; + status = "disabled"; + }; + + hw_dockchannel_mtp: dockchannel-complex@294b00000 { + compatible = "apple,t6050-dockchannel-complex", "apple,dockchannel-complex"; + reg = <0x2 0x94b00000 0x0 0x1000>, + <0x2 0x94b14000 0x0 0x1000>, + <0x2 0x94b30000 0x0 0x1000>, + <0x2 0x94b34000 0x0 0x1000>, + <0x2 0x94b28000 0x0 0x1000>, + <0x2 0x94b2c000 0x0 0x1000>; + interrupts = ; + status = "disabled"; + }; + + hw_secure_repair: secure-repair@2881e4000 { + compatible = "apple,t6050-secure-repair", "apple,secure-repair"; + reg = <0x2 0x881e4000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + ; + status = "disabled"; + }; + + hw_acio0: usb4@2a1f00000 { + compatible = "apple,t6050-usb4-nhi", "apple,usb4-nhi"; + reg = <0x2 0xa1f00000 0x0 0x100000>, + <0x2 0xa1ac0000 0x0 0x4000>, + <0x2 0xa1ac4000 0x0 0x4000>, + <0x2 0xa1ac8000 0x0 0x4000>, + <0x2 0xa1e44000 0x0 0x4000>, + <0x2 0xa1c80000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + iommus = <&hw_dart_acio0 0>, <&hw_dart_acio0 1>, <&hw_dart_acio0 2>, <&hw_dart_acio0 3>, <&hw_dart_acio0 4>, <&hw_dart_acio0 5>, <&hw_dart_acio0 6>, <&hw_dart_acio0 7>, <&hw_dart_acio0 8>, <&hw_dart_acio0 9>, <&hw_dart_acio0 10>, <&hw_dart_acio0 11>, <&hw_dart_acio0 16>, <&hw_dart_acio0 17>, <&hw_dart_acio0 18>, <&hw_dart_acio0 19>, <&hw_dart_acio0 20>, <&hw_dart_acio0 21>, <&hw_dart_acio0 22>, <&hw_dart_acio0 23>, <&hw_dart_acio0 24>, <&hw_dart_acio0 25>, <&hw_dart_acio0 26>, <&hw_dart_acio0 27>; + status = "disabled"; + }; + + hw_acio1: usb4@2a9f00000 { + compatible = "apple,t6050-usb4-nhi", "apple,usb4-nhi"; + reg = <0x2 0xa9f00000 0x0 0x100000>, + <0x2 0xa9ac0000 0x0 0x4000>, + <0x2 0xa9ac4000 0x0 0x4000>, + <0x2 0xa9ac8000 0x0 0x4000>, + <0x2 0xa9e44000 0x0 0x4000>, + <0x2 0xa9c80000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + iommus = <&hw_dart_acio1 0>, <&hw_dart_acio1 1>, <&hw_dart_acio1 2>, <&hw_dart_acio1 3>, <&hw_dart_acio1 4>, <&hw_dart_acio1 5>, <&hw_dart_acio1 6>, <&hw_dart_acio1 7>, <&hw_dart_acio1 8>, <&hw_dart_acio1 9>, <&hw_dart_acio1 10>, <&hw_dart_acio1 11>, <&hw_dart_acio1 16>, <&hw_dart_acio1 17>, <&hw_dart_acio1 18>, <&hw_dart_acio1 19>, <&hw_dart_acio1 20>, <&hw_dart_acio1 21>, <&hw_dart_acio1 22>, <&hw_dart_acio1 23>, <&hw_dart_acio1 24>, <&hw_dart_acio1 25>, <&hw_dart_acio1 26>, <&hw_dart_acio1 27>; + status = "disabled"; + }; + + hw_acio2: usb4@381f00000 { + compatible = "apple,t6050-usb4-nhi", "apple,usb4-nhi"; + reg = <0x3 0x81f00000 0x0 0x100000>, + <0x3 0x81ac0000 0x0 0x4000>, + <0x3 0x81ac4000 0x0 0x4000>, + <0x3 0x81ac8000 0x0 0x4000>, + <0x3 0x81e44000 0x0 0x4000>, + <0x3 0x81c80000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + iommus = <&hw_dart_acio2 0>, <&hw_dart_acio2 1>, <&hw_dart_acio2 2>, <&hw_dart_acio2 3>, <&hw_dart_acio2 4>, <&hw_dart_acio2 5>, <&hw_dart_acio2 6>, <&hw_dart_acio2 7>, <&hw_dart_acio2 8>, <&hw_dart_acio2 9>, <&hw_dart_acio2 10>, <&hw_dart_acio2 11>, <&hw_dart_acio2 16>, <&hw_dart_acio2 17>, <&hw_dart_acio2 18>, <&hw_dart_acio2 19>, <&hw_dart_acio2 20>, <&hw_dart_acio2 21>, <&hw_dart_acio2 22>, <&hw_dart_acio2 23>, <&hw_dart_acio2 24>, <&hw_dart_acio2 25>, <&hw_dart_acio2 26>, <&hw_dart_acio2 27>; + status = "disabled"; + }; + + hw_atc3_dpxbar: atc-dpxbar@38b24c000 { + compatible = "apple,t6050-atc-dpxbar", "apple,atc-dpxbar"; + reg = <0x3 0x8b24c000 0x0 0x4000>; + status = "disabled"; + }; + + hw_disp0: display-engine@488000000 { + compatible = "apple,t6050-display-engine", "apple,display-engine"; + reg = <0x4 0x88000000 0x0 0x4000000>, + <0x4 0x8a240000 0x0 0x10000>, + <0x4 0x8a3ac000 0x0 0x4000>, + <0x4 0x8a800000 0x0 0x800000>, + <0x2 0x86700000 0x0 0x114000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + ; + iommus = <&hw_dart_disp0 0>, <&hw_dart_disp0 16>; + status = "disabled"; + }; + + hw_dart_disp0: iommu@48a300000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x4 0x8a300000 0x0 0xc000>, + <0x4 0x8a314000 0x0 0x4000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_dcp0_expert: dcp-expert@48a3ac058 { + compatible = "apple,t6050-dcp-expert", "apple,dcp-expert"; + reg = <0x4 0x8a3ac058 0x0 0x4>, + <0x4 0x8a374000 0x0 0x40>, + <0x4 0x8a370000 0x0 0x40>, + <0x4 0x8a388000 0x0 0x40>, + <0x4 0x8a38c000 0x0 0x40>, + <0x4 0x8a394000 0x0 0x40>, + <0x4 0x8a398000 0x0 0x40>, + <0x4 0x8a39c000 0x0 0x40>, + <0x4 0x8a3a0000 0x0 0x40>, + <0x4 0x88208000 0x0 0x40>, + <0x4 0x8820c000 0x0 0x40>, + <0x4 0x88210000 0x0 0x40>, + <0x4 0x88214000 0x0 0x40>; + interrupts = ; + status = "disabled"; + }; + + hw_dcp: dcp@48ae00000 { + compatible = "apple,t6050-dcp", "apple,dcp"; + reg = <0x4 0x8ae00000 0x0 0x88000>, + <0x4 0x8a850000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + , + ; + iommus = <&hw_dart_dcp 23>, <&hw_dart_dcp 24>; + status = "disabled"; + }; + + hw_dart_dcp: iommu@48a340000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x4 0x8a340000 0x0 0x20000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_dart_disp0_isoc: iommu@48a180000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x4 0x8a180000 0x0 0x20000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_admac_disp0: dma-controller@48a140000 { + compatible = "apple,t6050-admac", "apple,admac"; + reg = <0x4 0x8a140000 0x0 0x24000>, + <0x2 0x88328000 0x0 0x8>; + interrupts = ; + iommus = <&hw_dart_disp0_isoc 30>; + status = "disabled"; + #dma-cells = <1>; + }; + + hw_admac_disp0_ced_ssw: admac-control@48a2f4000 { + compatible = "apple,t6050-admac-control", "apple,admac-control"; + reg = <0x4 0x8a2f4000 0x0 0x4000>, + <0x4 0x8a1a0000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + }; + + hw_avd0: video-decoder@2308000000 { + compatible = "apple,t6050-avd", "apple,avd"; + reg = <0x23 0x8000000 0x0 0x1404000>, + <0x23 0x88090000 0x0 0x4000>; + interrupts = , + ; + iommus = <&hw_dart_avd0 0>, <&hw_dart_avd0 1>, <&hw_dart_avd0 2>; + status = "disabled"; + }; + + hw_dart_avd0: iommu@2309020000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x23 0x9020000 0x0 0x20000>, + <0x2 0x74000000 0x0 0x4000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_admac_leap_s: dma-controller@293200000 { + compatible = "apple,t6050-admac", "apple,admac"; + reg = <0x2 0x93200000 0x0 0x34000>, + <0x2 0x88328000 0x0 0x8>; + interrupts = ; + status = "disabled"; + #dma-cells = <1>; + }; + + hw_admac_hp_mic_ec_proxy: audio-dma-proxy@4d3200000 { + compatible = "apple,t6050-audio-dma-proxy", "apple,audio-dma-proxy"; + reg = <0x4 0xd3200000 0x0 0x34000>; + status = "disabled"; + }; + + hw_admac_sllb_ec_proxy: audio-dma-proxy@4d3200000 { + compatible = "apple,t6050-audio-dma-proxy", "apple,audio-dma-proxy"; + reg = <0x4 0xd3200000 0x0 0x34000>; + status = "disabled"; + }; + + +}; diff --git a/arch/arm64/boot/dts/apple/t6050-k116s.dts b/arch/arm64/boot/dts/apple/t6050-k116s.dts index 6461b33a1b830..3237dc2f0ade9 100644 --- a/arch/arm64/boot/dts/apple/t6050-k116s.dts +++ b/arch/arm64/boot/dts/apple/t6050-k116s.dts @@ -19,3 +19,10 @@ &mtp_multitouch { firmware-name = "apple/tpmtfw-k116s.bin"; }; + +#include "t6050-k116s-peripherals.dtsi" + +#include "t6050-k116s-audio-topology.dtsi" + + +#include "t6050-k114-k116-power-domains.dtsi" diff --git a/arch/arm64/boot/dts/apple/t6050-peripherals.dtsi b/arch/arm64/boot/dts/apple/t6050-peripherals.dtsi new file mode 100644 index 0000000000000..611882e2bf503 --- /dev/null +++ b/arch/arm64/boot/dts/apple/t6050-peripherals.dtsi @@ -0,0 +1,1470 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* Shared disabled peripheral resources. */ + +/ { + soc { + compatible = "simple-bus"; + #address-cells = <2>; + #size-cells = <2>; + ranges; + nonposted-mmio; + }; +}; + +&{/soc} { + hw_i2c0: i2c@505010000 { + compatible = "apple,t6050-i2c", "apple,t8103-i2c"; + reg = <0x5 0x5010000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + clocks = <&clkref>; + #address-cells = <1>; + #size-cells = <0>; + }; + + hw_i2c6: i2c@505028000 { + compatible = "apple,t6050-i2c", "apple,t8103-i2c"; + reg = <0x5 0x5028000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + clocks = <&clkref>; + #address-cells = <1>; + #size-cells = <0>; + }; + + hw_i2c8: i2c@505030000 { + compatible = "apple,t6050-i2c", "apple,t8103-i2c"; + reg = <0x5 0x5030000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + clocks = <&clkref>; + #address-cells = <1>; + #size-cells = <0>; + }; + + hw_apcie0_piodma: dma-controller@410030000 { + compatible = "apple,t6050-pcie-piodma", "apple,pcie-piodma"; + reg = <0x4 0x10030000 0x0 0x4000>, + <0x4 0x10034000 0x0 0x4000>, + <0x4 0x10038000 0x0 0x4000>; + interrupts = ; + iommus = <&dart_apcie0 17>; + status = "disabled"; + }; + + hw_apciec0: pcie@1c50000000 { + compatible = "apple,t6050-pciec", "apple,pciec"; + reg = <0x1c 0x50000000 0x0 0x10000000>, + <0x2 0xa4034000 0x0 0x4000>, + <0x2 0xa4020000 0x0 0x8000>, + <0x2 0xa4038000 0x0 0x4000>, + <0x2 0xa4060000 0x0 0x4000>, + <0x2 0xa0020000 0x0 0x4000>, + <0x2 0xa402c000 0x0 0x4000>, + <0x2 0xa4028000 0x0 0x4000>; + interrupts = , + , + , + , + , + ; + status = "disabled"; + }; + + hw_dart_apciec0: iommu@2a4000000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x2 0xa4000000 0x0 0x20000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_apciec0_piodma: dma-controller@2a4068000 { + compatible = "apple,t6050-pciec-piodma", "apple,pciec-piodma"; + reg = <0x2 0xa4068000 0x0 0x4000>, + <0x2 0xa406c000 0x0 0x4000>, + <0x2 0xa4070000 0x0 0x4000>, + <0x2 0xa403c000 0x0 0x4000>; + interrupts = ; + iommus = <&hw_dart_apciec0 254>; + status = "disabled"; + }; + + hw_dart_acio0: iommu@2a1a80000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x2 0xa1a80000 0x0 0xc000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_acio_cpu0: usb4-coproc@2a1108000 { + compatible = "apple,t6050-usb4-acio", "apple,usb4-acio"; + reg = <0x2 0xa1108000 0x0 0x4000>, + <0x2 0xa1100000 0x0 0x4000>; + interrupts = , + , + , + ; + status = "disabled"; + }; + + hw_apciec1: pcie@1c60000000 { + compatible = "apple,t6050-pciec", "apple,pciec"; + reg = <0x1c 0x60000000 0x0 0x10000000>, + <0x2 0xac034000 0x0 0x4000>, + <0x2 0xac020000 0x0 0x8000>, + <0x2 0xac038000 0x0 0x4000>, + <0x2 0xac060000 0x0 0x4000>, + <0x2 0xa8020000 0x0 0x4000>, + <0x2 0xac02c000 0x0 0x4000>, + <0x2 0xac028000 0x0 0x4000>; + interrupts = , + , + , + , + , + ; + status = "disabled"; + }; + + hw_dart_apciec1: iommu@2ac000000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x2 0xac000000 0x0 0x20000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_apciec1_piodma: dma-controller@2ac068000 { + compatible = "apple,t6050-pciec-piodma", "apple,pciec-piodma"; + reg = <0x2 0xac068000 0x0 0x4000>, + <0x2 0xac06c000 0x0 0x4000>, + <0x2 0xac070000 0x0 0x4000>, + <0x2 0xac03c000 0x0 0x4000>; + interrupts = ; + iommus = <&hw_dart_apciec1 254>; + status = "disabled"; + }; + + hw_dart_acio1: iommu@2a9a80000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x2 0xa9a80000 0x0 0xc000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_acio_cpu1: usb4-coproc@2a9108000 { + compatible = "apple,t6050-usb4-acio", "apple,usb4-acio"; + reg = <0x2 0xa9108000 0x0 0x4000>, + <0x2 0xa9100000 0x0 0x4000>; + interrupts = , + , + , + ; + status = "disabled"; + }; + + hw_apciec2: pcie@1c70000000 { + compatible = "apple,t6050-pciec", "apple,pciec"; + reg = <0x1c 0x70000000 0x0 0x10000000>, + <0x3 0x84034000 0x0 0x4000>, + <0x3 0x84020000 0x0 0x8000>, + <0x3 0x84038000 0x0 0x4000>, + <0x3 0x84060000 0x0 0x4000>, + <0x3 0x80020000 0x0 0x4000>, + <0x3 0x8402c000 0x0 0x4000>, + <0x3 0x84028000 0x0 0x4000>; + interrupts = , + , + , + , + , + ; + status = "disabled"; + }; + + hw_dart_apciec2: iommu@384000000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x3 0x84000000 0x0 0x20000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_apciec2_piodma: dma-controller@384068000 { + compatible = "apple,t6050-pciec-piodma", "apple,pciec-piodma"; + reg = <0x3 0x84068000 0x0 0x4000>, + <0x3 0x8406c000 0x0 0x4000>, + <0x3 0x84070000 0x0 0x4000>, + <0x3 0x8403c000 0x0 0x4000>; + interrupts = ; + iommus = <&hw_dart_apciec2 254>; + status = "disabled"; + }; + + hw_dart_acio2: iommu@381a80000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x3 0x81a80000 0x0 0xc000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_acio_cpu2: usb4-coproc@381108000 { + compatible = "apple,t6050-usb4-acio", "apple,usb4-acio"; + reg = <0x3 0x81108000 0x0 0x4000>, + <0x3 0x81100000 0x0 0x4000>; + interrupts = , + , + , + ; + status = "disabled"; + }; + + hw_atc0_dpxbar: atc-dpxbar@2a324c000 { + compatible = "apple,t6050-atc-dpxbar", "apple,atc-dpxbar"; + reg = <0x2 0xa324c000 0x0 0x4000>; + status = "disabled"; + }; + + hw_atc0_dpin0: dp-in@2a1e50000 { + compatible = "apple,t6050-dp-in", "apple,dp-in"; + reg = <0x2 0xa1e50000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + }; + + hw_atc0_dpin1: dp-in@2a1e58000 { + compatible = "apple,t6050-dp-in", "apple,dp-in"; + reg = <0x2 0xa1e58000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + }; + + hw_atc0_dpin2: dp-in@2a1e68000 { + compatible = "apple,t6050-dp-in", "apple,dp-in"; + reg = <0x2 0xa1e68000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + }; + + hw_atc0_dpin3: dp-in@2a1e70000 { + compatible = "apple,t6050-dp-in", "apple,dp-in"; + reg = <0x2 0xa1e70000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + }; + + hw_atc1_dpxbar: atc-dpxbar@2ab24c000 { + compatible = "apple,t6050-atc-dpxbar", "apple,atc-dpxbar"; + reg = <0x2 0xab24c000 0x0 0x4000>; + status = "disabled"; + }; + + hw_atc1_dpin0: dp-in@2a9e50000 { + compatible = "apple,t6050-dp-in", "apple,dp-in"; + reg = <0x2 0xa9e50000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + }; + + hw_atc1_dpin1: dp-in@2a9e58000 { + compatible = "apple,t6050-dp-in", "apple,dp-in"; + reg = <0x2 0xa9e58000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + }; + + hw_atc1_dpin2: dp-in@2a9e68000 { + compatible = "apple,t6050-dp-in", "apple,dp-in"; + reg = <0x2 0xa9e68000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + }; + + hw_atc1_dpin3: dp-in@2a9e70000 { + compatible = "apple,t6050-dp-in", "apple,dp-in"; + reg = <0x2 0xa9e70000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + }; + + hw_atc2_dpxbar: atc-dpxbar@38324c000 { + compatible = "apple,t6050-atc-dpxbar", "apple,atc-dpxbar"; + reg = <0x3 0x8324c000 0x0 0x4000>; + status = "disabled"; + }; + + hw_atc2_dpin0: dp-in@381e50000 { + compatible = "apple,t6050-dp-in", "apple,dp-in"; + reg = <0x3 0x81e50000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + }; + + hw_atc2_dpin1: dp-in@381e58000 { + compatible = "apple,t6050-dp-in", "apple,dp-in"; + reg = <0x3 0x81e58000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + }; + + hw_atc2_dpin2: dp-in@381e68000 { + compatible = "apple,t6050-dp-in", "apple,dp-in"; + reg = <0x3 0x81e68000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + }; + + hw_atc2_dpin3: dp-in@381e70000 { + compatible = "apple,t6050-dp-in", "apple,dp-in"; + reg = <0x3 0x81e70000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + }; + + hw_mcc: memory-controller@280620000 { + compatible = "apple,t6050-mcc", "apple,mcc"; + reg = <0x2 0x80620000 0x0 0x4000>, + <0x2 0x84310000 0x0 0x4000>, + <0x2 0x84240000 0x0 0x4000>, + <0x2 0x84250000 0x0 0x4000>; + status = "disabled"; + }; + + hw_aic_timebase: timer@280580000 { + compatible = "apple,t6050-aic-timebase", "apple,aic-timebase"; + reg = <0x2 0x80580000 0x0 0x1000>; + status = "disabled"; + }; + + hw_aes: crypto@50500c000 { + compatible = "apple,t6050-aes", "apple,aes"; + reg = <0x5 0x500c000 0x0 0x4000>, + <0x2 0x88340000 0x0 0x8000>, + <0x2 0x88090000 0x0 0x4000>; + interrupts = ; + iommus = <&hw_dart_sio 1>; + status = "disabled"; + }; + + hw_nub_gpio0: pinctrl@2881e4000 { + compatible = "apple,t6050-pinctrl", "apple,pinctrl"; + reg = <0x2 0x881e4000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + ; + #address-cells = <0>; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + status = "disabled"; + }; + + hw_aop_exclave_mailbox: mailbox@4d067c000 { + compatible = "apple,t6050-secure-mailbox", "apple,secure-mailbox"; + reg = <0x4 0xd067c000 0x0 0x4000>; + interrupts = , + ; + iommus = <&aop_dart 1>; + status = "disabled"; + }; + + hw_aop2: aop2@291600000 { + compatible = "apple,t6050-aop2", "apple,aop2"; + reg = <0x2 0x91600000 0x0 0x88000>, + <0x2 0x91650000 0x0 0x4000>, + <0x2 0x9162c000 0x0 0x3c008>; + interrupts = , + , + , + ; + iommus = <&aop_dart 16>; + status = "disabled"; + }; + + hw_event_log_handler: event-log@280040000 { + compatible = "apple,t6050-event-log", "apple,soc-event-log"; + reg = <0x2 0x80040000 0x0 0x4000>, + <0x2 0x8004e000 0x0 0x4000>, + <0x23 0x8004c800 0x0 0x4000>, + <0x23 0x80040000 0x0 0x4000>, + <0x2 0x80200000 0x0 0x4000>, + <0x2 0x80000000 0x0 0x14000>, + <0x2 0x8003c000 0x0 0x4000>, + <0x2 0x80020000 0x0 0x10000>, + <0x2 0x806e0000 0x0 0x4000>, + <0x2 0x806d0000 0x0 0x4000>, + <0x2 0x80668000 0x0 0x4000>, + <0x2 0x80680000 0x0 0x1c000>, + <0x2 0x807d0000 0x0 0x4000>, + <0x2 0x806f0000 0x0 0x4000>, + <0x2 0x80928000 0x0 0x4000>, + <0x2 0x80938000 0x0 0x8000>, + <0x2 0x86700000 0x0 0x114000>, + <0x2 0x84380000 0x0 0x20000>, + <0x2 0x85040000 0x0 0x1c000>, + <0x2 0x84360000 0x0 0x4000>, + <0x2 0x84370000 0x0 0x4000>, + <0x23 0x85040000 0x0 0x1c000>, + <0x23 0x84360000 0x0 0x4000>, + <0x23 0x84370000 0x0 0x4000>, + <0x5 0x9878000 0x0 0x4000>, + <0x5 0x9868000 0x0 0x8000>, + <0x23 0x80300000 0x0 0x8000>, + <0x23 0x80308000 0x0 0x8000>, + <0x2 0x80300000 0x0 0x8000>, + <0x23 0x80034000 0x0 0x4000>, + <0x23 0x8003c000 0x0 0x4000>, + <0x23 0x80020000 0x0 0x10000>, + <0x23 0x80038000 0x0 0x4000>, + <0x23 0x80640000 0x0 0x10000>, + <0x23 0x806d0000 0x0 0x4000>, + <0x23 0x80668000 0x0 0x4000>, + <0x23 0x80680000 0x0 0x1c000>, + <0x23 0x806f0000 0x0 0x4000>, + <0x2 0x84000000 0x0 0x4000>, + <0x2 0x84004600 0x0 0x4000>, + <0x2 0x84004000 0x0 0x4000>, + <0x2 0x84004780 0x0 0x4000>, + <0x2 0x84007400 0x0 0x4000>, + <0x2 0x84004e00 0x0 0x4000>, + <0x2 0x84004800 0x0 0x4000>, + <0x2 0x84004f80 0x0 0x4000>, + <0x2 0x84007600 0x0 0x4000>, + <0x2 0x84005600 0x0 0x4000>, + <0x2 0x84005000 0x0 0x4000>, + <0x2 0x84005780 0x0 0x4000>, + <0x2 0x84007800 0x0 0x4000>, + <0x2 0x84005e00 0x0 0x4000>, + <0x2 0x84005800 0x0 0x4000>, + <0x2 0x84005f80 0x0 0x4000>, + <0x2 0x84007a00 0x0 0x4000>, + <0x2 0x84003e00 0x0 0x4000>, + <0x2 0x84003800 0x0 0x4000>, + <0x2 0x84003f80 0x0 0x4000>, + <0x2 0x84007200 0x0 0x4000>, + <0x2 0x84006e00 0x0 0x4000>, + <0x2 0x84006800 0x0 0x4000>, + <0x2 0x84006f80 0x0 0x4000>, + <0x2 0x84007e00 0x0 0x4000>, + <0x2 0x84006600 0x0 0x4000>, + <0x2 0x84006000 0x0 0x4000>, + <0x2 0x84006780 0x0 0x4000>, + <0x2 0x84007c00 0x0 0x4000>, + <0x2 0x84002e00 0x0 0x4000>, + <0x2 0x84002800 0x0 0x4000>, + <0x2 0x84002f80 0x0 0x4000>, + <0x2 0x84007000 0x0 0x4000>, + <0x2 0x84003600 0x0 0x4000>, + <0x2 0x84003000 0x0 0x4000>, + <0x2 0x84003780 0x0 0x4000>, + <0x2 0x84000400 0x0 0x4000>, + <0x2 0x84000400 0x0 0x4000>, + <0x2 0x84000400 0x0 0x4000>, + <0x2 0x84000400 0x0 0x4000>, + <0x2 0x84000400 0x0 0x4000>, + <0x2 0x84000400 0x0 0x4000>, + <0x2 0x84000400 0x0 0x4000>, + <0x2 0x84000400 0x0 0x4000>, + <0x23 0x84000000 0x0 0x4000>, + <0x23 0x84004e00 0x0 0x4000>, + <0x23 0x84004800 0x0 0x4000>, + <0x23 0x84004f80 0x0 0x4000>, + <0x23 0x84007000 0x0 0x4000>, + <0x23 0x84002e00 0x0 0x4000>, + <0x23 0x84002800 0x0 0x4000>, + <0x23 0x84002f80 0x0 0x4000>, + <0x23 0x84006800 0x0 0x4000>, + <0x23 0x84003600 0x0 0x4000>, + <0x23 0x84003000 0x0 0x4000>, + <0x23 0x84003780 0x0 0x4000>, + <0x23 0x84006a00 0x0 0x4000>, + <0x23 0x84005600 0x0 0x4000>, + <0x23 0x84005000 0x0 0x4000>, + <0x23 0x84005780 0x0 0x4000>, + <0x23 0x84007200 0x0 0x4000>, + <0x23 0x84006600 0x0 0x4000>, + <0x23 0x84006000 0x0 0x4000>, + <0x23 0x84006780 0x0 0x4000>, + <0x23 0x84007400 0x0 0x4000>, + <0x23 0x84005e00 0x0 0x4000>, + <0x23 0x84005800 0x0 0x4000>, + <0x23 0x84005f80 0x0 0x4000>, + <0x23 0x84003e00 0x0 0x4000>, + <0x23 0x84003800 0x0 0x4000>, + <0x23 0x84003f80 0x0 0x4000>, + <0x23 0x84006c00 0x0 0x4000>, + <0x23 0x84004600 0x0 0x4000>, + <0x23 0x84004000 0x0 0x4000>, + <0x23 0x84004780 0x0 0x4000>, + <0x23 0x84006e00 0x0 0x4000>, + <0x23 0x84000400 0x0 0x4000>, + <0x23 0x84000400 0x0 0x4000>, + <0x23 0x84000400 0x0 0x4000>, + <0x23 0x84000400 0x0 0x4000>, + <0x23 0x84000400 0x0 0x4000>, + <0x23 0x84000400 0x0 0x4000>, + <0x23 0x84000400 0x0 0x4000>, + <0x23 0x84000400 0x0 0x4000>, + <0x2 0x88f00000 0x0 0x18000>, + <0x2 0x88200000 0x0 0x4000>, + <0x2 0x88204000 0x0 0x4000>, + <0x2 0x8827c000 0x0 0x4000>, + <0x2 0x8832c000 0x0 0x4000>, + <0x2 0x88330000 0x0 0x10000>, + <0x2 0x88360000 0x0 0x4000>, + <0x2 0x88340000 0x0 0x8000>, + <0x2 0x8836c000 0x0 0x4000>, + <0x2 0x88000000 0x0 0x24000>, + <0x23 0x88200000 0x0 0x4000>, + <0x23 0x88204000 0x0 0x4000>, + <0x23 0x8827c000 0x0 0x4000>, + <0x23 0x8832c000 0x0 0x4000>, + <0x23 0x88330000 0x0 0x10000>, + <0x23 0x88360000 0x0 0x4000>, + <0x23 0x88340000 0x0 0x8000>, + <0x23 0x8836c000 0x0 0x4000>, + <0x23 0x88000000 0x0 0x8000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + status = "disabled"; + }; + + hw_sio: dma-controller@505e00000 { + compatible = "apple,t6050-sio", "apple,sio"; + reg = <0x5 0x5e00000 0x0 0x88000>, + <0x5 0x5850000 0x0 0x4000>; + interrupts = , + , + , + ; + iommus = <&hw_dart_sio 0>; + status = "disabled"; + #dma-cells = <1>; + }; + + hw_dart_sio: iommu@505060000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x5 0x5060000 0x0 0x20000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_pmp0: pmp@284e00000 { + compatible = "apple,t6050-pmp", "apple,pmp"; + reg = <0x2 0x84e00000 0x0 0x88000>, + <0x2 0x84850000 0x0 0x4000>, + <0x2 0x84500000 0x0 0x100000>, + <0x2 0x84250000 0x0 0x4000>; + interrupts = , + , + , + ; + iommus = <&hw_dart_pmp0 0>; + status = "disabled"; + }; + + hw_dart_pmp0: iommu@2841a0000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x2 0x841a0000 0x0 0xc000>, + <0x2 0x841b0000 0x0 0x4000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_sep: sep@502600000 { + compatible = "apple,t6050-sep", "apple,sep"; + reg = <0x5 0x2600000 0x0 0x88000>, + <0x5 0x2050000 0x0 0x4000>; + interrupts = , + , + , + ; + iommus = <&hw_dart_sep 0>; + status = "disabled"; + }; + + hw_dart_sep: iommu@500b80000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x5 0xb80000 0x0 0x20000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_aon_ptd: trace@28cdc0000 { + compatible = "apple,t6050-aon-ptd", "apple,aon-ptd"; + reg = <0x2 0x8cdc0000 0x0 0x4000>, + <0x2 0x8cdd0000 0x0 0x4000>, + <0x2 0x8cdd8000 0x0 0x4000>, + <0x2 0x8cde0000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + status = "disabled"; + }; + + hw_rsm: rsm@288825000 { + compatible = "apple,t6050-rsm", "apple,rsm"; + reg = <0x2 0x88825000 0x0 0x4000>, + <0x2 0x888c0000 0x0 0x4>; + interrupts = ; + iommus = <&hw_dart_rsm 0>; + status = "disabled"; + }; + + hw_dart_rsm: iommu@2889a0000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x2 0x889a0000 0x0 0xc000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_atc_phy0: phy@2a2a90000 { + compatible = "apple,t6050-atcphy", "apple,atcphy"; + reg = <0x2 0xa2a90000 0x0 0x4000>, + <0x2 0xa2800000 0x0 0x4000>, + <0x2 0xa3000000 0x0 0x4000>, + <0x2 0xa3000400 0x0 0x4000>, + <0x2 0xa3000800 0x0 0x4000>, + <0x2 0xa3000a00 0x0 0x4000>, + <0x2 0xa3001000 0x0 0x4000>, + <0x2 0xa3003000 0x0 0x4000>, + <0x2 0xa3003200 0x0 0x4000>, + <0x2 0xa3003800 0x0 0x4000>, + <0x2 0xa3003a00 0x0 0x4000>, + <0x2 0xa3004000 0x0 0x4000>, + <0x2 0xa3005000 0x0 0x4000>, + <0x2 0xa3006000 0x0 0x4000>, + <0x2 0xa3007000 0x0 0x4000>, + <0x2 0xa3008000 0x0 0x4000>, + <0x2 0xa3009000 0x0 0x4000>, + <0x2 0xa300a000 0x0 0x4000>, + <0x2 0xa300b000 0x0 0x4000>, + <0x2 0xa300c000 0x0 0x4000>, + <0x2 0xa300d000 0x0 0x4000>, + <0x2 0xa300e000 0x0 0x4000>, + <0x2 0xa300f000 0x0 0x4000>, + <0x2 0xa3010000 0x0 0x4000>, + <0x2 0xa3018000 0x0 0x4000>, + <0x2 0xa3019000 0x0 0x4000>, + <0x2 0xa301a000 0x0 0x4000>, + <0x2 0xa301b000 0x0 0x4000>, + <0x2 0xa301c000 0x0 0x4000>, + <0x2 0xa301d000 0x0 0x4000>, + <0x2 0xa301e000 0x0 0x4000>, + <0x2 0xa301f000 0x0 0x4000>, + <0x2 0xa3020000 0x0 0x4000>, + <0x2 0xa3028000 0x0 0x4000>, + <0x2 0xa3028400 0x0 0x4000>, + <0x2 0xa3029000 0x0 0x4000>, + <0x2 0xa3040000 0x0 0x20000>, + <0x2 0xa30c0000 0x0 0x10000>, + <0x2 0xa3140000 0x0 0x1c000>, + <0x2 0xa3200000 0x0 0x4000>, + <0x2 0xa3244000 0x0 0x4000>, + <0x2 0xa0000000 0x0 0x8000>, + <0x2 0xa0020000 0x0 0x4000>, + <0x2 0xa3250000 0x0 0x4000>; + status = "disabled"; + }; + + hw_dart_usb0: iommu@2a2f00000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x2 0xa2f00000 0x0 0xc000>, + <0x2 0xa2f80000 0x0 0xc000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_usb_drd0: usb@2a2280000 { + compatible = "apple,t6050-dwc3", "apple,dwc3"; + reg = <0x2 0xa2280000 0x0 0x11800>, + <0x2 0xa2200000 0x0 0x4000>, + <0x2 0xa228c000 0x0 0x5800>, + <0x2 0xa2a84000 0x0 0x4000>, + <0x2 0xa2800000 0x0 0x4000>, + <0x2 0xa2a80000 0x0 0x4000>, + <0x2 0xa2080000 0x0 0x4000>, + <0x2 0xa228d000 0x0 0x4000>, + <0x2 0xa2980000 0x0 0x4000>, + <0x2 0x86758000 0x0 0x8>; + interrupts = , + , + , + ; + iommus = <&hw_dart_usb0 1>; + status = "disabled"; + }; + + hw_dart_auss0: iommu@395d60000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x3 0x95d60000 0x0 0xc000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_nub_spmi0: spmi-resource@28a014000 { + compatible = "apple,t6050-spmi", "apple,spmi"; + reg = <0x2 0x8a014000 0x0 0x4000>, + <0x2 0x8a004000 0x0 0x4000>, + <0x2 0x8a000000 0x0 0x4000>; + status = "disabled"; + interrupts = ; + }; + + hw_nub_spmi2: spmi-resource@28a094000 { + compatible = "apple,t6050-spmi", "apple,spmi"; + reg = <0x2 0x8a094000 0x0 0x4000>, + <0x2 0x8a084000 0x0 0x4000>, + <0x2 0x8a080000 0x0 0x4000>; + status = "disabled"; + interrupts = ; + }; + + hw_nub_spmi3: spmi-resource@28a0d4000 { + compatible = "apple,t6050-spmi", "apple,spmi"; + reg = <0x2 0x8a0d4000 0x0 0x4000>, + <0x2 0x8a0c4000 0x0 0x4000>, + <0x2 0x8a0c0000 0x0 0x4000>; + status = "disabled"; + interrupts = ; + }; + + hw_nub_spmi_a0: spmi-resource@28a188000 { + compatible = "apple,t6050-spmi", "apple,spmi"; + reg = <0x2 0x8a188000 0x0 0x4000>, + <0x2 0x8a184000 0x0 0x4000>, + <0x2 0x8a180000 0x0 0x4000>; + status = "disabled"; + interrupts = ; + }; + + hw_aop_spmi0: spmi-resource@290914000 { + compatible = "apple,t6050-spmi", "apple,spmi"; + reg = <0x2 0x90914000 0x0 0x4000>, + <0x2 0x90904000 0x0 0x4000>, + <0x2 0x90900000 0x0 0x4000>; + status = "disabled"; + interrupts = ; + }; + + hw_dptx0_aux: dptx-aux@29c260000 { + compatible = "apple,t6050-dptx-aux", "apple,dptx-aux"; + reg = <0x2 0x9c260000 0x0 0x4000>, + <0x2 0x9c260000 0x0 0x4000>; + status = "disabled"; + }; + + hw_dptx1_aux: dptx-aux@29c264000 { + compatible = "apple,t6050-dptx-aux", "apple,dptx-aux"; + reg = <0x2 0x9c264000 0x0 0x4000>, + <0x2 0x9c264000 0x0 0x4000>; + status = "disabled"; + }; + + hw_dcpext0_expert: dcp-expert@2b23ac058 { + compatible = "apple,t6050-dcp-expert", "apple,dcp-expert"; + reg = <0x2 0xb23ac058 0x0 0x4>, + <0x2 0xb2374000 0x0 0x40>, + <0x2 0xb2370000 0x0 0x40>; + interrupts = ; + status = "disabled"; + }; + + hw_dart_dispext0_isoc: iommu@2b2180000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x2 0xb2180000 0x0 0x20000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_admac_dispext0: dma-controller@2b2140000 { + compatible = "apple,t6050-admac", "apple,admac"; + reg = <0x2 0xb2140000 0x0 0x24000>, + <0x2 0x88328000 0x0 0x8>; + interrupts = ; + iommus = <&hw_dart_dispext0_isoc 30>; + status = "disabled"; + #dma-cells = <1>; + }; + + hw_admac_dispext0_ced_ssw: admac-control@2b22f4000 { + compatible = "apple,t6050-admac-control", "apple,admac-control"; + reg = <0x2 0xb22f4000 0x0 0x4000>, + <0x2 0xb21a0000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + }; + + hw_dispext1: display-engine@390000000 { + compatible = "apple,t6050-display-engine", "apple,display-engine"; + reg = <0x3 0x90000000 0x0 0x4000000>, + <0x3 0x92240000 0x0 0x10000>, + <0x3 0x923ac000 0x0 0x4000>, + <0x3 0x92800000 0x0 0x800000>, + <0x2 0x86700000 0x0 0x114000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + ; + iommus = <&hw_dart_dispext1 0>, <&hw_dart_dispext1 16>; + status = "disabled"; + }; + + hw_dcpext1_expert: dcp-expert@3923ac058 { + compatible = "apple,t6050-dcp-expert", "apple,dcp-expert"; + reg = <0x3 0x923ac058 0x0 0x4>, + <0x3 0x92374000 0x0 0x40>, + <0x3 0x92370000 0x0 0x40>; + interrupts = ; + status = "disabled"; + }; + + hw_dcpext1: dcp@392e00000 { + compatible = "apple,t6050-dcp", "apple,dcp"; + reg = <0x3 0x92e00000 0x0 0x88000>, + <0x3 0x92850000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + ; + iommus = <&hw_dart_dcpext1 23>, <&hw_dart_dcpext1 24>; + status = "disabled"; + }; + + hw_dart_dcpext1: iommu@392340000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x3 0x92340000 0x0 0x20000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_dart_dispext1: iommu@392300000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x3 0x92300000 0x0 0xc000>, + <0x3 0x92314000 0x0 0x4000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_dart_dispext1_isoc: iommu@392180000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x3 0x92180000 0x0 0x20000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_admac_dispext1: dma-controller@392140000 { + compatible = "apple,t6050-admac", "apple,admac"; + reg = <0x3 0x92140000 0x0 0x24000>, + <0x2 0x88328000 0x0 0x8>; + interrupts = ; + iommus = <&hw_dart_dispext1_isoc 30>; + status = "disabled"; + #dma-cells = <1>; + }; + + hw_admac_dispext1_ced_ssw: admac-control@3922f4000 { + compatible = "apple,t6050-admac-control", "apple,admac-control"; + reg = <0x3 0x922f4000 0x0 0x4000>, + <0x3 0x921a0000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + }; + + hw_dispext2: display-engine@300000000 { + compatible = "apple,t6050-display-engine", "apple,display-engine"; + reg = <0x3 0x0 0x0 0x4000000>, + <0x3 0x2240000 0x0 0x10000>, + <0x3 0x23ac000 0x0 0x4000>, + <0x3 0x2800000 0x0 0x800000>, + <0x2 0x86700000 0x0 0x114000>; + interrupts = , + , + , + , + , + , + , + , + , + , + ; + iommus = <&hw_dart_dispext2 0>, <&hw_dart_dispext2 16>; + status = "disabled"; + }; + + hw_dcpext2_expert: dcp-expert@3023ac058 { + compatible = "apple,t6050-dcp-expert", "apple,dcp-expert"; + reg = <0x3 0x23ac058 0x0 0x4>, + <0x3 0x2374000 0x0 0x40>, + <0x3 0x2370000 0x0 0x40>; + interrupts = ; + status = "disabled"; + }; + + hw_dcpext2: dcp@302e00000 { + compatible = "apple,t6050-dcp", "apple,dcp"; + reg = <0x3 0x2e00000 0x0 0x88000>, + <0x3 0x2850000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + , + ; + iommus = <&hw_dart_dcpext2 23>, <&hw_dart_dcpext2 24>; + status = "disabled"; + }; + + hw_dart_dcpext2: iommu@302340000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x3 0x2340000 0x0 0x20000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_dart_dispext2: iommu@302300000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x3 0x2300000 0x0 0xc000>, + <0x3 0x2314000 0x0 0x4000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_dart_dispext2_isoc: iommu@302180000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x3 0x2180000 0x0 0x20000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_admac_dispext2: dma-controller@302140000 { + compatible = "apple,t6050-admac", "apple,admac"; + reg = <0x3 0x2140000 0x0 0x24000>, + <0x2 0x88328000 0x0 0x8>; + interrupts = ; + iommus = <&hw_dart_dispext2_isoc 30>; + status = "disabled"; + #dma-cells = <1>; + }; + + hw_admac_dispext2_ced_ssw: admac-control@3022f4000 { + compatible = "apple,t6050-admac-control", "apple,admac-control"; + reg = <0x3 0x22f4000 0x0 0x4000>, + <0x3 0x21a0000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + }; + + hw_dispext3: display-engine@304000000 { + compatible = "apple,t6050-display-engine", "apple,display-engine"; + reg = <0x3 0x4000000 0x0 0x4000000>, + <0x3 0x6240000 0x0 0x10000>, + <0x3 0x63ac000 0x0 0x4000>, + <0x3 0x6800000 0x0 0x800000>, + <0x2 0x86700000 0x0 0x114000>; + interrupts = , + , + , + , + , + , + , + , + , + , + ; + iommus = <&hw_dart_dispext3 0>, <&hw_dart_dispext3 16>; + status = "disabled"; + }; + + hw_dcpext3_expert: dcp-expert@3063ac058 { + compatible = "apple,t6050-dcp-expert", "apple,dcp-expert"; + reg = <0x3 0x63ac058 0x0 0x4>, + <0x3 0x6374000 0x0 0x40>, + <0x3 0x6370000 0x0 0x40>; + interrupts = ; + status = "disabled"; + }; + + hw_dcpext3: dcp@306e00000 { + compatible = "apple,t6050-dcp", "apple,dcp"; + reg = <0x3 0x6e00000 0x0 0x88000>, + <0x3 0x6850000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + , + ; + iommus = <&hw_dart_dcpext3 23>, <&hw_dart_dcpext3 24>; + status = "disabled"; + }; + + hw_dart_dcpext3: iommu@306340000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x3 0x6340000 0x0 0x20000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_dart_dispext3: iommu@306300000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x3 0x6300000 0x0 0xc000>, + <0x3 0x6314000 0x0 0x4000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_dart_dispext3_isoc: iommu@306180000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x3 0x6180000 0x0 0x20000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_admac_dispext3: dma-controller@306140000 { + compatible = "apple,t6050-admac", "apple,admac"; + reg = <0x3 0x6140000 0x0 0x24000>, + <0x2 0x88328000 0x0 0x8>; + interrupts = ; + iommus = <&hw_dart_dispext3_isoc 30>; + status = "disabled"; + #dma-cells = <1>; + }; + + hw_admac_dispext3_ced_ssw: admac-control@3062f4000 { + compatible = "apple,t6050-admac-control", "apple,admac-control"; + reg = <0x3 0x62f4000 0x0 0x4000>, + <0x3 0x61a0000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + }; + + hw_dart_scaler: iommu@2285260000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x22 0x85260000 0x0 0x20000>, + <0x23 0xa1260000 0x0 0x20000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_scaler0: scaler@2285000000 { + compatible = "apple,t6050-scaler", "apple,scaler"; + reg = <0x22 0x85000000 0x0 0x14000>, + <0x22 0x85210000 0x0 0x4000>, + <0x22 0x85204000 0x0 0x4000>, + <0x22 0x84000000 0x0 0x8000>, + <0x22 0x852c0000 0x0 0x40000>, + <0x22 0x85340000 0x0 0x14c000>, + <0x22 0x852a0000 0x0 0x4000>, + <0x22 0x85208000 0x0 0x4000>, + <0x22 0x85210000 0x0 0x4000>, + <0x22 0x85220000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + iommus = <&hw_dart_scaler0 0>, <&hw_dart_scaler0 1>, <&hw_dart_scaler 0>, <&hw_dart_scaler 1>; + status = "disabled"; + }; + + hw_dart_scaler0: iommu@2285260000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x22 0x85260000 0x0 0x20000>, + <0x2 0x74000000 0x0 0x4000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_scaler1: scaler@23a1000000 { + compatible = "apple,t6050-scaler", "apple,scaler"; + reg = <0x23 0xa1000000 0x0 0x14000>, + <0x23 0xa1210000 0x0 0x4000>, + <0x23 0xa1204000 0x0 0x4000>, + <0x23 0xa0000000 0x0 0x8000>, + <0x23 0xa12c0000 0x0 0x40000>, + <0x23 0xa1340000 0x0 0x14c000>, + <0x23 0xa12a0000 0x0 0x4000>, + <0x23 0xa1208000 0x0 0x4000>, + <0x23 0xa1210000 0x0 0x4000>, + <0x23 0xa1220000 0x0 0x4000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + iommus = <&hw_dart_scaler1 0>, <&hw_dart_scaler1 1>, <&hw_dart_scaler 0>, <&hw_dart_scaler 1>; + status = "disabled"; + }; + + hw_dart_scaler1: iommu@23a1260000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x23 0xa1260000 0x0 0x20000>, + <0x2 0x74000000 0x0 0x4000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_ave0: video-encoder@2283100000 { + compatible = "apple,t6050-ave", "apple,ave"; + reg = <0x22 0x83100000 0x0 0x45c000>, + <0x22 0x83800000 0x0 0x800000>, + <0x22 0x83050000 0x0 0x4000>, + <0x23 0x806001c0 0x0 0x7e64>, + <0x22 0x82000000 0x0 0x8000>; + interrupts = , + , + , + , + ; + iommus = <&hw_dart_ave0 0>; + status = "disabled"; + }; + + hw_dart_ave0: iommu@22830a0000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x22 0x830a0000 0x0 0xc000>, + <0x22 0x83080000 0x0 0xc000>, + <0x22 0x83094000 0x0 0x4000>, + <0x22 0x830b0000 0x0 0x4000>, + <0x2 0x74000000 0x0 0x4000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_ave1: video-encoder@23a3100000 { + compatible = "apple,t6050-ave", "apple,ave"; + reg = <0x23 0xa3100000 0x0 0x45c000>, + <0x23 0xa3800000 0x0 0x800000>, + <0x23 0xa3050000 0x0 0x4000>, + <0x23 0x806001f0 0x0 0x7e5c>, + <0x23 0xa2000000 0x0 0x8000>; + interrupts = , + , + , + , + ; + iommus = <&hw_dart_ave1 0>; + status = "disabled"; + }; + + hw_dart_ave1: iommu@23a30a0000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x23 0xa30a0000 0x0 0xc000>, + <0x23 0xa3080000 0x0 0xc000>, + <0x23 0xa3094000 0x0 0x4000>, + <0x23 0xa30b0000 0x0 0x4000>, + <0x2 0x74000000 0x0 0x4000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_apr0: prores@48d000000 { + compatible = "apple,t6050-prores", "apple,prores"; + reg = <0x4 0x8d000000 0x0 0x4000>, + <0x4 0x8c000000 0x0 0x1000000>, + <0x4 0x8d0c0000 0x0 0x4000>, + <0x4 0x8d070000 0x0 0x4000>, + <0x4 0x8d071000 0x0 0x4000>; + interrupts = , + ; + iommus = <&hw_dart_apr0 1>; + status = "disabled"; + }; + + hw_dart_apr0: iommu@48d020000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x4 0x8d020000 0x0 0xc000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_dart_apr1: iommu@230b020000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x23 0xb020000 0x0 0xc000>, + <0x2 0x74000000 0x0 0x4000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_jpeg0: jpeg@2281000000 { + compatible = "apple,t6050-jpeg", "apple,jpeg"; + reg = <0x22 0x81000000 0x0 0x20000>; + interrupts = ; + iommus = <&hw_dart_jpeg0 0>; + status = "disabled"; + }; + + hw_jpeg1: jpeg@2281060000 { + compatible = "apple,t6050-jpeg", "apple,jpeg"; + reg = <0x22 0x81060000 0x0 0x44000>; + interrupts = ; + iommus = <&hw_dart_jpeg0 1>; + status = "disabled"; + }; + + hw_dart_jpeg0: iommu@2281020000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x22 0x81020000 0x0 0xc000>, + <0x2 0x74000000 0x0 0x4000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_ane0: neural-processor@508000000 { + compatible = "apple,t6050-ane", "apple,ane"; + reg = <0x5 0x8000000 0x0 0x2000000>, + <0x2 0x80900000 0x0 0x18000>, + <0x2 0x80920000 0x0 0x4000>, + <0x2 0x84240000 0x0 0x40000>, + <0x2 0x12000000 0x0 0xff4000>, + <0x5 0x84000000 0x0 0x2000000>, + <0x2 0x88374000 0x0 0x4000>; + interrupts = , + ; + iommus = <&hw_dart_ane0 0>, <&hw_dart_ane0 11>; + status = "disabled"; + }; + + hw_dart_ane0: iommu@509800000 { + compatible = "apple,t6050-dart", "apple,dart"; + reg = <0x5 0x9800000 0x0 0xc000>, + <0x5 0x9820000 0x0 0xc000>, + <0x5 0x9840000 0x0 0xc000>, + <0x5 0x9810000 0x0 0x4000>; + #iommu-cells = <1>; + interrupts = ; + status = "disabled"; + }; + + hw_sgx: gpu@2300000000 { + compatible = "apple,t6050-gpu", "apple,gpu"; + reg = <0x23 0x0 0x0 0x3fdc000>, + <0x23 0xd00000 0x0 0x177000>; + interrupts = , + , + , + , + , + , + , + ; + status = "disabled"; + }; + + hw_gfx_asc: gpu-coproc@2302600000 { + compatible = "apple,t6050-gpu-coproc", "apple,gpu-coproc"; + reg = <0x23 0x2600000 0x0 0x88000>, + <0x23 0x2050000 0x0 0x8>; + interrupts = , + , + , + ; + status = "disabled"; + }; + + hw_gfx1_asc: gpu-coproc@2302e00000 { + compatible = "apple,t6050-gpu-coproc", "apple,gpu-coproc"; + reg = <0x23 0x2e00000 0x0 0x88000>, + <0x23 0x2850000 0x0 0x60000>; + interrupts = , + , + , + ; + status = "disabled"; + }; + + hw_admac_leap_ns: dma-controller@293300000 { + compatible = "apple,t6050-admac", "apple,admac"; + reg = <0x2 0x93300000 0x0 0x34000>, + <0x2 0x88328000 0x0 0x8>; + interrupts = ; + iommus = <&aop_dart 10>; + status = "disabled"; + #dma-cells = <1>; + }; + + hw_admac_aop_ced_ssw: admac-control@293c80000 { + compatible = "apple,t6050-admac-control", "apple,admac-control"; + reg = <0x2 0x93c80000 0x0 0x4000>, + <0x2 0x93c84000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + }; + + hw_dbgCPU: cpu-debug@288b00000 { + compatible = "apple,t6050-cpu-debug", "apple,cpu-debug"; + reg = <0x2 0x88b00000 0x0 0x28000>, + <0x2 0x889c0000 0x0 0x4000>; + interrupts = ; + status = "disabled"; + }; + + hw_apple_processor_trace: processor-trace@2100f0000 { + compatible = "apple,t6050-processor-trace", "apple,processor-trace"; + reg = <0x2 0x100f0000 0x0 0x10000>, + <0x2 0x101f0000 0x0 0x10000>, + <0x2 0x102f0000 0x0 0x10000>, + <0x2 0x103f0000 0x0 0x10000>, + <0x2 0x104f0000 0x0 0x10000>, + <0x2 0x105f0000 0x0 0x10000>, + <0x2 0x110f0000 0x0 0x10000>, + <0x2 0x111f0000 0x0 0x10000>, + <0x2 0x112f0000 0x0 0x10000>, + <0x2 0x113f0000 0x0 0x10000>, + <0x2 0x114f0000 0x0 0x10000>, + <0x2 0x115f0000 0x0 0x10000>, + <0x2 0x120f0000 0x0 0x10000>, + <0x2 0x121f0000 0x0 0x10000>, + <0x2 0x122f0000 0x0 0x10000>, + <0x2 0x123f0000 0x0 0x10000>, + <0x2 0x124f0000 0x0 0x10000>, + <0x2 0x125f0000 0x0 0x10000>, + <0x2 0x10ff0000 0x0 0x10000>, + <0x2 0x11ff0000 0x0 0x10000>, + <0x2 0x12ff0000 0x0 0x10000>, + <0x2 0x10e40000 0x0 0x10000>, + <0x2 0x11e40000 0x0 0x10000>, + <0x2 0x12e40000 0x0 0x10000>, + <0x2 0x10e50000 0x0 0x10000>, + <0x2 0x11e50000 0x0 0x10000>, + <0x2 0x12e50000 0x0 0x10000>, + <0x2 0x10e90000 0x0 0x10000>, + <0x2 0x11e90000 0x0 0x10000>, + <0x2 0x12e90000 0x0 0x10000>, + <0x2 0x10eb0000 0x0 0x10000>, + <0x2 0x11eb0000 0x0 0x10000>, + <0x2 0x12eb0000 0x0 0x10000>; + status = "disabled"; + }; +};