Linux Audio

Check our new training course

Linux BSP development engineering services

Need help to port Linux and bootloaders to your hardware?
Loading...
Note: File does not exist in v6.13.7.
  1/*
  2 * DTS file for SPEAr300 Evaluation Baord
  3 *
  4 * Copyright 2012 Viresh Kumar <viresh.linux@gmail.com>
  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/ "spear300.dtsi"
 16
 17/ {
 18	model = "ST SPEAr300 Evaluation Board";
 19	compatible = "st,spear300-evb", "st,spear300";
 20	#address-cells = <1>;
 21	#size-cells = <1>;
 22
 23	memory {
 24		reg = <0 0x40000000>;
 25	};
 26
 27	ahb {
 28		pinmux@99000000 {
 29			st,pinmux-mode = <2>;
 30			pinctrl-names = "default";
 31			pinctrl-0 = <&state_default>;
 32
 33			state_default: pinmux {
 34				i2c0 {
 35					st,pins = "i2c0_grp";
 36					st,function = "i2c0";
 37				};
 38				ssp0 {
 39					st,pins = "ssp0_grp";
 40					st,function = "ssp0";
 41				};
 42				mii0 {
 43					st,pins = "mii0_grp";
 44					st,function = "mii0";
 45				};
 46				uart0 {
 47					st,pins = "uart0_grp";
 48					st,function = "uart0";
 49				};
 50				clcd {
 51					st,pins = "clcd_pfmode_grp";
 52					st,function = "clcd";
 53				};
 54				sdhci {
 55					st,pins = "sdhci_4bit_grp";
 56					st,function = "sdhci";
 57				};
 58				gpio1 {
 59					st,pins = "gpio1_4_to_7_grp",
 60						"gpio1_0_to_3_grp";
 61					st,function = "gpio1";
 62				};
 63			};
 64		};
 65
 66		clcd@60000000 {
 67			status = "okay";
 68		};
 69
 70		dma@fc400000 {
 71			status = "okay";
 72		};
 73
 74		fsmc: flash@94000000 {
 75			status = "okay";
 76		};
 77
 78		gmac: eth@e0800000 {
 79			status = "okay";
 80		};
 81
 82		sdhci@70000000 {
 83			int-gpio = <&gpio1 0 0>;
 84			power-gpio = <&gpio1 2 1>;
 85			status = "okay";
 86		};
 87
 88		smi: flash@fc000000 {
 89			status = "okay";
 90			clock-rate=<50000000>;
 91
 92			flash@f8000000 {
 93				#address-cells = <1>;
 94				#size-cells = <1>;
 95				reg = <0xf8000000 0x800000>;
 96				st,smi-fast-mode;
 97
 98				partition@0 {
 99					label = "xloader";
100					reg = <0x0 0x10000>;
101				};
102				partition@10000 {
103					label = "u-boot";
104					reg = <0x10000 0x40000>;
105				};
106				partition@50000 {
107					label = "linux";
108					reg = <0x50000 0x2c0000>;
109				};
110				partition@310000 {
111					label = "rootfs";
112					reg = <0x310000 0x4f0000>;
113				};
114			};
115		};
116
117		spi0: spi@d0100000 {
118			status = "okay";
119		};
120
121		ehci@e1800000 {
122			status = "okay";
123		};
124
125		ohci@e1900000 {
126			status = "okay";
127		};
128
129		ohci@e2100000 {
130			status = "okay";
131		};
132
133		apb {
134			gpio0: gpio@fc980000 {
135			       status = "okay";
136			};
137
138			gpio1: gpio@a9000000 {
139			       status = "okay";
140			};
141
142			i2c0: i2c@d0180000 {
143			       status = "okay";
144			};
145
146			kbd@a0000000 {
147				linux,keymap = < 0x00000001
148						 0x00010002
149						 0x00020003
150						 0x00030004
151						 0x00040005
152						 0x00050006
153						 0x00060007
154						 0x00070008
155						 0x00080009
156						 0x0100000a
157						 0x0101000c
158						 0x0102000d
159						 0x0103000e
160						 0x0104000f
161						 0x01050010
162						 0x01060011
163						 0x01070012
164						 0x01080013
165						 0x02000014
166						 0x02010015
167						 0x02020016
168						 0x02030017
169						 0x02040018
170						 0x02050019
171						 0x0206001a
172						 0x0207001b
173						 0x0208001c
174						 0x0300001d
175						 0x0301001e
176						 0x0302001f
177						 0x03030020
178						 0x03040021
179						 0x03050022
180						 0x03060023
181						 0x03070024
182						 0x03080025
183						 0x04000026
184						 0x04010027
185						 0x04020028
186						 0x04030029
187						 0x0404002a
188						 0x0405002b
189						 0x0406002c
190						 0x0407002d
191						 0x0408002e
192						 0x0500002f
193						 0x05010030
194						 0x05020031
195						 0x05030032
196						 0x05040033
197						 0x05050034
198						 0x05060035
199						 0x05070036
200						 0x05080037
201						 0x06000038
202						 0x06010039
203						 0x0602003a
204						 0x0603003b
205						 0x0604003c
206						 0x0605003d
207						 0x0606003e
208						 0x0607003f
209						 0x06080040
210						 0x07000041
211						 0x07010042
212						 0x07020043
213						 0x07030044
214						 0x07040045
215						 0x07050046
216						 0x07060047
217						 0x07070048
218						 0x07080049
219						 0x0800004a
220						 0x0801004b
221						 0x0802004c
222						 0x0803004d
223						 0x0804004e
224						 0x0805004f
225						 0x08060050
226						 0x08070051
227						 0x08080052 >;
228			       autorepeat;
229			       st,mode = <0>;
230			       status = "okay";
231			};
232
233			rtc@fc900000 {
234			       status = "okay";
235			};
236
237			serial@d0000000 {
238			       status = "okay";
239			};
240
241			wdt@fc880000 {
242			       status = "okay";
243			};
244		};
245	};
246};