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"
|
|
|
|
|
|
|
|
/ {
|
2016-08-16 12:26:31 +08:00
|
|
|
model = "snps,nsimosci";
|
2013-04-18 17:40:39 +08:00
|
|
|
compatible = "snps,nsimosci";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
2016-01-28 12:27:12 +08:00
|
|
|
interrupt-parent = <&core_intc>;
|
2013-04-18 17:40:39 +08:00
|
|
|
|
|
|
|
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 */
|
2016-06-06 15:56:53 +08:00
|
|
|
bootargs = "earlycon=uart8250,mmio32,0xf0000000,115200n8 console=tty0 console=ttyS0,115200n8 consoleblank=0 debug video=640x480-24";
|
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;
|
|
|
|
|
2016-01-01 21:18:40 +08:00
|
|
|
core_clk: core_clk {
|
|
|
|
#clock-cells = <0>;
|
|
|
|
compatible = "fixed-clock";
|
|
|
|
clock-frequency = <20000000>;
|
|
|
|
};
|
|
|
|
|
2016-01-28 12:27:12 +08:00
|
|
|
core_intc: interrupt-controller {
|
2013-04-18 17:40:39 +08:00
|
|
|
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
|
|
|
};
|
|
|
|
|
2016-06-06 15:56:53 +08:00
|
|
|
pguclk: pguclk {
|
|
|
|
#clock-cells = <0>;
|
|
|
|
compatible = "fixed-clock";
|
|
|
|
clock-frequency = <25175000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
pgu@f9000000 {
|
|
|
|
compatible = "snps,arcpgu";
|
2014-10-01 16:58:36 +08:00
|
|
|
reg = <0xf9000000 0x400>;
|
2016-06-06 15:56:53 +08:00
|
|
|
clocks = <&pguclk>;
|
|
|
|
clock-names = "pxlclk";
|
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
|
|
|
};
|
2016-10-31 20:59:11 +08:00
|
|
|
|
|
|
|
arcpct0: pct {
|
|
|
|
compatible = "snps,arc700-pct";
|
|
|
|
};
|
2013-04-18 17:40:39 +08:00
|
|
|
};
|
|
|
|
};
|