blob: a885d374d448288dd5f1d981c7dd6a255744260b [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
Shawn Guo73d2b4c2011-10-17 08:42:16 +080024 gpio-keys {
25 compatible = "gpio-keys";
26
27 power {
28 label = "Power Button";
Richard Zhao4d191862011-12-14 09:26:44 +080029 gpios = <&gpio1 8 0>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +080030 linux,code = <116>; /* KEY_POWER */
31 gpio-key,wakeup;
32 };
33
34 volume-up {
35 label = "Volume Up";
Richard Zhao4d191862011-12-14 09:26:44 +080036 gpios = <&gpio2 14 0>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +080037 linux,code = <115>; /* KEY_VOLUMEUP */
38 };
39
40 volume-down {
41 label = "Volume Down";
Richard Zhao4d191862011-12-14 09:26:44 +080042 gpios = <&gpio2 15 0>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +080043 linux,code = <114>; /* KEY_VOLUMEDOWN */
44 };
45 };
46
47 leds {
48 compatible = "gpio-leds";
Fabio Estevame9dc6152012-09-26 20:27:35 -030049 pinctrl-names = "default";
50 pinctrl-0 = <&led_pin_gpio7_7>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +080051
52 user {
53 label = "Heartbeat";
Richard Zhao4d191862011-12-14 09:26:44 +080054 gpios = <&gpio7 7 0>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +080055 linux,default-trigger = "heartbeat";
56 };
57 };
Shawn Guoffc505c2012-05-11 13:12:01 +080058
59 regulators {
60 compatible = "simple-bus";
61
62 reg_3p2v: 3p2v {
63 compatible = "regulator-fixed";
64 regulator-name = "3P2V";
65 regulator-min-microvolt = <3200000>;
66 regulator-max-microvolt = <3200000>;
67 regulator-always-on;
68 };
69 };
70
71 sound {
72 compatible = "fsl,imx53-qsb-sgtl5000",
73 "fsl,imx-audio-sgtl5000";
74 model = "imx53-qsb-sgtl5000";
75 ssi-controller = <&ssi2>;
76 audio-codec = <&sgtl5000>;
77 audio-routing =
78 "MIC_IN", "Mic Jack",
79 "Mic Jack", "Mic Bias",
80 "Headphone Jack", "HP_OUT";
81 mux-int-port = <2>;
82 mux-ext-port = <5>;
83 };
Shawn Guo73d2b4c2011-10-17 08:42:16 +080084};
Shawn Guobe4ccfc2012-12-31 11:32:48 +080085
86&esdhc1 {
87 pinctrl-names = "default";
88 pinctrl-0 = <&pinctrl_esdhc1_1>;
89 cd-gpios = <&gpio3 13 0>;
90 status = "okay";
91};
92
93&ssi2 {
94 fsl,mode = "i2s-slave";
95 status = "okay";
96};
97
98&esdhc3 {
99 pinctrl-names = "default";
100 pinctrl-0 = <&pinctrl_esdhc3_1>;
101 cd-gpios = <&gpio3 11 0>;
102 wp-gpios = <&gpio3 12 0>;
103 status = "okay";
104};
105
106&iomuxc {
107 pinctrl-names = "default";
108 pinctrl-0 = <&pinctrl_hog>;
109
110 hog {
111 pinctrl_hog: hoggrp {
112 fsl,pins = <
Shawn Guoe1641532013-02-20 10:32:52 +0800113 MX53_PAD_GPIO_0__CCM_SSI_EXT1_CLK 0x80000000
114 MX53_PAD_GPIO_8__GPIO1_8 0x80000000
115 MX53_PAD_PATA_DATA14__GPIO2_14 0x80000000
116 MX53_PAD_PATA_DATA15__GPIO2_15 0x80000000
117 MX53_PAD_EIM_DA11__GPIO3_11 0x80000000
118 MX53_PAD_EIM_DA12__GPIO3_12 0x80000000
119 MX53_PAD_EIM_DA13__GPIO3_13 0x80000000
120 MX53_PAD_PATA_DA_0__GPIO7_6 0x80000000
121 MX53_PAD_GPIO_16__GPIO7_11 0x80000000
Shawn Guobe4ccfc2012-12-31 11:32:48 +0800122 >;
123 };
124
125 led_pin_gpio7_7: led_gpio7_7@0 {
126 fsl,pins = <
Shawn Guoe1641532013-02-20 10:32:52 +0800127 MX53_PAD_PATA_DA_1__GPIO7_7 0x80000000
Shawn Guobe4ccfc2012-12-31 11:32:48 +0800128 >;
129 };
130 };
131
132};
133
134&uart1 {
135 pinctrl-names = "default";
136 pinctrl-0 = <&pinctrl_uart1_1>;
137 status = "okay";
138};
139
140&i2c2 {
141 pinctrl-names = "default";
142 pinctrl-0 = <&pinctrl_i2c2_1>;
143 status = "okay";
144
145 sgtl5000: codec@0a {
146 compatible = "fsl,sgtl5000";
147 reg = <0x0a>;
148 VDDA-supply = <&reg_3p2v>;
149 VDDIO-supply = <&reg_3p2v>;
Shawn Guo59d5c0c2013-04-22 12:48:42 +0800150 clocks = <&clks 150>;
Shawn Guobe4ccfc2012-12-31 11:32:48 +0800151 };
152};
153
154&i2c1 {
155 pinctrl-names = "default";
156 pinctrl-0 = <&pinctrl_i2c1_1>;
157 status = "okay";
158
159 accelerometer: mma8450@1c {
160 compatible = "fsl,mma8450";
161 reg = <0x1c>;
162 };
163
164 pmic: dialog@48 {
165 compatible = "dlg,da9053-aa", "dlg,da9052";
166 reg = <0x48>;
167 interrupt-parent = <&gpio7>;
168 interrupts = <11 0x8>; /* low-level active IRQ at GPIO7_11 */
169
170 regulators {
171 buck1_reg: buck1 {
172 regulator-min-microvolt = <500000>;
173 regulator-max-microvolt = <2075000>;
174 regulator-always-on;
175 };
176
177 buck2_reg: buck2 {
178 regulator-min-microvolt = <500000>;
179 regulator-max-microvolt = <2075000>;
180 regulator-always-on;
181 };
182
183 buck3_reg: buck3 {
184 regulator-min-microvolt = <925000>;
185 regulator-max-microvolt = <2500000>;
186 regulator-always-on;
187 };
188
189 buck4_reg: buck4 {
190 regulator-min-microvolt = <925000>;
191 regulator-max-microvolt = <2500000>;
192 regulator-always-on;
193 };
194
195 ldo1_reg: ldo1 {
196 regulator-min-microvolt = <600000>;
197 regulator-max-microvolt = <1800000>;
198 regulator-boot-on;
199 regulator-always-on;
200 };
201
202 ldo2_reg: ldo2 {
203 regulator-min-microvolt = <600000>;
204 regulator-max-microvolt = <1800000>;
205 regulator-always-on;
206 };
207
208 ldo3_reg: ldo3 {
209 regulator-min-microvolt = <600000>;
210 regulator-max-microvolt = <1800000>;
211 regulator-always-on;
212 };
213
214 ldo4_reg: ldo4 {
215 regulator-min-microvolt = <1725000>;
216 regulator-max-microvolt = <3300000>;
217 regulator-always-on;
218 };
219
220 ldo5_reg: ldo5 {
221 regulator-min-microvolt = <1725000>;
222 regulator-max-microvolt = <3300000>;
223 regulator-always-on;
224 };
225
226 ldo6_reg: ldo6 {
227 regulator-min-microvolt = <1200000>;
228 regulator-max-microvolt = <3600000>;
229 regulator-always-on;
230 };
231
232 ldo7_reg: ldo7 {
233 regulator-min-microvolt = <1200000>;
234 regulator-max-microvolt = <3600000>;
235 regulator-always-on;
236 };
237
238 ldo8_reg: ldo8 {
239 regulator-min-microvolt = <1200000>;
240 regulator-max-microvolt = <3600000>;
241 regulator-always-on;
242 };
243
244 ldo9_reg: ldo9 {
245 regulator-min-microvolt = <1200000>;
246 regulator-max-microvolt = <3600000>;
247 regulator-always-on;
248 };
249
250 ldo10_reg: ldo10 {
251 regulator-min-microvolt = <1250000>;
252 regulator-max-microvolt = <3650000>;
253 regulator-always-on;
254 };
255 };
256 };
257};
258
259&audmux {
260 pinctrl-names = "default";
261 pinctrl-0 = <&pinctrl_audmux_1>;
262 status = "okay";
263};
264
265&fec {
266 pinctrl-names = "default";
267 pinctrl-0 = <&pinctrl_fec_1>;
268 phy-mode = "rmii";
269 phy-reset-gpios = <&gpio7 6 0>;
270 status = "okay";
271};
Michael Grzeschik502d26a22013-04-11 12:13:17 +0200272
273&usbh1 {
274 status = "okay";
275};
276
277&usbotg {
278 status = "okay";
279};