1 // SPDX-License-Identifier: GPL-2.0+ OR MIT
3 // Device Tree Source for UniPhier Pro5 SoC
5 // Copyright (C) 2015-2016 Socionext Inc.
6 // Author: Masahiro Yamada <yamada.masahiro@socionext.com>
9 compatible = "socionext,uniphier-pro5";
19 compatible = "arm,cortex-a9";
21 clocks = <&sys_clk 32>;
22 enable-method = "psci";
23 next-level-cache = <&l2>;
24 operating-points-v2 = <&cpu_opp>;
29 compatible = "arm,cortex-a9";
31 clocks = <&sys_clk 32>;
32 enable-method = "psci";
33 next-level-cache = <&l2>;
34 operating-points-v2 = <&cpu_opp>;
39 compatible = "operating-points-v2";
43 opp-hz = /bits/ 64 <100000000>;
44 clock-latency-ns = <300>;
47 opp-hz = /bits/ 64 <116667000>;
48 clock-latency-ns = <300>;
51 opp-hz = /bits/ 64 <150000000>;
52 clock-latency-ns = <300>;
55 opp-hz = /bits/ 64 <175000000>;
56 clock-latency-ns = <300>;
59 opp-hz = /bits/ 64 <200000000>;
60 clock-latency-ns = <300>;
63 opp-hz = /bits/ 64 <233334000>;
64 clock-latency-ns = <300>;
67 opp-hz = /bits/ 64 <300000000>;
68 clock-latency-ns = <300>;
71 opp-hz = /bits/ 64 <350000000>;
72 clock-latency-ns = <300>;
75 opp-hz = /bits/ 64 <400000000>;
76 clock-latency-ns = <300>;
79 opp-hz = /bits/ 64 <466667000>;
80 clock-latency-ns = <300>;
83 opp-hz = /bits/ 64 <600000000>;
84 clock-latency-ns = <300>;
87 opp-hz = /bits/ 64 <700000000>;
88 clock-latency-ns = <300>;
91 opp-hz = /bits/ 64 <800000000>;
92 clock-latency-ns = <300>;
95 opp-hz = /bits/ 64 <933334000>;
96 clock-latency-ns = <300>;
99 opp-hz = /bits/ 64 <1200000000>;
100 clock-latency-ns = <300>;
103 opp-hz = /bits/ 64 <1400000000>;
104 clock-latency-ns = <300>;
109 compatible = "arm,psci-0.2";
115 compatible = "fixed-clock";
117 clock-frequency = <20000000>;
120 arm_timer_clk: arm-timer {
122 compatible = "fixed-clock";
123 clock-frequency = <50000000>;
128 compatible = "simple-bus";
129 #address-cells = <1>;
132 interrupt-parent = <&intc>;
134 l2: l2-cache@500c0000 {
135 compatible = "socionext,uniphier-system-cache";
136 reg = <0x500c0000 0x2000>, <0x503c0100 0x8>,
138 interrupts = <0 190 4>, <0 191 4>;
140 cache-size = <(2 * 1024 * 1024)>;
142 cache-line-size = <128>;
144 next-level-cache = <&l3>;
147 l3: l3-cache@500c8000 {
148 compatible = "socionext,uniphier-system-cache";
149 reg = <0x500c8000 0x2000>, <0x503c8100 0x8>,
151 interrupts = <0 174 4>, <0 175 4>;
153 cache-size = <(2 * 1024 * 1024)>;
155 cache-line-size = <256>;
160 compatible = "socionext,uniphier-scssi";
162 reg = <0x54006000 0x100>;
163 interrupts = <0 39 4>;
164 pinctrl-names = "default";
165 pinctrl-0 = <&pinctrl_spi0>;
166 clocks = <&peri_clk 11>;
167 resets = <&peri_rst 11>;
171 compatible = "socionext,uniphier-scssi";
173 reg = <0x54006100 0x100>;
174 interrupts = <0 216 4>;
175 pinctrl-names = "default";
176 pinctrl-0 = <&pinctrl_spi1>;
177 clocks = <&peri_clk 11>;
178 resets = <&peri_rst 11>;
181 serial0: serial@54006800 {
182 compatible = "socionext,uniphier-uart";
184 reg = <0x54006800 0x40>;
185 interrupts = <0 33 4>;
186 pinctrl-names = "default";
187 pinctrl-0 = <&pinctrl_uart0>;
188 clocks = <&peri_clk 0>;
189 resets = <&peri_rst 0>;
192 serial1: serial@54006900 {
193 compatible = "socionext,uniphier-uart";
195 reg = <0x54006900 0x40>;
196 interrupts = <0 35 4>;
197 pinctrl-names = "default";
198 pinctrl-0 = <&pinctrl_uart1>;
199 clocks = <&peri_clk 1>;
200 resets = <&peri_rst 1>;
203 serial2: serial@54006a00 {
204 compatible = "socionext,uniphier-uart";
206 reg = <0x54006a00 0x40>;
207 interrupts = <0 37 4>;
208 pinctrl-names = "default";
209 pinctrl-0 = <&pinctrl_uart2>;
210 clocks = <&peri_clk 2>;
211 resets = <&peri_rst 2>;
214 serial3: serial@54006b00 {
215 compatible = "socionext,uniphier-uart";
217 reg = <0x54006b00 0x40>;
218 interrupts = <0 177 4>;
219 pinctrl-names = "default";
220 pinctrl-0 = <&pinctrl_uart3>;
221 clocks = <&peri_clk 3>;
222 resets = <&peri_rst 3>;
225 gpio: gpio@55000000 {
226 compatible = "socionext,uniphier-gpio";
227 reg = <0x55000000 0x200>;
228 interrupt-parent = <&aidet>;
229 interrupt-controller;
230 #interrupt-cells = <2>;
233 gpio-ranges = <&pinctrl 0 0 0>;
234 gpio-ranges-group-names = "gpio_range";
236 socionext,interrupt-ranges = <0 48 16>, <16 154 5>;
240 compatible = "socionext,uniphier-fi2c";
242 reg = <0x58780000 0x80>;
243 #address-cells = <1>;
245 interrupts = <0 41 4>;
246 pinctrl-names = "default";
247 pinctrl-0 = <&pinctrl_i2c0>;
248 clocks = <&peri_clk 4>;
249 resets = <&peri_rst 4>;
250 clock-frequency = <100000>;
254 compatible = "socionext,uniphier-fi2c";
256 reg = <0x58781000 0x80>;
257 #address-cells = <1>;
259 interrupts = <0 42 4>;
260 pinctrl-names = "default";
261 pinctrl-0 = <&pinctrl_i2c1>;
262 clocks = <&peri_clk 5>;
263 resets = <&peri_rst 5>;
264 clock-frequency = <100000>;
268 compatible = "socionext,uniphier-fi2c";
270 reg = <0x58782000 0x80>;
271 #address-cells = <1>;
273 interrupts = <0 43 4>;
274 pinctrl-names = "default";
275 pinctrl-0 = <&pinctrl_i2c2>;
276 clocks = <&peri_clk 6>;
277 resets = <&peri_rst 6>;
278 clock-frequency = <100000>;
282 compatible = "socionext,uniphier-fi2c";
284 reg = <0x58783000 0x80>;
285 #address-cells = <1>;
287 interrupts = <0 44 4>;
288 pinctrl-names = "default";
289 pinctrl-0 = <&pinctrl_i2c3>;
290 clocks = <&peri_clk 7>;
291 resets = <&peri_rst 7>;
292 clock-frequency = <100000>;
295 /* i2c4 does not exist */
297 /* chip-internal connection for DMD */
299 compatible = "socionext,uniphier-fi2c";
300 reg = <0x58785000 0x80>;
301 #address-cells = <1>;
303 interrupts = <0 25 4>;
304 clocks = <&peri_clk 9>;
305 resets = <&peri_rst 9>;
306 clock-frequency = <400000>;
309 /* chip-internal connection for HDMI */
311 compatible = "socionext,uniphier-fi2c";
312 reg = <0x58786000 0x80>;
313 #address-cells = <1>;
315 interrupts = <0 26 4>;
316 clocks = <&peri_clk 10>;
317 resets = <&peri_rst 10>;
318 clock-frequency = <400000>;
321 system_bus: system-bus@58c00000 {
322 compatible = "socionext,uniphier-system-bus";
324 reg = <0x58c00000 0x400>;
325 #address-cells = <2>;
327 pinctrl-names = "default";
328 pinctrl-0 = <&pinctrl_system_bus>;
332 compatible = "socionext,uniphier-smpctrl";
333 reg = <0x59801000 0x400>;
337 compatible = "socionext,uniphier-pro5-sdctrl",
338 "simple-mfd", "syscon";
339 reg = <0x59810000 0x400>;
342 compatible = "socionext,uniphier-pro5-sd-clock";
347 compatible = "socionext,uniphier-pro5-sd-reset";
353 compatible = "socionext,uniphier-pro5-perictrl",
354 "simple-mfd", "syscon";
355 reg = <0x59820000 0x200>;
358 compatible = "socionext,uniphier-pro5-peri-clock";
363 compatible = "socionext,uniphier-pro5-peri-reset";
369 compatible = "socionext,uniphier-pro5-soc-glue",
370 "simple-mfd", "syscon";
371 reg = <0x5f800000 0x2000>;
374 compatible = "socionext,uniphier-pro5-pinctrl";
379 compatible = "socionext,uniphier-pro5-soc-glue-debug",
381 #address-cells = <1>;
383 ranges = <0 0x5f900000 0x2000>;
386 compatible = "socionext,uniphier-efuse";
391 compatible = "socionext,uniphier-efuse";
396 compatible = "socionext,uniphier-efuse";
401 compatible = "socionext,uniphier-efuse";
406 compatible = "socionext,uniphier-efuse";
411 aidet: aidet@5fc20000 {
412 compatible = "socionext,uniphier-pro5-aidet";
413 reg = <0x5fc20000 0x200>;
414 interrupt-controller;
415 #interrupt-cells = <2>;
419 compatible = "arm,cortex-a9-global-timer";
420 reg = <0x60000200 0x20>;
421 interrupts = <1 11 0x304>;
422 clocks = <&arm_timer_clk>;
426 compatible = "arm,cortex-a9-twd-timer";
427 reg = <0x60000600 0x20>;
428 interrupts = <1 13 0x304>;
429 clocks = <&arm_timer_clk>;
432 intc: interrupt-controller@60001000 {
433 compatible = "arm,cortex-a9-gic";
434 reg = <0x60001000 0x1000>,
436 #interrupt-cells = <3>;
437 interrupt-controller;
441 compatible = "socionext,uniphier-pro5-sysctrl",
442 "simple-mfd", "syscon";
443 reg = <0x61840000 0x10000>;
446 compatible = "socionext,uniphier-pro5-clock";
451 compatible = "socionext,uniphier-pro5-reset";
456 nand: nand@68000000 {
457 compatible = "socionext,uniphier-denali-nand-v5b";
459 reg-names = "nand_data", "denali_reg";
460 reg = <0x68000000 0x20>, <0x68100000 0x1000>;
461 #address-cells = <1>;
463 interrupts = <0 65 4>;
464 pinctrl-names = "default";
465 pinctrl-0 = <&pinctrl_nand>;
466 clock-names = "nand", "nand_x", "ecc";
467 clocks = <&sys_clk 2>, <&sys_clk 3>, <&sys_clk 3>;
468 resets = <&sys_rst 2>;
471 emmc: sdhc@68400000 {
472 compatible = "socionext,uniphier-sd-v3.1";
474 reg = <0x68400000 0x800>;
475 interrupts = <0 78 4>;
476 pinctrl-names = "default";
477 pinctrl-0 = <&pinctrl_emmc>;
478 clocks = <&sd_clk 1>;
479 reset-names = "host", "hw";
480 resets = <&sd_rst 1>, <&sd_rst 6>;
488 compatible = "socionext,uniphier-sd-v3.1";
490 reg = <0x68800000 0x800>;
491 interrupts = <0 76 4>;
492 pinctrl-names = "default", "uhs";
493 pinctrl-0 = <&pinctrl_sd>;
494 pinctrl-1 = <&pinctrl_sd_uhs>;
495 clocks = <&sd_clk 0>;
496 reset-names = "host";
497 resets = <&sd_rst 0>;
507 #include "uniphier-pinctrl.dtsi"