Commit | Line | Data |
---|---|---|
bc3a59c1 DA |
1 | /* |
2 | * Copyright 2012 Freescale Semiconductor, Inc. | |
3 | * | |
4 | * The code contained herein is licensed under the GNU General Public | |
5 | * License. You may obtain a copy of the GNU General Public License | |
6 | * Version 2 or later at the following locations: | |
7 | * | |
8 | * http://www.opensource.org/licenses/gpl-license.html | |
9 | * http://www.gnu.org/copyleft/gpl.html | |
10 | */ | |
11 | ||
12 | /dts-v1/; | |
13 | /include/ "imx28.dtsi" | |
14 | ||
15 | / { | |
16 | model = "Freescale i.MX28 Evaluation Kit"; | |
17 | compatible = "fsl,imx28-evk", "fsl,imx28"; | |
18 | ||
19 | memory { | |
20 | reg = <0x40000000 0x08000000>; | |
21 | }; | |
22 | ||
23 | apb@80000000 { | |
35d23047 | 24 | apbh@80000000 { |
7a8e5149 HS |
25 | gpmi-nand@8000c000 { |
26 | pinctrl-names = "default"; | |
daefb696 SG |
27 | pinctrl-0 = <&gpmi_pins_a &gpmi_status_cfg |
28 | &gpmi_pins_evk>; | |
7a8e5149 HS |
29 | status = "okay"; |
30 | }; | |
31 | ||
35d23047 SG |
32 | ssp0: ssp@80010000 { |
33 | compatible = "fsl,imx28-mmc"; | |
34 | pinctrl-names = "default"; | |
35 | pinctrl-0 = <&mmc0_8bit_pins_a | |
36 | &mmc0_cd_cfg &mmc0_sck_cfg>; | |
37 | bus-width = <8>; | |
38 | wp-gpios = <&gpio2 12 0>; | |
64edbcdd | 39 | vmmc-supply = <®_vddio_sd0>; |
35d23047 SG |
40 | status = "okay"; |
41 | }; | |
42 | ||
43 | ssp1: ssp@80012000 { | |
44 | compatible = "fsl,imx28-mmc"; | |
45 | bus-width = <8>; | |
46 | wp-gpios = <&gpio0 28 0>; | |
35d23047 | 47 | }; |
d54dbb50 | 48 | |
5decb4b6 FE |
49 | ssp2: ssp@80014000 { |
50 | #address-cells = <1>; | |
51 | #size-cells = <0>; | |
52 | compatible = "fsl,imx28-spi"; | |
53 | pinctrl-names = "default"; | |
54 | pinctrl-0 = <&spi2_pins_a>; | |
55 | status = "okay"; | |
56 | ||
57 | flash: m25p80@0 { | |
58 | #address-cells = <1>; | |
59 | #size-cells = <1>; | |
60 | compatible = "sst,sst25vf016b"; | |
61 | spi-max-frequency = <40000000>; | |
62 | reg = <0>; | |
63 | }; | |
64 | }; | |
65 | ||
d54dbb50 SG |
66 | pinctrl@80018000 { |
67 | pinctrl-names = "default"; | |
68 | pinctrl-0 = <&hog_pins_a>; | |
69 | ||
e0e35b48 | 70 | hog_pins_a: hog@0 { |
d54dbb50 SG |
71 | reg = <0>; |
72 | fsl,pinmux-ids = < | |
73 | 0x20d3 /* MX28_PAD_SSP1_CMD__GPIO_2_13 */ | |
74 | 0x20f3 /* MX28_PAD_SSP1_DATA3__GPIO_2_15 */ | |
75 | 0x40d3 /* MX28_PAD_ENET0_RX_CLK__GPIO_4_13 */ | |
76 | 0x20c3 /* MX28_PAD_SSP1_SCK__GPIO_2_12 */ | |
77 | 0x31c3 /* MX28_PAD_PWM3__GPIO_3_28 */ | |
78 | 0x31e3 /* MX28_PAD_LCD_RESET__GPIO_3_30 */ | |
5da01270 RZ |
79 | 0x3083 /* MX28_PAD_AUART2_RX__GPIO_3_8 */ |
80 | 0x3093 /* MX28_PAD_AUART2_TX__GPIO_3_9 */ | |
daefb696 SG |
81 | >; |
82 | fsl,drive-strength = <0>; | |
83 | fsl,voltage = <1>; | |
84 | fsl,pull-up = <0>; | |
85 | }; | |
86 | ||
30d6e2d5 FE |
87 | led_pin_gpio3_5: led_gpio3_5@0 { |
88 | reg = <0>; | |
89 | fsl,pinmux-ids = < | |
90 | 0x3053 /* MX28_PAD_AUART1_TX__GPIO_3_5 */ | |
91 | >; | |
92 | fsl,drive-strength = <0>; | |
93 | fsl,voltage = <1>; | |
94 | fsl,pull-up = <0>; | |
95 | }; | |
96 | ||
daefb696 SG |
97 | gpmi_pins_evk: gpmi-nand-evk@0 { |
98 | reg = <0>; | |
99 | fsl,pinmux-ids = < | |
100 | 0x0110 /* MX28_PAD_GPMI_CE1N__GPMI_CE1N */ | |
101 | 0x0150 /* MX28_PAD_GPMI_RDY1__GPMI_READY1 */ | |
d54dbb50 SG |
102 | >; |
103 | fsl,drive-strength = <0>; | |
104 | fsl,voltage = <1>; | |
105 | fsl,pull-up = <0>; | |
106 | }; | |
3dba2596 SG |
107 | |
108 | lcdif_pins_evk: lcdif-evk@0 { | |
109 | reg = <0>; | |
110 | fsl,pinmux-ids = < | |
111 | 0x1181 /* MX28_PAD_LCD_RD_E__LCD_VSYNC */ | |
112 | 0x1191 /* MX28_PAD_LCD_WR_RWN__LCD_HSYNC */ | |
113 | 0x11a1 /* MX28_PAD_LCD_RS__LCD_DOTCLK */ | |
114 | 0x11b1 /* MX28_PAD_LCD_CS__LCD_ENABLE */ | |
115 | >; | |
116 | fsl,drive-strength = <0>; | |
117 | fsl,voltage = <1>; | |
118 | fsl,pull-up = <0>; | |
119 | }; | |
d54dbb50 | 120 | }; |
a915ee42 SG |
121 | |
122 | lcdif@80030000 { | |
123 | pinctrl-names = "default"; | |
3dba2596 SG |
124 | pinctrl-0 = <&lcdif_24bit_pins_a |
125 | &lcdif_pins_evk>; | |
4344429d | 126 | lcd-supply = <®_lcd_3v3>; |
0d9f8217 | 127 | display = <&display>; |
a915ee42 | 128 | status = "okay"; |
0d9f8217 SG |
129 | |
130 | display: display { | |
131 | bits-per-pixel = <32>; | |
132 | bus-width = <24>; | |
133 | ||
134 | display-timings { | |
135 | native-mode = <&timing0>; | |
136 | timing0: timing0 { | |
137 | clock-frequency = <33500000>; | |
138 | hactive = <800>; | |
139 | vactive = <480>; | |
140 | hback-porch = <89>; | |
141 | hfront-porch = <164>; | |
142 | vback-porch = <23>; | |
143 | vfront-porch = <10>; | |
144 | hsync-len = <10>; | |
145 | vsync-len = <10>; | |
146 | hsync-active = <0>; | |
147 | vsync-active = <0>; | |
148 | de-active = <1>; | |
149 | pixelclk-active = <0>; | |
150 | }; | |
151 | }; | |
152 | }; | |
a915ee42 | 153 | }; |
6ca44acf SG |
154 | |
155 | can0: can@80032000 { | |
156 | pinctrl-names = "default"; | |
157 | pinctrl-0 = <&can0_pins_a>; | |
b7c4114b | 158 | xceiver-supply = <®_can_3v3>; |
6ca44acf SG |
159 | status = "okay"; |
160 | }; | |
161 | ||
162 | can1: can@80034000 { | |
163 | pinctrl-names = "default"; | |
164 | pinctrl-0 = <&can1_pins_a>; | |
b7c4114b | 165 | xceiver-supply = <®_can_3v3>; |
6ca44acf SG |
166 | status = "okay"; |
167 | }; | |
35d23047 SG |
168 | }; |
169 | ||
bc3a59c1 | 170 | apbx@80040000 { |
530f1d41 SG |
171 | saif0: saif@80042000 { |
172 | pinctrl-names = "default"; | |
173 | pinctrl-0 = <&saif0_pins_a>; | |
174 | status = "okay"; | |
175 | }; | |
176 | ||
177 | saif1: saif@80046000 { | |
178 | pinctrl-names = "default"; | |
179 | pinctrl-0 = <&saif1_pins_a>; | |
180 | fsl,saif-master = <&saif0>; | |
181 | status = "okay"; | |
182 | }; | |
183 | ||
8495a243 FE |
184 | lradc@80050000 { |
185 | status = "okay"; | |
186 | }; | |
187 | ||
2a96e391 SG |
188 | i2c0: i2c@80058000 { |
189 | pinctrl-names = "default"; | |
190 | pinctrl-0 = <&i2c0_pins_a>; | |
191 | status = "okay"; | |
530f1d41 SG |
192 | |
193 | sgtl5000: codec@0a { | |
194 | compatible = "fsl,sgtl5000"; | |
195 | reg = <0x0a>; | |
196 | VDDA-supply = <®_3p3v>; | |
197 | VDDIO-supply = <®_3p3v>; | |
66acaf3f | 198 | clocks = <&saif0>; |
530f1d41 | 199 | }; |
fa876cef FE |
200 | |
201 | at24@51 { | |
202 | compatible = "at24,24c32"; | |
203 | pagesize = <32>; | |
204 | reg = <0x51>; | |
205 | }; | |
2a96e391 SG |
206 | }; |
207 | ||
52f7176b SG |
208 | pwm: pwm@80064000 { |
209 | pinctrl-names = "default"; | |
210 | pinctrl-0 = <&pwm2_pins_a>; | |
211 | status = "okay"; | |
212 | }; | |
213 | ||
bc3a59c1 DA |
214 | duart: serial@80074000 { |
215 | pinctrl-names = "default"; | |
216 | pinctrl-0 = <&duart_pins_a>; | |
217 | status = "okay"; | |
218 | }; | |
80d969e4 FE |
219 | |
220 | auart0: serial@8006a000 { | |
221 | pinctrl-names = "default"; | |
222 | pinctrl-0 = <&auart0_pins_a>; | |
223 | status = "okay"; | |
224 | }; | |
225 | ||
226 | auart3: serial@80070000 { | |
227 | pinctrl-names = "default"; | |
228 | pinctrl-0 = <&auart3_pins_a>; | |
229 | status = "okay"; | |
230 | }; | |
5da01270 RZ |
231 | |
232 | usbphy0: usbphy@8007c000 { | |
233 | status = "okay"; | |
234 | }; | |
235 | ||
236 | usbphy1: usbphy@8007e000 { | |
237 | status = "okay"; | |
238 | }; | |
bc3a59c1 DA |
239 | }; |
240 | }; | |
241 | ||
242 | ahb@80080000 { | |
5da01270 RZ |
243 | usb0: usb@80080000 { |
244 | vbus-supply = <®_usb0_vbus>; | |
245 | status = "okay"; | |
246 | }; | |
247 | ||
248 | usb1: usb@80090000 { | |
249 | vbus-supply = <®_usb1_vbus>; | |
250 | status = "okay"; | |
251 | }; | |
252 | ||
bc3a59c1 DA |
253 | mac0: ethernet@800f0000 { |
254 | phy-mode = "rmii"; | |
255 | pinctrl-names = "default"; | |
256 | pinctrl-0 = <&mac0_pins_a>; | |
c9987c81 SG |
257 | phy-supply = <®_fec_3v3>; |
258 | phy-reset-gpios = <&gpio4 13 0>; | |
259 | phy-reset-duration = <100>; | |
bc3a59c1 DA |
260 | status = "okay"; |
261 | }; | |
262 | ||
263 | mac1: ethernet@800f4000 { | |
264 | phy-mode = "rmii"; | |
265 | pinctrl-names = "default"; | |
266 | pinctrl-0 = <&mac1_pins_a>; | |
267 | status = "okay"; | |
268 | }; | |
269 | }; | |
530f1d41 SG |
270 | |
271 | regulators { | |
272 | compatible = "simple-bus"; | |
273 | ||
274 | reg_3p3v: 3p3v { | |
275 | compatible = "regulator-fixed"; | |
276 | regulator-name = "3P3V"; | |
277 | regulator-min-microvolt = <3300000>; | |
278 | regulator-max-microvolt = <3300000>; | |
279 | regulator-always-on; | |
280 | }; | |
64edbcdd SG |
281 | |
282 | reg_vddio_sd0: vddio-sd0 { | |
283 | compatible = "regulator-fixed"; | |
284 | regulator-name = "vddio-sd0"; | |
285 | regulator-min-microvolt = <3300000>; | |
286 | regulator-max-microvolt = <3300000>; | |
287 | gpio = <&gpio3 28 0>; | |
288 | }; | |
c9987c81 SG |
289 | |
290 | reg_fec_3v3: fec-3v3 { | |
291 | compatible = "regulator-fixed"; | |
292 | regulator-name = "fec-3v3"; | |
293 | regulator-min-microvolt = <3300000>; | |
294 | regulator-max-microvolt = <3300000>; | |
295 | gpio = <&gpio2 15 0>; | |
296 | }; | |
5da01270 RZ |
297 | |
298 | reg_usb0_vbus: usb0_vbus { | |
299 | compatible = "regulator-fixed"; | |
300 | regulator-name = "usb0_vbus"; | |
301 | regulator-min-microvolt = <5000000>; | |
302 | regulator-max-microvolt = <5000000>; | |
303 | gpio = <&gpio3 9 0>; | |
304 | enable-active-high; | |
305 | }; | |
306 | ||
307 | reg_usb1_vbus: usb1_vbus { | |
308 | compatible = "regulator-fixed"; | |
309 | regulator-name = "usb1_vbus"; | |
310 | regulator-min-microvolt = <5000000>; | |
311 | regulator-max-microvolt = <5000000>; | |
312 | gpio = <&gpio3 8 0>; | |
313 | enable-active-high; | |
314 | }; | |
4344429d FE |
315 | |
316 | reg_lcd_3v3: lcd-3v3 { | |
317 | compatible = "regulator-fixed"; | |
318 | regulator-name = "lcd-3v3"; | |
319 | regulator-min-microvolt = <3300000>; | |
320 | regulator-max-microvolt = <3300000>; | |
321 | gpio = <&gpio3 30 0>; | |
322 | enable-active-high; | |
323 | }; | |
b7c4114b FE |
324 | |
325 | reg_can_3v3: can-3v3 { | |
326 | compatible = "regulator-fixed"; | |
327 | regulator-name = "can-3v3"; | |
328 | regulator-min-microvolt = <3300000>; | |
329 | regulator-max-microvolt = <3300000>; | |
330 | gpio = <&gpio2 13 0>; | |
331 | enable-active-high; | |
332 | }; | |
333 | ||
530f1d41 SG |
334 | }; |
335 | ||
336 | sound { | |
337 | compatible = "fsl,imx28-evk-sgtl5000", | |
338 | "fsl,mxs-audio-sgtl5000"; | |
339 | model = "imx28-evk-sgtl5000"; | |
340 | saif-controllers = <&saif0 &saif1>; | |
341 | audio-codec = <&sgtl5000>; | |
342 | }; | |
a600e333 SG |
343 | |
344 | leds { | |
345 | compatible = "gpio-leds"; | |
30d6e2d5 FE |
346 | pinctrl-names = "default"; |
347 | pinctrl-0 = <&led_pin_gpio3_5>; | |
a600e333 SG |
348 | |
349 | user { | |
350 | label = "Heartbeat"; | |
351 | gpios = <&gpio3 5 0>; | |
352 | linux,default-trigger = "heartbeat"; | |
353 | }; | |
354 | }; | |
52f7176b SG |
355 | |
356 | backlight { | |
357 | compatible = "pwm-backlight"; | |
358 | pwms = <&pwm 2 5000000>; | |
359 | brightness-levels = <0 4 8 16 32 64 128 255>; | |
360 | default-brightness-level = <6>; | |
361 | }; | |
bc3a59c1 | 362 | }; |