xref: /freebsd-src/sys/contrib/device-tree/src/arm64/apple/t600x-dieX.dtsi (revision 8bab661a3316d8bd9b9fbd11a3b4371b91507bd2)
1*8bab661aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0+ OR MIT
2*8bab661aSEmmanuel Vadot/*
3*8bab661aSEmmanuel Vadot * Devices used on both dies on the Apple T6002 "M1 Ultra" and present on
4*8bab661aSEmmanuel Vadot * Apple T6000/T6001 "M1 Pro/Max".
5*8bab661aSEmmanuel Vadot *
6*8bab661aSEmmanuel Vadot * Copyright The Asahi Linux Contributors
7*8bab661aSEmmanuel Vadot */
8*8bab661aSEmmanuel Vadot
9*8bab661aSEmmanuel Vadot	DIE_NODE(cpufreq_e): cpufreq@210e20000 {
10*8bab661aSEmmanuel Vadot		compatible = "apple,t6000-cluster-cpufreq", "apple,t8103-cluster-cpufreq", "apple,cluster-cpufreq";
11*8bab661aSEmmanuel Vadot		reg = <0x2 0x10e20000 0 0x1000>;
12*8bab661aSEmmanuel Vadot		#performance-domain-cells = <0>;
13*8bab661aSEmmanuel Vadot	};
14*8bab661aSEmmanuel Vadot
15*8bab661aSEmmanuel Vadot	DIE_NODE(cpufreq_p0): cpufreq@211e20000 {
16*8bab661aSEmmanuel Vadot		compatible = "apple,t6000-cluster-cpufreq", "apple,t8103-cluster-cpufreq", "apple,cluster-cpufreq";
17*8bab661aSEmmanuel Vadot		reg = <0x2 0x11e20000 0 0x1000>;
18*8bab661aSEmmanuel Vadot		#performance-domain-cells = <0>;
19*8bab661aSEmmanuel Vadot	};
20*8bab661aSEmmanuel Vadot
21*8bab661aSEmmanuel Vadot	DIE_NODE(cpufreq_p1): cpufreq@212e20000 {
22*8bab661aSEmmanuel Vadot		compatible = "apple,t6000-cluster-cpufreq", "apple,t8103-cluster-cpufreq", "apple,cluster-cpufreq";
23*8bab661aSEmmanuel Vadot		reg = <0x2 0x12e20000 0 0x1000>;
24*8bab661aSEmmanuel Vadot		#performance-domain-cells = <0>;
25*8bab661aSEmmanuel Vadot	};
26*8bab661aSEmmanuel Vadot
27*8bab661aSEmmanuel Vadot	DIE_NODE(pmgr): power-management@28e080000 {
28*8bab661aSEmmanuel Vadot		compatible = "apple,t6000-pmgr", "apple,pmgr", "syscon", "simple-mfd";
29*8bab661aSEmmanuel Vadot		#address-cells = <1>;
30*8bab661aSEmmanuel Vadot		#size-cells = <1>;
31*8bab661aSEmmanuel Vadot		reg = <0x2 0x8e080000 0 0x4000>;
32*8bab661aSEmmanuel Vadot	};
33*8bab661aSEmmanuel Vadot
34*8bab661aSEmmanuel Vadot	DIE_NODE(pmgr_east): power-management@28e580000 {
35*8bab661aSEmmanuel Vadot		compatible = "apple,t6000-pmgr", "apple,pmgr", "syscon", "simple-mfd";
36*8bab661aSEmmanuel Vadot		#address-cells = <1>;
37*8bab661aSEmmanuel Vadot		#size-cells = <1>;
38*8bab661aSEmmanuel Vadot		reg = <0x2 0x8e580000 0 0xc000>;
39*8bab661aSEmmanuel Vadot	};
40*8bab661aSEmmanuel Vadot
41*8bab661aSEmmanuel Vadot	DIE_NODE(pmgr_south): power-management@28e680000 {
42*8bab661aSEmmanuel Vadot		compatible = "apple,t6000-pmgr", "apple,pmgr", "syscon", "simple-mfd";
43*8bab661aSEmmanuel Vadot		#address-cells = <1>;
44*8bab661aSEmmanuel Vadot		#size-cells = <1>;
45*8bab661aSEmmanuel Vadot		reg = <0x2 0x8e680000 0 0xc000>;
46*8bab661aSEmmanuel Vadot	};
47*8bab661aSEmmanuel Vadot
48*8bab661aSEmmanuel Vadot	DIE_NODE(pinctrl_nub): pinctrl@2921f0000 {
49*8bab661aSEmmanuel Vadot		compatible = "apple,t6000-pinctrl", "apple,pinctrl";
50*8bab661aSEmmanuel Vadot		reg = <0x2 0x921f0000 0x0 0x4000>;
51*8bab661aSEmmanuel Vadot		power-domains = <&DIE_NODE(ps_nub_gpio)>;
52*8bab661aSEmmanuel Vadot
53*8bab661aSEmmanuel Vadot		gpio-controller;
54*8bab661aSEmmanuel Vadot		#gpio-cells = <2>;
55*8bab661aSEmmanuel Vadot		gpio-ranges = <&DIE_NODE(pinctrl_nub) 0 0 16>;
56*8bab661aSEmmanuel Vadot		apple,npins = <16>;
57*8bab661aSEmmanuel Vadot
58*8bab661aSEmmanuel Vadot		interrupt-controller;
59*8bab661aSEmmanuel Vadot		#interrupt-cells = <2>;
60*8bab661aSEmmanuel Vadot		interrupt-parent = <&aic>;
61*8bab661aSEmmanuel Vadot		interrupts = <AIC_IRQ DIE_NO 623 IRQ_TYPE_LEVEL_HIGH>,
62*8bab661aSEmmanuel Vadot				<AIC_IRQ DIE_NO 624 IRQ_TYPE_LEVEL_HIGH>,
63*8bab661aSEmmanuel Vadot				<AIC_IRQ DIE_NO 625 IRQ_TYPE_LEVEL_HIGH>,
64*8bab661aSEmmanuel Vadot				<AIC_IRQ DIE_NO 626 IRQ_TYPE_LEVEL_HIGH>,
65*8bab661aSEmmanuel Vadot				<AIC_IRQ DIE_NO 627 IRQ_TYPE_LEVEL_HIGH>,
66*8bab661aSEmmanuel Vadot				<AIC_IRQ DIE_NO 628 IRQ_TYPE_LEVEL_HIGH>,
67*8bab661aSEmmanuel Vadot				<AIC_IRQ DIE_NO 629 IRQ_TYPE_LEVEL_HIGH>;
68*8bab661aSEmmanuel Vadot	};
69*8bab661aSEmmanuel Vadot
70*8bab661aSEmmanuel Vadot	DIE_NODE(pmgr_mini): power-management@292280000 {
71*8bab661aSEmmanuel Vadot		compatible = "apple,t6000-pmgr", "apple,pmgr", "syscon", "simple-mfd";
72*8bab661aSEmmanuel Vadot		#address-cells = <1>;
73*8bab661aSEmmanuel Vadot		#size-cells = <1>;
74*8bab661aSEmmanuel Vadot		reg = <0x2 0x92280000 0 0x4000>;
75*8bab661aSEmmanuel Vadot	};
76*8bab661aSEmmanuel Vadot
77*8bab661aSEmmanuel Vadot	DIE_NODE(pinctrl_aop): pinctrl@293820000 {
78*8bab661aSEmmanuel Vadot		compatible = "apple,t6000-pinctrl", "apple,pinctrl";
79*8bab661aSEmmanuel Vadot		reg = <0x2 0x93820000 0x0 0x4000>;
80*8bab661aSEmmanuel Vadot
81*8bab661aSEmmanuel Vadot		gpio-controller;
82*8bab661aSEmmanuel Vadot		#gpio-cells = <2>;
83*8bab661aSEmmanuel Vadot		gpio-ranges = <&DIE_NODE(pinctrl_aop) 0 0 63>;
84*8bab661aSEmmanuel Vadot		apple,npins = <63>;
85*8bab661aSEmmanuel Vadot
86*8bab661aSEmmanuel Vadot		interrupt-controller;
87*8bab661aSEmmanuel Vadot		#interrupt-cells = <2>;
88*8bab661aSEmmanuel Vadot		interrupt-parent = <&aic>;
89*8bab661aSEmmanuel Vadot		interrupts = <AIC_IRQ DIE_NO 567 IRQ_TYPE_LEVEL_HIGH>,
90*8bab661aSEmmanuel Vadot				<AIC_IRQ DIE_NO 568 IRQ_TYPE_LEVEL_HIGH>,
91*8bab661aSEmmanuel Vadot				<AIC_IRQ DIE_NO 569 IRQ_TYPE_LEVEL_HIGH>,
92*8bab661aSEmmanuel Vadot				<AIC_IRQ DIE_NO 570 IRQ_TYPE_LEVEL_HIGH>,
93*8bab661aSEmmanuel Vadot				<AIC_IRQ DIE_NO 571 IRQ_TYPE_LEVEL_HIGH>,
94*8bab661aSEmmanuel Vadot				<AIC_IRQ DIE_NO 572 IRQ_TYPE_LEVEL_HIGH>,
95*8bab661aSEmmanuel Vadot				<AIC_IRQ DIE_NO 573 IRQ_TYPE_LEVEL_HIGH>;
96*8bab661aSEmmanuel Vadot	};
97*8bab661aSEmmanuel Vadot
98*8bab661aSEmmanuel Vadot	DIE_NODE(pinctrl_ap): pinctrl@39b028000 {
99*8bab661aSEmmanuel Vadot		compatible = "apple,t6000-pinctrl", "apple,pinctrl";
100*8bab661aSEmmanuel Vadot		reg = <0x3 0x9b028000 0x0 0x4000>;
101*8bab661aSEmmanuel Vadot
102*8bab661aSEmmanuel Vadot		interrupt-parent = <&aic>;
103*8bab661aSEmmanuel Vadot		interrupts = <AIC_IRQ DIE_NO 427 IRQ_TYPE_LEVEL_HIGH>,
104*8bab661aSEmmanuel Vadot				<AIC_IRQ DIE_NO 428 IRQ_TYPE_LEVEL_HIGH>,
105*8bab661aSEmmanuel Vadot				<AIC_IRQ DIE_NO 429 IRQ_TYPE_LEVEL_HIGH>,
106*8bab661aSEmmanuel Vadot				<AIC_IRQ DIE_NO 430 IRQ_TYPE_LEVEL_HIGH>,
107*8bab661aSEmmanuel Vadot				<AIC_IRQ DIE_NO 431 IRQ_TYPE_LEVEL_HIGH>,
108*8bab661aSEmmanuel Vadot				<AIC_IRQ DIE_NO 432 IRQ_TYPE_LEVEL_HIGH>,
109*8bab661aSEmmanuel Vadot				<AIC_IRQ DIE_NO 433 IRQ_TYPE_LEVEL_HIGH>;
110*8bab661aSEmmanuel Vadot
111*8bab661aSEmmanuel Vadot		clocks = <&clkref>;
112*8bab661aSEmmanuel Vadot		power-domains = <&DIE_NODE(ps_gpio)>;
113*8bab661aSEmmanuel Vadot
114*8bab661aSEmmanuel Vadot		gpio-controller;
115*8bab661aSEmmanuel Vadot		#gpio-cells = <2>;
116*8bab661aSEmmanuel Vadot		gpio-ranges = <&DIE_NODE(pinctrl_ap) 0 0 255>;
117*8bab661aSEmmanuel Vadot		apple,npins = <255>;
118*8bab661aSEmmanuel Vadot
119*8bab661aSEmmanuel Vadot		interrupt-controller;
120*8bab661aSEmmanuel Vadot		#interrupt-cells = <2>;
121*8bab661aSEmmanuel Vadot	};
122