blob: 1cdcc99c1ee65a4f077e04dd9ef13e2cefa12eec [file] [log] [blame]
Tom Rini4549e782018-05-06 18:27:01 -04001// SPDX-License-Identifier: GPL-2.0+ OR X11
Prabhakar Kushwaha9d044fc2016-06-03 18:41:34 +05302/*
Gaurav Jain88071ca2022-03-24 11:50:34 +05303 * Copyright 2020-2021 NXP
Prabhakar Kushwaha9d044fc2016-06-03 18:41:34 +05304 * Copyright 2016 Freescale Semiconductor
Prabhakar Kushwaha9d044fc2016-06-03 18:41:34 +05305 */
6
7/include/ "skeleton64.dtsi"
8
9/ {
10 compatible = "fsl,ls1012a";
11 interrupt-parent = <&gic>;
Prabhakar Kushwaha9d044fc2016-06-03 18:41:34 +053012
13 sysclk: sysclk {
14 compatible = "fixed-clock";
15 #clock-cells = <0>;
16 clock-frequency = <100000000>;
17 clock-output-names = "sysclk";
18 };
19
20 gic: interrupt-controller@1400000 {
21 compatible = "arm,gic-400";
22 #interrupt-cells = <3>;
23 interrupt-controller;
24 reg = <0x0 0x1401000 0 0x1000>, /* GICD */
25 <0x0 0x1402000 0 0x2000>, /* GICC */
26 <0x0 0x1404000 0 0x2000>, /* GICH */
27 <0x0 0x1406000 0 0x2000>; /* GICV */
28 interrupts = <1 9 0xf08>;
29 };
30
31 soc {
32 compatible = "simple-bus";
33 #address-cells = <2>;
34 #size-cells = <2>;
35 ranges;
36
37 clockgen: clocking@1ee1000 {
38 compatible = "fsl,ls1012a-clockgen";
39 reg = <0x0 0x1ee1000 0x0 0x1000>;
40 #clock-cells = <2>;
41 clocks = <&sysclk>;
42 };
43
44 dspi0: dspi@2100000 {
45 compatible = "fsl,vf610-dspi";
46 #address-cells = <1>;
47 #size-cells = <0>;
48 reg = <0x0 0x2100000 0x0 0x10000>;
49 interrupts = <0 64 0x4>;
50 clock-names = "dspi";
51 clocks = <&clockgen 4 0>;
Michael Walle8c580892021-10-13 18:14:18 +020052 spi-num-chipselects = <6>;
Prabhakar Kushwaha9d044fc2016-06-03 18:41:34 +053053 big-endian;
54 status = "disabled";
55 };
56
Yangbo Lue1f39752016-12-07 11:54:32 +080057 esdhc0: esdhc@1560000 {
58 compatible = "fsl,esdhc";
59 reg = <0x0 0x1560000 0x0 0x10000>;
60 interrupts = <0 62 0x4>;
61 big-endian;
62 bus-width = <4>;
63 };
64
65 esdhc1: esdhc@1580000 {
66 compatible = "fsl,esdhc";
67 reg = <0x0 0x1580000 0x0 0x10000>;
68 interrupts = <0 65 0x4>;
69 big-endian;
70 non-removable;
71 bus-width = <4>;
72 };
Prabhakar Kushwaha9d044fc2016-06-03 18:41:34 +053073
Gaurav Jain88071ca2022-03-24 11:50:34 +053074 crypto: crypto@1700000 {
75 compatible = "fsl,sec-v5.4", "fsl,sec-v5.0",
76 "fsl,sec-v4.0";
77 fsl,sec-era = <8>;
78 #address-cells = <1>;
79 #size-cells = <1>;
80 ranges = <0x0 0x00 0x1700000 0x100000>;
81 reg = <0x00 0x1700000 0x0 0x100000>;
82 interrupts = <0 75 0x4>;
83 dma-coherent;
84
85 sec_jr0: jr@10000 {
86 compatible = "fsl,sec-v5.4-job-ring",
87 "fsl,sec-v5.0-job-ring",
88 "fsl,sec-v4.0-job-ring";
89 reg = <0x10000 0x10000>;
90 interrupts = <0 71 0x4>;
91 };
92
93 sec_jr1: jr@20000 {
94 compatible = "fsl,sec-v5.4-job-ring",
95 "fsl,sec-v5.0-job-ring",
96 "fsl,sec-v4.0-job-ring";
97 reg = <0x20000 0x10000>;
98 interrupts = <0 72 0x4>;
99 };
100
101 sec_jr2: jr@30000 {
102 compatible = "fsl,sec-v5.4-job-ring",
103 "fsl,sec-v5.0-job-ring",
104 "fsl,sec-v4.0-job-ring";
105 reg = <0x30000 0x10000>;
106 interrupts = <0 73 0x4>;
107 };
108
109 sec_jr3: jr@40000 {
110 compatible = "fsl,sec-v5.4-job-ring",
111 "fsl,sec-v5.0-job-ring",
112 "fsl,sec-v4.0-job-ring";
113 reg = <0x40000 0x10000>;
114 interrupts = <0 74 0x4>;
115 };
116 };
117
Biwen Li56093002021-02-05 19:01:49 +0800118 gpio0: gpio@2300000 {
119 compatible = "fsl,qoriq-gpio";
120 reg = <0x0 0x2300000 0x0 0x10000>;
121 interrupts = <0 66 0x4>;
122 gpio-controller;
123 #gpio-cells = <2>;
124 interrupt-controller;
125 #interrupt-cells = <2>;
126 };
127
128 gpio1: gpio@2310000 {
129 compatible = "fsl,qoriq-gpio";
130 reg = <0x0 0x2310000 0x0 0x10000>;
131 interrupts = <0 67 0x4>;
132 gpio-controller;
133 #gpio-cells = <2>;
134 interrupt-controller;
135 #interrupt-cells = <2>;
136 };
137
Prabhakar Kushwaha9d044fc2016-06-03 18:41:34 +0530138 i2c0: i2c@2180000 {
139 compatible = "fsl,vf610-i2c";
140 #address-cells = <1>;
141 #size-cells = <0>;
142 reg = <0x0 0x2180000 0x0 0x10000>;
143 interrupts = <0 56 0x4>;
144 clock-names = "i2c";
145 clocks = <&clockgen 4 0>;
146 status = "disabled";
147 };
148
149 i2c1: i2c@2190000 {
150 compatible = "fsl,vf610-i2c";
151 #address-cells = <1>;
152 #size-cells = <0>;
153 reg = <0x0 0x2190000 0x0 0x10000>;
154 interrupts = <0 57 0x4>;
155 clock-names = "i2c";
156 clocks = <&clockgen 4 0>;
157 status = "disabled";
158 };
159
160 duart0: serial@21c0500 {
161 compatible = "fsl,ns16550", "ns16550a";
162 reg = <0x00 0x21c0500 0x0 0x100>;
163 interrupts = <0 54 0x4>;
164 clocks = <&clockgen 4 0>;
165 };
166
167 duart1: serial@21c0600 {
168 compatible = "fsl,ns16550", "ns16550a";
169 reg = <0x00 0x21c0600 0x0 0x100>;
170 interrupts = <0 54 0x4>;
171 clocks = <&clockgen 4 0>;
172 };
173
174 qspi: quadspi@1550000 {
Kuldeep Singhb480bcc2019-12-12 11:49:24 +0530175 compatible = "fsl,ls1021a-qspi";
Prabhakar Kushwaha9d044fc2016-06-03 18:41:34 +0530176 #address-cells = <1>;
177 #size-cells = <0>;
178 reg = <0x0 0x1550000 0x0 0x10000>,
179 <0x0 0x40000000 0x0 0x4000000>;
180 reg-names = "QuadSPI", "QuadSPI-memory";
Prabhakar Kushwaha9d044fc2016-06-03 18:41:34 +0530181 status = "disabled";
182 };
183
Wasim Khan6ba8b6a2020-09-28 16:26:10 +0530184 pcie1: pcie@3400000 {
Minghuan Lian048a0452016-12-13 14:54:12 +0800185 compatible = "fsl,ls-pcie", "snps,dw-pcie";
186 reg = <0x00 0x03400000 0x0 0x80000 /* dbi registers */
187 0x00 0x03480000 0x0 0x40000 /* lut registers */
188 0x00 0x034c0000 0x0 0x40000 /* pf controls registers */
189 0x40 0x00000000 0x0 0x20000>; /* configuration space */
190 reg-names = "dbi", "lut", "ctrl", "config";
191 big-endian;
192 #address-cells = <3>;
193 #size-cells = <2>;
194 device_type = "pci";
195 bus-range = <0x0 0xff>;
196 ranges = <0x81000000 0x0 0x00000000 0x40 0x00020000 0x0 0x00010000 /* downstream I/O */
197 0x82000000 0x0 0x40000000 0x40 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
198 };
Tang Yuantiana7305872016-12-27 10:24:44 +0800199
Yuantian Tang86bff2b2018-07-13 17:25:29 +0800200 sata: sata@3200000 {
201 compatible = "fsl,ls1012a-ahci";
Peng Mae765ee52019-04-17 10:10:49 +0000202 reg = <0x0 0x3200000 0x0 0x10000 /* ccsr sata base */
203 0x0 0x20140520 0x0 0x4>; /* ecc sata addr */
Michael Wallecde9b142021-10-13 18:14:20 +0200204 reg-names = "ahci", "sata-ecc";
Yuantian Tang86bff2b2018-07-13 17:25:29 +0800205 interrupts = <0 69 4>;
206 clocks = <&clockgen 4 0>;
207 status = "disabled";
208 };
209
Tang Yuantiana7305872016-12-27 10:24:44 +0800210 usb0: usb2@8600000 {
211 compatible = "fsl-usb2-dr-v2.5", "fsl-usb2-dr";
212 reg = <0x0 0x8600000 0x0 0x1000>;
213 interrupts = <0 139 0x4>;
214 dr_mode = "host";
215 fsl,usb-erratum-a005697;
216 };
217
218 usb1: usb3@2f00000 {
219 compatible = "fsl,layerscape-dwc3";
220 reg = <0x0 0x2f00000 0x0 0x10000>;
221 interrupts = <0 61 0x4>;
222 dr_mode = "host";
223 };
Prabhakar Kushwaha9d044fc2016-06-03 18:41:34 +0530224 };
225};