GNU Linux-libre 5.4.274-gnu1
[releases.git] / arch / arc / boot / dts / haps_hs.dts
1 // SPDX-License-Identifier: GPL-2.0-only
2 /*
3  * Copyright (C) 2016-2014 Synopsys, Inc. (www.synopsys.com)
4  */
5 /dts-v1/;
6
7 /include/ "skeleton_hs.dtsi"
8
9 / {
10         model = "snps,zebu_hs";
11         compatible = "snps,zebu_hs";
12         #address-cells = <1>;
13         #size-cells = <1>;
14         interrupt-parent = <&core_intc>;
15
16         memory {
17                 device_type = "memory";
18                 reg = <0x80000000 0x20000000>;  /* 512 */
19         };
20
21         chosen {
22                 bootargs = "earlycon=uart8250,mmio32,0xf0000000,115200n8 console=ttyS0,115200n8 debug print-fatal-signals=1";
23         };
24
25         aliases {
26                 serial0 = &uart0;
27         };
28
29         fpga {
30                 compatible = "simple-bus";
31                 #address-cells = <1>;
32                 #size-cells = <1>;
33
34                 /* child and parent address space 1:1 mapped */
35                 ranges;
36
37                 core_clk: core_clk {
38                         #clock-cells = <0>;
39                         compatible = "fixed-clock";
40                         clock-frequency = <50000000>;
41                 };
42
43                 core_intc: interrupt-controller {
44                         compatible = "snps,archs-intc";
45                         interrupt-controller;
46                         #interrupt-cells = <1>;
47                 };
48
49                 uart0: serial@f0000000 {
50                         compatible = "ns8250";
51                         reg = <0xf0000000 0x2000>;
52                         interrupts = <24>;
53                         clock-frequency = <50000000>;
54                         baud = <115200>;
55                         reg-shift = <2>;
56                         reg-io-width = <4>;
57                         no-loopback-test = <1>;
58                 };
59
60                 arcpct0: pct {
61                         compatible = "snps,archs-pct";
62                         #interrupt-cells = <1>;
63                         interrupts = <20>;
64                 };
65
66                 virtio0: virtio@f0100000 {
67                         compatible = "virtio,mmio";
68                         reg = <0xf0100000 0x2000>;
69                         interrupts = <31>;
70                 };
71
72                 virtio1: virtio@f0102000 {
73                         compatible = "virtio,mmio";
74                         reg = <0xf0102000 0x2000>;
75                         interrupts = <32>;
76                 };
77
78                 virtio2: virtio@f0104000 {
79                         compatible = "virtio,mmio";
80                         reg = <0xf0104000 0x2000>;
81                         interrupts = <33>;
82                 };
83
84                 virtio3: virtio@f0106000 {
85                         compatible = "virtio,mmio";
86                         reg = <0xf0106000 0x2000>;
87                         interrupts = <34>;
88                 };
89
90                 virtio4: virtio@f0108000 {
91                         compatible = "virtio,mmio";
92                         reg = <0xf0108000 0x2000>;
93                         interrupts = <35>;
94                 };
95         };
96 };