File Index
Files and directories
Sign in
FILE

t602x-dieX.dtsi

File preview with syntax highlighting.

linux-6.19.14/arch/arm64/boot/dts/apple/t602x-dieX.dtsi DEVICETREE
  1// SPDX-License-Identifier: GPL-2.0+ OR MIT
  2/*
  3 * Nodes present on both dies of T6022 (M2 Ultra) and present on M2 Pro/Max.
  4 *
  5 * Copyright The Asahi Linux Contributors
  6 */
  7
  8	DIE_NODE(cpufreq_e): cpufreq@210e20000 {
  9		compatible = "apple,t6020-cluster-cpufreq", "apple,t8112-cluster-cpufreq";
 10		reg = <0x2 0x10e20000 0 0x1000>;
 11		#performance-domain-cells = <0>;
 12	};
 13
 14	DIE_NODE(cpufreq_p0): cpufreq@211e20000 {
 15		compatible = "apple,t6020-cluster-cpufreq", "apple,t8112-cluster-cpufreq";
 16		reg = <0x2 0x11e20000 0 0x1000>;
 17		#performance-domain-cells = <0>;
 18	};
 19
 20	DIE_NODE(cpufreq_p1): cpufreq@212e20000 {
 21		compatible = "apple,t6020-cluster-cpufreq", "apple,t8112-cluster-cpufreq";
 22		reg = <0x2 0x12e20000 0 0x1000>;
 23		#performance-domain-cells = <0>;
 24	};
 25
 26	DIE_NODE(pmgr): power-management@28e080000 {
 27		compatible = "apple,t6020-pmgr", "apple,t8103-pmgr", "syscon", "simple-mfd";
 28		#address-cells = <1>;
 29		#size-cells = <1>;
 30		reg = <0x2 0x8e080000 0 0x8000>;
 31	};
 32
 33	DIE_NODE(pmgr_south): power-management@28e680000 {
 34		compatible = "apple,t6020-pmgr", "apple,t8103-pmgr", "syscon", "simple-mfd";
 35		#address-cells = <1>;
 36		#size-cells = <1>;
 37		reg = <0x2 0x8e680000 0 0x8000>;
 38	};
 39
 40	DIE_NODE(pmgr_east): power-management@290280000 {
 41		compatible = "apple,t6020-pmgr", "apple,t8103-pmgr", "syscon", "simple-mfd";
 42		#address-cells = <1>;
 43		#size-cells = <1>;
 44		reg = <0x2 0x90280000 0 0xc000>;
 45	};
 46
 47	DIE_NODE(pinctrl_nub): pinctrl@29e1f0000 {
 48		compatible = "apple,t6020-pinctrl", "apple,t8103-pinctrl";
 49		reg = <0x2 0x9e1f0000 0x0 0x4000>;
 50		power-domains = <&DIE_NODE(ps_nub_gpio)>;
 51
 52		gpio-controller;
 53		#gpio-cells = <2>;
 54		gpio-ranges = <&DIE_NODE(pinctrl_nub) 0 0 30>;
 55		apple,npins = <30>;
 56
 57		interrupt-controller;
 58		#interrupt-cells = <2>;
 59		interrupt-parent = <&aic>;
 60		interrupts = <AIC_IRQ DIE_NO 711 IRQ_TYPE_LEVEL_HIGH>,
 61				<AIC_IRQ DIE_NO 712 IRQ_TYPE_LEVEL_HIGH>,
 62				<AIC_IRQ DIE_NO 713 IRQ_TYPE_LEVEL_HIGH>,
 63				<AIC_IRQ DIE_NO 714 IRQ_TYPE_LEVEL_HIGH>,
 64				<AIC_IRQ DIE_NO 715 IRQ_TYPE_LEVEL_HIGH>,
 65				<AIC_IRQ DIE_NO 716 IRQ_TYPE_LEVEL_HIGH>,
 66				<AIC_IRQ DIE_NO 717 IRQ_TYPE_LEVEL_HIGH>;
 67	};
 68
 69	DIE_NODE(pmgr_mini): power-management@29e280000 {
 70		compatible = "apple,t6020-pmgr", "apple,t8103-pmgr", "syscon", "simple-mfd";
 71		#address-cells = <1>;
 72		#size-cells = <1>;
 73		reg = <0x2 0x9e280000 0 0x4000>;
 74	};
 75
 76	DIE_NODE(pinctrl_aop): pinctrl@2a6820000 {
 77		compatible = "apple,t6020-pinctrl", "apple,t8103-pinctrl";
 78		reg = <0x2 0xa6820000 0x0 0x4000>;
 79
 80		gpio-controller;
 81		#gpio-cells = <2>;
 82		gpio-ranges = <&DIE_NODE(pinctrl_aop) 0 0 72>;
 83		apple,npins = <72>;
 84
 85		interrupt-controller;
 86		#interrupt-cells = <2>;
 87		interrupt-parent = <&aic>;
 88		interrupts = <AIC_IRQ DIE_NO 598 IRQ_TYPE_LEVEL_HIGH>,
 89				<AIC_IRQ DIE_NO 599 IRQ_TYPE_LEVEL_HIGH>,
 90				<AIC_IRQ DIE_NO 600 IRQ_TYPE_LEVEL_HIGH>,
 91				<AIC_IRQ DIE_NO 601 IRQ_TYPE_LEVEL_HIGH>,
 92				<AIC_IRQ DIE_NO 602 IRQ_TYPE_LEVEL_HIGH>,
 93				<AIC_IRQ DIE_NO 603 IRQ_TYPE_LEVEL_HIGH>,
 94				<AIC_IRQ DIE_NO 604 IRQ_TYPE_LEVEL_HIGH>;
 95	};
 96
 97	DIE_NODE(pinctrl_ap): pinctrl@39b028000 {
 98		compatible = "apple,t6020-pinctrl", "apple,t8103-pinctrl";
 99		reg = <0x3 0x9b028000 0x0 0x4000>;
100
101		interrupt-parent = <&aic>;
102		interrupts = <AIC_IRQ DIE_NO 458 IRQ_TYPE_LEVEL_HIGH>,
103				<AIC_IRQ DIE_NO 459 IRQ_TYPE_LEVEL_HIGH>,
104				<AIC_IRQ DIE_NO 460 IRQ_TYPE_LEVEL_HIGH>,
105				<AIC_IRQ DIE_NO 461 IRQ_TYPE_LEVEL_HIGH>,
106				<AIC_IRQ DIE_NO 462 IRQ_TYPE_LEVEL_HIGH>,
107				<AIC_IRQ DIE_NO 463 IRQ_TYPE_LEVEL_HIGH>,
108				<AIC_IRQ DIE_NO 464 IRQ_TYPE_LEVEL_HIGH>;
109
110		clocks = <&clkref>;
111		power-domains = <&DIE_NODE(ps_gpio)>;
112
113		gpio-controller;
114		#gpio-cells = <2>;
115		gpio-ranges = <&DIE_NODE(pinctrl_ap) 0 0 255>;
116		apple,npins = <255>;
117
118		interrupt-controller;
119		#interrupt-cells = <2>;
120	};
121
122	DIE_NODE(pmgr_gfx): power-management@404e80000 {
123		compatible = "apple,t6020-pmgr", "apple,t8103-pmgr", "syscon", "simple-mfd";
124		#address-cells = <1>;
125		#size-cells = <1>;
126
127		reg = <0x4 0x4e80000 0 0x4000>;
128	};
~/ Read-only file preview.