xref: /freebsd-src/sys/contrib/device-tree/src/arm/st/spear1310.dtsi (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * DTS file for all SPEAr1310 SoCs
4*f126890aSEmmanuel Vadot *
5*f126890aSEmmanuel Vadot * Copyright 2012 Viresh Kumar <vireshk@kernel.org>
6*f126890aSEmmanuel Vadot */
7*f126890aSEmmanuel Vadot
8*f126890aSEmmanuel Vadot/include/ "spear13xx.dtsi"
9*f126890aSEmmanuel Vadot
10*f126890aSEmmanuel Vadot/ {
11*f126890aSEmmanuel Vadot	compatible = "st,spear1310";
12*f126890aSEmmanuel Vadot
13*f126890aSEmmanuel Vadot	ahb {
14*f126890aSEmmanuel Vadot		spics: spics@e0700000 {
15*f126890aSEmmanuel Vadot			compatible = "st,spear-spics-gpio";
16*f126890aSEmmanuel Vadot			reg = <0xe0700000 0x1000>;
17*f126890aSEmmanuel Vadot			st-spics,peripcfg-reg = <0x3b0>;
18*f126890aSEmmanuel Vadot			st-spics,sw-enable-bit = <12>;
19*f126890aSEmmanuel Vadot			st-spics,cs-value-bit = <11>;
20*f126890aSEmmanuel Vadot			st-spics,cs-enable-mask = <3>;
21*f126890aSEmmanuel Vadot			st-spics,cs-enable-shift = <8>;
22*f126890aSEmmanuel Vadot			gpio-controller;
23*f126890aSEmmanuel Vadot			#gpio-cells = <2>;
24*f126890aSEmmanuel Vadot		};
25*f126890aSEmmanuel Vadot
26*f126890aSEmmanuel Vadot		miphy0: miphy@eb800000 {
27*f126890aSEmmanuel Vadot			compatible = "st,spear1310-miphy";
28*f126890aSEmmanuel Vadot			reg = <0xeb800000 0x4000>;
29*f126890aSEmmanuel Vadot			misc = <&misc>;
30*f126890aSEmmanuel Vadot			phy-id = <0>;
31*f126890aSEmmanuel Vadot			#phy-cells = <1>;
32*f126890aSEmmanuel Vadot			status = "disabled";
33*f126890aSEmmanuel Vadot		};
34*f126890aSEmmanuel Vadot
35*f126890aSEmmanuel Vadot		miphy1: miphy@eb804000 {
36*f126890aSEmmanuel Vadot			compatible = "st,spear1310-miphy";
37*f126890aSEmmanuel Vadot			reg = <0xeb804000 0x4000>;
38*f126890aSEmmanuel Vadot			misc = <&misc>;
39*f126890aSEmmanuel Vadot			phy-id = <1>;
40*f126890aSEmmanuel Vadot			#phy-cells = <1>;
41*f126890aSEmmanuel Vadot			status = "disabled";
42*f126890aSEmmanuel Vadot		};
43*f126890aSEmmanuel Vadot
44*f126890aSEmmanuel Vadot		miphy2: miphy@eb808000 {
45*f126890aSEmmanuel Vadot			compatible = "st,spear1310-miphy";
46*f126890aSEmmanuel Vadot			reg = <0xeb808000 0x4000>;
47*f126890aSEmmanuel Vadot			misc = <&misc>;
48*f126890aSEmmanuel Vadot			phy-id = <2>;
49*f126890aSEmmanuel Vadot			#phy-cells = <1>;
50*f126890aSEmmanuel Vadot			status = "disabled";
51*f126890aSEmmanuel Vadot		};
52*f126890aSEmmanuel Vadot
53*f126890aSEmmanuel Vadot		ahci0: ahci@b1000000 {
54*f126890aSEmmanuel Vadot			compatible = "snps,spear-ahci";
55*f126890aSEmmanuel Vadot			reg = <0xb1000000 0x10000>;
56*f126890aSEmmanuel Vadot			interrupts = <0 68 0x4>;
57*f126890aSEmmanuel Vadot			phys = <&miphy0 0>;
58*f126890aSEmmanuel Vadot			phy-names = "sata-phy";
59*f126890aSEmmanuel Vadot			status = "disabled";
60*f126890aSEmmanuel Vadot		};
61*f126890aSEmmanuel Vadot
62*f126890aSEmmanuel Vadot		ahci1: ahci@b1800000 {
63*f126890aSEmmanuel Vadot			compatible = "snps,spear-ahci";
64*f126890aSEmmanuel Vadot			reg = <0xb1800000 0x10000>;
65*f126890aSEmmanuel Vadot			interrupts = <0 69 0x4>;
66*f126890aSEmmanuel Vadot			phys = <&miphy1 0>;
67*f126890aSEmmanuel Vadot			phy-names = "sata-phy";
68*f126890aSEmmanuel Vadot			status = "disabled";
69*f126890aSEmmanuel Vadot		};
70*f126890aSEmmanuel Vadot
71*f126890aSEmmanuel Vadot		ahci2: ahci@b4000000 {
72*f126890aSEmmanuel Vadot			compatible = "snps,spear-ahci";
73*f126890aSEmmanuel Vadot			reg = <0xb4000000 0x10000>;
74*f126890aSEmmanuel Vadot			interrupts = <0 70 0x4>;
75*f126890aSEmmanuel Vadot			phys = <&miphy2 0>;
76*f126890aSEmmanuel Vadot			phy-names = "sata-phy";
77*f126890aSEmmanuel Vadot			status = "disabled";
78*f126890aSEmmanuel Vadot		};
79*f126890aSEmmanuel Vadot
80*f126890aSEmmanuel Vadot		pcie0: pcie@b1000000 {
81*f126890aSEmmanuel Vadot			compatible = "st,spear1340-pcie", "snps,dw-pcie";
82*f126890aSEmmanuel Vadot			reg = <0xb1000000 0x4000>, <0x80000000 0x20000>;
83*f126890aSEmmanuel Vadot			reg-names = "dbi", "config";
84*f126890aSEmmanuel Vadot			interrupts = <0 68 0x4>;
85*f126890aSEmmanuel Vadot			num-lanes = <1>;
86*f126890aSEmmanuel Vadot			phys = <&miphy0 1>;
87*f126890aSEmmanuel Vadot			phy-names = "pcie-phy";
88*f126890aSEmmanuel Vadot			#address-cells = <3>;
89*f126890aSEmmanuel Vadot			#size-cells = <2>;
90*f126890aSEmmanuel Vadot			device_type = "pci";
91*f126890aSEmmanuel Vadot			ranges = <0x81000000 0 0	 0x80020000 0 0x00010000   /* downstream I/O */
92*f126890aSEmmanuel Vadot				0x82000000 0 0x80030000 0xc0030000 0 0x0ffd0000>; /* non-prefetchable memory */
93*f126890aSEmmanuel Vadot			bus-range = <0x00 0xff>;
94*f126890aSEmmanuel Vadot			status = "disabled";
95*f126890aSEmmanuel Vadot		};
96*f126890aSEmmanuel Vadot
97*f126890aSEmmanuel Vadot		pcie1: pcie@b1800000 {
98*f126890aSEmmanuel Vadot			compatible = "st,spear1340-pcie", "snps,dw-pcie";
99*f126890aSEmmanuel Vadot			reg = <0xb1800000 0x4000>, <0x90000000 0x20000>;
100*f126890aSEmmanuel Vadot			reg-names = "dbi", "config";
101*f126890aSEmmanuel Vadot			interrupts = <0 69 0x4>;
102*f126890aSEmmanuel Vadot			num-lanes = <1>;
103*f126890aSEmmanuel Vadot			phys = <&miphy1 1>;
104*f126890aSEmmanuel Vadot			phy-names = "pcie-phy";
105*f126890aSEmmanuel Vadot			#address-cells = <3>;
106*f126890aSEmmanuel Vadot			#size-cells = <2>;
107*f126890aSEmmanuel Vadot			device_type = "pci";
108*f126890aSEmmanuel Vadot			ranges = <0x81000000 0 0  0x90020000 0 0x00010000   /* downstream I/O */
109*f126890aSEmmanuel Vadot				0x82000000 0 0x90030000 0x90030000 0 0x0ffd0000>; /* non-prefetchable memory */
110*f126890aSEmmanuel Vadot			bus-range = <0x00 0xff>;
111*f126890aSEmmanuel Vadot			status = "disabled";
112*f126890aSEmmanuel Vadot		};
113*f126890aSEmmanuel Vadot
114*f126890aSEmmanuel Vadot		pcie2: pcie@b4000000 {
115*f126890aSEmmanuel Vadot			compatible = "st,spear1340-pcie", "snps,dw-pcie";
116*f126890aSEmmanuel Vadot			reg = <0xb4000000 0x4000>, <0xc0000000 0x20000>;
117*f126890aSEmmanuel Vadot			reg-names = "dbi", "config";
118*f126890aSEmmanuel Vadot			interrupts = <0 70 0x4>;
119*f126890aSEmmanuel Vadot			num-lanes = <1>;
120*f126890aSEmmanuel Vadot			phys = <&miphy2 1>;
121*f126890aSEmmanuel Vadot			phy-names = "pcie-phy";
122*f126890aSEmmanuel Vadot			#address-cells = <3>;
123*f126890aSEmmanuel Vadot			#size-cells = <2>;
124*f126890aSEmmanuel Vadot			device_type = "pci";
125*f126890aSEmmanuel Vadot			ranges = <0x81000000 0 0	 0xc0020000 0 0x00010000   /* downstream I/O */
126*f126890aSEmmanuel Vadot				0x82000000 0 0xc0030000 0xc0030000 0 0x0ffd0000>; /* non-prefetchable memory */
127*f126890aSEmmanuel Vadot			bus-range = <0x00 0xff>;
128*f126890aSEmmanuel Vadot			status = "disabled";
129*f126890aSEmmanuel Vadot		};
130*f126890aSEmmanuel Vadot
131*f126890aSEmmanuel Vadot		gmac1: eth@5c400000 {
132*f126890aSEmmanuel Vadot			compatible = "st,spear600-gmac";
133*f126890aSEmmanuel Vadot			reg = <0x5c400000 0x8000>;
134*f126890aSEmmanuel Vadot			interrupts = <0 95 0x4>;
135*f126890aSEmmanuel Vadot			interrupt-names = "macirq";
136*f126890aSEmmanuel Vadot			phy-mode = "mii";
137*f126890aSEmmanuel Vadot			status = "disabled";
138*f126890aSEmmanuel Vadot		};
139*f126890aSEmmanuel Vadot
140*f126890aSEmmanuel Vadot		gmac2: eth@5c500000 {
141*f126890aSEmmanuel Vadot			compatible = "st,spear600-gmac";
142*f126890aSEmmanuel Vadot			reg = <0x5c500000 0x8000>;
143*f126890aSEmmanuel Vadot			interrupts = <0 96 0x4>;
144*f126890aSEmmanuel Vadot			interrupt-names = "macirq";
145*f126890aSEmmanuel Vadot			phy-mode = "mii";
146*f126890aSEmmanuel Vadot			status = "disabled";
147*f126890aSEmmanuel Vadot		};
148*f126890aSEmmanuel Vadot
149*f126890aSEmmanuel Vadot		gmac3: eth@5c600000 {
150*f126890aSEmmanuel Vadot			compatible = "st,spear600-gmac";
151*f126890aSEmmanuel Vadot			reg = <0x5c600000 0x8000>;
152*f126890aSEmmanuel Vadot			interrupts = <0 97 0x4>;
153*f126890aSEmmanuel Vadot			interrupt-names = "macirq";
154*f126890aSEmmanuel Vadot			phy-mode = "rmii";
155*f126890aSEmmanuel Vadot			status = "disabled";
156*f126890aSEmmanuel Vadot		};
157*f126890aSEmmanuel Vadot
158*f126890aSEmmanuel Vadot		gmac4: eth@5c700000 {
159*f126890aSEmmanuel Vadot			compatible = "st,spear600-gmac";
160*f126890aSEmmanuel Vadot			reg = <0x5c700000 0x8000>;
161*f126890aSEmmanuel Vadot			interrupts = <0 98 0x4>;
162*f126890aSEmmanuel Vadot			interrupt-names = "macirq";
163*f126890aSEmmanuel Vadot			phy-mode = "rgmii";
164*f126890aSEmmanuel Vadot			status = "disabled";
165*f126890aSEmmanuel Vadot		};
166*f126890aSEmmanuel Vadot
167*f126890aSEmmanuel Vadot		pinmux: pinmux@e0700000 {
168*f126890aSEmmanuel Vadot			compatible = "st,spear1310-pinmux";
169*f126890aSEmmanuel Vadot			reg = <0xe0700000 0x1000>;
170*f126890aSEmmanuel Vadot			#gpio-range-cells = <3>;
171*f126890aSEmmanuel Vadot		};
172*f126890aSEmmanuel Vadot
173*f126890aSEmmanuel Vadot		apb {
174*f126890aSEmmanuel Vadot			i2c1: i2c@5cd00000 {
175*f126890aSEmmanuel Vadot				#address-cells = <1>;
176*f126890aSEmmanuel Vadot				#size-cells = <0>;
177*f126890aSEmmanuel Vadot				compatible = "snps,designware-i2c";
178*f126890aSEmmanuel Vadot				reg = <0x5cd00000 0x1000>;
179*f126890aSEmmanuel Vadot				interrupts = <0 87 0x4>;
180*f126890aSEmmanuel Vadot				status = "disabled";
181*f126890aSEmmanuel Vadot			};
182*f126890aSEmmanuel Vadot
183*f126890aSEmmanuel Vadot			i2c2: i2c@5ce00000 {
184*f126890aSEmmanuel Vadot				#address-cells = <1>;
185*f126890aSEmmanuel Vadot				#size-cells = <0>;
186*f126890aSEmmanuel Vadot				compatible = "snps,designware-i2c";
187*f126890aSEmmanuel Vadot				reg = <0x5ce00000 0x1000>;
188*f126890aSEmmanuel Vadot				interrupts = <0 88 0x4>;
189*f126890aSEmmanuel Vadot				status = "disabled";
190*f126890aSEmmanuel Vadot			};
191*f126890aSEmmanuel Vadot
192*f126890aSEmmanuel Vadot			i2c3: i2c@5cf00000 {
193*f126890aSEmmanuel Vadot				#address-cells = <1>;
194*f126890aSEmmanuel Vadot				#size-cells = <0>;
195*f126890aSEmmanuel Vadot				compatible = "snps,designware-i2c";
196*f126890aSEmmanuel Vadot				reg = <0x5cf00000 0x1000>;
197*f126890aSEmmanuel Vadot				interrupts = <0 89 0x4>;
198*f126890aSEmmanuel Vadot				status = "disabled";
199*f126890aSEmmanuel Vadot			};
200*f126890aSEmmanuel Vadot
201*f126890aSEmmanuel Vadot			i2c4: i2c@5d000000 {
202*f126890aSEmmanuel Vadot				#address-cells = <1>;
203*f126890aSEmmanuel Vadot				#size-cells = <0>;
204*f126890aSEmmanuel Vadot				compatible = "snps,designware-i2c";
205*f126890aSEmmanuel Vadot				reg = <0x5d000000 0x1000>;
206*f126890aSEmmanuel Vadot				interrupts = <0 90 0x4>;
207*f126890aSEmmanuel Vadot				status = "disabled";
208*f126890aSEmmanuel Vadot			};
209*f126890aSEmmanuel Vadot
210*f126890aSEmmanuel Vadot			i2c5: i2c@5d100000 {
211*f126890aSEmmanuel Vadot				#address-cells = <1>;
212*f126890aSEmmanuel Vadot				#size-cells = <0>;
213*f126890aSEmmanuel Vadot				compatible = "snps,designware-i2c";
214*f126890aSEmmanuel Vadot				reg = <0x5d100000 0x1000>;
215*f126890aSEmmanuel Vadot				interrupts = <0 91 0x4>;
216*f126890aSEmmanuel Vadot				status = "disabled";
217*f126890aSEmmanuel Vadot			};
218*f126890aSEmmanuel Vadot
219*f126890aSEmmanuel Vadot			i2c6: i2c@5d200000 {
220*f126890aSEmmanuel Vadot				#address-cells = <1>;
221*f126890aSEmmanuel Vadot				#size-cells = <0>;
222*f126890aSEmmanuel Vadot				compatible = "snps,designware-i2c";
223*f126890aSEmmanuel Vadot				reg = <0x5d200000 0x1000>;
224*f126890aSEmmanuel Vadot				interrupts = <0 92 0x4>;
225*f126890aSEmmanuel Vadot				status = "disabled";
226*f126890aSEmmanuel Vadot			};
227*f126890aSEmmanuel Vadot
228*f126890aSEmmanuel Vadot			i2c7: i2c@5d300000 {
229*f126890aSEmmanuel Vadot				#address-cells = <1>;
230*f126890aSEmmanuel Vadot				#size-cells = <0>;
231*f126890aSEmmanuel Vadot				compatible = "snps,designware-i2c";
232*f126890aSEmmanuel Vadot				reg = <0x5d300000 0x1000>;
233*f126890aSEmmanuel Vadot				interrupts = <0 93 0x4>;
234*f126890aSEmmanuel Vadot				status = "disabled";
235*f126890aSEmmanuel Vadot			};
236*f126890aSEmmanuel Vadot
237*f126890aSEmmanuel Vadot			spi1: spi@5d400000 {
238*f126890aSEmmanuel Vadot				compatible = "arm,pl022", "arm,primecell";
239*f126890aSEmmanuel Vadot				reg = <0x5d400000 0x1000>;
240*f126890aSEmmanuel Vadot				interrupts = <0 99 0x4>;
241*f126890aSEmmanuel Vadot				#address-cells = <1>;
242*f126890aSEmmanuel Vadot				#size-cells = <0>;
243*f126890aSEmmanuel Vadot				status = "disabled";
244*f126890aSEmmanuel Vadot			};
245*f126890aSEmmanuel Vadot
246*f126890aSEmmanuel Vadot			serial@5c800000 {
247*f126890aSEmmanuel Vadot				compatible = "arm,pl011", "arm,primecell";
248*f126890aSEmmanuel Vadot				reg = <0x5c800000 0x1000>;
249*f126890aSEmmanuel Vadot				interrupts = <0 82 0x4>;
250*f126890aSEmmanuel Vadot				status = "disabled";
251*f126890aSEmmanuel Vadot			};
252*f126890aSEmmanuel Vadot
253*f126890aSEmmanuel Vadot			serial@5c900000 {
254*f126890aSEmmanuel Vadot				compatible = "arm,pl011", "arm,primecell";
255*f126890aSEmmanuel Vadot				reg = <0x5c900000 0x1000>;
256*f126890aSEmmanuel Vadot				interrupts = <0 83 0x4>;
257*f126890aSEmmanuel Vadot				status = "disabled";
258*f126890aSEmmanuel Vadot			};
259*f126890aSEmmanuel Vadot
260*f126890aSEmmanuel Vadot			serial@5ca00000 {
261*f126890aSEmmanuel Vadot				compatible = "arm,pl011", "arm,primecell";
262*f126890aSEmmanuel Vadot				reg = <0x5ca00000 0x1000>;
263*f126890aSEmmanuel Vadot				interrupts = <0 84 0x4>;
264*f126890aSEmmanuel Vadot				status = "disabled";
265*f126890aSEmmanuel Vadot			};
266*f126890aSEmmanuel Vadot
267*f126890aSEmmanuel Vadot			serial@5cb00000 {
268*f126890aSEmmanuel Vadot				compatible = "arm,pl011", "arm,primecell";
269*f126890aSEmmanuel Vadot				reg = <0x5cb00000 0x1000>;
270*f126890aSEmmanuel Vadot				interrupts = <0 85 0x4>;
271*f126890aSEmmanuel Vadot				status = "disabled";
272*f126890aSEmmanuel Vadot			};
273*f126890aSEmmanuel Vadot
274*f126890aSEmmanuel Vadot			serial@5cc00000 {
275*f126890aSEmmanuel Vadot				compatible = "arm,pl011", "arm,primecell";
276*f126890aSEmmanuel Vadot				reg = <0x5cc00000 0x1000>;
277*f126890aSEmmanuel Vadot				interrupts = <0 86 0x4>;
278*f126890aSEmmanuel Vadot				status = "disabled";
279*f126890aSEmmanuel Vadot			};
280*f126890aSEmmanuel Vadot
281*f126890aSEmmanuel Vadot			thermal@e07008c4 {
282*f126890aSEmmanuel Vadot				st,thermal-flags = <0x7000>;
283*f126890aSEmmanuel Vadot			};
284*f126890aSEmmanuel Vadot
285*f126890aSEmmanuel Vadot			gpiopinctrl: gpio@d8400000 {
286*f126890aSEmmanuel Vadot				compatible = "st,spear-plgpio";
287*f126890aSEmmanuel Vadot				reg = <0xd8400000 0x1000>;
288*f126890aSEmmanuel Vadot				interrupts = <0 100 0x4>;
289*f126890aSEmmanuel Vadot				#interrupt-cells = <1>;
290*f126890aSEmmanuel Vadot				interrupt-controller;
291*f126890aSEmmanuel Vadot				gpio-controller;
292*f126890aSEmmanuel Vadot				#gpio-cells = <2>;
293*f126890aSEmmanuel Vadot				gpio-ranges = <&pinmux 0 0 246>;
294*f126890aSEmmanuel Vadot				status = "disabled";
295*f126890aSEmmanuel Vadot
296*f126890aSEmmanuel Vadot				st-plgpio,ngpio = <246>;
297*f126890aSEmmanuel Vadot				st-plgpio,enb-reg = <0xd0>;
298*f126890aSEmmanuel Vadot				st-plgpio,wdata-reg = <0x90>;
299*f126890aSEmmanuel Vadot				st-plgpio,dir-reg = <0xb0>;
300*f126890aSEmmanuel Vadot				st-plgpio,ie-reg = <0x30>;
301*f126890aSEmmanuel Vadot				st-plgpio,rdata-reg = <0x70>;
302*f126890aSEmmanuel Vadot				st-plgpio,mis-reg = <0x10>;
303*f126890aSEmmanuel Vadot				st-plgpio,eit-reg = <0x50>;
304*f126890aSEmmanuel Vadot			};
305*f126890aSEmmanuel Vadot		};
306*f126890aSEmmanuel Vadot	};
307*f126890aSEmmanuel Vadot};
308