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"; | |
6eda477b | 14 | clock-frequency = <20000000>; /* 20 MHZ */ |
a92a5d0d MJ |
15 | #address-cells = <1>; |
16 | #size-cells = <1>; | |
17 | interrupt-parent = <&intc>; | |
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 */ | |
e8ef060b | 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 | ||
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 | ||
38 | intc: interrupt-controller { | |
39 | compatible = "snps,arc700-intc"; | |
40 | interrupt-controller; | |
41 | #interrupt-cells = <1>; | |
42 | }; | |
43 | ||
e8ef060b | 44 | uart0: serial@f0000000 { |
6eda477b | 45 | compatible = "ns8250"; |
e8ef060b | 46 | reg = <0xf0000000 0x2000>; |
a92a5d0d | 47 | interrupts = <11>; |
a92a5d0d MJ |
48 | clock-frequency = <3686400>; |
49 | baud = <115200>; | |
50 | reg-shift = <2>; | |
51 | reg-io-width = <4>; | |
6eda477b | 52 | no-loopback-test = <1>; |
a92a5d0d MJ |
53 | }; |
54 | ||
e8ef060b | 55 | pgu0: pgu@f9000000 { |
a92a5d0d | 56 | compatible = "snps,arcpgufb"; |
e8ef060b | 57 | reg = <0xf9000000 0x400>; |
a92a5d0d MJ |
58 | }; |
59 | ||
e8ef060b | 60 | ps2: ps2@f9001000 { |
a92a5d0d | 61 | compatible = "snps,arc_ps2"; |
e8ef060b | 62 | reg = <0xf9000400 0x14>; |
a92a5d0d MJ |
63 | interrupts = <13>; |
64 | interrupt-names = "arc_ps2_irq"; | |
65 | }; | |
66 | ||
e8ef060b | 67 | eth0: ethernet@f0003000 { |
a92a5d0d | 68 | compatible = "snps,oscilan"; |
e8ef060b | 69 | reg = <0xf0003000 0x44>; |
a92a5d0d MJ |
70 | interrupts = <7>, <8>; |
71 | interrupt-names = "rx", "tx"; | |
72 | }; | |
73 | }; | |
74 | }; |