blob: 16ce5d65cfded4ac545eb2020604bc183d89d015 [file] [log] [blame]
Vineet Guptaa12ebe12015-03-09 14:30:19 +05301/*
2 * Copyright (C) 2014-15 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
Vineet Gupta2e8cd932016-01-19 16:00:42 +053010/include/ "skeleton_hs.dtsi"
Vineet Guptaa12ebe12015-03-09 14:30:19 +053011
12/ {
13 compatible = "snps,nsimosci_hs";
Vineet Guptaa12ebe12015-03-09 14:30:19 +053014 #address-cells = <1>;
15 #size-cells = <1>;
16 interrupt-parent = <&core_intc>;
17
18 chosen {
19 /* 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";
Vineet Guptaa12ebe12015-03-09 14:30:19 +053023 };
24
25 aliases {
26 serial0 = &uart0;
27 };
28
29 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 Guptaa12ebe12015-03-09 14:30:19 +053043 core_intc: core-interrupt-controller {
44 compatible = "snps,archs-intc";
45 interrupt-controller;
46 #interrupt-cells = <1>;
47 };
48
49 uart0: serial@f0000000 {
50 compatible = "ns8250";
51 reg = <0xf0000000 0x2000>;
52 interrupts = <24>;
53 clock-frequency = <3686400>;
54 baud = <115200>;
55 reg-shift = <2>;
56 reg-io-width = <4>;
57 no-loopback-test = <1>;
58 };
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 Guptaa12ebe12015-03-09 14:30:19 +053068 reg = <0xf9000000 0x400>;
Alexey Brodkin830c6572016-06-06 10:56:53 +030069 clocks = <&pguclk>;
70 clock-names = "pxlclk";
Vineet Guptaa12ebe12015-03-09 14:30:19 +053071 };
72
73 ps2: ps2@f9001000 {
74 compatible = "snps,arc_ps2";
75 reg = <0xf9000400 0x14>;
76 interrupts = <27>;
77 interrupt-names = "arc_ps2_irq";
78 };
79
80 eth0: ethernet@f0003000 {
Lada Trimasovadf420fd2016-03-14 17:11:57 +030081 compatible = "ezchip,nps-mgt-enet";
Vineet Guptaa12ebe12015-03-09 14:30:19 +053082 reg = <0xf0003000 0x44>;
Lada Trimasovadf420fd2016-03-14 17:11:57 +030083 interrupts = <25>;
Vineet Guptaa12ebe12015-03-09 14:30:19 +053084 };
85
86 arcpct0: pct {
87 compatible = "snps,archs-pct";
88 #interrupt-cells = <1>;
89 interrupts = <20>;
90 };
91 };
92};