Deleted Added
sdiff udiff text old ( 14179:9e01b57898e0 ) new ( 14281:c2a55039dc4d )
full compact
1/*
2 * Copyright (c) 2015-2017, 2019 ARM Limited
3 * All rights reserved
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;
9 * redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the
11 * documentation and/or other materials provided with the distribution;
12 * neither the name of the copyright holders nor the names of its
13 * contributors may be used to endorse or promote products derived from
14 * this software without specific prior written permission.
15 *
16 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
17 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
18 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
19 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
20 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
21 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
22 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 *
28 * Authors: Andreas Sandberg
29 */
30
31/ {
32 arm,hbi = <0x0>;
33 arm,vexpress,site = <0xf>;
34 interrupt-parent = <&gic>;
35 #address-cells = <2>;
36 #size-cells = <2>;
37
38 gic: interrupt-controller@2c000000 {
39 compatible = "arm,gic-v3";
40 #interrupt-cells = <0x3>;
41 #address-cells = <0x2>;
42 ranges;
43 interrupt-controller;
44 redistributor-stride = <0x0 0x40000>; // 256kB stride
45 reg = <0x0 0x2c000000 0x0 0x10000
46 0x0 0x2c010000 0x0 0x2000000 // room for 128 redistributors using 128K each (256K strided...)
47 0x0 0x0 0x0 0x0>;
48 interrupts = <1 9 0xf04>;
49 #size-cells = <0x2>;
50 linux,phandle = <0x1>;
51 phandle = <0x1>;
52 };
53
54 timer {
55 compatible = "arm,cortex-a15-timer",
56 "arm,armv7-timer";
57 interrupts = <1 13 0xf08>,
58 <1 14 0xf08>,
59 <1 11 0xf08>,
60 <1 10 0xf08>;
61 clocks = <&osc_sys>;
62 clock-names="apb_pclk";
63 };
64
65 pci {
66 compatible = "pci-host-ecam-generic";
67 device_type = "pci";
68 #address-cells = <0x3>;
69 #size-cells = <0x2>;
70 #interrupt-cells = <0x1>;
71
72 reg = <0x0 0x30000000 0x0 0x10000000>;
73
74 ranges = <0x01000000 0x0 0x00000000 0x0 0x2f000000 0x0 0x00010000>,
75 <0x02000000 0x0 0x40000000 0x0 0x40000000 0x0 0x40000000>;
76
77 /*
78 child unit address, #cells = #address-cells
79 child interrupt specifier, #cells = #interrupt-cells (INTA = 1, INTB = 2, INTC = 3 and INTD = 4)
80 interrupt-parent, phandle
81 parent unit address, #cells = #address-cells@gic
82 parent interrupt specifier, #cells = #interrupt-cells@gic
83 */
84 interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0x0 0x0 0x44 0x1
85 0x800 0x0 0x0 0x1 &gic 0x0 0x0 0x0 0x45 0x1
86 0x1000 0x0 0x0 0x1 &gic 0x0 0x0 0x0 0x46 0x1
87 0x1800 0x0 0x0 0x1 &gic 0x0 0x0 0x0 0x47 0x1>;
88
89 interrupt-map-mask = <0x001800 0x0 0x0 0x0>;
90 dma-coherent;
91 };
92
93 kmi@1c060000 {
94 compatible = "arm,pl050", "arm,primecell";
95 reg = <0x0 0x1c060000 0x0 0x1000>;
96 interrupts = <0 12 4>;
97 clocks = <&v2m_clk24mhz>, <&osc_smb>;
98 clock-names = "KMIREFCLK", "apb_pclk";
99 };
100
101 kmi@1c070000 {
102 compatible = "arm,pl050", "arm,primecell";
103 reg = <0x0 0x1c070000 0x0 0x1000>;
104 interrupts = <0 13 4>;
105 clocks = <&v2m_clk24mhz>, <&osc_smb>;
106 clock-names = "KMIREFCLK", "apb_pclk";
107 };
108
109 uart0: uart@1c090000 {
110 compatible = "arm,pl011", "arm,primecell";
111 reg = <0x0 0x1c090000 0x0 0x1000>;
112 interrupts = <0 5 4>;
113 clocks = <&osc_peripheral>, <&osc_smb>;
114 clock-names = "uartclk", "apb_pclk";
115 };
116
117 rtc@1c170000 {
118 compatible = "arm,pl031", "arm,primecell";
119 reg = <0x0 0x1c170000 0x0 0x1000>;
120 interrupts = <0 4 4>;
121 clocks = <&osc_smb>;
122 clock-names = "apb_pclk";
123 };
124
125 v2m_clk24mhz: clk24mhz {
126 compatible = "fixed-clock";
127 #clock-cells = <0>;
128 clock-frequency = <24000000>;
129 clock-output-names = "v2m:clk24mhz";
130 };
131
132
133 v2m_sysreg: sysreg@1c010000 {
134 compatible = "arm,vexpress-sysreg";
135 reg = <0 0x1c010000 0x0 0x1000>;
136 gpio-controller;
137 #gpio-cells = <2>;
138 };
139
140 vio@1c130000 {
141 compatible = "virtio,mmio";
142 reg = <0 0x1c130000 0x0 0x1000>;
143 interrupts = <0 42 4>;
144 };
145
146 vio@1c140000 {
147 compatible = "virtio,mmio";
148 reg = <0 0x1c140000 0x0 0x1000>;
149 interrupts = <0 43 4>;
150 };
151
152 dcc {
153 compatible = "arm,vexpress,config-bus";
154 arm,vexpress,config-bridge = <&v2m_sysreg>;
155
156 osc_pxl: osc@5 {
157 compatible = "arm,vexpress-osc";
158 arm,vexpress-sysreg,func = <1 5>;
159 freq-range = <23750000 1000000000>;
160 #clock-cells = <0>;
161 clock-output-names = "oscclk5";
162 };
163
164 osc_smb: osc@6 {
165 compatible = "arm,vexpress-osc";
166 arm,vexpress-sysreg,func = <1 6>;
167 freq-range = <20000000 50000000>;
168 #clock-cells = <0>;
169 clock-output-names = "oscclk6";
170 };
171
172 osc_sys: osc@7 {
173 compatible = "arm,vexpress-osc";
174 arm,vexpress-sysreg,func = <1 7>;
175 freq-range = <20000000 60000000>;
176 #clock-cells = <0>;
177 clock-output-names = "oscclk7";
178 };
179 };
180
181
182 mcc {
183 compatible = "arm,vexpress,config-bus";
184 arm,vexpress,config-bridge = <&v2m_sysreg>;
185 arm,vexpress,site = <0>;
186
187 osc_peripheral: osc@2 {
188 compatible = "arm,vexpress-osc";
189 arm,vexpress-sysreg,func = <1 2>;
190 freq-range = <24000000 24000000>;
191 #clock-cells = <0>;
192 clock-output-names = "v2m:oscclk2";
193 };
194 };
195};