]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blob - arch/arm/boot/dts/uniphier-sld8.dtsi
Merge tag 'nios2-v4.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/lftan...
[mirror_ubuntu-focal-kernel.git] / arch / arm / boot / dts / uniphier-sld8.dtsi
1 /*
2 * Device Tree Source for UniPhier sLD8 SoC
3 *
4 * Copyright (C) 2015-2016 Socionext Inc.
5 * Author: Masahiro Yamada <yamada.masahiro@socionext.com>
6 *
7 * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 */
9
10 / {
11 compatible = "socionext,uniphier-sld8";
12 #address-cells = <1>;
13 #size-cells = <1>;
14
15 cpus {
16 #address-cells = <1>;
17 #size-cells = <0>;
18
19 cpu@0 {
20 device_type = "cpu";
21 compatible = "arm,cortex-a9";
22 reg = <0>;
23 enable-method = "psci";
24 next-level-cache = <&l2>;
25 };
26 };
27
28 psci {
29 compatible = "arm,psci-0.2";
30 method = "smc";
31 };
32
33 clocks {
34 refclk: ref {
35 compatible = "fixed-clock";
36 #clock-cells = <0>;
37 clock-frequency = <25000000>;
38 };
39
40 arm_timer_clk: arm_timer_clk {
41 #clock-cells = <0>;
42 compatible = "fixed-clock";
43 clock-frequency = <50000000>;
44 };
45 };
46
47 soc {
48 compatible = "simple-bus";
49 #address-cells = <1>;
50 #size-cells = <1>;
51 ranges;
52 interrupt-parent = <&intc>;
53
54 l2: l2-cache@500c0000 {
55 compatible = "socionext,uniphier-system-cache";
56 reg = <0x500c0000 0x2000>, <0x503c0100 0x4>,
57 <0x506c0000 0x400>;
58 interrupts = <0 174 4>, <0 175 4>;
59 cache-unified;
60 cache-size = <(256 * 1024)>;
61 cache-sets = <256>;
62 cache-line-size = <128>;
63 cache-level = <2>;
64 };
65
66 serial0: serial@54006800 {
67 compatible = "socionext,uniphier-uart";
68 status = "disabled";
69 reg = <0x54006800 0x40>;
70 interrupts = <0 33 4>;
71 pinctrl-names = "default";
72 pinctrl-0 = <&pinctrl_uart0>;
73 clocks = <&peri_clk 0>;
74 };
75
76 serial1: serial@54006900 {
77 compatible = "socionext,uniphier-uart";
78 status = "disabled";
79 reg = <0x54006900 0x40>;
80 interrupts = <0 35 4>;
81 pinctrl-names = "default";
82 pinctrl-0 = <&pinctrl_uart1>;
83 clocks = <&peri_clk 1>;
84 };
85
86 serial2: serial@54006a00 {
87 compatible = "socionext,uniphier-uart";
88 status = "disabled";
89 reg = <0x54006a00 0x40>;
90 interrupts = <0 37 4>;
91 pinctrl-names = "default";
92 pinctrl-0 = <&pinctrl_uart2>;
93 clocks = <&peri_clk 2>;
94 };
95
96 serial3: serial@54006b00 {
97 compatible = "socionext,uniphier-uart";
98 status = "disabled";
99 reg = <0x54006b00 0x40>;
100 interrupts = <0 29 4>;
101 pinctrl-names = "default";
102 pinctrl-0 = <&pinctrl_uart3>;
103 clocks = <&peri_clk 3>;
104 };
105
106 i2c0: i2c@58400000 {
107 compatible = "socionext,uniphier-i2c";
108 status = "disabled";
109 reg = <0x58400000 0x40>;
110 #address-cells = <1>;
111 #size-cells = <0>;
112 interrupts = <0 41 1>;
113 pinctrl-names = "default";
114 pinctrl-0 = <&pinctrl_i2c0>;
115 clocks = <&peri_clk 4>;
116 clock-frequency = <100000>;
117 };
118
119 i2c1: i2c@58480000 {
120 compatible = "socionext,uniphier-i2c";
121 status = "disabled";
122 reg = <0x58480000 0x40>;
123 #address-cells = <1>;
124 #size-cells = <0>;
125 interrupts = <0 42 1>;
126 pinctrl-names = "default";
127 pinctrl-0 = <&pinctrl_i2c1>;
128 clocks = <&peri_clk 5>;
129 clock-frequency = <100000>;
130 };
131
132 /* chip-internal connection for DMD */
133 i2c2: i2c@58500000 {
134 compatible = "socionext,uniphier-i2c";
135 reg = <0x58500000 0x40>;
136 #address-cells = <1>;
137 #size-cells = <0>;
138 interrupts = <0 43 1>;
139 pinctrl-names = "default";
140 pinctrl-0 = <&pinctrl_i2c2>;
141 clocks = <&peri_clk 6>;
142 clock-frequency = <400000>;
143 };
144
145 i2c3: i2c@58580000 {
146 compatible = "socionext,uniphier-i2c";
147 status = "disabled";
148 reg = <0x58580000 0x40>;
149 #address-cells = <1>;
150 #size-cells = <0>;
151 interrupts = <0 44 1>;
152 pinctrl-names = "default";
153 pinctrl-0 = <&pinctrl_i2c3>;
154 clocks = <&peri_clk 7>;
155 clock-frequency = <100000>;
156 };
157
158 system_bus: system-bus@58c00000 {
159 compatible = "socionext,uniphier-system-bus";
160 status = "disabled";
161 reg = <0x58c00000 0x400>;
162 #address-cells = <2>;
163 #size-cells = <1>;
164 pinctrl-names = "default";
165 pinctrl-0 = <&pinctrl_system_bus>;
166 };
167
168 smpctrl@59801000 {
169 compatible = "socionext,uniphier-smpctrl";
170 reg = <0x59801000 0x400>;
171 };
172
173 mioctrl@59810000 {
174 compatible = "socionext,uniphier-sld8-mioctrl",
175 "simple-mfd", "syscon";
176 reg = <0x59810000 0x800>;
177
178 mio_clk: clock {
179 compatible = "socionext,uniphier-sld8-mio-clock";
180 #clock-cells = <1>;
181 };
182
183 mio_rst: reset {
184 compatible = "socionext,uniphier-sld8-mio-reset";
185 #reset-cells = <1>;
186 };
187 };
188
189 perictrl@59820000 {
190 compatible = "socionext,uniphier-sld8-perictrl",
191 "simple-mfd", "syscon";
192 reg = <0x59820000 0x200>;
193
194 peri_clk: clock {
195 compatible = "socionext,uniphier-sld8-peri-clock";
196 #clock-cells = <1>;
197 };
198
199 peri_rst: reset {
200 compatible = "socionext,uniphier-sld8-peri-reset";
201 #reset-cells = <1>;
202 };
203 };
204
205 usb0: usb@5a800100 {
206 compatible = "socionext,uniphier-ehci", "generic-ehci";
207 status = "disabled";
208 reg = <0x5a800100 0x100>;
209 interrupts = <0 80 4>;
210 pinctrl-names = "default";
211 pinctrl-0 = <&pinctrl_usb0>;
212 clocks = <&mio_clk 7>, <&mio_clk 8>, <&mio_clk 12>;
213 resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 8>,
214 <&mio_rst 12>;
215 };
216
217 usb1: usb@5a810100 {
218 compatible = "socionext,uniphier-ehci", "generic-ehci";
219 status = "disabled";
220 reg = <0x5a810100 0x100>;
221 interrupts = <0 81 4>;
222 pinctrl-names = "default";
223 pinctrl-0 = <&pinctrl_usb1>;
224 clocks = <&mio_clk 7>, <&mio_clk 9>, <&mio_clk 13>;
225 resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 9>,
226 <&mio_rst 13>;
227 };
228
229 usb2: usb@5a820100 {
230 compatible = "socionext,uniphier-ehci", "generic-ehci";
231 status = "disabled";
232 reg = <0x5a820100 0x100>;
233 interrupts = <0 82 4>;
234 pinctrl-names = "default";
235 pinctrl-0 = <&pinctrl_usb2>;
236 clocks = <&mio_clk 7>, <&mio_clk 10>, <&mio_clk 14>;
237 resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 10>,
238 <&mio_rst 14>;
239 };
240
241 soc-glue@5f800000 {
242 compatible = "socionext,uniphier-sld8-soc-glue",
243 "simple-mfd", "syscon";
244 reg = <0x5f800000 0x2000>;
245
246 pinctrl: pinctrl {
247 compatible = "socionext,uniphier-sld8-pinctrl";
248 };
249 };
250
251 timer@60000200 {
252 compatible = "arm,cortex-a9-global-timer";
253 reg = <0x60000200 0x20>;
254 interrupts = <1 11 0x104>;
255 clocks = <&arm_timer_clk>;
256 };
257
258 timer@60000600 {
259 compatible = "arm,cortex-a9-twd-timer";
260 reg = <0x60000600 0x20>;
261 interrupts = <1 13 0x104>;
262 clocks = <&arm_timer_clk>;
263 };
264
265 intc: interrupt-controller@60001000 {
266 compatible = "arm,cortex-a9-gic";
267 reg = <0x60001000 0x1000>,
268 <0x60000100 0x100>;
269 #interrupt-cells = <3>;
270 interrupt-controller;
271 };
272
273 aidet: aidet@61830000 {
274 compatible = "socionext,uniphier-sld8-aidet";
275 reg = <0x61830000 0x200>;
276 interrupt-controller;
277 #interrupt-cells = <2>;
278 };
279
280 sysctrl@61840000 {
281 compatible = "socionext,uniphier-sld8-sysctrl",
282 "simple-mfd", "syscon";
283 reg = <0x61840000 0x10000>;
284
285 sys_clk: clock {
286 compatible = "socionext,uniphier-sld8-clock";
287 #clock-cells = <1>;
288 };
289
290 sys_rst: reset {
291 compatible = "socionext,uniphier-sld8-reset";
292 #reset-cells = <1>;
293 };
294 };
295
296 nand: nand@68000000 {
297 compatible = "socionext,uniphier-denali-nand-v5a";
298 status = "disabled";
299 reg-names = "nand_data", "denali_reg";
300 reg = <0x68000000 0x20>, <0x68100000 0x1000>;
301 interrupts = <0 65 4>;
302 pinctrl-names = "default";
303 pinctrl-0 = <&pinctrl_nand2cs>;
304 clocks = <&sys_clk 2>;
305 };
306 };
307 };
308
309 #include "uniphier-pinctrl.dtsi"