1 // SPDX-License-Identifier: GPL-2.0+ OR MIT
3 // Device Tree Source for UniPhier Pro5 SoC
5 // Copyright (C) 2015-2016 Socionext Inc.
6 // Author: Masahiro Yamada <yamada.masahiro@socionext.com>
9 compatible = "socionext,uniphier-pro5";
19 compatible = "arm,cortex-a9";
21 clocks = <&sys_clk 32>;
22 enable-method = "psci";
23 next-level-cache = <&l2>;
24 operating-points-v2 = <&cpu_opp>;
29 compatible = "arm,cortex-a9";
31 clocks = <&sys_clk 32>;
32 enable-method = "psci";
33 next-level-cache = <&l2>;
34 operating-points-v2 = <&cpu_opp>;
39 compatible = "operating-points-v2";
43 opp-hz = /bits/ 64 <100000000>;
44 clock-latency-ns = <300>;
47 opp-hz = /bits/ 64 <116667000>;
48 clock-latency-ns = <300>;
51 opp-hz = /bits/ 64 <150000000>;
52 clock-latency-ns = <300>;
55 opp-hz = /bits/ 64 <175000000>;
56 clock-latency-ns = <300>;
59 opp-hz = /bits/ 64 <200000000>;
60 clock-latency-ns = <300>;
63 opp-hz = /bits/ 64 <233334000>;
64 clock-latency-ns = <300>;
67 opp-hz = /bits/ 64 <300000000>;
68 clock-latency-ns = <300>;
71 opp-hz = /bits/ 64 <350000000>;
72 clock-latency-ns = <300>;
75 opp-hz = /bits/ 64 <400000000>;
76 clock-latency-ns = <300>;
79 opp-hz = /bits/ 64 <466667000>;
80 clock-latency-ns = <300>;
83 opp-hz = /bits/ 64 <600000000>;
84 clock-latency-ns = <300>;
87 opp-hz = /bits/ 64 <700000000>;
88 clock-latency-ns = <300>;
91 opp-hz = /bits/ 64 <800000000>;
92 clock-latency-ns = <300>;
95 opp-hz = /bits/ 64 <933334000>;
96 clock-latency-ns = <300>;
99 opp-hz = /bits/ 64 <1200000000>;
100 clock-latency-ns = <300>;
103 opp-hz = /bits/ 64 <1400000000>;
104 clock-latency-ns = <300>;
109 compatible = "arm,psci-0.2";
115 compatible = "fixed-clock";
117 clock-frequency = <20000000>;
120 arm_timer_clk: arm-timer {
122 compatible = "fixed-clock";
123 clock-frequency = <50000000>;
128 compatible = "simple-bus";
129 #address-cells = <1>;
132 interrupt-parent = <&intc>;
134 l2: l2-cache@500c0000 {
135 compatible = "socionext,uniphier-system-cache";
136 reg = <0x500c0000 0x2000>, <0x503c0100 0x8>,
138 interrupts = <0 190 4>, <0 191 4>;
140 cache-size = <(2 * 1024 * 1024)>;
142 cache-line-size = <128>;
144 next-level-cache = <&l3>;
147 l3: l3-cache@500c8000 {
148 compatible = "socionext,uniphier-system-cache";
149 reg = <0x500c8000 0x2000>, <0x503c8100 0x8>,
151 interrupts = <0 174 4>, <0 175 4>;
153 cache-size = <(2 * 1024 * 1024)>;
155 cache-line-size = <256>;
159 serial0: serial@54006800 {
160 compatible = "socionext,uniphier-uart";
162 reg = <0x54006800 0x40>;
163 interrupts = <0 33 4>;
164 pinctrl-names = "default";
165 pinctrl-0 = <&pinctrl_uart0>;
166 clocks = <&peri_clk 0>;
167 resets = <&peri_rst 0>;
170 serial1: serial@54006900 {
171 compatible = "socionext,uniphier-uart";
173 reg = <0x54006900 0x40>;
174 interrupts = <0 35 4>;
175 pinctrl-names = "default";
176 pinctrl-0 = <&pinctrl_uart1>;
177 clocks = <&peri_clk 1>;
178 resets = <&peri_rst 1>;
181 serial2: serial@54006a00 {
182 compatible = "socionext,uniphier-uart";
184 reg = <0x54006a00 0x40>;
185 interrupts = <0 37 4>;
186 pinctrl-names = "default";
187 pinctrl-0 = <&pinctrl_uart2>;
188 clocks = <&peri_clk 2>;
189 resets = <&peri_rst 2>;
192 serial3: serial@54006b00 {
193 compatible = "socionext,uniphier-uart";
195 reg = <0x54006b00 0x40>;
196 interrupts = <0 177 4>;
197 pinctrl-names = "default";
198 pinctrl-0 = <&pinctrl_uart3>;
199 clocks = <&peri_clk 3>;
200 resets = <&peri_rst 3>;
203 gpio: gpio@55000000 {
204 compatible = "socionext,uniphier-gpio";
205 reg = <0x55000000 0x200>;
206 interrupt-parent = <&aidet>;
207 interrupt-controller;
208 #interrupt-cells = <2>;
211 gpio-ranges = <&pinctrl 0 0 0>;
212 gpio-ranges-group-names = "gpio_range";
214 socionext,interrupt-ranges = <0 48 16>, <16 154 5>;
218 compatible = "socionext,uniphier-fi2c";
220 reg = <0x58780000 0x80>;
221 #address-cells = <1>;
223 interrupts = <0 41 4>;
224 pinctrl-names = "default";
225 pinctrl-0 = <&pinctrl_i2c0>;
226 clocks = <&peri_clk 4>;
227 resets = <&peri_rst 4>;
228 clock-frequency = <100000>;
232 compatible = "socionext,uniphier-fi2c";
234 reg = <0x58781000 0x80>;
235 #address-cells = <1>;
237 interrupts = <0 42 4>;
238 pinctrl-names = "default";
239 pinctrl-0 = <&pinctrl_i2c1>;
240 clocks = <&peri_clk 5>;
241 resets = <&peri_rst 5>;
242 clock-frequency = <100000>;
246 compatible = "socionext,uniphier-fi2c";
248 reg = <0x58782000 0x80>;
249 #address-cells = <1>;
251 interrupts = <0 43 4>;
252 pinctrl-names = "default";
253 pinctrl-0 = <&pinctrl_i2c2>;
254 clocks = <&peri_clk 6>;
255 resets = <&peri_rst 6>;
256 clock-frequency = <100000>;
260 compatible = "socionext,uniphier-fi2c";
262 reg = <0x58783000 0x80>;
263 #address-cells = <1>;
265 interrupts = <0 44 4>;
266 pinctrl-names = "default";
267 pinctrl-0 = <&pinctrl_i2c3>;
268 clocks = <&peri_clk 7>;
269 resets = <&peri_rst 7>;
270 clock-frequency = <100000>;
273 /* i2c4 does not exist */
275 /* chip-internal connection for DMD */
277 compatible = "socionext,uniphier-fi2c";
278 reg = <0x58785000 0x80>;
279 #address-cells = <1>;
281 interrupts = <0 25 4>;
282 clocks = <&peri_clk 9>;
283 resets = <&peri_rst 9>;
284 clock-frequency = <400000>;
287 /* chip-internal connection for HDMI */
289 compatible = "socionext,uniphier-fi2c";
290 reg = <0x58786000 0x80>;
291 #address-cells = <1>;
293 interrupts = <0 26 4>;
294 clocks = <&peri_clk 10>;
295 resets = <&peri_rst 10>;
296 clock-frequency = <400000>;
299 system_bus: system-bus@58c00000 {
300 compatible = "socionext,uniphier-system-bus";
302 reg = <0x58c00000 0x400>;
303 #address-cells = <2>;
305 pinctrl-names = "default";
306 pinctrl-0 = <&pinctrl_system_bus>;
310 compatible = "socionext,uniphier-smpctrl";
311 reg = <0x59801000 0x400>;
315 compatible = "socionext,uniphier-pro5-sdctrl",
316 "simple-mfd", "syscon";
317 reg = <0x59810000 0x400>;
320 compatible = "socionext,uniphier-pro5-sd-clock";
325 compatible = "socionext,uniphier-pro5-sd-reset";
331 compatible = "socionext,uniphier-pro5-perictrl",
332 "simple-mfd", "syscon";
333 reg = <0x59820000 0x200>;
336 compatible = "socionext,uniphier-pro5-peri-clock";
341 compatible = "socionext,uniphier-pro5-peri-reset";
347 compatible = "socionext,uniphier-pro5-soc-glue",
348 "simple-mfd", "syscon";
349 reg = <0x5f800000 0x2000>;
352 compatible = "socionext,uniphier-pro5-pinctrl";
357 compatible = "socionext,uniphier-pro5-soc-glue-debug",
359 #address-cells = <1>;
361 ranges = <0 0x5f900000 0x2000>;
364 compatible = "socionext,uniphier-efuse";
369 compatible = "socionext,uniphier-efuse";
374 compatible = "socionext,uniphier-efuse";
379 compatible = "socionext,uniphier-efuse";
384 compatible = "socionext,uniphier-efuse";
389 aidet: aidet@5fc20000 {
390 compatible = "socionext,uniphier-pro5-aidet";
391 reg = <0x5fc20000 0x200>;
392 interrupt-controller;
393 #interrupt-cells = <2>;
397 compatible = "arm,cortex-a9-global-timer";
398 reg = <0x60000200 0x20>;
399 interrupts = <1 11 0x304>;
400 clocks = <&arm_timer_clk>;
404 compatible = "arm,cortex-a9-twd-timer";
405 reg = <0x60000600 0x20>;
406 interrupts = <1 13 0x304>;
407 clocks = <&arm_timer_clk>;
410 intc: interrupt-controller@60001000 {
411 compatible = "arm,cortex-a9-gic";
412 reg = <0x60001000 0x1000>,
414 #interrupt-cells = <3>;
415 interrupt-controller;
419 compatible = "socionext,uniphier-pro5-sysctrl",
420 "simple-mfd", "syscon";
421 reg = <0x61840000 0x10000>;
424 compatible = "socionext,uniphier-pro5-clock";
429 compatible = "socionext,uniphier-pro5-reset";
434 nand: nand@68000000 {
435 compatible = "socionext,uniphier-denali-nand-v5b";
437 reg-names = "nand_data", "denali_reg";
438 reg = <0x68000000 0x20>, <0x68100000 0x1000>;
439 interrupts = <0 65 4>;
440 pinctrl-names = "default";
441 pinctrl-0 = <&pinctrl_nand2cs>;
442 clocks = <&sys_clk 2>;
443 resets = <&sys_rst 2>;
448 #include "uniphier-pinctrl.dtsi"