blob: cfaedd9c61c99d89f42c50ea694cfda48f2a2b18 [file] [log] [blame]
Mischa Jonkera92a5d02013-04-18 11:40:39 +02001/*
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";
Mischa Jonker6eda4772013-05-16 19:36:08 +020014 clock-frequency = <20000000>; /* 20 MHZ */
Mischa Jonkera92a5d02013-04-18 11:40:39 +020015 #address-cells = <1>;
16 #size-cells = <1>;
17 interrupt-parent = <&intc>;
18
19 chosen {
Vineet Gupta61fb4bf2014-04-05 15:30:22 +053020 /* this is for console on PGU */
21 /* bootargs = "console=tty0 consoleblank=0"; */
22 /* this is for console on serial */
Vineet Gupta5c054832014-06-20 16:24:49 +053023 bootargs = "earlycon=uart8250,mmio32,0xc0000000,115200n8 console=tty0 console=ttyS0,115200n8 consoleblank=0 debug";
Mischa Jonkera92a5d02013-04-18 11:40:39 +020024 };
25
26 aliases {
27 serial0 = &uart0;
28 };
29
Mischa Jonkera92a5d02013-04-18 11:40:39 +020030 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
44 uart0: serial@c0000000 {
Mischa Jonker6eda4772013-05-16 19:36:08 +020045 compatible = "ns8250";
Mischa Jonkera92a5d02013-04-18 11:40:39 +020046 reg = <0xc0000000 0x2000>;
47 interrupts = <11>;
Mischa Jonkera92a5d02013-04-18 11:40:39 +020048 clock-frequency = <3686400>;
49 baud = <115200>;
50 reg-shift = <2>;
51 reg-io-width = <4>;
Mischa Jonker6eda4772013-05-16 19:36:08 +020052 no-loopback-test = <1>;
Mischa Jonkera92a5d02013-04-18 11:40:39 +020053 };
54
55 pgu0: pgu@c9000000 {
56 compatible = "snps,arcpgufb";
57 reg = <0xc9000000 0x400>;
58 };
59
60 ps2: ps2@c9001000 {
61 compatible = "snps,arc_ps2";
62 reg = <0xc9000400 0x14>;
63 interrupts = <13>;
64 interrupt-names = "arc_ps2_irq";
65 };
66
67 eth0: ethernet@c0003000 {
68 compatible = "snps,oscilan";
69 reg = <0xc0003000 0x44>;
70 interrupts = <7>, <8>;
71 interrupt-names = "rx", "tx";
72 };
73 };
74};