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