2013-04-18 17:40:39 +08:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2013 Synopsys, Inc. (www.synopsys.com)
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
|
|
|
|
/include/ "skeleton.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
compatible = "snps,nsimosci";
|
2013-05-17 01:36:08 +08:00
|
|
|
clock-frequency = <20000000>; /* 20 MHZ */
|
2013-04-18 17:40:39 +08:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
interrupt-parent = <&intc>;
|
|
|
|
|
|
|
|
chosen {
|
2014-04-05 18:00:22 +08:00
|
|
|
/* this is for console on PGU */
|
|
|
|
/* bootargs = "console=tty0 consoleblank=0"; */
|
|
|
|
/* this is for console on serial */
|
2014-10-01 16:58:36 +08:00
|
|
|
bootargs = "earlycon=uart8250,mmio32,0xf0000000,115200n8 console=tty0 console=ttyS0,115200n8 consoleblank=0 debug";
|
2013-04-18 17:40:39 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
aliases {
|
|
|
|
serial0 = &uart0;
|
|
|
|
};
|
|
|
|
|
|
|
|
fpga {
|
|
|
|
compatible = "simple-bus";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
|
|
|
|
/* child and parent address space 1:1 mapped */
|
|
|
|
ranges;
|
|
|
|
|
|
|
|
intc: interrupt-controller {
|
|
|
|
compatible = "snps,arc700-intc";
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <1>;
|
|
|
|
};
|
|
|
|
|
2014-10-01 16:58:36 +08:00
|
|
|
uart0: serial@f0000000 {
|
2013-05-17 01:36:08 +08:00
|
|
|
compatible = "ns8250";
|
2014-10-01 16:58:36 +08:00
|
|
|
reg = <0xf0000000 0x2000>;
|
2013-04-18 17:40:39 +08:00
|
|
|
interrupts = <11>;
|
|
|
|
clock-frequency = <3686400>;
|
|
|
|
baud = <115200>;
|
|
|
|
reg-shift = <2>;
|
|
|
|
reg-io-width = <4>;
|
2013-05-17 01:36:08 +08:00
|
|
|
no-loopback-test = <1>;
|
2013-04-18 17:40:39 +08:00
|
|
|
};
|
|
|
|
|
2014-10-01 16:58:36 +08:00
|
|
|
pgu0: pgu@f9000000 {
|
2013-04-18 17:40:39 +08:00
|
|
|
compatible = "snps,arcpgufb";
|
2014-10-01 16:58:36 +08:00
|
|
|
reg = <0xf9000000 0x400>;
|
2013-04-18 17:40:39 +08:00
|
|
|
};
|
|
|
|
|
2014-10-01 16:58:36 +08:00
|
|
|
ps2: ps2@f9001000 {
|
2013-04-18 17:40:39 +08:00
|
|
|
compatible = "snps,arc_ps2";
|
2014-10-01 16:58:36 +08:00
|
|
|
reg = <0xf9000400 0x14>;
|
2013-04-18 17:40:39 +08:00
|
|
|
interrupts = <13>;
|
|
|
|
interrupt-names = "arc_ps2_irq";
|
|
|
|
};
|
|
|
|
|
2014-10-01 16:58:36 +08:00
|
|
|
eth0: ethernet@f0003000 {
|
2016-03-14 22:11:57 +08:00
|
|
|
compatible = "ezchip,nps-mgt-enet";
|
2014-10-01 16:58:36 +08:00
|
|
|
reg = <0xf0003000 0x44>;
|
2016-03-14 22:11:57 +08:00
|
|
|
interrupts = <7>;
|
2013-04-18 17:40:39 +08:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|