]>
Commit | Line | Data |
---|---|---|
73d2b4cd SG |
1 | /* |
2 | * Copyright 2011 Freescale Semiconductor, Inc. | |
3 | * Copyright 2011 Linaro Ltd. | |
4 | * | |
5 | * The code contained herein is licensed under the GNU General Public | |
6 | * License. You may obtain a copy of the GNU General Public License | |
7 | * Version 2 or later at the following locations: | |
8 | * | |
9 | * http://www.opensource.org/licenses/gpl-license.html | |
10 | * http://www.gnu.org/copyleft/gpl.html | |
11 | */ | |
12 | ||
13 | /dts-v1/; | |
36dffd8f | 14 | #include "imx53.dtsi" |
73d2b4cd SG |
15 | |
16 | / { | |
17 | model = "Freescale i.MX53 Quick Start Board"; | |
18 | compatible = "fsl,imx53-qsb", "fsl,imx53"; | |
19 | ||
73d2b4cd SG |
20 | memory { |
21 | reg = <0x70000000 0x40000000>; | |
22 | }; | |
23 | ||
c268947a RP |
24 | display@di0 { |
25 | compatible = "fsl,imx-parallel-display"; | |
26 | crtcs = <&ipu 0>; | |
27 | interface-pix-fmt = "rgb565"; | |
28 | pinctrl-names = "default"; | |
29 | pinctrl-0 = <&pinctrl_ipu_disp0_1>; | |
30 | status = "disabled"; | |
31 | display-timings { | |
32 | claawvga { | |
33 | native-mode; | |
34 | clock-frequency = <27000000>; | |
35 | hactive = <800>; | |
36 | vactive = <480>; | |
37 | hback-porch = <40>; | |
38 | hfront-porch = <60>; | |
39 | vback-porch = <10>; | |
40 | vfront-porch = <10>; | |
41 | hsync-len = <20>; | |
42 | vsync-len = <10>; | |
43 | hsync-active = <0>; | |
44 | vsync-active = <0>; | |
45 | de-active = <1>; | |
46 | pixelclk-active = <0>; | |
47 | }; | |
48 | }; | |
49 | }; | |
50 | ||
73d2b4cd SG |
51 | gpio-keys { |
52 | compatible = "gpio-keys"; | |
53 | ||
54 | power { | |
55 | label = "Power Button"; | |
4d191868 | 56 | gpios = <&gpio1 8 0>; |
73d2b4cd SG |
57 | linux,code = <116>; /* KEY_POWER */ |
58 | gpio-key,wakeup; | |
59 | }; | |
60 | ||
61 | volume-up { | |
62 | label = "Volume Up"; | |
4d191868 | 63 | gpios = <&gpio2 14 0>; |
73d2b4cd SG |
64 | linux,code = <115>; /* KEY_VOLUMEUP */ |
65 | }; | |
66 | ||
67 | volume-down { | |
68 | label = "Volume Down"; | |
4d191868 | 69 | gpios = <&gpio2 15 0>; |
73d2b4cd SG |
70 | linux,code = <114>; /* KEY_VOLUMEDOWN */ |
71 | }; | |
72 | }; | |
73 | ||
74 | leds { | |
75 | compatible = "gpio-leds"; | |
e9dc615c FE |
76 | pinctrl-names = "default"; |
77 | pinctrl-0 = <&led_pin_gpio7_7>; | |
73d2b4cd SG |
78 | |
79 | user { | |
80 | label = "Heartbeat"; | |
4d191868 | 81 | gpios = <&gpio7 7 0>; |
73d2b4cd SG |
82 | linux,default-trigger = "heartbeat"; |
83 | }; | |
84 | }; | |
ffc505c0 SG |
85 | |
86 | regulators { | |
87 | compatible = "simple-bus"; | |
88 | ||
89 | reg_3p2v: 3p2v { | |
90 | compatible = "regulator-fixed"; | |
91 | regulator-name = "3P2V"; | |
92 | regulator-min-microvolt = <3200000>; | |
93 | regulator-max-microvolt = <3200000>; | |
94 | regulator-always-on; | |
95 | }; | |
c574fa93 FE |
96 | |
97 | reg_usb_vbus: usb_vbus { | |
98 | compatible = "regulator-fixed"; | |
99 | regulator-name = "usb_vbus"; | |
100 | regulator-min-microvolt = <5000000>; | |
101 | regulator-max-microvolt = <5000000>; | |
102 | gpio = <&gpio7 8 0>; | |
103 | enable-active-high; | |
104 | }; | |
ffc505c0 SG |
105 | }; |
106 | ||
107 | sound { | |
108 | compatible = "fsl,imx53-qsb-sgtl5000", | |
109 | "fsl,imx-audio-sgtl5000"; | |
110 | model = "imx53-qsb-sgtl5000"; | |
111 | ssi-controller = <&ssi2>; | |
112 | audio-codec = <&sgtl5000>; | |
113 | audio-routing = | |
114 | "MIC_IN", "Mic Jack", | |
115 | "Mic Jack", "Mic Bias", | |
116 | "Headphone Jack", "HP_OUT"; | |
117 | mux-int-port = <2>; | |
118 | mux-ext-port = <5>; | |
119 | }; | |
73d2b4cd | 120 | }; |
be4ccfce SG |
121 | |
122 | &esdhc1 { | |
123 | pinctrl-names = "default"; | |
124 | pinctrl-0 = <&pinctrl_esdhc1_1>; | |
125 | cd-gpios = <&gpio3 13 0>; | |
126 | status = "okay"; | |
127 | }; | |
128 | ||
129 | &ssi2 { | |
130 | fsl,mode = "i2s-slave"; | |
131 | status = "okay"; | |
132 | }; | |
133 | ||
134 | &esdhc3 { | |
135 | pinctrl-names = "default"; | |
136 | pinctrl-0 = <&pinctrl_esdhc3_1>; | |
137 | cd-gpios = <&gpio3 11 0>; | |
138 | wp-gpios = <&gpio3 12 0>; | |
139 | status = "okay"; | |
140 | }; | |
141 | ||
142 | &iomuxc { | |
143 | pinctrl-names = "default"; | |
144 | pinctrl-0 = <&pinctrl_hog>; | |
145 | ||
146 | hog { | |
147 | pinctrl_hog: hoggrp { | |
148 | fsl,pins = < | |
e1641531 SG |
149 | MX53_PAD_GPIO_0__CCM_SSI_EXT1_CLK 0x80000000 |
150 | MX53_PAD_GPIO_8__GPIO1_8 0x80000000 | |
151 | MX53_PAD_PATA_DATA14__GPIO2_14 0x80000000 | |
152 | MX53_PAD_PATA_DATA15__GPIO2_15 0x80000000 | |
153 | MX53_PAD_EIM_DA11__GPIO3_11 0x80000000 | |
154 | MX53_PAD_EIM_DA12__GPIO3_12 0x80000000 | |
155 | MX53_PAD_EIM_DA13__GPIO3_13 0x80000000 | |
156 | MX53_PAD_PATA_DA_0__GPIO7_6 0x80000000 | |
c574fa93 | 157 | MX53_PAD_PATA_DA_2__GPIO7_8 0x80000000 |
e1641531 | 158 | MX53_PAD_GPIO_16__GPIO7_11 0x80000000 |
be4ccfce SG |
159 | >; |
160 | }; | |
161 | ||
162 | led_pin_gpio7_7: led_gpio7_7@0 { | |
163 | fsl,pins = < | |
e1641531 | 164 | MX53_PAD_PATA_DA_1__GPIO7_7 0x80000000 |
be4ccfce SG |
165 | >; |
166 | }; | |
167 | }; | |
168 | ||
169 | }; | |
170 | ||
171 | &uart1 { | |
172 | pinctrl-names = "default"; | |
173 | pinctrl-0 = <&pinctrl_uart1_1>; | |
174 | status = "okay"; | |
175 | }; | |
176 | ||
177 | &i2c2 { | |
178 | pinctrl-names = "default"; | |
179 | pinctrl-0 = <&pinctrl_i2c2_1>; | |
180 | status = "okay"; | |
181 | ||
182 | sgtl5000: codec@0a { | |
183 | compatible = "fsl,sgtl5000"; | |
184 | reg = <0x0a>; | |
185 | VDDA-supply = <®_3p2v>; | |
186 | VDDIO-supply = <®_3p2v>; | |
59d5c0ce | 187 | clocks = <&clks 150>; |
be4ccfce SG |
188 | }; |
189 | }; | |
190 | ||
191 | &i2c1 { | |
192 | pinctrl-names = "default"; | |
193 | pinctrl-0 = <&pinctrl_i2c1_1>; | |
194 | status = "okay"; | |
195 | ||
196 | accelerometer: mma8450@1c { | |
197 | compatible = "fsl,mma8450"; | |
198 | reg = <0x1c>; | |
199 | }; | |
200 | ||
201 | pmic: dialog@48 { | |
202 | compatible = "dlg,da9053-aa", "dlg,da9052"; | |
203 | reg = <0x48>; | |
204 | interrupt-parent = <&gpio7>; | |
205 | interrupts = <11 0x8>; /* low-level active IRQ at GPIO7_11 */ | |
206 | ||
207 | regulators { | |
208 | buck1_reg: buck1 { | |
209 | regulator-min-microvolt = <500000>; | |
210 | regulator-max-microvolt = <2075000>; | |
211 | regulator-always-on; | |
212 | }; | |
213 | ||
214 | buck2_reg: buck2 { | |
215 | regulator-min-microvolt = <500000>; | |
216 | regulator-max-microvolt = <2075000>; | |
217 | regulator-always-on; | |
218 | }; | |
219 | ||
220 | buck3_reg: buck3 { | |
221 | regulator-min-microvolt = <925000>; | |
222 | regulator-max-microvolt = <2500000>; | |
223 | regulator-always-on; | |
224 | }; | |
225 | ||
226 | buck4_reg: buck4 { | |
227 | regulator-min-microvolt = <925000>; | |
228 | regulator-max-microvolt = <2500000>; | |
229 | regulator-always-on; | |
230 | }; | |
231 | ||
232 | ldo1_reg: ldo1 { | |
233 | regulator-min-microvolt = <600000>; | |
234 | regulator-max-microvolt = <1800000>; | |
235 | regulator-boot-on; | |
236 | regulator-always-on; | |
237 | }; | |
238 | ||
239 | ldo2_reg: ldo2 { | |
240 | regulator-min-microvolt = <600000>; | |
241 | regulator-max-microvolt = <1800000>; | |
242 | regulator-always-on; | |
243 | }; | |
244 | ||
245 | ldo3_reg: ldo3 { | |
246 | regulator-min-microvolt = <600000>; | |
247 | regulator-max-microvolt = <1800000>; | |
248 | regulator-always-on; | |
249 | }; | |
250 | ||
251 | ldo4_reg: ldo4 { | |
252 | regulator-min-microvolt = <1725000>; | |
253 | regulator-max-microvolt = <3300000>; | |
254 | regulator-always-on; | |
255 | }; | |
256 | ||
257 | ldo5_reg: ldo5 { | |
258 | regulator-min-microvolt = <1725000>; | |
259 | regulator-max-microvolt = <3300000>; | |
260 | regulator-always-on; | |
261 | }; | |
262 | ||
263 | ldo6_reg: ldo6 { | |
264 | regulator-min-microvolt = <1200000>; | |
265 | regulator-max-microvolt = <3600000>; | |
266 | regulator-always-on; | |
267 | }; | |
268 | ||
269 | ldo7_reg: ldo7 { | |
270 | regulator-min-microvolt = <1200000>; | |
271 | regulator-max-microvolt = <3600000>; | |
272 | regulator-always-on; | |
273 | }; | |
274 | ||
275 | ldo8_reg: ldo8 { | |
276 | regulator-min-microvolt = <1200000>; | |
277 | regulator-max-microvolt = <3600000>; | |
278 | regulator-always-on; | |
279 | }; | |
280 | ||
281 | ldo9_reg: ldo9 { | |
282 | regulator-min-microvolt = <1200000>; | |
283 | regulator-max-microvolt = <3600000>; | |
284 | regulator-always-on; | |
285 | }; | |
286 | ||
287 | ldo10_reg: ldo10 { | |
288 | regulator-min-microvolt = <1250000>; | |
289 | regulator-max-microvolt = <3650000>; | |
290 | regulator-always-on; | |
291 | }; | |
292 | }; | |
293 | }; | |
294 | }; | |
295 | ||
296 | &audmux { | |
297 | pinctrl-names = "default"; | |
298 | pinctrl-0 = <&pinctrl_audmux_1>; | |
299 | status = "okay"; | |
300 | }; | |
301 | ||
302 | &fec { | |
303 | pinctrl-names = "default"; | |
304 | pinctrl-0 = <&pinctrl_fec_1>; | |
305 | phy-mode = "rmii"; | |
306 | phy-reset-gpios = <&gpio7 6 0>; | |
307 | status = "okay"; | |
308 | }; | |
502d26a2 | 309 | |
fbf970f6 FE |
310 | &vpu { |
311 | status = "okay"; | |
312 | }; | |
313 | ||
502d26a2 | 314 | &usbh1 { |
c574fa93 FE |
315 | vbus-supply = <®_usb_vbus>; |
316 | phy_type = "utmi"; | |
317 | status = "okay"; | |
502d26a2 MG |
318 | }; |
319 | ||
320 | &usbotg { | |
d39a5834 FE |
321 | dr_mode = "peripheral"; |
322 | status = "okay"; | |
502d26a2 | 323 | }; |