xref: /linux/scripts/dtc/include-prefixes/arm/socionext/uniphier-ld4.dtsi (revision cdd5b5a9761fd66d17586e4f4ba6588c70e640ea)
1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0+ OR MIT
2*724ba675SRob Herring//
3*724ba675SRob Herring// Device Tree Source for UniPhier LD4 SoC
4*724ba675SRob Herring//
5*724ba675SRob Herring// Copyright (C) 2015-2016 Socionext Inc.
6*724ba675SRob Herring//   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
7*724ba675SRob Herring
8*724ba675SRob Herring#include <dt-bindings/gpio/uniphier-gpio.h>
9*724ba675SRob Herring#include <dt-bindings/interrupt-controller/arm-gic.h>
10*724ba675SRob Herring
11*724ba675SRob Herring/ {
12*724ba675SRob Herring	compatible = "socionext,uniphier-ld4";
13*724ba675SRob Herring	#address-cells = <1>;
14*724ba675SRob Herring	#size-cells = <1>;
15*724ba675SRob Herring
16*724ba675SRob Herring	cpus {
17*724ba675SRob Herring		#address-cells = <1>;
18*724ba675SRob Herring		#size-cells = <0>;
19*724ba675SRob Herring
20*724ba675SRob Herring		cpu@0 {
21*724ba675SRob Herring			device_type = "cpu";
22*724ba675SRob Herring			compatible = "arm,cortex-a9";
23*724ba675SRob Herring			reg = <0>;
24*724ba675SRob Herring			enable-method = "psci";
25*724ba675SRob Herring			next-level-cache = <&l2>;
26*724ba675SRob Herring		};
27*724ba675SRob Herring	};
28*724ba675SRob Herring
29*724ba675SRob Herring	psci {
30*724ba675SRob Herring		compatible = "arm,psci-0.2";
31*724ba675SRob Herring		method = "smc";
32*724ba675SRob Herring	};
33*724ba675SRob Herring
34*724ba675SRob Herring	clocks {
35*724ba675SRob Herring		refclk: ref {
36*724ba675SRob Herring			compatible = "fixed-clock";
37*724ba675SRob Herring			#clock-cells = <0>;
38*724ba675SRob Herring			clock-frequency = <24576000>;
39*724ba675SRob Herring		};
40*724ba675SRob Herring
41*724ba675SRob Herring		arm_timer_clk: arm-timer {
42*724ba675SRob Herring			#clock-cells = <0>;
43*724ba675SRob Herring			compatible = "fixed-clock";
44*724ba675SRob Herring			clock-frequency = <50000000>;
45*724ba675SRob Herring		};
46*724ba675SRob Herring	};
47*724ba675SRob Herring
48*724ba675SRob Herring	soc {
49*724ba675SRob Herring		compatible = "simple-bus";
50*724ba675SRob Herring		#address-cells = <1>;
51*724ba675SRob Herring		#size-cells = <1>;
52*724ba675SRob Herring		ranges;
53*724ba675SRob Herring		interrupt-parent = <&intc>;
54*724ba675SRob Herring
55*724ba675SRob Herring		l2: cache-controller@500c0000 {
56*724ba675SRob Herring			compatible = "socionext,uniphier-system-cache";
57*724ba675SRob Herring			reg = <0x500c0000 0x2000>, <0x503c0100 0x4>,
58*724ba675SRob Herring			      <0x506c0000 0x400>;
59*724ba675SRob Herring			interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>,
60*724ba675SRob Herring				     <GIC_SPI 175 IRQ_TYPE_LEVEL_HIGH>;
61*724ba675SRob Herring			cache-unified;
62*724ba675SRob Herring			cache-size = <(512 * 1024)>;
63*724ba675SRob Herring			cache-sets = <256>;
64*724ba675SRob Herring			cache-line-size = <128>;
65*724ba675SRob Herring			cache-level = <2>;
66*724ba675SRob Herring		};
67*724ba675SRob Herring
68*724ba675SRob Herring		spi: spi@54006000 {
69*724ba675SRob Herring			compatible = "socionext,uniphier-scssi";
70*724ba675SRob Herring			status = "disabled";
71*724ba675SRob Herring			reg = <0x54006000 0x100>;
72*724ba675SRob Herring			#address-cells = <1>;
73*724ba675SRob Herring			#size-cells = <0>;
74*724ba675SRob Herring			interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
75*724ba675SRob Herring			pinctrl-names = "default";
76*724ba675SRob Herring			pinctrl-0 = <&pinctrl_spi0>;
77*724ba675SRob Herring			clocks = <&peri_clk 11>;
78*724ba675SRob Herring			resets = <&peri_rst 11>;
79*724ba675SRob Herring		};
80*724ba675SRob Herring
81*724ba675SRob Herring		serial0: serial@54006800 {
82*724ba675SRob Herring			compatible = "socionext,uniphier-uart";
83*724ba675SRob Herring			status = "disabled";
84*724ba675SRob Herring			reg = <0x54006800 0x40>;
85*724ba675SRob Herring			interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
86*724ba675SRob Herring			pinctrl-names = "default";
87*724ba675SRob Herring			pinctrl-0 = <&pinctrl_uart0>;
88*724ba675SRob Herring			clocks = <&peri_clk 0>;
89*724ba675SRob Herring			resets = <&peri_rst 0>;
90*724ba675SRob Herring		};
91*724ba675SRob Herring
92*724ba675SRob Herring		serial1: serial@54006900 {
93*724ba675SRob Herring			compatible = "socionext,uniphier-uart";
94*724ba675SRob Herring			status = "disabled";
95*724ba675SRob Herring			reg = <0x54006900 0x40>;
96*724ba675SRob Herring			interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
97*724ba675SRob Herring			pinctrl-names = "default";
98*724ba675SRob Herring			pinctrl-0 = <&pinctrl_uart1>;
99*724ba675SRob Herring			clocks = <&peri_clk 1>;
100*724ba675SRob Herring			resets = <&peri_rst 1>;
101*724ba675SRob Herring		};
102*724ba675SRob Herring
103*724ba675SRob Herring		serial2: serial@54006a00 {
104*724ba675SRob Herring			compatible = "socionext,uniphier-uart";
105*724ba675SRob Herring			status = "disabled";
106*724ba675SRob Herring			reg = <0x54006a00 0x40>;
107*724ba675SRob Herring			interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
108*724ba675SRob Herring			pinctrl-names = "default";
109*724ba675SRob Herring			pinctrl-0 = <&pinctrl_uart2>;
110*724ba675SRob Herring			clocks = <&peri_clk 2>;
111*724ba675SRob Herring			resets = <&peri_rst 2>;
112*724ba675SRob Herring		};
113*724ba675SRob Herring
114*724ba675SRob Herring		serial3: serial@54006b00 {
115*724ba675SRob Herring			compatible = "socionext,uniphier-uart";
116*724ba675SRob Herring			status = "disabled";
117*724ba675SRob Herring			reg = <0x54006b00 0x40>;
118*724ba675SRob Herring			interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
119*724ba675SRob Herring			pinctrl-names = "default";
120*724ba675SRob Herring			pinctrl-0 = <&pinctrl_uart3>;
121*724ba675SRob Herring			clocks = <&peri_clk 3>;
122*724ba675SRob Herring			resets = <&peri_rst 3>;
123*724ba675SRob Herring		};
124*724ba675SRob Herring
125*724ba675SRob Herring		gpio: gpio@55000000 {
126*724ba675SRob Herring			compatible = "socionext,uniphier-gpio";
127*724ba675SRob Herring			reg = <0x55000000 0x200>;
128*724ba675SRob Herring			interrupt-parent = <&aidet>;
129*724ba675SRob Herring			interrupt-controller;
130*724ba675SRob Herring			#interrupt-cells = <2>;
131*724ba675SRob Herring			gpio-controller;
132*724ba675SRob Herring			#gpio-cells = <2>;
133*724ba675SRob Herring			gpio-ranges = <&pinctrl 0 0 0>;
134*724ba675SRob Herring			gpio-ranges-group-names = "gpio_range";
135*724ba675SRob Herring			ngpios = <136>;
136*724ba675SRob Herring			socionext,interrupt-ranges = <0 48 13>, <14 62 2>;
137*724ba675SRob Herring		};
138*724ba675SRob Herring
139*724ba675SRob Herring		i2c0: i2c@58400000 {
140*724ba675SRob Herring			compatible = "socionext,uniphier-i2c";
141*724ba675SRob Herring			status = "disabled";
142*724ba675SRob Herring			reg = <0x58400000 0x40>;
143*724ba675SRob Herring			#address-cells = <1>;
144*724ba675SRob Herring			#size-cells = <0>;
145*724ba675SRob Herring			interrupts = <GIC_SPI 41 IRQ_TYPE_EDGE_RISING>;
146*724ba675SRob Herring			pinctrl-names = "default";
147*724ba675SRob Herring			pinctrl-0 = <&pinctrl_i2c0>;
148*724ba675SRob Herring			clocks = <&peri_clk 4>;
149*724ba675SRob Herring			resets = <&peri_rst 4>;
150*724ba675SRob Herring			clock-frequency = <100000>;
151*724ba675SRob Herring		};
152*724ba675SRob Herring
153*724ba675SRob Herring		i2c1: i2c@58480000 {
154*724ba675SRob Herring			compatible = "socionext,uniphier-i2c";
155*724ba675SRob Herring			status = "disabled";
156*724ba675SRob Herring			reg = <0x58480000 0x40>;
157*724ba675SRob Herring			#address-cells = <1>;
158*724ba675SRob Herring			#size-cells = <0>;
159*724ba675SRob Herring			interrupts = <GIC_SPI 42 IRQ_TYPE_EDGE_RISING>;
160*724ba675SRob Herring			pinctrl-names = "default";
161*724ba675SRob Herring			pinctrl-0 = <&pinctrl_i2c1>;
162*724ba675SRob Herring			clocks = <&peri_clk 5>;
163*724ba675SRob Herring			resets = <&peri_rst 5>;
164*724ba675SRob Herring			clock-frequency = <100000>;
165*724ba675SRob Herring		};
166*724ba675SRob Herring
167*724ba675SRob Herring		/* chip-internal connection for DMD */
168*724ba675SRob Herring		i2c2: i2c@58500000 {
169*724ba675SRob Herring			compatible = "socionext,uniphier-i2c";
170*724ba675SRob Herring			reg = <0x58500000 0x40>;
171*724ba675SRob Herring			#address-cells = <1>;
172*724ba675SRob Herring			#size-cells = <0>;
173*724ba675SRob Herring			interrupts = <GIC_SPI 43 IRQ_TYPE_EDGE_RISING>;
174*724ba675SRob Herring			pinctrl-names = "default";
175*724ba675SRob Herring			pinctrl-0 = <&pinctrl_i2c2>;
176*724ba675SRob Herring			clocks = <&peri_clk 6>;
177*724ba675SRob Herring			resets = <&peri_rst 6>;
178*724ba675SRob Herring			clock-frequency = <400000>;
179*724ba675SRob Herring		};
180*724ba675SRob Herring
181*724ba675SRob Herring		i2c3: i2c@58580000 {
182*724ba675SRob Herring			compatible = "socionext,uniphier-i2c";
183*724ba675SRob Herring			status = "disabled";
184*724ba675SRob Herring			reg = <0x58580000 0x40>;
185*724ba675SRob Herring			#address-cells = <1>;
186*724ba675SRob Herring			#size-cells = <0>;
187*724ba675SRob Herring			interrupts = <GIC_SPI 44 IRQ_TYPE_EDGE_RISING>;
188*724ba675SRob Herring			pinctrl-names = "default";
189*724ba675SRob Herring			pinctrl-0 = <&pinctrl_i2c3>;
190*724ba675SRob Herring			clocks = <&peri_clk 7>;
191*724ba675SRob Herring			resets = <&peri_rst 7>;
192*724ba675SRob Herring			clock-frequency = <100000>;
193*724ba675SRob Herring		};
194*724ba675SRob Herring
195*724ba675SRob Herring		system_bus: system-bus@58c00000 {
196*724ba675SRob Herring			compatible = "socionext,uniphier-system-bus";
197*724ba675SRob Herring			status = "disabled";
198*724ba675SRob Herring			reg = <0x58c00000 0x400>;
199*724ba675SRob Herring			#address-cells = <2>;
200*724ba675SRob Herring			#size-cells = <1>;
201*724ba675SRob Herring			pinctrl-names = "default";
202*724ba675SRob Herring			pinctrl-0 = <&pinctrl_system_bus>;
203*724ba675SRob Herring		};
204*724ba675SRob Herring
205*724ba675SRob Herring		smpctrl@59801000 {
206*724ba675SRob Herring			compatible = "socionext,uniphier-smpctrl";
207*724ba675SRob Herring			reg = <0x59801000 0x400>;
208*724ba675SRob Herring		};
209*724ba675SRob Herring
210*724ba675SRob Herring		syscon@59810000 {
211*724ba675SRob Herring			compatible = "socionext,uniphier-ld4-mioctrl",
212*724ba675SRob Herring				     "simple-mfd", "syscon";
213*724ba675SRob Herring			reg = <0x59810000 0x800>;
214*724ba675SRob Herring
215*724ba675SRob Herring			mio_clk: clock-controller {
216*724ba675SRob Herring				compatible = "socionext,uniphier-ld4-mio-clock";
217*724ba675SRob Herring				#clock-cells = <1>;
218*724ba675SRob Herring			};
219*724ba675SRob Herring
220*724ba675SRob Herring			mio_rst: reset-controller {
221*724ba675SRob Herring				compatible = "socionext,uniphier-ld4-mio-reset";
222*724ba675SRob Herring				#reset-cells = <1>;
223*724ba675SRob Herring			};
224*724ba675SRob Herring		};
225*724ba675SRob Herring
226*724ba675SRob Herring		syscon@59820000 {
227*724ba675SRob Herring			compatible = "socionext,uniphier-ld4-perictrl",
228*724ba675SRob Herring				     "simple-mfd", "syscon";
229*724ba675SRob Herring			reg = <0x59820000 0x200>;
230*724ba675SRob Herring
231*724ba675SRob Herring			peri_clk: clock-controller {
232*724ba675SRob Herring				compatible = "socionext,uniphier-ld4-peri-clock";
233*724ba675SRob Herring				#clock-cells = <1>;
234*724ba675SRob Herring			};
235*724ba675SRob Herring
236*724ba675SRob Herring			peri_rst: reset-controller {
237*724ba675SRob Herring				compatible = "socionext,uniphier-ld4-peri-reset";
238*724ba675SRob Herring				#reset-cells = <1>;
239*724ba675SRob Herring			};
240*724ba675SRob Herring		};
241*724ba675SRob Herring
242*724ba675SRob Herring		dmac: dma-controller@5a000000 {
243*724ba675SRob Herring			compatible = "socionext,uniphier-mio-dmac";
244*724ba675SRob Herring			reg = <0x5a000000 0x1000>;
245*724ba675SRob Herring			interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
246*724ba675SRob Herring				     <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
247*724ba675SRob Herring				     <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>,
248*724ba675SRob Herring				     <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>,
249*724ba675SRob Herring				     <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>,
250*724ba675SRob Herring				     <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
251*724ba675SRob Herring				     <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
252*724ba675SRob Herring			clocks = <&mio_clk 7>;
253*724ba675SRob Herring			resets = <&mio_rst 7>;
254*724ba675SRob Herring			#dma-cells = <1>;
255*724ba675SRob Herring		};
256*724ba675SRob Herring
257*724ba675SRob Herring		sd: mmc@5a400000 {
258*724ba675SRob Herring			compatible = "socionext,uniphier-sd-v2.91";
259*724ba675SRob Herring			status = "disabled";
260*724ba675SRob Herring			reg = <0x5a400000 0x200>;
261*724ba675SRob Herring			interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
262*724ba675SRob Herring			pinctrl-names = "default", "uhs";
263*724ba675SRob Herring			pinctrl-0 = <&pinctrl_sd>;
264*724ba675SRob Herring			pinctrl-1 = <&pinctrl_sd_uhs>;
265*724ba675SRob Herring			clocks = <&mio_clk 0>;
266*724ba675SRob Herring			reset-names = "host", "bridge";
267*724ba675SRob Herring			resets = <&mio_rst 0>, <&mio_rst 3>;
268*724ba675SRob Herring			dma-names = "rx-tx";
269*724ba675SRob Herring			dmas = <&dmac 4>;
270*724ba675SRob Herring			bus-width = <4>;
271*724ba675SRob Herring			cap-sd-highspeed;
272*724ba675SRob Herring			sd-uhs-sdr12;
273*724ba675SRob Herring			sd-uhs-sdr25;
274*724ba675SRob Herring			sd-uhs-sdr50;
275*724ba675SRob Herring		};
276*724ba675SRob Herring
277*724ba675SRob Herring		emmc: mmc@5a500000 {
278*724ba675SRob Herring			compatible = "socionext,uniphier-sd-v2.91";
279*724ba675SRob Herring			status = "disabled";
280*724ba675SRob Herring			reg = <0x5a500000 0x200>;
281*724ba675SRob Herring			interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
282*724ba675SRob Herring			pinctrl-names = "default";
283*724ba675SRob Herring			pinctrl-0 = <&pinctrl_emmc>;
284*724ba675SRob Herring			clocks = <&mio_clk 1>;
285*724ba675SRob Herring			reset-names = "host", "bridge", "hw";
286*724ba675SRob Herring			resets = <&mio_rst 1>, <&mio_rst 4>, <&mio_rst 6>;
287*724ba675SRob Herring			dma-names = "rx-tx";
288*724ba675SRob Herring			dmas = <&dmac 6>;
289*724ba675SRob Herring			bus-width = <8>;
290*724ba675SRob Herring			cap-mmc-highspeed;
291*724ba675SRob Herring			cap-mmc-hw-reset;
292*724ba675SRob Herring			non-removable;
293*724ba675SRob Herring		};
294*724ba675SRob Herring
295*724ba675SRob Herring		usb0: usb@5a800100 {
296*724ba675SRob Herring			compatible = "socionext,uniphier-ehci", "generic-ehci";
297*724ba675SRob Herring			status = "disabled";
298*724ba675SRob Herring			reg = <0x5a800100 0x100>;
299*724ba675SRob Herring			interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
300*724ba675SRob Herring			pinctrl-names = "default";
301*724ba675SRob Herring			pinctrl-0 = <&pinctrl_usb0>;
302*724ba675SRob Herring			clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 8>,
303*724ba675SRob Herring				 <&mio_clk 12>;
304*724ba675SRob Herring			resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 8>,
305*724ba675SRob Herring				 <&mio_rst 12>;
306*724ba675SRob Herring			has-transaction-translator;
307*724ba675SRob Herring		};
308*724ba675SRob Herring
309*724ba675SRob Herring		usb1: usb@5a810100 {
310*724ba675SRob Herring			compatible = "socionext,uniphier-ehci", "generic-ehci";
311*724ba675SRob Herring			status = "disabled";
312*724ba675SRob Herring			reg = <0x5a810100 0x100>;
313*724ba675SRob Herring			interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
314*724ba675SRob Herring			pinctrl-names = "default";
315*724ba675SRob Herring			pinctrl-0 = <&pinctrl_usb1>;
316*724ba675SRob Herring			clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 9>,
317*724ba675SRob Herring				 <&mio_clk 13>;
318*724ba675SRob Herring			resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 9>,
319*724ba675SRob Herring				 <&mio_rst 13>;
320*724ba675SRob Herring			has-transaction-translator;
321*724ba675SRob Herring		};
322*724ba675SRob Herring
323*724ba675SRob Herring		usb2: usb@5a820100 {
324*724ba675SRob Herring			compatible = "socionext,uniphier-ehci", "generic-ehci";
325*724ba675SRob Herring			status = "disabled";
326*724ba675SRob Herring			reg = <0x5a820100 0x100>;
327*724ba675SRob Herring			interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
328*724ba675SRob Herring			pinctrl-names = "default";
329*724ba675SRob Herring			pinctrl-0 = <&pinctrl_usb2>;
330*724ba675SRob Herring			clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 10>,
331*724ba675SRob Herring				 <&mio_clk 14>;
332*724ba675SRob Herring			resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 10>,
333*724ba675SRob Herring				 <&mio_rst 14>;
334*724ba675SRob Herring			has-transaction-translator;
335*724ba675SRob Herring		};
336*724ba675SRob Herring
337*724ba675SRob Herring		syscon@5f800000 {
338*724ba675SRob Herring			compatible = "socionext,uniphier-ld4-soc-glue",
339*724ba675SRob Herring				     "simple-mfd", "syscon";
340*724ba675SRob Herring			reg = <0x5f800000 0x2000>;
341*724ba675SRob Herring
342*724ba675SRob Herring			pinctrl: pinctrl {
343*724ba675SRob Herring				compatible = "socionext,uniphier-ld4-pinctrl";
344*724ba675SRob Herring			};
345*724ba675SRob Herring		};
346*724ba675SRob Herring
347*724ba675SRob Herring		syscon@5f900000 {
348*724ba675SRob Herring			compatible = "socionext,uniphier-ld4-soc-glue-debug",
349*724ba675SRob Herring				     "simple-mfd", "syscon";
350*724ba675SRob Herring			reg = <0x5f900000 0x2000>;
351*724ba675SRob Herring			#address-cells = <1>;
352*724ba675SRob Herring			#size-cells = <1>;
353*724ba675SRob Herring			ranges = <0 0x5f900000 0x2000>;
354*724ba675SRob Herring
355*724ba675SRob Herring			efuse@100 {
356*724ba675SRob Herring				compatible = "socionext,uniphier-efuse";
357*724ba675SRob Herring				reg = <0x100 0x28>;
358*724ba675SRob Herring			};
359*724ba675SRob Herring
360*724ba675SRob Herring			efuse@130 {
361*724ba675SRob Herring				compatible = "socionext,uniphier-efuse";
362*724ba675SRob Herring				reg = <0x130 0x8>;
363*724ba675SRob Herring			};
364*724ba675SRob Herring		};
365*724ba675SRob Herring
366*724ba675SRob Herring		timer@60000200 {
367*724ba675SRob Herring			compatible = "arm,cortex-a9-global-timer";
368*724ba675SRob Herring			reg = <0x60000200 0x20>;
369*724ba675SRob Herring			interrupts = <GIC_PPI 11
370*724ba675SRob Herring				(GIC_CPU_MASK_RAW(1) | IRQ_TYPE_LEVEL_HIGH)>;
371*724ba675SRob Herring			clocks = <&arm_timer_clk>;
372*724ba675SRob Herring		};
373*724ba675SRob Herring
374*724ba675SRob Herring		timer@60000600 {
375*724ba675SRob Herring			compatible = "arm,cortex-a9-twd-timer";
376*724ba675SRob Herring			reg = <0x60000600 0x20>;
377*724ba675SRob Herring			interrupts = <GIC_PPI 13
378*724ba675SRob Herring				(GIC_CPU_MASK_RAW(1) | IRQ_TYPE_LEVEL_HIGH)>;
379*724ba675SRob Herring			clocks = <&arm_timer_clk>;
380*724ba675SRob Herring		};
381*724ba675SRob Herring
382*724ba675SRob Herring		intc: interrupt-controller@60001000 {
383*724ba675SRob Herring			compatible = "arm,cortex-a9-gic";
384*724ba675SRob Herring			reg = <0x60001000 0x1000>,
385*724ba675SRob Herring			      <0x60000100 0x100>;
386*724ba675SRob Herring			#interrupt-cells = <3>;
387*724ba675SRob Herring			interrupt-controller;
388*724ba675SRob Herring		};
389*724ba675SRob Herring
390*724ba675SRob Herring		aidet: interrupt-controller@61830000 {
391*724ba675SRob Herring			compatible = "socionext,uniphier-ld4-aidet";
392*724ba675SRob Herring			reg = <0x61830000 0x200>;
393*724ba675SRob Herring			interrupt-controller;
394*724ba675SRob Herring			#interrupt-cells = <2>;
395*724ba675SRob Herring		};
396*724ba675SRob Herring
397*724ba675SRob Herring		syscon@61840000 {
398*724ba675SRob Herring			compatible = "socionext,uniphier-ld4-sysctrl",
399*724ba675SRob Herring				     "simple-mfd", "syscon";
400*724ba675SRob Herring			reg = <0x61840000 0x10000>;
401*724ba675SRob Herring
402*724ba675SRob Herring			sys_clk: clock-controller {
403*724ba675SRob Herring				compatible = "socionext,uniphier-ld4-clock";
404*724ba675SRob Herring				#clock-cells = <1>;
405*724ba675SRob Herring			};
406*724ba675SRob Herring
407*724ba675SRob Herring			sys_rst: reset-controller {
408*724ba675SRob Herring				compatible = "socionext,uniphier-ld4-reset";
409*724ba675SRob Herring				#reset-cells = <1>;
410*724ba675SRob Herring			};
411*724ba675SRob Herring		};
412*724ba675SRob Herring
413*724ba675SRob Herring		nand: nand-controller@68000000 {
414*724ba675SRob Herring			compatible = "socionext,uniphier-denali-nand-v5a";
415*724ba675SRob Herring			status = "disabled";
416*724ba675SRob Herring			reg-names = "nand_data", "denali_reg";
417*724ba675SRob Herring			reg = <0x68000000 0x20>, <0x68100000 0x1000>;
418*724ba675SRob Herring			#address-cells = <1>;
419*724ba675SRob Herring			#size-cells = <0>;
420*724ba675SRob Herring			interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
421*724ba675SRob Herring			pinctrl-names = "default";
422*724ba675SRob Herring			pinctrl-0 = <&pinctrl_nand>;
423*724ba675SRob Herring			clock-names = "nand", "nand_x", "ecc";
424*724ba675SRob Herring			clocks = <&sys_clk 2>, <&sys_clk 3>, <&sys_clk 3>;
425*724ba675SRob Herring			reset-names = "nand", "reg";
426*724ba675SRob Herring			resets = <&sys_rst 2>, <&sys_rst 2>;
427*724ba675SRob Herring		};
428*724ba675SRob Herring	};
429*724ba675SRob Herring};
430*724ba675SRob Herring
431*724ba675SRob Herring#include "uniphier-pinctrl.dtsi"
432