xref: /openbmc/u-boot/arch/arm/dts/uniphier-sld8.dtsi (revision 52159d27)
1*52159d27SMasahiro Yamada/*
2*52159d27SMasahiro Yamada * Device Tree Source for UniPhier sLD8 SoC
3*52159d27SMasahiro Yamada *
4*52159d27SMasahiro Yamada * Copyright (C) 2015-2016 Socionext Inc.
5*52159d27SMasahiro Yamada *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
6*52159d27SMasahiro Yamada *
7*52159d27SMasahiro Yamada * SPDX-License-Identifier:	GPL-2.0+	X11
8*52159d27SMasahiro Yamada */
9*52159d27SMasahiro Yamada
10*52159d27SMasahiro Yamada/include/ "uniphier-common32.dtsi"
11*52159d27SMasahiro Yamada
12*52159d27SMasahiro Yamada/ {
13*52159d27SMasahiro Yamada	compatible = "socionext,uniphier-sld8";
14*52159d27SMasahiro Yamada
15*52159d27SMasahiro Yamada	cpus {
16*52159d27SMasahiro Yamada		#address-cells = <1>;
17*52159d27SMasahiro Yamada		#size-cells = <0>;
18*52159d27SMasahiro Yamada
19*52159d27SMasahiro Yamada		cpu@0 {
20*52159d27SMasahiro Yamada			device_type = "cpu";
21*52159d27SMasahiro Yamada			compatible = "arm,cortex-a9";
22*52159d27SMasahiro Yamada			reg = <0>;
23*52159d27SMasahiro Yamada			enable-method = "psci";
24*52159d27SMasahiro Yamada			next-level-cache = <&l2>;
25*52159d27SMasahiro Yamada		};
26*52159d27SMasahiro Yamada	};
27*52159d27SMasahiro Yamada
28*52159d27SMasahiro Yamada	clocks {
29*52159d27SMasahiro Yamada		arm_timer_clk: arm_timer_clk {
30*52159d27SMasahiro Yamada			#clock-cells = <0>;
31*52159d27SMasahiro Yamada			compatible = "fixed-clock";
32*52159d27SMasahiro Yamada			clock-frequency = <50000000>;
33*52159d27SMasahiro Yamada		};
34*52159d27SMasahiro Yamada
35*52159d27SMasahiro Yamada		iobus_clk: iobus_clk {
36*52159d27SMasahiro Yamada			#clock-cells = <0>;
37*52159d27SMasahiro Yamada			compatible = "fixed-clock";
38*52159d27SMasahiro Yamada			clock-frequency = <100000000>;
39*52159d27SMasahiro Yamada		};
40*52159d27SMasahiro Yamada	};
41*52159d27SMasahiro Yamada};
42*52159d27SMasahiro Yamada
43*52159d27SMasahiro Yamada&soc {
44*52159d27SMasahiro Yamada	l2: l2-cache@500c0000 {
45*52159d27SMasahiro Yamada		compatible = "socionext,uniphier-system-cache";
46*52159d27SMasahiro Yamada		reg = <0x500c0000 0x2000>, <0x503c0100 0x4>, <0x506c0000 0x400>;
47*52159d27SMasahiro Yamada		interrupts = <0 174 4>, <0 175 4>;
48*52159d27SMasahiro Yamada		cache-unified;
49*52159d27SMasahiro Yamada		cache-size = <(256 * 1024)>;
50*52159d27SMasahiro Yamada		cache-sets = <256>;
51*52159d27SMasahiro Yamada		cache-line-size = <128>;
52*52159d27SMasahiro Yamada		cache-level = <2>;
53*52159d27SMasahiro Yamada	};
54*52159d27SMasahiro Yamada
55*52159d27SMasahiro Yamada	port0x: gpio@55000008 {
56*52159d27SMasahiro Yamada		compatible = "socionext,uniphier-gpio";
57*52159d27SMasahiro Yamada		reg = <0x55000008 0x8>;
58*52159d27SMasahiro Yamada		gpio-controller;
59*52159d27SMasahiro Yamada		#gpio-cells = <2>;
60*52159d27SMasahiro Yamada	};
61*52159d27SMasahiro Yamada
62*52159d27SMasahiro Yamada	port1x: gpio@55000010 {
63*52159d27SMasahiro Yamada		compatible = "socionext,uniphier-gpio";
64*52159d27SMasahiro Yamada		reg = <0x55000010 0x8>;
65*52159d27SMasahiro Yamada		gpio-controller;
66*52159d27SMasahiro Yamada		#gpio-cells = <2>;
67*52159d27SMasahiro Yamada	};
68*52159d27SMasahiro Yamada
69*52159d27SMasahiro Yamada	port2x: gpio@55000018 {
70*52159d27SMasahiro Yamada		compatible = "socionext,uniphier-gpio";
71*52159d27SMasahiro Yamada		reg = <0x55000018 0x8>;
72*52159d27SMasahiro Yamada		gpio-controller;
73*52159d27SMasahiro Yamada		#gpio-cells = <2>;
74*52159d27SMasahiro Yamada	};
75*52159d27SMasahiro Yamada
76*52159d27SMasahiro Yamada	port3x: gpio@55000020 {
77*52159d27SMasahiro Yamada		compatible = "socionext,uniphier-gpio";
78*52159d27SMasahiro Yamada		reg = <0x55000020 0x8>;
79*52159d27SMasahiro Yamada		gpio-controller;
80*52159d27SMasahiro Yamada		#gpio-cells = <2>;
81*52159d27SMasahiro Yamada	};
82*52159d27SMasahiro Yamada
83*52159d27SMasahiro Yamada	port4: gpio@55000028 {
84*52159d27SMasahiro Yamada		compatible = "socionext,uniphier-gpio";
85*52159d27SMasahiro Yamada		reg = <0x55000028 0x8>;
86*52159d27SMasahiro Yamada		gpio-controller;
87*52159d27SMasahiro Yamada		#gpio-cells = <2>;
88*52159d27SMasahiro Yamada	};
89*52159d27SMasahiro Yamada
90*52159d27SMasahiro Yamada	port5x: gpio@55000030 {
91*52159d27SMasahiro Yamada		compatible = "socionext,uniphier-gpio";
92*52159d27SMasahiro Yamada		reg = <0x55000030 0x8>;
93*52159d27SMasahiro Yamada		gpio-controller;
94*52159d27SMasahiro Yamada		#gpio-cells = <2>;
95*52159d27SMasahiro Yamada	};
96*52159d27SMasahiro Yamada
97*52159d27SMasahiro Yamada	port6x: gpio@55000038 {
98*52159d27SMasahiro Yamada		compatible = "socionext,uniphier-gpio";
99*52159d27SMasahiro Yamada		reg = <0x55000038 0x8>;
100*52159d27SMasahiro Yamada		gpio-controller;
101*52159d27SMasahiro Yamada		#gpio-cells = <2>;
102*52159d27SMasahiro Yamada	};
103*52159d27SMasahiro Yamada
104*52159d27SMasahiro Yamada	port7x: gpio@55000040 {
105*52159d27SMasahiro Yamada		compatible = "socionext,uniphier-gpio";
106*52159d27SMasahiro Yamada		reg = <0x55000040 0x8>;
107*52159d27SMasahiro Yamada		gpio-controller;
108*52159d27SMasahiro Yamada		#gpio-cells = <2>;
109*52159d27SMasahiro Yamada	};
110*52159d27SMasahiro Yamada
111*52159d27SMasahiro Yamada	port8x: gpio@55000048 {
112*52159d27SMasahiro Yamada		compatible = "socionext,uniphier-gpio";
113*52159d27SMasahiro Yamada		reg = <0x55000048 0x8>;
114*52159d27SMasahiro Yamada		gpio-controller;
115*52159d27SMasahiro Yamada		#gpio-cells = <2>;
116*52159d27SMasahiro Yamada	};
117*52159d27SMasahiro Yamada
118*52159d27SMasahiro Yamada	port9x: gpio@55000050 {
119*52159d27SMasahiro Yamada		compatible = "socionext,uniphier-gpio";
120*52159d27SMasahiro Yamada		reg = <0x55000050 0x8>;
121*52159d27SMasahiro Yamada		gpio-controller;
122*52159d27SMasahiro Yamada		#gpio-cells = <2>;
123*52159d27SMasahiro Yamada	};
124*52159d27SMasahiro Yamada
125*52159d27SMasahiro Yamada	port10x: gpio@55000058 {
126*52159d27SMasahiro Yamada		compatible = "socionext,uniphier-gpio";
127*52159d27SMasahiro Yamada		reg = <0x55000058 0x8>;
128*52159d27SMasahiro Yamada		gpio-controller;
129*52159d27SMasahiro Yamada		#gpio-cells = <2>;
130*52159d27SMasahiro Yamada	};
131*52159d27SMasahiro Yamada
132*52159d27SMasahiro Yamada	port11x: gpio@55000060 {
133*52159d27SMasahiro Yamada		compatible = "socionext,uniphier-gpio";
134*52159d27SMasahiro Yamada		reg = <0x55000060 0x8>;
135*52159d27SMasahiro Yamada		gpio-controller;
136*52159d27SMasahiro Yamada		#gpio-cells = <2>;
137*52159d27SMasahiro Yamada	};
138*52159d27SMasahiro Yamada
139*52159d27SMasahiro Yamada	port12x: gpio@55000068 {
140*52159d27SMasahiro Yamada		compatible = "socionext,uniphier-gpio";
141*52159d27SMasahiro Yamada		reg = <0x55000068 0x8>;
142*52159d27SMasahiro Yamada		gpio-controller;
143*52159d27SMasahiro Yamada		#gpio-cells = <2>;
144*52159d27SMasahiro Yamada	};
145*52159d27SMasahiro Yamada
146*52159d27SMasahiro Yamada	port13x: gpio@55000070 {
147*52159d27SMasahiro Yamada		compatible = "socionext,uniphier-gpio";
148*52159d27SMasahiro Yamada		reg = <0x55000070 0x8>;
149*52159d27SMasahiro Yamada		gpio-controller;
150*52159d27SMasahiro Yamada		#gpio-cells = <2>;
151*52159d27SMasahiro Yamada	};
152*52159d27SMasahiro Yamada
153*52159d27SMasahiro Yamada	port14x: gpio@55000078 {
154*52159d27SMasahiro Yamada		compatible = "socionext,uniphier-gpio";
155*52159d27SMasahiro Yamada		reg = <0x55000078 0x8>;
156*52159d27SMasahiro Yamada		gpio-controller;
157*52159d27SMasahiro Yamada		#gpio-cells = <2>;
158*52159d27SMasahiro Yamada	};
159*52159d27SMasahiro Yamada
160*52159d27SMasahiro Yamada	port16x: gpio@55000088 {
161*52159d27SMasahiro Yamada		compatible = "socionext,uniphier-gpio";
162*52159d27SMasahiro Yamada		reg = <0x55000088 0x8>;
163*52159d27SMasahiro Yamada		gpio-controller;
164*52159d27SMasahiro Yamada		#gpio-cells = <2>;
165*52159d27SMasahiro Yamada	};
166*52159d27SMasahiro Yamada
167*52159d27SMasahiro Yamada	i2c0: i2c@58400000 {
168*52159d27SMasahiro Yamada		compatible = "socionext,uniphier-i2c";
169*52159d27SMasahiro Yamada		status = "disabled";
170*52159d27SMasahiro Yamada		reg = <0x58400000 0x40>;
171*52159d27SMasahiro Yamada		#address-cells = <1>;
172*52159d27SMasahiro Yamada		#size-cells = <0>;
173*52159d27SMasahiro Yamada		interrupts = <0 41 1>;
174*52159d27SMasahiro Yamada		pinctrl-names = "default";
175*52159d27SMasahiro Yamada		pinctrl-0 = <&pinctrl_i2c0>;
176*52159d27SMasahiro Yamada		clocks = <&iobus_clk>;
177*52159d27SMasahiro Yamada		clock-frequency = <100000>;
178*52159d27SMasahiro Yamada	};
179*52159d27SMasahiro Yamada
180*52159d27SMasahiro Yamada	i2c1: i2c@58480000 {
181*52159d27SMasahiro Yamada		compatible = "socionext,uniphier-i2c";
182*52159d27SMasahiro Yamada		status = "disabled";
183*52159d27SMasahiro Yamada		reg = <0x58480000 0x40>;
184*52159d27SMasahiro Yamada		#address-cells = <1>;
185*52159d27SMasahiro Yamada		#size-cells = <0>;
186*52159d27SMasahiro Yamada		interrupts = <0 42 1>;
187*52159d27SMasahiro Yamada		pinctrl-names = "default";
188*52159d27SMasahiro Yamada		pinctrl-0 = <&pinctrl_i2c1>;
189*52159d27SMasahiro Yamada		clocks = <&iobus_clk>;
190*52159d27SMasahiro Yamada		clock-frequency = <100000>;
191*52159d27SMasahiro Yamada	};
192*52159d27SMasahiro Yamada
193*52159d27SMasahiro Yamada	/* chip-internal connection for DMD */
194*52159d27SMasahiro Yamada	i2c2: i2c@58500000 {
195*52159d27SMasahiro Yamada		compatible = "socionext,uniphier-i2c";
196*52159d27SMasahiro Yamada		reg = <0x58500000 0x40>;
197*52159d27SMasahiro Yamada		#address-cells = <1>;
198*52159d27SMasahiro Yamada		#size-cells = <0>;
199*52159d27SMasahiro Yamada		interrupts = <0 43 1>;
200*52159d27SMasahiro Yamada		pinctrl-names = "default";
201*52159d27SMasahiro Yamada		pinctrl-0 = <&pinctrl_i2c2>;
202*52159d27SMasahiro Yamada		clocks = <&iobus_clk>;
203*52159d27SMasahiro Yamada		clock-frequency = <400000>;
204*52159d27SMasahiro Yamada	};
205*52159d27SMasahiro Yamada
206*52159d27SMasahiro Yamada	i2c3: i2c@58580000 {
207*52159d27SMasahiro Yamada		compatible = "socionext,uniphier-i2c";
208*52159d27SMasahiro Yamada		status = "disabled";
209*52159d27SMasahiro Yamada		reg = <0x58580000 0x40>;
210*52159d27SMasahiro Yamada		#address-cells = <1>;
211*52159d27SMasahiro Yamada		#size-cells = <0>;
212*52159d27SMasahiro Yamada		interrupts = <0 44 1>;
213*52159d27SMasahiro Yamada		pinctrl-names = "default";
214*52159d27SMasahiro Yamada		pinctrl-0 = <&pinctrl_i2c3>;
215*52159d27SMasahiro Yamada		clocks = <&iobus_clk>;
216*52159d27SMasahiro Yamada		clock-frequency = <100000>;
217*52159d27SMasahiro Yamada	};
218*52159d27SMasahiro Yamada
219*52159d27SMasahiro Yamada	sd: sdhc@5a400000 {
220*52159d27SMasahiro Yamada		compatible = "socionext,uniphier-sdhc";
221*52159d27SMasahiro Yamada		status = "disabled";
222*52159d27SMasahiro Yamada		reg = <0x5a400000 0x200>;
223*52159d27SMasahiro Yamada		interrupts = <0 76 4>;
224*52159d27SMasahiro Yamada		pinctrl-names = "default", "1.8v";
225*52159d27SMasahiro Yamada		pinctrl-0 = <&pinctrl_sd>;
226*52159d27SMasahiro Yamada		pinctrl-1 = <&pinctrl_sd_1v8>;
227*52159d27SMasahiro Yamada		clocks = <&mio_clk 0>;
228*52159d27SMasahiro Yamada		reset-names = "host", "bridge";
229*52159d27SMasahiro Yamada		resets = <&mio_rst 0>, <&mio_rst 3>;
230*52159d27SMasahiro Yamada		bus-width = <4>;
231*52159d27SMasahiro Yamada	};
232*52159d27SMasahiro Yamada
233*52159d27SMasahiro Yamada	emmc: sdhc@5a500000 {
234*52159d27SMasahiro Yamada		compatible = "socionext,uniphier-sdhc";
235*52159d27SMasahiro Yamada		status = "disabled";
236*52159d27SMasahiro Yamada		interrupts = <0 78 4>;
237*52159d27SMasahiro Yamada		reg = <0x5a500000 0x200>;
238*52159d27SMasahiro Yamada		pinctrl-names = "default", "1.8v";
239*52159d27SMasahiro Yamada		pinctrl-0 = <&pinctrl_emmc>;
240*52159d27SMasahiro Yamada		pinctrl-1 = <&pinctrl_emmc_1v8>;
241*52159d27SMasahiro Yamada		clocks = <&mio_clk 1>;
242*52159d27SMasahiro Yamada		reset-names = "host", "bridge", "hw-reset";
243*52159d27SMasahiro Yamada		resets = <&mio_rst 1>, <&mio_rst 4>, <&mio_rst 6>;
244*52159d27SMasahiro Yamada		bus-width = <8>;
245*52159d27SMasahiro Yamada		non-removable;
246*52159d27SMasahiro Yamada	};
247*52159d27SMasahiro Yamada
248*52159d27SMasahiro Yamada	usb0: usb@5a800100 {
249*52159d27SMasahiro Yamada		compatible = "socionext,uniphier-ehci", "generic-ehci";
250*52159d27SMasahiro Yamada		status = "disabled";
251*52159d27SMasahiro Yamada		reg = <0x5a800100 0x100>;
252*52159d27SMasahiro Yamada		interrupts = <0 80 4>;
253*52159d27SMasahiro Yamada		pinctrl-names = "default";
254*52159d27SMasahiro Yamada		pinctrl-0 = <&pinctrl_usb0>;
255*52159d27SMasahiro Yamada		clocks = <&mio_clk 7>, <&mio_clk 8>, <&mio_clk 12>;
256*52159d27SMasahiro Yamada		resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 8>,
257*52159d27SMasahiro Yamada			 <&mio_rst 12>;
258*52159d27SMasahiro Yamada	};
259*52159d27SMasahiro Yamada
260*52159d27SMasahiro Yamada	usb1: usb@5a810100 {
261*52159d27SMasahiro Yamada		compatible = "socionext,uniphier-ehci", "generic-ehci";
262*52159d27SMasahiro Yamada		status = "disabled";
263*52159d27SMasahiro Yamada		reg = <0x5a810100 0x100>;
264*52159d27SMasahiro Yamada		interrupts = <0 81 4>;
265*52159d27SMasahiro Yamada		pinctrl-names = "default";
266*52159d27SMasahiro Yamada		pinctrl-0 = <&pinctrl_usb1>;
267*52159d27SMasahiro Yamada		clocks = <&mio_clk 7>, <&mio_clk 9>, <&mio_clk 13>;
268*52159d27SMasahiro Yamada		resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 9>,
269*52159d27SMasahiro Yamada			 <&mio_rst 13>;
270*52159d27SMasahiro Yamada	};
271*52159d27SMasahiro Yamada
272*52159d27SMasahiro Yamada	usb2: usb@5a820100 {
273*52159d27SMasahiro Yamada		compatible = "socionext,uniphier-ehci", "generic-ehci";
274*52159d27SMasahiro Yamada		status = "disabled";
275*52159d27SMasahiro Yamada		reg = <0x5a820100 0x100>;
276*52159d27SMasahiro Yamada		interrupts = <0 82 4>;
277*52159d27SMasahiro Yamada		pinctrl-names = "default";
278*52159d27SMasahiro Yamada		pinctrl-0 = <&pinctrl_usb2>;
279*52159d27SMasahiro Yamada		clocks = <&mio_clk 7>, <&mio_clk 10>, <&mio_clk 14>;
280*52159d27SMasahiro Yamada		resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 10>,
281*52159d27SMasahiro Yamada			 <&mio_rst 14>;
282*52159d27SMasahiro Yamada	};
283*52159d27SMasahiro Yamada
284*52159d27SMasahiro Yamada	aidet@61830000 {
285*52159d27SMasahiro Yamada		compatible = "simple-mfd", "syscon";
286*52159d27SMasahiro Yamada		reg = <0x61830000 0x200>;
287*52159d27SMasahiro Yamada	};
288*52159d27SMasahiro Yamada};
289*52159d27SMasahiro Yamada
290*52159d27SMasahiro Yamada&refclk {
291*52159d27SMasahiro Yamada	clock-frequency = <25000000>;
292*52159d27SMasahiro Yamada};
293*52159d27SMasahiro Yamada
294*52159d27SMasahiro Yamada&serial0 {
295*52159d27SMasahiro Yamada	clock-frequency = <80000000>;
296*52159d27SMasahiro Yamada};
297*52159d27SMasahiro Yamada
298*52159d27SMasahiro Yamada&serial1 {
299*52159d27SMasahiro Yamada	clock-frequency = <80000000>;
300*52159d27SMasahiro Yamada};
301*52159d27SMasahiro Yamada
302*52159d27SMasahiro Yamada&serial2 {
303*52159d27SMasahiro Yamada	clock-frequency = <80000000>;
304*52159d27SMasahiro Yamada};
305*52159d27SMasahiro Yamada
306*52159d27SMasahiro Yamada&serial3 {
307*52159d27SMasahiro Yamada	interrupts = <0 29 4>;
308*52159d27SMasahiro Yamada	clock-frequency = <80000000>;
309*52159d27SMasahiro Yamada};
310*52159d27SMasahiro Yamada
311*52159d27SMasahiro Yamada&mio_clk {
312*52159d27SMasahiro Yamada	compatible = "socionext,uniphier-sld8-mio-clock";
313*52159d27SMasahiro Yamada};
314*52159d27SMasahiro Yamada
315*52159d27SMasahiro Yamada&mio_rst {
316*52159d27SMasahiro Yamada	compatible = "socionext,uniphier-sld8-mio-reset";
317*52159d27SMasahiro Yamada};
318*52159d27SMasahiro Yamada
319*52159d27SMasahiro Yamada&peri_clk {
320*52159d27SMasahiro Yamada	compatible = "socionext,uniphier-sld8-peri-clock";
321*52159d27SMasahiro Yamada};
322*52159d27SMasahiro Yamada
323*52159d27SMasahiro Yamada&peri_rst {
324*52159d27SMasahiro Yamada	compatible = "socionext,uniphier-sld8-peri-reset";
325*52159d27SMasahiro Yamada};
326*52159d27SMasahiro Yamada
327*52159d27SMasahiro Yamada&pinctrl {
328*52159d27SMasahiro Yamada	compatible = "socionext,uniphier-sld8-pinctrl";
329*52159d27SMasahiro Yamada};
330*52159d27SMasahiro Yamada
331*52159d27SMasahiro Yamada&sys_clk {
332*52159d27SMasahiro Yamada	compatible = "socionext,uniphier-sld8-clock";
333*52159d27SMasahiro Yamada};
334*52159d27SMasahiro Yamada
335*52159d27SMasahiro Yamada&sys_rst {
336*52159d27SMasahiro Yamada	compatible = "socionext,uniphier-sld8-reset";
337*52159d27SMasahiro Yamada};
338