blob: 8e2489b16b0aeecb9bc83de255ccad3eeb33efd5 [file] [log] [blame]
Vineet Guptaa12ebe12015-03-09 14:30:19 +05301/*
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
Vineet Gupta2e8cd932016-01-19 16:00:42 +053010/include/ "skeleton_hs.dtsi"
Vineet Guptaa12ebe12015-03-09 14:30:19 +053011
12/ {
Alexey Brodkin618a9cd2016-08-16 07:26:31 +030013 model = "snps,nsim_hs";
Vineet Guptaa12ebe12015-03-09 14:30:19 +053014 compatible = "snps,nsim_hs";
Vineet Gupta29e33222015-10-28 19:06:10 +053015 #address-cells = <2>;
16 #size-cells = <2>;
Vineet Guptaa12ebe12015-03-09 14:30:19 +053017 interrupt-parent = <&core_intc>;
18
Vineet Gupta29e33222015-10-28 19:06:10 +053019 memory {
20 device_type = "memory";
Eugeniy Paltsev9ed68782017-08-15 21:13:54 +030021 /* CONFIG_LINUX_RAM_BASE needs to match low mem start */
Vineet Guptaff1c0b62015-12-15 13:57:16 +053022 reg = <0x0 0x80000000 0x0 0x20000000 /* 512 MB low mem */
Vineet Gupta29e33222015-10-28 19:06:10 +053023 0x1 0x00000000 0x0 0x40000000>; /* 1 GB highmem */
24 };
25
Vineet Guptaa12ebe12015-03-09 14:30:19 +053026 chosen {
Alexey Brodkin8ff3afc2018-01-18 16:48:47 +030027 bootargs = "earlycon=arc_uart,mmio32,0xc0fc1000,115200n8 console=ttyARC0,115200n8 print-fatal-signals=1";
Vineet Guptaa12ebe12015-03-09 14:30:19 +053028 };
29
30 aliases {
31 serial0 = &arcuart0;
32 };
33
34 fpga {
35 compatible = "simple-bus";
36 #address-cells = <1>;
37 #size-cells = <1>;
38
Vineet Gupta0b291632015-12-18 17:32:49 +053039 /* only perip space at end of low mem accessible
40 bus addr, parent bus addr, size */
Vineet Gupta29e33222015-10-28 19:06:10 +053041 ranges = <0x80000000 0x0 0x80000000 0x80000000>;
Vineet Guptaa12ebe12015-03-09 14:30:19 +053042
Vineet Guptab3d6aba2016-01-01 18:48:40 +053043 core_clk: core_clk {
44 #clock-cells = <0>;
45 compatible = "fixed-clock";
46 clock-frequency = <80000000>;
47 };
48
Vineet Guptaa12ebe12015-03-09 14:30:19 +053049 core_intc: core-interrupt-controller {
50 compatible = "snps,archs-intc";
51 interrupt-controller;
52 #interrupt-cells = <1>;
53 };
54
55 arcuart0: serial@c0fc1000 {
56 compatible = "snps,arc-uart";
57 reg = <0xc0fc1000 0x100>;
58 interrupts = <24>;
59 clock-frequency = <80000000>;
60 current-speed = <115200>;
61 status = "okay";
62 };
63
64 arcpct0: pct {
65 compatible = "snps,archs-pct";
66 #interrupt-cells = <1>;
67 interrupts = <20>;
68 };
69 };
70};