summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/spear300-evb.dts
blob: 402ca0d550119f11d4517183c3d1270a2b703353 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
/*
 * DTS file for SPEAr300 Evaluation Baord
 *
 * Copyright 2012 Viresh Kumar <viresh.kumar@st.com>
 *
 * The code contained herein is licensed under the GNU General Public
 * License. You may obtain a copy of the GNU General Public License
 * Version 2 or later at the following locations:
 *
 * http://www.opensource.org/licenses/gpl-license.html
 * http://www.gnu.org/copyleft/gpl.html
 */

/dts-v1/;
/include/ "spear300.dtsi"

/ {
	model = "ST SPEAr300 Evaluation Board";
	compatible = "st,spear300-evb", "st,spear300";
	#address-cells = <1>;
	#size-cells = <1>;

	memory {
		reg = <0 0x40000000>;
	};

	ahb {
		pinmux@99000000 {
			st,pinmux-mode = <2>;
			pinctrl-names = "default";
			pinctrl-0 = <&state_default>;

			state_default: pinmux {
				i2c0 {
					st,pins = "i2c0_grp";
					st,function = "i2c0";
				};
				ssp0 {
					st,pins = "ssp0_grp";
					st,function = "ssp0";
				};
				mii0 {
					st,pins = "mii0_grp";
					st,function = "mii0";
				};
				uart0 {
					st,pins = "uart0_grp";
					st,function = "uart0";
				};
				clcd {
					st,pins = "clcd_pfmode_grp";
					st,function = "clcd";
				};
				sdhci {
					st,pins = "sdhci_4bit_grp";
					st,function = "sdhci";
				};
				gpio1 {
					st,pins = "gpio1_4_to_7_grp",
						"gpio1_0_to_3_grp";
					st,function = "gpio1";
				};
			};
		};

		clcd@60000000 {
			status = "okay";
		};

		dma@fc400000 {
			status = "okay";
		};

		fsmc: flash@94000000 {
			status = "okay";
		};

		gmac: eth@e0800000 {
			status = "okay";
		};

		sdhci@70000000 {
			int-gpio = <&gpio1 0 0>;
			power-gpio = <&gpio1 2 1>;
			status = "okay";
		};

		smi: flash@fc000000 {
			status = "okay";
		};

		spi0: spi@d0100000 {
			status = "okay";
		};

		ehci@e1800000 {
			status = "okay";
		};

		ohci@e1900000 {
			status = "okay";
		};

		ohci@e2100000 {
			status = "okay";
		};

		apb {
			gpio0: gpio@fc980000 {
			       status = "okay";
			};

			gpio1: gpio@a9000000 {
			       status = "okay";
			};

			i2c0: i2c@d0180000 {
			       status = "okay";
			};

			kbd@a0000000 {
				linux,keymap = < 0x00010000
						 0x00020100
						 0x00030200
						 0x00040300
						 0x00050400
						 0x00060500
						 0x00070600
						 0x00080700
						 0x00090800
						 0x000a0001
						 0x000c0101
						 0x000d0201
						 0x000e0301
						 0x000f0401
						 0x00100501
						 0x00110601
						 0x00120701
						 0x00130801
						 0x00140002
						 0x00150102
						 0x00160202
						 0x00170302
						 0x00180402
						 0x00190502
						 0x001a0602
						 0x001b0702
						 0x001c0802
						 0x001d0003
						 0x001e0103
						 0x001f0203
						 0x00200303
						 0x00210403
						 0x00220503
						 0x00230603
						 0x00240703
						 0x00250803
						 0x00260004
						 0x00270104
						 0x00280204
						 0x00290304
						 0x002a0404
						 0x002b0504
						 0x002c0604
						 0x002d0704
						 0x002e0804
						 0x002f0005
						 0x00300105
						 0x00310205
						 0x00320305
						 0x00330405
						 0x00340505
						 0x00350605
						 0x00360705
						 0x00370805
						 0x00380006
						 0x00390106
						 0x003a0206
						 0x003b0306
						 0x003c0406
						 0x003d0506
						 0x003e0606
						 0x003f0706
						 0x00400806
						 0x00410007
						 0x00420107
						 0x00430207
						 0x00440307
						 0x00450407
						 0x00460507
						 0x00470607
						 0x00480707
						 0x00490807
						 0x004a0008
						 0x004b0108
						 0x004c0208
						 0x004d0308
						 0x004e0408
						 0x004f0508
						 0x00500608
						 0x00510708
						 0x00520808 >;
			       autorepeat;
			       st,mode = <0>;
			       status = "okay";
			};

			rtc@fc900000 {
			       status = "okay";
			};

			serial@d0000000 {
			       status = "okay";
			};

			wdt@fc880000 {
			       status = "okay";
			};
		};
	};
};