blob: 0fcc7eae5982be3e3dfbb62081d0d269759e412e [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
49 pinctrl@80018000 {
50 pinctrl-names = "default";
51 pinctrl-0 = <&hog_pins_a>;
52
53 hog_pins_a: hog-gpios@0 {
54 reg = <0>;
55 fsl,pinmux-ids = <
56 0x20d3 /* MX28_PAD_SSP1_CMD__GPIO_2_13 */
57 0x20f3 /* MX28_PAD_SSP1_DATA3__GPIO_2_15 */
58 0x40d3 /* MX28_PAD_ENET0_RX_CLK__GPIO_4_13 */
59 0x20c3 /* MX28_PAD_SSP1_SCK__GPIO_2_12 */
60 0x31c3 /* MX28_PAD_PWM3__GPIO_3_28 */
61 0x31e3 /* MX28_PAD_LCD_RESET__GPIO_3_30 */
62 0x3053 /* MX28_PAD_AUART1_TX__GPIO_3_5 */
63 >;
64 fsl,drive-strength = <0>;
65 fsl,voltage = <1>;
66 fsl,pull-up = <0>;
67 };
Shawn Guodaefb692012-07-07 20:59:09 +080068
69 gpmi_pins_evk: gpmi-nand-evk@0 {
70 reg = <0>;
71 fsl,pinmux-ids = <
72 0x0110 /* MX28_PAD_GPMI_CE1N__GPMI_CE1N */
73 0x0150 /* MX28_PAD_GPMI_RDY1__GPMI_READY1 */
74 >;
75 fsl,drive-strength = <0>;
76 fsl,voltage = <1>;
77 fsl,pull-up = <0>;
78 };
Shawn Guo3dba2592012-07-07 21:09:51 +080079
80 lcdif_pins_evk: lcdif-evk@0 {
81 reg = <0>;
82 fsl,pinmux-ids = <
83 0x1181 /* MX28_PAD_LCD_RD_E__LCD_VSYNC */
84 0x1191 /* MX28_PAD_LCD_WR_RWN__LCD_HSYNC */
85 0x11a1 /* MX28_PAD_LCD_RS__LCD_DOTCLK */
86 0x11b1 /* MX28_PAD_LCD_CS__LCD_ENABLE */
87 >;
88 fsl,drive-strength = <0>;
89 fsl,voltage = <1>;
90 fsl,pull-up = <0>;
91 };
Shawn Guod54dbb52012-06-28 11:44:58 +080092 };
Shawn Guoa915ee422012-06-28 11:45:07 +080093
94 lcdif@80030000 {
95 pinctrl-names = "default";
Shawn Guo3dba2592012-07-07 21:09:51 +080096 pinctrl-0 = <&lcdif_24bit_pins_a
97 &lcdif_pins_evk>;
Shawn Guoa915ee422012-06-28 11:45:07 +080098 panel-enable-gpios = <&gpio3 30 0>;
99 status = "okay";
100 };
Shawn Guo6ca44ac2012-06-28 11:45:03 +0800101
102 can0: can@80032000 {
103 pinctrl-names = "default";
104 pinctrl-0 = <&can0_pins_a>;
105 status = "okay";
106 };
107
108 can1: can@80034000 {
109 pinctrl-names = "default";
110 pinctrl-0 = <&can1_pins_a>;
111 status = "okay";
112 };
Shawn Guo35d23042012-05-06 16:33:34 +0800113 };
114
Dong Aishengbc3a59c2012-03-31 21:26:57 +0800115 apbx@80040000 {
Shawn Guo530f1d42012-05-10 15:03:16 +0800116 saif0: saif@80042000 {
117 pinctrl-names = "default";
118 pinctrl-0 = <&saif0_pins_a>;
119 status = "okay";
120 };
121
122 saif1: saif@80046000 {
123 pinctrl-names = "default";
124 pinctrl-0 = <&saif1_pins_a>;
125 fsl,saif-master = <&saif0>;
126 status = "okay";
127 };
128
Shawn Guo2a96e392012-05-10 15:02:10 +0800129 i2c0: i2c@80058000 {
130 pinctrl-names = "default";
131 pinctrl-0 = <&i2c0_pins_a>;
132 status = "okay";
Shawn Guo530f1d42012-05-10 15:03:16 +0800133
134 sgtl5000: codec@0a {
135 compatible = "fsl,sgtl5000";
136 reg = <0x0a>;
137 VDDA-supply = <&reg_3p3v>;
138 VDDIO-supply = <&reg_3p3v>;
139
140 };
Shawn Guo2a96e392012-05-10 15:02:10 +0800141 };
142
Shawn Guo52f71762012-06-28 11:45:06 +0800143 pwm: pwm@80064000 {
144 pinctrl-names = "default";
145 pinctrl-0 = <&pwm2_pins_a>;
146 status = "okay";
147 };
148
Dong Aishengbc3a59c2012-03-31 21:26:57 +0800149 duart: serial@80074000 {
150 pinctrl-names = "default";
151 pinctrl-0 = <&duart_pins_a>;
152 status = "okay";
153 };
Fabio Estevam80d969e2012-06-15 12:35:56 -0300154
155 auart0: serial@8006a000 {
156 pinctrl-names = "default";
157 pinctrl-0 = <&auart0_pins_a>;
158 status = "okay";
159 };
160
161 auart3: serial@80070000 {
162 pinctrl-names = "default";
163 pinctrl-0 = <&auart3_pins_a>;
164 status = "okay";
165 };
Dong Aishengbc3a59c2012-03-31 21:26:57 +0800166 };
167 };
168
169 ahb@80080000 {
170 mac0: ethernet@800f0000 {
171 phy-mode = "rmii";
172 pinctrl-names = "default";
173 pinctrl-0 = <&mac0_pins_a>;
Shawn Guoc9987c82012-06-28 11:45:02 +0800174 phy-supply = <&reg_fec_3v3>;
175 phy-reset-gpios = <&gpio4 13 0>;
176 phy-reset-duration = <100>;
Dong Aishengbc3a59c2012-03-31 21:26:57 +0800177 status = "okay";
178 };
179
180 mac1: ethernet@800f4000 {
181 phy-mode = "rmii";
182 pinctrl-names = "default";
183 pinctrl-0 = <&mac1_pins_a>;
184 status = "okay";
185 };
186 };
Shawn Guo530f1d42012-05-10 15:03:16 +0800187
188 regulators {
189 compatible = "simple-bus";
190
191 reg_3p3v: 3p3v {
192 compatible = "regulator-fixed";
193 regulator-name = "3P3V";
194 regulator-min-microvolt = <3300000>;
195 regulator-max-microvolt = <3300000>;
196 regulator-always-on;
197 };
Shawn Guo64edbcd2012-06-28 11:45:01 +0800198
199 reg_vddio_sd0: vddio-sd0 {
200 compatible = "regulator-fixed";
201 regulator-name = "vddio-sd0";
202 regulator-min-microvolt = <3300000>;
203 regulator-max-microvolt = <3300000>;
204 gpio = <&gpio3 28 0>;
205 };
Shawn Guoc9987c82012-06-28 11:45:02 +0800206
207 reg_fec_3v3: fec-3v3 {
208 compatible = "regulator-fixed";
209 regulator-name = "fec-3v3";
210 regulator-min-microvolt = <3300000>;
211 regulator-max-microvolt = <3300000>;
212 gpio = <&gpio2 15 0>;
213 };
Shawn Guo530f1d42012-05-10 15:03:16 +0800214 };
215
216 sound {
217 compatible = "fsl,imx28-evk-sgtl5000",
218 "fsl,mxs-audio-sgtl5000";
219 model = "imx28-evk-sgtl5000";
220 saif-controllers = <&saif0 &saif1>;
221 audio-codec = <&sgtl5000>;
222 };
Shawn Guoa600e332012-06-28 11:45:04 +0800223
224 leds {
225 compatible = "gpio-leds";
226
227 user {
228 label = "Heartbeat";
229 gpios = <&gpio3 5 0>;
230 linux,default-trigger = "heartbeat";
231 };
232 };
Shawn Guo52f71762012-06-28 11:45:06 +0800233
234 backlight {
235 compatible = "pwm-backlight";
236 pwms = <&pwm 2 5000000>;
237 brightness-levels = <0 4 8 16 32 64 128 255>;
238 default-brightness-level = <6>;
239 };
Dong Aishengbc3a59c2012-03-31 21:26:57 +0800240};