1// SPDX-License-Identifier: GPL-2.0+ OR MIT 2/* 3 * Apple T6021 "M2 Max" SoC 4 * 5 * Other names: H14J, "Rhodes" 6 * 7 * Copyright The Asahi Linux Contributors 8 */ 9 10#include <dt-bindings/gpio/gpio.h> 11#include <dt-bindings/interrupt-controller/apple-aic.h> 12#include <dt-bindings/interrupt-controller/irq.h> 13#include <dt-bindings/pinctrl/apple.h> 14#include <dt-bindings/phy/phy.h> 15#include <dt-bindings/spmi/spmi.h> 16 17#include "multi-die-cpp.h" 18 19#include "t602x-common.dtsi" 20 21/ { 22 compatible = "apple,t6021", "apple,arm-platform"; 23 24 soc { 25 compatible = "simple-bus"; 26 #address-cells = <2>; 27 #size-cells = <2>; 28 29 ranges; 30 nonposted-mmio; 31 32 // filled via templated includes at the end of the file 33 }; 34}; 35 36#define DIE 37#define DIE_NO 0 38 39&{/soc} { 40 #include "t602x-die0.dtsi" 41 #include "t602x-dieX.dtsi" 42 #include "t602x-nvme.dtsi" 43}; 44 45#include "t602x-gpio-pins.dtsi" 46#include "t602x-pmgr.dtsi" 47 48#undef DIE 49#undef DIE_NO 50 51 52&aic { 53 affinities { 54 e-core-pmu-affinity { 55 apple,fiq-index = <AIC_CPU_PMU_E>; 56 cpus = <&cpu_e00 &cpu_e01 &cpu_e02 &cpu_e03>; 57 }; 58 59 p-core-pmu-affinity { 60 apple,fiq-index = <AIC_CPU_PMU_P>; 61 cpus = <&cpu_p00 &cpu_p01 &cpu_p02 &cpu_p03 62 &cpu_p10 &cpu_p11 &cpu_p12 &cpu_p13>; 63 }; 64 }; 65}; 66 67&gpu { 68 compatible = "apple,agx-g14c", "apple,agx-g14s"; 69}; 70