mirror of https://gitee.com/openkylin/linux.git
96 lines
2.0 KiB
Plaintext
96 lines
2.0 KiB
Plaintext
|
/*
|
||
|
* Copyright(c) 2015 EZchip Technologies.
|
||
|
*
|
||
|
* This program is free software; you can redistribute it and/or modify it
|
||
|
* under the terms and conditions of the GNU General Public License,
|
||
|
* version 2, as published by the Free Software Foundation.
|
||
|
*
|
||
|
* This program is distributed in the hope it will be useful, but WITHOUT
|
||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||
|
* more details.
|
||
|
*
|
||
|
* The full GNU General Public License is included in this distribution in
|
||
|
* the file called "COPYING".
|
||
|
*/
|
||
|
|
||
|
/dts-v1/;
|
||
|
|
||
|
/ {
|
||
|
compatible = "ezchip,arc-nps";
|
||
|
#address-cells = <1>;
|
||
|
#size-cells = <1>;
|
||
|
interrupt-parent = <&intc>;
|
||
|
present-cpus = "0-1,16-17";
|
||
|
possible-cpus = "0-4095";
|
||
|
|
||
|
aliases {
|
||
|
ethernet0 = &gmac0;
|
||
|
};
|
||
|
|
||
|
chosen {
|
||
|
bootargs = "earlycon=uart8250,mmio32be,0xf7209000,115200n8 console=ttyS0,115200n8";
|
||
|
};
|
||
|
|
||
|
memory {
|
||
|
device_type = "memory";
|
||
|
reg = <0x80000000 0x20000000>; /* 512M */
|
||
|
};
|
||
|
|
||
|
clocks {
|
||
|
sysclk: sysclk {
|
||
|
compatible = "fixed-clock";
|
||
|
#clock-cells = <0>;
|
||
|
clock-frequency = <83333333>;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
soc {
|
||
|
compatible = "simple-bus";
|
||
|
#address-cells = <1>;
|
||
|
#size-cells = <1>;
|
||
|
|
||
|
/* child and parent address space 1:1 mapped */
|
||
|
ranges;
|
||
|
|
||
|
intc: interrupt-controller {
|
||
|
compatible = "ezchip,nps400-ic";
|
||
|
interrupt-controller;
|
||
|
#interrupt-cells = <1>;
|
||
|
};
|
||
|
|
||
|
timer0: timer_clkevt {
|
||
|
compatible = "snps,arc-timer";
|
||
|
interrupts = <3>;
|
||
|
clocks = <&sysclk>;
|
||
|
};
|
||
|
|
||
|
timer1: timer_clksrc {
|
||
|
compatible = "ezchip,nps400-timer";
|
||
|
clocks = <&sysclk>;
|
||
|
clock-names="sysclk";
|
||
|
};
|
||
|
|
||
|
uart@f7209000 {
|
||
|
compatible = "snps,dw-apb-uart";
|
||
|
device_type = "serial";
|
||
|
reg = <0xf7209000 0x100>;
|
||
|
interrupts = <6>;
|
||
|
clocks = <&sysclk>;
|
||
|
clock-names="baudclk";
|
||
|
baud = <115200>;
|
||
|
reg-shift = <2>;
|
||
|
reg-io-width = <4>;
|
||
|
native-endian;
|
||
|
};
|
||
|
|
||
|
gmac0: ethernet@f7470000 {
|
||
|
compatible = "ezchip,nps-mgt-enet";
|
||
|
reg = <0xf7470000 0x1940>;
|
||
|
interrupts = <7>;
|
||
|
/* Filled in by U-Boot */
|
||
|
mac-address = [ 00 C0 00 F0 04 03 ];
|
||
|
};
|
||
|
};
|
||
|
};
|