xref: /openbmc/linux/arch/arc/boot/dts/nsimosci.dts (revision 12eb4683)
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";
14	clock-frequency = <80000000>;	/* 80 MHZ */
15	#address-cells = <1>;
16	#size-cells = <1>;
17	interrupt-parent = <&intc>;
18
19	chosen {
20		bootargs = "console=tty0 consoleblank=0";
21	};
22
23	aliases {
24		serial0 = &uart0;
25	};
26
27	memory {
28		device_type = "memory";
29		reg = <0x80000000 0x10000000>;	/* 256M */
30	};
31
32	fpga {
33		compatible = "simple-bus";
34		#address-cells = <1>;
35		#size-cells = <1>;
36
37		/* child and parent address space 1:1 mapped */
38		ranges;
39
40		intc: interrupt-controller {
41			compatible = "snps,arc700-intc";
42			interrupt-controller;
43			#interrupt-cells = <1>;
44		};
45
46		uart0: serial@c0000000 {
47			compatible = "snps,dw-apb-uart";
48			reg = <0xc0000000 0x2000>;
49			interrupts = <11>;
50			#clock-frequency = <80000000>;
51			clock-frequency = <3686400>;
52			baud = <115200>;
53			reg-shift = <2>;
54			reg-io-width = <4>;
55			status = "okay";
56		};
57
58		pgu0: pgu@c9000000 {
59			compatible = "snps,arcpgufb";
60			reg = <0xc9000000 0x400>;
61		};
62
63		ps2: ps2@c9001000 {
64			compatible = "snps,arc_ps2";
65			reg = <0xc9000400 0x14>;
66			interrupts = <13>;
67			interrupt-names = "arc_ps2_irq";
68		};
69
70		eth0: ethernet@c0003000 {
71			compatible = "snps,oscilan";
72			reg = <0xc0003000 0x44>;
73			interrupts = <7>, <8>;
74			interrupt-names = "rx", "tx";
75		};
76	};
77};
78