blob: 8a9a2f4023ce9fa6dc3a2a85a346e9928b22c608 [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 */
79 0x3053 /* MX28_PAD_AUART1_TX__GPIO_3_5 */
Richard Zhao5da01272012-07-12 10:25:27 +080080 0x3083 /* MX28_PAD_AUART2_RX__GPIO_3_8 */
81 0x3093 /* MX28_PAD_AUART2_TX__GPIO_3_9 */
Shawn Guod54dbb52012-06-28 11:44:58 +080082 >;
83 fsl,drive-strength = <0>;
84 fsl,voltage = <1>;
85 fsl,pull-up = <0>;
86 };
Shawn Guodaefb692012-07-07 20:59:09 +080087
88 gpmi_pins_evk: gpmi-nand-evk@0 {
89 reg = <0>;
90 fsl,pinmux-ids = <
91 0x0110 /* MX28_PAD_GPMI_CE1N__GPMI_CE1N */
92 0x0150 /* MX28_PAD_GPMI_RDY1__GPMI_READY1 */
93 >;
94 fsl,drive-strength = <0>;
95 fsl,voltage = <1>;
96 fsl,pull-up = <0>;
97 };
Shawn Guo3dba2592012-07-07 21:09:51 +080098
99 lcdif_pins_evk: lcdif-evk@0 {
100 reg = <0>;
101 fsl,pinmux-ids = <
102 0x1181 /* MX28_PAD_LCD_RD_E__LCD_VSYNC */
103 0x1191 /* MX28_PAD_LCD_WR_RWN__LCD_HSYNC */
104 0x11a1 /* MX28_PAD_LCD_RS__LCD_DOTCLK */
105 0x11b1 /* MX28_PAD_LCD_CS__LCD_ENABLE */
106 >;
107 fsl,drive-strength = <0>;
108 fsl,voltage = <1>;
109 fsl,pull-up = <0>;
110 };
Shawn Guod54dbb52012-06-28 11:44:58 +0800111 };
Shawn Guoa915ee422012-06-28 11:45:07 +0800112
113 lcdif@80030000 {
114 pinctrl-names = "default";
Shawn Guo3dba2592012-07-07 21:09:51 +0800115 pinctrl-0 = <&lcdif_24bit_pins_a
116 &lcdif_pins_evk>;
Shawn Guoa915ee422012-06-28 11:45:07 +0800117 panel-enable-gpios = <&gpio3 30 0>;
118 status = "okay";
119 };
Shawn Guo6ca44ac2012-06-28 11:45:03 +0800120
121 can0: can@80032000 {
122 pinctrl-names = "default";
123 pinctrl-0 = <&can0_pins_a>;
124 status = "okay";
125 };
126
127 can1: can@80034000 {
128 pinctrl-names = "default";
129 pinctrl-0 = <&can1_pins_a>;
130 status = "okay";
131 };
Shawn Guo35d23042012-05-06 16:33:34 +0800132 };
133
Dong Aishengbc3a59c2012-03-31 21:26:57 +0800134 apbx@80040000 {
Shawn Guo530f1d42012-05-10 15:03:16 +0800135 saif0: saif@80042000 {
136 pinctrl-names = "default";
137 pinctrl-0 = <&saif0_pins_a>;
138 status = "okay";
139 };
140
141 saif1: saif@80046000 {
142 pinctrl-names = "default";
143 pinctrl-0 = <&saif1_pins_a>;
144 fsl,saif-master = <&saif0>;
145 status = "okay";
146 };
147
Shawn Guo2a96e392012-05-10 15:02:10 +0800148 i2c0: i2c@80058000 {
149 pinctrl-names = "default";
150 pinctrl-0 = <&i2c0_pins_a>;
151 status = "okay";
Shawn Guo530f1d42012-05-10 15:03:16 +0800152
153 sgtl5000: codec@0a {
154 compatible = "fsl,sgtl5000";
155 reg = <0x0a>;
156 VDDA-supply = <&reg_3p3v>;
157 VDDIO-supply = <&reg_3p3v>;
158
159 };
Shawn Guo2a96e392012-05-10 15:02:10 +0800160 };
161
Shawn Guo52f71762012-06-28 11:45:06 +0800162 pwm: pwm@80064000 {
163 pinctrl-names = "default";
164 pinctrl-0 = <&pwm2_pins_a>;
165 status = "okay";
166 };
167
Dong Aishengbc3a59c2012-03-31 21:26:57 +0800168 duart: serial@80074000 {
169 pinctrl-names = "default";
170 pinctrl-0 = <&duart_pins_a>;
171 status = "okay";
172 };
Fabio Estevam80d969e2012-06-15 12:35:56 -0300173
174 auart0: serial@8006a000 {
175 pinctrl-names = "default";
176 pinctrl-0 = <&auart0_pins_a>;
177 status = "okay";
178 };
179
180 auart3: serial@80070000 {
181 pinctrl-names = "default";
182 pinctrl-0 = <&auart3_pins_a>;
183 status = "okay";
184 };
Richard Zhao5da01272012-07-12 10:25:27 +0800185
186 usbphy0: usbphy@8007c000 {
187 status = "okay";
188 };
189
190 usbphy1: usbphy@8007e000 {
191 status = "okay";
192 };
Dong Aishengbc3a59c2012-03-31 21:26:57 +0800193 };
194 };
195
196 ahb@80080000 {
Richard Zhao5da01272012-07-12 10:25:27 +0800197 usb0: usb@80080000 {
198 vbus-supply = <&reg_usb0_vbus>;
199 status = "okay";
200 };
201
202 usb1: usb@80090000 {
203 vbus-supply = <&reg_usb1_vbus>;
204 status = "okay";
205 };
206
Dong Aishengbc3a59c2012-03-31 21:26:57 +0800207 mac0: ethernet@800f0000 {
208 phy-mode = "rmii";
209 pinctrl-names = "default";
210 pinctrl-0 = <&mac0_pins_a>;
Shawn Guoc9987c82012-06-28 11:45:02 +0800211 phy-supply = <&reg_fec_3v3>;
212 phy-reset-gpios = <&gpio4 13 0>;
213 phy-reset-duration = <100>;
Dong Aishengbc3a59c2012-03-31 21:26:57 +0800214 status = "okay";
215 };
216
217 mac1: ethernet@800f4000 {
218 phy-mode = "rmii";
219 pinctrl-names = "default";
220 pinctrl-0 = <&mac1_pins_a>;
221 status = "okay";
222 };
223 };
Shawn Guo530f1d42012-05-10 15:03:16 +0800224
225 regulators {
226 compatible = "simple-bus";
227
228 reg_3p3v: 3p3v {
229 compatible = "regulator-fixed";
230 regulator-name = "3P3V";
231 regulator-min-microvolt = <3300000>;
232 regulator-max-microvolt = <3300000>;
233 regulator-always-on;
234 };
Shawn Guo64edbcd2012-06-28 11:45:01 +0800235
236 reg_vddio_sd0: vddio-sd0 {
237 compatible = "regulator-fixed";
238 regulator-name = "vddio-sd0";
239 regulator-min-microvolt = <3300000>;
240 regulator-max-microvolt = <3300000>;
241 gpio = <&gpio3 28 0>;
242 };
Shawn Guoc9987c82012-06-28 11:45:02 +0800243
244 reg_fec_3v3: fec-3v3 {
245 compatible = "regulator-fixed";
246 regulator-name = "fec-3v3";
247 regulator-min-microvolt = <3300000>;
248 regulator-max-microvolt = <3300000>;
249 gpio = <&gpio2 15 0>;
250 };
Richard Zhao5da01272012-07-12 10:25:27 +0800251
252 reg_usb0_vbus: usb0_vbus {
253 compatible = "regulator-fixed";
254 regulator-name = "usb0_vbus";
255 regulator-min-microvolt = <5000000>;
256 regulator-max-microvolt = <5000000>;
257 gpio = <&gpio3 9 0>;
258 enable-active-high;
259 };
260
261 reg_usb1_vbus: usb1_vbus {
262 compatible = "regulator-fixed";
263 regulator-name = "usb1_vbus";
264 regulator-min-microvolt = <5000000>;
265 regulator-max-microvolt = <5000000>;
266 gpio = <&gpio3 8 0>;
267 enable-active-high;
268 };
Shawn Guo530f1d42012-05-10 15:03:16 +0800269 };
270
271 sound {
272 compatible = "fsl,imx28-evk-sgtl5000",
273 "fsl,mxs-audio-sgtl5000";
274 model = "imx28-evk-sgtl5000";
275 saif-controllers = <&saif0 &saif1>;
276 audio-codec = <&sgtl5000>;
277 };
Shawn Guoa600e332012-06-28 11:45:04 +0800278
279 leds {
280 compatible = "gpio-leds";
281
282 user {
283 label = "Heartbeat";
284 gpios = <&gpio3 5 0>;
285 linux,default-trigger = "heartbeat";
286 };
287 };
Shawn Guo52f71762012-06-28 11:45:06 +0800288
289 backlight {
290 compatible = "pwm-backlight";
291 pwms = <&pwm 2 5000000>;
292 brightness-levels = <0 4 8 16 32 64 128 255>;
293 default-brightness-level = <6>;
294 };
Dong Aishengbc3a59c2012-03-31 21:26:57 +0800295};