2 * Device Tree Source for UniPhier LD11 SoC
4 * Copyright (C) 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>
13 /memreserve/ 0x80000000 0x02000000;
16 compatible = "socionext,uniphier-ld11";
19 interrupt-parent = <&gic>;
38 compatible = "arm,cortex-a53", "arm,armv8";
40 clocks = <&sys_clk 33>;
41 enable-method = "psci";
42 operating-points-v2 = <&cluster0_opp>;
47 compatible = "arm,cortex-a53", "arm,armv8";
49 clocks = <&sys_clk 33>;
50 enable-method = "psci";
51 operating-points-v2 = <&cluster0_opp>;
55 cluster0_opp: opp-table {
56 compatible = "operating-points-v2";
60 opp-hz = /bits/ 64 <245000000>;
61 clock-latency-ns = <300>;
64 opp-hz = /bits/ 64 <250000000>;
65 clock-latency-ns = <300>;
68 opp-hz = /bits/ 64 <490000000>;
69 clock-latency-ns = <300>;
72 opp-hz = /bits/ 64 <500000000>;
73 clock-latency-ns = <300>;
76 opp-hz = /bits/ 64 <653334000>;
77 clock-latency-ns = <300>;
80 opp-hz = /bits/ 64 <666667000>;
81 clock-latency-ns = <300>;
84 opp-hz = /bits/ 64 <980000000>;
85 clock-latency-ns = <300>;
90 compatible = "arm,psci-1.0";
96 compatible = "fixed-clock";
98 clock-frequency = <25000000>;
102 emmc_pwrseq: emmc-pwrseq {
103 compatible = "mmc-pwrseq-emmc";
104 reset-gpios = <&gpio UNIPHIER_GPIO_PORT(3, 2) GPIO_ACTIVE_LOW>;
108 compatible = "arm,armv8-timer";
109 interrupts = <1 13 4>,
116 compatible = "simple-bus";
117 #address-cells = <1>;
119 ranges = <0 0 0 0xffffffff>;
121 serial0: serial@54006800 {
122 compatible = "socionext,uniphier-uart";
124 reg = <0x54006800 0x40>;
125 interrupts = <0 33 4>;
126 pinctrl-names = "default";
127 pinctrl-0 = <&pinctrl_uart0>;
128 clocks = <&peri_clk 0>;
129 resets = <&peri_rst 0>;
132 serial1: serial@54006900 {
133 compatible = "socionext,uniphier-uart";
135 reg = <0x54006900 0x40>;
136 interrupts = <0 35 4>;
137 pinctrl-names = "default";
138 pinctrl-0 = <&pinctrl_uart1>;
139 clocks = <&peri_clk 1>;
140 resets = <&peri_rst 1>;
143 serial2: serial@54006a00 {
144 compatible = "socionext,uniphier-uart";
146 reg = <0x54006a00 0x40>;
147 interrupts = <0 37 4>;
148 pinctrl-names = "default";
149 pinctrl-0 = <&pinctrl_uart2>;
150 clocks = <&peri_clk 2>;
151 resets = <&peri_rst 2>;
154 serial3: serial@54006b00 {
155 compatible = "socionext,uniphier-uart";
157 reg = <0x54006b00 0x40>;
158 interrupts = <0 177 4>;
159 pinctrl-names = "default";
160 pinctrl-0 = <&pinctrl_uart3>;
161 clocks = <&peri_clk 3>;
162 resets = <&peri_rst 3>;
165 gpio: gpio@55000000 {
166 compatible = "socionext,uniphier-gpio";
167 reg = <0x55000000 0x200>;
168 interrupt-parent = <&aidet>;
169 interrupt-controller;
170 #interrupt-cells = <2>;
173 gpio-ranges = <&pinctrl 0 0 0>,
179 gpio-ranges-group-names = "gpio_range0",
186 socionext,interrupt-ranges = <0 48 16>, <16 154 5>,
191 compatible = "socionext,uniphier-ld11-adamv",
192 "simple-mfd", "syscon";
193 reg = <0x57920000 0x1000>;
196 compatible = "socionext,uniphier-ld11-adamv-reset";
202 compatible = "socionext,uniphier-fi2c";
204 reg = <0x58780000 0x80>;
205 #address-cells = <1>;
207 interrupts = <0 41 4>;
208 pinctrl-names = "default";
209 pinctrl-0 = <&pinctrl_i2c0>;
210 clocks = <&peri_clk 4>;
211 resets = <&peri_rst 4>;
212 clock-frequency = <100000>;
216 compatible = "socionext,uniphier-fi2c";
218 reg = <0x58781000 0x80>;
219 #address-cells = <1>;
221 interrupts = <0 42 4>;
222 pinctrl-names = "default";
223 pinctrl-0 = <&pinctrl_i2c1>;
224 clocks = <&peri_clk 5>;
225 resets = <&peri_rst 5>;
226 clock-frequency = <100000>;
230 compatible = "socionext,uniphier-fi2c";
231 reg = <0x58782000 0x80>;
232 #address-cells = <1>;
234 interrupts = <0 43 4>;
235 clocks = <&peri_clk 6>;
236 resets = <&peri_rst 6>;
237 clock-frequency = <400000>;
241 compatible = "socionext,uniphier-fi2c";
243 reg = <0x58783000 0x80>;
244 #address-cells = <1>;
246 interrupts = <0 44 4>;
247 pinctrl-names = "default";
248 pinctrl-0 = <&pinctrl_i2c3>;
249 clocks = <&peri_clk 7>;
250 resets = <&peri_rst 7>;
251 clock-frequency = <100000>;
255 compatible = "socionext,uniphier-fi2c";
257 reg = <0x58784000 0x80>;
258 #address-cells = <1>;
260 interrupts = <0 45 4>;
261 pinctrl-names = "default";
262 pinctrl-0 = <&pinctrl_i2c4>;
263 clocks = <&peri_clk 8>;
264 resets = <&peri_rst 8>;
265 clock-frequency = <100000>;
269 compatible = "socionext,uniphier-fi2c";
270 reg = <0x58785000 0x80>;
271 #address-cells = <1>;
273 interrupts = <0 25 4>;
274 clocks = <&peri_clk 9>;
275 resets = <&peri_rst 9>;
276 clock-frequency = <400000>;
279 system_bus: system-bus@58c00000 {
280 compatible = "socionext,uniphier-system-bus";
282 reg = <0x58c00000 0x400>;
283 #address-cells = <2>;
285 pinctrl-names = "default";
286 pinctrl-0 = <&pinctrl_system_bus>;
290 compatible = "socionext,uniphier-smpctrl";
291 reg = <0x59801000 0x400>;
295 compatible = "socionext,uniphier-ld11-sdctrl",
296 "simple-mfd", "syscon";
297 reg = <0x59810000 0x400>;
300 compatible = "socionext,uniphier-ld11-sd-reset";
306 compatible = "socionext,uniphier-ld11-perictrl",
307 "simple-mfd", "syscon";
308 reg = <0x59820000 0x200>;
311 compatible = "socionext,uniphier-ld11-peri-clock";
316 compatible = "socionext,uniphier-ld11-peri-reset";
321 emmc: sdhc@5a000000 {
322 compatible = "socionext,uniphier-sd4hc", "cdns,sd4hc";
323 reg = <0x5a000000 0x400>;
324 interrupts = <0 78 4>;
325 pinctrl-names = "default";
326 pinctrl-0 = <&pinctrl_emmc>;
327 clocks = <&sys_clk 4>;
328 resets = <&sys_rst 4>;
332 mmc-pwrseq = <&emmc_pwrseq>;
333 cdns,phy-input-delay-legacy = <4>;
334 cdns,phy-input-delay-mmc-highspeed = <2>;
335 cdns,phy-input-delay-mmc-ddr = <3>;
336 cdns,phy-dll-delay-sdclk = <21>;
337 cdns,phy-dll-delay-sdclk-hsmmc = <21>;
341 compatible = "socionext,uniphier-ehci", "generic-ehci";
343 reg = <0x5a800100 0x100>;
344 interrupts = <0 243 4>;
345 pinctrl-names = "default";
346 pinctrl-0 = <&pinctrl_usb0>;
347 clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 8>,
349 resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 8>,
351 has-transaction-translator;
355 compatible = "socionext,uniphier-ehci", "generic-ehci";
357 reg = <0x5a810100 0x100>;
358 interrupts = <0 244 4>;
359 pinctrl-names = "default";
360 pinctrl-0 = <&pinctrl_usb1>;
361 clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 9>,
363 resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 9>,
365 has-transaction-translator;
369 compatible = "socionext,uniphier-ehci", "generic-ehci";
371 reg = <0x5a820100 0x100>;
372 interrupts = <0 245 4>;
373 pinctrl-names = "default";
374 pinctrl-0 = <&pinctrl_usb2>;
375 clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 10>,
377 resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 10>,
379 has-transaction-translator;
383 compatible = "socionext,uniphier-ld11-mioctrl",
384 "simple-mfd", "syscon";
385 reg = <0x5b3e0000 0x800>;
388 compatible = "socionext,uniphier-ld11-mio-clock";
393 compatible = "socionext,uniphier-ld11-mio-reset";
395 resets = <&sys_rst 7>;
400 compatible = "socionext,uniphier-ld11-soc-glue",
401 "simple-mfd", "syscon";
402 reg = <0x5f800000 0x2000>;
405 compatible = "socionext,uniphier-ld11-pinctrl";
410 compatible = "socionext,uniphier-ld11-soc-glue-debug",
412 #address-cells = <1>;
414 ranges = <0 0x5f900000 0x2000>;
417 compatible = "socionext,uniphier-efuse";
422 compatible = "socionext,uniphier-efuse";
427 aidet: aidet@5fc20000 {
428 compatible = "socionext,uniphier-ld11-aidet";
429 reg = <0x5fc20000 0x200>;
430 interrupt-controller;
431 #interrupt-cells = <2>;
434 gic: interrupt-controller@5fe00000 {
435 compatible = "arm,gic-v3";
436 reg = <0x5fe00000 0x10000>, /* GICD */
437 <0x5fe40000 0x80000>; /* GICR */
438 interrupt-controller;
439 #interrupt-cells = <3>;
440 interrupts = <1 9 4>;
444 compatible = "socionext,uniphier-ld11-sysctrl",
445 "simple-mfd", "syscon";
446 reg = <0x61840000 0x10000>;
449 compatible = "socionext,uniphier-ld11-clock";
454 compatible = "socionext,uniphier-ld11-reset";
459 compatible = "socionext,uniphier-wdt";
463 nand: nand@68000000 {
464 compatible = "socionext,uniphier-denali-nand-v5b";
466 reg-names = "nand_data", "denali_reg";
467 reg = <0x68000000 0x20>, <0x68100000 0x1000>;
468 interrupts = <0 65 4>;
469 pinctrl-names = "default";
470 pinctrl-0 = <&pinctrl_nand>;
471 clocks = <&sys_clk 2>;
472 resets = <&sys_rst 2>;
477 #include "uniphier-pinctrl.dtsi"