1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * DTS file for all SPEAr1310 SoCs
5 * Copyright 2012 Viresh Kumar <vireshk@kernel.org>
8 /include/ "spear13xx.dtsi"
11 compatible = "st,spear1310";
14 spics: spics@e0700000{
15 compatible = "st,spear-spics-gpio";
16 reg = <0xe0700000 0x1000>;
17 st-spics,peripcfg-reg = <0x3b0>;
18 st-spics,sw-enable-bit = <12>;
19 st-spics,cs-value-bit = <11>;
20 st-spics,cs-enable-mask = <3>;
21 st-spics,cs-enable-shift = <8>;
26 miphy0: miphy@eb800000 {
27 compatible = "st,spear1310-miphy";
28 reg = <0xeb800000 0x4000>;
35 miphy1: miphy@eb804000 {
36 compatible = "st,spear1310-miphy";
37 reg = <0xeb804000 0x4000>;
44 miphy2: miphy@eb808000 {
45 compatible = "st,spear1310-miphy";
46 reg = <0xeb808000 0x4000>;
53 ahci0: ahci@b1000000 {
54 compatible = "snps,spear-ahci";
55 reg = <0xb1000000 0x10000>;
56 interrupts = <0 68 0x4>;
58 phy-names = "sata-phy";
62 ahci1: ahci@b1800000 {
63 compatible = "snps,spear-ahci";
64 reg = <0xb1800000 0x10000>;
65 interrupts = <0 69 0x4>;
67 phy-names = "sata-phy";
71 ahci2: ahci@b4000000 {
72 compatible = "snps,spear-ahci";
73 reg = <0xb4000000 0x10000>;
74 interrupts = <0 70 0x4>;
76 phy-names = "sata-phy";
80 pcie0: pcie@b1000000 {
81 compatible = "st,spear1340-pcie", "snps,dw-pcie";
82 reg = <0xb1000000 0x4000>, <0x80000000 0x20000>;
83 reg-names = "dbi", "config";
84 interrupts = <0 68 0x4>;
85 interrupt-map-mask = <0 0 0 0>;
86 interrupt-map = <0x0 0 &gic 0 68 0x4>;
89 phy-names = "pcie-phy";
93 ranges = <0x81000000 0 0 0x80020000 0 0x00010000 /* downstream I/O */
94 0x82000000 0 0x80030000 0xc0030000 0 0x0ffd0000>; /* non-prefetchable memory */
95 bus-range = <0x00 0xff>;
99 pcie1: pcie@b1800000 {
100 compatible = "st,spear1340-pcie", "snps,dw-pcie";
101 reg = <0xb1800000 0x4000>, <0x90000000 0x20000>;
102 reg-names = "dbi", "config";
103 interrupts = <0 69 0x4>;
104 interrupt-map-mask = <0 0 0 0>;
105 interrupt-map = <0x0 0 &gic 0 69 0x4>;
108 phy-names = "pcie-phy";
109 #address-cells = <3>;
112 ranges = <0x81000000 0 0 0x90020000 0 0x00010000 /* downstream I/O */
113 0x82000000 0 0x90030000 0x90030000 0 0x0ffd0000>; /* non-prefetchable memory */
114 bus-range = <0x00 0xff>;
118 pcie2: pcie@b4000000 {
119 compatible = "st,spear1340-pcie", "snps,dw-pcie";
120 reg = <0xb4000000 0x4000>, <0xc0000000 0x20000>;
121 reg-names = "dbi", "config";
122 interrupts = <0 70 0x4>;
123 interrupt-map-mask = <0 0 0 0>;
124 interrupt-map = <0x0 0 &gic 0 70 0x4>;
127 phy-names = "pcie-phy";
128 #address-cells = <3>;
131 ranges = <0x81000000 0 0 0xc0020000 0 0x00010000 /* downstream I/O */
132 0x82000000 0 0xc0030000 0xc0030000 0 0x0ffd0000>; /* non-prefetchable memory */
133 bus-range = <0x00 0xff>;
137 gmac1: eth@5c400000 {
138 compatible = "st,spear600-gmac";
139 reg = <0x5c400000 0x8000>;
140 interrupts = <0 95 0x4>;
141 interrupt-names = "macirq";
146 gmac2: eth@5c500000 {
147 compatible = "st,spear600-gmac";
148 reg = <0x5c500000 0x8000>;
149 interrupts = <0 96 0x4>;
150 interrupt-names = "macirq";
155 gmac3: eth@5c600000 {
156 compatible = "st,spear600-gmac";
157 reg = <0x5c600000 0x8000>;
158 interrupts = <0 97 0x4>;
159 interrupt-names = "macirq";
164 gmac4: eth@5c700000 {
165 compatible = "st,spear600-gmac";
166 reg = <0x5c700000 0x8000>;
167 interrupts = <0 98 0x4>;
168 interrupt-names = "macirq";
173 pinmux: pinmux@e0700000 {
174 compatible = "st,spear1310-pinmux";
175 reg = <0xe0700000 0x1000>;
176 #gpio-range-cells = <3>;
181 #address-cells = <1>;
183 compatible = "snps,designware-i2c";
184 reg = <0x5cd00000 0x1000>;
185 interrupts = <0 87 0x4>;
190 #address-cells = <1>;
192 compatible = "snps,designware-i2c";
193 reg = <0x5ce00000 0x1000>;
194 interrupts = <0 88 0x4>;
199 #address-cells = <1>;
201 compatible = "snps,designware-i2c";
202 reg = <0x5cf00000 0x1000>;
203 interrupts = <0 89 0x4>;
208 #address-cells = <1>;
210 compatible = "snps,designware-i2c";
211 reg = <0x5d000000 0x1000>;
212 interrupts = <0 90 0x4>;
217 #address-cells = <1>;
219 compatible = "snps,designware-i2c";
220 reg = <0x5d100000 0x1000>;
221 interrupts = <0 91 0x4>;
226 #address-cells = <1>;
228 compatible = "snps,designware-i2c";
229 reg = <0x5d200000 0x1000>;
230 interrupts = <0 92 0x4>;
235 #address-cells = <1>;
237 compatible = "snps,designware-i2c";
238 reg = <0x5d300000 0x1000>;
239 interrupts = <0 93 0x4>;
244 compatible = "arm,pl022", "arm,primecell";
245 reg = <0x5d400000 0x1000>;
246 interrupts = <0 99 0x4>;
247 #address-cells = <1>;
253 compatible = "arm,pl011", "arm,primecell";
254 reg = <0x5c800000 0x1000>;
255 interrupts = <0 82 0x4>;
260 compatible = "arm,pl011", "arm,primecell";
261 reg = <0x5c900000 0x1000>;
262 interrupts = <0 83 0x4>;
267 compatible = "arm,pl011", "arm,primecell";
268 reg = <0x5ca00000 0x1000>;
269 interrupts = <0 84 0x4>;
274 compatible = "arm,pl011", "arm,primecell";
275 reg = <0x5cb00000 0x1000>;
276 interrupts = <0 85 0x4>;
281 compatible = "arm,pl011", "arm,primecell";
282 reg = <0x5cc00000 0x1000>;
283 interrupts = <0 86 0x4>;
288 st,thermal-flags = <0x7000>;
291 gpiopinctrl: gpio@d8400000 {
292 compatible = "st,spear-plgpio";
293 reg = <0xd8400000 0x1000>;
294 interrupts = <0 100 0x4>;
295 #interrupt-cells = <1>;
296 interrupt-controller;
299 gpio-ranges = <&pinmux 0 0 246>;
302 st-plgpio,ngpio = <246>;
303 st-plgpio,enb-reg = <0xd0>;
304 st-plgpio,wdata-reg = <0x90>;
305 st-plgpio,dir-reg = <0xb0>;
306 st-plgpio,ie-reg = <0x30>;
307 st-plgpio,rdata-reg = <0x70>;
308 st-plgpio,mis-reg = <0x10>;
309 st-plgpio,eit-reg = <0x50>;