18bab661aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0+ OR MIT 28bab661aSEmmanuel Vadot/* 38bab661aSEmmanuel Vadot * Devices used on die 0 on the Apple T6002 "M1 Ultra" SoC and present on 48bab661aSEmmanuel Vadot * Apple T6000 / T6001 "M1 Pro" / "M1 Max". 58bab661aSEmmanuel Vadot * 68bab661aSEmmanuel Vadot * Copyright The Asahi Linux Contributors 78bab661aSEmmanuel Vadot */ 88bab661aSEmmanuel Vadot 98bab661aSEmmanuel Vadot 108bab661aSEmmanuel Vadot nco: clock-controller@28e03c000 { 118bab661aSEmmanuel Vadot compatible = "apple,t6000-nco", "apple,nco"; 128bab661aSEmmanuel Vadot reg = <0x2 0x8e03c000 0x0 0x14000>; 138bab661aSEmmanuel Vadot clocks = <&nco_clkref>; 148bab661aSEmmanuel Vadot #clock-cells = <1>; 158bab661aSEmmanuel Vadot }; 168bab661aSEmmanuel Vadot 178bab661aSEmmanuel Vadot aic: interrupt-controller@28e100000 { 188bab661aSEmmanuel Vadot compatible = "apple,t6000-aic", "apple,aic2"; 198bab661aSEmmanuel Vadot #interrupt-cells = <4>; 208bab661aSEmmanuel Vadot interrupt-controller; 218bab661aSEmmanuel Vadot reg = <0x2 0x8e100000 0x0 0xc000>, 228bab661aSEmmanuel Vadot <0x2 0x8e10c000 0x0 0x4>; 238bab661aSEmmanuel Vadot reg-names = "core", "event"; 248bab661aSEmmanuel Vadot power-domains = <&ps_aic>; 258bab661aSEmmanuel Vadot }; 268bab661aSEmmanuel Vadot 278bab661aSEmmanuel Vadot pinctrl_smc: pinctrl@290820000 { 288bab661aSEmmanuel Vadot compatible = "apple,t6000-pinctrl", "apple,pinctrl"; 298bab661aSEmmanuel Vadot reg = <0x2 0x90820000 0x0 0x4000>; 308bab661aSEmmanuel Vadot 318bab661aSEmmanuel Vadot gpio-controller; 328bab661aSEmmanuel Vadot #gpio-cells = <2>; 338bab661aSEmmanuel Vadot gpio-ranges = <&pinctrl_smc 0 0 30>; 348bab661aSEmmanuel Vadot apple,npins = <30>; 358bab661aSEmmanuel Vadot 368bab661aSEmmanuel Vadot interrupt-controller; 378bab661aSEmmanuel Vadot #interrupt-cells = <2>; 388bab661aSEmmanuel Vadot interrupt-parent = <&aic>; 398bab661aSEmmanuel Vadot interrupts = <AIC_IRQ 0 743 IRQ_TYPE_LEVEL_HIGH>, 408bab661aSEmmanuel Vadot <AIC_IRQ 0 744 IRQ_TYPE_LEVEL_HIGH>, 418bab661aSEmmanuel Vadot <AIC_IRQ 0 745 IRQ_TYPE_LEVEL_HIGH>, 428bab661aSEmmanuel Vadot <AIC_IRQ 0 746 IRQ_TYPE_LEVEL_HIGH>, 438bab661aSEmmanuel Vadot <AIC_IRQ 0 747 IRQ_TYPE_LEVEL_HIGH>, 448bab661aSEmmanuel Vadot <AIC_IRQ 0 748 IRQ_TYPE_LEVEL_HIGH>, 458bab661aSEmmanuel Vadot <AIC_IRQ 0 749 IRQ_TYPE_LEVEL_HIGH>; 468bab661aSEmmanuel Vadot }; 478bab661aSEmmanuel Vadot 488bab661aSEmmanuel Vadot wdt: watchdog@2922b0000 { 498bab661aSEmmanuel Vadot compatible = "apple,t6000-wdt", "apple,wdt"; 508bab661aSEmmanuel Vadot reg = <0x2 0x922b0000 0x0 0x4000>; 518bab661aSEmmanuel Vadot clocks = <&clkref>; 528bab661aSEmmanuel Vadot interrupt-parent = <&aic>; 538bab661aSEmmanuel Vadot interrupts = <AIC_IRQ 0 631 IRQ_TYPE_LEVEL_HIGH>; 548bab661aSEmmanuel Vadot }; 558bab661aSEmmanuel Vadot 568bab661aSEmmanuel Vadot sio_dart_0: iommu@39b004000 { 578bab661aSEmmanuel Vadot compatible = "apple,t6000-dart"; 588bab661aSEmmanuel Vadot reg = <0x3 0x9b004000 0x0 0x4000>; 598bab661aSEmmanuel Vadot interrupt-parent = <&aic>; 608bab661aSEmmanuel Vadot interrupts = <AIC_IRQ 0 1130 IRQ_TYPE_LEVEL_HIGH>; 618bab661aSEmmanuel Vadot #iommu-cells = <1>; 628bab661aSEmmanuel Vadot power-domains = <&ps_sio_cpu>; 638bab661aSEmmanuel Vadot }; 648bab661aSEmmanuel Vadot 658bab661aSEmmanuel Vadot sio_dart_1: iommu@39b008000 { 668bab661aSEmmanuel Vadot compatible = "apple,t6000-dart"; 678bab661aSEmmanuel Vadot reg = <0x3 0x9b008000 0x0 0x8000>; 688bab661aSEmmanuel Vadot interrupt-parent = <&aic>; 698bab661aSEmmanuel Vadot interrupts = <AIC_IRQ 0 1130 IRQ_TYPE_LEVEL_HIGH>; 708bab661aSEmmanuel Vadot #iommu-cells = <1>; 718bab661aSEmmanuel Vadot power-domains = <&ps_sio_cpu>; 728bab661aSEmmanuel Vadot }; 738bab661aSEmmanuel Vadot 74*fac71e4eSEmmanuel Vadot fpwm0: pwm@39b030000 { 75*fac71e4eSEmmanuel Vadot compatible = "apple,t6000-fpwm", "apple,s5l-fpwm"; 76*fac71e4eSEmmanuel Vadot reg = <0x3 0x9b030000 0x0 0x4000>; 77*fac71e4eSEmmanuel Vadot power-domains = <&ps_fpwm0>; 78*fac71e4eSEmmanuel Vadot clocks = <&clkref>; 79*fac71e4eSEmmanuel Vadot #pwm-cells = <2>; 80*fac71e4eSEmmanuel Vadot status = "disabled"; 81*fac71e4eSEmmanuel Vadot }; 82*fac71e4eSEmmanuel Vadot 838bab661aSEmmanuel Vadot i2c0: i2c@39b040000 { 848bab661aSEmmanuel Vadot compatible = "apple,t6000-i2c", "apple,i2c"; 858bab661aSEmmanuel Vadot reg = <0x3 0x9b040000 0x0 0x4000>; 868bab661aSEmmanuel Vadot clocks = <&clkref>; 878bab661aSEmmanuel Vadot interrupt-parent = <&aic>; 888bab661aSEmmanuel Vadot interrupts = <AIC_IRQ 0 1119 IRQ_TYPE_LEVEL_HIGH>; 898bab661aSEmmanuel Vadot pinctrl-0 = <&i2c0_pins>; 908bab661aSEmmanuel Vadot pinctrl-names = "default"; 918bab661aSEmmanuel Vadot power-domains = <&ps_i2c0>; 928bab661aSEmmanuel Vadot #address-cells = <0x1>; 938bab661aSEmmanuel Vadot #size-cells = <0x0>; 948bab661aSEmmanuel Vadot }; 958bab661aSEmmanuel Vadot 968bab661aSEmmanuel Vadot i2c1: i2c@39b044000 { 978bab661aSEmmanuel Vadot compatible = "apple,t6000-i2c", "apple,i2c"; 988bab661aSEmmanuel Vadot reg = <0x3 0x9b044000 0x0 0x4000>; 998bab661aSEmmanuel Vadot clocks = <&clkref>; 1008bab661aSEmmanuel Vadot interrupt-parent = <&aic>; 1018bab661aSEmmanuel Vadot interrupts = <AIC_IRQ 0 1120 IRQ_TYPE_LEVEL_HIGH>; 1028bab661aSEmmanuel Vadot pinctrl-0 = <&i2c1_pins>; 1038bab661aSEmmanuel Vadot pinctrl-names = "default"; 1048bab661aSEmmanuel Vadot power-domains = <&ps_i2c1>; 1058bab661aSEmmanuel Vadot #address-cells = <0x1>; 1068bab661aSEmmanuel Vadot #size-cells = <0x0>; 1078bab661aSEmmanuel Vadot status = "disabled"; 1088bab661aSEmmanuel Vadot }; 1098bab661aSEmmanuel Vadot 1108bab661aSEmmanuel Vadot i2c2: i2c@39b048000 { 1118bab661aSEmmanuel Vadot compatible = "apple,t6000-i2c", "apple,i2c"; 1128bab661aSEmmanuel Vadot reg = <0x3 0x9b048000 0x0 0x4000>; 1138bab661aSEmmanuel Vadot clocks = <&clkref>; 1148bab661aSEmmanuel Vadot interrupt-parent = <&aic>; 1158bab661aSEmmanuel Vadot interrupts = <AIC_IRQ 0 1121 IRQ_TYPE_LEVEL_HIGH>; 1168bab661aSEmmanuel Vadot pinctrl-0 = <&i2c2_pins>; 1178bab661aSEmmanuel Vadot pinctrl-names = "default"; 1188bab661aSEmmanuel Vadot power-domains = <&ps_i2c2>; 1198bab661aSEmmanuel Vadot #address-cells = <0x1>; 1208bab661aSEmmanuel Vadot #size-cells = <0x0>; 1218bab661aSEmmanuel Vadot status = "disabled"; 1228bab661aSEmmanuel Vadot }; 1238bab661aSEmmanuel Vadot 1248bab661aSEmmanuel Vadot i2c3: i2c@39b04c000 { 1258bab661aSEmmanuel Vadot compatible = "apple,t6000-i2c", "apple,i2c"; 1268bab661aSEmmanuel Vadot reg = <0x3 0x9b04c000 0x0 0x4000>; 1278bab661aSEmmanuel Vadot clocks = <&clkref>; 1288bab661aSEmmanuel Vadot interrupt-parent = <&aic>; 1298bab661aSEmmanuel Vadot interrupts = <AIC_IRQ 0 1122 IRQ_TYPE_LEVEL_HIGH>; 1308bab661aSEmmanuel Vadot pinctrl-0 = <&i2c3_pins>; 1318bab661aSEmmanuel Vadot pinctrl-names = "default"; 1328bab661aSEmmanuel Vadot power-domains = <&ps_i2c3>; 1338bab661aSEmmanuel Vadot #address-cells = <0x1>; 1348bab661aSEmmanuel Vadot #size-cells = <0x0>; 1358bab661aSEmmanuel Vadot status = "disabled"; 1368bab661aSEmmanuel Vadot }; 1378bab661aSEmmanuel Vadot 1388bab661aSEmmanuel Vadot i2c4: i2c@39b050000 { 1398bab661aSEmmanuel Vadot compatible = "apple,t6000-i2c", "apple,i2c"; 1408bab661aSEmmanuel Vadot reg = <0x3 0x9b050000 0x0 0x4000>; 1418bab661aSEmmanuel Vadot clocks = <&clkref>; 1428bab661aSEmmanuel Vadot interrupt-parent = <&aic>; 1438bab661aSEmmanuel Vadot interrupts = <AIC_IRQ 0 1123 IRQ_TYPE_LEVEL_HIGH>; 1448bab661aSEmmanuel Vadot pinctrl-0 = <&i2c4_pins>; 1458bab661aSEmmanuel Vadot pinctrl-names = "default"; 1468bab661aSEmmanuel Vadot power-domains = <&ps_i2c4>; 1478bab661aSEmmanuel Vadot #address-cells = <0x1>; 1488bab661aSEmmanuel Vadot #size-cells = <0x0>; 1498bab661aSEmmanuel Vadot status = "disabled"; 1508bab661aSEmmanuel Vadot }; 1518bab661aSEmmanuel Vadot 1528bab661aSEmmanuel Vadot i2c5: i2c@39b054000 { 1538bab661aSEmmanuel Vadot compatible = "apple,t6000-i2c", "apple,i2c"; 1548bab661aSEmmanuel Vadot reg = <0x3 0x9b054000 0x0 0x4000>; 1558bab661aSEmmanuel Vadot clocks = <&clkref>; 1568bab661aSEmmanuel Vadot interrupt-parent = <&aic>; 1578bab661aSEmmanuel Vadot interrupts = <AIC_IRQ 0 1124 IRQ_TYPE_LEVEL_HIGH>; 1588bab661aSEmmanuel Vadot pinctrl-0 = <&i2c5_pins>; 1598bab661aSEmmanuel Vadot pinctrl-names = "default"; 1608bab661aSEmmanuel Vadot power-domains = <&ps_i2c5>; 1618bab661aSEmmanuel Vadot #address-cells = <0x1>; 1628bab661aSEmmanuel Vadot #size-cells = <0x0>; 1638bab661aSEmmanuel Vadot status = "disabled"; 1648bab661aSEmmanuel Vadot }; 1658bab661aSEmmanuel Vadot 1668bab661aSEmmanuel Vadot serial0: serial@39b200000 { 1678bab661aSEmmanuel Vadot compatible = "apple,s5l-uart"; 1688bab661aSEmmanuel Vadot reg = <0x3 0x9b200000 0x0 0x1000>; 1698bab661aSEmmanuel Vadot reg-io-width = <4>; 1708bab661aSEmmanuel Vadot interrupt-parent = <&aic>; 1718bab661aSEmmanuel Vadot interrupts = <AIC_IRQ 0 1097 IRQ_TYPE_LEVEL_HIGH>; 1728bab661aSEmmanuel Vadot /* 1738bab661aSEmmanuel Vadot * TODO: figure out the clocking properly, there may 1748bab661aSEmmanuel Vadot * be a third selectable clock. 1758bab661aSEmmanuel Vadot */ 1768bab661aSEmmanuel Vadot clocks = <&clkref>, <&clkref>; 1778bab661aSEmmanuel Vadot clock-names = "uart", "clk_uart_baud0"; 1788bab661aSEmmanuel Vadot power-domains = <&ps_uart0>; 1798bab661aSEmmanuel Vadot status = "disabled"; 1808bab661aSEmmanuel Vadot }; 1818bab661aSEmmanuel Vadot 1828bab661aSEmmanuel Vadot admac: dma-controller@39b400000 { 1838bab661aSEmmanuel Vadot compatible = "apple,t6000-admac", "apple,admac"; 1848bab661aSEmmanuel Vadot reg = <0x3 0x9b400000 0x0 0x34000>; 1858bab661aSEmmanuel Vadot #dma-cells = <1>; 1868bab661aSEmmanuel Vadot dma-channels = <16>; 1878bab661aSEmmanuel Vadot interrupts-extended = <0>, 1888bab661aSEmmanuel Vadot <&aic AIC_IRQ 0 1118 IRQ_TYPE_LEVEL_HIGH>, 1898bab661aSEmmanuel Vadot <0>, 1908bab661aSEmmanuel Vadot <0>; 1918bab661aSEmmanuel Vadot iommus = <&sio_dart_0 2>, <&sio_dart_1 2>; 1928bab661aSEmmanuel Vadot power-domains = <&ps_sio_adma>; 1938bab661aSEmmanuel Vadot resets = <&ps_audio_p>; 1948bab661aSEmmanuel Vadot }; 1958bab661aSEmmanuel Vadot 1968bab661aSEmmanuel Vadot mca: mca@39b600000 { 1978bab661aSEmmanuel Vadot compatible = "apple,t6000-mca", "apple,mca"; 1988bab661aSEmmanuel Vadot reg = <0x3 0x9b600000 0x0 0x10000>, 1998bab661aSEmmanuel Vadot <0x3 0x9b500000 0x0 0x20000>; 2008bab661aSEmmanuel Vadot clocks = <&nco 0>, <&nco 1>, <&nco 2>, <&nco 3>; 2018bab661aSEmmanuel Vadot dmas = <&admac 0>, <&admac 1>, <&admac 2>, <&admac 3>, 2028bab661aSEmmanuel Vadot <&admac 4>, <&admac 5>, <&admac 6>, <&admac 7>, 2038bab661aSEmmanuel Vadot <&admac 8>, <&admac 9>, <&admac 10>, <&admac 11>, 2048bab661aSEmmanuel Vadot <&admac 12>, <&admac 13>, <&admac 14>, <&admac 15>; 2058bab661aSEmmanuel Vadot dma-names = "tx0a", "rx0a", "tx0b", "rx0b", 2068bab661aSEmmanuel Vadot "tx1a", "rx1a", "tx1b", "rx1b", 2078bab661aSEmmanuel Vadot "tx2a", "rx2a", "tx2b", "rx2b", 2088bab661aSEmmanuel Vadot "tx3a", "rx3a", "tx3b", "rx3b"; 2098bab661aSEmmanuel Vadot interrupt-parent = <&aic>; 2108bab661aSEmmanuel Vadot interrupts = <AIC_IRQ 0 1112 IRQ_TYPE_LEVEL_HIGH>, 2118bab661aSEmmanuel Vadot <AIC_IRQ 0 1113 IRQ_TYPE_LEVEL_HIGH>, 2128bab661aSEmmanuel Vadot <AIC_IRQ 0 1114 IRQ_TYPE_LEVEL_HIGH>, 2138bab661aSEmmanuel Vadot <AIC_IRQ 0 1115 IRQ_TYPE_LEVEL_HIGH>; 2148bab661aSEmmanuel Vadot power-domains = <&ps_audio_p>, <&ps_mca0>, <&ps_mca1>, 2158bab661aSEmmanuel Vadot <&ps_mca2>, <&ps_mca3>; 2168bab661aSEmmanuel Vadot resets = <&ps_audio_p>; 2178bab661aSEmmanuel Vadot #sound-dai-cells = <1>; 2188bab661aSEmmanuel Vadot }; 2198bab661aSEmmanuel Vadot 2208bab661aSEmmanuel Vadot pcie0_dart_0: iommu@581008000 { 2218bab661aSEmmanuel Vadot compatible = "apple,t6000-dart"; 2228bab661aSEmmanuel Vadot reg = <0x5 0x81008000 0x0 0x4000>; 2238bab661aSEmmanuel Vadot #iommu-cells = <1>; 2248bab661aSEmmanuel Vadot interrupt-parent = <&aic>; 2258bab661aSEmmanuel Vadot interrupts = <AIC_IRQ 0 1271 IRQ_TYPE_LEVEL_HIGH>; 2268bab661aSEmmanuel Vadot power-domains = <&ps_apcie_gp_sys>; 2278bab661aSEmmanuel Vadot }; 2288bab661aSEmmanuel Vadot 2298bab661aSEmmanuel Vadot pcie0_dart_1: iommu@582008000 { 2308bab661aSEmmanuel Vadot compatible = "apple,t6000-dart"; 2318bab661aSEmmanuel Vadot reg = <0x5 0x82008000 0x0 0x4000>; 2328bab661aSEmmanuel Vadot #iommu-cells = <1>; 2338bab661aSEmmanuel Vadot interrupt-parent = <&aic>; 2348bab661aSEmmanuel Vadot interrupts = <AIC_IRQ 0 1274 IRQ_TYPE_LEVEL_HIGH>; 2358bab661aSEmmanuel Vadot power-domains = <&ps_apcie_gp_sys>; 2368bab661aSEmmanuel Vadot }; 2378bab661aSEmmanuel Vadot 2388bab661aSEmmanuel Vadot pcie0_dart_2: iommu@583008000 { 2398bab661aSEmmanuel Vadot compatible = "apple,t6000-dart"; 2408bab661aSEmmanuel Vadot reg = <0x5 0x83008000 0x0 0x4000>; 2418bab661aSEmmanuel Vadot #iommu-cells = <1>; 2428bab661aSEmmanuel Vadot interrupt-parent = <&aic>; 2438bab661aSEmmanuel Vadot interrupts = <AIC_IRQ 0 1277 IRQ_TYPE_LEVEL_HIGH>; 2448bab661aSEmmanuel Vadot power-domains = <&ps_apcie_gp_sys>; 245*fac71e4eSEmmanuel Vadot status = "disabled"; 2468bab661aSEmmanuel Vadot }; 2478bab661aSEmmanuel Vadot 2488bab661aSEmmanuel Vadot pcie0_dart_3: iommu@584008000 { 2498bab661aSEmmanuel Vadot compatible = "apple,t6000-dart"; 2508bab661aSEmmanuel Vadot reg = <0x5 0x84008000 0x0 0x4000>; 2518bab661aSEmmanuel Vadot #iommu-cells = <1>; 2528bab661aSEmmanuel Vadot interrupt-parent = <&aic>; 2538bab661aSEmmanuel Vadot interrupts = <AIC_IRQ 0 1280 IRQ_TYPE_LEVEL_HIGH>; 2548bab661aSEmmanuel Vadot power-domains = <&ps_apcie_gp_sys>; 255*fac71e4eSEmmanuel Vadot status = "disabled"; 2568bab661aSEmmanuel Vadot }; 2578bab661aSEmmanuel Vadot 2588bab661aSEmmanuel Vadot pcie0: pcie@590000000 { 2598bab661aSEmmanuel Vadot compatible = "apple,t6000-pcie", "apple,pcie"; 2608bab661aSEmmanuel Vadot device_type = "pci"; 2618bab661aSEmmanuel Vadot 2628bab661aSEmmanuel Vadot reg = <0x5 0x90000000 0x0 0x1000000>, 2638bab661aSEmmanuel Vadot <0x5 0x80000000 0x0 0x100000>, 2648bab661aSEmmanuel Vadot <0x5 0x81000000 0x0 0x4000>, 2658bab661aSEmmanuel Vadot <0x5 0x82000000 0x0 0x4000>, 2668bab661aSEmmanuel Vadot <0x5 0x83000000 0x0 0x4000>, 2678bab661aSEmmanuel Vadot <0x5 0x84000000 0x0 0x4000>; 2688bab661aSEmmanuel Vadot reg-names = "config", "rc", "port0", "port1", "port2", "port3"; 2698bab661aSEmmanuel Vadot 2708bab661aSEmmanuel Vadot interrupt-parent = <&aic>; 2718bab661aSEmmanuel Vadot interrupts = <AIC_IRQ 0 1270 IRQ_TYPE_LEVEL_HIGH>, 2728bab661aSEmmanuel Vadot <AIC_IRQ 0 1273 IRQ_TYPE_LEVEL_HIGH>, 2738bab661aSEmmanuel Vadot <AIC_IRQ 0 1276 IRQ_TYPE_LEVEL_HIGH>, 2748bab661aSEmmanuel Vadot <AIC_IRQ 0 1279 IRQ_TYPE_LEVEL_HIGH>; 2758bab661aSEmmanuel Vadot 2768bab661aSEmmanuel Vadot msi-controller; 2778bab661aSEmmanuel Vadot msi-parent = <&pcie0>; 2788bab661aSEmmanuel Vadot msi-ranges = <&aic AIC_IRQ 0 1581 IRQ_TYPE_EDGE_RISING 32>; 2798bab661aSEmmanuel Vadot 2808bab661aSEmmanuel Vadot 2818bab661aSEmmanuel Vadot iommu-map = <0x100 &pcie0_dart_0 1 1>, 2828bab661aSEmmanuel Vadot <0x200 &pcie0_dart_1 1 1>, 2838bab661aSEmmanuel Vadot <0x300 &pcie0_dart_2 1 1>, 2848bab661aSEmmanuel Vadot <0x400 &pcie0_dart_3 1 1>; 2858bab661aSEmmanuel Vadot iommu-map-mask = <0xff00>; 2868bab661aSEmmanuel Vadot 2878bab661aSEmmanuel Vadot bus-range = <0 4>; 2888bab661aSEmmanuel Vadot #address-cells = <3>; 2898bab661aSEmmanuel Vadot #size-cells = <2>; 2908bab661aSEmmanuel Vadot ranges = <0x43000000 0x5 0xa0000000 0x5 0xa0000000 0x0 0x20000000>, 2918bab661aSEmmanuel Vadot <0x02000000 0x0 0xc0000000 0x5 0xc0000000 0x0 0x40000000>; 2928bab661aSEmmanuel Vadot 2938bab661aSEmmanuel Vadot power-domains = <&ps_apcie_gp_sys>; 2948bab661aSEmmanuel Vadot pinctrl-0 = <&pcie_pins>; 2958bab661aSEmmanuel Vadot pinctrl-names = "default"; 2968bab661aSEmmanuel Vadot 2978bab661aSEmmanuel Vadot port00: pci@0,0 { 2988bab661aSEmmanuel Vadot device_type = "pci"; 2998bab661aSEmmanuel Vadot reg = <0x0 0x0 0x0 0x0 0x0>; 3008bab661aSEmmanuel Vadot reset-gpios = <&pinctrl_ap 4 GPIO_ACTIVE_LOW>; 3018bab661aSEmmanuel Vadot 3028bab661aSEmmanuel Vadot #address-cells = <3>; 3038bab661aSEmmanuel Vadot #size-cells = <2>; 3048bab661aSEmmanuel Vadot ranges; 3058bab661aSEmmanuel Vadot 3068bab661aSEmmanuel Vadot interrupt-controller; 3078bab661aSEmmanuel Vadot #interrupt-cells = <1>; 3088bab661aSEmmanuel Vadot 3098bab661aSEmmanuel Vadot interrupt-map-mask = <0 0 0 7>; 3108bab661aSEmmanuel Vadot interrupt-map = <0 0 0 1 &port00 0 0 0 0>, 3118bab661aSEmmanuel Vadot <0 0 0 2 &port00 0 0 0 1>, 3128bab661aSEmmanuel Vadot <0 0 0 3 &port00 0 0 0 2>, 3138bab661aSEmmanuel Vadot <0 0 0 4 &port00 0 0 0 3>; 3148bab661aSEmmanuel Vadot }; 3158bab661aSEmmanuel Vadot 3168bab661aSEmmanuel Vadot port01: pci@1,0 { 3178bab661aSEmmanuel Vadot device_type = "pci"; 3188bab661aSEmmanuel Vadot reg = <0x800 0x0 0x0 0x0 0x0>; 3198bab661aSEmmanuel Vadot reset-gpios = <&pinctrl_ap 5 GPIO_ACTIVE_LOW>; 3208bab661aSEmmanuel Vadot 3218bab661aSEmmanuel Vadot #address-cells = <3>; 3228bab661aSEmmanuel Vadot #size-cells = <2>; 3238bab661aSEmmanuel Vadot ranges; 3248bab661aSEmmanuel Vadot 3258bab661aSEmmanuel Vadot interrupt-controller; 3268bab661aSEmmanuel Vadot #interrupt-cells = <1>; 3278bab661aSEmmanuel Vadot 3288bab661aSEmmanuel Vadot interrupt-map-mask = <0 0 0 7>; 3298bab661aSEmmanuel Vadot interrupt-map = <0 0 0 1 &port01 0 0 0 0>, 3308bab661aSEmmanuel Vadot <0 0 0 2 &port01 0 0 0 1>, 3318bab661aSEmmanuel Vadot <0 0 0 3 &port01 0 0 0 2>, 3328bab661aSEmmanuel Vadot <0 0 0 4 &port01 0 0 0 3>; 3338bab661aSEmmanuel Vadot }; 3348bab661aSEmmanuel Vadot 3358bab661aSEmmanuel Vadot port02: pci@2,0 { 3368bab661aSEmmanuel Vadot device_type = "pci"; 3378bab661aSEmmanuel Vadot reg = <0x1000 0x0 0x0 0x0 0x0>; 3388bab661aSEmmanuel Vadot reset-gpios = <&pinctrl_ap 6 GPIO_ACTIVE_LOW>; 3398bab661aSEmmanuel Vadot 3408bab661aSEmmanuel Vadot #address-cells = <3>; 3418bab661aSEmmanuel Vadot #size-cells = <2>; 3428bab661aSEmmanuel Vadot ranges; 3438bab661aSEmmanuel Vadot 3448bab661aSEmmanuel Vadot interrupt-controller; 3458bab661aSEmmanuel Vadot #interrupt-cells = <1>; 3468bab661aSEmmanuel Vadot 3478bab661aSEmmanuel Vadot interrupt-map-mask = <0 0 0 7>; 3488bab661aSEmmanuel Vadot interrupt-map = <0 0 0 1 &port02 0 0 0 0>, 3498bab661aSEmmanuel Vadot <0 0 0 2 &port02 0 0 0 1>, 3508bab661aSEmmanuel Vadot <0 0 0 3 &port02 0 0 0 2>, 3518bab661aSEmmanuel Vadot <0 0 0 4 &port02 0 0 0 3>; 352*fac71e4eSEmmanuel Vadot status = "disabled"; 3538bab661aSEmmanuel Vadot }; 3548bab661aSEmmanuel Vadot 3558bab661aSEmmanuel Vadot port03: pci@3,0 { 3568bab661aSEmmanuel Vadot device_type = "pci"; 3578bab661aSEmmanuel Vadot reg = <0x1800 0x0 0x0 0x0 0x0>; 3588bab661aSEmmanuel Vadot reset-gpios = <&pinctrl_ap 7 GPIO_ACTIVE_LOW>; 3598bab661aSEmmanuel Vadot 3608bab661aSEmmanuel Vadot #address-cells = <3>; 3618bab661aSEmmanuel Vadot #size-cells = <2>; 3628bab661aSEmmanuel Vadot ranges; 3638bab661aSEmmanuel Vadot 3648bab661aSEmmanuel Vadot interrupt-controller; 3658bab661aSEmmanuel Vadot #interrupt-cells = <1>; 3668bab661aSEmmanuel Vadot 3678bab661aSEmmanuel Vadot interrupt-map-mask = <0 0 0 7>; 3688bab661aSEmmanuel Vadot interrupt-map = <0 0 0 1 &port03 0 0 0 0>, 3698bab661aSEmmanuel Vadot <0 0 0 2 &port03 0 0 0 1>, 3708bab661aSEmmanuel Vadot <0 0 0 3 &port03 0 0 0 2>, 3718bab661aSEmmanuel Vadot <0 0 0 4 &port03 0 0 0 3>; 372*fac71e4eSEmmanuel Vadot status = "disabled"; 3738bab661aSEmmanuel Vadot }; 3748bab661aSEmmanuel Vadot }; 375