| 1 |
// SPDX-License-Identifier: GPL-2.0+ OR MIT |
| 2 |
/* |
| 3 |
* Devices used on die 0 on the Apple T6002 "M1 Ultra" SoC and present on |
| 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", "apple,nco"; |
| 12 |
reg = <0x2 0x8e03c000 0x0 0x14000>; |
| 13 |
clocks = <&nco_clkref>; |
| 14 |
#clock-cells = <1>; |
| 15 |
}; |
| 16 |
|
| 17 |
aic: interrupt-controller@28e100000 { |
| 18 |
compatible = "apple,t6000-aic", "apple,aic2"; |
| 19 |
#interrupt-cells = <4>; |
| 20 |
interrupt-controller; |
| 21 |
reg = <0x2 0x8e100000 0x0 0xc000>, |
| 22 |
<0x2 0x8e10c000 0x0 0x4>; |
| 23 |
reg-names = "core", "event"; |
| 24 |
power-domains = <&ps_aic>; |
| 25 |
}; |
| 26 |
|
| 27 |
smc: smc@290400000 { |
| 28 |
compatible = "apple,t6000-smc", "apple,smc"; |
| 29 |
reg = <0x2 0x90400000 0x0 0x4000>, |
| 30 |
<0x2 0x91e00000 0x0 0x100000>; |
| 31 |
reg-names = "smc", "sram"; |
| 32 |
mboxes = <&smc_mbox>; |
| 33 |
|
| 34 |
smc_gpio: gpio { |
| 35 |
compatible = "apple,smc-gpio"; |
| 36 |
gpio-controller; |
| 37 |
#gpio-cells = <2>; |
| 38 |
}; |
| 39 |
|
| 40 |
smc_reboot: reboot { |
| 41 |
compatible = "apple,smc-reboot"; |
| 42 |
nvmem-cells = <&shutdown_flag>, <&boot_stage>, |
| 43 |
<&boot_error_count>, <&panic_count>; |
| 44 |
nvmem-cell-names = "shutdown_flag", "boot_stage", |
| 45 |
"boot_error_count", "panic_count"; |
| 46 |
}; |
| 47 |
|
| 48 |
rtc { |
| 49 |
compatible = "apple,smc-rtc"; |
| 50 |
nvmem-cells = <&rtc_offset>; |
| 51 |
nvmem-cell-names = "rtc_offset"; |
| 52 |
}; |
| 53 |
}; |
| 54 |
|
| 55 |
smc_mbox: mbox@290408000 { |
| 56 |
compatible = "apple,t6000-asc-mailbox", "apple,asc-mailbox-v4"; |
| 57 |
reg = <0x2 0x90408000 0x0 0x4000>; |
| 58 |
interrupt-parent = <&aic>; |
| 59 |
interrupts = <AIC_IRQ 0 754 IRQ_TYPE_LEVEL_HIGH>, |
| 60 |
<AIC_IRQ 0 755 IRQ_TYPE_LEVEL_HIGH>, |
| 61 |
<AIC_IRQ 0 756 IRQ_TYPE_LEVEL_HIGH>, |
| 62 |
<AIC_IRQ 0 757 IRQ_TYPE_LEVEL_HIGH>; |
| 63 |
interrupt-names = "send-empty", "send-not-empty", |
| 64 |
"recv-empty", "recv-not-empty"; |
| 65 |
#mbox-cells = <0>; |
| 66 |
}; |
| 67 |
|
| 68 |
pinctrl_smc: pinctrl@290820000 { |
| 69 |
compatible = "apple,t6000-pinctrl", "apple,pinctrl"; |
| 70 |
reg = <0x2 0x90820000 0x0 0x4000>; |
| 71 |
|
| 72 |
gpio-controller; |
| 73 |
#gpio-cells = <2>; |
| 74 |
gpio-ranges = <&pinctrl_smc 0 0 30>; |
| 75 |
apple,npins = <30>; |
| 76 |
|
| 77 |
interrupt-controller; |
| 78 |
#interrupt-cells = <2>; |
| 79 |
interrupt-parent = <&aic>; |
| 80 |
interrupts = <AIC_IRQ 0 743 IRQ_TYPE_LEVEL_HIGH>, |
| 81 |
<AIC_IRQ 0 744 IRQ_TYPE_LEVEL_HIGH>, |
| 82 |
<AIC_IRQ 0 745 IRQ_TYPE_LEVEL_HIGH>, |
| 83 |
<AIC_IRQ 0 746 IRQ_TYPE_LEVEL_HIGH>, |
| 84 |
<AIC_IRQ 0 747 IRQ_TYPE_LEVEL_HIGH>, |
| 85 |
<AIC_IRQ 0 748 IRQ_TYPE_LEVEL_HIGH>, |
| 86 |
<AIC_IRQ 0 749 IRQ_TYPE_LEVEL_HIGH>; |
| 87 |
}; |
| 88 |
|
| 89 |
nub_spmi0: spmi@2920a1300 { |
| 90 |
compatible = "apple,t6000-spmi", "apple,spmi"; |
| 91 |
reg = <0x2 0x920a1300 0x0 0x100>; |
| 92 |
#address-cells = <2>; |
| 93 |
#size-cells = <0>; |
| 94 |
|
| 95 |
pmic1: pmic@f { |
| 96 |
compatible = "apple,maverick-pmic", "apple,spmi-nvmem"; |
| 97 |
reg = <0xf SPMI_USID>; |
| 98 |
|
| 99 |
nvmem-layout { |
| 100 |
compatible = "fixed-layout"; |
| 101 |
#address-cells = <1>; |
| 102 |
#size-cells = <1>; |
| 103 |
|
| 104 |
pm_setting: pm-setting@1405 { |
| 105 |
reg = <0x1405 0x1>; |
| 106 |
}; |
| 107 |
|
| 108 |
rtc_offset: rtc-offset@1411 { |
| 109 |
reg = <0x1411 0x6>; |
| 110 |
}; |
| 111 |
|
| 112 |
boot_stage: boot-stage@6001 { |
| 113 |
reg = <0x6001 0x1>; |
| 114 |
}; |
| 115 |
|
| 116 |
boot_error_count: boot-error-count@6002,0 { |
| 117 |
reg = <0x6002 0x1>; |
| 118 |
bits = <0 4>; |
| 119 |
}; |
| 120 |
|
| 121 |
panic_count: panic-count@6002,4 { |
| 122 |
reg = <0x6002 0x1>; |
| 123 |
bits = <4 4>; |
| 124 |
}; |
| 125 |
|
| 126 |
boot_error_stage: boot-error-stage@6003 { |
| 127 |
reg = <0x6003 0x1>; |
| 128 |
}; |
| 129 |
|
| 130 |
shutdown_flag: shutdown-flag@600f,3 { |
| 131 |
reg = <0x600f 0x1>; |
| 132 |
bits = <3 1>; |
| 133 |
}; |
| 134 |
|
| 135 |
fault_shadow: fault-shadow@867b { |
| 136 |
reg = <0x867b 0x10>; |
| 137 |
}; |
| 138 |
|
| 139 |
socd: socd@8b00 { |
| 140 |
reg = <0x8b00 0x400>; |
| 141 |
}; |
| 142 |
}; |
| 143 |
}; |
| 144 |
}; |
| 145 |
|
| 146 |
wdt: watchdog@2922b0000 { |
| 147 |
compatible = "apple,t6000-wdt", "apple,wdt"; |
| 148 |
reg = <0x2 0x922b0000 0x0 0x4000>; |
| 149 |
clocks = <&clkref>; |
| 150 |
interrupt-parent = <&aic>; |
| 151 |
interrupts = <AIC_IRQ 0 631 IRQ_TYPE_LEVEL_HIGH>; |
| 152 |
}; |
| 153 |
|
| 154 |
sio_dart_0: iommu@39b004000 { |
| 155 |
compatible = "apple,t6000-dart"; |
| 156 |
reg = <0x3 0x9b004000 0x0 0x4000>; |
| 157 |
interrupt-parent = <&aic>; |
| 158 |
interrupts = <AIC_IRQ 0 1130 IRQ_TYPE_LEVEL_HIGH>; |
| 159 |
#iommu-cells = <1>; |
| 160 |
power-domains = <&ps_sio_cpu>; |
| 161 |
}; |
| 162 |
|
| 163 |
sio_dart_1: iommu@39b008000 { |
| 164 |
compatible = "apple,t6000-dart"; |
| 165 |
reg = <0x3 0x9b008000 0x0 0x8000>; |
| 166 |
interrupt-parent = <&aic>; |
| 167 |
interrupts = <AIC_IRQ 0 1130 IRQ_TYPE_LEVEL_HIGH>; |
| 168 |
#iommu-cells = <1>; |
| 169 |
power-domains = <&ps_sio_cpu>; |
| 170 |
}; |
| 171 |
|
| 172 |
fpwm0: pwm@39b030000 { |
| 173 |
compatible = "apple,t6000-fpwm", "apple,s5l-fpwm"; |
| 174 |
reg = <0x3 0x9b030000 0x0 0x4000>; |
| 175 |
power-domains = <&ps_fpwm0>; |
| 176 |
clocks = <&clkref>; |
| 177 |
#pwm-cells = <2>; |
| 178 |
status = "disabled"; |
| 179 |
}; |
| 180 |
|
| 181 |
i2c0: i2c@39b040000 { |
| 182 |
compatible = "apple,t6000-i2c", "apple,i2c"; |
| 183 |
reg = <0x3 0x9b040000 0x0 0x4000>; |
| 184 |
clocks = <&clkref>; |
| 185 |
interrupt-parent = <&aic>; |
| 186 |
interrupts = <AIC_IRQ 0 1119 IRQ_TYPE_LEVEL_HIGH>; |
| 187 |
pinctrl-0 = <&i2c0_pins>; |
| 188 |
pinctrl-names = "default"; |
| 189 |
power-domains = <&ps_i2c0>; |
| 190 |
#address-cells = <0x1>; |
| 191 |
#size-cells = <0x0>; |
| 192 |
}; |
| 193 |
|
| 194 |
i2c1: i2c@39b044000 { |
| 195 |
compatible = "apple,t6000-i2c", "apple,i2c"; |
| 196 |
reg = <0x3 0x9b044000 0x0 0x4000>; |
| 197 |
clocks = <&clkref>; |
| 198 |
interrupt-parent = <&aic>; |
| 199 |
interrupts = <AIC_IRQ 0 1120 IRQ_TYPE_LEVEL_HIGH>; |
| 200 |
pinctrl-0 = <&i2c1_pins>; |
| 201 |
pinctrl-names = "default"; |
| 202 |
power-domains = <&ps_i2c1>; |
| 203 |
#address-cells = <0x1>; |
| 204 |
#size-cells = <0x0>; |
| 205 |
status = "disabled"; |
| 206 |
}; |
| 207 |
|
| 208 |
i2c2: i2c@39b048000 { |
| 209 |
compatible = "apple,t6000-i2c", "apple,i2c"; |
| 210 |
reg = <0x3 0x9b048000 0x0 0x4000>; |
| 211 |
clocks = <&clkref>; |
| 212 |
interrupt-parent = <&aic>; |
| 213 |
interrupts = <AIC_IRQ 0 1121 IRQ_TYPE_LEVEL_HIGH>; |
| 214 |
pinctrl-0 = <&i2c2_pins>; |
| 215 |
pinctrl-names = "default"; |
| 216 |
power-domains = <&ps_i2c2>; |
| 217 |
#address-cells = <0x1>; |
| 218 |
#size-cells = <0x0>; |
| 219 |
status = "disabled"; |
| 220 |
}; |
| 221 |
|
| 222 |
i2c3: i2c@39b04c000 { |
| 223 |
compatible = "apple,t6000-i2c", "apple,i2c"; |
| 224 |
reg = <0x3 0x9b04c000 0x0 0x4000>; |
| 225 |
clocks = <&clkref>; |
| 226 |
interrupt-parent = <&aic>; |
| 227 |
interrupts = <AIC_IRQ 0 1122 IRQ_TYPE_LEVEL_HIGH>; |
| 228 |
pinctrl-0 = <&i2c3_pins>; |
| 229 |
pinctrl-names = "default"; |
| 230 |
power-domains = <&ps_i2c3>; |
| 231 |
#address-cells = <0x1>; |
| 232 |
#size-cells = <0x0>; |
| 233 |
status = "disabled"; |
| 234 |
}; |
| 235 |
|
| 236 |
i2c4: i2c@39b050000 { |
| 237 |
compatible = "apple,t6000-i2c", "apple,i2c"; |
| 238 |
reg = <0x3 0x9b050000 0x0 0x4000>; |
| 239 |
clocks = <&clkref>; |
| 240 |
interrupt-parent = <&aic>; |
| 241 |
interrupts = <AIC_IRQ 0 1123 IRQ_TYPE_LEVEL_HIGH>; |
| 242 |
pinctrl-0 = <&i2c4_pins>; |
| 243 |
pinctrl-names = "default"; |
| 244 |
power-domains = <&ps_i2c4>; |
| 245 |
#address-cells = <0x1>; |
| 246 |
#size-cells = <0x0>; |
| 247 |
status = "disabled"; |
| 248 |
}; |
| 249 |
|
| 250 |
i2c5: i2c@39b054000 { |
| 251 |
compatible = "apple,t6000-i2c", "apple,i2c"; |
| 252 |
reg = <0x3 0x9b054000 0x0 0x4000>; |
| 253 |
clocks = <&clkref>; |
| 254 |
interrupt-parent = <&aic>; |
| 255 |
interrupts = <AIC_IRQ 0 1124 IRQ_TYPE_LEVEL_HIGH>; |
| 256 |
pinctrl-0 = <&i2c5_pins>; |
| 257 |
pinctrl-names = "default"; |
| 258 |
power-domains = <&ps_i2c5>; |
| 259 |
#address-cells = <0x1>; |
| 260 |
#size-cells = <0x0>; |
| 261 |
status = "disabled"; |
| 262 |
}; |
| 263 |
|
| 264 |
spi1: spi@39b104000 { |
| 265 |
compatible = "apple,t6000-spi", "apple,spi"; |
| 266 |
reg = <0x3 0x9b104000 0x0 0x4000>; |
| 267 |
interrupt-parent = <&aic>; |
| 268 |
interrupts = <AIC_IRQ 0 1107 IRQ_TYPE_LEVEL_HIGH>; |
| 269 |
#address-cells = <1>; |
| 270 |
#size-cells = <0>; |
| 271 |
clocks = <&clk_200m>; |
| 272 |
pinctrl-0 = <&spi1_pins>; |
| 273 |
pinctrl-names = "default"; |
| 274 |
power-domains = <&ps_spi1>; |
| 275 |
status = "disabled"; |
| 276 |
}; |
| 277 |
|
| 278 |
spi3: spi@39b10c000 { |
| 279 |
compatible = "apple,t6000-spi", "apple,spi"; |
| 280 |
reg = <0x3 0x9b10c000 0x0 0x4000>; |
| 281 |
interrupt-parent = <&aic>; |
| 282 |
interrupts = <AIC_IRQ 0 1109 IRQ_TYPE_LEVEL_HIGH>; |
| 283 |
#address-cells = <1>; |
| 284 |
#size-cells = <0>; |
| 285 |
clocks = <&clkref>; |
| 286 |
pinctrl-0 = <&spi3_pins>; |
| 287 |
pinctrl-names = "default"; |
| 288 |
power-domains = <&ps_spi3>; |
| 289 |
status = "disabled"; |
| 290 |
}; |
| 291 |
|
| 292 |
serial0: serial@39b200000 { |
| 293 |
compatible = "apple,s5l-uart"; |
| 294 |
reg = <0x3 0x9b200000 0x0 0x1000>; |
| 295 |
reg-io-width = <4>; |
| 296 |
interrupt-parent = <&aic>; |
| 297 |
interrupts = <AIC_IRQ 0 1097 IRQ_TYPE_LEVEL_HIGH>; |
| 298 |
/* |
| 299 |
* TODO: figure out the clocking properly, there may |
| 300 |
* be a third selectable clock. |
| 301 |
*/ |
| 302 |
clocks = <&clkref>, <&clkref>; |
| 303 |
clock-names = "uart", "clk_uart_baud0"; |
| 304 |
power-domains = <&ps_uart0>; |
| 305 |
status = "disabled"; |
| 306 |
}; |
| 307 |
|
| 308 |
admac: dma-controller@39b400000 { |
| 309 |
compatible = "apple,t6000-admac", "apple,admac"; |
| 310 |
reg = <0x3 0x9b400000 0x0 0x34000>; |
| 311 |
#dma-cells = <1>; |
| 312 |
dma-channels = <16>; |
| 313 |
interrupts-extended = <0>, |
| 314 |
<&aic AIC_IRQ 0 1118 IRQ_TYPE_LEVEL_HIGH>, |
| 315 |
<0>, |
| 316 |
<0>; |
| 317 |
iommus = <&sio_dart_0 2>, <&sio_dart_1 2>; |
| 318 |
power-domains = <&ps_sio_adma>; |
| 319 |
resets = <&ps_audio_p>; |
| 320 |
}; |
| 321 |
|
| 322 |
mca: mca@39b600000 { |
| 323 |
compatible = "apple,t6000-mca", "apple,mca"; |
| 324 |
reg = <0x3 0x9b600000 0x0 0x10000>, |
| 325 |
<0x3 0x9b500000 0x0 0x20000>; |
| 326 |
clocks = <&nco 0>, <&nco 1>, <&nco 2>, <&nco 3>; |
| 327 |
dmas = <&admac 0>, <&admac 1>, <&admac 2>, <&admac 3>, |
| 328 |
<&admac 4>, <&admac 5>, <&admac 6>, <&admac 7>, |
| 329 |
<&admac 8>, <&admac 9>, <&admac 10>, <&admac 11>, |
| 330 |
<&admac 12>, <&admac 13>, <&admac 14>, <&admac 15>; |
| 331 |
dma-names = "tx0a", "rx0a", "tx0b", "rx0b", |
| 332 |
"tx1a", "rx1a", "tx1b", "rx1b", |
| 333 |
"tx2a", "rx2a", "tx2b", "rx2b", |
| 334 |
"tx3a", "rx3a", "tx3b", "rx3b"; |
| 335 |
interrupt-parent = <&aic>; |
| 336 |
interrupts = <AIC_IRQ 0 1112 IRQ_TYPE_LEVEL_HIGH>, |
| 337 |
<AIC_IRQ 0 1113 IRQ_TYPE_LEVEL_HIGH>, |
| 338 |
<AIC_IRQ 0 1114 IRQ_TYPE_LEVEL_HIGH>, |
| 339 |
<AIC_IRQ 0 1115 IRQ_TYPE_LEVEL_HIGH>; |
| 340 |
power-domains = <&ps_audio_p>, <&ps_mca0>, <&ps_mca1>, |
| 341 |
<&ps_mca2>, <&ps_mca3>; |
| 342 |
resets = <&ps_audio_p>; |
| 343 |
#sound-dai-cells = <1>; |
| 344 |
}; |
| 345 |
|
| 346 |
gpu: gpu@406400000 { |
| 347 |
compatible = "apple,agx-g13s"; |
| 348 |
reg = <0x4 0x6400000 0 0x40000>, |
| 349 |
<0x4 0x4000000 0 0x1000000>; |
| 350 |
reg-names = "asc", "sgx"; |
| 351 |
mboxes = <&agx_mbox>; |
| 352 |
power-domains = <&ps_gfx>; |
| 353 |
memory-region = <&uat_ttbs>, <&uat_pagetables>, <&uat_handoff>, |
| 354 |
<&gpu_hw_cal_a>, <&gpu_hw_cal_b>, <&gpu_globals>; |
| 355 |
memory-region-names = "ttbs", "pagetables", "handoff", |
| 356 |
"hw-cal-a", "hw-cal-b", "globals"; |
| 357 |
|
| 358 |
apple,firmware-abi = <0 0 0>; |
| 359 |
}; |
| 360 |
|
| 361 |
agx_mbox: mbox@406408000 { |
| 362 |
compatible = "apple,t6000-asc-mailbox", "apple,asc-mailbox-v4"; |
| 363 |
reg = <0x4 0x6408000 0x0 0x4000>; |
| 364 |
interrupt-parent = <&aic>; |
| 365 |
interrupts = <AIC_IRQ 0 1059 IRQ_TYPE_LEVEL_HIGH>, |
| 366 |
<AIC_IRQ 0 1060 IRQ_TYPE_LEVEL_HIGH>, |
| 367 |
<AIC_IRQ 0 1061 IRQ_TYPE_LEVEL_HIGH>, |
| 368 |
<AIC_IRQ 0 1062 IRQ_TYPE_LEVEL_HIGH>; |
| 369 |
interrupt-names = "send-empty", "send-not-empty", |
| 370 |
"recv-empty", "recv-not-empty"; |
| 371 |
#mbox-cells = <0>; |
| 372 |
}; |
| 373 |
|
| 374 |
pcie0_dart_0: iommu@581008000 { |
| 375 |
compatible = "apple,t6000-dart"; |
| 376 |
reg = <0x5 0x81008000 0x0 0x4000>; |
| 377 |
#iommu-cells = <1>; |
| 378 |
interrupt-parent = <&aic>; |
| 379 |
interrupts = <AIC_IRQ 0 1271 IRQ_TYPE_LEVEL_HIGH>; |
| 380 |
power-domains = <&ps_apcie_gp_sys>; |
| 381 |
}; |
| 382 |
|
| 383 |
pcie0_dart_1: iommu@582008000 { |
| 384 |
compatible = "apple,t6000-dart"; |
| 385 |
reg = <0x5 0x82008000 0x0 0x4000>; |
| 386 |
#iommu-cells = <1>; |
| 387 |
interrupt-parent = <&aic>; |
| 388 |
interrupts = <AIC_IRQ 0 1274 IRQ_TYPE_LEVEL_HIGH>; |
| 389 |
power-domains = <&ps_apcie_gp_sys>; |
| 390 |
}; |
| 391 |
|
| 392 |
pcie0_dart_2: iommu@583008000 { |
| 393 |
compatible = "apple,t6000-dart"; |
| 394 |
reg = <0x5 0x83008000 0x0 0x4000>; |
| 395 |
#iommu-cells = <1>; |
| 396 |
interrupt-parent = <&aic>; |
| 397 |
interrupts = <AIC_IRQ 0 1277 IRQ_TYPE_LEVEL_HIGH>; |
| 398 |
power-domains = <&ps_apcie_gp_sys>; |
| 399 |
status = "disabled"; |
| 400 |
}; |
| 401 |
|
| 402 |
pcie0_dart_3: iommu@584008000 { |
| 403 |
compatible = "apple,t6000-dart"; |
| 404 |
reg = <0x5 0x84008000 0x0 0x4000>; |
| 405 |
#iommu-cells = <1>; |
| 406 |
interrupt-parent = <&aic>; |
| 407 |
interrupts = <AIC_IRQ 0 1280 IRQ_TYPE_LEVEL_HIGH>; |
| 408 |
power-domains = <&ps_apcie_gp_sys>; |
| 409 |
status = "disabled"; |
| 410 |
}; |
| 411 |
|
| 412 |
pcie0: pcie@590000000 { |
| 413 |
compatible = "apple,t6000-pcie", "apple,pcie"; |
| 414 |
device_type = "pci"; |
| 415 |
|
| 416 |
reg = <0x5 0x90000000 0x0 0x1000000>, |
| 417 |
<0x5 0x80000000 0x0 0x100000>, |
| 418 |
<0x5 0x81000000 0x0 0x4000>, |
| 419 |
<0x5 0x82000000 0x0 0x4000>, |
| 420 |
<0x5 0x83000000 0x0 0x4000>, |
| 421 |
<0x5 0x84000000 0x0 0x4000>; |
| 422 |
reg-names = "config", "rc", "port0", "port1", "port2", "port3"; |
| 423 |
|
| 424 |
interrupt-parent = <&aic>; |
| 425 |
interrupts = <AIC_IRQ 0 1270 IRQ_TYPE_LEVEL_HIGH>, |
| 426 |
<AIC_IRQ 0 1273 IRQ_TYPE_LEVEL_HIGH>, |
| 427 |
<AIC_IRQ 0 1276 IRQ_TYPE_LEVEL_HIGH>, |
| 428 |
<AIC_IRQ 0 1279 IRQ_TYPE_LEVEL_HIGH>; |
| 429 |
|
| 430 |
msi-controller; |
| 431 |
msi-parent = <&pcie0>; |
| 432 |
msi-ranges = <&aic AIC_IRQ 0 1581 IRQ_TYPE_EDGE_RISING 32>; |
| 433 |
|
| 434 |
|
| 435 |
iommu-map = <0x100 &pcie0_dart_0 1 1>, |
| 436 |
<0x200 &pcie0_dart_1 1 1>, |
| 437 |
<0x300 &pcie0_dart_2 1 1>, |
| 438 |
<0x400 &pcie0_dart_3 1 1>; |
| 439 |
iommu-map-mask = <0xff00>; |
| 440 |
|
| 441 |
bus-range = <0 4>; |
| 442 |
#address-cells = <3>; |
| 443 |
#size-cells = <2>; |
| 444 |
ranges = <0x43000000 0x5 0xa0000000 0x5 0xa0000000 0x0 0x20000000>, |
| 445 |
<0x02000000 0x0 0xc0000000 0x5 0xc0000000 0x0 0x40000000>; |
| 446 |
|
| 447 |
power-domains = <&ps_apcie_gp_sys>; |
| 448 |
pinctrl-0 = <&pcie_pins>; |
| 449 |
pinctrl-names = "default"; |
| 450 |
|
| 451 |
port00: pci@0,0 { |
| 452 |
device_type = "pci"; |
| 453 |
reg = <0x0 0x0 0x0 0x0 0x0>; |
| 454 |
reset-gpios = <&pinctrl_ap 4 GPIO_ACTIVE_LOW>; |
| 455 |
|
| 456 |
#address-cells = <3>; |
| 457 |
#size-cells = <2>; |
| 458 |
ranges; |
| 459 |
|
| 460 |
interrupt-controller; |
| 461 |
#interrupt-cells = <1>; |
| 462 |
|
| 463 |
interrupt-map-mask = <0 0 0 7>; |
| 464 |
interrupt-map = <0 0 0 1 &port00 0 0 0 0>, |
| 465 |
<0 0 0 2 &port00 0 0 0 1>, |
| 466 |
<0 0 0 3 &port00 0 0 0 2>, |
| 467 |
<0 0 0 4 &port00 0 0 0 3>; |
| 468 |
}; |
| 469 |
|
| 470 |
port01: pci@1,0 { |
| 471 |
device_type = "pci"; |
| 472 |
reg = <0x800 0x0 0x0 0x0 0x0>; |
| 473 |
reset-gpios = <&pinctrl_ap 5 GPIO_ACTIVE_LOW>; |
| 474 |
|
| 475 |
#address-cells = <3>; |
| 476 |
#size-cells = <2>; |
| 477 |
ranges; |
| 478 |
|
| 479 |
interrupt-controller; |
| 480 |
#interrupt-cells = <1>; |
| 481 |
|
| 482 |
interrupt-map-mask = <0 0 0 7>; |
| 483 |
interrupt-map = <0 0 0 1 &port01 0 0 0 0>, |
| 484 |
<0 0 0 2 &port01 0 0 0 1>, |
| 485 |
<0 0 0 3 &port01 0 0 0 2>, |
| 486 |
<0 0 0 4 &port01 0 0 0 3>; |
| 487 |
}; |
| 488 |
|
| 489 |
port02: pci@2,0 { |
| 490 |
device_type = "pci"; |
| 491 |
reg = <0x1000 0x0 0x0 0x0 0x0>; |
| 492 |
reset-gpios = <&pinctrl_ap 6 GPIO_ACTIVE_LOW>; |
| 493 |
|
| 494 |
#address-cells = <3>; |
| 495 |
#size-cells = <2>; |
| 496 |
ranges; |
| 497 |
|
| 498 |
interrupt-controller; |
| 499 |
#interrupt-cells = <1>; |
| 500 |
|
| 501 |
interrupt-map-mask = <0 0 0 7>; |
| 502 |
interrupt-map = <0 0 0 1 &port02 0 0 0 0>, |
| 503 |
<0 0 0 2 &port02 0 0 0 1>, |
| 504 |
<0 0 0 3 &port02 0 0 0 2>, |
| 505 |
<0 0 0 4 &port02 0 0 0 3>; |
| 506 |
status = "disabled"; |
| 507 |
}; |
| 508 |
|
| 509 |
port03: pci@3,0 { |
| 510 |
device_type = "pci"; |
| 511 |
reg = <0x1800 0x0 0x0 0x0 0x0>; |
| 512 |
reset-gpios = <&pinctrl_ap 7 GPIO_ACTIVE_LOW>; |
| 513 |
|
| 514 |
#address-cells = <3>; |
| 515 |
#size-cells = <2>; |
| 516 |
ranges; |
| 517 |
|
| 518 |
interrupt-controller; |
| 519 |
#interrupt-cells = <1>; |
| 520 |
|
| 521 |
interrupt-map-mask = <0 0 0 7>; |
| 522 |
interrupt-map = <0 0 0 1 &port03 0 0 0 0>, |
| 523 |
<0 0 0 2 &port03 0 0 0 1>, |
| 524 |
<0 0 0 3 &port03 0 0 0 2>, |
| 525 |
<0 0 0 4 &port03 0 0 0 3>; |
| 526 |
status = "disabled"; |
| 527 |
}; |
| 528 |
}; |