]>
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 SG |
48 | |
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 */ | |
daefb696 SG |
63 | >; |
64 | fsl,drive-strength = <0>; | |
65 | fsl,voltage = <1>; | |
66 | fsl,pull-up = <0>; | |
67 | }; | |
68 | ||
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 */ | |
d54dbb50 SG |
74 | >; |
75 | fsl,drive-strength = <0>; | |
76 | fsl,voltage = <1>; | |
77 | fsl,pull-up = <0>; | |
78 | }; | |
3dba2596 SG |
79 | |
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 | }; | |
d54dbb50 | 92 | }; |
a915ee42 SG |
93 | |
94 | lcdif@80030000 { | |
95 | pinctrl-names = "default"; | |
3dba2596 SG |
96 | pinctrl-0 = <&lcdif_24bit_pins_a |
97 | &lcdif_pins_evk>; | |
a915ee42 SG |
98 | panel-enable-gpios = <&gpio3 30 0>; |
99 | status = "okay"; | |
100 | }; | |
6ca44acf SG |
101 | |
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 | }; | |
35d23047 SG |
113 | }; |
114 | ||
bc3a59c1 | 115 | apbx@80040000 { |
530f1d41 SG |
116 | 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 | ||
2a96e391 SG |
129 | i2c0: i2c@80058000 { |
130 | pinctrl-names = "default"; | |
131 | pinctrl-0 = <&i2c0_pins_a>; | |
132 | status = "okay"; | |
530f1d41 SG |
133 | |
134 | sgtl5000: codec@0a { | |
135 | compatible = "fsl,sgtl5000"; | |
136 | reg = <0x0a>; | |
137 | VDDA-supply = <®_3p3v>; | |
138 | VDDIO-supply = <®_3p3v>; | |
139 | ||
140 | }; | |
2a96e391 SG |
141 | }; |
142 | ||
52f7176b SG |
143 | pwm: pwm@80064000 { |
144 | pinctrl-names = "default"; | |
145 | pinctrl-0 = <&pwm2_pins_a>; | |
146 | status = "okay"; | |
147 | }; | |
148 | ||
bc3a59c1 DA |
149 | duart: serial@80074000 { |
150 | pinctrl-names = "default"; | |
151 | pinctrl-0 = <&duart_pins_a>; | |
152 | status = "okay"; | |
153 | }; | |
80d969e4 FE |
154 | |
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 | }; | |
bc3a59c1 DA |
166 | }; |
167 | }; | |
168 | ||
169 | ahb@80080000 { | |
170 | mac0: ethernet@800f0000 { | |
171 | phy-mode = "rmii"; | |
172 | pinctrl-names = "default"; | |
173 | pinctrl-0 = <&mac0_pins_a>; | |
c9987c81 SG |
174 | phy-supply = <®_fec_3v3>; |
175 | phy-reset-gpios = <&gpio4 13 0>; | |
176 | phy-reset-duration = <100>; | |
bc3a59c1 DA |
177 | 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 | }; | |
530f1d41 SG |
187 | |
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 | }; | |
64edbcdd SG |
198 | |
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 | }; | |
c9987c81 SG |
206 | |
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 | }; | |
530f1d41 SG |
214 | }; |
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 | }; | |
a600e333 SG |
223 | |
224 | leds { | |
225 | compatible = "gpio-leds"; | |
226 | ||
227 | user { | |
228 | label = "Heartbeat"; | |
229 | gpios = <&gpio3 5 0>; | |
230 | linux,default-trigger = "heartbeat"; | |
231 | }; | |
232 | }; | |
52f7176b SG |
233 | |
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 | }; | |
bc3a59c1 | 240 | }; |