Linux Audio

Check our new training course

Embedded Linux training

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