blob: 6b7bf8eb16936bfa042df9f5af7a70207f77c7fd [file] [log] [blame]
Tom Rini8b0c8a12018-05-06 18:27:01 -04001// SPDX-License-Identifier: GPL-2.0+ OR X11
Haikun Wang09d1cfb2015-06-26 19:48:36 +08002/*
Prabhakar Kushwaha122bcfd2015-11-09 16:42:07 +05303 * Freescale ls2080a SOC common device tree source
Haikun Wang09d1cfb2015-06-26 19:48:36 +08004 *
5 * Copyright 2013-2015 Freescale Semiconductor, Inc.
Haikun Wang09d1cfb2015-06-26 19:48:36 +08006 */
7
8/ {
Prabhakar Kushwaha122bcfd2015-11-09 16:42:07 +05309 compatible = "fsl,ls2080a";
Haikun Wang09d1cfb2015-06-26 19:48:36 +080010 interrupt-parent = <&gic>;
11 #address-cells = <2>;
12 #size-cells = <2>;
13
Haikun Wang09d1cfb2015-06-26 19:48:36 +080014 memory@80000000 {
15 device_type = "memory";
16 reg = <0x00000000 0x80000000 0 0x80000000>;
17 /* DRAM space - 1, size : 2 GB DRAM */
18 };
19
20 gic: interrupt-controller@6000000 {
21 compatible = "arm,gic-v3";
22 reg = <0x0 0x06000000 0 0x10000>, /* GIC Dist */
23 <0x0 0x06100000 0 0x100000>; /* GICR (RD_base + SGI_base) */
24 #interrupt-cells = <3>;
25 interrupt-controller;
26 interrupts = <1 9 0x4>;
27 };
28
Hou Zhiqiang14fa6b72020-08-06 14:38:19 +080029 gic_lpi_base: syscon@0x80000000 {
30 compatible = "gic-lpi-base";
31 reg = <0x0 0x80000000 0x0 0x100000>;
32 max-gic-redistributors = <8>;
33 };
34
Haikun Wang09d1cfb2015-06-26 19:48:36 +080035 timer {
36 compatible = "arm,armv8-timer";
37 interrupts = <1 13 0x8>, /* Physical Secure PPI, active-low */
38 <1 14 0x8>, /* Physical Non-Secure PPI, active-low */
39 <1 11 0x8>, /* Virtual PPI, active-low */
40 <1 10 0x8>; /* Hypervisor PPI, active-low */
41 };
42
43 serial0: serial@21c0500 {
44 device_type = "serial";
45 compatible = "fsl,ns16550", "ns16550a";
46 reg = <0x0 0x21c0500 0x0 0x100>;
47 clock-frequency = <0>; /* Updated by bootloader */
48 interrupts = <0 32 0x1>; /* edge triggered */
49 };
50
51 serial1: serial@21c0600 {
52 device_type = "serial";
53 compatible = "fsl,ns16550", "ns16550a";
54 reg = <0x0 0x21c0600 0x0 0x100>;
55 clock-frequency = <0>; /* Updated by bootloader */
56 interrupts = <0 32 0x1>; /* edge triggered */
57 };
58
chuanhua han20fd96c2019-07-22 16:36:45 +080059 i2c0: i2c@2000000 {
60 status = "disabled";
61 compatible = "fsl,vf610-i2c";
62 #address-cells = <1>;
63 #size-cells = <0>;
64 reg = <0x0 0x2000000 0x0 0x10000>;
65 interrupts = <0 34 0x4>; /* Level high type */
66 };
67
68 i2c1: i2c@2010000 {
69 status = "disabled";
70 compatible = "fsl,vf610-i2c";
71 #address-cells = <1>;
72 #size-cells = <0>;
73 reg = <0x0 0x2010000 0x0 0x10000>;
74 interrupts = <0 34 0x4>; /* Level high type */
75 };
76
77 i2c2: i2c@2020000 {
78 status = "disabled";
79 compatible = "fsl,vf610-i2c";
80 #address-cells = <1>;
81 #size-cells = <0>;
82 reg = <0x0 0x2020000 0x0 0x10000>;
83 interrupts = <0 35 0x4>; /* Level high type */
84 };
85
86 i2c3: i2c@2030000 {
87 status = "disabled";
88 compatible = "fsl,vf610-i2c";
89 #address-cells = <1>;
90 #size-cells = <0>;
91 reg = <0x0 0x2030000 0x0 0x10000>;
92 interrupts = <0 35 0x4>; /* Level high type */
93 };
94
Haikun Wang4d513af2015-06-26 19:48:45 +080095 dspi: dspi@2100000 {
96 compatible = "fsl,vf610-dspi";
97 #address-cells = <1>;
98 #size-cells = <0>;
99 reg = <0x0 0x2100000 0x0 0x10000>;
100 interrupts = <0 26 0x4>; /* Level high type */
101 num-cs = <6>;
102 };
Yuan Yaob42bbc22016-06-08 18:24:56 +0800103
104 qspi: quadspi@1550000 {
Kuldeep Singh4c380872019-12-12 11:49:24 +0530105 compatible = "fsl,ls2080a-qspi";
Yuan Yaob42bbc22016-06-08 18:24:56 +0800106 #address-cells = <1>;
107 #size-cells = <0>;
108 reg = <0x0 0x20c0000 0x0 0x10000>,
109 <0x0 0x20000000 0x0 0x10000000>;
110 reg-names = "QuadSPI", "QuadSPI-memory";
Kuldeep Singh4c380872019-12-12 11:49:24 +0530111 status = "disabled";
Yuan Yaob42bbc22016-06-08 18:24:56 +0800112 };
Sriram Dash66e6ed72016-10-07 14:07:36 +0530113
Yinbo Zhue1be1042018-09-25 14:47:08 +0800114 esdhc: esdhc@0 {
115 compatible = "fsl,esdhc";
116 reg = <0x0 0x2140000 0x0 0x10000>;
117 interrupts = <0 28 0x4>; /* Level high type */
118 little-endian;
119 bus-width = <4>;
120 };
121
Sriram Dash66e6ed72016-10-07 14:07:36 +0530122 usb0: usb3@3100000 {
123 compatible = "fsl,layerscape-dwc3";
124 reg = <0x0 0x3100000 0x0 0x10000>;
125 interrupts = <0 80 0x4>; /* Level high type */
126 dr_mode = "host";
127 };
128
129 usb1: usb3@3110000 {
130 compatible = "fsl,layerscape-dwc3";
131 reg = <0x0 0x3110000 0x0 0x10000>;
132 interrupts = <0 81 0x4>; /* Level high type */
133 dr_mode = "host";
134 };
Minghuan Liane20065d2016-12-13 14:54:15 +0800135
136 pcie@3400000 {
137 compatible = "fsl,ls-pcie", "snps,dw-pcie";
138 reg = <0x00 0x03400000 0x0 0x80000 /* dbi registers */
139 0x00 0x03480000 0x0 0x80000 /* lut registers */
140 0x10 0x00000000 0x0 0x20000>; /* configuration space */
141 reg-names = "dbi", "lut", "config";
142 #address-cells = <3>;
143 #size-cells = <2>;
144 device_type = "pci";
145 num-lanes = <4>;
146 bus-range = <0x0 0xff>;
147 ranges = <0x81000000 0x0 0x00000000 0x10 0x00020000 0x0 0x00010000 /* downstream I/O */
148 0x82000000 0x0 0x40000000 0x10 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
149 };
150
151 pcie@3500000 {
152 compatible = "fsl,ls-pcie", "snps,dw-pcie";
153 reg = <0x00 0x03500000 0x0 0x80000 /* dbi registers */
154 0x00 0x03580000 0x0 0x80000 /* lut registers */
155 0x12 0x00000000 0x0 0x20000>; /* configuration space */
156 reg-names = "dbi", "lut", "config";
157 #address-cells = <3>;
158 #size-cells = <2>;
159 device_type = "pci";
160 num-lanes = <4>;
161 bus-range = <0x0 0xff>;
162 ranges = <0x81000000 0x0 0x00000000 0x12 0x00020000 0x0 0x00010000 /* downstream I/O */
163 0x82000000 0x0 0x40000000 0x12 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
164 };
165
166 pcie@3600000 {
167 compatible = "fsl,ls-pcie", "snps,dw-pcie";
168 reg = <0x00 0x03600000 0x0 0x80000 /* dbi registers */
169 0x00 0x03680000 0x0 0x80000 /* lut registers */
170 0x14 0x00000000 0x0 0x20000>; /* configuration space */
171 reg-names = "dbi", "lut", "config";
172 #address-cells = <3>;
173 #size-cells = <2>;
174 device_type = "pci";
175 num-lanes = <8>;
176 bus-range = <0x0 0xff>;
177 ranges = <0x81000000 0x0 0x00000000 0x14 0x00020000 0x0 0x00010000 /* downstream I/O */
178 0x82000000 0x0 0x40000000 0x14 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
179 };
180
181 pcie@3700000 {
182 compatible = "fsl,ls-pcie", "snps,dw-pcie";
183 reg = <0x00 0x03700000 0x0 0x80000 /* dbi registers */
184 0x00 0x03780000 0x0 0x80000 /* lut registers */
185 0x16 0x00000000 0x0 0x20000>; /* configuration space */
186 reg-names = "dbi", "lut", "config";
187 #address-cells = <3>;
188 #size-cells = <2>;
189 device_type = "pci";
190 num-lanes = <4>;
191 bus-range = <0x0 0xff>;
192 ranges = <0x81000000 0x0 0x00000000 0x16 0x00020000 0x0 0x00010000 /* downstream I/O */
193 0x82000000 0x0 0x40000000 0x16 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
194 };
Peng Ma520d49a2018-10-22 10:43:21 +0800195
196 sata: sata@3200000 {
197 compatible = "fsl,ls2080a-ahci";
198 reg = <0x0 0x3200000 0x0 0x10000>;
199 interrupts = <0 133 0x4>; /* Level high type */
200 status = "disabled";
201 };
202
Ioana Ciorneicdc42a32020-03-18 16:47:45 +0200203 fsl_mc: fsl-mc@80c000000 {
204 compatible = "fsl,qoriq-mc", "simple-mfd";
205 reg = <0x00000008 0x0c000000 0 0x40>, /* MC portal base */
206 <0x00000000 0x08340000 0 0x40000>; /* MC control reg */
207 #address-cells = <3>;
208 #size-cells = <1>;
209
210 /*
211 * Region type 0x0 - MC portals
212 * Region type 0x1 - QBMAN portals
213 */
214 ranges = <0x0 0x0 0x0 0x8 0x0c000000 0x4000000
215 0x1 0x0 0x0 0x8 0x18000000 0x8000000>;
216
217 dpmacs {
218 compatible = "simple-mfd";
219 #address-cells = <1>;
220 #size-cells = <0>;
221
222 dpmac1: dpmac@1 {
223 compatible = "fsl,qoriq-mc-dpmac";
224 reg = <0x1>;
225 status = "disabled";
226 };
227
228 dpmac2: dpmac@2 {
229 compatible = "fsl,qoriq-mc-dpmac";
230 reg = <0x2>;
231 status = "disabled";
232 };
233
234 dpmac3: dpmac@3 {
235 compatible = "fsl,qoriq-mc-dpmac";
236 reg = <0x3>;
237 status = "disabled";
238 };
239
240 dpmac4: dpmac@4 {
241 compatible = "fsl,qoriq-mc-dpmac";
242 reg = <0x4>;
243 status = "disabled";
244 };
245
246 dpmac5: dpmac@5 {
247 compatible = "fsl,qoriq-mc-dpmac";
248 reg = <0x5>;
249 status = "disabled";
250 };
251
252 dpmac6: dpmac@6 {
253 compatible = "fsl,qoriq-mc-dpmac";
254 reg = <0x6>;
255 status = "disabled";
256 };
257
258 dpmac7: dpmac@7 {
259 compatible = "fsl,qoriq-mc-dpmac";
260 reg = <0x7>;
261 status = "disabled";
262 };
263
264 dpmac8: dpmac@8 {
265 compatible = "fsl,qoriq-mc-dpmac";
266 reg = <0x8>;
267 status = "disabled";
268 };
269 };
270 };
271
Ioana Ciornei05463892020-03-18 16:47:42 +0200272 emdio1: mdio@8B96000 {
273 compatible = "fsl,ls-mdio";
274 reg = <0x0 0x8B96000 0x0 0x1000>;
275 #address-cells = <1>;
276 #size-cells = <0>;
277 status = "disabled";
278 };
279
280 emdio2: mdio@8B97000 {
281 compatible = "fsl,ls-mdio";
282 reg = <0x0 0x8B97000 0x0 0x1000>;
283 #address-cells = <1>;
284 #size-cells = <0>;
285 status = "disabled";
286 };
Haikun Wang09d1cfb2015-06-26 19:48:36 +0800287};