aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/boot/dts/Makefile4
-rw-r--r--arch/arm/boot/dts/socfpga.dtsi297
-rw-r--r--arch/arm/boot/dts/socfpga_arria5.dtsi58
-rw-r--r--arch/arm/boot/dts/socfpga_arria5_socdk.dts40
-rw-r--r--arch/arm/boot/dts/socfpga_cyclone5.dtsi (renamed from arch/arm/boot/dts/socfpga_cyclone5.dts)20
-rw-r--r--arch/arm/boot/dts/socfpga_cyclone5_socdk.dts40
-rw-r--r--arch/arm/boot/dts/socfpga_cyclone5_sockit.dts37
7 files changed, 327 insertions, 169 deletions
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index b9b4b593b9af..deeee9cf09aa 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -217,7 +217,9 @@ dtb-$(CONFIG_ARCH_SHMOBILE) += emev2-kzm9d.dtb \
217 r8a73a4-ape6evm-reference.dtb \ 217 r8a73a4-ape6evm-reference.dtb \
218 sh7372-mackerel.dtb 218 sh7372-mackerel.dtb
219dtb-$(CONFIG_ARCH_SHMOBILE_MULTI) += emev2-kzm9d-reference.dtb 219dtb-$(CONFIG_ARCH_SHMOBILE_MULTI) += emev2-kzm9d-reference.dtb
220dtb-$(CONFIG_ARCH_SOCFPGA) += socfpga_cyclone5.dtb \ 220dtb-$(CONFIG_ARCH_SOCFPGA) += socfpga_arria5_socdk.dtb \
221 socfpga_cyclone5_socdk.dtb \
222 socfpga_cyclone5_sockit.dtb \
221 socfpga_vt.dtb 223 socfpga_vt.dtb
222dtb-$(CONFIG_ARCH_SPEAR13XX) += spear1310-evb.dtb \ 224dtb-$(CONFIG_ARCH_SPEAR13XX) += spear1310-evb.dtb \
223 spear1340-evb.dtb 225 spear1340-evb.dtb
diff --git a/arch/arm/boot/dts/socfpga.dtsi b/arch/arm/boot/dts/socfpga.dtsi
index e273fa993b8c..6d09b8d42fdd 100644
--- a/arch/arm/boot/dts/socfpga.dtsi
+++ b/arch/arm/boot/dts/socfpga.dtsi
@@ -147,7 +147,7 @@
147 reg = <0x58>; 147 reg = <0x58>;
148 }; 148 };
149 149
150 cfg_s2f_usr0_clk: cfg_s2f_usr0_clk { 150 cfg_h2f_usr0_clk: cfg_h2f_usr0_clk {
151 #clock-cells = <0>; 151 #clock-cells = <0>;
152 compatible = "altr,socfpga-perip-clk"; 152 compatible = "altr,socfpga-perip-clk";
153 clocks = <&main_pll>; 153 clocks = <&main_pll>;
@@ -198,7 +198,7 @@
198 reg = <0x98>; 198 reg = <0x98>;
199 }; 199 };
200 200
201 s2f_usr1_clk: s2f_usr1_clk { 201 h2f_usr1_clk: h2f_usr1_clk {
202 #clock-cells = <0>; 202 #clock-cells = <0>;
203 compatible = "altr,socfpga-perip-clk"; 203 compatible = "altr,socfpga-perip-clk";
204 clocks = <&periph_pll>; 204 clocks = <&periph_pll>;
@@ -235,7 +235,7 @@
235 reg = <0xD0>; 235 reg = <0xD0>;
236 }; 236 };
237 237
238 s2f_usr2_clk: s2f_usr2_clk { 238 h2f_usr2_clk: h2f_usr2_clk {
239 #clock-cells = <0>; 239 #clock-cells = <0>;
240 compatible = "altr,socfpga-perip-clk"; 240 compatible = "altr,socfpga-perip-clk";
241 clocks = <&sdram_pll>; 241 clocks = <&sdram_pll>;
@@ -243,197 +243,197 @@
243 }; 243 };
244 }; 244 };
245 245
246 mpu_periph_clk: mpu_periph_clk { 246 mpu_periph_clk: mpu_periph_clk {
247 #clock-cells = <0>; 247 #clock-cells = <0>;
248 compatible = "altr,socfpga-gate-clk"; 248 compatible = "altr,socfpga-gate-clk";
249 clocks = <&mpuclk>; 249 clocks = <&mpuclk>;
250 fixed-divider = <4>; 250 fixed-divider = <4>;
251 }; 251 };
252 252
253 mpu_l2_ram_clk: mpu_l2_ram_clk { 253 mpu_l2_ram_clk: mpu_l2_ram_clk {
254 #clock-cells = <0>; 254 #clock-cells = <0>;
255 compatible = "altr,socfpga-gate-clk"; 255 compatible = "altr,socfpga-gate-clk";
256 clocks = <&mpuclk>; 256 clocks = <&mpuclk>;
257 fixed-divider = <2>; 257 fixed-divider = <2>;
258 }; 258 };
259 259
260 l4_main_clk: l4_main_clk { 260 l4_main_clk: l4_main_clk {
261 #clock-cells = <0>; 261 #clock-cells = <0>;
262 compatible = "altr,socfpga-gate-clk"; 262 compatible = "altr,socfpga-gate-clk";
263 clocks = <&mainclk>; 263 clocks = <&mainclk>;
264 clk-gate = <0x60 0>; 264 clk-gate = <0x60 0>;
265 }; 265 };
266 266
267 l3_main_clk: l3_main_clk { 267 l3_main_clk: l3_main_clk {
268 #clock-cells = <0>; 268 #clock-cells = <0>;
269 compatible = "altr,socfpga-gate-clk"; 269 compatible = "altr,socfpga-gate-clk";
270 clocks = <&mainclk>; 270 clocks = <&mainclk>;
271 }; 271 };
272 272
273 l3_mp_clk: l3_mp_clk { 273 l3_mp_clk: l3_mp_clk {
274 #clock-cells = <0>; 274 #clock-cells = <0>;
275 compatible = "altr,socfpga-gate-clk"; 275 compatible = "altr,socfpga-gate-clk";
276 clocks = <&mainclk>; 276 clocks = <&mainclk>;
277 div-reg = <0x64 0 2>; 277 div-reg = <0x64 0 2>;
278 clk-gate = <0x60 1>; 278 clk-gate = <0x60 1>;
279 }; 279 };
280 280
281 l3_sp_clk: l3_sp_clk { 281 l3_sp_clk: l3_sp_clk {
282 #clock-cells = <0>; 282 #clock-cells = <0>;
283 compatible = "altr,socfpga-gate-clk"; 283 compatible = "altr,socfpga-gate-clk";
284 clocks = <&mainclk>; 284 clocks = <&mainclk>;
285 div-reg = <0x64 2 2>; 285 div-reg = <0x64 2 2>;
286 }; 286 };
287 287
288 l4_mp_clk: l4_mp_clk { 288 l4_mp_clk: l4_mp_clk {
289 #clock-cells = <0>; 289 #clock-cells = <0>;
290 compatible = "altr,socfpga-gate-clk"; 290 compatible = "altr,socfpga-gate-clk";
291 clocks = <&mainclk>, <&per_base_clk>; 291 clocks = <&mainclk>, <&per_base_clk>;
292 div-reg = <0x64 4 3>; 292 div-reg = <0x64 4 3>;
293 clk-gate = <0x60 2>; 293 clk-gate = <0x60 2>;
294 }; 294 };
295 295
296 l4_sp_clk: l4_sp_clk { 296 l4_sp_clk: l4_sp_clk {
297 #clock-cells = <0>; 297 #clock-cells = <0>;
298 compatible = "altr,socfpga-gate-clk"; 298 compatible = "altr,socfpga-gate-clk";
299 clocks = <&mainclk>, <&per_base_clk>; 299 clocks = <&mainclk>, <&per_base_clk>;
300 div-reg = <0x64 7 3>; 300 div-reg = <0x64 7 3>;
301 clk-gate = <0x60 3>; 301 clk-gate = <0x60 3>;
302 }; 302 };
303 303
304 dbg_at_clk: dbg_at_clk { 304 dbg_at_clk: dbg_at_clk {
305 #clock-cells = <0>; 305 #clock-cells = <0>;
306 compatible = "altr,socfpga-gate-clk"; 306 compatible = "altr,socfpga-gate-clk";
307 clocks = <&dbg_base_clk>; 307 clocks = <&dbg_base_clk>;
308 div-reg = <0x68 0 2>; 308 div-reg = <0x68 0 2>;
309 clk-gate = <0x60 4>; 309 clk-gate = <0x60 4>;
310 }; 310 };
311 311
312 dbg_clk: dbg_clk { 312 dbg_clk: dbg_clk {
313 #clock-cells = <0>; 313 #clock-cells = <0>;
314 compatible = "altr,socfpga-gate-clk"; 314 compatible = "altr,socfpga-gate-clk";
315 clocks = <&dbg_base_clk>; 315 clocks = <&dbg_base_clk>;
316 div-reg = <0x68 2 2>; 316 div-reg = <0x68 2 2>;
317 clk-gate = <0x60 5>; 317 clk-gate = <0x60 5>;
318 }; 318 };
319 319
320 dbg_trace_clk: dbg_trace_clk { 320 dbg_trace_clk: dbg_trace_clk {
321 #clock-cells = <0>; 321 #clock-cells = <0>;
322 compatible = "altr,socfpga-gate-clk"; 322 compatible = "altr,socfpga-gate-clk";
323 clocks = <&dbg_base_clk>; 323 clocks = <&dbg_base_clk>;
324 div-reg = <0x6C 0 3>; 324 div-reg = <0x6C 0 3>;
325 clk-gate = <0x60 6>; 325 clk-gate = <0x60 6>;
326 }; 326 };
327 327
328 dbg_timer_clk: dbg_timer_clk { 328 dbg_timer_clk: dbg_timer_clk {
329 #clock-cells = <0>; 329 #clock-cells = <0>;
330 compatible = "altr,socfpga-gate-clk"; 330 compatible = "altr,socfpga-gate-clk";
331 clocks = <&dbg_base_clk>; 331 clocks = <&dbg_base_clk>;
332 clk-gate = <0x60 7>; 332 clk-gate = <0x60 7>;
333 }; 333 };
334 334
335 cfg_clk: cfg_clk { 335 cfg_clk: cfg_clk {
336 #clock-cells = <0>; 336 #clock-cells = <0>;
337 compatible = "altr,socfpga-gate-clk"; 337 compatible = "altr,socfpga-gate-clk";
338 clocks = <&cfg_s2f_usr0_clk>; 338 clocks = <&cfg_h2f_usr0_clk>;
339 clk-gate = <0x60 8>; 339 clk-gate = <0x60 8>;
340 }; 340 };
341 341
342 s2f_user0_clk: s2f_user0_clk { 342 h2f_user0_clk: h2f_user0_clk {
343 #clock-cells = <0>; 343 #clock-cells = <0>;
344 compatible = "altr,socfpga-gate-clk"; 344 compatible = "altr,socfpga-gate-clk";
345 clocks = <&cfg_s2f_usr0_clk>; 345 clocks = <&cfg_h2f_usr0_clk>;
346 clk-gate = <0x60 9>; 346 clk-gate = <0x60 9>;
347 }; 347 };
348 348
349 emac_0_clk: emac_0_clk { 349 emac_0_clk: emac_0_clk {
350 #clock-cells = <0>; 350 #clock-cells = <0>;
351 compatible = "altr,socfpga-gate-clk"; 351 compatible = "altr,socfpga-gate-clk";
352 clocks = <&emac0_clk>; 352 clocks = <&emac0_clk>;
353 clk-gate = <0xa0 0>; 353 clk-gate = <0xa0 0>;
354 }; 354 };
355 355
356 emac_1_clk: emac_1_clk { 356 emac_1_clk: emac_1_clk {
357 #clock-cells = <0>; 357 #clock-cells = <0>;
358 compatible = "altr,socfpga-gate-clk"; 358 compatible = "altr,socfpga-gate-clk";
359 clocks = <&emac1_clk>; 359 clocks = <&emac1_clk>;
360 clk-gate = <0xa0 1>; 360 clk-gate = <0xa0 1>;
361 }; 361 };
362 362
363 usb_mp_clk: usb_mp_clk { 363 usb_mp_clk: usb_mp_clk {
364 #clock-cells = <0>; 364 #clock-cells = <0>;
365 compatible = "altr,socfpga-gate-clk"; 365 compatible = "altr,socfpga-gate-clk";
366 clocks = <&per_base_clk>; 366 clocks = <&per_base_clk>;
367 clk-gate = <0xa0 2>; 367 clk-gate = <0xa0 2>;
368 div-reg = <0xa4 0 3>; 368 div-reg = <0xa4 0 3>;
369 }; 369 };
370 370
371 spi_m_clk: spi_m_clk { 371 spi_m_clk: spi_m_clk {
372 #clock-cells = <0>; 372 #clock-cells = <0>;
373 compatible = "altr,socfpga-gate-clk"; 373 compatible = "altr,socfpga-gate-clk";
374 clocks = <&per_base_clk>; 374 clocks = <&per_base_clk>;
375 clk-gate = <0xa0 3>; 375 clk-gate = <0xa0 3>;
376 div-reg = <0xa4 3 3>; 376 div-reg = <0xa4 3 3>;
377 }; 377 };
378 378
379 can0_clk: can0_clk { 379 can0_clk: can0_clk {
380 #clock-cells = <0>; 380 #clock-cells = <0>;
381 compatible = "altr,socfpga-gate-clk"; 381 compatible = "altr,socfpga-gate-clk";
382 clocks = <&per_base_clk>; 382 clocks = <&per_base_clk>;
383 clk-gate = <0xa0 4>; 383 clk-gate = <0xa0 4>;
384 div-reg = <0xa4 6 3>; 384 div-reg = <0xa4 6 3>;
385 }; 385 };
386 386
387 can1_clk: can1_clk { 387 can1_clk: can1_clk {
388 #clock-cells = <0>; 388 #clock-cells = <0>;
389 compatible = "altr,socfpga-gate-clk"; 389 compatible = "altr,socfpga-gate-clk";
390 clocks = <&per_base_clk>; 390 clocks = <&per_base_clk>;
391 clk-gate = <0xa0 5>; 391 clk-gate = <0xa0 5>;
392 div-reg = <0xa4 9 3>; 392 div-reg = <0xa4 9 3>;
393 }; 393 };
394 394
395 gpio_db_clk: gpio_db_clk { 395 gpio_db_clk: gpio_db_clk {
396 #clock-cells = <0>; 396 #clock-cells = <0>;
397 compatible = "altr,socfpga-gate-clk"; 397 compatible = "altr,socfpga-gate-clk";
398 clocks = <&per_base_clk>; 398 clocks = <&per_base_clk>;
399 clk-gate = <0xa0 6>; 399 clk-gate = <0xa0 6>;
400 div-reg = <0xa8 0 24>; 400 div-reg = <0xa8 0 24>;
401 }; 401 };
402 402
403 s2f_user1_clk: s2f_user1_clk { 403 h2f_user1_clk: h2f_user1_clk {
404 #clock-cells = <0>; 404 #clock-cells = <0>;
405 compatible = "altr,socfpga-gate-clk"; 405 compatible = "altr,socfpga-gate-clk";
406 clocks = <&s2f_usr1_clk>; 406 clocks = <&h2f_usr1_clk>;
407 clk-gate = <0xa0 7>; 407 clk-gate = <0xa0 7>;
408 }; 408 };
409 409
410 sdmmc_clk: sdmmc_clk { 410 sdmmc_clk: sdmmc_clk {
411 #clock-cells = <0>; 411 #clock-cells = <0>;
412 compatible = "altr,socfpga-gate-clk"; 412 compatible = "altr,socfpga-gate-clk";
413 clocks = <&f2s_periph_ref_clk>, <&main_nand_sdmmc_clk>, <&per_nand_mmc_clk>; 413 clocks = <&f2s_periph_ref_clk>, <&main_nand_sdmmc_clk>, <&per_nand_mmc_clk>;
414 clk-gate = <0xa0 8>; 414 clk-gate = <0xa0 8>;
415 }; 415 };
416 416
417 nand_x_clk: nand_x_clk { 417 nand_x_clk: nand_x_clk {
418 #clock-cells = <0>; 418 #clock-cells = <0>;
419 compatible = "altr,socfpga-gate-clk"; 419 compatible = "altr,socfpga-gate-clk";
420 clocks = <&f2s_periph_ref_clk>, <&main_nand_sdmmc_clk>, <&per_nand_mmc_clk>; 420 clocks = <&f2s_periph_ref_clk>, <&main_nand_sdmmc_clk>, <&per_nand_mmc_clk>;
421 clk-gate = <0xa0 9>; 421 clk-gate = <0xa0 9>;
422 }; 422 };
423 423
424 nand_clk: nand_clk { 424 nand_clk: nand_clk {
425 #clock-cells = <0>; 425 #clock-cells = <0>;
426 compatible = "altr,socfpga-gate-clk"; 426 compatible = "altr,socfpga-gate-clk";
427 clocks = <&f2s_periph_ref_clk>, <&main_nand_sdmmc_clk>, <&per_nand_mmc_clk>; 427 clocks = <&f2s_periph_ref_clk>, <&main_nand_sdmmc_clk>, <&per_nand_mmc_clk>;
428 clk-gate = <0xa0 10>; 428 clk-gate = <0xa0 10>;
429 fixed-divider = <4>; 429 fixed-divider = <4>;
430 }; 430 };
431 431
432 qspi_clk: qspi_clk { 432 qspi_clk: qspi_clk {
433 #clock-cells = <0>; 433 #clock-cells = <0>;
434 compatible = "altr,socfpga-gate-clk"; 434 compatible = "altr,socfpga-gate-clk";
435 clocks = <&f2s_periph_ref_clk>, <&main_qspi_clk>, <&per_qspi_clk>; 435 clocks = <&f2s_periph_ref_clk>, <&main_qspi_clk>, <&per_qspi_clk>;
436 clk-gate = <0xa0 11>; 436 clk-gate = <0xa0 11>;
437 }; 437 };
438 }; 438 };
439 }; 439 };
@@ -473,6 +473,7 @@
473 compatible = "arm,cortex-a9-twd-timer"; 473 compatible = "arm,cortex-a9-twd-timer";
474 reg = <0xfffec600 0x100>; 474 reg = <0xfffec600 0x100>;
475 interrupts = <1 13 0xf04>; 475 interrupts = <1 13 0xf04>;
476 clocks = <&mpu_periph_clk>;
476 }; 477 };
477 478
478 timer0: timer0@ffc08000 { 479 timer0: timer0@ffc08000 {
@@ -516,9 +517,9 @@
516 }; 517 };
517 518
518 rstmgr@ffd05000 { 519 rstmgr@ffd05000 {
519 compatible = "altr,rst-mgr"; 520 compatible = "altr,rst-mgr";
520 reg = <0xffd05000 0x1000>; 521 reg = <0xffd05000 0x1000>;
521 }; 522 };
522 523
523 sysmgr@ffd08000 { 524 sysmgr@ffd08000 {
524 compatible = "altr,sys-mgr"; 525 compatible = "altr,sys-mgr";
diff --git a/arch/arm/boot/dts/socfpga_arria5.dtsi b/arch/arm/boot/dts/socfpga_arria5.dtsi
new file mode 100644
index 000000000000..a85b4043f888
--- /dev/null
+++ b/arch/arm/boot/dts/socfpga_arria5.dtsi
@@ -0,0 +1,58 @@
1/*
2 * Copyright (C) 2013 Altera Corporation <www.altera.com>
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License,
6 * version 2, as published by the Free Software Foundation.
7 *
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
11 * more details.
12 *
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/>.
15 */
16
17/dts-v1/;
18/include/ "socfpga.dtsi"
19
20/ {
21 soc {
22 clkmgr@ffd04000 {
23 clocks {
24 osc1 {
25 clock-frequency = <25000000>;
26 };
27 };
28 };
29
30 serial0@ffc02000 {
31 clock-frequency = <100000000>;
32 };
33
34 serial1@ffc03000 {
35 clock-frequency = <100000000>;
36 };
37
38 sysmgr@ffd08000 {
39 cpu1-start-addr = <0xffd080c4>;
40 };
41
42 timer0@ffc08000 {
43 clock-frequency = <100000000>;
44 };
45
46 timer1@ffc09000 {
47 clock-frequency = <100000000>;
48 };
49
50 timer2@ffd00000 {
51 clock-frequency = <25000000>;
52 };
53
54 timer3@ffd01000 {
55 clock-frequency = <25000000>;
56 };
57 };
58};
diff --git a/arch/arm/boot/dts/socfpga_arria5_socdk.dts b/arch/arm/boot/dts/socfpga_arria5_socdk.dts
new file mode 100644
index 000000000000..5beffb2265f4
--- /dev/null
+++ b/arch/arm/boot/dts/socfpga_arria5_socdk.dts
@@ -0,0 +1,40 @@
1/*
2 * Copyright (C) 2013 Altera Corporation <www.altera.com>
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18/include/ "socfpga_arria5.dtsi"
19
20/ {
21 model = "Altera SOCFPGA Arria V SoC Development Kit";
22 compatible = "altr,socfpga-arria5", "altr,socfpga";
23
24 chosen {
25 bootargs = "console=ttyS0,115200";
26 };
27
28 memory {
29 name = "memory";
30 device_type = "memory";
31 reg = <0x0 0x40000000>; /* 1GB */
32 };
33
34 aliases {
35 /* this allow the ethaddr uboot environmnet variable contents
36 * to be added to the gmac1 device tree blob.
37 */
38 ethernet0 = &gmac1;
39 };
40};
diff --git a/arch/arm/boot/dts/socfpga_cyclone5.dts b/arch/arm/boot/dts/socfpga_cyclone5.dtsi
index 973999d2c697..a8716f6dbe2e 100644
--- a/arch/arm/boot/dts/socfpga_cyclone5.dts
+++ b/arch/arm/boot/dts/socfpga_cyclone5.dtsi
@@ -19,26 +19,6 @@
19/include/ "socfpga.dtsi" 19/include/ "socfpga.dtsi"
20 20
21/ { 21/ {
22 model = "Altera SOCFPGA Cyclone V";
23 compatible = "altr,socfpga-cyclone5", "altr,socfpga";
24
25 chosen {
26 bootargs = "console=ttyS0,57600";
27 };
28
29 memory {
30 name = "memory";
31 device_type = "memory";
32 reg = <0x0 0x40000000>; /* 1GB */
33 };
34
35 aliases {
36 /* this allow the ethaddr uboot environmnet variable contents
37 * to be added to the gmac1 device tree blob.
38 */
39 ethernet0 = &gmac1;
40 };
41
42 soc { 22 soc {
43 clkmgr@ffd04000 { 23 clkmgr@ffd04000 {
44 clocks { 24 clocks {
diff --git a/arch/arm/boot/dts/socfpga_cyclone5_socdk.dts b/arch/arm/boot/dts/socfpga_cyclone5_socdk.dts
new file mode 100644
index 000000000000..2ee52ab8cabb
--- /dev/null
+++ b/arch/arm/boot/dts/socfpga_cyclone5_socdk.dts
@@ -0,0 +1,40 @@
1/*
2 * Copyright (C) 2012 Altera Corporation <www.altera.com>
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18/include/ "socfpga_cyclone5.dtsi"
19
20/ {
21 model = "Altera SOCFPGA Cyclone V SoC Development Kit";
22 compatible = "altr,socfpga-cyclone5", "altr,socfpga";
23
24 chosen {
25 bootargs = "console=ttyS0,115200";
26 };
27
28 memory {
29 name = "memory";
30 device_type = "memory";
31 reg = <0x0 0x40000000>; /* 1GB */
32 };
33
34 aliases {
35 /* this allow the ethaddr uboot environmnet variable contents
36 * to be added to the gmac1 device tree blob.
37 */
38 ethernet0 = &gmac1;
39 };
40};
diff --git a/arch/arm/boot/dts/socfpga_cyclone5_sockit.dts b/arch/arm/boot/dts/socfpga_cyclone5_sockit.dts
new file mode 100644
index 000000000000..50b99a2c12ae
--- /dev/null
+++ b/arch/arm/boot/dts/socfpga_cyclone5_sockit.dts
@@ -0,0 +1,37 @@
1/*
2 * Copyright (C) 2013 Steffen Trumtrar <s.trumtrar@pengutronix.de>
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18/include/ "socfpga_cyclone5.dtsi"
19
20/ {
21 model = "Terasic SoCkit";
22 compatible = "altr,socfpga-cyclone5", "altr,socfpga";
23
24 chosen {
25 bootargs = "console=ttyS0,115200";
26 };
27
28 memory {
29 name = "memory";
30 device_type = "memory";
31 reg = <0x0 0x40000000>; /* 1GB */
32 };
33};
34
35&gmac1 {
36 status = "okay";
37};