blob: 105a0017023f27fc810c29336fa999dcc6456a24 [file] [log] [blame]
Vineet Guptaabe11dd2013-01-18 15:12:21 +05301/*
2 * Copyright (C) 2012 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/ {
Vineet Guptafd155792015-02-20 19:12:18 +053013 compatible = "snps,nsim";
Vineet Guptaabe11dd2013-01-18 15:12:21 +053014 clock-frequency = <80000000>; /* 80 MHZ */
15 #address-cells = <1>;
16 #size-cells = <1>;
17 interrupt-parent = <&intc>;
18
19 chosen {
Greg Kroah-Hartman22524b02014-07-27 23:07:11 -070020 bootargs = "earlycon=arc_uart,mmio32,0xc0fc1000,115200n8 console=ttyARC0,115200n8";
Vineet Guptaabe11dd2013-01-18 15:12:21 +053021 };
22
23 aliases {
24 serial0 = &arcuart0;
25 };
26
Vineet Guptaabe11dd2013-01-18 15:12:21 +053027 fpga {
28 compatible = "simple-bus";
29 #address-cells = <1>;
30 #size-cells = <1>;
31
32 /* child and parent address space 1:1 mapped */
33 ranges;
34
35 intc: interrupt-controller {
36 compatible = "snps,arc700-intc";
37 interrupt-controller;
38 #interrupt-cells = <1>;
39 };
40
41 arcuart0: serial@c0fc1000 {
42 compatible = "snps,arc-uart";
43 reg = <0xc0fc1000 0x100>;
44 interrupts = <5>;
45 clock-frequency = <80000000>;
Vineet Guptafc327812013-02-11 15:02:08 +053046 current-speed = <115200>;
Vineet Guptaabe11dd2013-01-18 15:12:21 +053047 status = "okay";
48 };
Alexey Brodkind0e63ed2013-06-26 14:02:18 +040049
50 ethernet@c0fc2000 {
51 compatible = "snps,arc-emac";
52 reg = <0xc0fc2000 0x3c>;
53 interrupts = <6>;
54 mac-address = [ 00 11 22 33 44 55 ];
55 clock-frequency = <80000000>;
56 max-speed = <100>;
57 phy = <&phy0>;
58
59 #address-cells = <1>;
60 #size-cells = <0>;
61 phy0: ethernet-phy@0 {
62 reg = <1>;
63 };
64 };
Mischa Jonker0dd450f2013-11-07 14:55:11 +010065
66 arcpmu0: pmu {
Vineet Gupta30fdd372015-04-15 16:35:38 +053067 compatible = "snps,arc700-pct";
Mischa Jonker0dd450f2013-11-07 14:55:11 +010068 };
Vineet Guptaabe11dd2013-01-18 15:12:21 +053069 };
70};