1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 2 /* 3 * Devices used on die 0 on the Apple T6002 "M 4 * Apple T6000 / T6001 "M1 Pro" / "M1 Max". 5 * 6 * Copyright The Asahi Linux Contributors 7 */ 8 9 10 nco: clock-controller@28e03c000 { 11 compatible = "apple,t6000-nco" 12 reg = <0x2 0x8e03c000 0x0 0x14 13 clocks = <&nco_clkref>; 14 #clock-cells = <1>; 15 }; 16 17 aic: interrupt-controller@28e100000 { 18 compatible = "apple,t6000-aic" 19 #interrupt-cells = <4>; 20 interrupt-controller; 21 reg = <0x2 0x8e100000 0x0 0xc0 22 <0x2 0x8e10c000 0x0 0x 23 reg-names = "core", "event"; 24 power-domains = <&ps_aic>; 25 }; 26 27 pinctrl_smc: pinctrl@290820000 { 28 compatible = "apple,t6000-pinc 29 reg = <0x2 0x90820000 0x0 0x40 30 31 gpio-controller; 32 #gpio-cells = <2>; 33 gpio-ranges = <&pinctrl_smc 0 34 apple,npins = <30>; 35 36 interrupt-controller; 37 #interrupt-cells = <2>; 38 interrupt-parent = <&aic>; 39 interrupts = <AIC_IRQ 0 743 IR 40 <AIC_IRQ 0 744 41 <AIC_IRQ 0 745 42 <AIC_IRQ 0 746 43 <AIC_IRQ 0 747 44 <AIC_IRQ 0 748 45 <AIC_IRQ 0 749 46 }; 47 48 wdt: watchdog@2922b0000 { 49 compatible = "apple,t6000-wdt" 50 reg = <0x2 0x922b0000 0x0 0x40 51 clocks = <&clkref>; 52 interrupt-parent = <&aic>; 53 interrupts = <AIC_IRQ 0 631 IR 54 }; 55 56 sio_dart_0: iommu@39b004000 { 57 compatible = "apple,t6000-dart 58 reg = <0x3 0x9b004000 0x0 0x40 59 interrupt-parent = <&aic>; 60 interrupts = <AIC_IRQ 0 1130 I 61 #iommu-cells = <1>; 62 power-domains = <&ps_sio_cpu>; 63 }; 64 65 sio_dart_1: iommu@39b008000 { 66 compatible = "apple,t6000-dart 67 reg = <0x3 0x9b008000 0x0 0x80 68 interrupt-parent = <&aic>; 69 interrupts = <AIC_IRQ 0 1130 I 70 #iommu-cells = <1>; 71 power-domains = <&ps_sio_cpu>; 72 }; 73 74 fpwm0: pwm@39b030000 { 75 compatible = "apple,t6000-fpwm 76 reg = <0x3 0x9b030000 0x0 0x40 77 power-domains = <&ps_fpwm0>; 78 clocks = <&clkref>; 79 #pwm-cells = <2>; 80 status = "disabled"; 81 }; 82 83 i2c0: i2c@39b040000 { 84 compatible = "apple,t6000-i2c" 85 reg = <0x3 0x9b040000 0x0 0x40 86 clocks = <&clkref>; 87 interrupt-parent = <&aic>; 88 interrupts = <AIC_IRQ 0 1119 I 89 pinctrl-0 = <&i2c0_pins>; 90 pinctrl-names = "default"; 91 power-domains = <&ps_i2c0>; 92 #address-cells = <0x1>; 93 #size-cells = <0x0>; 94 }; 95 96 i2c1: i2c@39b044000 { 97 compatible = "apple,t6000-i2c" 98 reg = <0x3 0x9b044000 0x0 0x40 99 clocks = <&clkref>; 100 interrupt-parent = <&aic>; 101 interrupts = <AIC_IRQ 0 1120 I 102 pinctrl-0 = <&i2c1_pins>; 103 pinctrl-names = "default"; 104 power-domains = <&ps_i2c1>; 105 #address-cells = <0x1>; 106 #size-cells = <0x0>; 107 status = "disabled"; 108 }; 109 110 i2c2: i2c@39b048000 { 111 compatible = "apple,t6000-i2c" 112 reg = <0x3 0x9b048000 0x0 0x40 113 clocks = <&clkref>; 114 interrupt-parent = <&aic>; 115 interrupts = <AIC_IRQ 0 1121 I 116 pinctrl-0 = <&i2c2_pins>; 117 pinctrl-names = "default"; 118 power-domains = <&ps_i2c2>; 119 #address-cells = <0x1>; 120 #size-cells = <0x0>; 121 status = "disabled"; 122 }; 123 124 i2c3: i2c@39b04c000 { 125 compatible = "apple,t6000-i2c" 126 reg = <0x3 0x9b04c000 0x0 0x40 127 clocks = <&clkref>; 128 interrupt-parent = <&aic>; 129 interrupts = <AIC_IRQ 0 1122 I 130 pinctrl-0 = <&i2c3_pins>; 131 pinctrl-names = "default"; 132 power-domains = <&ps_i2c3>; 133 #address-cells = <0x1>; 134 #size-cells = <0x0>; 135 status = "disabled"; 136 }; 137 138 i2c4: i2c@39b050000 { 139 compatible = "apple,t6000-i2c" 140 reg = <0x3 0x9b050000 0x0 0x40 141 clocks = <&clkref>; 142 interrupt-parent = <&aic>; 143 interrupts = <AIC_IRQ 0 1123 I 144 pinctrl-0 = <&i2c4_pins>; 145 pinctrl-names = "default"; 146 power-domains = <&ps_i2c4>; 147 #address-cells = <0x1>; 148 #size-cells = <0x0>; 149 status = "disabled"; 150 }; 151 152 i2c5: i2c@39b054000 { 153 compatible = "apple,t6000-i2c" 154 reg = <0x3 0x9b054000 0x0 0x40 155 clocks = <&clkref>; 156 interrupt-parent = <&aic>; 157 interrupts = <AIC_IRQ 0 1124 I 158 pinctrl-0 = <&i2c5_pins>; 159 pinctrl-names = "default"; 160 power-domains = <&ps_i2c5>; 161 #address-cells = <0x1>; 162 #size-cells = <0x0>; 163 status = "disabled"; 164 }; 165 166 serial0: serial@39b200000 { 167 compatible = "apple,s5l-uart"; 168 reg = <0x3 0x9b200000 0x0 0x10 169 reg-io-width = <4>; 170 interrupt-parent = <&aic>; 171 interrupts = <AIC_IRQ 0 1097 I 172 /* 173 * TODO: figure out the clocki 174 * be a third selectable clock 175 */ 176 clocks = <&clkref>, <&clkref>; 177 clock-names = "uart", "clk_uar 178 power-domains = <&ps_uart0>; 179 status = "disabled"; 180 }; 181 182 admac: dma-controller@39b400000 { 183 compatible = "apple,t6000-adma 184 reg = <0x3 0x9b400000 0x0 0x34 185 #dma-cells = <1>; 186 dma-channels = <16>; 187 interrupts-extended = <0>, 188 <&aic AI 189 <0>, 190 <0>; 191 iommus = <&sio_dart_0 2>, <&si 192 power-domains = <&ps_sio_adma> 193 resets = <&ps_audio_p>; 194 }; 195 196 mca: mca@39b600000 { 197 compatible = "apple,t6000-mca" 198 reg = <0x3 0x9b600000 0x0 0x10 199 <0x3 0x9b500000 0x0 0x20 200 clocks = <&nco 0>, <&nco 1>, < 201 dmas = <&admac 0>, <&admac 1>, 202 <&admac 4>, <&admac 5>, 203 <&admac 8>, <&admac 9>, 204 <&admac 12>, <&admac 13 205 dma-names = "tx0a", "rx0a", "t 206 "tx1a", "rx1a", "t 207 "tx2a", "rx2a", "t 208 "tx3a", "rx3a", "t 209 interrupt-parent = <&aic>; 210 interrupts = <AIC_IRQ 0 1112 I 211 <AIC_IRQ 0 1113 I 212 <AIC_IRQ 0 1114 I 213 <AIC_IRQ 0 1115 I 214 power-domains = <&ps_audio_p>, 215 <&ps_mca2>, <& 216 resets = <&ps_audio_p>; 217 #sound-dai-cells = <1>; 218 }; 219 220 pcie0_dart_0: iommu@581008000 { 221 compatible = "apple,t6000-dart 222 reg = <0x5 0x81008000 0x0 0x40 223 #iommu-cells = <1>; 224 interrupt-parent = <&aic>; 225 interrupts = <AIC_IRQ 0 1271 I 226 power-domains = <&ps_apcie_gp_ 227 }; 228 229 pcie0_dart_1: iommu@582008000 { 230 compatible = "apple,t6000-dart 231 reg = <0x5 0x82008000 0x0 0x40 232 #iommu-cells = <1>; 233 interrupt-parent = <&aic>; 234 interrupts = <AIC_IRQ 0 1274 I 235 power-domains = <&ps_apcie_gp_ 236 }; 237 238 pcie0_dart_2: iommu@583008000 { 239 compatible = "apple,t6000-dart 240 reg = <0x5 0x83008000 0x0 0x40 241 #iommu-cells = <1>; 242 interrupt-parent = <&aic>; 243 interrupts = <AIC_IRQ 0 1277 I 244 power-domains = <&ps_apcie_gp_ 245 status = "disabled"; 246 }; 247 248 pcie0_dart_3: iommu@584008000 { 249 compatible = "apple,t6000-dart 250 reg = <0x5 0x84008000 0x0 0x40 251 #iommu-cells = <1>; 252 interrupt-parent = <&aic>; 253 interrupts = <AIC_IRQ 0 1280 I 254 power-domains = <&ps_apcie_gp_ 255 status = "disabled"; 256 }; 257 258 pcie0: pcie@590000000 { 259 compatible = "apple,t6000-pcie 260 device_type = "pci"; 261 262 reg = <0x5 0x90000000 0x0 0x10 263 <0x5 0x80000000 0x0 0x 264 <0x5 0x81000000 0x0 0x 265 <0x5 0x82000000 0x0 0x 266 <0x5 0x83000000 0x0 0x 267 <0x5 0x84000000 0x0 0x 268 reg-names = "config", "rc", "p 269 270 interrupt-parent = <&aic>; 271 interrupts = <AIC_IRQ 0 1270 I 272 <AIC_IRQ 0 127 273 <AIC_IRQ 0 127 274 <AIC_IRQ 0 127 275 276 msi-controller; 277 msi-parent = <&pcie0>; 278 msi-ranges = <&aic AIC_IRQ 0 1 279 280 281 iommu-map = <0x100 &pcie0_dart 282 <0x200 &pcie0_ 283 <0x300 &pcie0_ 284 <0x400 &pcie0_ 285 iommu-map-mask = <0xff00>; 286 287 bus-range = <0 4>; 288 #address-cells = <3>; 289 #size-cells = <2>; 290 ranges = <0x43000000 0x5 0xa00 291 <0x02000000 0x 292 293 power-domains = <&ps_apcie_gp_ 294 pinctrl-0 = <&pcie_pins>; 295 pinctrl-names = "default"; 296 297 port00: pci@0,0 { 298 device_type = "pci"; 299 reg = <0x0 0x0 0x0 0x0 300 reset-gpios = <&pinctr 301 302 #address-cells = <3>; 303 #size-cells = <2>; 304 ranges; 305 306 interrupt-controller; 307 #interrupt-cells = <1> 308 309 interrupt-map-mask = < 310 interrupt-map = <0 0 0 311 <0 0 0 312 <0 0 0 313 <0 0 0 314 }; 315 316 port01: pci@1,0 { 317 device_type = "pci"; 318 reg = <0x800 0x0 0x0 0 319 reset-gpios = <&pinctr 320 321 #address-cells = <3>; 322 #size-cells = <2>; 323 ranges; 324 325 interrupt-controller; 326 #interrupt-cells = <1> 327 328 interrupt-map-mask = < 329 interrupt-map = <0 0 0 330 <0 0 0 331 <0 0 0 332 <0 0 0 333 }; 334 335 port02: pci@2,0 { 336 device_type = "pci"; 337 reg = <0x1000 0x0 0x0 338 reset-gpios = <&pinctr 339 340 #address-cells = <3>; 341 #size-cells = <2>; 342 ranges; 343 344 interrupt-controller; 345 #interrupt-cells = <1> 346 347 interrupt-map-mask = < 348 interrupt-map = <0 0 0 349 <0 0 0 350 <0 0 0 351 <0 0 0 352 status = "disabled"; 353 }; 354 355 port03: pci@3,0 { 356 device_type = "pci"; 357 reg = <0x1800 0x0 0x0 358 reset-gpios = <&pinctr 359 360 #address-cells = <3>; 361 #size-cells = <2>; 362 ranges; 363 364 interrupt-controller; 365 #interrupt-cells = <1> 366 367 interrupt-map-mask = < 368 interrupt-map = <0 0 0 369 <0 0 0 370 <0 0 0 371 <0 0 0 372 status = "disabled"; 373 }; 374 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.