2 * Copyright Altera Corporation (C) 2014. All rights reserved.
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms and conditions of the GNU General Public License,
6 * version 2, as published by the Free Software Foundation.
8 * This program is distributed in the hope it will be useful, but WITHOUT
9 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13 * You should have received a copy of the GNU General Public License along with
14 * this program. If not, see <http://www.gnu.org/licenses/>.
17 #include "skeleton.dtsi"
18 #include <dt-bindings/interrupt-controller/arm-gic.h>
39 enable-method = "altr,socfpga-a10-smp";
42 compatible = "arm,cortex-a9";
45 next-level-cache = <&L2>;
48 compatible = "arm,cortex-a9";
51 next-level-cache = <&L2>;
56 compatible = "arm,cortex-a9-gic";
57 #interrupt-cells = <3>;
59 reg = <0xffffd000 0x1000>,
66 compatible = "simple-bus";
68 interrupt-parent = <&intc>;
72 compatible = "arm,amba-bus";
78 compatible = "arm,pl330", "arm,primecell";
79 reg = <0xffda1000 0x1000>;
80 interrupts = <0 83 IRQ_TYPE_LEVEL_HIGH>,
81 <0 84 IRQ_TYPE_LEVEL_HIGH>,
82 <0 85 IRQ_TYPE_LEVEL_HIGH>,
83 <0 86 IRQ_TYPE_LEVEL_HIGH>,
84 <0 87 IRQ_TYPE_LEVEL_HIGH>,
85 <0 88 IRQ_TYPE_LEVEL_HIGH>,
86 <0 89 IRQ_TYPE_LEVEL_HIGH>,
87 <0 90 IRQ_TYPE_LEVEL_HIGH>;
95 compatible = "altr,clk-mgr";
96 reg = <0xffd04000 0x1000>;
104 compatible = "fixed-clock";
108 #address-cells = <1>;
111 compatible = "altr,socfpga-pll-clock";
115 periph_pll: periph_pll {
116 #address-cells = <1>;
119 compatible = "altr,socfpga-pll-clock";
125 gmac0: ethernet@ff800000 {
126 compatible = "altr,socfpga-stmmac", "snps,dwmac-3.72a", "snps,dwmac";
127 reg = <0xff800000 0x2000>;
128 interrupts = <0 92 IRQ_TYPE_LEVEL_HIGH>;
129 interrupt-names = "macirq";
130 /* Filled in by bootloader */
131 mac-address = [00 00 00 00 00 00];
135 gmac1: ethernet@ff802000 {
136 compatible = "altr,socfpga-stmmac", "snps,dwmac-3.72a", "snps,dwmac";
137 reg = <0xff802000 0x2000>;
138 interrupts = <0 93 IRQ_TYPE_LEVEL_HIGH>;
139 interrupt-names = "macirq";
140 /* Filled in by bootloader */
141 mac-address = [00 00 00 00 00 00];
145 gmac2: ethernet@ff804000 {
146 compatible = "altr,socfpga-stmmac", "snps,dwmac-3.72a", "snps,dwmac";
147 reg = <0xff804000 0x2000>;
148 interrupts = <0 94 IRQ_TYPE_LEVEL_HIGH>;
149 interrupt-names = "macirq";
150 /* Filled in by bootloader */
151 mac-address = [00 00 00 00 00 00];
155 gpio0: gpio@ffc02900 {
156 #address-cells = <1>;
158 compatible = "snps,dw-apb-gpio";
159 reg = <0xffc02900 0x100>;
162 porta: gpio-controller@0 {
163 compatible = "snps,dw-apb-gpio-port";
166 snps,nr-gpios = <29>;
168 interrupt-controller;
169 #interrupt-cells = <2>;
170 interrupts = <0 112 IRQ_TYPE_LEVEL_HIGH>;
174 gpio1: gpio@ffc02a00 {
175 #address-cells = <1>;
177 compatible = "snps,dw-apb-gpio";
178 reg = <0xffc02a00 0x100>;
181 portb: gpio-controller@0 {
182 compatible = "snps,dw-apb-gpio-port";
185 snps,nr-gpios = <29>;
187 interrupt-controller;
188 #interrupt-cells = <2>;
189 interrupts = <0 113 IRQ_TYPE_LEVEL_HIGH>;
193 gpio2: gpio@ffc02b00 {
194 #address-cells = <1>;
196 compatible = "snps,dw-apb-gpio";
197 reg = <0xffc02b00 0x100>;
200 portc: gpio-controller@0 {
201 compatible = "snps,dw-apb-gpio-port";
204 snps,nr-gpios = <27>;
206 interrupt-controller;
207 #interrupt-cells = <2>;
208 interrupts = <0 114 IRQ_TYPE_LEVEL_HIGH>;
213 #address-cells = <1>;
215 compatible = "snps,designware-i2c";
216 reg = <0xffc02200 0x100>;
217 interrupts = <0 105 IRQ_TYPE_LEVEL_HIGH>;
222 #address-cells = <1>;
224 compatible = "snps,designware-i2c";
225 reg = <0xffc02300 0x100>;
226 interrupts = <0 106 IRQ_TYPE_LEVEL_HIGH>;
231 #address-cells = <1>;
233 compatible = "snps,designware-i2c";
234 reg = <0xffc02400 0x100>;
235 interrupts = <0 107 IRQ_TYPE_LEVEL_HIGH>;
240 #address-cells = <1>;
242 compatible = "snps,designware-i2c";
243 reg = <0xffc02500 0x100>;
244 interrupts = <0 108 IRQ_TYPE_LEVEL_HIGH>;
249 #address-cells = <1>;
251 compatible = "snps,designware-i2c";
252 reg = <0xffc02600 0x100>;
253 interrupts = <0 109 IRQ_TYPE_LEVEL_HIGH>;
257 L2: l2-cache@fffff000 {
258 compatible = "arm,pl310-cache";
259 reg = <0xfffff000 0x1000>;
260 interrupts = <0 18 IRQ_TYPE_LEVEL_HIGH>;
265 mmc: dwmmc0@ff808000 {
266 #address-cells = <1>;
268 compatible = "altr,socfpga-dw-mshc";
269 reg = <0xff808000 0x1000>;
270 interrupts = <0 98 IRQ_TYPE_LEVEL_HIGH>;
271 fifo-depth = <0x400>;
274 ocram: sram@ffe00000 {
275 compatible = "mmio-sram";
276 reg = <0xffe00000 0x40000>;
279 rst: rstmgr@ffd05000 {
281 compatible = "altr,rst-mgr";
282 reg = <0xffd05000 0x100>;
285 scu: snoop-control-unit@ffffc000 {
286 compatible = "arm,cortex-a9-scu";
287 reg = <0xffffc000 0x100>;
290 sysmgr: sysmgr@ffd06000 {
291 compatible = "altr,sys-mgr", "syscon";
292 reg = <0xffd06000 0x300>;
297 compatible = "arm,cortex-a9-twd-timer";
298 reg = <0xffffc600 0x100>;
299 interrupts = <1 13 0xf04>;
302 timer0: timer0@ffc02700 {
303 compatible = "snps,dw-apb-timer";
304 interrupts = <0 115 IRQ_TYPE_LEVEL_HIGH>;
305 reg = <0xffc02700 0x100>;
308 timer1: timer1@ffc02800 {
309 compatible = "snps,dw-apb-timer";
310 interrupts = <0 116 IRQ_TYPE_LEVEL_HIGH>;
311 reg = <0xffc02800 0x100>;
314 timer2: timer2@ffd00000 {
315 compatible = "snps,dw-apb-timer";
316 interrupts = <0 117 IRQ_TYPE_LEVEL_HIGH>;
317 reg = <0xffd00000 0x100>;
320 timer3: timer3@ffd00100 {
321 compatible = "snps,dw-apb-timer";
322 interrupts = <0 118 IRQ_TYPE_LEVEL_HIGH>;
323 reg = <0xffd01000 0x100>;
326 uart0: serial0@ffc02000 {
327 compatible = "snps,dw-apb-uart";
328 reg = <0xffc02000 0x100>;
329 interrupts = <0 110 IRQ_TYPE_LEVEL_HIGH>;
334 uart1: serial1@ffc02100 {
335 compatible = "snps,dw-apb-uart";
336 reg = <0xffc02100 0x100>;
337 interrupts = <0 111 IRQ_TYPE_LEVEL_HIGH>;
344 compatible = "usb-nop-xceiv";
349 compatible = "snps,dwc2";
350 reg = <0xffb00000 0xffff>;
351 interrupts = <0 95 IRQ_TYPE_LEVEL_HIGH>;
353 phy-names = "usb2-phy";
358 compatible = "snps,dwc2";
359 reg = <0xffb40000 0xffff>;
360 interrupts = <0 96 IRQ_TYPE_LEVEL_HIGH>;
362 phy-names = "usb2-phy";
366 watchdog0: watchdog@ffd00200 {
367 compatible = "snps,dw-wdt";
368 reg = <0xffd00200 0x100>;
369 interrupts = <0 119 IRQ_TYPE_LEVEL_HIGH>;
373 watchdog1: watchdog@ffd00300 {
374 compatible = "snps,dw-wdt";
375 reg = <0xffd00300 0x100>;
376 interrupts = <0 120 IRQ_TYPE_LEVEL_HIGH>;