2 * Device Tree Source for UniPhier LD20 SoC
4 * Copyright (C) 2015-2016 Socionext Inc.
5 * Author: Masahiro Yamada <yamada.masahiro@socionext.com>
7 * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
10 #include <dt-bindings/thermal/thermal.h>
12 /memreserve/ 0x80000000 0x02000000;
15 compatible = "socionext,uniphier-ld20";
18 interrupt-parent = <&gic>;
46 compatible = "arm,cortex-a72", "arm,armv8";
48 clocks = <&sys_clk 32>;
49 enable-method = "psci";
50 operating-points-v2 = <&cluster0_opp>;
56 compatible = "arm,cortex-a72", "arm,armv8";
58 clocks = <&sys_clk 32>;
59 enable-method = "psci";
60 operating-points-v2 = <&cluster0_opp>;
65 compatible = "arm,cortex-a53", "arm,armv8";
67 clocks = <&sys_clk 33>;
68 enable-method = "psci";
69 operating-points-v2 = <&cluster1_opp>;
75 compatible = "arm,cortex-a53", "arm,armv8";
77 clocks = <&sys_clk 33>;
78 enable-method = "psci";
79 operating-points-v2 = <&cluster1_opp>;
83 cluster0_opp: opp_table0 {
84 compatible = "operating-points-v2";
88 opp-hz = /bits/ 64 <250000000>;
89 clock-latency-ns = <300>;
92 opp-hz = /bits/ 64 <275000000>;
93 clock-latency-ns = <300>;
96 opp-hz = /bits/ 64 <500000000>;
97 clock-latency-ns = <300>;
100 opp-hz = /bits/ 64 <550000000>;
101 clock-latency-ns = <300>;
104 opp-hz = /bits/ 64 <666667000>;
105 clock-latency-ns = <300>;
108 opp-hz = /bits/ 64 <733334000>;
109 clock-latency-ns = <300>;
112 opp-hz = /bits/ 64 <1000000000>;
113 clock-latency-ns = <300>;
116 opp-hz = /bits/ 64 <1100000000>;
117 clock-latency-ns = <300>;
121 cluster1_opp: opp_table1 {
122 compatible = "operating-points-v2";
126 opp-hz = /bits/ 64 <250000000>;
127 clock-latency-ns = <300>;
130 opp-hz = /bits/ 64 <275000000>;
131 clock-latency-ns = <300>;
134 opp-hz = /bits/ 64 <500000000>;
135 clock-latency-ns = <300>;
138 opp-hz = /bits/ 64 <550000000>;
139 clock-latency-ns = <300>;
142 opp-hz = /bits/ 64 <666667000>;
143 clock-latency-ns = <300>;
146 opp-hz = /bits/ 64 <733334000>;
147 clock-latency-ns = <300>;
150 opp-hz = /bits/ 64 <1000000000>;
151 clock-latency-ns = <300>;
154 opp-hz = /bits/ 64 <1100000000>;
155 clock-latency-ns = <300>;
160 compatible = "arm,psci-1.0";
166 compatible = "fixed-clock";
168 clock-frequency = <25000000>;
173 compatible = "arm,armv8-timer";
174 interrupts = <1 13 4>,
182 polling-delay-passive = <250>; /* 250ms */
183 polling-delay = <1000>; /* 1000ms */
184 thermal-sensors = <&pvtctl>;
188 temperature = <110000>; /* 110C */
192 cpu_alert: cpu-alert {
193 temperature = <100000>; /* 100C */
202 cooling-device = <&cpu0
203 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
207 cooling-device = <&cpu2
208 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
215 compatible = "simple-bus";
216 #address-cells = <1>;
218 ranges = <0 0 0 0xffffffff>;
220 serial0: serial@54006800 {
221 compatible = "socionext,uniphier-uart";
223 reg = <0x54006800 0x40>;
224 interrupts = <0 33 4>;
225 pinctrl-names = "default";
226 pinctrl-0 = <&pinctrl_uart0>;
227 clocks = <&peri_clk 0>;
230 serial1: serial@54006900 {
231 compatible = "socionext,uniphier-uart";
233 reg = <0x54006900 0x40>;
234 interrupts = <0 35 4>;
235 pinctrl-names = "default";
236 pinctrl-0 = <&pinctrl_uart1>;
237 clocks = <&peri_clk 1>;
240 serial2: serial@54006a00 {
241 compatible = "socionext,uniphier-uart";
243 reg = <0x54006a00 0x40>;
244 interrupts = <0 37 4>;
245 pinctrl-names = "default";
246 pinctrl-0 = <&pinctrl_uart2>;
247 clocks = <&peri_clk 2>;
250 serial3: serial@54006b00 {
251 compatible = "socionext,uniphier-uart";
253 reg = <0x54006b00 0x40>;
254 interrupts = <0 177 4>;
255 pinctrl-names = "default";
256 pinctrl-0 = <&pinctrl_uart3>;
257 clocks = <&peri_clk 3>;
261 compatible = "socionext,uniphier-ld20-adamv",
262 "simple-mfd", "syscon";
263 reg = <0x57920000 0x1000>;
266 compatible = "socionext,uniphier-ld20-adamv-reset";
272 compatible = "socionext,uniphier-fi2c";
274 reg = <0x58780000 0x80>;
275 #address-cells = <1>;
277 interrupts = <0 41 4>;
278 pinctrl-names = "default";
279 pinctrl-0 = <&pinctrl_i2c0>;
280 clocks = <&peri_clk 4>;
281 clock-frequency = <100000>;
285 compatible = "socionext,uniphier-fi2c";
287 reg = <0x58781000 0x80>;
288 #address-cells = <1>;
290 interrupts = <0 42 4>;
291 pinctrl-names = "default";
292 pinctrl-0 = <&pinctrl_i2c1>;
293 clocks = <&peri_clk 5>;
294 clock-frequency = <100000>;
298 compatible = "socionext,uniphier-fi2c";
299 reg = <0x58782000 0x80>;
300 #address-cells = <1>;
302 interrupts = <0 43 4>;
303 clocks = <&peri_clk 6>;
304 clock-frequency = <400000>;
308 compatible = "socionext,uniphier-fi2c";
310 reg = <0x58783000 0x80>;
311 #address-cells = <1>;
313 interrupts = <0 44 4>;
314 pinctrl-names = "default";
315 pinctrl-0 = <&pinctrl_i2c3>;
316 clocks = <&peri_clk 7>;
317 clock-frequency = <100000>;
321 compatible = "socionext,uniphier-fi2c";
323 reg = <0x58784000 0x80>;
324 #address-cells = <1>;
326 interrupts = <0 45 4>;
327 pinctrl-names = "default";
328 pinctrl-0 = <&pinctrl_i2c4>;
329 clocks = <&peri_clk 8>;
330 clock-frequency = <100000>;
334 compatible = "socionext,uniphier-fi2c";
335 reg = <0x58785000 0x80>;
336 #address-cells = <1>;
338 interrupts = <0 25 4>;
339 clocks = <&peri_clk 9>;
340 clock-frequency = <400000>;
343 system_bus: system-bus@58c00000 {
344 compatible = "socionext,uniphier-system-bus";
346 reg = <0x58c00000 0x400>;
347 #address-cells = <2>;
349 pinctrl-names = "default";
350 pinctrl-0 = <&pinctrl_system_bus>;
354 compatible = "socionext,uniphier-smpctrl";
355 reg = <0x59801000 0x400>;
359 compatible = "socionext,uniphier-ld20-sdctrl",
360 "simple-mfd", "syscon";
361 reg = <0x59810000 0x400>;
364 compatible = "socionext,uniphier-ld20-sd-clock";
369 compatible = "socionext,uniphier-ld20-sd-reset";
375 compatible = "socionext,uniphier-ld20-perictrl",
376 "simple-mfd", "syscon";
377 reg = <0x59820000 0x200>;
380 compatible = "socionext,uniphier-ld20-peri-clock";
385 compatible = "socionext,uniphier-ld20-peri-reset";
390 emmc: sdhc@5a000000 {
391 compatible = "socionext,uniphier-sd4hc", "cdns,sd4hc";
392 reg = <0x5a000000 0x400>;
393 interrupts = <0 78 4>;
394 pinctrl-names = "default";
395 pinctrl-0 = <&pinctrl_emmc>;
396 clocks = <&sys_clk 4>;
400 cdns,phy-input-delay-legacy = <4>;
401 cdns,phy-input-delay-mmc-highspeed = <2>;
402 cdns,phy-input-delay-mmc-ddr = <3>;
403 cdns,phy-dll-delay-sdclk = <21>;
404 cdns,phy-dll-delay-sdclk-hsmmc = <21>;
408 compatible = "socionext,uniphier-ld20-soc-glue",
409 "simple-mfd", "syscon";
410 reg = <0x5f800000 0x2000>;
413 compatible = "socionext,uniphier-ld20-pinctrl";
418 compatible = "socionext,uniphier-ld20-soc-glue-debug",
420 #address-cells = <1>;
422 ranges = <0 0x5f900000 0x2000>;
425 compatible = "socionext,uniphier-efuse";
430 compatible = "socionext,uniphier-efuse";
435 aidet: aidet@5fc20000 {
436 compatible = "socionext,uniphier-ld20-aidet";
437 reg = <0x5fc20000 0x200>;
438 interrupt-controller;
439 #interrupt-cells = <2>;
442 gic: interrupt-controller@5fe00000 {
443 compatible = "arm,gic-v3";
444 reg = <0x5fe00000 0x10000>, /* GICD */
445 <0x5fe80000 0x80000>; /* GICR */
446 interrupt-controller;
447 #interrupt-cells = <3>;
448 interrupts = <1 9 4>;
452 compatible = "socionext,uniphier-ld20-sysctrl",
453 "simple-mfd", "syscon";
454 reg = <0x61840000 0x10000>;
457 compatible = "socionext,uniphier-ld20-clock";
462 compatible = "socionext,uniphier-ld20-reset";
467 compatible = "socionext,uniphier-wdt";
471 compatible = "socionext,uniphier-ld20-thermal";
472 interrupts = <0 3 4>;
473 #thermal-sensor-cells = <0>;
474 socionext,tmod-calibration = <0x0f22 0x68ee>;
478 nand: nand@68000000 {
479 compatible = "socionext,uniphier-denali-nand-v5b";
481 reg-names = "nand_data", "denali_reg";
482 reg = <0x68000000 0x20>, <0x68100000 0x1000>;
483 interrupts = <0 65 4>;
484 pinctrl-names = "default";
485 pinctrl-0 = <&pinctrl_nand>;
486 clocks = <&sys_clk 2>;
491 #include "uniphier-pinctrl.dtsi"