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 | / { | |
03dc552d | 13 | model = "snps,nsimosci"; |
a92a5d0d | 14 | compatible = "snps,nsimosci"; |
a92a5d0d MJ |
15 | #address-cells = <1>; |
16 | #size-cells = <1>; | |
9ba7648c | 17 | interrupt-parent = <&core_intc>; |
a92a5d0d MJ |
18 | |
19 | chosen { | |
61fb4bfc VG |
20 | /* this is for console on PGU */ |
21 | /* bootargs = "console=tty0 consoleblank=0"; */ | |
22 | /* this is for console on serial */ | |
830c6578 | 23 | bootargs = "earlycon=uart8250,mmio32,0xf0000000,115200n8 console=tty0 console=ttyS0,115200n8 consoleblank=0 debug video=640x480-24"; |
a92a5d0d MJ |
24 | }; |
25 | ||
26 | aliases { | |
27 | serial0 = &uart0; | |
28 | }; | |
29 | ||
a92a5d0d MJ |
30 | fpga { |
31 | compatible = "simple-bus"; | |
32 | #address-cells = <1>; | |
33 | #size-cells = <1>; | |
34 | ||
35 | /* child and parent address space 1:1 mapped */ | |
36 | ranges; | |
37 | ||
b3d6aba8 VG |
38 | core_clk: core_clk { |
39 | #clock-cells = <0>; | |
40 | compatible = "fixed-clock"; | |
41 | clock-frequency = <20000000>; | |
42 | }; | |
43 | ||
9ba7648c | 44 | core_intc: interrupt-controller { |
a92a5d0d MJ |
45 | compatible = "snps,arc700-intc"; |
46 | interrupt-controller; | |
47 | #interrupt-cells = <1>; | |
48 | }; | |
49 | ||
e8ef060b | 50 | uart0: serial@f0000000 { |
6eda477b | 51 | compatible = "ns8250"; |
e8ef060b | 52 | reg = <0xf0000000 0x2000>; |
a92a5d0d | 53 | interrupts = <11>; |
a92a5d0d MJ |
54 | clock-frequency = <3686400>; |
55 | baud = <115200>; | |
56 | reg-shift = <2>; | |
57 | reg-io-width = <4>; | |
6eda477b | 58 | no-loopback-test = <1>; |
a92a5d0d MJ |
59 | }; |
60 | ||
830c6578 AB |
61 | pguclk: pguclk { |
62 | #clock-cells = <0>; | |
63 | compatible = "fixed-clock"; | |
64 | clock-frequency = <25175000>; | |
65 | }; | |
66 | ||
67 | pgu@f9000000 { | |
68 | compatible = "snps,arcpgu"; | |
e8ef060b | 69 | reg = <0xf9000000 0x400>; |
830c6578 AB |
70 | clocks = <&pguclk>; |
71 | clock-names = "pxlclk"; | |
a92a5d0d MJ |
72 | }; |
73 | ||
e8ef060b | 74 | ps2: ps2@f9001000 { |
a92a5d0d | 75 | compatible = "snps,arc_ps2"; |
e8ef060b | 76 | reg = <0xf9000400 0x14>; |
a92a5d0d MJ |
77 | interrupts = <13>; |
78 | interrupt-names = "arc_ps2_irq"; | |
79 | }; | |
80 | ||
e8ef060b | 81 | eth0: ethernet@f0003000 { |
df420fd6 | 82 | compatible = "ezchip,nps-mgt-enet"; |
e8ef060b | 83 | reg = <0xf0003000 0x44>; |
df420fd6 | 84 | interrupts = <7>; |
a92a5d0d MJ |
85 | }; |
86 | }; | |
87 | }; |