1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * dtsi file for Cavium ThunderX2 CN99XX processor
5 * Copyright (c) 2017 Cavium Inc.
6 * Copyright (c) 2013-2016 Broadcom
7 * Author: Zi Shen Lim <zlim@broadcom.com>
10 #include <dt-bindings/interrupt-controller/arm-gic.h>
13 model = "Cavium ThunderX2 CN99XX";
14 compatible = "cavium,thunderx2-cn9900", "brcm,vulcan-soc";
15 interrupt-parent = <&gic>;
19 /* just 4 cpus now, 128 needed in full config */
21 #address-cells = <0x2>;
26 compatible = "cavium,thunder2", "brcm,vulcan";
28 enable-method = "psci";
33 compatible = "cavium,thunder2", "brcm,vulcan";
35 enable-method = "psci";
40 compatible = "cavium,thunder2", "brcm,vulcan";
42 enable-method = "psci";
47 compatible = "cavium,thunder2", "brcm,vulcan";
49 enable-method = "psci";
54 compatible = "arm,psci-0.2";
58 gic: interrupt-controller@400080000 {
59 compatible = "arm,gic-v3";
60 #interrupt-cells = <3>;
65 #redistributor-regions = <1>;
66 reg = <0x04 0x00080000 0x0 0x20000>, /* GICD */
67 <0x04 0x01000000 0x0 0x1000000>; /* GICR */
68 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
70 gicits: gic-its@40010000 {
71 compatible = "arm,gic-v3-its";
73 reg = <0x04 0x00100000 0x0 0x20000>; /* GIC ITS */
78 compatible = "arm,armv8-timer";
79 interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_HIGH>,
80 <GIC_PPI 14 IRQ_TYPE_LEVEL_HIGH>,
81 <GIC_PPI 11 IRQ_TYPE_LEVEL_HIGH>,
82 <GIC_PPI 10 IRQ_TYPE_LEVEL_HIGH>;
86 compatible = "brcm,vulcan-pmu", "arm,armv8-pmuv3";
87 interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>; /* PMU overflow */
90 clk125mhz: uart_clk125mhz {
91 compatible = "fixed-clock";
93 clock-frequency = <125000000>;
94 clock-output-names = "clk125mhz";
98 compatible = "pci-host-ecam-generic";
100 #interrupt-cells = <1>;
101 #address-cells = <3>;
104 /* ECAM at 0x3000_0000 - 0x4000_0000 */
105 reg = <0x0 0x30000000 0x0 0x10000000>;
106 reg-names = "PCI ECAM";
111 * MEM 0x4000_0000 - 0x6000_0000
112 * MEM64 pref 0x40_0000_0000 - 0x60_0000_0000
115 <0x02000000 0 0x40000000 0 0x40000000 0 0x20000000
116 0x43000000 0x40 0x00000000 0x40 0x00000000 0x20 0x00000000>;
117 bus-range = <0 0xff>;
118 interrupt-map-mask = <0 0 0 7>;
120 /* addr pin ic icaddr icintr */
121 <0 0 0 1 &gic 0 0 GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH
122 0 0 0 2 &gic 0 0 GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH
123 0 0 0 3 &gic 0 0 GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH
124 0 0 0 4 &gic 0 0 GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
125 msi-parent = <&gicits>;
130 compatible = "simple-bus";
131 #address-cells = <2>;
135 uart0: serial@402020000 {
136 compatible = "arm,pl011", "arm,primecell";
137 reg = <0x04 0x02020000 0x0 0x1000>;
138 interrupt-parent = <&gic>;
139 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
140 clocks = <&clk125mhz>;
141 clock-names = "apb_pclk";