Vineet Gupta | a12ebe1 | 2015-03-09 14:30:19 +0530 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2014-15 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,nsim_hs"; |
Vineet Gupta | 29e3322 | 2015-10-28 19:06:10 +0530 | [diff] [blame] | 14 | #address-cells = <2>; |
| 15 | #size-cells = <2>; |
Vineet Gupta | a12ebe1 | 2015-03-09 14:30:19 +0530 | [diff] [blame] | 16 | interrupt-parent = <&core_intc>; |
| 17 | |
Vineet Gupta | 29e3322 | 2015-10-28 19:06:10 +0530 | [diff] [blame] | 18 | memory { |
| 19 | device_type = "memory"; |
Vineet Gupta | ff1c0b6 | 2015-12-15 13:57:16 +0530 | [diff] [blame] | 20 | /* CONFIG_LINUX_LINK_BASE needs to match low mem start */ |
| 21 | reg = <0x0 0x80000000 0x0 0x20000000 /* 512 MB low mem */ |
Vineet Gupta | 29e3322 | 2015-10-28 19:06:10 +0530 | [diff] [blame] | 22 | 0x1 0x00000000 0x0 0x40000000>; /* 1 GB highmem */ |
| 23 | }; |
| 24 | |
Vineet Gupta | a12ebe1 | 2015-03-09 14:30:19 +0530 | [diff] [blame] | 25 | chosen { |
| 26 | bootargs = "earlycon=arc_uart,mmio32,0xc0fc1000,115200n8 console=ttyARC0,115200n8"; |
| 27 | }; |
| 28 | |
| 29 | aliases { |
| 30 | serial0 = &arcuart0; |
| 31 | }; |
| 32 | |
| 33 | fpga { |
| 34 | compatible = "simple-bus"; |
| 35 | #address-cells = <1>; |
| 36 | #size-cells = <1>; |
| 37 | |
Vineet Gupta | 0b29163 | 2015-12-18 17:32:49 +0530 | [diff] [blame^] | 38 | /* only perip space at end of low mem accessible |
| 39 | bus addr, parent bus addr, size */ |
Vineet Gupta | 29e3322 | 2015-10-28 19:06:10 +0530 | [diff] [blame] | 40 | ranges = <0x80000000 0x0 0x80000000 0x80000000>; |
Vineet Gupta | a12ebe1 | 2015-03-09 14:30:19 +0530 | [diff] [blame] | 41 | |
| 42 | core_intc: core-interrupt-controller { |
| 43 | compatible = "snps,archs-intc"; |
| 44 | interrupt-controller; |
| 45 | #interrupt-cells = <1>; |
| 46 | }; |
| 47 | |
| 48 | arcuart0: serial@c0fc1000 { |
| 49 | compatible = "snps,arc-uart"; |
| 50 | reg = <0xc0fc1000 0x100>; |
| 51 | interrupts = <24>; |
| 52 | clock-frequency = <80000000>; |
| 53 | current-speed = <115200>; |
| 54 | status = "okay"; |
| 55 | }; |
| 56 | |
| 57 | arcpct0: pct { |
| 58 | compatible = "snps,archs-pct"; |
| 59 | #interrupt-cells = <1>; |
| 60 | interrupts = <20>; |
| 61 | }; |
| 62 | }; |
| 63 | }; |