2 * DTS file for all SPEAr1310 SoCs
4 * Copyright 2012 Viresh Kumar <vireshk@kernel.org>
6 * The code contained herein is licensed under the GNU General Public
7 * License. You may obtain a copy of the GNU General Public License
8 * Version 2 or later at the following locations:
10 * http://www.opensource.org/licenses/gpl-license.html
11 * http://www.gnu.org/copyleft/gpl.html
14 /include/ "spear13xx.dtsi"
17 compatible = "st,spear1310";
20 spics: spics@e0700000{
21 compatible = "st,spear-spics-gpio";
22 reg = <0xe0700000 0x1000>;
23 st-spics,peripcfg-reg = <0x3b0>;
24 st-spics,sw-enable-bit = <12>;
25 st-spics,cs-value-bit = <11>;
26 st-spics,cs-enable-mask = <3>;
27 st-spics,cs-enable-shift = <8>;
32 miphy0: miphy@eb800000 {
33 compatible = "st,spear1310-miphy";
34 reg = <0xeb800000 0x4000>;
41 miphy1: miphy@eb804000 {
42 compatible = "st,spear1310-miphy";
43 reg = <0xeb804000 0x4000>;
50 miphy2: miphy@eb808000 {
51 compatible = "st,spear1310-miphy";
52 reg = <0xeb808000 0x4000>;
59 ahci0: ahci@b1000000 {
60 compatible = "snps,spear-ahci";
61 reg = <0xb1000000 0x10000>;
62 interrupts = <0 68 0x4>;
64 phy-names = "sata-phy";
68 ahci1: ahci@b1800000 {
69 compatible = "snps,spear-ahci";
70 reg = <0xb1800000 0x10000>;
71 interrupts = <0 69 0x4>;
73 phy-names = "sata-phy";
77 ahci2: ahci@b4000000 {
78 compatible = "snps,spear-ahci";
79 reg = <0xb4000000 0x10000>;
80 interrupts = <0 70 0x4>;
82 phy-names = "sata-phy";
86 pcie0: pcie@b1000000 {
87 compatible = "st,spear1340-pcie", "snps,dw-pcie";
88 reg = <0xb1000000 0x4000>, <0x80000000 0x20000>;
89 reg-names = "dbi", "config";
90 interrupts = <0 68 0x4>;
91 interrupt-map-mask = <0 0 0 0>;
92 interrupt-map = <0x0 0 &gic 0 68 0x4>;
95 phy-names = "pcie-phy";
99 ranges = <0x81000000 0 0 0x80020000 0 0x00010000 /* downstream I/O */
100 0x82000000 0 0x80030000 0xc0030000 0 0x0ffd0000>; /* non-prefetchable memory */
101 bus-range = <0x00 0xff>;
105 pcie1: pcie@b1800000 {
106 compatible = "st,spear1340-pcie", "snps,dw-pcie";
107 reg = <0xb1800000 0x4000>, <0x90000000 0x20000>;
108 reg-names = "dbi", "config";
109 interrupts = <0 69 0x4>;
110 interrupt-map-mask = <0 0 0 0>;
111 interrupt-map = <0x0 0 &gic 0 69 0x4>;
114 phy-names = "pcie-phy";
115 #address-cells = <3>;
118 ranges = <0x81000000 0 0 0x90020000 0 0x00010000 /* downstream I/O */
119 0x82000000 0 0x90030000 0x90030000 0 0x0ffd0000>; /* non-prefetchable memory */
120 bus-range = <0x00 0xff>;
124 pcie2: pcie@b4000000 {
125 compatible = "st,spear1340-pcie", "snps,dw-pcie";
126 reg = <0xb4000000 0x4000>, <0xc0000000 0x20000>;
127 reg-names = "dbi", "config";
128 interrupts = <0 70 0x4>;
129 interrupt-map-mask = <0 0 0 0>;
130 interrupt-map = <0x0 0 &gic 0 70 0x4>;
133 phy-names = "pcie-phy";
134 #address-cells = <3>;
137 ranges = <0x81000000 0 0 0xc0020000 0 0x00010000 /* downstream I/O */
138 0x82000000 0 0xc0030000 0xc0030000 0 0x0ffd0000>; /* non-prefetchable memory */
139 bus-range = <0x00 0xff>;
143 gmac1: eth@5c400000 {
144 compatible = "st,spear600-gmac";
145 reg = <0x5c400000 0x8000>;
146 interrupts = <0 95 0x4>;
147 interrupt-names = "macirq";
152 gmac2: eth@5c500000 {
153 compatible = "st,spear600-gmac";
154 reg = <0x5c500000 0x8000>;
155 interrupts = <0 96 0x4>;
156 interrupt-names = "macirq";
161 gmac3: eth@5c600000 {
162 compatible = "st,spear600-gmac";
163 reg = <0x5c600000 0x8000>;
164 interrupts = <0 97 0x4>;
165 interrupt-names = "macirq";
170 gmac4: eth@5c700000 {
171 compatible = "st,spear600-gmac";
172 reg = <0x5c700000 0x8000>;
173 interrupts = <0 98 0x4>;
174 interrupt-names = "macirq";
179 pinmux: pinmux@e0700000 {
180 compatible = "st,spear1310-pinmux";
181 reg = <0xe0700000 0x1000>;
182 #gpio-range-cells = <3>;
187 #address-cells = <1>;
189 compatible = "snps,designware-i2c";
190 reg = <0x5cd00000 0x1000>;
191 interrupts = <0 87 0x4>;
196 #address-cells = <1>;
198 compatible = "snps,designware-i2c";
199 reg = <0x5ce00000 0x1000>;
200 interrupts = <0 88 0x4>;
205 #address-cells = <1>;
207 compatible = "snps,designware-i2c";
208 reg = <0x5cf00000 0x1000>;
209 interrupts = <0 89 0x4>;
214 #address-cells = <1>;
216 compatible = "snps,designware-i2c";
217 reg = <0x5d000000 0x1000>;
218 interrupts = <0 90 0x4>;
223 #address-cells = <1>;
225 compatible = "snps,designware-i2c";
226 reg = <0x5d100000 0x1000>;
227 interrupts = <0 91 0x4>;
232 #address-cells = <1>;
234 compatible = "snps,designware-i2c";
235 reg = <0x5d200000 0x1000>;
236 interrupts = <0 92 0x4>;
241 #address-cells = <1>;
243 compatible = "snps,designware-i2c";
244 reg = <0x5d300000 0x1000>;
245 interrupts = <0 93 0x4>;
250 compatible = "arm,pl022", "arm,primecell";
251 reg = <0x5d400000 0x1000>;
252 interrupts = <0 99 0x4>;
253 #address-cells = <1>;
259 compatible = "arm,pl011", "arm,primecell";
260 reg = <0x5c800000 0x1000>;
261 interrupts = <0 82 0x4>;
266 compatible = "arm,pl011", "arm,primecell";
267 reg = <0x5c900000 0x1000>;
268 interrupts = <0 83 0x4>;
273 compatible = "arm,pl011", "arm,primecell";
274 reg = <0x5ca00000 0x1000>;
275 interrupts = <0 84 0x4>;
280 compatible = "arm,pl011", "arm,primecell";
281 reg = <0x5cb00000 0x1000>;
282 interrupts = <0 85 0x4>;
287 compatible = "arm,pl011", "arm,primecell";
288 reg = <0x5cc00000 0x1000>;
289 interrupts = <0 86 0x4>;
294 st,thermal-flags = <0x7000>;
297 gpiopinctrl: gpio@d8400000 {
298 compatible = "st,spear-plgpio";
299 reg = <0xd8400000 0x1000>;
300 interrupts = <0 100 0x4>;
301 #interrupt-cells = <1>;
302 interrupt-controller;
305 gpio-ranges = <&pinmux 0 0 246>;
308 st-plgpio,ngpio = <246>;
309 st-plgpio,enb-reg = <0xd0>;
310 st-plgpio,wdata-reg = <0x90>;
311 st-plgpio,dir-reg = <0xb0>;
312 st-plgpio,ie-reg = <0x30>;
313 st-plgpio,rdata-reg = <0x70>;
314 st-plgpio,mis-reg = <0x10>;
315 st-plgpio,eit-reg = <0x50>;