]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/blob - arch/arm/boot/dts/imx51-babbage.dts
ARM: dts: imx: Move SDMA firmware to SoC dtsi file
[can-eth-gw-linux.git] / arch / arm / boot / dts / imx51-babbage.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/ "imx51.dtsi"
15
16 / {
17         model = "Freescale i.MX51 Babbage Board";
18         compatible = "fsl,imx51-babbage", "fsl,imx51";
19
20         memory {
21                 reg = <0x90000000 0x20000000>;
22         };
23
24         soc {
25                 aips@70000000 { /* aips-1 */
26                         spba@70000000 {
27                                 esdhc@70004000 { /* ESDHC1 */
28                                         fsl,cd-internal;
29                                         fsl,wp-internal;
30                                         status = "okay";
31                                 };
32
33                                 esdhc@70008000 { /* ESDHC2 */
34                                         cd-gpios = <&gpio1 6 0>;
35                                         wp-gpios = <&gpio1 5 0>;
36                                         status = "okay";
37                                 };
38
39                                 uart3: serial@7000c000 {
40                                         fsl,uart-has-rtscts;
41                                         status = "okay";
42                                 };
43
44                                 ecspi@70010000 { /* ECSPI1 */
45                                         fsl,spi-num-chipselects = <2>;
46                                         cs-gpios = <&gpio4 24 0>, <&gpio4 25 0>;
47                                         status = "okay";
48
49                                         pmic: mc13892@0 {
50                                                 #address-cells = <1>;
51                                                 #size-cells = <0>;
52                                                 compatible = "fsl,mc13892";
53                                                 spi-max-frequency = <6000000>;
54                                                 reg = <0>;
55                                                 interrupt-parent = <&gpio1>;
56                                                 interrupts = <8 0x4>;
57
58                                                 regulators {
59                                                         sw1_reg: sw1 {
60                                                                 regulator-min-microvolt = <600000>;
61                                                                 regulator-max-microvolt = <1375000>;
62                                                                 regulator-boot-on;
63                                                                 regulator-always-on;
64                                                         };
65
66                                                         sw2_reg: sw2 {
67                                                                 regulator-min-microvolt = <900000>;
68                                                                 regulator-max-microvolt = <1850000>;
69                                                                 regulator-boot-on;
70                                                                 regulator-always-on;
71                                                         };
72
73                                                         sw3_reg: sw3 {
74                                                                 regulator-min-microvolt = <1100000>;
75                                                                 regulator-max-microvolt = <1850000>;
76                                                                 regulator-boot-on;
77                                                                 regulator-always-on;
78                                                         };
79
80                                                         sw4_reg: sw4 {
81                                                                 regulator-min-microvolt = <1100000>;
82                                                                 regulator-max-microvolt = <1850000>;
83                                                                 regulator-boot-on;
84                                                                 regulator-always-on;
85                                                         };
86
87                                                         vpll_reg: vpll {
88                                                                 regulator-min-microvolt = <1050000>;
89                                                                 regulator-max-microvolt = <1800000>;
90                                                                 regulator-boot-on;
91                                                                 regulator-always-on;
92                                                         };
93
94                                                         vdig_reg: vdig {
95                                                                 regulator-min-microvolt = <1650000>;
96                                                                 regulator-max-microvolt = <1650000>;
97                                                                 regulator-boot-on;
98                                                         };
99
100                                                         vsd_reg: vsd {
101                                                                 regulator-min-microvolt = <1800000>;
102                                                                 regulator-max-microvolt = <3150000>;
103                                                         };
104
105                                                         vusb2_reg: vusb2 {
106                                                                 regulator-min-microvolt = <2400000>;
107                                                                 regulator-max-microvolt = <2775000>;
108                                                                 regulator-boot-on;
109                                                                 regulator-always-on;
110                                                         };
111
112                                                         vvideo_reg: vvideo {
113                                                                 regulator-min-microvolt = <2775000>;
114                                                                 regulator-max-microvolt = <2775000>;
115                                                         };
116
117                                                         vaudio_reg: vaudio {
118                                                                 regulator-min-microvolt = <2300000>;
119                                                                 regulator-max-microvolt = <3000000>;
120                                                         };
121
122                                                         vcam_reg: vcam {
123                                                                 regulator-min-microvolt = <2500000>;
124                                                                 regulator-max-microvolt = <3000000>;
125                                                         };
126
127                                                         vgen1_reg: vgen1 {
128                                                                 regulator-min-microvolt = <1200000>;
129                                                                 regulator-max-microvolt = <1200000>;
130                                                         };
131
132                                                         vgen2_reg: vgen2 {
133                                                                 regulator-min-microvolt = <1200000>;
134                                                                 regulator-max-microvolt = <3150000>;
135                                                                 regulator-always-on;
136                                                         };
137
138                                                         vgen3_reg: vgen3 {
139                                                                 regulator-min-microvolt = <1800000>;
140                                                                 regulator-max-microvolt = <2900000>;
141                                                                 regulator-always-on;
142                                                         };
143                                                 };
144                                         };
145
146                                         flash: at45db321d@1 {
147                                                 #address-cells = <1>;
148                                                 #size-cells = <1>;
149                                                 compatible = "atmel,at45db321d", "atmel,at45", "atmel,dataflash";
150                                                 spi-max-frequency = <25000000>;
151                                                 reg = <1>;
152
153                                                 partition@0 {
154                                                         label = "U-Boot";
155                                                         reg = <0x0 0x40000>;
156                                                         read-only;
157                                                 };
158
159                                                 partition@40000 {
160                                                         label = "Kernel";
161                                                         reg = <0x40000 0x3c0000>;
162                                                 };
163                                         };
164                                 };
165
166                                 ssi2: ssi@70014000 {
167                                         fsl,mode = "i2s-slave";
168                                         status = "okay";
169                                 };
170                         };
171
172                         iomuxc@73fa8000 {
173                                 compatible = "fsl,imx51-iomuxc-babbage";
174                                 reg = <0x73fa8000 0x4000>;
175                         };
176
177                         uart1: serial@73fbc000 {
178                                 fsl,uart-has-rtscts;
179                                 status = "okay";
180                         };
181
182                         uart2: serial@73fc0000 {
183                                 status = "okay";
184                         };
185                 };
186
187                 aips@80000000 { /* aips-2 */
188                         i2c@83fc4000 { /* I2C2 */
189                                 status = "okay";
190
191                                 sgtl5000: codec@0a {
192                                         compatible = "fsl,sgtl5000";
193                                         reg = <0x0a>;
194                                         clock-frequency = <26000000>;
195                                         VDDA-supply = <&vdig_reg>;
196                                         VDDIO-supply = <&vvideo_reg>;
197                                 };
198                         };
199
200                         audmux@83fd0000 {
201                                 status = "okay";
202                         };
203
204                         ethernet@83fec000 {
205                                 phy-mode = "mii";
206                                 status = "okay";
207                         };
208                 };
209         };
210
211         gpio-keys {
212                 compatible = "gpio-keys";
213
214                 power {
215                         label = "Power Button";
216                         gpios = <&gpio2 21 0>;
217                         linux,code = <116>; /* KEY_POWER */
218                         gpio-key,wakeup;
219                 };
220         };
221
222         sound {
223                 compatible = "fsl,imx51-babbage-sgtl5000",
224                              "fsl,imx-audio-sgtl5000";
225                 model = "imx51-babbage-sgtl5000";
226                 ssi-controller = <&ssi2>;
227                 audio-codec = <&sgtl5000>;
228                 audio-routing =
229                         "MIC_IN", "Mic Jack",
230                         "Mic Jack", "Mic Bias",
231                         "Headphone Jack", "HP_OUT";
232                 mux-int-port = <2>;
233                 mux-ext-port = <3>;
234         };
235 };