2013-01-22 19:30:52 +08:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2012 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.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Skeleton device tree; the bare minimum needed to boot; just include and
|
|
|
|
* add a compatible value.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/ {
|
|
|
|
compatible = "snps,arc";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
chosen { };
|
|
|
|
aliases { };
|
2013-01-18 17:42:21 +08:00
|
|
|
|
|
|
|
cpus {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
cpu@0 {
|
|
|
|
device_type = "cpu";
|
|
|
|
compatible = "snps,arc770d";
|
|
|
|
reg = <0>;
|
2017-03-03 19:30:00 +08:00
|
|
|
clocks = <&core_clk>;
|
2013-01-18 17:42:21 +08:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-01-01 21:18:40 +08:00
|
|
|
/* TIMER0 with interrupt for clockevent */
|
|
|
|
timer0 {
|
|
|
|
compatible = "snps,arc-timer";
|
|
|
|
interrupts = <3>;
|
|
|
|
interrupt-parent = <&core_intc>;
|
|
|
|
clocks = <&core_clk>;
|
|
|
|
};
|
|
|
|
|
|
|
|
/* TIMER1 for free running clocksource */
|
|
|
|
timer1 {
|
|
|
|
compatible = "snps,arc-timer";
|
|
|
|
clocks = <&core_clk>;
|
|
|
|
};
|
|
|
|
|
2013-01-18 17:42:20 +08:00
|
|
|
memory {
|
|
|
|
device_type = "memory";
|
2015-01-23 20:40:26 +08:00
|
|
|
reg = <0x80000000 0x10000000>; /* 256M */
|
2013-01-18 17:42:20 +08:00
|
|
|
};
|
2013-01-22 19:30:52 +08:00
|
|
|
};
|