blob: e659a340ca8a7836735bc32bf5cc09c5e4b5907f [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 Jonkera92a5d02013-04-18 11:40:39 +020014 #address-cells = <1>;
15 #size-cells = <1>;
Vineet Gupta9ba76482016-01-28 09:57:12 +053016 interrupt-parent = <&core_intc>;
Mischa Jonkera92a5d02013-04-18 11:40:39 +020017
18 chosen {
Vineet Gupta61fb4bf2014-04-05 15:30:22 +053019 /* this is for console on PGU */
20 /* bootargs = "console=tty0 consoleblank=0"; */
21 /* this is for console on serial */
Alexey Brodkin830c6572016-06-06 10:56:53 +030022 bootargs = "earlycon=uart8250,mmio32,0xf0000000,115200n8 console=tty0 console=ttyS0,115200n8 consoleblank=0 debug video=640x480-24";
Mischa Jonkera92a5d02013-04-18 11:40:39 +020023 };
24
25 aliases {
26 serial0 = &uart0;
27 };
28
Mischa Jonkera92a5d02013-04-18 11:40:39 +020029 fpga {
30 compatible = "simple-bus";
31 #address-cells = <1>;
32 #size-cells = <1>;
33
34 /* child and parent address space 1:1 mapped */
35 ranges;
36
Vineet Guptab3d6aba2016-01-01 18:48:40 +053037 core_clk: core_clk {
38 #clock-cells = <0>;
39 compatible = "fixed-clock";
40 clock-frequency = <20000000>;
41 };
42
Vineet Gupta9ba76482016-01-28 09:57:12 +053043 core_intc: interrupt-controller {
Mischa Jonkera92a5d02013-04-18 11:40:39 +020044 compatible = "snps,arc700-intc";
45 interrupt-controller;
46 #interrupt-cells = <1>;
47 };
48
Vineet Guptae8ef0602014-10-01 14:28:36 +053049 uart0: serial@f0000000 {
Mischa Jonker6eda4772013-05-16 19:36:08 +020050 compatible = "ns8250";
Vineet Guptae8ef0602014-10-01 14:28:36 +053051 reg = <0xf0000000 0x2000>;
Mischa Jonkera92a5d02013-04-18 11:40:39 +020052 interrupts = <11>;
Mischa Jonkera92a5d02013-04-18 11:40:39 +020053 clock-frequency = <3686400>;
54 baud = <115200>;
55 reg-shift = <2>;
56 reg-io-width = <4>;
Mischa Jonker6eda4772013-05-16 19:36:08 +020057 no-loopback-test = <1>;
Mischa Jonkera92a5d02013-04-18 11:40:39 +020058 };
59
Alexey Brodkin830c6572016-06-06 10:56:53 +030060 pguclk: pguclk {
61 #clock-cells = <0>;
62 compatible = "fixed-clock";
63 clock-frequency = <25175000>;
64 };
65
66 pgu@f9000000 {
67 compatible = "snps,arcpgu";
Vineet Guptae8ef0602014-10-01 14:28:36 +053068 reg = <0xf9000000 0x400>;
Alexey Brodkin830c6572016-06-06 10:56:53 +030069 clocks = <&pguclk>;
70 clock-names = "pxlclk";
Mischa Jonkera92a5d02013-04-18 11:40:39 +020071 };
72
Vineet Guptae8ef0602014-10-01 14:28:36 +053073 ps2: ps2@f9001000 {
Mischa Jonkera92a5d02013-04-18 11:40:39 +020074 compatible = "snps,arc_ps2";
Vineet Guptae8ef0602014-10-01 14:28:36 +053075 reg = <0xf9000400 0x14>;
Mischa Jonkera92a5d02013-04-18 11:40:39 +020076 interrupts = <13>;
77 interrupt-names = "arc_ps2_irq";
78 };
79
Vineet Guptae8ef0602014-10-01 14:28:36 +053080 eth0: ethernet@f0003000 {
Lada Trimasovadf420fd2016-03-14 17:11:57 +030081 compatible = "ezchip,nps-mgt-enet";
Vineet Guptae8ef0602014-10-01 14:28:36 +053082 reg = <0xf0003000 0x44>;
Lada Trimasovadf420fd2016-03-14 17:11:57 +030083 interrupts = <7>;
Mischa Jonkera92a5d02013-04-18 11:40:39 +020084 };
85 };
86};