2 * Device Tree Source for UniPhier LD4 SoC
4 * Copyright (C) 2015-2016 Socionext Inc.
5 * Author: Masahiro Yamada <yamada.masahiro@socionext.com>
7 * This file is dual-licensed: you can use it either under the terms
8 * of the GPL or the X11 license, at your option. Note that this dual
9 * licensing only applies to this file, and not this project as a
12 * a) This file is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License as
14 * published by the Free Software Foundation; either version 2 of the
15 * License, or (at your option) any later version.
17 * This file is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
24 * b) Permission is hereby granted, free of charge, to any person
25 * obtaining a copy of this software and associated documentation
26 * files (the "Software"), to deal in the Software without
27 * restriction, including without limitation the rights to use,
28 * copy, modify, merge, publish, distribute, sublicense, and/or
29 * sell copies of the Software, and to permit persons to whom the
30 * Software is furnished to do so, subject to the following
33 * The above copyright notice and this permission notice shall be
34 * included in all copies or substantial portions of the Software.
36 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
37 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
38 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
39 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
40 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
41 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
42 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
43 * OTHER DEALINGS IN THE SOFTWARE.
46 /include/ "skeleton.dtsi"
49 compatible = "socionext,uniphier-ld4";
57 compatible = "arm,cortex-a9";
59 enable-method = "psci";
60 next-level-cache = <&l2>;
65 compatible = "arm,psci-0.2";
71 compatible = "fixed-clock";
73 clock-frequency = <24576000>;
76 arm_timer_clk: arm_timer_clk {
78 compatible = "fixed-clock";
79 clock-frequency = <50000000>;
84 compatible = "simple-bus";
88 interrupt-parent = <&intc>;
90 l2: l2-cache@500c0000 {
91 compatible = "socionext,uniphier-system-cache";
92 reg = <0x500c0000 0x2000>, <0x503c0100 0x4>,
94 interrupts = <0 174 4>, <0 175 4>;
96 cache-size = <(512 * 1024)>;
98 cache-line-size = <128>;
102 serial0: serial@54006800 {
103 compatible = "socionext,uniphier-uart";
105 reg = <0x54006800 0x40>;
106 interrupts = <0 33 4>;
107 pinctrl-names = "default";
108 pinctrl-0 = <&pinctrl_uart0>;
109 clocks = <&peri_clk 0>;
112 serial1: serial@54006900 {
113 compatible = "socionext,uniphier-uart";
115 reg = <0x54006900 0x40>;
116 interrupts = <0 35 4>;
117 pinctrl-names = "default";
118 pinctrl-0 = <&pinctrl_uart1>;
119 clocks = <&peri_clk 1>;
122 serial2: serial@54006a00 {
123 compatible = "socionext,uniphier-uart";
125 reg = <0x54006a00 0x40>;
126 interrupts = <0 37 4>;
127 pinctrl-names = "default";
128 pinctrl-0 = <&pinctrl_uart2>;
129 clocks = <&peri_clk 2>;
132 serial3: serial@54006b00 {
133 compatible = "socionext,uniphier-uart";
135 reg = <0x54006b00 0x40>;
136 interrupts = <0 29 4>;
137 pinctrl-names = "default";
138 pinctrl-0 = <&pinctrl_uart3>;
139 clocks = <&peri_clk 3>;
143 compatible = "socionext,uniphier-i2c";
145 reg = <0x58400000 0x40>;
146 #address-cells = <1>;
148 interrupts = <0 41 1>;
149 pinctrl-names = "default";
150 pinctrl-0 = <&pinctrl_i2c0>;
151 clocks = <&peri_clk 4>;
152 clock-frequency = <100000>;
156 compatible = "socionext,uniphier-i2c";
158 reg = <0x58480000 0x40>;
159 #address-cells = <1>;
161 interrupts = <0 42 1>;
162 pinctrl-names = "default";
163 pinctrl-0 = <&pinctrl_i2c1>;
164 clocks = <&peri_clk 5>;
165 clock-frequency = <100000>;
168 /* chip-internal connection for DMD */
170 compatible = "socionext,uniphier-i2c";
171 reg = <0x58500000 0x40>;
172 #address-cells = <1>;
174 interrupts = <0 43 1>;
175 pinctrl-names = "default";
176 pinctrl-0 = <&pinctrl_i2c2>;
177 clocks = <&peri_clk 6>;
178 clock-frequency = <400000>;
182 compatible = "socionext,uniphier-i2c";
184 reg = <0x58580000 0x40>;
185 #address-cells = <1>;
187 interrupts = <0 44 1>;
188 pinctrl-names = "default";
189 pinctrl-0 = <&pinctrl_i2c3>;
190 clocks = <&peri_clk 7>;
191 clock-frequency = <100000>;
194 system_bus: system-bus@58c00000 {
195 compatible = "socionext,uniphier-system-bus";
197 reg = <0x58c00000 0x400>;
198 #address-cells = <2>;
200 pinctrl-names = "default";
201 pinctrl-0 = <&pinctrl_system_bus>;
205 compatible = "socionext,uniphier-smpctrl";
206 reg = <0x59801000 0x400>;
210 compatible = "socionext,uniphier-ld4-mioctrl",
211 "simple-mfd", "syscon";
212 reg = <0x59810000 0x800>;
215 compatible = "socionext,uniphier-ld4-mio-clock";
220 compatible = "socionext,uniphier-ld4-mio-reset";
226 compatible = "socionext,uniphier-ld4-perictrl",
227 "simple-mfd", "syscon";
228 reg = <0x59820000 0x200>;
231 compatible = "socionext,uniphier-ld4-peri-clock";
236 compatible = "socionext,uniphier-ld4-peri-reset";
242 compatible = "socionext,uniphier-ehci", "generic-ehci";
244 reg = <0x5a800100 0x100>;
245 interrupts = <0 80 4>;
246 pinctrl-names = "default";
247 pinctrl-0 = <&pinctrl_usb0>;
248 clocks = <&mio_clk 7>, <&mio_clk 8>, <&mio_clk 12>;
249 resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 8>,
254 compatible = "socionext,uniphier-ehci", "generic-ehci";
256 reg = <0x5a810100 0x100>;
257 interrupts = <0 81 4>;
258 pinctrl-names = "default";
259 pinctrl-0 = <&pinctrl_usb1>;
260 clocks = <&mio_clk 7>, <&mio_clk 9>, <&mio_clk 13>;
261 resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 9>,
266 compatible = "socionext,uniphier-ehci", "generic-ehci";
268 reg = <0x5a820100 0x100>;
269 interrupts = <0 82 4>;
270 pinctrl-names = "default";
271 pinctrl-0 = <&pinctrl_usb2>;
272 clocks = <&mio_clk 7>, <&mio_clk 10>, <&mio_clk 14>;
273 resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 10>,
278 compatible = "socionext,uniphier-ld4-soc-glue",
279 "simple-mfd", "syscon";
280 reg = <0x5f800000 0x2000>;
283 compatible = "socionext,uniphier-ld4-pinctrl";
288 compatible = "arm,cortex-a9-global-timer";
289 reg = <0x60000200 0x20>;
290 interrupts = <1 11 0x104>;
291 clocks = <&arm_timer_clk>;
295 compatible = "arm,cortex-a9-twd-timer";
296 reg = <0x60000600 0x20>;
297 interrupts = <1 13 0x104>;
298 clocks = <&arm_timer_clk>;
301 intc: interrupt-controller@60001000 {
302 compatible = "arm,cortex-a9-gic";
303 reg = <0x60001000 0x1000>,
305 #interrupt-cells = <3>;
306 interrupt-controller;
310 compatible = "socionext,uniphier-ld4-sysctrl",
311 "simple-mfd", "syscon";
312 reg = <0x61840000 0x10000>;
315 compatible = "socionext,uniphier-ld4-clock";
320 compatible = "socionext,uniphier-ld4-reset";
327 /include/ "uniphier-pinctrl.dtsi"