xref: /freebsd-src/sys/contrib/device-tree/src/arm/st/spear320-evb.dts (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * DTS file for SPEAr320 Evaluation Baord
4*f126890aSEmmanuel Vadot *
5*f126890aSEmmanuel Vadot * Copyright 2012 Viresh Kumar <vireshk@kernel.org>
6*f126890aSEmmanuel Vadot */
7*f126890aSEmmanuel Vadot
8*f126890aSEmmanuel Vadot/dts-v1/;
9*f126890aSEmmanuel Vadot/include/ "spear320.dtsi"
10*f126890aSEmmanuel Vadot
11*f126890aSEmmanuel Vadot/ {
12*f126890aSEmmanuel Vadot	model = "ST SPEAr320 Evaluation Board";
13*f126890aSEmmanuel Vadot	compatible = "st,spear320-evb", "st,spear320";
14*f126890aSEmmanuel Vadot	#address-cells = <1>;
15*f126890aSEmmanuel Vadot	#size-cells = <1>;
16*f126890aSEmmanuel Vadot
17*f126890aSEmmanuel Vadot	memory {
18*f126890aSEmmanuel Vadot		reg = <0 0x40000000>;
19*f126890aSEmmanuel Vadot	};
20*f126890aSEmmanuel Vadot
21*f126890aSEmmanuel Vadot	ahb {
22*f126890aSEmmanuel Vadot		pinmux@b3000000 {
23*f126890aSEmmanuel Vadot			st,pinmux-mode = <4>;
24*f126890aSEmmanuel Vadot			pinctrl-names = "default";
25*f126890aSEmmanuel Vadot			pinctrl-0 = <&state_default>;
26*f126890aSEmmanuel Vadot
27*f126890aSEmmanuel Vadot			state_default: pinmux {
28*f126890aSEmmanuel Vadot				i2c0 {
29*f126890aSEmmanuel Vadot					st,pins = "i2c0_grp";
30*f126890aSEmmanuel Vadot					st,function = "i2c0";
31*f126890aSEmmanuel Vadot				};
32*f126890aSEmmanuel Vadot				mii0 {
33*f126890aSEmmanuel Vadot					st,pins = "mii0_grp";
34*f126890aSEmmanuel Vadot					st,function = "mii0";
35*f126890aSEmmanuel Vadot				};
36*f126890aSEmmanuel Vadot				ssp0 {
37*f126890aSEmmanuel Vadot					st,pins = "ssp0_grp";
38*f126890aSEmmanuel Vadot					st,function = "ssp0";
39*f126890aSEmmanuel Vadot				};
40*f126890aSEmmanuel Vadot				uart0 {
41*f126890aSEmmanuel Vadot					st,pins = "uart0_grp";
42*f126890aSEmmanuel Vadot					st,function = "uart0";
43*f126890aSEmmanuel Vadot				};
44*f126890aSEmmanuel Vadot				sdhci {
45*f126890aSEmmanuel Vadot					st,pins = "sdhci_cd_51_grp";
46*f126890aSEmmanuel Vadot					st,function = "sdhci";
47*f126890aSEmmanuel Vadot				};
48*f126890aSEmmanuel Vadot				i2s {
49*f126890aSEmmanuel Vadot					st,pins = "i2s_grp";
50*f126890aSEmmanuel Vadot					st,function = "i2s";
51*f126890aSEmmanuel Vadot				};
52*f126890aSEmmanuel Vadot				uart1 {
53*f126890aSEmmanuel Vadot					st,pins = "uart1_grp";
54*f126890aSEmmanuel Vadot					st,function = "uart1";
55*f126890aSEmmanuel Vadot				};
56*f126890aSEmmanuel Vadot				uart2 {
57*f126890aSEmmanuel Vadot					st,pins = "uart2_grp";
58*f126890aSEmmanuel Vadot					st,function = "uart2";
59*f126890aSEmmanuel Vadot				};
60*f126890aSEmmanuel Vadot				can0 {
61*f126890aSEmmanuel Vadot					st,pins = "can0_grp";
62*f126890aSEmmanuel Vadot					st,function = "can0";
63*f126890aSEmmanuel Vadot				};
64*f126890aSEmmanuel Vadot				can1 {
65*f126890aSEmmanuel Vadot					st,pins = "can1_grp";
66*f126890aSEmmanuel Vadot					st,function = "can1";
67*f126890aSEmmanuel Vadot				};
68*f126890aSEmmanuel Vadot				mii2 {
69*f126890aSEmmanuel Vadot					st,pins = "mii2_grp";
70*f126890aSEmmanuel Vadot					st,function = "mii2";
71*f126890aSEmmanuel Vadot				};
72*f126890aSEmmanuel Vadot				pwm0_1 {
73*f126890aSEmmanuel Vadot					st,pins = "pwm0_1_pin_37_38_grp";
74*f126890aSEmmanuel Vadot					st,function = "pwm0_1";
75*f126890aSEmmanuel Vadot				};
76*f126890aSEmmanuel Vadot			};
77*f126890aSEmmanuel Vadot		};
78*f126890aSEmmanuel Vadot
79*f126890aSEmmanuel Vadot		dma@fc400000 {
80*f126890aSEmmanuel Vadot			status = "okay";
81*f126890aSEmmanuel Vadot		};
82*f126890aSEmmanuel Vadot
83*f126890aSEmmanuel Vadot		fsmc: flash@4c000000 {
84*f126890aSEmmanuel Vadot			status = "okay";
85*f126890aSEmmanuel Vadot		};
86*f126890aSEmmanuel Vadot
87*f126890aSEmmanuel Vadot		gmac: eth@e0800000 {
88*f126890aSEmmanuel Vadot			status = "okay";
89*f126890aSEmmanuel Vadot		};
90*f126890aSEmmanuel Vadot
91*f126890aSEmmanuel Vadot		sdhci@70000000 {
92*f126890aSEmmanuel Vadot			power-gpio = <&gpiopinctrl 61 1>;
93*f126890aSEmmanuel Vadot			status = "okay";
94*f126890aSEmmanuel Vadot		};
95*f126890aSEmmanuel Vadot
96*f126890aSEmmanuel Vadot		smi: flash@fc000000 {
97*f126890aSEmmanuel Vadot			status = "okay";
98*f126890aSEmmanuel Vadot			clock-rate = <50000000>;
99*f126890aSEmmanuel Vadot
100*f126890aSEmmanuel Vadot			flash@f8000000 {
101*f126890aSEmmanuel Vadot				#address-cells = <1>;
102*f126890aSEmmanuel Vadot				#size-cells = <1>;
103*f126890aSEmmanuel Vadot				reg = <0xf8000000 0x800000>;
104*f126890aSEmmanuel Vadot				st,smi-fast-mode;
105*f126890aSEmmanuel Vadot
106*f126890aSEmmanuel Vadot				partition@0 {
107*f126890aSEmmanuel Vadot					label = "xloader";
108*f126890aSEmmanuel Vadot					reg = <0x0 0x10000>;
109*f126890aSEmmanuel Vadot				};
110*f126890aSEmmanuel Vadot				partition@10000 {
111*f126890aSEmmanuel Vadot					label = "u-boot";
112*f126890aSEmmanuel Vadot					reg = <0x10000 0x50000>;
113*f126890aSEmmanuel Vadot				};
114*f126890aSEmmanuel Vadot				partition@60000 {
115*f126890aSEmmanuel Vadot					label = "environment";
116*f126890aSEmmanuel Vadot					reg = <0x60000 0x10000>;
117*f126890aSEmmanuel Vadot				};
118*f126890aSEmmanuel Vadot				partition@70000 {
119*f126890aSEmmanuel Vadot					label = "dtb";
120*f126890aSEmmanuel Vadot					reg = <0x70000 0x10000>;
121*f126890aSEmmanuel Vadot				};
122*f126890aSEmmanuel Vadot				partition@80000 {
123*f126890aSEmmanuel Vadot					label = "linux";
124*f126890aSEmmanuel Vadot					reg = <0x80000 0x310000>;
125*f126890aSEmmanuel Vadot				};
126*f126890aSEmmanuel Vadot				partition@390000 {
127*f126890aSEmmanuel Vadot					label = "rootfs";
128*f126890aSEmmanuel Vadot					reg = <0x390000 0x0>;
129*f126890aSEmmanuel Vadot				};
130*f126890aSEmmanuel Vadot			};
131*f126890aSEmmanuel Vadot		};
132*f126890aSEmmanuel Vadot
133*f126890aSEmmanuel Vadot		spi0: spi@d0100000 {
134*f126890aSEmmanuel Vadot			status = "okay";
135*f126890aSEmmanuel Vadot		};
136*f126890aSEmmanuel Vadot
137*f126890aSEmmanuel Vadot		spi1: spi@a5000000 {
138*f126890aSEmmanuel Vadot			status = "okay";
139*f126890aSEmmanuel Vadot		};
140*f126890aSEmmanuel Vadot
141*f126890aSEmmanuel Vadot		spi2: spi@a6000000 {
142*f126890aSEmmanuel Vadot			status = "okay";
143*f126890aSEmmanuel Vadot		};
144*f126890aSEmmanuel Vadot
145*f126890aSEmmanuel Vadot		ehci@e1800000 {
146*f126890aSEmmanuel Vadot			status = "okay";
147*f126890aSEmmanuel Vadot		};
148*f126890aSEmmanuel Vadot
149*f126890aSEmmanuel Vadot		ohci@e1900000 {
150*f126890aSEmmanuel Vadot			status = "okay";
151*f126890aSEmmanuel Vadot		};
152*f126890aSEmmanuel Vadot
153*f126890aSEmmanuel Vadot		ohci@e2100000 {
154*f126890aSEmmanuel Vadot			status = "okay";
155*f126890aSEmmanuel Vadot		};
156*f126890aSEmmanuel Vadot
157*f126890aSEmmanuel Vadot		apb {
158*f126890aSEmmanuel Vadot			gpio0: gpio@fc980000 {
159*f126890aSEmmanuel Vadot			       status = "okay";
160*f126890aSEmmanuel Vadot			};
161*f126890aSEmmanuel Vadot
162*f126890aSEmmanuel Vadot			gpio@b3000000 {
163*f126890aSEmmanuel Vadot			       status = "okay";
164*f126890aSEmmanuel Vadot			};
165*f126890aSEmmanuel Vadot
166*f126890aSEmmanuel Vadot			i2c0: i2c@d0180000 {
167*f126890aSEmmanuel Vadot			       status = "okay";
168*f126890aSEmmanuel Vadot			};
169*f126890aSEmmanuel Vadot
170*f126890aSEmmanuel Vadot			i2c1: i2c@a7000000 {
171*f126890aSEmmanuel Vadot			       status = "okay";
172*f126890aSEmmanuel Vadot			};
173*f126890aSEmmanuel Vadot
174*f126890aSEmmanuel Vadot			rtc@fc900000 {
175*f126890aSEmmanuel Vadot			       status = "okay";
176*f126890aSEmmanuel Vadot			};
177*f126890aSEmmanuel Vadot
178*f126890aSEmmanuel Vadot			serial@d0000000 {
179*f126890aSEmmanuel Vadot			       status = "okay";
180*f126890aSEmmanuel Vadot				pinctrl-names = "default";
181*f126890aSEmmanuel Vadot				pinctrl-0 = <>;
182*f126890aSEmmanuel Vadot			};
183*f126890aSEmmanuel Vadot
184*f126890aSEmmanuel Vadot			serial@a3000000 {
185*f126890aSEmmanuel Vadot			       status = "okay";
186*f126890aSEmmanuel Vadot				pinctrl-names = "default";
187*f126890aSEmmanuel Vadot				pinctrl-0 = <>;
188*f126890aSEmmanuel Vadot			};
189*f126890aSEmmanuel Vadot
190*f126890aSEmmanuel Vadot			serial@a4000000 {
191*f126890aSEmmanuel Vadot			       status = "okay";
192*f126890aSEmmanuel Vadot				pinctrl-names = "default";
193*f126890aSEmmanuel Vadot				pinctrl-0 = <>;
194*f126890aSEmmanuel Vadot			};
195*f126890aSEmmanuel Vadot
196*f126890aSEmmanuel Vadot			wdt@fc880000 {
197*f126890aSEmmanuel Vadot			       status = "okay";
198*f126890aSEmmanuel Vadot			};
199*f126890aSEmmanuel Vadot		};
200*f126890aSEmmanuel Vadot	};
201*f126890aSEmmanuel Vadot};
202