xref: /freebsd-src/sys/contrib/device-tree/src/arm/st/spear310-evb.dts (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * DTS file for SPEAr310 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/ "spear310.dtsi"
10*f126890aSEmmanuel Vadot
11*f126890aSEmmanuel Vadot/ {
12*f126890aSEmmanuel Vadot	model = "ST SPEAr310 Evaluation Board";
13*f126890aSEmmanuel Vadot	compatible = "st,spear310-evb", "st,spear310";
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@b4000000 {
23*f126890aSEmmanuel Vadot			pinctrl-names = "default";
24*f126890aSEmmanuel Vadot			pinctrl-0 = <&state_default>;
25*f126890aSEmmanuel Vadot
26*f126890aSEmmanuel Vadot			state_default: pinmux {
27*f126890aSEmmanuel Vadot				gpio0 {
28*f126890aSEmmanuel Vadot					st,pins = "gpio0_pin0_grp",
29*f126890aSEmmanuel Vadot						"gpio0_pin1_grp",
30*f126890aSEmmanuel Vadot						"gpio0_pin2_grp",
31*f126890aSEmmanuel Vadot						"gpio0_pin3_grp",
32*f126890aSEmmanuel Vadot						"gpio0_pin4_grp",
33*f126890aSEmmanuel Vadot						"gpio0_pin5_grp";
34*f126890aSEmmanuel Vadot					st,function = "gpio0";
35*f126890aSEmmanuel Vadot				};
36*f126890aSEmmanuel Vadot				i2c0 {
37*f126890aSEmmanuel Vadot					st,pins = "i2c0_grp";
38*f126890aSEmmanuel Vadot					st,function = "i2c0";
39*f126890aSEmmanuel Vadot				};
40*f126890aSEmmanuel Vadot				mii0 {
41*f126890aSEmmanuel Vadot					st,pins = "mii0_grp";
42*f126890aSEmmanuel Vadot					st,function = "mii0";
43*f126890aSEmmanuel Vadot				};
44*f126890aSEmmanuel Vadot				ssp0 {
45*f126890aSEmmanuel Vadot					st,pins = "ssp0_grp";
46*f126890aSEmmanuel Vadot					st,function = "ssp0";
47*f126890aSEmmanuel Vadot				};
48*f126890aSEmmanuel Vadot				uart0 {
49*f126890aSEmmanuel Vadot					st,pins = "uart0_grp";
50*f126890aSEmmanuel Vadot					st,function = "uart0";
51*f126890aSEmmanuel Vadot				};
52*f126890aSEmmanuel Vadot				emi {
53*f126890aSEmmanuel Vadot					st,pins = "emi_cs_0_to_5_grp";
54*f126890aSEmmanuel Vadot					st,function = "emi";
55*f126890aSEmmanuel Vadot				};
56*f126890aSEmmanuel Vadot				fsmc {
57*f126890aSEmmanuel Vadot					st,pins = "fsmc_grp";
58*f126890aSEmmanuel Vadot					st,function = "fsmc";
59*f126890aSEmmanuel Vadot				};
60*f126890aSEmmanuel Vadot				uart1 {
61*f126890aSEmmanuel Vadot					st,pins = "uart1_grp";
62*f126890aSEmmanuel Vadot					st,function = "uart1";
63*f126890aSEmmanuel Vadot				};
64*f126890aSEmmanuel Vadot				uart2 {
65*f126890aSEmmanuel Vadot					st,pins = "uart2_grp";
66*f126890aSEmmanuel Vadot					st,function = "uart2";
67*f126890aSEmmanuel Vadot				};
68*f126890aSEmmanuel Vadot				uart3 {
69*f126890aSEmmanuel Vadot					st,pins = "uart3_grp";
70*f126890aSEmmanuel Vadot					st,function = "uart3";
71*f126890aSEmmanuel Vadot				};
72*f126890aSEmmanuel Vadot				uart4 {
73*f126890aSEmmanuel Vadot					st,pins = "uart4_grp";
74*f126890aSEmmanuel Vadot					st,function = "uart4";
75*f126890aSEmmanuel Vadot				};
76*f126890aSEmmanuel Vadot				uart5 {
77*f126890aSEmmanuel Vadot					st,pins = "uart5_grp";
78*f126890aSEmmanuel Vadot					st,function = "uart5";
79*f126890aSEmmanuel Vadot				};
80*f126890aSEmmanuel Vadot			};
81*f126890aSEmmanuel Vadot		};
82*f126890aSEmmanuel Vadot
83*f126890aSEmmanuel Vadot		dma@fc400000 {
84*f126890aSEmmanuel Vadot			status = "okay";
85*f126890aSEmmanuel Vadot		};
86*f126890aSEmmanuel Vadot
87*f126890aSEmmanuel Vadot		fsmc: flash@44000000 {
88*f126890aSEmmanuel Vadot			status = "okay";
89*f126890aSEmmanuel Vadot		};
90*f126890aSEmmanuel Vadot
91*f126890aSEmmanuel Vadot		gmac: eth@e0800000 {
92*f126890aSEmmanuel Vadot			status = "okay";
93*f126890aSEmmanuel Vadot		};
94*f126890aSEmmanuel Vadot
95*f126890aSEmmanuel Vadot		smi: flash@fc000000 {
96*f126890aSEmmanuel Vadot			status = "okay";
97*f126890aSEmmanuel Vadot			clock-rate = <50000000>;
98*f126890aSEmmanuel Vadot
99*f126890aSEmmanuel Vadot			flash@f8000000 {
100*f126890aSEmmanuel Vadot				#address-cells = <1>;
101*f126890aSEmmanuel Vadot				#size-cells = <1>;
102*f126890aSEmmanuel Vadot				reg = <0xf8000000 0x800000>;
103*f126890aSEmmanuel Vadot				st,smi-fast-mode;
104*f126890aSEmmanuel Vadot
105*f126890aSEmmanuel Vadot				partition@0 {
106*f126890aSEmmanuel Vadot					label = "xloader";
107*f126890aSEmmanuel Vadot					reg = <0x0 0x10000>;
108*f126890aSEmmanuel Vadot				};
109*f126890aSEmmanuel Vadot				partition@10000 {
110*f126890aSEmmanuel Vadot					label = "u-boot";
111*f126890aSEmmanuel Vadot					reg = <0x10000 0x50000>;
112*f126890aSEmmanuel Vadot				};
113*f126890aSEmmanuel Vadot				partition@60000 {
114*f126890aSEmmanuel Vadot					label = "environment";
115*f126890aSEmmanuel Vadot					reg = <0x60000 0x10000>;
116*f126890aSEmmanuel Vadot				};
117*f126890aSEmmanuel Vadot				partition@70000 {
118*f126890aSEmmanuel Vadot					label = "dtb";
119*f126890aSEmmanuel Vadot					reg = <0x70000 0x10000>;
120*f126890aSEmmanuel Vadot				};
121*f126890aSEmmanuel Vadot				partition@80000 {
122*f126890aSEmmanuel Vadot					label = "linux";
123*f126890aSEmmanuel Vadot					reg = <0x80000 0x310000>;
124*f126890aSEmmanuel Vadot				};
125*f126890aSEmmanuel Vadot				partition@390000 {
126*f126890aSEmmanuel Vadot					label = "rootfs";
127*f126890aSEmmanuel Vadot					reg = <0x390000 0x0>;
128*f126890aSEmmanuel Vadot				};
129*f126890aSEmmanuel Vadot			};
130*f126890aSEmmanuel Vadot		};
131*f126890aSEmmanuel Vadot
132*f126890aSEmmanuel Vadot		spi0: spi@d0100000 {
133*f126890aSEmmanuel Vadot			status = "okay";
134*f126890aSEmmanuel Vadot		};
135*f126890aSEmmanuel Vadot
136*f126890aSEmmanuel Vadot		ehci@e1800000 {
137*f126890aSEmmanuel Vadot			status = "okay";
138*f126890aSEmmanuel Vadot		};
139*f126890aSEmmanuel Vadot
140*f126890aSEmmanuel Vadot		ohci@e1900000 {
141*f126890aSEmmanuel Vadot			status = "okay";
142*f126890aSEmmanuel Vadot		};
143*f126890aSEmmanuel Vadot
144*f126890aSEmmanuel Vadot		ohci@e2100000 {
145*f126890aSEmmanuel Vadot			status = "okay";
146*f126890aSEmmanuel Vadot		};
147*f126890aSEmmanuel Vadot
148*f126890aSEmmanuel Vadot		apb {
149*f126890aSEmmanuel Vadot			gpio0: gpio@fc980000 {
150*f126890aSEmmanuel Vadot			       status = "okay";
151*f126890aSEmmanuel Vadot			};
152*f126890aSEmmanuel Vadot
153*f126890aSEmmanuel Vadot			i2c0: i2c@d0180000 {
154*f126890aSEmmanuel Vadot			       status = "okay";
155*f126890aSEmmanuel Vadot			};
156*f126890aSEmmanuel Vadot
157*f126890aSEmmanuel Vadot			rtc@fc900000 {
158*f126890aSEmmanuel Vadot			       status = "okay";
159*f126890aSEmmanuel Vadot			};
160*f126890aSEmmanuel Vadot
161*f126890aSEmmanuel Vadot			serial@d0000000 {
162*f126890aSEmmanuel Vadot			       status = "okay";
163*f126890aSEmmanuel Vadot				pinctrl-names = "default";
164*f126890aSEmmanuel Vadot				pinctrl-0 = <>;
165*f126890aSEmmanuel Vadot			};
166*f126890aSEmmanuel Vadot
167*f126890aSEmmanuel Vadot			serial@b2000000 {
168*f126890aSEmmanuel Vadot			       status = "okay";
169*f126890aSEmmanuel Vadot				pinctrl-names = "default";
170*f126890aSEmmanuel Vadot				pinctrl-0 = <>;
171*f126890aSEmmanuel Vadot			};
172*f126890aSEmmanuel Vadot
173*f126890aSEmmanuel Vadot			serial@b2080000 {
174*f126890aSEmmanuel Vadot			       status = "okay";
175*f126890aSEmmanuel Vadot				pinctrl-names = "default";
176*f126890aSEmmanuel Vadot				pinctrl-0 = <>;
177*f126890aSEmmanuel Vadot			};
178*f126890aSEmmanuel Vadot
179*f126890aSEmmanuel Vadot			serial@b2100000 {
180*f126890aSEmmanuel Vadot			       status = "okay";
181*f126890aSEmmanuel Vadot				pinctrl-names = "default";
182*f126890aSEmmanuel Vadot				pinctrl-0 = <>;
183*f126890aSEmmanuel Vadot			};
184*f126890aSEmmanuel Vadot
185*f126890aSEmmanuel Vadot			serial@b2180000 {
186*f126890aSEmmanuel Vadot			       status = "okay";
187*f126890aSEmmanuel Vadot				pinctrl-names = "default";
188*f126890aSEmmanuel Vadot				pinctrl-0 = <>;
189*f126890aSEmmanuel Vadot			};
190*f126890aSEmmanuel Vadot
191*f126890aSEmmanuel Vadot			serial@b2200000 {
192*f126890aSEmmanuel Vadot			       status = "okay";
193*f126890aSEmmanuel Vadot				pinctrl-names = "default";
194*f126890aSEmmanuel Vadot				pinctrl-0 = <>;
195*f126890aSEmmanuel Vadot			};
196*f126890aSEmmanuel Vadot
197*f126890aSEmmanuel Vadot			wdt@fc880000 {
198*f126890aSEmmanuel Vadot			       status = "okay";
199*f126890aSEmmanuel Vadot			};
200*f126890aSEmmanuel Vadot		};
201*f126890aSEmmanuel Vadot	};
202*f126890aSEmmanuel Vadot};
203