18d13bc63SEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0 28d13bc63SEmmanuel Vadot/* 38d13bc63SEmmanuel Vadot * Copyright (C) 2023 Loongson Technology Corporation Limited 48d13bc63SEmmanuel Vadot */ 58d13bc63SEmmanuel Vadot 68d13bc63SEmmanuel Vadot/dts-v1/; 78d13bc63SEmmanuel Vadot 88d13bc63SEmmanuel Vadot#include <dt-bindings/interrupt-controller/irq.h> 9*7d0873ebSEmmanuel Vadot#include <dt-bindings/clock/loongson,ls2k-clk.h> 108d13bc63SEmmanuel Vadot 118d13bc63SEmmanuel Vadot/ { 128d13bc63SEmmanuel Vadot #address-cells = <2>; 138d13bc63SEmmanuel Vadot #size-cells = <2>; 148d13bc63SEmmanuel Vadot 158d13bc63SEmmanuel Vadot cpus { 168d13bc63SEmmanuel Vadot #address-cells = <1>; 178d13bc63SEmmanuel Vadot #size-cells = <0>; 188d13bc63SEmmanuel Vadot 198d13bc63SEmmanuel Vadot cpu0: cpu@1 { 208d13bc63SEmmanuel Vadot compatible = "loongson,la364"; 218d13bc63SEmmanuel Vadot device_type = "cpu"; 228d13bc63SEmmanuel Vadot reg = <0x0>; 23*7d0873ebSEmmanuel Vadot clocks = <&clk LOONGSON2_NODE_CLK>; 248d13bc63SEmmanuel Vadot }; 258d13bc63SEmmanuel Vadot 268d13bc63SEmmanuel Vadot cpu1: cpu@2 { 278d13bc63SEmmanuel Vadot compatible = "loongson,la364"; 288d13bc63SEmmanuel Vadot device_type = "cpu"; 298d13bc63SEmmanuel Vadot reg = <0x1>; 30*7d0873ebSEmmanuel Vadot clocks = <&clk LOONGSON2_NODE_CLK>; 318d13bc63SEmmanuel Vadot }; 328d13bc63SEmmanuel Vadot }; 338d13bc63SEmmanuel Vadot 34*7d0873ebSEmmanuel Vadot ref_100m: clock-ref-100m { 358d13bc63SEmmanuel Vadot compatible = "fixed-clock"; 368d13bc63SEmmanuel Vadot #clock-cells = <0>; 37*7d0873ebSEmmanuel Vadot clock-frequency = <100000000>; 38*7d0873ebSEmmanuel Vadot clock-output-names = "ref_100m"; 398d13bc63SEmmanuel Vadot }; 408d13bc63SEmmanuel Vadot 418d13bc63SEmmanuel Vadot cpuintc: interrupt-controller { 428d13bc63SEmmanuel Vadot compatible = "loongson,cpu-interrupt-controller"; 438d13bc63SEmmanuel Vadot #interrupt-cells = <1>; 448d13bc63SEmmanuel Vadot interrupt-controller; 458d13bc63SEmmanuel Vadot }; 468d13bc63SEmmanuel Vadot 47*7d0873ebSEmmanuel Vadot thermal-zones { 48*7d0873ebSEmmanuel Vadot cpu-thermal { 49*7d0873ebSEmmanuel Vadot polling-delay-passive = <1000>; 50*7d0873ebSEmmanuel Vadot polling-delay = <5000>; 51*7d0873ebSEmmanuel Vadot thermal-sensors = <&tsensor 0>; 52*7d0873ebSEmmanuel Vadot 53*7d0873ebSEmmanuel Vadot trips { 54*7d0873ebSEmmanuel Vadot cpu-alert { 55*7d0873ebSEmmanuel Vadot temperature = <40000>; 56*7d0873ebSEmmanuel Vadot hysteresis = <2000>; 57*7d0873ebSEmmanuel Vadot type = "active"; 58*7d0873ebSEmmanuel Vadot }; 59*7d0873ebSEmmanuel Vadot 60*7d0873ebSEmmanuel Vadot cpu-crit { 61*7d0873ebSEmmanuel Vadot temperature = <85000>; 62*7d0873ebSEmmanuel Vadot hysteresis = <5000>; 63*7d0873ebSEmmanuel Vadot type = "critical"; 64*7d0873ebSEmmanuel Vadot }; 65*7d0873ebSEmmanuel Vadot }; 66*7d0873ebSEmmanuel Vadot }; 67*7d0873ebSEmmanuel Vadot }; 68*7d0873ebSEmmanuel Vadot 698d13bc63SEmmanuel Vadot bus@10000000 { 708d13bc63SEmmanuel Vadot compatible = "simple-bus"; 718d13bc63SEmmanuel Vadot ranges = <0x0 0x10000000 0x0 0x10000000 0x0 0x10000000>, 728d13bc63SEmmanuel Vadot <0x0 0x02000000 0x0 0x02000000 0x0 0x02000000>, 738d13bc63SEmmanuel Vadot <0x0 0x40000000 0x0 0x40000000 0x0 0x40000000>, 748d13bc63SEmmanuel Vadot <0xfe 0x0 0xfe 0x0 0x0 0x40000000>; 758d13bc63SEmmanuel Vadot #address-cells = <2>; 768d13bc63SEmmanuel Vadot #size-cells = <2>; 778d13bc63SEmmanuel Vadot 7801950c46SEmmanuel Vadot isa@18400000 { 7901950c46SEmmanuel Vadot compatible = "isa"; 8001950c46SEmmanuel Vadot #size-cells = <1>; 8101950c46SEmmanuel Vadot #address-cells = <2>; 8201950c46SEmmanuel Vadot ranges = <1 0x0 0x0 0x18400000 0x4000>; 8301950c46SEmmanuel Vadot }; 8401950c46SEmmanuel Vadot 85*7d0873ebSEmmanuel Vadot clk: clock-controller@10010480 { 86*7d0873ebSEmmanuel Vadot compatible = "loongson,ls2k2000-clk"; 87*7d0873ebSEmmanuel Vadot reg = <0x0 0x10010480 0x0 0x100>; 88*7d0873ebSEmmanuel Vadot #clock-cells = <1>; 89*7d0873ebSEmmanuel Vadot clocks = <&ref_100m>; 90*7d0873ebSEmmanuel Vadot clock-names = "ref_100m"; 91*7d0873ebSEmmanuel Vadot }; 92*7d0873ebSEmmanuel Vadot 938d13bc63SEmmanuel Vadot pmc: power-management@100d0000 { 948d13bc63SEmmanuel Vadot compatible = "loongson,ls2k2000-pmc", "loongson,ls2k0500-pmc", "syscon"; 958d13bc63SEmmanuel Vadot reg = <0x0 0x100d0000 0x0 0x58>; 968d13bc63SEmmanuel Vadot interrupt-parent = <&eiointc>; 978d13bc63SEmmanuel Vadot interrupts = <47>; 988d13bc63SEmmanuel Vadot loongson,suspend-address = <0x0 0x1c000500>; 998d13bc63SEmmanuel Vadot 1008d13bc63SEmmanuel Vadot syscon-reboot { 1018d13bc63SEmmanuel Vadot compatible = "syscon-reboot"; 1028d13bc63SEmmanuel Vadot offset = <0x30>; 1038d13bc63SEmmanuel Vadot mask = <0x1>; 1048d13bc63SEmmanuel Vadot }; 1058d13bc63SEmmanuel Vadot 1068d13bc63SEmmanuel Vadot syscon-poweroff { 1078d13bc63SEmmanuel Vadot compatible = "syscon-poweroff"; 1088d13bc63SEmmanuel Vadot regmap = <&pmc>; 1098d13bc63SEmmanuel Vadot offset = <0x14>; 1108d13bc63SEmmanuel Vadot mask = <0x3c00>; 1118d13bc63SEmmanuel Vadot value = <0x3c00>; 1128d13bc63SEmmanuel Vadot }; 1138d13bc63SEmmanuel Vadot }; 1148d13bc63SEmmanuel Vadot 115*7d0873ebSEmmanuel Vadot tsensor: thermal-sensor@1fe01460 { 116*7d0873ebSEmmanuel Vadot compatible = "loongson,ls2k2000-thermal"; 117*7d0873ebSEmmanuel Vadot reg = <0x0 0x1fe01460 0x0 0x30>, 118*7d0873ebSEmmanuel Vadot <0x0 0x1fe0019c 0x0 0x4>; 119*7d0873ebSEmmanuel Vadot interrupt-parent = <&liointc>; 120*7d0873ebSEmmanuel Vadot interrupts = <7 IRQ_TYPE_LEVEL_HIGH>; 121*7d0873ebSEmmanuel Vadot #thermal-sensor-cells = <1>; 122*7d0873ebSEmmanuel Vadot }; 123*7d0873ebSEmmanuel Vadot 1248d13bc63SEmmanuel Vadot liointc: interrupt-controller@1fe01400 { 1258d13bc63SEmmanuel Vadot compatible = "loongson,liointc-1.0"; 1268d13bc63SEmmanuel Vadot reg = <0x0 0x1fe01400 0x0 0x64>; 1278d13bc63SEmmanuel Vadot 1288d13bc63SEmmanuel Vadot interrupt-controller; 1298d13bc63SEmmanuel Vadot #interrupt-cells = <2>; 1308d13bc63SEmmanuel Vadot interrupt-parent = <&cpuintc>; 1318d13bc63SEmmanuel Vadot interrupts = <2>; 1328d13bc63SEmmanuel Vadot interrupt-names = "int0"; 1338d13bc63SEmmanuel Vadot loongson,parent_int_map = <0xffffffff>, /* int0 */ 1348d13bc63SEmmanuel Vadot <0x00000000>, /* int1 */ 1358d13bc63SEmmanuel Vadot <0x00000000>, /* int2 */ 1368d13bc63SEmmanuel Vadot <0x00000000>; /* int3 */ 1378d13bc63SEmmanuel Vadot }; 1388d13bc63SEmmanuel Vadot 1398d13bc63SEmmanuel Vadot eiointc: interrupt-controller@1fe01600 { 1408d13bc63SEmmanuel Vadot compatible = "loongson,ls2k2000-eiointc"; 1418d13bc63SEmmanuel Vadot reg = <0x0 0x1fe01600 0x0 0xea00>; 1428d13bc63SEmmanuel Vadot interrupt-controller; 1438d13bc63SEmmanuel Vadot #interrupt-cells = <1>; 1448d13bc63SEmmanuel Vadot interrupt-parent = <&cpuintc>; 1458d13bc63SEmmanuel Vadot interrupts = <3>; 1468d13bc63SEmmanuel Vadot }; 1478d13bc63SEmmanuel Vadot 1488d13bc63SEmmanuel Vadot pic: interrupt-controller@10000000 { 1498d13bc63SEmmanuel Vadot compatible = "loongson,pch-pic-1.0"; 1508d13bc63SEmmanuel Vadot reg = <0x0 0x10000000 0x0 0x400>; 1518d13bc63SEmmanuel Vadot interrupt-controller; 1528d13bc63SEmmanuel Vadot #interrupt-cells = <2>; 1538d13bc63SEmmanuel Vadot loongson,pic-base-vec = <0>; 1548d13bc63SEmmanuel Vadot interrupt-parent = <&eiointc>; 1558d13bc63SEmmanuel Vadot }; 1568d13bc63SEmmanuel Vadot 1578d13bc63SEmmanuel Vadot msi: msi-controller@1fe01140 { 1588d13bc63SEmmanuel Vadot compatible = "loongson,pch-msi-1.0"; 1598d13bc63SEmmanuel Vadot reg = <0x0 0x1fe01140 0x0 0x8>; 16001950c46SEmmanuel Vadot interrupt-controller; 16101950c46SEmmanuel Vadot #interrupt-cells = <1>; 1628d13bc63SEmmanuel Vadot msi-controller; 1638d13bc63SEmmanuel Vadot loongson,msi-base-vec = <64>; 1648d13bc63SEmmanuel Vadot loongson,msi-num-vecs = <192>; 1658d13bc63SEmmanuel Vadot interrupt-parent = <&eiointc>; 1668d13bc63SEmmanuel Vadot }; 1678d13bc63SEmmanuel Vadot 1688d13bc63SEmmanuel Vadot rtc0: rtc@100d0100 { 1698d13bc63SEmmanuel Vadot compatible = "loongson,ls2k2000-rtc", "loongson,ls7a-rtc"; 1708d13bc63SEmmanuel Vadot reg = <0x0 0x100d0100 0x0 0x100>; 1718d13bc63SEmmanuel Vadot interrupt-parent = <&pic>; 1728d13bc63SEmmanuel Vadot interrupts = <52 IRQ_TYPE_LEVEL_HIGH>; 1738d13bc63SEmmanuel Vadot status = "disabled"; 1748d13bc63SEmmanuel Vadot }; 1758d13bc63SEmmanuel Vadot 1768d13bc63SEmmanuel Vadot uart0: serial@1fe001e0 { 1778d13bc63SEmmanuel Vadot compatible = "ns16550a"; 1788d13bc63SEmmanuel Vadot reg = <0x0 0x1fe001e0 0x0 0x10>; 1798d13bc63SEmmanuel Vadot clock-frequency = <100000000>; 1808d13bc63SEmmanuel Vadot interrupt-parent = <&liointc>; 1818d13bc63SEmmanuel Vadot interrupts = <10 IRQ_TYPE_LEVEL_HIGH>; 1828d13bc63SEmmanuel Vadot no-loopback-test; 1838d13bc63SEmmanuel Vadot status = "disabled"; 1848d13bc63SEmmanuel Vadot }; 1858d13bc63SEmmanuel Vadot 1868d13bc63SEmmanuel Vadot pcie@1a000000 { 1878d13bc63SEmmanuel Vadot compatible = "loongson,ls2k-pci"; 1888d13bc63SEmmanuel Vadot reg = <0x0 0x1a000000 0x0 0x02000000>, 1898d13bc63SEmmanuel Vadot <0xfe 0x0 0x0 0x20000000>; 1908d13bc63SEmmanuel Vadot #address-cells = <3>; 1918d13bc63SEmmanuel Vadot #size-cells = <2>; 1928d13bc63SEmmanuel Vadot device_type = "pci"; 19301950c46SEmmanuel Vadot msi-parent = <&msi>; 1948d13bc63SEmmanuel Vadot bus-range = <0x0 0xff>; 19501950c46SEmmanuel Vadot ranges = <0x01000000 0x0 0x00008000 0x0 0x18408000 0x0 0x00008000>, 1968d13bc63SEmmanuel Vadot <0x02000000 0x0 0x60000000 0x0 0x60000000 0x0 0x20000000>; 1978d13bc63SEmmanuel Vadot 1988d13bc63SEmmanuel Vadot gmac0: ethernet@3,0 { 1998d13bc63SEmmanuel Vadot reg = <0x1800 0x0 0x0 0x0 0x0>; 20001950c46SEmmanuel Vadot interrupts = <12 IRQ_TYPE_LEVEL_HIGH>, 20101950c46SEmmanuel Vadot <13 IRQ_TYPE_LEVEL_HIGH>; 20201950c46SEmmanuel Vadot interrupt-names = "macirq", "eth_lpi"; 2038d13bc63SEmmanuel Vadot interrupt-parent = <&pic>; 2048d13bc63SEmmanuel Vadot status = "disabled"; 2058d13bc63SEmmanuel Vadot }; 2068d13bc63SEmmanuel Vadot 2078d13bc63SEmmanuel Vadot gmac1: ethernet@3,1 { 2088d13bc63SEmmanuel Vadot reg = <0x1900 0x0 0x0 0x0 0x0>; 20901950c46SEmmanuel Vadot interrupts = <14 IRQ_TYPE_LEVEL_HIGH>, 21001950c46SEmmanuel Vadot <15 IRQ_TYPE_LEVEL_HIGH>; 21101950c46SEmmanuel Vadot interrupt-names = "macirq", "eth_lpi"; 2128d13bc63SEmmanuel Vadot interrupt-parent = <&pic>; 2138d13bc63SEmmanuel Vadot status = "disabled"; 2148d13bc63SEmmanuel Vadot }; 2158d13bc63SEmmanuel Vadot 2168d13bc63SEmmanuel Vadot gmac2: ethernet@3,2 { 2178d13bc63SEmmanuel Vadot reg = <0x1a00 0x0 0x0 0x0 0x0>; 21801950c46SEmmanuel Vadot interrupts = <17 IRQ_TYPE_LEVEL_HIGH>, 21901950c46SEmmanuel Vadot <18 IRQ_TYPE_LEVEL_HIGH>; 22001950c46SEmmanuel Vadot interrupt-names = "macirq", "eth_lpi"; 2218d13bc63SEmmanuel Vadot interrupt-parent = <&pic>; 2228d13bc63SEmmanuel Vadot status = "disabled"; 2238d13bc63SEmmanuel Vadot }; 2248d13bc63SEmmanuel Vadot 2258d13bc63SEmmanuel Vadot xhci0: usb@4,0 { 2268d13bc63SEmmanuel Vadot reg = <0x2000 0x0 0x0 0x0 0x0>; 2278d13bc63SEmmanuel Vadot interrupts = <48 IRQ_TYPE_LEVEL_HIGH>; 2288d13bc63SEmmanuel Vadot interrupt-parent = <&pic>; 2298d13bc63SEmmanuel Vadot status = "disabled"; 2308d13bc63SEmmanuel Vadot }; 2318d13bc63SEmmanuel Vadot 2328d13bc63SEmmanuel Vadot xhci1: usb@19,0 { 2338d13bc63SEmmanuel Vadot reg = <0xc800 0x0 0x0 0x0 0x0>; 2348d13bc63SEmmanuel Vadot interrupts = <22 IRQ_TYPE_LEVEL_HIGH>; 2358d13bc63SEmmanuel Vadot interrupt-parent = <&pic>; 2368d13bc63SEmmanuel Vadot status = "disabled"; 2378d13bc63SEmmanuel Vadot }; 2388d13bc63SEmmanuel Vadot 2398d13bc63SEmmanuel Vadot display@6,1 { 2408d13bc63SEmmanuel Vadot reg = <0x3100 0x0 0x0 0x0 0x0>; 2418d13bc63SEmmanuel Vadot interrupts = <28 IRQ_TYPE_LEVEL_HIGH>; 2428d13bc63SEmmanuel Vadot interrupt-parent = <&pic>; 2438d13bc63SEmmanuel Vadot status = "disabled"; 2448d13bc63SEmmanuel Vadot }; 2458d13bc63SEmmanuel Vadot 2468d13bc63SEmmanuel Vadot hda@7,0 { 2478d13bc63SEmmanuel Vadot reg = <0x3800 0x0 0x0 0x0 0x0>; 2488d13bc63SEmmanuel Vadot interrupts = <58 IRQ_TYPE_LEVEL_HIGH>; 2498d13bc63SEmmanuel Vadot interrupt-parent = <&pic>; 2508d13bc63SEmmanuel Vadot status = "disabled"; 2518d13bc63SEmmanuel Vadot }; 2528d13bc63SEmmanuel Vadot 2538d13bc63SEmmanuel Vadot sata: sata@8,0 { 2548d13bc63SEmmanuel Vadot reg = <0x4000 0x0 0x0 0x0 0x0>; 2558d13bc63SEmmanuel Vadot interrupts = <16 IRQ_TYPE_LEVEL_HIGH>; 2568d13bc63SEmmanuel Vadot interrupt-parent = <&pic>; 2578d13bc63SEmmanuel Vadot status = "disabled"; 2588d13bc63SEmmanuel Vadot }; 2598d13bc63SEmmanuel Vadot 2608d13bc63SEmmanuel Vadot pcie@9,0 { 2618d13bc63SEmmanuel Vadot reg = <0x4800 0x0 0x0 0x0 0x0>; 2628d13bc63SEmmanuel Vadot #address-cells = <3>; 2638d13bc63SEmmanuel Vadot #size-cells = <2>; 2648d13bc63SEmmanuel Vadot device_type = "pci"; 2658d13bc63SEmmanuel Vadot interrupt-parent = <&pic>; 2668d13bc63SEmmanuel Vadot #interrupt-cells = <1>; 2678d13bc63SEmmanuel Vadot interrupt-map-mask = <0x0 0x0 0x0 0x0>; 2688d13bc63SEmmanuel Vadot interrupt-map = <0x0 0x0 0x0 0x0 &pic 32 IRQ_TYPE_LEVEL_HIGH>; 2698d13bc63SEmmanuel Vadot ranges; 2708d13bc63SEmmanuel Vadot }; 2718d13bc63SEmmanuel Vadot 2728d13bc63SEmmanuel Vadot pcie@a,0 { 2738d13bc63SEmmanuel Vadot reg = <0x5000 0x0 0x0 0x0 0x0>; 2748d13bc63SEmmanuel Vadot #address-cells = <3>; 2758d13bc63SEmmanuel Vadot #size-cells = <2>; 2768d13bc63SEmmanuel Vadot device_type = "pci"; 2778d13bc63SEmmanuel Vadot interrupt-parent = <&pic>; 2788d13bc63SEmmanuel Vadot #interrupt-cells = <1>; 2798d13bc63SEmmanuel Vadot interrupt-map-mask = <0x0 0x0 0x0 0x0>; 2808d13bc63SEmmanuel Vadot interrupt-map = <0x0 0x0 0x0 0x0 &pic 33 IRQ_TYPE_LEVEL_HIGH>; 2818d13bc63SEmmanuel Vadot ranges; 2828d13bc63SEmmanuel Vadot }; 2838d13bc63SEmmanuel Vadot 2848d13bc63SEmmanuel Vadot pcie@b,0 { 2858d13bc63SEmmanuel Vadot reg = <0x5800 0x0 0x0 0x0 0x0>; 2868d13bc63SEmmanuel Vadot #address-cells = <3>; 2878d13bc63SEmmanuel Vadot #size-cells = <2>; 2888d13bc63SEmmanuel Vadot device_type = "pci"; 2898d13bc63SEmmanuel Vadot interrupt-parent = <&pic>; 2908d13bc63SEmmanuel Vadot #interrupt-cells = <1>; 2918d13bc63SEmmanuel Vadot interrupt-map-mask = <0x0 0x0 0x0 0x0>; 2928d13bc63SEmmanuel Vadot interrupt-map = <0x0 0x0 0x0 0x0 &pic 34 IRQ_TYPE_LEVEL_HIGH>; 2938d13bc63SEmmanuel Vadot ranges; 2948d13bc63SEmmanuel Vadot }; 2958d13bc63SEmmanuel Vadot 2968d13bc63SEmmanuel Vadot pcie@c,0 { 2978d13bc63SEmmanuel Vadot reg = <0x6000 0x0 0x0 0x0 0x0>; 2988d13bc63SEmmanuel Vadot #address-cells = <3>; 2998d13bc63SEmmanuel Vadot #size-cells = <2>; 3008d13bc63SEmmanuel Vadot device_type = "pci"; 3018d13bc63SEmmanuel Vadot interrupt-parent = <&pic>; 3028d13bc63SEmmanuel Vadot #interrupt-cells = <1>; 3038d13bc63SEmmanuel Vadot interrupt-map-mask = <0x0 0x0 0x0 0x0>; 3048d13bc63SEmmanuel Vadot interrupt-map = <0x0 0x0 0x0 0x0 &pic 35 IRQ_TYPE_LEVEL_HIGH>; 3058d13bc63SEmmanuel Vadot ranges; 3068d13bc63SEmmanuel Vadot }; 3078d13bc63SEmmanuel Vadot 3088d13bc63SEmmanuel Vadot pcie@d,0 { 3098d13bc63SEmmanuel Vadot reg = <0x6800 0x0 0x0 0x0 0x0>; 3108d13bc63SEmmanuel Vadot #address-cells = <3>; 3118d13bc63SEmmanuel Vadot #size-cells = <2>; 3128d13bc63SEmmanuel Vadot device_type = "pci"; 3138d13bc63SEmmanuel Vadot interrupt-parent = <&pic>; 3148d13bc63SEmmanuel Vadot #interrupt-cells = <1>; 3158d13bc63SEmmanuel Vadot interrupt-map-mask = <0x0 0x0 0x0 0x0>; 3168d13bc63SEmmanuel Vadot interrupt-map = <0x0 0x0 0x0 0x0 &pic 36 IRQ_TYPE_LEVEL_HIGH>; 3178d13bc63SEmmanuel Vadot ranges; 3188d13bc63SEmmanuel Vadot }; 3198d13bc63SEmmanuel Vadot 3208d13bc63SEmmanuel Vadot pcie@e,0 { 3218d13bc63SEmmanuel Vadot reg = <0x7000 0x0 0x0 0x0 0x0>; 3228d13bc63SEmmanuel Vadot #address-cells = <3>; 3238d13bc63SEmmanuel Vadot #size-cells = <2>; 3248d13bc63SEmmanuel Vadot device_type = "pci"; 3258d13bc63SEmmanuel Vadot interrupt-parent = <&pic>; 3268d13bc63SEmmanuel Vadot #interrupt-cells = <1>; 3278d13bc63SEmmanuel Vadot interrupt-map-mask = <0x0 0x0 0x0 0x0>; 3288d13bc63SEmmanuel Vadot interrupt-map = <0x0 0x0 0x0 0x0 &pic 37 IRQ_TYPE_LEVEL_HIGH>; 3298d13bc63SEmmanuel Vadot ranges; 3308d13bc63SEmmanuel Vadot }; 3318d13bc63SEmmanuel Vadot 3328d13bc63SEmmanuel Vadot pcie@f,0 { 3338d13bc63SEmmanuel Vadot reg = <0x7800 0x0 0x0 0x0 0x0>; 3348d13bc63SEmmanuel Vadot #address-cells = <3>; 3358d13bc63SEmmanuel Vadot #size-cells = <2>; 3368d13bc63SEmmanuel Vadot device_type = "pci"; 3378d13bc63SEmmanuel Vadot interrupt-parent = <&pic>; 3388d13bc63SEmmanuel Vadot #interrupt-cells = <1>; 3398d13bc63SEmmanuel Vadot interrupt-map-mask = <0x0 0x0 0x0 0x0>; 3408d13bc63SEmmanuel Vadot interrupt-map = <0x0 0x0 0x0 0x0 &pic 40 IRQ_TYPE_LEVEL_HIGH>; 3418d13bc63SEmmanuel Vadot ranges; 3428d13bc63SEmmanuel Vadot }; 3438d13bc63SEmmanuel Vadot 3448d13bc63SEmmanuel Vadot pcie@10,0 { 3458d13bc63SEmmanuel Vadot reg = <0x8000 0x0 0x0 0x0 0x0>; 3468d13bc63SEmmanuel Vadot #address-cells = <3>; 3478d13bc63SEmmanuel Vadot #size-cells = <2>; 3488d13bc63SEmmanuel Vadot device_type = "pci"; 3498d13bc63SEmmanuel Vadot interrupt-parent = <&pic>; 3508d13bc63SEmmanuel Vadot #interrupt-cells = <1>; 3518d13bc63SEmmanuel Vadot interrupt-map-mask = <0x0 0x0 0x0 0x0>; 3528d13bc63SEmmanuel Vadot interrupt-map = <0x0 0x0 0x0 0x0 &pic 30 IRQ_TYPE_LEVEL_HIGH>; 3538d13bc63SEmmanuel Vadot ranges; 3548d13bc63SEmmanuel Vadot }; 3558d13bc63SEmmanuel Vadot }; 3568d13bc63SEmmanuel Vadot }; 3578d13bc63SEmmanuel Vadot}; 358