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 | / { |
| 13 | compatible = "snps,arc-angel4"; |
| 14 | clock-frequency = <80000000>; /* 80 MHZ */ |
| 15 | #address-cells = <1>; |
| 16 | #size-cells = <1>; |
| 17 | interrupt-parent = <&intc>; |
| 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 | |
| 27 | memory { |
| 28 | device_type = "memory"; |
| 29 | reg = <0x00000000 0x10000000>; /* 256M */ |
| 30 | }; |
| 31 | |
| 32 | fpga { |
| 33 | compatible = "simple-bus"; |
| 34 | #address-cells = <1>; |
| 35 | #size-cells = <1>; |
| 36 | |
| 37 | /* child and parent address space 1:1 mapped */ |
| 38 | ranges; |
| 39 | |
| 40 | intc: interrupt-controller { |
| 41 | compatible = "snps,arc700-intc"; |
| 42 | interrupt-controller; |
| 43 | #interrupt-cells = <1>; |
| 44 | }; |
| 45 | |
| 46 | arcuart0: serial@c0fc1000 { |
| 47 | compatible = "snps,arc-uart"; |
| 48 | reg = <0xc0fc1000 0x100>; |
| 49 | interrupts = <5>; |
| 50 | clock-frequency = <80000000>; |
Vineet Gupta | fc32781 | 2013-02-11 15:02:08 +0530 | [diff] [blame] | 51 | current-speed = <115200>; |
Vineet Gupta | abe11dd | 2013-01-18 15:12:21 +0530 | [diff] [blame] | 52 | status = "okay"; |
| 53 | }; |
Alexey Brodkin | d0e63ed | 2013-06-26 14:02:18 +0400 | [diff] [blame] | 54 | |
| 55 | ethernet@c0fc2000 { |
| 56 | compatible = "snps,arc-emac"; |
| 57 | reg = <0xc0fc2000 0x3c>; |
| 58 | interrupts = <6>; |
| 59 | mac-address = [ 00 11 22 33 44 55 ]; |
| 60 | clock-frequency = <80000000>; |
| 61 | max-speed = <100>; |
| 62 | phy = <&phy0>; |
| 63 | |
| 64 | #address-cells = <1>; |
| 65 | #size-cells = <0>; |
| 66 | phy0: ethernet-phy@0 { |
| 67 | reg = <1>; |
| 68 | }; |
| 69 | }; |
Mischa Jonker | 0dd450f | 2013-11-07 14:55:11 +0100 | [diff] [blame] | 70 | |
| 71 | arcpmu0: pmu { |
| 72 | compatible = "snps,arc700-pmu"; |
| 73 | }; |
Vineet Gupta | abe11dd | 2013-01-18 15:12:21 +0530 | [diff] [blame] | 74 | }; |
| 75 | }; |