xref: /freebsd-src/sys/contrib/device-tree/src/arm/ti/keystone/keystone.dtsi (revision 01950c46b8155250f64374fb72fc11faa44bf099)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2f126890aSEmmanuel Vadot/*
3*01950c46SEmmanuel Vadot * Copyright (C) 2013-2017 Texas Instruments Incorporated - https://www.ti.com/
4f126890aSEmmanuel Vadot */
5f126890aSEmmanuel Vadot
6f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/arm-gic.h>
7f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
8f126890aSEmmanuel Vadot
9f126890aSEmmanuel Vadot/ {
10f126890aSEmmanuel Vadot	compatible = "ti,keystone";
11f126890aSEmmanuel Vadot	model = "Texas Instruments Keystone 2 SoC";
12f126890aSEmmanuel Vadot	#address-cells = <2>;
13f126890aSEmmanuel Vadot	#size-cells = <2>;
14f126890aSEmmanuel Vadot	interrupt-parent = <&gic>;
15f126890aSEmmanuel Vadot
16f126890aSEmmanuel Vadot	aliases {
17f126890aSEmmanuel Vadot		serial0 = &uart0;
18f126890aSEmmanuel Vadot		spi0 = &spi0;
19f126890aSEmmanuel Vadot		spi1 = &spi1;
20f126890aSEmmanuel Vadot		spi2 = &spi2;
21f126890aSEmmanuel Vadot	};
22f126890aSEmmanuel Vadot
23f126890aSEmmanuel Vadot	chosen { };
24f126890aSEmmanuel Vadot
25f126890aSEmmanuel Vadot	memory: memory@80000000 {
26f126890aSEmmanuel Vadot		device_type = "memory";
27f126890aSEmmanuel Vadot		reg = <0x00000000 0x80000000 0x00000000 0x40000000>;
28f126890aSEmmanuel Vadot	};
29f126890aSEmmanuel Vadot
30f126890aSEmmanuel Vadot	gic: interrupt-controller@2561000 {
31f126890aSEmmanuel Vadot		compatible = "arm,gic-400", "arm,cortex-a15-gic";
32f126890aSEmmanuel Vadot		#interrupt-cells = <3>;
33f126890aSEmmanuel Vadot		interrupt-controller;
34f126890aSEmmanuel Vadot		reg = <0x0 0x02561000 0x0 0x1000>,
35f126890aSEmmanuel Vadot		      <0x0 0x02562000 0x0 0x2000>,
36f126890aSEmmanuel Vadot		      <0x0 0x02564000 0x0 0x2000>,
37f126890aSEmmanuel Vadot		      <0x0 0x02566000 0x0 0x2000>;
38f126890aSEmmanuel Vadot		interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) |
39f126890aSEmmanuel Vadot				IRQ_TYPE_LEVEL_HIGH)>;
40f126890aSEmmanuel Vadot	};
41f126890aSEmmanuel Vadot
42f126890aSEmmanuel Vadot	timer {
43f126890aSEmmanuel Vadot		compatible = "arm,armv7-timer";
44f126890aSEmmanuel Vadot		interrupts =
45f126890aSEmmanuel Vadot			<GIC_PPI 13
46f126890aSEmmanuel Vadot				(GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
47f126890aSEmmanuel Vadot			<GIC_PPI 14
48f126890aSEmmanuel Vadot				(GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
49f126890aSEmmanuel Vadot			<GIC_PPI 11
50f126890aSEmmanuel Vadot				(GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
51f126890aSEmmanuel Vadot			<GIC_PPI 10
52f126890aSEmmanuel Vadot				(GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
53f126890aSEmmanuel Vadot	};
54f126890aSEmmanuel Vadot
55f126890aSEmmanuel Vadot	pmu {
56f126890aSEmmanuel Vadot		compatible = "arm,cortex-a15-pmu";
57f126890aSEmmanuel Vadot		interrupts = <GIC_SPI 20 IRQ_TYPE_EDGE_RISING>,
58f126890aSEmmanuel Vadot			     <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>,
59f126890aSEmmanuel Vadot			     <GIC_SPI 22 IRQ_TYPE_EDGE_RISING>,
60f126890aSEmmanuel Vadot			     <GIC_SPI 23 IRQ_TYPE_EDGE_RISING>;
61f126890aSEmmanuel Vadot	};
62f126890aSEmmanuel Vadot
63f126890aSEmmanuel Vadot	psci {
64f126890aSEmmanuel Vadot		compatible = "arm,psci";
65f126890aSEmmanuel Vadot		method = "smc";
66f126890aSEmmanuel Vadot		cpu_suspend = <0x84000001>;
67f126890aSEmmanuel Vadot		cpu_off = <0x84000002>;
68f126890aSEmmanuel Vadot		cpu_on = <0x84000003>;
69f126890aSEmmanuel Vadot	};
70f126890aSEmmanuel Vadot
71f126890aSEmmanuel Vadot	soc0: soc@0 {
72f126890aSEmmanuel Vadot		compatible = "simple-bus";
73f126890aSEmmanuel Vadot		#address-cells = <1>;
74f126890aSEmmanuel Vadot		#size-cells = <1>;
75f126890aSEmmanuel Vadot		interrupt-parent = <&gic>;
76f126890aSEmmanuel Vadot		ranges = <0x0 0x0 0x0 0xc0000000>;
77f126890aSEmmanuel Vadot		dma-ranges = <0x80000000 0x8 0x00000000 0x80000000>;
78f126890aSEmmanuel Vadot
79f126890aSEmmanuel Vadot		pllctrl: pll-controller@2310000 {
80f126890aSEmmanuel Vadot			compatible = "ti,keystone-pllctrl", "syscon";
81f126890aSEmmanuel Vadot			reg = <0x02310000 0x200>;
82f126890aSEmmanuel Vadot		};
83f126890aSEmmanuel Vadot
84f126890aSEmmanuel Vadot		psc: power-sleep-controller@2350000 {
85f126890aSEmmanuel Vadot			compatible = "syscon", "simple-mfd";
86f126890aSEmmanuel Vadot			reg = <0x02350000 0x1000>;
87f126890aSEmmanuel Vadot		};
88f126890aSEmmanuel Vadot
89f126890aSEmmanuel Vadot		devctrl: device-state-control@2620000 {
90f126890aSEmmanuel Vadot			compatible = "ti,keystone-devctrl", "syscon", "simple-mfd";
91f126890aSEmmanuel Vadot			reg = <0x02620000 0x1000>;
92f126890aSEmmanuel Vadot			#address-cells = <1>;
93f126890aSEmmanuel Vadot			#size-cells = <1>;
94f126890aSEmmanuel Vadot			ranges = <0x0 0x02620000 0x1000>;
95f126890aSEmmanuel Vadot
96f126890aSEmmanuel Vadot			kirq0: keystone_irq@2a0 {
97f126890aSEmmanuel Vadot				compatible = "ti,keystone-irq";
98f126890aSEmmanuel Vadot				reg = <0x2a0 0x4>;
99f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 4 IRQ_TYPE_EDGE_RISING>;
100f126890aSEmmanuel Vadot				interrupt-controller;
101f126890aSEmmanuel Vadot				#interrupt-cells = <1>;
102f126890aSEmmanuel Vadot				ti,syscon-dev = <&devctrl 0x2a0>;
103f126890aSEmmanuel Vadot			};
104f126890aSEmmanuel Vadot
105f126890aSEmmanuel Vadot			rstctrl: reset-controller@328 {
106f126890aSEmmanuel Vadot				compatible = "ti,keystone-reset";
107f126890aSEmmanuel Vadot				reg = <0x328 0x10>;
108f126890aSEmmanuel Vadot				ti,syscon-pll = <&pllctrl 0xe4>;
109f126890aSEmmanuel Vadot				ti,syscon-dev = <&devctrl 0x328>;
110f126890aSEmmanuel Vadot				ti,wdt-list = <0>;
111f126890aSEmmanuel Vadot			};
112f126890aSEmmanuel Vadot		};
113f126890aSEmmanuel Vadot
114f126890aSEmmanuel Vadot		/include/ "keystone-clocks.dtsi"
115f126890aSEmmanuel Vadot
116f126890aSEmmanuel Vadot		uart0: serial@2530c00 {
117f126890aSEmmanuel Vadot			compatible = "ti,da830-uart", "ns16550a";
118f126890aSEmmanuel Vadot			current-speed = <115200>;
119f126890aSEmmanuel Vadot			reg-shift = <2>;
120f126890aSEmmanuel Vadot			reg-io-width = <4>;
121f126890aSEmmanuel Vadot			reg = <0x02530c00 0x100>;
122f126890aSEmmanuel Vadot			clocks = <&clkuart0>;
123f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 277 IRQ_TYPE_EDGE_RISING>;
124f126890aSEmmanuel Vadot		};
125f126890aSEmmanuel Vadot
126f126890aSEmmanuel Vadot		uart1:	serial@2531000 {
127f126890aSEmmanuel Vadot			compatible = "ti,da830-uart", "ns16550a";
128f126890aSEmmanuel Vadot			current-speed = <115200>;
129f126890aSEmmanuel Vadot			reg-shift = <2>;
130f126890aSEmmanuel Vadot			reg-io-width = <4>;
131f126890aSEmmanuel Vadot			reg = <0x02531000 0x100>;
132f126890aSEmmanuel Vadot			clocks = <&clkuart1>;
133f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 280 IRQ_TYPE_EDGE_RISING>;
134f126890aSEmmanuel Vadot		};
135f126890aSEmmanuel Vadot
136f126890aSEmmanuel Vadot		i2c0: i2c@2530000 {
137f126890aSEmmanuel Vadot			compatible = "ti,davinci-i2c";
138f126890aSEmmanuel Vadot			reg = <0x02530000 0x400>;
139f126890aSEmmanuel Vadot			clock-frequency = <100000>;
140f126890aSEmmanuel Vadot			clocks = <&clki2c>;
141f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 283 IRQ_TYPE_EDGE_RISING>;
142f126890aSEmmanuel Vadot			#address-cells = <1>;
143f126890aSEmmanuel Vadot			#size-cells = <0>;
144f126890aSEmmanuel Vadot		};
145f126890aSEmmanuel Vadot
146f126890aSEmmanuel Vadot		i2c1: i2c@2530400 {
147f126890aSEmmanuel Vadot			compatible = "ti,davinci-i2c";
148f126890aSEmmanuel Vadot			reg = <0x02530400 0x400>;
149f126890aSEmmanuel Vadot			clock-frequency = <100000>;
150f126890aSEmmanuel Vadot			clocks = <&clki2c>;
151f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 286 IRQ_TYPE_EDGE_RISING>;
152f126890aSEmmanuel Vadot			#address-cells = <1>;
153f126890aSEmmanuel Vadot			#size-cells = <0>;
154f126890aSEmmanuel Vadot		};
155f126890aSEmmanuel Vadot
156f126890aSEmmanuel Vadot		i2c2: i2c@2530800 {
157f126890aSEmmanuel Vadot			compatible = "ti,davinci-i2c";
158f126890aSEmmanuel Vadot			reg = <0x02530800 0x400>;
159f126890aSEmmanuel Vadot			clock-frequency = <100000>;
160f126890aSEmmanuel Vadot			clocks = <&clki2c>;
161f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 289 IRQ_TYPE_EDGE_RISING>;
162f126890aSEmmanuel Vadot			#address-cells = <1>;
163f126890aSEmmanuel Vadot			#size-cells = <0>;
164f126890aSEmmanuel Vadot		};
165f126890aSEmmanuel Vadot
166f126890aSEmmanuel Vadot		spi0: spi@21000400 {
167f126890aSEmmanuel Vadot			compatible = "ti,keystone-spi", "ti,dm6441-spi";
168f126890aSEmmanuel Vadot			reg = <0x21000400 0x200>;
169f126890aSEmmanuel Vadot			num-cs = <4>;
170f126890aSEmmanuel Vadot			ti,davinci-spi-intr-line = <0>;
171f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 292 IRQ_TYPE_EDGE_RISING>;
172f126890aSEmmanuel Vadot			clocks = <&clkspi>;
173f126890aSEmmanuel Vadot			#address-cells = <1>;
174f126890aSEmmanuel Vadot			#size-cells = <0>;
175f126890aSEmmanuel Vadot		};
176f126890aSEmmanuel Vadot
177f126890aSEmmanuel Vadot		spi1: spi@21000600 {
178f126890aSEmmanuel Vadot			compatible = "ti,keystone-spi", "ti,dm6441-spi";
179f126890aSEmmanuel Vadot			reg = <0x21000600 0x200>;
180f126890aSEmmanuel Vadot			num-cs = <4>;
181f126890aSEmmanuel Vadot			ti,davinci-spi-intr-line = <0>;
182f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 296 IRQ_TYPE_EDGE_RISING>;
183f126890aSEmmanuel Vadot			clocks = <&clkspi>;
184f126890aSEmmanuel Vadot			#address-cells = <1>;
185f126890aSEmmanuel Vadot			#size-cells = <0>;
186f126890aSEmmanuel Vadot		};
187f126890aSEmmanuel Vadot
188f126890aSEmmanuel Vadot		spi2: spi@21000800 {
189f126890aSEmmanuel Vadot			compatible = "ti,keystone-spi", "ti,dm6441-spi";
190f126890aSEmmanuel Vadot			reg = <0x21000800 0x200>;
191f126890aSEmmanuel Vadot			num-cs = <4>;
192f126890aSEmmanuel Vadot			ti,davinci-spi-intr-line = <0>;
193f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 300 IRQ_TYPE_EDGE_RISING>;
194f126890aSEmmanuel Vadot			clocks = <&clkspi>;
195f126890aSEmmanuel Vadot			#address-cells = <1>;
196f126890aSEmmanuel Vadot			#size-cells = <0>;
197f126890aSEmmanuel Vadot		};
198f126890aSEmmanuel Vadot
199f126890aSEmmanuel Vadot		usb_phy: usb_phy@2620738 {
200f126890aSEmmanuel Vadot			compatible = "ti,keystone-usbphy";
201f126890aSEmmanuel Vadot			#address-cells = <1>;
202f126890aSEmmanuel Vadot			#size-cells = <1>;
203f126890aSEmmanuel Vadot			reg = <0x2620738 24>;
204f126890aSEmmanuel Vadot			status = "disabled";
205f126890aSEmmanuel Vadot		};
206f126890aSEmmanuel Vadot
207f126890aSEmmanuel Vadot		keystone_usb0: usb@2680000 {
208f126890aSEmmanuel Vadot			compatible = "ti,keystone-dwc3";
209f126890aSEmmanuel Vadot			#address-cells = <1>;
210f126890aSEmmanuel Vadot			#size-cells = <1>;
211f126890aSEmmanuel Vadot			reg = <0x2680000 0x10000>;
212f126890aSEmmanuel Vadot			clocks = <&clkusb>;
213f126890aSEmmanuel Vadot			clock-names = "usb";
214f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 393 IRQ_TYPE_EDGE_RISING>;
215f126890aSEmmanuel Vadot			ranges;
216f126890aSEmmanuel Vadot			dma-coherent;
217f126890aSEmmanuel Vadot			dma-ranges;
218f126890aSEmmanuel Vadot			status = "disabled";
219f126890aSEmmanuel Vadot
220f126890aSEmmanuel Vadot			usb0: usb@2690000 {
221f126890aSEmmanuel Vadot				compatible = "snps,dwc3";
222f126890aSEmmanuel Vadot				reg = <0x2690000 0x70000>;
223f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 393 IRQ_TYPE_EDGE_RISING>;
224f126890aSEmmanuel Vadot				usb-phy = <&usb_phy>, <&usb_phy>;
225f126890aSEmmanuel Vadot			};
226f126890aSEmmanuel Vadot		};
227f126890aSEmmanuel Vadot
228f126890aSEmmanuel Vadot		wdt: wdt@22f0080 {
229f126890aSEmmanuel Vadot			compatible = "ti,keystone-wdt","ti,davinci-wdt";
230f126890aSEmmanuel Vadot			reg = <0x022f0080 0x80>;
231f126890aSEmmanuel Vadot			clocks = <&clkwdtimer0>;
232f126890aSEmmanuel Vadot		};
233f126890aSEmmanuel Vadot
234f126890aSEmmanuel Vadot		clock_event: timer@22f0000 {
235f126890aSEmmanuel Vadot			compatible = "ti,keystone-timer";
236f126890aSEmmanuel Vadot			reg = <0x022f0000 0x80>;
237f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 110 IRQ_TYPE_EDGE_RISING>;
238f126890aSEmmanuel Vadot			clocks = <&clktimer15>;
239f126890aSEmmanuel Vadot		};
240f126890aSEmmanuel Vadot
241f126890aSEmmanuel Vadot		gpio0: gpio@260bf00 {
242f126890aSEmmanuel Vadot			compatible = "ti,keystone-gpio";
243f126890aSEmmanuel Vadot			reg = <0x0260bf00 0x100>;
244f126890aSEmmanuel Vadot			gpio-controller;
245f126890aSEmmanuel Vadot			#gpio-cells = <2>;
246f126890aSEmmanuel Vadot			/* HW Interrupts mapped to GPIO pins */
247f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 120 IRQ_TYPE_EDGE_RISING>,
248f126890aSEmmanuel Vadot					<GIC_SPI 121 IRQ_TYPE_EDGE_RISING>,
249f126890aSEmmanuel Vadot					<GIC_SPI 122 IRQ_TYPE_EDGE_RISING>,
250f126890aSEmmanuel Vadot					<GIC_SPI 123 IRQ_TYPE_EDGE_RISING>,
251f126890aSEmmanuel Vadot					<GIC_SPI 124 IRQ_TYPE_EDGE_RISING>,
252f126890aSEmmanuel Vadot					<GIC_SPI 125 IRQ_TYPE_EDGE_RISING>,
253f126890aSEmmanuel Vadot					<GIC_SPI 126 IRQ_TYPE_EDGE_RISING>,
254f126890aSEmmanuel Vadot					<GIC_SPI 127 IRQ_TYPE_EDGE_RISING>,
255f126890aSEmmanuel Vadot					<GIC_SPI 128 IRQ_TYPE_EDGE_RISING>,
256f126890aSEmmanuel Vadot					<GIC_SPI 129 IRQ_TYPE_EDGE_RISING>,
257f126890aSEmmanuel Vadot					<GIC_SPI 130 IRQ_TYPE_EDGE_RISING>,
258f126890aSEmmanuel Vadot					<GIC_SPI 131 IRQ_TYPE_EDGE_RISING>,
259f126890aSEmmanuel Vadot					<GIC_SPI 132 IRQ_TYPE_EDGE_RISING>,
260f126890aSEmmanuel Vadot					<GIC_SPI 133 IRQ_TYPE_EDGE_RISING>,
261f126890aSEmmanuel Vadot					<GIC_SPI 134 IRQ_TYPE_EDGE_RISING>,
262f126890aSEmmanuel Vadot					<GIC_SPI 135 IRQ_TYPE_EDGE_RISING>,
263f126890aSEmmanuel Vadot					<GIC_SPI 136 IRQ_TYPE_EDGE_RISING>,
264f126890aSEmmanuel Vadot					<GIC_SPI 137 IRQ_TYPE_EDGE_RISING>,
265f126890aSEmmanuel Vadot					<GIC_SPI 138 IRQ_TYPE_EDGE_RISING>,
266f126890aSEmmanuel Vadot					<GIC_SPI 139 IRQ_TYPE_EDGE_RISING>,
267f126890aSEmmanuel Vadot					<GIC_SPI 140 IRQ_TYPE_EDGE_RISING>,
268f126890aSEmmanuel Vadot					<GIC_SPI 141 IRQ_TYPE_EDGE_RISING>,
269f126890aSEmmanuel Vadot					<GIC_SPI 142 IRQ_TYPE_EDGE_RISING>,
270f126890aSEmmanuel Vadot					<GIC_SPI 143 IRQ_TYPE_EDGE_RISING>,
271f126890aSEmmanuel Vadot					<GIC_SPI 144 IRQ_TYPE_EDGE_RISING>,
272f126890aSEmmanuel Vadot					<GIC_SPI 145 IRQ_TYPE_EDGE_RISING>,
273f126890aSEmmanuel Vadot					<GIC_SPI 146 IRQ_TYPE_EDGE_RISING>,
274f126890aSEmmanuel Vadot					<GIC_SPI 147 IRQ_TYPE_EDGE_RISING>,
275f126890aSEmmanuel Vadot					<GIC_SPI 148 IRQ_TYPE_EDGE_RISING>,
276f126890aSEmmanuel Vadot					<GIC_SPI 149 IRQ_TYPE_EDGE_RISING>,
277f126890aSEmmanuel Vadot					<GIC_SPI 150 IRQ_TYPE_EDGE_RISING>,
278f126890aSEmmanuel Vadot					<GIC_SPI 151 IRQ_TYPE_EDGE_RISING>;
279f126890aSEmmanuel Vadot			clocks = <&clkgpio>;
280f126890aSEmmanuel Vadot			clock-names = "gpio";
281f126890aSEmmanuel Vadot			ti,ngpio = <32>;
282f126890aSEmmanuel Vadot			ti,davinci-gpio-unbanked = <32>;
283f126890aSEmmanuel Vadot		};
284f126890aSEmmanuel Vadot
285f126890aSEmmanuel Vadot		aemif: aemif@21000a00 {
286f126890aSEmmanuel Vadot			compatible = "ti,keystone-aemif", "ti,davinci-aemif";
287f126890aSEmmanuel Vadot			#address-cells = <2>;
288f126890aSEmmanuel Vadot			#size-cells = <1>;
289f126890aSEmmanuel Vadot			clocks = <&clkaemif>;
290f126890aSEmmanuel Vadot			clock-names = "aemif";
291f126890aSEmmanuel Vadot			clock-ranges;
292f126890aSEmmanuel Vadot
293f126890aSEmmanuel Vadot			reg = <0x21000a00 0x00000100>;
294f126890aSEmmanuel Vadot			ranges = <0 0 0x30000000 0x10000000
295f126890aSEmmanuel Vadot				  1 0 0x21000a00 0x00000100>;
296f126890aSEmmanuel Vadot		};
297f126890aSEmmanuel Vadot
298f126890aSEmmanuel Vadot		pcie0: pcie@21800000 {
299f126890aSEmmanuel Vadot			compatible = "ti,keystone-pcie", "snps,dw-pcie";
300f126890aSEmmanuel Vadot			clocks = <&clkpcie>;
301f126890aSEmmanuel Vadot			clock-names = "pcie";
302f126890aSEmmanuel Vadot			#address-cells = <3>;
303f126890aSEmmanuel Vadot			#size-cells = <2>;
304f126890aSEmmanuel Vadot			reg = <0x21801000 0x2000>, <0x21800000 0x1000>, <0x02620128 4>;
305f126890aSEmmanuel Vadot			ranges = <0x82000000 0 0x50000000 0x50000000
306f126890aSEmmanuel Vadot				  0 0x10000000>;
307f126890aSEmmanuel Vadot
308f126890aSEmmanuel Vadot			status = "disabled";
309f126890aSEmmanuel Vadot			device_type = "pci";
310f126890aSEmmanuel Vadot			num-lanes = <2>;
311f126890aSEmmanuel Vadot			bus-range = <0x00 0xff>;
312f126890aSEmmanuel Vadot
313f126890aSEmmanuel Vadot			/* error interrupt */
314f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 38 IRQ_TYPE_EDGE_RISING>;
315f126890aSEmmanuel Vadot			#interrupt-cells = <1>;
316f126890aSEmmanuel Vadot			interrupt-map-mask = <0 0 0 7>;
317f126890aSEmmanuel Vadot			interrupt-map = <0 0 0 1 &pcie_intc0 0>, /* INT A */
318f126890aSEmmanuel Vadot					<0 0 0 2 &pcie_intc0 1>, /* INT B */
319f126890aSEmmanuel Vadot					<0 0 0 3 &pcie_intc0 2>, /* INT C */
320f126890aSEmmanuel Vadot					<0 0 0 4 &pcie_intc0 3>; /* INT D */
321f126890aSEmmanuel Vadot
322f126890aSEmmanuel Vadot			pcie_msi_intc0: msi-interrupt-controller {
323f126890aSEmmanuel Vadot				interrupt-controller;
324f126890aSEmmanuel Vadot				#interrupt-cells = <1>;
325f126890aSEmmanuel Vadot				interrupt-parent = <&gic>;
326f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 30 IRQ_TYPE_EDGE_RISING>,
327f126890aSEmmanuel Vadot					<GIC_SPI 31 IRQ_TYPE_EDGE_RISING>,
328f126890aSEmmanuel Vadot					<GIC_SPI 32 IRQ_TYPE_EDGE_RISING>,
329f126890aSEmmanuel Vadot					<GIC_SPI 33 IRQ_TYPE_EDGE_RISING>,
330f126890aSEmmanuel Vadot					<GIC_SPI 34 IRQ_TYPE_EDGE_RISING>,
331f126890aSEmmanuel Vadot					<GIC_SPI 35 IRQ_TYPE_EDGE_RISING>,
332f126890aSEmmanuel Vadot					<GIC_SPI 36 IRQ_TYPE_EDGE_RISING>,
333f126890aSEmmanuel Vadot					<GIC_SPI 37 IRQ_TYPE_EDGE_RISING>;
334f126890aSEmmanuel Vadot			};
335f126890aSEmmanuel Vadot
336f126890aSEmmanuel Vadot			pcie_intc0: legacy-interrupt-controller {
337f126890aSEmmanuel Vadot				interrupt-controller;
338f126890aSEmmanuel Vadot				#interrupt-cells = <1>;
339f126890aSEmmanuel Vadot				interrupt-parent = <&gic>;
340f126890aSEmmanuel Vadot				interrupts = <GIC_SPI 26 IRQ_TYPE_EDGE_RISING>,
341f126890aSEmmanuel Vadot					<GIC_SPI 27 IRQ_TYPE_EDGE_RISING>,
342f126890aSEmmanuel Vadot					<GIC_SPI 28 IRQ_TYPE_EDGE_RISING>,
343f126890aSEmmanuel Vadot					<GIC_SPI 29 IRQ_TYPE_EDGE_RISING>;
344f126890aSEmmanuel Vadot			};
345f126890aSEmmanuel Vadot		};
346f126890aSEmmanuel Vadot
347f126890aSEmmanuel Vadot		emif: emif@21010000 {
348f126890aSEmmanuel Vadot			compatible = "ti,emif-keystone";
349f126890aSEmmanuel Vadot			reg = <0x21010000 0x200>;
350f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 448 IRQ_TYPE_EDGE_RISING>;
351f126890aSEmmanuel Vadot			interrupt-parent = <&gic>;
352f126890aSEmmanuel Vadot		};
353f126890aSEmmanuel Vadot	};
354f126890aSEmmanuel Vadot};
355