imx53-qsb.dts revision 03b276505435927b5c4f7d246557a991fbedad92
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	soc {
25		aips@50000000 { /* AIPS1 */
26			spba@50000000 {
27				esdhc@50004000 { /* ESDHC1 */
28					cd-gpios = <&gpio3 13 0>;
29					status = "okay";
30				};
31
32				ssi2: ssi@50014000 {
33					fsl,mode = "i2s-slave";
34					status = "okay";
35				};
36
37				esdhc@50020000 { /* ESDHC3 */
38					cd-gpios = <&gpio3 11 0>;
39					wp-gpios = <&gpio3 12 0>;
40					status = "okay";
41				};
42			};
43
44			iomuxc@53fa8000 {
45				compatible = "fsl,imx53-iomuxc-qsb";
46				reg = <0x53fa8000 0x4000>;
47			};
48
49			uart1: serial@53fbc000 {
50				status = "okay";
51			};
52		};
53
54		aips@60000000 {	/* AIPS2 */
55			sdma@63fb0000 {
56				fsl,sdma-ram-script-name = "imx/sdma/sdma-imx53.bin";
57			};
58
59			i2c@63fc4000 { /* I2C2 */
60				status = "okay";
61
62				sgtl5000: codec@0a {
63					compatible = "fsl,sgtl5000";
64					reg = <0x0a>;
65					VDDA-supply = <&reg_3p2v>;
66					VDDIO-supply = <&reg_3p2v>;
67				};
68			};
69
70			i2c@63fc8000 { /* I2C1 */
71				status = "okay";
72
73				accelerometer: mma8450@1c {
74					compatible = "fsl,mma8450";
75					reg = <0x1c>;
76				};
77
78				pmic: dialog@48 {
79					compatible = "dlg,da9053-aa", "dlg,da9052";
80					reg = <0x48>;
81
82					regulators {
83						buck0 {
84							regulator-min-microvolt = <500000>;
85							regulator-max-microvolt = <2075000>;
86						};
87
88						buck1 {
89							regulator-min-microvolt = <500000>;
90							regulator-max-microvolt = <2075000>;
91						};
92
93						buck2 {
94							regulator-min-microvolt = <925000>;
95					                regulator-max-microvolt = <2500000>;
96						};
97
98						buck3 {
99							regulator-min-microvolt = <925000>;
100					                regulator-max-microvolt = <2500000>;
101						};
102
103						ldo4 {
104							regulator-min-microvolt = <600000>;
105							regulator-max-microvolt = <1800000>;
106						};
107
108						ldo5 {
109							regulator-min-microvolt = <600000>;
110					                regulator-max-microvolt = <1800000>;
111						};
112
113						ldo6 {
114							regulator-min-microvolt = <1725000>;
115					                regulator-max-microvolt = <3300000>;
116						};
117
118						ldo7 {
119							regulator-min-microvolt = <1725000>;
120					                regulator-max-microvolt = <3300000>;
121						};
122
123						ldo8 {
124							regulator-min-microvolt = <1200000>;
125					                regulator-max-microvolt = <3600000>;
126						};
127
128						ldo9 {
129							regulator-min-microvolt = <1200000>;
130					                regulator-max-microvolt = <3600000>;
131						};
132
133						ldo10 {
134							regulator-min-microvolt = <1200000>;
135					                regulator-max-microvolt = <3600000>;
136						};
137
138						ldo11 {
139							regulator-min-microvolt = <1200000>;
140					                regulator-max-microvolt = <3600000>;
141						};
142
143						ldo12 {
144							regulator-min-microvolt = <1250000>;
145					                regulator-max-microvolt = <3650000>;
146						};
147
148						ldo13 {
149							regulator-min-microvolt = <1200000>;
150					                regulator-max-microvolt = <3600000>;
151						};
152					};
153				};
154			};
155
156			audmux@63fd0000 {
157				status = "okay";
158			};
159
160			ethernet@63fec000 {
161				phy-mode = "rmii";
162				phy-reset-gpios = <&gpio7 6 0>;
163				status = "okay";
164			};
165		};
166	};
167
168	gpio-keys {
169		compatible = "gpio-keys";
170
171		power {
172			label = "Power Button";
173			gpios = <&gpio1 8 0>;
174			linux,code = <116>; /* KEY_POWER */
175			gpio-key,wakeup;
176		};
177
178		volume-up {
179			label = "Volume Up";
180			gpios = <&gpio2 14 0>;
181			linux,code = <115>; /* KEY_VOLUMEUP */
182		};
183
184		volume-down {
185			label = "Volume Down";
186			gpios = <&gpio2 15 0>;
187			linux,code = <114>; /* KEY_VOLUMEDOWN */
188		};
189	};
190
191	leds {
192		compatible = "gpio-leds";
193
194		user {
195			label = "Heartbeat";
196			gpios = <&gpio7 7 0>;
197			linux,default-trigger = "heartbeat";
198		};
199	};
200
201	regulators {
202		compatible = "simple-bus";
203
204		reg_3p2v: 3p2v {
205			compatible = "regulator-fixed";
206			regulator-name = "3P2V";
207			regulator-min-microvolt = <3200000>;
208			regulator-max-microvolt = <3200000>;
209			regulator-always-on;
210		};
211	};
212
213	sound {
214		compatible = "fsl,imx53-qsb-sgtl5000",
215			     "fsl,imx-audio-sgtl5000";
216		model = "imx53-qsb-sgtl5000";
217		ssi-controller = <&ssi2>;
218		audio-codec = <&sgtl5000>;
219		audio-routing =
220			"MIC_IN", "Mic Jack",
221			"Mic Jack", "Mic Bias",
222			"Headphone Jack", "HP_OUT";
223		mux-int-port = <2>;
224		mux-ext-port = <5>;
225	};
226};
227