blob: 2da316e04409f103c44fcf4ff35fe5dc48a93924 [file] [log] [blame]
Dong Aishengbc3a59c2012-03-31 21:26:57 +08001/*
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 {
Shawn Guo35d23042012-05-06 16:33:34 +080024 apbh@80000000 {
Huang Shijie7a8e5142012-05-25 17:25:35 +080025 gpmi-nand@8000c000 {
26 pinctrl-names = "default";
Shawn Guodaefb692012-07-07 20:59:09 +080027 pinctrl-0 = <&gpmi_pins_a &gpmi_status_cfg
28 &gpmi_pins_evk>;
Huang Shijie7a8e5142012-05-25 17:25:35 +080029 status = "okay";
30 };
31
Shawn Guo35d23042012-05-06 16:33:34 +080032 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>;
Shawn Guo64edbcd2012-06-28 11:45:01 +080039 vmmc-supply = <&reg_vddio_sd0>;
Shawn Guo35d23042012-05-06 16:33:34 +080040 status = "okay";
41 };
42
43 ssp1: ssp@80012000 {
44 compatible = "fsl,imx28-mmc";
45 bus-width = <8>;
46 wp-gpios = <&gpio0 28 0>;
Shawn Guo35d23042012-05-06 16:33:34 +080047 };
Shawn Guod54dbb52012-06-28 11:44:58 +080048
Fabio Estevam5decb4b2012-08-27 13:23:27 -030049 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
Shawn Guod54dbb52012-06-28 11:44:58 +080066 pinctrl@80018000 {
67 pinctrl-names = "default";
68 pinctrl-0 = <&hog_pins_a>;
69
Fabio Estevame0e35b42012-08-22 13:25:31 -030070 hog_pins_a: hog@0 {
Shawn Guod54dbb52012-06-28 11:44:58 +080071 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 */
Richard Zhao5da01272012-07-12 10:25:27 +080079 0x3083 /* MX28_PAD_AUART2_RX__GPIO_3_8 */
80 0x3093 /* MX28_PAD_AUART2_TX__GPIO_3_9 */
Shawn Guod54dbb52012-06-28 11:44:58 +080081 >;
82 fsl,drive-strength = <0>;
83 fsl,voltage = <1>;
84 fsl,pull-up = <0>;
85 };
Shawn Guodaefb692012-07-07 20:59:09 +080086
Fabio Estevam30d6e2d2012-09-23 16:18:38 -030087 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
Shawn Guodaefb692012-07-07 20:59:09 +080097 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 */
102 >;
103 fsl,drive-strength = <0>;
104 fsl,voltage = <1>;
105 fsl,pull-up = <0>;
106 };
Shawn Guo3dba2592012-07-07 21:09:51 +0800107
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 };
Shawn Guod54dbb52012-06-28 11:44:58 +0800120 };
Shawn Guoa915ee42012-06-28 11:45:07 +0800121
122 lcdif@80030000 {
123 pinctrl-names = "default";
Shawn Guo3dba2592012-07-07 21:09:51 +0800124 pinctrl-0 = <&lcdif_24bit_pins_a
125 &lcdif_pins_evk>;
Shawn Guoa915ee42012-06-28 11:45:07 +0800126 panel-enable-gpios = <&gpio3 30 0>;
127 status = "okay";
128 };
Shawn Guo6ca44ac2012-06-28 11:45:03 +0800129
130 can0: can@80032000 {
131 pinctrl-names = "default";
132 pinctrl-0 = <&can0_pins_a>;
133 status = "okay";
134 };
135
136 can1: can@80034000 {
137 pinctrl-names = "default";
138 pinctrl-0 = <&can1_pins_a>;
139 status = "okay";
140 };
Shawn Guo35d23042012-05-06 16:33:34 +0800141 };
142
Dong Aishengbc3a59c2012-03-31 21:26:57 +0800143 apbx@80040000 {
Shawn Guo530f1d42012-05-10 15:03:16 +0800144 saif0: saif@80042000 {
145 pinctrl-names = "default";
146 pinctrl-0 = <&saif0_pins_a>;
147 status = "okay";
148 };
149
150 saif1: saif@80046000 {
151 pinctrl-names = "default";
152 pinctrl-0 = <&saif1_pins_a>;
153 fsl,saif-master = <&saif0>;
154 status = "okay";
155 };
156
Fabio Estevam8495a242012-08-27 13:23:28 -0300157 lradc@80050000 {
158 status = "okay";
159 };
160
Shawn Guo2a96e392012-05-10 15:02:10 +0800161 i2c0: i2c@80058000 {
162 pinctrl-names = "default";
163 pinctrl-0 = <&i2c0_pins_a>;
164 status = "okay";
Shawn Guo530f1d42012-05-10 15:03:16 +0800165
166 sgtl5000: codec@0a {
167 compatible = "fsl,sgtl5000";
168 reg = <0x0a>;
169 VDDA-supply = <&reg_3p3v>;
170 VDDIO-supply = <&reg_3p3v>;
171
172 };
Fabio Estevamfa876ce2012-08-27 16:39:59 -0300173
174 at24@51 {
175 compatible = "at24,24c32";
176 pagesize = <32>;
177 reg = <0x51>;
178 };
Shawn Guo2a96e392012-05-10 15:02:10 +0800179 };
180
Shawn Guo52f71762012-06-28 11:45:06 +0800181 pwm: pwm@80064000 {
182 pinctrl-names = "default";
183 pinctrl-0 = <&pwm2_pins_a>;
184 status = "okay";
185 };
186
Dong Aishengbc3a59c2012-03-31 21:26:57 +0800187 duart: serial@80074000 {
188 pinctrl-names = "default";
189 pinctrl-0 = <&duart_pins_a>;
190 status = "okay";
191 };
Fabio Estevam80d969e2012-06-15 12:35:56 -0300192
193 auart0: serial@8006a000 {
194 pinctrl-names = "default";
195 pinctrl-0 = <&auart0_pins_a>;
196 status = "okay";
197 };
198
199 auart3: serial@80070000 {
200 pinctrl-names = "default";
201 pinctrl-0 = <&auart3_pins_a>;
202 status = "okay";
203 };
Richard Zhao5da01272012-07-12 10:25:27 +0800204
205 usbphy0: usbphy@8007c000 {
206 status = "okay";
207 };
208
209 usbphy1: usbphy@8007e000 {
210 status = "okay";
211 };
Dong Aishengbc3a59c2012-03-31 21:26:57 +0800212 };
213 };
214
215 ahb@80080000 {
Richard Zhao5da01272012-07-12 10:25:27 +0800216 usb0: usb@80080000 {
217 vbus-supply = <&reg_usb0_vbus>;
218 status = "okay";
219 };
220
221 usb1: usb@80090000 {
222 vbus-supply = <&reg_usb1_vbus>;
223 status = "okay";
224 };
225
Dong Aishengbc3a59c2012-03-31 21:26:57 +0800226 mac0: ethernet@800f0000 {
227 phy-mode = "rmii";
228 pinctrl-names = "default";
229 pinctrl-0 = <&mac0_pins_a>;
Shawn Guoc9987c82012-06-28 11:45:02 +0800230 phy-supply = <&reg_fec_3v3>;
231 phy-reset-gpios = <&gpio4 13 0>;
232 phy-reset-duration = <100>;
Dong Aishengbc3a59c2012-03-31 21:26:57 +0800233 status = "okay";
234 };
235
236 mac1: ethernet@800f4000 {
237 phy-mode = "rmii";
238 pinctrl-names = "default";
239 pinctrl-0 = <&mac1_pins_a>;
240 status = "okay";
241 };
242 };
Shawn Guo530f1d42012-05-10 15:03:16 +0800243
244 regulators {
245 compatible = "simple-bus";
246
247 reg_3p3v: 3p3v {
248 compatible = "regulator-fixed";
249 regulator-name = "3P3V";
250 regulator-min-microvolt = <3300000>;
251 regulator-max-microvolt = <3300000>;
252 regulator-always-on;
253 };
Shawn Guo64edbcd2012-06-28 11:45:01 +0800254
255 reg_vddio_sd0: vddio-sd0 {
256 compatible = "regulator-fixed";
257 regulator-name = "vddio-sd0";
258 regulator-min-microvolt = <3300000>;
259 regulator-max-microvolt = <3300000>;
260 gpio = <&gpio3 28 0>;
261 };
Shawn Guoc9987c82012-06-28 11:45:02 +0800262
263 reg_fec_3v3: fec-3v3 {
264 compatible = "regulator-fixed";
265 regulator-name = "fec-3v3";
266 regulator-min-microvolt = <3300000>;
267 regulator-max-microvolt = <3300000>;
268 gpio = <&gpio2 15 0>;
269 };
Richard Zhao5da01272012-07-12 10:25:27 +0800270
271 reg_usb0_vbus: usb0_vbus {
272 compatible = "regulator-fixed";
273 regulator-name = "usb0_vbus";
274 regulator-min-microvolt = <5000000>;
275 regulator-max-microvolt = <5000000>;
276 gpio = <&gpio3 9 0>;
277 enable-active-high;
278 };
279
280 reg_usb1_vbus: usb1_vbus {
281 compatible = "regulator-fixed";
282 regulator-name = "usb1_vbus";
283 regulator-min-microvolt = <5000000>;
284 regulator-max-microvolt = <5000000>;
285 gpio = <&gpio3 8 0>;
286 enable-active-high;
287 };
Shawn Guo530f1d42012-05-10 15:03:16 +0800288 };
289
290 sound {
291 compatible = "fsl,imx28-evk-sgtl5000",
292 "fsl,mxs-audio-sgtl5000";
293 model = "imx28-evk-sgtl5000";
294 saif-controllers = <&saif0 &saif1>;
295 audio-codec = <&sgtl5000>;
296 };
Shawn Guoa600e332012-06-28 11:45:04 +0800297
298 leds {
299 compatible = "gpio-leds";
Fabio Estevam30d6e2d2012-09-23 16:18:38 -0300300 pinctrl-names = "default";
301 pinctrl-0 = <&led_pin_gpio3_5>;
Shawn Guoa600e332012-06-28 11:45:04 +0800302
303 user {
304 label = "Heartbeat";
305 gpios = <&gpio3 5 0>;
306 linux,default-trigger = "heartbeat";
307 };
308 };
Shawn Guo52f71762012-06-28 11:45:06 +0800309
310 backlight {
311 compatible = "pwm-backlight";
312 pwms = <&pwm 2 5000000>;
313 brightness-levels = <0 4 8 16 32 64 128 255>;
314 default-brightness-level = <6>;
315 };
Dong Aishengbc3a59c2012-03-31 21:26:57 +0800316};