blob: 91a5935a4aacd63879f2f2104f546d6f41bb7e60 [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 */
Shawn Guo73d2b4c2011-10-17 08:42:16 +080058 };
59
60 volume-up {
61 label = "Volume Up";
Richard Zhao4d191862011-12-14 09:26:44 +080062 gpios = <&gpio2 14 0>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +080063 linux,code = <115>; /* KEY_VOLUMEUP */
Fabio Estevamecccab32013-10-04 13:15:28 -030064 gpio-key,wakeup;
Shawn Guo73d2b4c2011-10-17 08:42:16 +080065 };
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 */
Fabio Estevamecccab32013-10-04 13:15:28 -030071 gpio-key,wakeup;
Shawn Guo73d2b4c2011-10-17 08:42:16 +080072 };
73 };
74
75 leds {
76 compatible = "gpio-leds";
Fabio Estevame9dc6152012-09-26 20:27:35 -030077 pinctrl-names = "default";
78 pinctrl-0 = <&led_pin_gpio7_7>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +080079
80 user {
81 label = "Heartbeat";
Richard Zhao4d191862011-12-14 09:26:44 +080082 gpios = <&gpio7 7 0>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +080083 linux,default-trigger = "heartbeat";
84 };
85 };
Shawn Guoffc505c2012-05-11 13:12:01 +080086
87 regulators {
88 compatible = "simple-bus";
89
90 reg_3p2v: 3p2v {
91 compatible = "regulator-fixed";
92 regulator-name = "3P2V";
93 regulator-min-microvolt = <3200000>;
94 regulator-max-microvolt = <3200000>;
95 regulator-always-on;
96 };
Fabio Estevamc574fa92013-07-25 18:18:33 -030097
98 reg_usb_vbus: usb_vbus {
99 compatible = "regulator-fixed";
100 regulator-name = "usb_vbus";
101 regulator-min-microvolt = <5000000>;
102 regulator-max-microvolt = <5000000>;
103 gpio = <&gpio7 8 0>;
104 enable-active-high;
105 };
Shawn Guoffc505c2012-05-11 13:12:01 +0800106 };
107
108 sound {
109 compatible = "fsl,imx53-qsb-sgtl5000",
110 "fsl,imx-audio-sgtl5000";
111 model = "imx53-qsb-sgtl5000";
112 ssi-controller = <&ssi2>;
113 audio-codec = <&sgtl5000>;
114 audio-routing =
115 "MIC_IN", "Mic Jack",
116 "Mic Jack", "Mic Bias",
117 "Headphone Jack", "HP_OUT";
118 mux-int-port = <2>;
119 mux-ext-port = <5>;
120 };
Shawn Guo73d2b4c2011-10-17 08:42:16 +0800121};
Shawn Guobe4ccfc2012-12-31 11:32:48 +0800122
123&esdhc1 {
124 pinctrl-names = "default";
125 pinctrl-0 = <&pinctrl_esdhc1_1>;
Shawn Guobe4ccfc2012-12-31 11:32:48 +0800126 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
Shawn Guoe1641532013-02-20 10:32:52 +0800156 MX53_PAD_PATA_DA_0__GPIO7_6 0x80000000
Fabio Estevamc574fa92013-07-25 18:18:33 -0300157 MX53_PAD_PATA_DA_2__GPIO7_8 0x80000000
Shawn Guoe1641532013-02-20 10:32:52 +0800158 MX53_PAD_GPIO_16__GPIO7_11 0x80000000
Shawn Guobe4ccfc2012-12-31 11:32:48 +0800159 >;
160 };
161
162 led_pin_gpio7_7: led_gpio7_7@0 {
163 fsl,pins = <
Shawn Guoe1641532013-02-20 10:32:52 +0800164 MX53_PAD_PATA_DA_1__GPIO7_7 0x80000000
Shawn Guobe4ccfc2012-12-31 11:32:48 +0800165 >;
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 = <&reg_3p2v>;
186 VDDIO-supply = <&reg_3p2v>;
Shawn Guo59d5c0c2013-04-22 12:48:42 +0800187 clocks = <&clks 150>;
Shawn Guobe4ccfc2012-12-31 11:32:48 +0800188 };
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};
Michael Grzeschik502d26a22013-04-11 12:13:17 +0200309
Fabio Estevamfbf970f2013-06-28 19:49:18 -0300310&vpu {
311 status = "okay";
312};
313
Michael Grzeschik502d26a22013-04-11 12:13:17 +0200314&usbh1 {
Fabio Estevamc574fa92013-07-25 18:18:33 -0300315 vbus-supply = <&reg_usb_vbus>;
316 phy_type = "utmi";
317 status = "okay";
Michael Grzeschik502d26a22013-04-11 12:13:17 +0200318};
319
320&usbotg {
Fabio Estevamd39a5832013-08-21 10:27:04 -0300321 dr_mode = "peripheral";
322 status = "okay";
Michael Grzeschik502d26a22013-04-11 12:13:17 +0200323};