blob: 512a1f60825345b41241da26bb9ca68f5bf8854d [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 };
96 };
97
98 sound {
99 compatible = "fsl,imx53-qsb-sgtl5000",
100 "fsl,imx-audio-sgtl5000";
101 model = "imx53-qsb-sgtl5000";
102 ssi-controller = <&ssi2>;
103 audio-codec = <&sgtl5000>;
104 audio-routing =
105 "MIC_IN", "Mic Jack",
106 "Mic Jack", "Mic Bias",
107 "Headphone Jack", "HP_OUT";
108 mux-int-port = <2>;
109 mux-ext-port = <5>;
110 };
Shawn Guo73d2b4c2011-10-17 08:42:16 +0800111};
Shawn Guobe4ccfc2012-12-31 11:32:48 +0800112
113&esdhc1 {
114 pinctrl-names = "default";
115 pinctrl-0 = <&pinctrl_esdhc1_1>;
116 cd-gpios = <&gpio3 13 0>;
117 status = "okay";
118};
119
120&ssi2 {
121 fsl,mode = "i2s-slave";
122 status = "okay";
123};
124
125&esdhc3 {
126 pinctrl-names = "default";
127 pinctrl-0 = <&pinctrl_esdhc3_1>;
128 cd-gpios = <&gpio3 11 0>;
129 wp-gpios = <&gpio3 12 0>;
130 status = "okay";
131};
132
133&iomuxc {
134 pinctrl-names = "default";
135 pinctrl-0 = <&pinctrl_hog>;
136
137 hog {
138 pinctrl_hog: hoggrp {
139 fsl,pins = <
Shawn Guoe1641532013-02-20 10:32:52 +0800140 MX53_PAD_GPIO_0__CCM_SSI_EXT1_CLK 0x80000000
141 MX53_PAD_GPIO_8__GPIO1_8 0x80000000
142 MX53_PAD_PATA_DATA14__GPIO2_14 0x80000000
143 MX53_PAD_PATA_DATA15__GPIO2_15 0x80000000
144 MX53_PAD_EIM_DA11__GPIO3_11 0x80000000
145 MX53_PAD_EIM_DA12__GPIO3_12 0x80000000
146 MX53_PAD_EIM_DA13__GPIO3_13 0x80000000
147 MX53_PAD_PATA_DA_0__GPIO7_6 0x80000000
148 MX53_PAD_GPIO_16__GPIO7_11 0x80000000
Shawn Guobe4ccfc2012-12-31 11:32:48 +0800149 >;
150 };
151
152 led_pin_gpio7_7: led_gpio7_7@0 {
153 fsl,pins = <
Shawn Guoe1641532013-02-20 10:32:52 +0800154 MX53_PAD_PATA_DA_1__GPIO7_7 0x80000000
Shawn Guobe4ccfc2012-12-31 11:32:48 +0800155 >;
156 };
157 };
158
159};
160
161&uart1 {
162 pinctrl-names = "default";
163 pinctrl-0 = <&pinctrl_uart1_1>;
164 status = "okay";
165};
166
167&i2c2 {
168 pinctrl-names = "default";
169 pinctrl-0 = <&pinctrl_i2c2_1>;
170 status = "okay";
171
172 sgtl5000: codec@0a {
173 compatible = "fsl,sgtl5000";
174 reg = <0x0a>;
175 VDDA-supply = <&reg_3p2v>;
176 VDDIO-supply = <&reg_3p2v>;
Shawn Guo59d5c0c2013-04-22 12:48:42 +0800177 clocks = <&clks 150>;
Shawn Guobe4ccfc2012-12-31 11:32:48 +0800178 };
179};
180
181&i2c1 {
182 pinctrl-names = "default";
183 pinctrl-0 = <&pinctrl_i2c1_1>;
184 status = "okay";
185
186 accelerometer: mma8450@1c {
187 compatible = "fsl,mma8450";
188 reg = <0x1c>;
189 };
190
191 pmic: dialog@48 {
192 compatible = "dlg,da9053-aa", "dlg,da9052";
193 reg = <0x48>;
194 interrupt-parent = <&gpio7>;
195 interrupts = <11 0x8>; /* low-level active IRQ at GPIO7_11 */
196
197 regulators {
198 buck1_reg: buck1 {
199 regulator-min-microvolt = <500000>;
200 regulator-max-microvolt = <2075000>;
201 regulator-always-on;
202 };
203
204 buck2_reg: buck2 {
205 regulator-min-microvolt = <500000>;
206 regulator-max-microvolt = <2075000>;
207 regulator-always-on;
208 };
209
210 buck3_reg: buck3 {
211 regulator-min-microvolt = <925000>;
212 regulator-max-microvolt = <2500000>;
213 regulator-always-on;
214 };
215
216 buck4_reg: buck4 {
217 regulator-min-microvolt = <925000>;
218 regulator-max-microvolt = <2500000>;
219 regulator-always-on;
220 };
221
222 ldo1_reg: ldo1 {
223 regulator-min-microvolt = <600000>;
224 regulator-max-microvolt = <1800000>;
225 regulator-boot-on;
226 regulator-always-on;
227 };
228
229 ldo2_reg: ldo2 {
230 regulator-min-microvolt = <600000>;
231 regulator-max-microvolt = <1800000>;
232 regulator-always-on;
233 };
234
235 ldo3_reg: ldo3 {
236 regulator-min-microvolt = <600000>;
237 regulator-max-microvolt = <1800000>;
238 regulator-always-on;
239 };
240
241 ldo4_reg: ldo4 {
242 regulator-min-microvolt = <1725000>;
243 regulator-max-microvolt = <3300000>;
244 regulator-always-on;
245 };
246
247 ldo5_reg: ldo5 {
248 regulator-min-microvolt = <1725000>;
249 regulator-max-microvolt = <3300000>;
250 regulator-always-on;
251 };
252
253 ldo6_reg: ldo6 {
254 regulator-min-microvolt = <1200000>;
255 regulator-max-microvolt = <3600000>;
256 regulator-always-on;
257 };
258
259 ldo7_reg: ldo7 {
260 regulator-min-microvolt = <1200000>;
261 regulator-max-microvolt = <3600000>;
262 regulator-always-on;
263 };
264
265 ldo8_reg: ldo8 {
266 regulator-min-microvolt = <1200000>;
267 regulator-max-microvolt = <3600000>;
268 regulator-always-on;
269 };
270
271 ldo9_reg: ldo9 {
272 regulator-min-microvolt = <1200000>;
273 regulator-max-microvolt = <3600000>;
274 regulator-always-on;
275 };
276
277 ldo10_reg: ldo10 {
278 regulator-min-microvolt = <1250000>;
279 regulator-max-microvolt = <3650000>;
280 regulator-always-on;
281 };
282 };
283 };
284};
285
286&audmux {
287 pinctrl-names = "default";
288 pinctrl-0 = <&pinctrl_audmux_1>;
289 status = "okay";
290};
291
292&fec {
293 pinctrl-names = "default";
294 pinctrl-0 = <&pinctrl_fec_1>;
295 phy-mode = "rmii";
296 phy-reset-gpios = <&gpio7 6 0>;
297 status = "okay";
298};
Michael Grzeschik502d26a22013-04-11 12:13:17 +0200299
300&usbh1 {
301 status = "okay";
302};
303
304&usbotg {
305 status = "okay";
306};