blob: 71f1f8416179b2310fa9f70ee451b28b54afbd38 [file] [log] [blame]
Thomas Gleixnerd2912cb2019-06-04 10:11:33 +02001// SPDX-License-Identifier: GPL-2.0-only
Vineet Guptaa12ebe12015-03-09 14:30:19 +05302/*
3 * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com)
Vineet Guptaa12ebe12015-03-09 14:30:19 +05304 */
5/dts-v1/;
6
Vineet Gupta2e8cd932016-01-19 16:00:42 +05307/include/ "skeleton_hs.dtsi"
Vineet Guptaa12ebe12015-03-09 14:30:19 +05308
9/ {
Alexey Brodkin618a9cd2016-08-16 07:26:31 +030010 model = "snps,nsimosci_hs";
Vineet Guptaa12ebe12015-03-09 14:30:19 +053011 compatible = "snps,nsimosci_hs";
Vineet Guptaa12ebe12015-03-09 14:30:19 +053012 #address-cells = <1>;
13 #size-cells = <1>;
14 interrupt-parent = <&core_intc>;
15
16 chosen {
17 /* this is for console on PGU */
18 /* bootargs = "console=tty0 consoleblank=0"; */
19 /* this is for console on serial */
Alexey Brodkin8ff3afc2018-01-18 16:48:47 +030020 bootargs = "earlycon=uart8250,mmio32,0xf0000000,115200n8 console=tty0 console=ttyS0,115200n8 consoleblank=0 debug video=640x480-24 print-fatal-signals=1";
Vineet Guptaa12ebe12015-03-09 14:30:19 +053021 };
22
23 aliases {
24 serial0 = &uart0;
25 };
26
27 fpga {
28 compatible = "simple-bus";
29 #address-cells = <1>;
30 #size-cells = <1>;
31
32 /* child and parent address space 1:1 mapped */
33 ranges;
34
Vineet Guptab3d6aba2016-01-01 18:48:40 +053035 core_clk: core_clk {
36 #clock-cells = <0>;
37 compatible = "fixed-clock";
38 clock-frequency = <20000000>;
39 };
40
Vineet Guptaa12ebe12015-03-09 14:30:19 +053041 core_intc: core-interrupt-controller {
42 compatible = "snps,archs-intc";
43 interrupt-controller;
44 #interrupt-cells = <1>;
45 };
46
47 uart0: serial@f0000000 {
48 compatible = "ns8250";
49 reg = <0xf0000000 0x2000>;
50 interrupts = <24>;
51 clock-frequency = <3686400>;
52 baud = <115200>;
53 reg-shift = <2>;
54 reg-io-width = <4>;
55 no-loopback-test = <1>;
56 };
57
Alexey Brodkin830c6572016-06-06 10:56:53 +030058 pguclk: pguclk {
59 #clock-cells = <0>;
60 compatible = "fixed-clock";
61 clock-frequency = <25175000>;
62 };
63
64 pgu@f9000000 {
65 compatible = "snps,arcpgu";
Vineet Guptaa12ebe12015-03-09 14:30:19 +053066 reg = <0xf9000000 0x400>;
Alexey Brodkin830c6572016-06-06 10:56:53 +030067 clocks = <&pguclk>;
68 clock-names = "pxlclk";
Vineet Guptaa12ebe12015-03-09 14:30:19 +053069 };
70
71 ps2: ps2@f9001000 {
72 compatible = "snps,arc_ps2";
73 reg = <0xf9000400 0x14>;
74 interrupts = <27>;
75 interrupt-names = "arc_ps2_irq";
76 };
77
78 eth0: ethernet@f0003000 {
Lada Trimasovadf420fd2016-03-14 17:11:57 +030079 compatible = "ezchip,nps-mgt-enet";
Vineet Guptaa12ebe12015-03-09 14:30:19 +053080 reg = <0xf0003000 0x44>;
Lada Trimasovadf420fd2016-03-14 17:11:57 +030081 interrupts = <25>;
Vineet Guptaa12ebe12015-03-09 14:30:19 +053082 };
83
84 arcpct0: pct {
85 compatible = "snps,archs-pct";
86 #interrupt-cells = <1>;
87 interrupts = <20>;
88 };
89 };
90};