]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/blob - arch/arm/boot/dts/imx53-qsb.dts
08948af86d1a096611465ab453755e0636fa3e2d
[can-eth-gw-linux.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                                                         873  0x80000000 /* MX53_PAD_PATA_DA_1__GPIO7_7 */
64                                                 >;
65                                         };
66                                 };
67                         };
68
69                         uart1: serial@53fbc000 {
70                                 pinctrl-names = "default";
71                                 pinctrl-0 = <&pinctrl_uart1_1>;
72                                 status = "okay";
73                         };
74                 };
75
76                 aips@60000000 { /* AIPS2 */
77                         i2c@63fc4000 { /* I2C2 */
78                                 pinctrl-names = "default";
79                                 pinctrl-0 = <&pinctrl_i2c2_1>;
80                                 status = "okay";
81
82                                 sgtl5000: codec@0a {
83                                         compatible = "fsl,sgtl5000";
84                                         reg = <0x0a>;
85                                         VDDA-supply = <&reg_3p2v>;
86                                         VDDIO-supply = <&reg_3p2v>;
87                                 };
88                         };
89
90                         i2c@63fc8000 { /* I2C1 */
91                                 pinctrl-names = "default";
92                                 pinctrl-0 = <&pinctrl_i2c1_1>;
93                                 status = "okay";
94
95                                 accelerometer: mma8450@1c {
96                                         compatible = "fsl,mma8450";
97                                         reg = <0x1c>;
98                                 };
99
100                                 pmic: dialog@48 {
101                                         compatible = "dlg,da9053-aa", "dlg,da9052";
102                                         reg = <0x48>;
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                                         };
175                                 };
176                         };
177
178                         audmux@63fd0000 {
179                                 pinctrl-names = "default";
180                                 pinctrl-0 = <&pinctrl_audmux_1>;
181                                 status = "okay";
182                         };
183
184                         ethernet@63fec000 {
185                                 pinctrl-names = "default";
186                                 pinctrl-0 = <&pinctrl_fec_1>;
187                                 phy-mode = "rmii";
188                                 phy-reset-gpios = <&gpio7 6 0>;
189                                 status = "okay";
190                         };
191                 };
192         };
193
194         gpio-keys {
195                 compatible = "gpio-keys";
196
197                 power {
198                         label = "Power Button";
199                         gpios = <&gpio1 8 0>;
200                         linux,code = <116>; /* KEY_POWER */
201                         gpio-key,wakeup;
202                 };
203
204                 volume-up {
205                         label = "Volume Up";
206                         gpios = <&gpio2 14 0>;
207                         linux,code = <115>; /* KEY_VOLUMEUP */
208                 };
209
210                 volume-down {
211                         label = "Volume Down";
212                         gpios = <&gpio2 15 0>;
213                         linux,code = <114>; /* KEY_VOLUMEDOWN */
214                 };
215         };
216
217         leds {
218                 compatible = "gpio-leds";
219
220                 user {
221                         label = "Heartbeat";
222                         gpios = <&gpio7 7 0>;
223                         linux,default-trigger = "heartbeat";
224                 };
225         };
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         };
252 };