OSDN Git Service

Merge remote-tracking branch 'asoc/fix/core' into tmp
[android-x86/kernel.git] / arch / arm / boot / dts / imx53-qsb.dts
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                                         pinctrl-names = "default";
29                                         pinctrl-0 = <&pinctrl_esdhc1_1>;
30                                         cd-gpios = <&gpio3 13 0>;
31                                         status = "okay";
32                                 };
33
34                                 ssi2: ssi@50014000 {
35                                         fsl,mode = "i2s-slave";
36                                         status = "okay";
37                                 };
38
39                                 esdhc@50020000 { /* ESDHC3 */
40                                         pinctrl-names = "default";
41                                         pinctrl-0 = <&pinctrl_esdhc3_1>;
42                                         cd-gpios = <&gpio3 11 0>;
43                                         wp-gpios = <&gpio3 12 0>;
44                                         status = "okay";
45                                 };
46                         };
47
48                         iomuxc@53fa8000 {
49                                 pinctrl-names = "default";
50                                 pinctrl-0 = <&pinctrl_hog>;
51
52                                 hog {
53                                         pinctrl_hog: hoggrp {
54                                                 fsl,pins = <
55                                                         1071 0x80000000 /* MX53_PAD_GPIO_0__CCM_SSI_EXT1_CLK */
56                                                         1141 0x80000000 /* MX53_PAD_GPIO_8__GPIO1_8 */
57                                                         982  0x80000000 /* MX53_PAD_PATA_DATA14__GPIO2_14 */
58                                                         989  0x80000000 /* MX53_PAD_PATA_DATA15__GPIO2_15 */
59                                                         693  0x80000000 /* MX53_PAD_EIM_DA11__GPIO3_11 */
60                                                         697  0x80000000 /* MX53_PAD_EIM_DA12__GPIO3_12 */
61                                                         701  0x80000000 /* MX53_PAD_EIM_DA13__GPIO3_13 */
62                                                         868  0x80000000 /* MX53_PAD_PATA_DA_0__GPIO7_6 */
63                                                         1149 0x80000000 /* MX53_PAD_GPIO_16__GPIO7_11 */
64                                                 >;
65                                         };
66
67                                         led_pin_gpio7_7: led_gpio7_7@0 {
68                                                 fsl,pins = <
69                                                         873  0x80000000 /* MX53_PAD_PATA_DA_1__GPIO7_7 */
70                                                 >;
71                                         };
72                                 };
73
74                         };
75
76                         uart1: serial@53fbc000 {
77                                 pinctrl-names = "default";
78                                 pinctrl-0 = <&pinctrl_uart1_1>;
79                                 status = "okay";
80                         };
81                 };
82
83                 aips@60000000 { /* AIPS2 */
84                         i2c@63fc4000 { /* I2C2 */
85                                 pinctrl-names = "default";
86                                 pinctrl-0 = <&pinctrl_i2c2_1>;
87                                 status = "okay";
88
89                                 sgtl5000: codec@0a {
90                                         compatible = "fsl,sgtl5000";
91                                         reg = <0x0a>;
92                                         VDDA-supply = <&reg_3p2v>;
93                                         VDDIO-supply = <&reg_3p2v>;
94                                 };
95                         };
96
97                         i2c@63fc8000 { /* I2C1 */
98                                 pinctrl-names = "default";
99                                 pinctrl-0 = <&pinctrl_i2c1_1>;
100                                 status = "okay";
101
102                                 accelerometer: mma8450@1c {
103                                         compatible = "fsl,mma8450";
104                                         reg = <0x1c>;
105                                 };
106
107                                 pmic: dialog@48 {
108                                         compatible = "dlg,da9053-aa", "dlg,da9052";
109                                         reg = <0x48>;
110                                         interrupt-parent = <&gpio7>;
111                                         interrupts = <11 0x8>; /* low-level active IRQ at GPIO7_11 */
112
113                                         regulators {
114                                                 buck1_reg: buck1 {
115                                                         regulator-min-microvolt = <500000>;
116                                                         regulator-max-microvolt = <2075000>;
117                                                         regulator-always-on;
118                                                 };
119
120                                                 buck2_reg: buck2 {
121                                                         regulator-min-microvolt = <500000>;
122                                                         regulator-max-microvolt = <2075000>;
123                                                         regulator-always-on;
124                                                 };
125
126                                                 buck3_reg: buck3 {
127                                                         regulator-min-microvolt = <925000>;
128                                                         regulator-max-microvolt = <2500000>;
129                                                         regulator-always-on;
130                                                 };
131
132                                                 buck4_reg: buck4 {
133                                                         regulator-min-microvolt = <925000>;
134                                                         regulator-max-microvolt = <2500000>;
135                                                         regulator-always-on;
136                                                 };
137
138                                                 ldo1_reg: ldo1 {
139                                                         regulator-min-microvolt = <600000>;
140                                                         regulator-max-microvolt = <1800000>;
141                                                         regulator-boot-on;
142                                                         regulator-always-on;
143                                                 };
144
145                                                 ldo2_reg: ldo2 {
146                                                         regulator-min-microvolt = <600000>;
147                                                         regulator-max-microvolt = <1800000>;
148                                                         regulator-always-on;
149                                                 };
150
151                                                 ldo3_reg: ldo3 {
152                                                         regulator-min-microvolt = <600000>;
153                                                         regulator-max-microvolt = <1800000>;
154                                                         regulator-always-on;
155                                                 };
156
157                                                 ldo4_reg: ldo4 {
158                                                         regulator-min-microvolt = <1725000>;
159                                                         regulator-max-microvolt = <3300000>;
160                                                         regulator-always-on;
161                                                 };
162
163                                                 ldo5_reg: ldo5 {
164                                                         regulator-min-microvolt = <1725000>;
165                                                         regulator-max-microvolt = <3300000>;
166                                                         regulator-always-on;
167                                                 };
168
169                                                 ldo6_reg: ldo6 {
170                                                         regulator-min-microvolt = <1200000>;
171                                                         regulator-max-microvolt = <3600000>;
172                                                         regulator-always-on;
173                                                 };
174
175                                                 ldo7_reg: ldo7 {
176                                                         regulator-min-microvolt = <1200000>;
177                                                         regulator-max-microvolt = <3600000>;
178                                                         regulator-always-on;
179                                                 };
180
181                                                 ldo8_reg: ldo8 {
182                                                         regulator-min-microvolt = <1200000>;
183                                                         regulator-max-microvolt = <3600000>;
184                                                         regulator-always-on;
185                                                 };
186
187                                                 ldo9_reg: ldo9 {
188                                                         regulator-min-microvolt = <1200000>;
189                                                         regulator-max-microvolt = <3600000>;
190                                                         regulator-always-on;
191                                                 };
192
193                                                 ldo10_reg: ldo10 {
194                                                         regulator-min-microvolt = <1250000>;
195                                                         regulator-max-microvolt = <3650000>;
196                                                         regulator-always-on;
197                                                 };
198                                         };
199                                 };
200                         };
201
202                         audmux@63fd0000 {
203                                 pinctrl-names = "default";
204                                 pinctrl-0 = <&pinctrl_audmux_1>;
205                                 status = "okay";
206                         };
207
208                         ethernet@63fec000 {
209                                 pinctrl-names = "default";
210                                 pinctrl-0 = <&pinctrl_fec_1>;
211                                 phy-mode = "rmii";
212                                 phy-reset-gpios = <&gpio7 6 0>;
213                                 status = "okay";
214                         };
215                 };
216         };
217
218         gpio-keys {
219                 compatible = "gpio-keys";
220
221                 power {
222                         label = "Power Button";
223                         gpios = <&gpio1 8 0>;
224                         linux,code = <116>; /* KEY_POWER */
225                         gpio-key,wakeup;
226                 };
227
228                 volume-up {
229                         label = "Volume Up";
230                         gpios = <&gpio2 14 0>;
231                         linux,code = <115>; /* KEY_VOLUMEUP */
232                 };
233
234                 volume-down {
235                         label = "Volume Down";
236                         gpios = <&gpio2 15 0>;
237                         linux,code = <114>; /* KEY_VOLUMEDOWN */
238                 };
239         };
240
241         leds {
242                 compatible = "gpio-leds";
243                 pinctrl-names = "default";
244                 pinctrl-0 = <&led_pin_gpio7_7>;
245
246                 user {
247                         label = "Heartbeat";
248                         gpios = <&gpio7 7 0>;
249                         linux,default-trigger = "heartbeat";
250                 };
251         };
252
253         regulators {
254                 compatible = "simple-bus";
255
256                 reg_3p2v: 3p2v {
257                         compatible = "regulator-fixed";
258                         regulator-name = "3P2V";
259                         regulator-min-microvolt = <3200000>;
260                         regulator-max-microvolt = <3200000>;
261                         regulator-always-on;
262                 };
263         };
264
265         sound {
266                 compatible = "fsl,imx53-qsb-sgtl5000",
267                              "fsl,imx-audio-sgtl5000";
268                 model = "imx53-qsb-sgtl5000";
269                 ssi-controller = <&ssi2>;
270                 audio-codec = <&sgtl5000>;
271                 audio-routing =
272                         "MIC_IN", "Mic Jack",
273                         "Mic Jack", "Mic Bias",
274                         "Headphone Jack", "HP_OUT";
275                 mux-int-port = <2>;
276                 mux-ext-port = <5>;
277         };
278 };