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