Merge remote-tracking branch 'spi/fix/grant' into spi-linus
[deliverable/linux.git] / arch / arm / boot / dts / imx53-qsb.dts
CommitLineData
73d2b4cd
SG
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/;
36dffd8f 14#include "imx53.dtsi"
73d2b4cd
SG
15
16/ {
17 model = "Freescale i.MX53 Quick Start Board";
18 compatible = "fsl,imx53-qsb", "fsl,imx53";
19
73d2b4cd
SG
20 memory {
21 reg = <0x70000000 0x40000000>;
22 };
23
73d2b4cd
SG
24 gpio-keys {
25 compatible = "gpio-keys";
26
27 power {
28 label = "Power Button";
4d191868 29 gpios = <&gpio1 8 0>;
73d2b4cd
SG
30 linux,code = <116>; /* KEY_POWER */
31 gpio-key,wakeup;
32 };
33
34 volume-up {
35 label = "Volume Up";
4d191868 36 gpios = <&gpio2 14 0>;
73d2b4cd
SG
37 linux,code = <115>; /* KEY_VOLUMEUP */
38 };
39
40 volume-down {
41 label = "Volume Down";
4d191868 42 gpios = <&gpio2 15 0>;
73d2b4cd
SG
43 linux,code = <114>; /* KEY_VOLUMEDOWN */
44 };
45 };
46
47 leds {
48 compatible = "gpio-leds";
e9dc615c
FE
49 pinctrl-names = "default";
50 pinctrl-0 = <&led_pin_gpio7_7>;
73d2b4cd
SG
51
52 user {
53 label = "Heartbeat";
4d191868 54 gpios = <&gpio7 7 0>;
73d2b4cd
SG
55 linux,default-trigger = "heartbeat";
56 };
57 };
ffc505c0
SG
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 };
73d2b4cd 84};
be4ccfce
SG
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 = <
e1641531
SG
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
be4ccfce
SG
122 >;
123 };
124
125 led_pin_gpio7_7: led_gpio7_7@0 {
126 fsl,pins = <
e1641531 127 MX53_PAD_PATA_DA_1__GPIO7_7 0x80000000
be4ccfce
SG
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 };
151};
152
153&i2c1 {
154 pinctrl-names = "default";
155 pinctrl-0 = <&pinctrl_i2c1_1>;
156 status = "okay";
157
158 accelerometer: mma8450@1c {
159 compatible = "fsl,mma8450";
160 reg = <0x1c>;
161 };
162
163 pmic: dialog@48 {
164 compatible = "dlg,da9053-aa", "dlg,da9052";
165 reg = <0x48>;
166 interrupt-parent = <&gpio7>;
167 interrupts = <11 0x8>; /* low-level active IRQ at GPIO7_11 */
168
169 regulators {
170 buck1_reg: buck1 {
171 regulator-min-microvolt = <500000>;
172 regulator-max-microvolt = <2075000>;
173 regulator-always-on;
174 };
175
176 buck2_reg: buck2 {
177 regulator-min-microvolt = <500000>;
178 regulator-max-microvolt = <2075000>;
179 regulator-always-on;
180 };
181
182 buck3_reg: buck3 {
183 regulator-min-microvolt = <925000>;
184 regulator-max-microvolt = <2500000>;
185 regulator-always-on;
186 };
187
188 buck4_reg: buck4 {
189 regulator-min-microvolt = <925000>;
190 regulator-max-microvolt = <2500000>;
191 regulator-always-on;
192 };
193
194 ldo1_reg: ldo1 {
195 regulator-min-microvolt = <600000>;
196 regulator-max-microvolt = <1800000>;
197 regulator-boot-on;
198 regulator-always-on;
199 };
200
201 ldo2_reg: ldo2 {
202 regulator-min-microvolt = <600000>;
203 regulator-max-microvolt = <1800000>;
204 regulator-always-on;
205 };
206
207 ldo3_reg: ldo3 {
208 regulator-min-microvolt = <600000>;
209 regulator-max-microvolt = <1800000>;
210 regulator-always-on;
211 };
212
213 ldo4_reg: ldo4 {
214 regulator-min-microvolt = <1725000>;
215 regulator-max-microvolt = <3300000>;
216 regulator-always-on;
217 };
218
219 ldo5_reg: ldo5 {
220 regulator-min-microvolt = <1725000>;
221 regulator-max-microvolt = <3300000>;
222 regulator-always-on;
223 };
224
225 ldo6_reg: ldo6 {
226 regulator-min-microvolt = <1200000>;
227 regulator-max-microvolt = <3600000>;
228 regulator-always-on;
229 };
230
231 ldo7_reg: ldo7 {
232 regulator-min-microvolt = <1200000>;
233 regulator-max-microvolt = <3600000>;
234 regulator-always-on;
235 };
236
237 ldo8_reg: ldo8 {
238 regulator-min-microvolt = <1200000>;
239 regulator-max-microvolt = <3600000>;
240 regulator-always-on;
241 };
242
243 ldo9_reg: ldo9 {
244 regulator-min-microvolt = <1200000>;
245 regulator-max-microvolt = <3600000>;
246 regulator-always-on;
247 };
248
249 ldo10_reg: ldo10 {
250 regulator-min-microvolt = <1250000>;
251 regulator-max-microvolt = <3650000>;
252 regulator-always-on;
253 };
254 };
255 };
256};
257
258&audmux {
259 pinctrl-names = "default";
260 pinctrl-0 = <&pinctrl_audmux_1>;
261 status = "okay";
262};
263
264&fec {
265 pinctrl-names = "default";
266 pinctrl-0 = <&pinctrl_fec_1>;
267 phy-mode = "rmii";
268 phy-reset-gpios = <&gpio7 6 0>;
269 status = "okay";
270};
This page took 0.115318 seconds and 5 git commands to generate.