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/gpio/gpio.h>
11 #include <dt-bindings/gpio/uniphier-gpio.h>
12 #include <dt-bindings/thermal/thermal.h>
14 /memreserve/ 0x80000000 0x02000000;
17 compatible = "socionext,uniphier-ld20";
20 interrupt-parent = <&gic>;
48 compatible = "arm,cortex-a72", "arm,armv8";
50 clocks = <&sys_clk 32>;
51 enable-method = "psci";
52 operating-points-v2 = <&cluster0_opp>;
58 compatible = "arm,cortex-a72", "arm,armv8";
60 clocks = <&sys_clk 32>;
61 enable-method = "psci";
62 operating-points-v2 = <&cluster0_opp>;
67 compatible = "arm,cortex-a53", "arm,armv8";
69 clocks = <&sys_clk 33>;
70 enable-method = "psci";
71 operating-points-v2 = <&cluster1_opp>;
77 compatible = "arm,cortex-a53", "arm,armv8";
79 clocks = <&sys_clk 33>;
80 enable-method = "psci";
81 operating-points-v2 = <&cluster1_opp>;
85 cluster0_opp: opp-table0 {
86 compatible = "operating-points-v2";
90 opp-hz = /bits/ 64 <250000000>;
91 clock-latency-ns = <300>;
94 opp-hz = /bits/ 64 <275000000>;
95 clock-latency-ns = <300>;
98 opp-hz = /bits/ 64 <500000000>;
99 clock-latency-ns = <300>;
102 opp-hz = /bits/ 64 <550000000>;
103 clock-latency-ns = <300>;
106 opp-hz = /bits/ 64 <666667000>;
107 clock-latency-ns = <300>;
110 opp-hz = /bits/ 64 <733334000>;
111 clock-latency-ns = <300>;
114 opp-hz = /bits/ 64 <1000000000>;
115 clock-latency-ns = <300>;
118 opp-hz = /bits/ 64 <1100000000>;
119 clock-latency-ns = <300>;
123 cluster1_opp: opp-table1 {
124 compatible = "operating-points-v2";
128 opp-hz = /bits/ 64 <250000000>;
129 clock-latency-ns = <300>;
132 opp-hz = /bits/ 64 <275000000>;
133 clock-latency-ns = <300>;
136 opp-hz = /bits/ 64 <500000000>;
137 clock-latency-ns = <300>;
140 opp-hz = /bits/ 64 <550000000>;
141 clock-latency-ns = <300>;
144 opp-hz = /bits/ 64 <666667000>;
145 clock-latency-ns = <300>;
148 opp-hz = /bits/ 64 <733334000>;
149 clock-latency-ns = <300>;
152 opp-hz = /bits/ 64 <1000000000>;
153 clock-latency-ns = <300>;
156 opp-hz = /bits/ 64 <1100000000>;
157 clock-latency-ns = <300>;
162 compatible = "arm,psci-1.0";
168 compatible = "fixed-clock";
170 clock-frequency = <25000000>;
174 emmc_pwrseq: emmc-pwrseq {
175 compatible = "mmc-pwrseq-emmc";
176 reset-gpios = <&gpio UNIPHIER_GPIO_PORT(3, 2) GPIO_ACTIVE_LOW>;
180 compatible = "arm,armv8-timer";
181 interrupts = <1 13 4>,
189 polling-delay-passive = <250>; /* 250ms */
190 polling-delay = <1000>; /* 1000ms */
191 thermal-sensors = <&pvtctl>;
195 temperature = <110000>; /* 110C */
199 cpu_alert: cpu-alert {
200 temperature = <100000>; /* 100C */
209 cooling-device = <&cpu0
210 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
214 cooling-device = <&cpu2
215 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
222 compatible = "simple-bus";
223 #address-cells = <1>;
225 ranges = <0 0 0 0xffffffff>;
227 serial0: serial@54006800 {
228 compatible = "socionext,uniphier-uart";
230 reg = <0x54006800 0x40>;
231 interrupts = <0 33 4>;
232 pinctrl-names = "default";
233 pinctrl-0 = <&pinctrl_uart0>;
234 clocks = <&peri_clk 0>;
235 clock-frequency = <58820000>;
236 resets = <&peri_rst 0>;
239 serial1: serial@54006900 {
240 compatible = "socionext,uniphier-uart";
242 reg = <0x54006900 0x40>;
243 interrupts = <0 35 4>;
244 pinctrl-names = "default";
245 pinctrl-0 = <&pinctrl_uart1>;
246 clocks = <&peri_clk 1>;
247 clock-frequency = <58820000>;
248 resets = <&peri_rst 1>;
251 serial2: serial@54006a00 {
252 compatible = "socionext,uniphier-uart";
254 reg = <0x54006a00 0x40>;
255 interrupts = <0 37 4>;
256 pinctrl-names = "default";
257 pinctrl-0 = <&pinctrl_uart2>;
258 clocks = <&peri_clk 2>;
259 clock-frequency = <58820000>;
260 resets = <&peri_rst 2>;
263 serial3: serial@54006b00 {
264 compatible = "socionext,uniphier-uart";
266 reg = <0x54006b00 0x40>;
267 interrupts = <0 177 4>;
268 pinctrl-names = "default";
269 pinctrl-0 = <&pinctrl_uart3>;
270 clocks = <&peri_clk 3>;
271 clock-frequency = <58820000>;
272 resets = <&peri_rst 3>;
275 gpio: gpio@55000000 {
276 compatible = "socionext,uniphier-gpio";
277 reg = <0x55000000 0x200>;
278 interrupt-parent = <&aidet>;
279 interrupt-controller;
280 #interrupt-cells = <2>;
283 gpio-ranges = <&pinctrl 0 0 0>,
286 gpio-ranges-group-names = "gpio_range0",
290 socionext,interrupt-ranges = <0 48 16>, <16 154 5>,
295 compatible = "socionext,uniphier-ld20-adamv",
296 "simple-mfd", "syscon";
297 reg = <0x57920000 0x1000>;
300 compatible = "socionext,uniphier-ld20-adamv-reset";
306 compatible = "socionext,uniphier-fi2c";
308 reg = <0x58780000 0x80>;
309 #address-cells = <1>;
311 interrupts = <0 41 4>;
312 pinctrl-names = "default";
313 pinctrl-0 = <&pinctrl_i2c0>;
314 clocks = <&peri_clk 4>;
315 resets = <&peri_rst 4>;
316 clock-frequency = <100000>;
320 compatible = "socionext,uniphier-fi2c";
322 reg = <0x58781000 0x80>;
323 #address-cells = <1>;
325 interrupts = <0 42 4>;
326 pinctrl-names = "default";
327 pinctrl-0 = <&pinctrl_i2c1>;
328 clocks = <&peri_clk 5>;
329 resets = <&peri_rst 5>;
330 clock-frequency = <100000>;
334 compatible = "socionext,uniphier-fi2c";
335 reg = <0x58782000 0x80>;
336 #address-cells = <1>;
338 interrupts = <0 43 4>;
339 clocks = <&peri_clk 6>;
340 resets = <&peri_rst 6>;
341 clock-frequency = <400000>;
345 compatible = "socionext,uniphier-fi2c";
347 reg = <0x58783000 0x80>;
348 #address-cells = <1>;
350 interrupts = <0 44 4>;
351 pinctrl-names = "default";
352 pinctrl-0 = <&pinctrl_i2c3>;
353 clocks = <&peri_clk 7>;
354 resets = <&peri_rst 7>;
355 clock-frequency = <100000>;
359 compatible = "socionext,uniphier-fi2c";
361 reg = <0x58784000 0x80>;
362 #address-cells = <1>;
364 interrupts = <0 45 4>;
365 pinctrl-names = "default";
366 pinctrl-0 = <&pinctrl_i2c4>;
367 clocks = <&peri_clk 8>;
368 resets = <&peri_rst 8>;
369 clock-frequency = <100000>;
373 compatible = "socionext,uniphier-fi2c";
374 reg = <0x58785000 0x80>;
375 #address-cells = <1>;
377 interrupts = <0 25 4>;
378 clocks = <&peri_clk 9>;
379 resets = <&peri_rst 9>;
380 clock-frequency = <400000>;
383 system_bus: system-bus@58c00000 {
384 compatible = "socionext,uniphier-system-bus";
386 reg = <0x58c00000 0x400>;
387 #address-cells = <2>;
389 pinctrl-names = "default";
390 pinctrl-0 = <&pinctrl_system_bus>;
394 compatible = "socionext,uniphier-smpctrl";
395 reg = <0x59801000 0x400>;
399 compatible = "socionext,uniphier-ld20-sdctrl",
400 "simple-mfd", "syscon";
401 reg = <0x59810000 0x400>;
404 compatible = "socionext,uniphier-ld20-sd-clock";
409 compatible = "socionext,uniphier-ld20-sd-reset";
415 compatible = "socionext,uniphier-ld20-perictrl",
416 "simple-mfd", "syscon";
417 reg = <0x59820000 0x200>;
420 compatible = "socionext,uniphier-ld20-peri-clock";
425 compatible = "socionext,uniphier-ld20-peri-reset";
430 emmc: sdhc@5a000000 {
431 compatible = "socionext,uniphier-sd4hc", "cdns,sd4hc";
432 reg = <0x5a000000 0x400>;
433 interrupts = <0 78 4>;
434 pinctrl-names = "default";
435 pinctrl-0 = <&pinctrl_emmc_1v8>;
436 clocks = <&sys_clk 4>;
437 resets = <&sys_rst 4>;
441 mmc-pwrseq = <&emmc_pwrseq>;
442 cdns,phy-input-delay-legacy = <4>;
443 cdns,phy-input-delay-mmc-highspeed = <2>;
444 cdns,phy-input-delay-mmc-ddr = <3>;
445 cdns,phy-dll-delay-sdclk = <21>;
446 cdns,phy-dll-delay-sdclk-hsmmc = <21>;
450 compatible = "socionext,uniphier-sdhc";
452 reg = <0x5a400000 0x800>;
453 interrupts = <0 76 4>;
454 pinctrl-names = "default";
455 pinctrl-0 = <&pinctrl_sd>;
456 clocks = <&sd_clk 0>;
457 reset-names = "host";
458 resets = <&sd_rst 0>;
464 compatible = "socionext,uniphier-ld20-soc-glue",
465 "simple-mfd", "syscon";
466 reg = <0x5f800000 0x2000>;
469 compatible = "socionext,uniphier-ld20-pinctrl";
474 compatible = "socionext,uniphier-ld20-soc-glue-debug",
476 #address-cells = <1>;
478 ranges = <0 0x5f900000 0x2000>;
481 compatible = "socionext,uniphier-efuse";
486 compatible = "socionext,uniphier-efuse";
491 aidet: aidet@5fc20000 {
492 compatible = "socionext,uniphier-ld20-aidet";
493 reg = <0x5fc20000 0x200>;
494 interrupt-controller;
495 #interrupt-cells = <2>;
498 gic: interrupt-controller@5fe00000 {
499 compatible = "arm,gic-v3";
500 reg = <0x5fe00000 0x10000>, /* GICD */
501 <0x5fe80000 0x80000>; /* GICR */
502 interrupt-controller;
503 #interrupt-cells = <3>;
504 interrupts = <1 9 4>;
508 compatible = "socionext,uniphier-ld20-sysctrl",
509 "simple-mfd", "syscon";
510 reg = <0x61840000 0x10000>;
513 compatible = "socionext,uniphier-ld20-clock";
518 compatible = "socionext,uniphier-ld20-reset";
523 compatible = "socionext,uniphier-wdt";
527 compatible = "socionext,uniphier-ld20-thermal";
528 interrupts = <0 3 4>;
529 #thermal-sensor-cells = <0>;
530 socionext,tmod-calibration = <0x0f22 0x68ee>;
535 compatible = "socionext,uniphier-ld20-dwc3";
536 reg = <0x65b00000 0x1000>;
537 #address-cells = <1>;
540 pinctrl-names = "default";
541 pinctrl-0 = <&pinctrl_usb0>, <&pinctrl_usb1>,
542 <&pinctrl_usb2>, <&pinctrl_usb3>;
544 compatible = "snps,dwc3";
545 reg = <0x65a00000 0x10000>;
546 interrupts = <0 134 4>;
552 nand: nand@68000000 {
553 compatible = "socionext,uniphier-denali-nand-v5b";
555 reg-names = "nand_data", "denali_reg";
556 reg = <0x68000000 0x20>, <0x68100000 0x1000>;
557 interrupts = <0 65 4>;
558 pinctrl-names = "default";
559 pinctrl-0 = <&pinctrl_nand>;
560 clocks = <&sys_clk 2>;
561 resets = <&sys_rst 2>;
566 #include "uniphier-pinctrl.dtsi"