blob: b646ef1617d51488644f60baac549876dca37631 [file] [log] [blame]
Shawn Guo73d2b4c2011-10-17 08:42:16 +08001/*
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/;
Shawn Guo36dffd82013-04-07 10:49:34 +080014#include "imx53.dtsi"
Shawn Guo73d2b4c2011-10-17 08:42:16 +080015
16/ {
17 model = "Freescale i.MX53 Quick Start Board";
18 compatible = "fsl,imx53-qsb", "fsl,imx53";
19
Shawn Guo73d2b4c2011-10-17 08:42:16 +080020 memory {
21 reg = <0x70000000 0x40000000>;
22 };
23
Rogerio Pimentelc2689472013-05-24 11:09:30 -030024 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
Shawn Guo73d2b4c2011-10-17 08:42:16 +080051 gpio-keys {
52 compatible = "gpio-keys";
53
54 power {
55 label = "Power Button";
Richard Zhao4d191862011-12-14 09:26:44 +080056 gpios = <&gpio1 8 0>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +080057 linux,code = <116>; /* KEY_POWER */
58 gpio-key,wakeup;
59 };
60
61 volume-up {
62 label = "Volume Up";
Richard Zhao4d191862011-12-14 09:26:44 +080063 gpios = <&gpio2 14 0>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +080064 linux,code = <115>; /* KEY_VOLUMEUP */
65 };
66
67 volume-down {
68 label = "Volume Down";
Richard Zhao4d191862011-12-14 09:26:44 +080069 gpios = <&gpio2 15 0>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +080070 linux,code = <114>; /* KEY_VOLUMEDOWN */
71 };
72 };
73
74 leds {
75 compatible = "gpio-leds";
Fabio Estevame9dc6152012-09-26 20:27:35 -030076 pinctrl-names = "default";
77 pinctrl-0 = <&led_pin_gpio7_7>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +080078
79 user {
80 label = "Heartbeat";
Richard Zhao4d191862011-12-14 09:26:44 +080081 gpios = <&gpio7 7 0>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +080082 linux,default-trigger = "heartbeat";
83 };
84 };
Shawn Guoffc505c2012-05-11 13:12:01 +080085
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 };
Fabio Estevamc574fa92013-07-25 18:18:33 -030096
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 };
Shawn Guoffc505c2012-05-11 13:12:01 +0800105 };
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 };
Shawn Guo73d2b4c2011-10-17 08:42:16 +0800120};
Shawn Guobe4ccfc2012-12-31 11:32:48 +0800121
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>;
Fabio Estevam8d4a54a2013-10-04 13:15:26 -0300139 bus-width = <8>;
Shawn Guobe4ccfc2012-12-31 11:32:48 +0800140 status = "okay";
141};
142
143&iomuxc {
144 pinctrl-names = "default";
145 pinctrl-0 = <&pinctrl_hog>;
146
147 hog {
148 pinctrl_hog: hoggrp {
149 fsl,pins = <
Shawn Guoe1641532013-02-20 10:32:52 +0800150 MX53_PAD_GPIO_0__CCM_SSI_EXT1_CLK 0x80000000
151 MX53_PAD_GPIO_8__GPIO1_8 0x80000000
152 MX53_PAD_PATA_DATA14__GPIO2_14 0x80000000
153 MX53_PAD_PATA_DATA15__GPIO2_15 0x80000000
154 MX53_PAD_EIM_DA11__GPIO3_11 0x80000000
155 MX53_PAD_EIM_DA12__GPIO3_12 0x80000000
156 MX53_PAD_EIM_DA13__GPIO3_13 0x80000000
157 MX53_PAD_PATA_DA_0__GPIO7_6 0x80000000
Fabio Estevamc574fa92013-07-25 18:18:33 -0300158 MX53_PAD_PATA_DA_2__GPIO7_8 0x80000000
Shawn Guoe1641532013-02-20 10:32:52 +0800159 MX53_PAD_GPIO_16__GPIO7_11 0x80000000
Shawn Guobe4ccfc2012-12-31 11:32:48 +0800160 >;
161 };
162
163 led_pin_gpio7_7: led_gpio7_7@0 {
164 fsl,pins = <
Shawn Guoe1641532013-02-20 10:32:52 +0800165 MX53_PAD_PATA_DA_1__GPIO7_7 0x80000000
Shawn Guobe4ccfc2012-12-31 11:32:48 +0800166 >;
167 };
168 };
169
170};
171
172&uart1 {
173 pinctrl-names = "default";
174 pinctrl-0 = <&pinctrl_uart1_1>;
175 status = "okay";
176};
177
178&i2c2 {
179 pinctrl-names = "default";
180 pinctrl-0 = <&pinctrl_i2c2_1>;
181 status = "okay";
182
183 sgtl5000: codec@0a {
184 compatible = "fsl,sgtl5000";
185 reg = <0x0a>;
186 VDDA-supply = <&reg_3p2v>;
187 VDDIO-supply = <&reg_3p2v>;
Shawn Guo59d5c0c2013-04-22 12:48:42 +0800188 clocks = <&clks 150>;
Shawn Guobe4ccfc2012-12-31 11:32:48 +0800189 };
190};
191
192&i2c1 {
193 pinctrl-names = "default";
194 pinctrl-0 = <&pinctrl_i2c1_1>;
195 status = "okay";
196
197 accelerometer: mma8450@1c {
198 compatible = "fsl,mma8450";
199 reg = <0x1c>;
200 };
201
202 pmic: dialog@48 {
203 compatible = "dlg,da9053-aa", "dlg,da9052";
204 reg = <0x48>;
205 interrupt-parent = <&gpio7>;
206 interrupts = <11 0x8>; /* low-level active IRQ at GPIO7_11 */
207
208 regulators {
209 buck1_reg: buck1 {
210 regulator-min-microvolt = <500000>;
211 regulator-max-microvolt = <2075000>;
212 regulator-always-on;
213 };
214
215 buck2_reg: buck2 {
216 regulator-min-microvolt = <500000>;
217 regulator-max-microvolt = <2075000>;
218 regulator-always-on;
219 };
220
221 buck3_reg: buck3 {
222 regulator-min-microvolt = <925000>;
223 regulator-max-microvolt = <2500000>;
224 regulator-always-on;
225 };
226
227 buck4_reg: buck4 {
228 regulator-min-microvolt = <925000>;
229 regulator-max-microvolt = <2500000>;
230 regulator-always-on;
231 };
232
233 ldo1_reg: ldo1 {
234 regulator-min-microvolt = <600000>;
235 regulator-max-microvolt = <1800000>;
236 regulator-boot-on;
237 regulator-always-on;
238 };
239
240 ldo2_reg: ldo2 {
241 regulator-min-microvolt = <600000>;
242 regulator-max-microvolt = <1800000>;
243 regulator-always-on;
244 };
245
246 ldo3_reg: ldo3 {
247 regulator-min-microvolt = <600000>;
248 regulator-max-microvolt = <1800000>;
249 regulator-always-on;
250 };
251
252 ldo4_reg: ldo4 {
253 regulator-min-microvolt = <1725000>;
254 regulator-max-microvolt = <3300000>;
255 regulator-always-on;
256 };
257
258 ldo5_reg: ldo5 {
259 regulator-min-microvolt = <1725000>;
260 regulator-max-microvolt = <3300000>;
261 regulator-always-on;
262 };
263
264 ldo6_reg: ldo6 {
265 regulator-min-microvolt = <1200000>;
266 regulator-max-microvolt = <3600000>;
267 regulator-always-on;
268 };
269
270 ldo7_reg: ldo7 {
271 regulator-min-microvolt = <1200000>;
272 regulator-max-microvolt = <3600000>;
273 regulator-always-on;
274 };
275
276 ldo8_reg: ldo8 {
277 regulator-min-microvolt = <1200000>;
278 regulator-max-microvolt = <3600000>;
279 regulator-always-on;
280 };
281
282 ldo9_reg: ldo9 {
283 regulator-min-microvolt = <1200000>;
284 regulator-max-microvolt = <3600000>;
285 regulator-always-on;
286 };
287
288 ldo10_reg: ldo10 {
289 regulator-min-microvolt = <1250000>;
290 regulator-max-microvolt = <3650000>;
291 regulator-always-on;
292 };
293 };
294 };
295};
296
297&audmux {
298 pinctrl-names = "default";
299 pinctrl-0 = <&pinctrl_audmux_1>;
300 status = "okay";
301};
302
303&fec {
304 pinctrl-names = "default";
305 pinctrl-0 = <&pinctrl_fec_1>;
306 phy-mode = "rmii";
307 phy-reset-gpios = <&gpio7 6 0>;
308 status = "okay";
309};
Michael Grzeschik502d26a22013-04-11 12:13:17 +0200310
Fabio Estevamfbf970f2013-06-28 19:49:18 -0300311&vpu {
312 status = "okay";
313};
314
Michael Grzeschik502d26a22013-04-11 12:13:17 +0200315&usbh1 {
Fabio Estevamc574fa92013-07-25 18:18:33 -0300316 vbus-supply = <&reg_usb_vbus>;
317 phy_type = "utmi";
318 status = "okay";
Michael Grzeschik502d26a22013-04-11 12:13:17 +0200319};
320
321&usbotg {
Fabio Estevamd39a5832013-08-21 10:27:04 -0300322 dr_mode = "peripheral";
323 status = "okay";
Michael Grzeschik502d26a22013-04-11 12:13:17 +0200324};