1// SPDX-License-Identifier: GPL-2.0+ OR MIT
2/*
3 * Common Apple T6000 / T6001 / T6002 "M1 Pro/Max/Ultra" SoC
4 *
5 * Other names: H13J, "Jade Chop", "Jade", "Jade 2C"
6 *
7 * Copyright The Asahi Linux Contributors
8 */
9
10/ {
11	#address-cells = <2>;
12	#size-cells = <2>;
13
14	cpus {
15		#address-cells = <2>;
16		#size-cells = <0>;
17
18		cpu_e00: cpu@0 {
19			compatible = "apple,icestorm";
20			device_type = "cpu";
21			reg = <0x0 0x0>;
22			enable-method = "spin-table";
23			cpu-release-addr = <0 0>; /* To be filled by loader */
24		};
25
26		cpu_e01: cpu@1 {
27			compatible = "apple,icestorm";
28			device_type = "cpu";
29			reg = <0x0 0x1>;
30			enable-method = "spin-table";
31			cpu-release-addr = <0 0>; /* To be filled by loader */
32		};
33
34		cpu_p00: cpu@10100 {
35			compatible = "apple,firestorm";
36			device_type = "cpu";
37			reg = <0x0 0x10100>;
38			enable-method = "spin-table";
39			cpu-release-addr = <0 0>; /* To be filled by loader */
40		};
41
42		cpu_p01: cpu@10101 {
43			compatible = "apple,firestorm";
44			device_type = "cpu";
45			reg = <0x0 0x10101>;
46			enable-method = "spin-table";
47			cpu-release-addr = <0 0>; /* To be filled by loader */
48		};
49
50		cpu_p02: cpu@10102 {
51			compatible = "apple,firestorm";
52			device_type = "cpu";
53			reg = <0x0 0x10102>;
54			enable-method = "spin-table";
55			cpu-release-addr = <0 0>; /* To be filled by loader */
56		};
57
58		cpu_p03: cpu@10103 {
59			compatible = "apple,firestorm";
60			device_type = "cpu";
61			reg = <0x0 0x10103>;
62			enable-method = "spin-table";
63			cpu-release-addr = <0 0>; /* To be filled by loader */
64		};
65
66		cpu_p10: cpu@10200 {
67			compatible = "apple,firestorm";
68			device_type = "cpu";
69			reg = <0x0 0x10200>;
70			enable-method = "spin-table";
71			cpu-release-addr = <0 0>; /* To be filled by loader */
72		};
73
74		cpu_p11: cpu@10201 {
75			compatible = "apple,firestorm";
76			device_type = "cpu";
77			reg = <0x0 0x10201>;
78			enable-method = "spin-table";
79			cpu-release-addr = <0 0>; /* To be filled by loader */
80		};
81
82		cpu_p12: cpu@10202 {
83			compatible = "apple,firestorm";
84			device_type = "cpu";
85			reg = <0x0 0x10202>;
86			enable-method = "spin-table";
87			cpu-release-addr = <0 0>; /* To be filled by loader */
88		};
89
90		cpu_p13: cpu@10203 {
91			compatible = "apple,firestorm";
92			device_type = "cpu";
93			reg = <0x0 0x10203>;
94			enable-method = "spin-table";
95			cpu-release-addr = <0 0>; /* To be filled by loader */
96		};
97	};
98
99	pmu-e {
100		compatible = "apple,icestorm-pmu";
101		interrupt-parent = <&aic>;
102		interrupts = <AIC_FIQ 0 AIC_CPU_PMU_E IRQ_TYPE_LEVEL_HIGH>;
103	};
104
105	pmu-p {
106		compatible = "apple,firestorm-pmu";
107		interrupt-parent = <&aic>;
108		interrupts = <AIC_FIQ 0 AIC_CPU_PMU_P IRQ_TYPE_LEVEL_HIGH>;
109	};
110
111	timer {
112		compatible = "arm,armv8-timer";
113		interrupt-parent = <&aic>;
114		interrupt-names = "phys", "virt", "hyp-phys", "hyp-virt";
115		interrupts = <AIC_FIQ 0 AIC_TMR_GUEST_PHYS IRQ_TYPE_LEVEL_HIGH>,
116			     <AIC_FIQ 0 AIC_TMR_GUEST_VIRT IRQ_TYPE_LEVEL_HIGH>,
117			     <AIC_FIQ 0 AIC_TMR_HV_PHYS IRQ_TYPE_LEVEL_HIGH>,
118			     <AIC_FIQ 0 AIC_TMR_HV_VIRT IRQ_TYPE_LEVEL_HIGH>;
119	};
120
121	clkref: clock-ref {
122		compatible = "fixed-clock";
123		#clock-cells = <0>;
124		clock-frequency = <24000000>;
125		clock-output-names = "clkref";
126	};
127
128};
129