imx53-qsb.dts revision 59d5c0ce8a790475b22a18a94386bc2b3dd1aa31
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/;
14#include "imx53.dtsi"
15
16/ {
17	model = "Freescale i.MX53 Quick Start Board";
18	compatible = "fsl,imx53-qsb", "fsl,imx53";
19
20	memory {
21		reg = <0x70000000 0x40000000>;
22	};
23
24	gpio-keys {
25		compatible = "gpio-keys";
26
27		power {
28			label = "Power Button";
29			gpios = <&gpio1 8 0>;
30			linux,code = <116>; /* KEY_POWER */
31			gpio-key,wakeup;
32		};
33
34		volume-up {
35			label = "Volume Up";
36			gpios = <&gpio2 14 0>;
37			linux,code = <115>; /* KEY_VOLUMEUP */
38		};
39
40		volume-down {
41			label = "Volume Down";
42			gpios = <&gpio2 15 0>;
43			linux,code = <114>; /* KEY_VOLUMEDOWN */
44		};
45	};
46
47	leds {
48		compatible = "gpio-leds";
49		pinctrl-names = "default";
50		pinctrl-0 = <&led_pin_gpio7_7>;
51
52		user {
53			label = "Heartbeat";
54			gpios = <&gpio7 7 0>;
55			linux,default-trigger = "heartbeat";
56		};
57	};
58
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	};
84};
85
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 = <
113				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
122			>;
123		};
124
125		led_pin_gpio7_7: led_gpio7_7@0 {
126			fsl,pins = <
127				MX53_PAD_PATA_DA_1__GPIO7_7 0x80000000
128			>;
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>;
150		clocks = <&clks 150>;
151	};
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};
272
273&usbh1 {
274       status = "okay";
275};
276
277&usbotg {
278       status = "okay";
279};
280