blob: 03292f443305eb287826cc1ce202e0bcba224bc0 [file] [log] [blame]
Masahiro Yamada8e678e02015-05-08 13:07:13 +09001/*
2 * Device Tree Source for UniPhier PH1-sLD3 SoC
3 *
4 * Copyright (C) 2015 Masahiro Yamada <yamada.masahiro@socionext.com>
5 *
6 * This file is dual-licensed: you can use it either under the terms
7 * of the GPL or the X11 license, at your option. Note that this dual
8 * licensing only applies to this file, and not this project as a
9 * whole.
10 *
11 * a) This file is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License as
13 * published by the Free Software Foundation; either version 2 of the
14 * License, or (at your option) any later version.
15 *
16 * This file is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * Or, alternatively,
22 *
23 * b) Permission is hereby granted, free of charge, to any person
24 * obtaining a copy of this software and associated documentation
25 * files (the "Software"), to deal in the Software without
26 * restriction, including without limitation the rights to use,
27 * copy, modify, merge, publish, distribute, sublicense, and/or
28 * sell copies of the Software, and to permit persons to whom the
29 * Software is furnished to do so, subject to the following
30 * conditions:
31 *
32 * The above copyright notice and this permission notice shall be
33 * included in all copies or substantial portions of the Software.
34 *
35 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
36 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
37 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
38 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
39 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
40 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
41 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
42 * OTHER DEALINGS IN THE SOFTWARE.
43 */
44
45/include/ "skeleton.dtsi"
46
47/ {
48 compatible = "socionext,ph1-sld3";
49
50 cpus {
51 #address-cells = <1>;
52 #size-cells = <0>;
53 enable-method = "socionext,uniphier-smp";
54
55 cpu@0 {
56 device_type = "cpu";
57 compatible = "arm,cortex-a9";
58 reg = <0>;
Masahiro Yamada7c62f292015-10-02 13:42:21 +090059 next-level-cache = <&l2>;
Masahiro Yamada8e678e02015-05-08 13:07:13 +090060 };
61
62 cpu@1 {
63 device_type = "cpu";
64 compatible = "arm,cortex-a9";
65 reg = <1>;
Masahiro Yamada7c62f292015-10-02 13:42:21 +090066 next-level-cache = <&l2>;
Masahiro Yamada8e678e02015-05-08 13:07:13 +090067 };
68 };
69
70 clocks {
Masahiro Yamada61f838c2016-02-26 16:18:31 +090071 refclk: ref {
72 #clock-cells = <0>;
73 compatible = "fixed-clock";
74 clock-frequency = <24576000>;
75 };
76
Masahiro Yamada8e678e02015-05-08 13:07:13 +090077 arm_timer_clk: arm_timer_clk {
78 #clock-cells = <0>;
79 compatible = "fixed-clock";
80 clock-frequency = <50000000>;
81 };
Masahiro Yamada1bf42502015-07-10 13:53:59 +090082
83 uart_clk: uart_clk {
84 #clock-cells = <0>;
85 compatible = "fixed-clock";
86 clock-frequency = <36864000>;
87 };
Masahiro Yamada68f46892015-08-04 20:21:02 +090088
89 iobus_clk: iobus_clk {
90 #clock-cells = <0>;
91 compatible = "fixed-clock";
92 clock-frequency = <100000000>;
93 };
Masahiro Yamada8e678e02015-05-08 13:07:13 +090094 };
95
96 soc {
97 compatible = "simple-bus";
98 #address-cells = <1>;
99 #size-cells = <1>;
100 ranges;
101 interrupt-parent = <&intc>;
102
Masahiro Yamada8e678e02015-05-08 13:07:13 +0900103 timer@20000200 {
104 compatible = "arm,cortex-a9-global-timer";
105 reg = <0x20000200 0x20>;
106 interrupts = <1 11 0x304>;
107 clocks = <&arm_timer_clk>;
108 };
109
110 timer@20000600 {
111 compatible = "arm,cortex-a9-twd-timer";
112 reg = <0x20000600 0x20>;
113 interrupts = <1 13 0x304>;
114 clocks = <&arm_timer_clk>;
115 };
116
117 intc: interrupt-controller@20001000 {
118 compatible = "arm,cortex-a9-gic";
119 #interrupt-cells = <3>;
120 interrupt-controller;
121 reg = <0x20001000 0x1000>,
122 <0x20000100 0x100>;
123 };
124
Masahiro Yamada7c62f292015-10-02 13:42:21 +0900125 l2: l2-cache@500c0000 {
126 compatible = "socionext,uniphier-system-cache";
127 reg = <0x500c0000 0x2000>, <0x503c0100 0x4>,
128 <0x506c0000 0x400>;
129 interrupts = <0 174 4>, <0 175 4>;
130 cache-unified;
131 cache-size = <(512 * 1024)>;
132 cache-sets = <256>;
133 cache-line-size = <128>;
134 cache-level = <2>;
135 };
136
Masahiro Yamada1bf42502015-07-10 13:53:59 +0900137 serial0: serial@54006800 {
138 compatible = "socionext,uniphier-uart";
139 status = "disabled";
140 reg = <0x54006800 0x40>;
141 interrupts = <0 33 4>;
142 clocks = <&uart_clk>;
143 fifo-size = <64>;
144 };
145
146 serial1: serial@54006900 {
147 compatible = "socionext,uniphier-uart";
148 status = "disabled";
149 reg = <0x54006900 0x40>;
150 interrupts = <0 35 4>;
151 clocks = <&uart_clk>;
152 fifo-size = <64>;
153 };
154
155 serial2: serial@54006a00 {
156 compatible = "socionext,uniphier-uart";
157 status = "disabled";
158 reg = <0x54006a00 0x40>;
159 interrupts = <0 37 4>;
160 clocks = <&uart_clk>;
161 fifo-size = <64>;
162 };
163
Masahiro Yamada68f46892015-08-04 20:21:02 +0900164 i2c0: i2c@58400000 {
165 compatible = "socionext,uniphier-i2c";
166 status = "disabled";
167 reg = <0x58400000 0x40>;
168 #address-cells = <1>;
169 #size-cells = <0>;
170 interrupts = <0 41 1>;
171 clocks = <&iobus_clk>;
172 clock-frequency = <100000>;
173 };
174
175 i2c1: i2c@58480000 {
176 compatible = "socionext,uniphier-i2c";
177 status = "disabled";
178 reg = <0x58480000 0x40>;
179 #address-cells = <1>;
180 #size-cells = <0>;
181 interrupts = <0 42 1>;
182 clocks = <&iobus_clk>;
183 clock-frequency = <100000>;
184 };
185
186 i2c2: i2c@58500000 {
187 compatible = "socionext,uniphier-i2c";
188 status = "disabled";
189 reg = <0x58500000 0x40>;
190 #address-cells = <1>;
191 #size-cells = <0>;
192 interrupts = <0 43 1>;
193 clocks = <&iobus_clk>;
194 clock-frequency = <100000>;
195 };
196
197 i2c3: i2c@58580000 {
198 compatible = "socionext,uniphier-i2c";
199 status = "disabled";
200 reg = <0x58580000 0x40>;
201 #address-cells = <1>;
202 #size-cells = <0>;
203 interrupts = <0 44 1>;
204 clocks = <&iobus_clk>;
205 clock-frequency = <100000>;
206 };
207
208 /* chip-internal connection for DMD */
209 i2c4: i2c@58600000 {
210 compatible = "socionext,uniphier-i2c";
211 reg = <0x58600000 0x40>;
212 #address-cells = <1>;
213 #size-cells = <0>;
214 interrupts = <0 45 1>;
215 clocks = <&iobus_clk>;
216 clock-frequency = <400000>;
217 };
218
Masahiro Yamada14bae132016-02-26 16:18:30 +0900219 system_bus: system-bus@58c00000 {
220 compatible = "socionext,uniphier-system-bus";
221 status = "disabled";
222 reg = <0x58c00000 0x400>;
223 #address-cells = <2>;
224 #size-cells = <1>;
225 };
226
227 smpctrl@59800000 {
228 compatible = "socionext,uniphier-smpctrl";
229 reg = <0x59801000 0x400>;
Masahiro Yamada8e678e02015-05-08 13:07:13 +0900230 };
Masahiro Yamada3fbf02a2015-07-10 13:54:00 +0900231
232 usb0: usb@5a800100 {
233 compatible = "socionext,uniphier-ehci", "generic-ehci";
234 status = "disabled";
235 reg = <0x5a800100 0x100>;
236 interrupts = <0 80 4>;
237 };
238
239 usb1: usb@5a810100 {
240 compatible = "socionext,uniphier-ehci", "generic-ehci";
241 status = "disabled";
242 reg = <0x5a810100 0x100>;
243 interrupts = <0 81 4>;
244 };
245
246 usb2: usb@5a820100 {
247 compatible = "socionext,uniphier-ehci", "generic-ehci";
248 status = "disabled";
249 reg = <0x5a820100 0x100>;
250 interrupts = <0 82 4>;
251 };
252
253 usb3: usb@5a830100 {
254 compatible = "socionext,uniphier-ehci", "generic-ehci";
255 status = "disabled";
256 reg = <0x5a830100 0x100>;
257 interrupts = <0 83 4>;
258 };
Masahiro Yamada8e678e02015-05-08 13:07:13 +0900259 };
260};