Vineet Gupta | abe11dd | 2013-01-18 15:12:21 +0530 | [diff] [blame] | 1 | /* |
| 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 Gupta | fd15579 | 2015-02-20 19:12:18 +0530 | [diff] [blame] | 13 | compatible = "snps,nsim"; |
Vineet Gupta | abe11dd | 2013-01-18 15:12:21 +0530 | [diff] [blame] | 14 | clock-frequency = <80000000>; /* 80 MHZ */ |
| 15 | #address-cells = <1>; |
| 16 | #size-cells = <1>; |
Vineet Gupta | 9ba7648 | 2016-01-28 09:57:12 +0530 | [diff] [blame] | 17 | interrupt-parent = <&core_intc>; |
Vineet Gupta | abe11dd | 2013-01-18 15:12:21 +0530 | [diff] [blame] | 18 | |
| 19 | chosen { |
Greg Kroah-Hartman | 22524b0 | 2014-07-27 23:07:11 -0700 | [diff] [blame] | 20 | bootargs = "earlycon=arc_uart,mmio32,0xc0fc1000,115200n8 console=ttyARC0,115200n8"; |
Vineet Gupta | abe11dd | 2013-01-18 15:12:21 +0530 | [diff] [blame] | 21 | }; |
| 22 | |
| 23 | aliases { |
| 24 | serial0 = &arcuart0; |
| 25 | }; |
| 26 | |
Vineet Gupta | abe11dd | 2013-01-18 15:12:21 +0530 | [diff] [blame] | 27 | 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 | |
Vineet Gupta | b3d6aba | 2016-01-01 18:48:40 +0530 | [diff] [blame] | 35 | core_clk: core_clk { |
| 36 | #clock-cells = <0>; |
| 37 | compatible = "fixed-clock"; |
| 38 | clock-frequency = <80000000>; |
| 39 | }; |
| 40 | |
Vineet Gupta | 9ba7648 | 2016-01-28 09:57:12 +0530 | [diff] [blame] | 41 | core_intc: interrupt-controller { |
Vineet Gupta | abe11dd | 2013-01-18 15:12:21 +0530 | [diff] [blame] | 42 | compatible = "snps,arc700-intc"; |
| 43 | interrupt-controller; |
| 44 | #interrupt-cells = <1>; |
| 45 | }; |
| 46 | |
| 47 | arcuart0: serial@c0fc1000 { |
| 48 | compatible = "snps,arc-uart"; |
| 49 | reg = <0xc0fc1000 0x100>; |
| 50 | interrupts = <5>; |
| 51 | clock-frequency = <80000000>; |
Vineet Gupta | fc32781 | 2013-02-11 15:02:08 +0530 | [diff] [blame] | 52 | current-speed = <115200>; |
Vineet Gupta | abe11dd | 2013-01-18 15:12:21 +0530 | [diff] [blame] | 53 | status = "okay"; |
| 54 | }; |
Alexey Brodkin | d0e63ed | 2013-06-26 14:02:18 +0400 | [diff] [blame] | 55 | |
| 56 | ethernet@c0fc2000 { |
| 57 | compatible = "snps,arc-emac"; |
| 58 | reg = <0xc0fc2000 0x3c>; |
| 59 | interrupts = <6>; |
| 60 | mac-address = [ 00 11 22 33 44 55 ]; |
| 61 | clock-frequency = <80000000>; |
| 62 | max-speed = <100>; |
| 63 | phy = <&phy0>; |
| 64 | |
| 65 | #address-cells = <1>; |
| 66 | #size-cells = <0>; |
| 67 | phy0: ethernet-phy@0 { |
| 68 | reg = <1>; |
| 69 | }; |
| 70 | }; |
Mischa Jonker | 0dd450f | 2013-11-07 14:55:11 +0100 | [diff] [blame] | 71 | |
| 72 | arcpmu0: pmu { |
Vineet Gupta | 30fdd37 | 2015-04-15 16:35:38 +0530 | [diff] [blame] | 73 | compatible = "snps,arc700-pct"; |
Mischa Jonker | 0dd450f | 2013-11-07 14:55:11 +0100 | [diff] [blame] | 74 | }; |
Vineet Gupta | abe11dd | 2013-01-18 15:12:21 +0530 | [diff] [blame] | 75 | }; |
| 76 | }; |