2 * Device Tree Source for UniPhier Pro4 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-pro4";
57 compatible = "arm,cortex-a9";
59 enable-method = "psci";
60 next-level-cache = <&l2>;
65 compatible = "arm,cortex-a9";
67 enable-method = "psci";
68 next-level-cache = <&l2>;
73 compatible = "arm,psci-0.2";
79 compatible = "fixed-clock";
81 clock-frequency = <25000000>;
84 arm_timer_clk: arm_timer_clk {
86 compatible = "fixed-clock";
87 clock-frequency = <50000000>;
92 compatible = "simple-bus";
96 interrupt-parent = <&intc>;
98 l2: l2-cache@500c0000 {
99 compatible = "socionext,uniphier-system-cache";
100 reg = <0x500c0000 0x2000>, <0x503c0100 0x4>,
102 interrupts = <0 174 4>, <0 175 4>;
104 cache-size = <(768 * 1024)>;
106 cache-line-size = <128>;
110 serial0: serial@54006800 {
111 compatible = "socionext,uniphier-uart";
113 reg = <0x54006800 0x40>;
114 interrupts = <0 33 4>;
115 pinctrl-names = "default";
116 pinctrl-0 = <&pinctrl_uart0>;
117 clocks = <&peri_clk 0>;
120 serial1: serial@54006900 {
121 compatible = "socionext,uniphier-uart";
123 reg = <0x54006900 0x40>;
124 interrupts = <0 35 4>;
125 pinctrl-names = "default";
126 pinctrl-0 = <&pinctrl_uart1>;
127 clocks = <&peri_clk 1>;
130 serial2: serial@54006a00 {
131 compatible = "socionext,uniphier-uart";
133 reg = <0x54006a00 0x40>;
134 interrupts = <0 37 4>;
135 pinctrl-names = "default";
136 pinctrl-0 = <&pinctrl_uart2>;
137 clocks = <&peri_clk 2>;
140 serial3: serial@54006b00 {
141 compatible = "socionext,uniphier-uart";
143 reg = <0x54006b00 0x40>;
144 interrupts = <0 177 4>;
145 pinctrl-names = "default";
146 pinctrl-0 = <&pinctrl_uart3>;
147 clocks = <&peri_clk 3>;
151 compatible = "socionext,uniphier-fi2c";
153 reg = <0x58780000 0x80>;
154 #address-cells = <1>;
156 interrupts = <0 41 4>;
157 pinctrl-names = "default";
158 pinctrl-0 = <&pinctrl_i2c0>;
159 clocks = <&peri_clk 4>;
160 clock-frequency = <100000>;
164 compatible = "socionext,uniphier-fi2c";
166 reg = <0x58781000 0x80>;
167 #address-cells = <1>;
169 interrupts = <0 42 4>;
170 pinctrl-names = "default";
171 pinctrl-0 = <&pinctrl_i2c1>;
172 clocks = <&peri_clk 5>;
173 clock-frequency = <100000>;
177 compatible = "socionext,uniphier-fi2c";
179 reg = <0x58782000 0x80>;
180 #address-cells = <1>;
182 interrupts = <0 43 4>;
183 pinctrl-names = "default";
184 pinctrl-0 = <&pinctrl_i2c2>;
185 clocks = <&peri_clk 6>;
186 clock-frequency = <100000>;
190 compatible = "socionext,uniphier-fi2c";
192 reg = <0x58783000 0x80>;
193 #address-cells = <1>;
195 interrupts = <0 44 4>;
196 pinctrl-names = "default";
197 pinctrl-0 = <&pinctrl_i2c3>;
198 clocks = <&peri_clk 7>;
199 clock-frequency = <100000>;
202 /* i2c4 does not exist */
204 /* chip-internal connection for DMD */
206 compatible = "socionext,uniphier-fi2c";
207 reg = <0x58785000 0x80>;
208 #address-cells = <1>;
210 interrupts = <0 25 4>;
211 clocks = <&peri_clk 9>;
212 clock-frequency = <400000>;
215 /* chip-internal connection for HDMI */
217 compatible = "socionext,uniphier-fi2c";
218 reg = <0x58786000 0x80>;
219 #address-cells = <1>;
221 interrupts = <0 26 4>;
222 clocks = <&peri_clk 10>;
223 clock-frequency = <400000>;
226 system_bus: system-bus@58c00000 {
227 compatible = "socionext,uniphier-system-bus";
229 reg = <0x58c00000 0x400>;
230 #address-cells = <2>;
232 pinctrl-names = "default";
233 pinctrl-0 = <&pinctrl_system_bus>;
237 compatible = "socionext,uniphier-smpctrl";
238 reg = <0x59801000 0x400>;
242 compatible = "socionext,uniphier-pro4-mioctrl",
243 "simple-mfd", "syscon";
244 reg = <0x59810000 0x800>;
247 compatible = "socionext,uniphier-pro4-mio-clock";
252 compatible = "socionext,uniphier-pro4-mio-reset";
258 compatible = "socionext,uniphier-pro4-perictrl",
259 "simple-mfd", "syscon";
260 reg = <0x59820000 0x200>;
263 compatible = "socionext,uniphier-pro4-peri-clock";
268 compatible = "socionext,uniphier-pro4-peri-reset";
274 compatible = "socionext,uniphier-ehci", "generic-ehci";
276 reg = <0x5a800100 0x100>;
277 interrupts = <0 80 4>;
278 pinctrl-names = "default";
279 pinctrl-0 = <&pinctrl_usb2>;
280 clocks = <&mio_clk 7>, <&mio_clk 8>, <&mio_clk 12>;
281 resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 8>,
286 compatible = "socionext,uniphier-ehci", "generic-ehci";
288 reg = <0x5a810100 0x100>;
289 interrupts = <0 81 4>;
290 pinctrl-names = "default";
291 pinctrl-0 = <&pinctrl_usb3>;
292 clocks = <&mio_clk 7>, <&mio_clk 9>, <&mio_clk 13>;
293 resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 9>,
298 compatible = "socionext,uniphier-pro4-soc-glue",
299 "simple-mfd", "syscon";
300 reg = <0x5f800000 0x2000>;
303 compatible = "socionext,uniphier-pro4-pinctrl";
308 compatible = "arm,cortex-a9-global-timer";
309 reg = <0x60000200 0x20>;
310 interrupts = <1 11 0x304>;
311 clocks = <&arm_timer_clk>;
315 compatible = "arm,cortex-a9-twd-timer";
316 reg = <0x60000600 0x20>;
317 interrupts = <1 13 0x304>;
318 clocks = <&arm_timer_clk>;
321 intc: interrupt-controller@60001000 {
322 compatible = "arm,cortex-a9-gic";
323 reg = <0x60001000 0x1000>,
325 #interrupt-cells = <3>;
326 interrupt-controller;
330 compatible = "socionext,uniphier-pro4-sysctrl",
331 "simple-mfd", "syscon";
332 reg = <0x61840000 0x10000>;
335 compatible = "socionext,uniphier-pro4-clock";
340 compatible = "socionext,uniphier-pro4-reset";
347 /include/ "uniphier-pinctrl.dtsi"