Commit | Line | Data |
---|---|---|
a92a5d0d MJ |
1 | /* |
2 | * Copyright (C) 2013 Synopsys, Inc. (www.synopsys.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 version 2 as | |
6 | * published by the Free Software Foundation. | |
7 | */ | |
8 | /dts-v1/; | |
9 | ||
10 | /include/ "skeleton.dtsi" | |
11 | ||
12 | / { | |
13 | compatible = "snps,nsimosci"; | |
74a834fb | 14 | clock-frequency = <20000000>; /* 20 MHZ */ |
a92a5d0d MJ |
15 | #address-cells = <1>; |
16 | #size-cells = <1>; | |
17 | interrupt-parent = <&intc>; | |
18 | ||
19 | chosen { | |
47c4534a VG |
20 | /* this is for console on PGU */ |
21 | /* bootargs = "console=tty0 consoleblank=0"; */ | |
22 | /* this is for console on serial */ | |
ecdf1f4e | 23 | bootargs = "earlycon=uart8250,mmio32,0xf0000000,115200n8 console=tty0 console=ttyS0,115200n8 consoleblank=0 debug"; |
a92a5d0d MJ |
24 | }; |
25 | ||
26 | aliases { | |
27 | serial0 = &uart0; | |
28 | }; | |
29 | ||
30 | memory { | |
31 | device_type = "memory"; | |
32 | reg = <0x80000000 0x10000000>; /* 256M */ | |
33 | }; | |
34 | ||
35 | fpga { | |
36 | compatible = "simple-bus"; | |
37 | #address-cells = <1>; | |
38 | #size-cells = <1>; | |
39 | ||
40 | /* child and parent address space 1:1 mapped */ | |
41 | ranges; | |
42 | ||
43 | intc: interrupt-controller { | |
44 | compatible = "snps,arc700-intc"; | |
45 | interrupt-controller; | |
46 | #interrupt-cells = <1>; | |
47 | }; | |
48 | ||
ecdf1f4e | 49 | uart0: serial@f0000000 { |
74a834fb | 50 | compatible = "ns8250"; |
ecdf1f4e | 51 | reg = <0xf0000000 0x2000>; |
a92a5d0d | 52 | interrupts = <11>; |
a92a5d0d MJ |
53 | clock-frequency = <3686400>; |
54 | baud = <115200>; | |
55 | reg-shift = <2>; | |
56 | reg-io-width = <4>; | |
74a834fb | 57 | no-loopback-test = <1>; |
a92a5d0d MJ |
58 | }; |
59 | ||
ecdf1f4e | 60 | pgu0: pgu@f9000000 { |
a92a5d0d | 61 | compatible = "snps,arcpgufb"; |
ecdf1f4e | 62 | reg = <0xf9000000 0x400>; |
a92a5d0d MJ |
63 | }; |
64 | ||
ecdf1f4e | 65 | ps2: ps2@f9001000 { |
a92a5d0d | 66 | compatible = "snps,arc_ps2"; |
ecdf1f4e | 67 | reg = <0xf9000400 0x14>; |
a92a5d0d MJ |
68 | interrupts = <13>; |
69 | interrupt-names = "arc_ps2_irq"; | |
70 | }; | |
71 | ||
ecdf1f4e | 72 | eth0: ethernet@f0003000 { |
a92a5d0d | 73 | compatible = "snps,oscilan"; |
ecdf1f4e | 74 | reg = <0xf0003000 0x44>; |
a92a5d0d MJ |
75 | interrupts = <7>, <8>; |
76 | interrupt-names = "rx", "tx"; | |
77 | }; | |
78 | }; | |
79 | }; |