Annotation of src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/uniphier-sld8.dtsi, Revision 1.1.1.6
1.1.1.5 jmcneill 1: // SPDX-License-Identifier: GPL-2.0+ OR MIT
2: //
3: // Device Tree Source for UniPhier sLD8 SoC
4: //
5: // Copyright (C) 2015-2016 Socionext Inc.
6: // Author: Masahiro Yamada <yamada.masahiro@socionext.com>
7:
8: #include <dt-bindings/gpio/uniphier-gpio.h>
1.1 jmcneill 9:
10: / {
11: compatible = "socionext,uniphier-sld8";
1.1.1.2 jmcneill 12: #address-cells = <1>;
13: #size-cells = <1>;
1.1 jmcneill 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:
1.1.1.4 jmcneill 40: arm_timer_clk: arm-timer {
1.1 jmcneill 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:
1.1.1.6 ! jmcneill 66: spi: spi@54006000 {
! 67: compatible = "socionext,uniphier-scssi";
! 68: status = "disabled";
! 69: reg = <0x54006000 0x100>;
! 70: interrupts = <0 39 4>;
! 71: pinctrl-names = "default";
! 72: pinctrl-0 = <&pinctrl_spi0>;
! 73: clocks = <&peri_clk 11>;
! 74: resets = <&peri_rst 11>;
! 75: };
! 76:
1.1 jmcneill 77: serial0: serial@54006800 {
78: compatible = "socionext,uniphier-uart";
79: status = "disabled";
80: reg = <0x54006800 0x40>;
81: interrupts = <0 33 4>;
82: pinctrl-names = "default";
83: pinctrl-0 = <&pinctrl_uart0>;
84: clocks = <&peri_clk 0>;
1.1.1.4 jmcneill 85: resets = <&peri_rst 0>;
1.1 jmcneill 86: };
87:
88: serial1: serial@54006900 {
89: compatible = "socionext,uniphier-uart";
90: status = "disabled";
91: reg = <0x54006900 0x40>;
92: interrupts = <0 35 4>;
93: pinctrl-names = "default";
94: pinctrl-0 = <&pinctrl_uart1>;
95: clocks = <&peri_clk 1>;
1.1.1.4 jmcneill 96: resets = <&peri_rst 1>;
1.1 jmcneill 97: };
98:
99: serial2: serial@54006a00 {
100: compatible = "socionext,uniphier-uart";
101: status = "disabled";
102: reg = <0x54006a00 0x40>;
103: interrupts = <0 37 4>;
104: pinctrl-names = "default";
105: pinctrl-0 = <&pinctrl_uart2>;
106: clocks = <&peri_clk 2>;
1.1.1.4 jmcneill 107: resets = <&peri_rst 2>;
1.1 jmcneill 108: };
109:
110: serial3: serial@54006b00 {
111: compatible = "socionext,uniphier-uart";
112: status = "disabled";
113: reg = <0x54006b00 0x40>;
114: interrupts = <0 29 4>;
115: pinctrl-names = "default";
116: pinctrl-0 = <&pinctrl_uart3>;
117: clocks = <&peri_clk 3>;
1.1.1.4 jmcneill 118: resets = <&peri_rst 3>;
119: };
120:
121: gpio: gpio@55000000 {
122: compatible = "socionext,uniphier-gpio";
123: reg = <0x55000000 0x200>;
124: interrupt-parent = <&aidet>;
125: interrupt-controller;
126: #interrupt-cells = <2>;
127: gpio-controller;
128: #gpio-cells = <2>;
129: gpio-ranges = <&pinctrl 0 0 0>,
130: <&pinctrl 104 0 0>,
131: <&pinctrl 112 0 0>;
132: gpio-ranges-group-names = "gpio_range0",
133: "gpio_range1",
134: "gpio_range2";
135: ngpios = <136>;
136: socionext,interrupt-ranges = <0 48 13>, <14 62 2>;
1.1 jmcneill 137: };
138:
139: i2c0: i2c@58400000 {
140: compatible = "socionext,uniphier-i2c";
141: status = "disabled";
142: reg = <0x58400000 0x40>;
143: #address-cells = <1>;
144: #size-cells = <0>;
145: interrupts = <0 41 1>;
146: pinctrl-names = "default";
147: pinctrl-0 = <&pinctrl_i2c0>;
148: clocks = <&peri_clk 4>;
1.1.1.4 jmcneill 149: resets = <&peri_rst 4>;
1.1 jmcneill 150: clock-frequency = <100000>;
151: };
152:
153: i2c1: i2c@58480000 {
154: compatible = "socionext,uniphier-i2c";
155: status = "disabled";
156: reg = <0x58480000 0x40>;
157: #address-cells = <1>;
158: #size-cells = <0>;
159: interrupts = <0 42 1>;
160: pinctrl-names = "default";
161: pinctrl-0 = <&pinctrl_i2c1>;
162: clocks = <&peri_clk 5>;
1.1.1.4 jmcneill 163: resets = <&peri_rst 5>;
1.1 jmcneill 164: clock-frequency = <100000>;
165: };
166:
167: /* chip-internal connection for DMD */
168: i2c2: i2c@58500000 {
169: compatible = "socionext,uniphier-i2c";
170: reg = <0x58500000 0x40>;
171: #address-cells = <1>;
172: #size-cells = <0>;
173: interrupts = <0 43 1>;
174: pinctrl-names = "default";
175: pinctrl-0 = <&pinctrl_i2c2>;
176: clocks = <&peri_clk 6>;
1.1.1.4 jmcneill 177: resets = <&peri_rst 6>;
1.1 jmcneill 178: clock-frequency = <400000>;
179: };
180:
181: i2c3: i2c@58580000 {
182: compatible = "socionext,uniphier-i2c";
183: status = "disabled";
184: reg = <0x58580000 0x40>;
185: #address-cells = <1>;
186: #size-cells = <0>;
187: interrupts = <0 44 1>;
188: pinctrl-names = "default";
189: pinctrl-0 = <&pinctrl_i2c3>;
190: clocks = <&peri_clk 7>;
1.1.1.4 jmcneill 191: resets = <&peri_rst 7>;
1.1 jmcneill 192: clock-frequency = <100000>;
193: };
194:
195: system_bus: system-bus@58c00000 {
196: compatible = "socionext,uniphier-system-bus";
197: status = "disabled";
198: reg = <0x58c00000 0x400>;
199: #address-cells = <2>;
200: #size-cells = <1>;
201: pinctrl-names = "default";
202: pinctrl-0 = <&pinctrl_system_bus>;
203: };
204:
1.1.1.3 jmcneill 205: smpctrl@59801000 {
1.1 jmcneill 206: compatible = "socionext,uniphier-smpctrl";
207: reg = <0x59801000 0x400>;
208: };
209:
210: mioctrl@59810000 {
211: compatible = "socionext,uniphier-sld8-mioctrl",
212: "simple-mfd", "syscon";
213: reg = <0x59810000 0x800>;
214:
215: mio_clk: clock {
216: compatible = "socionext,uniphier-sld8-mio-clock";
217: #clock-cells = <1>;
218: };
219:
220: mio_rst: reset {
221: compatible = "socionext,uniphier-sld8-mio-reset";
222: #reset-cells = <1>;
223: };
224: };
225:
226: perictrl@59820000 {
227: compatible = "socionext,uniphier-sld8-perictrl",
228: "simple-mfd", "syscon";
229: reg = <0x59820000 0x200>;
230:
231: peri_clk: clock {
232: compatible = "socionext,uniphier-sld8-peri-clock";
233: #clock-cells = <1>;
234: };
235:
236: peri_rst: reset {
237: compatible = "socionext,uniphier-sld8-peri-reset";
238: #reset-cells = <1>;
239: };
240: };
241:
1.1.1.6 ! jmcneill 242: sd: sdhc@5a400000 {
! 243: compatible = "socionext,uniphier-sd-v2.91";
! 244: status = "disabled";
! 245: reg = <0x5a400000 0x200>;
! 246: interrupts = <0 76 4>;
! 247: pinctrl-names = "default", "uhs";
! 248: pinctrl-0 = <&pinctrl_sd>;
! 249: pinctrl-1 = <&pinctrl_sd_uhs>;
! 250: clocks = <&mio_clk 0>;
! 251: reset-names = "host", "bridge";
! 252: resets = <&mio_rst 0>, <&mio_rst 3>;
! 253: bus-width = <4>;
! 254: cap-sd-highspeed;
! 255: sd-uhs-sdr12;
! 256: sd-uhs-sdr25;
! 257: sd-uhs-sdr50;
! 258: };
! 259:
! 260: emmc: sdhc@5a500000 {
! 261: compatible = "socionext,uniphier-sd-v2.91";
! 262: status = "disabled";
! 263: reg = <0x5a500000 0x200>;
! 264: interrupts = <0 78 4>;
! 265: pinctrl-names = "default";
! 266: pinctrl-0 = <&pinctrl_emmc>;
! 267: clocks = <&mio_clk 1>;
! 268: reset-names = "host", "bridge", "hw";
! 269: resets = <&mio_rst 1>, <&mio_rst 4>, <&mio_rst 6>;
! 270: bus-width = <8>;
! 271: cap-mmc-highspeed;
! 272: cap-mmc-hw-reset;
! 273: non-removable;
! 274: };
! 275:
1.1 jmcneill 276: usb0: usb@5a800100 {
277: compatible = "socionext,uniphier-ehci", "generic-ehci";
278: status = "disabled";
279: reg = <0x5a800100 0x100>;
280: interrupts = <0 80 4>;
281: pinctrl-names = "default";
282: pinctrl-0 = <&pinctrl_usb0>;
1.1.1.4 jmcneill 283: clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 8>,
284: <&mio_clk 12>;
1.1 jmcneill 285: resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 8>,
286: <&mio_rst 12>;
1.1.1.5 jmcneill 287: has-transaction-translator;
1.1 jmcneill 288: };
289:
290: usb1: usb@5a810100 {
291: compatible = "socionext,uniphier-ehci", "generic-ehci";
292: status = "disabled";
293: reg = <0x5a810100 0x100>;
294: interrupts = <0 81 4>;
295: pinctrl-names = "default";
296: pinctrl-0 = <&pinctrl_usb1>;
1.1.1.4 jmcneill 297: clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 9>,
298: <&mio_clk 13>;
1.1 jmcneill 299: resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 9>,
300: <&mio_rst 13>;
1.1.1.5 jmcneill 301: has-transaction-translator;
1.1 jmcneill 302: };
303:
304: usb2: usb@5a820100 {
305: compatible = "socionext,uniphier-ehci", "generic-ehci";
306: status = "disabled";
307: reg = <0x5a820100 0x100>;
308: interrupts = <0 82 4>;
309: pinctrl-names = "default";
310: pinctrl-0 = <&pinctrl_usb2>;
1.1.1.4 jmcneill 311: clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 10>,
312: <&mio_clk 14>;
1.1 jmcneill 313: resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 10>,
314: <&mio_rst 14>;
1.1.1.5 jmcneill 315: has-transaction-translator;
1.1 jmcneill 316: };
317:
318: soc-glue@5f800000 {
319: compatible = "socionext,uniphier-sld8-soc-glue",
320: "simple-mfd", "syscon";
321: reg = <0x5f800000 0x2000>;
322:
323: pinctrl: pinctrl {
324: compatible = "socionext,uniphier-sld8-pinctrl";
325: };
326: };
327:
1.1.1.5 jmcneill 328: soc-glue@5f900000 {
329: compatible = "socionext,uniphier-sld8-soc-glue-debug",
330: "simple-mfd";
331: #address-cells = <1>;
332: #size-cells = <1>;
333: ranges = <0 0x5f900000 0x2000>;
334:
335: efuse@100 {
336: compatible = "socionext,uniphier-efuse";
337: reg = <0x100 0x28>;
338: };
339:
340: efuse@200 {
341: compatible = "socionext,uniphier-efuse";
342: reg = <0x200 0x14>;
343: };
344: };
345:
1.1 jmcneill 346: timer@60000200 {
347: compatible = "arm,cortex-a9-global-timer";
348: reg = <0x60000200 0x20>;
349: interrupts = <1 11 0x104>;
350: clocks = <&arm_timer_clk>;
351: };
352:
353: timer@60000600 {
354: compatible = "arm,cortex-a9-twd-timer";
355: reg = <0x60000600 0x20>;
356: interrupts = <1 13 0x104>;
357: clocks = <&arm_timer_clk>;
358: };
359:
360: intc: interrupt-controller@60001000 {
361: compatible = "arm,cortex-a9-gic";
362: reg = <0x60001000 0x1000>,
363: <0x60000100 0x100>;
364: #interrupt-cells = <3>;
365: interrupt-controller;
366: };
367:
1.1.1.3 jmcneill 368: aidet: aidet@61830000 {
369: compatible = "socionext,uniphier-sld8-aidet";
370: reg = <0x61830000 0x200>;
371: interrupt-controller;
372: #interrupt-cells = <2>;
373: };
374:
1.1 jmcneill 375: sysctrl@61840000 {
376: compatible = "socionext,uniphier-sld8-sysctrl",
377: "simple-mfd", "syscon";
378: reg = <0x61840000 0x10000>;
379:
380: sys_clk: clock {
381: compatible = "socionext,uniphier-sld8-clock";
382: #clock-cells = <1>;
383: };
384:
385: sys_rst: reset {
386: compatible = "socionext,uniphier-sld8-reset";
387: #reset-cells = <1>;
388: };
389: };
1.1.1.3 jmcneill 390:
391: nand: nand@68000000 {
392: compatible = "socionext,uniphier-denali-nand-v5a";
393: status = "disabled";
394: reg-names = "nand_data", "denali_reg";
395: reg = <0x68000000 0x20>, <0x68100000 0x1000>;
396: interrupts = <0 65 4>;
397: pinctrl-names = "default";
398: pinctrl-0 = <&pinctrl_nand2cs>;
1.1.1.6 ! jmcneill 399: clock-names = "nand", "nand_x", "ecc";
! 400: clocks = <&sys_clk 2>, <&sys_clk 3>, <&sys_clk 3>;
1.1.1.4 jmcneill 401: resets = <&sys_rst 2>;
1.1.1.3 jmcneill 402: };
1.1 jmcneill 403: };
404: };
405:
1.1.1.3 jmcneill 406: #include "uniphier-pinctrl.dtsi"
CVSweb <webmaster@jp.NetBSD.org>