cgroup: superblock can't be released with active dentries
[firefly-linux-kernel-4.4.55.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         chosen {
21                 bootargs = "console=ttymxc0,115200 root=/dev/mmcblk0p3 rootwait";
22         };
23
24         memory {
25                 reg = <0x90000000 0x20000000>;
26         };
27
28         soc {
29                 aips@70000000 { /* aips-1 */
30                         spba@70000000 {
31                                 esdhc@70004000 { /* ESDHC1 */
32                                         fsl,cd-internal;
33                                         fsl,wp-internal;
34                                         status = "okay";
35                                 };
36
37                                 esdhc@70008000 { /* ESDHC2 */
38                                         cd-gpios = <&gpio1 6 0>;
39                                         wp-gpios = <&gpio1 5 0>;
40                                         status = "okay";
41                                 };
42
43                                 uart3: uart@7000c000 {
44                                         fsl,uart-has-rtscts;
45                                         status = "okay";
46                                 };
47
48                                 ecspi@70010000 { /* ECSPI1 */
49                                         fsl,spi-num-chipselects = <2>;
50                                         cs-gpios = <&gpio4 24 0>, <&gpio4 25 0>;
51                                         status = "okay";
52
53                                         pmic: mc13892@0 {
54                                                 #address-cells = <1>;
55                                                 #size-cells = <0>;
56                                                 compatible = "fsl,mc13892";
57                                                 spi-max-frequency = <6000000>;
58                                                 reg = <0>;
59                                                 interrupt-parent = <&gpio1>;
60                                                 interrupts = <8>;
61
62                                                 regulators {
63                                                         sw1_reg: sw1 {
64                                                                 regulator-min-microvolt = <600000>;
65                                                                 regulator-max-microvolt = <1375000>;
66                                                                 regulator-boot-on;
67                                                                 regulator-always-on;
68                                                         };
69
70                                                         sw2_reg: sw2 {
71                                                                 regulator-min-microvolt = <900000>;
72                                                                 regulator-max-microvolt = <1850000>;
73                                                                 regulator-boot-on;
74                                                                 regulator-always-on;
75                                                         };
76
77                                                         sw3_reg: sw3 {
78                                                                 regulator-min-microvolt = <1100000>;
79                                                                 regulator-max-microvolt = <1850000>;
80                                                                 regulator-boot-on;
81                                                                 regulator-always-on;
82                                                         };
83
84                                                         sw4_reg: sw4 {
85                                                                 regulator-min-microvolt = <1100000>;
86                                                                 regulator-max-microvolt = <1850000>;
87                                                                 regulator-boot-on;
88                                                                 regulator-always-on;
89                                                         };
90
91                                                         vpll_reg: vpll {
92                                                                 regulator-min-microvolt = <1050000>;
93                                                                 regulator-max-microvolt = <1800000>;
94                                                                 regulator-boot-on;
95                                                                 regulator-always-on;
96                                                         };
97
98                                                         vdig_reg: vdig {
99                                                                 regulator-min-microvolt = <1650000>;
100                                                                 regulator-max-microvolt = <1650000>;
101                                                                 regulator-boot-on;
102                                                         };
103
104                                                         vsd_reg: vsd {
105                                                                 regulator-min-microvolt = <1800000>;
106                                                                 regulator-max-microvolt = <3150000>;
107                                                         };
108
109                                                         vusb2_reg: vusb2 {
110                                                                 regulator-min-microvolt = <2400000>;
111                                                                 regulator-max-microvolt = <2775000>;
112                                                                 regulator-boot-on;
113                                                                 regulator-always-on;
114                                                         };
115
116                                                         vvideo_reg: vvideo {
117                                                                 regulator-min-microvolt = <2775000>;
118                                                                 regulator-max-microvolt = <2775000>;
119                                                         };
120
121                                                         vaudio_reg: vaudio {
122                                                                 regulator-min-microvolt = <2300000>;
123                                                                 regulator-max-microvolt = <3000000>;
124                                                         };
125
126                                                         vcam_reg: vcam {
127                                                                 regulator-min-microvolt = <2500000>;
128                                                                 regulator-max-microvolt = <3000000>;
129                                                         };
130
131                                                         vgen1_reg: vgen1 {
132                                                                 regulator-min-microvolt = <1200000>;
133                                                                 regulator-max-microvolt = <1200000>;
134                                                         };
135
136                                                         vgen2_reg: vgen2 {
137                                                                 regulator-min-microvolt = <1200000>;
138                                                                 regulator-max-microvolt = <3150000>;
139                                                                 regulator-always-on;
140                                                         };
141
142                                                         vgen3_reg: vgen3 {
143                                                                 regulator-min-microvolt = <1800000>;
144                                                                 regulator-max-microvolt = <2900000>;
145                                                                 regulator-always-on;
146                                                         };
147                                                 };
148                                         };
149
150                                         flash: at45db321d@1 {
151                                                 #address-cells = <1>;
152                                                 #size-cells = <1>;
153                                                 compatible = "atmel,at45db321d", "atmel,at45", "atmel,dataflash";
154                                                 spi-max-frequency = <25000000>;
155                                                 reg = <1>;
156
157                                                 partition@0 {
158                                                         label = "U-Boot";
159                                                         reg = <0x0 0x40000>;
160                                                         read-only;
161                                                 };
162
163                                                 partition@40000 {
164                                                         label = "Kernel";
165                                                         reg = <0x40000 0x3c0000>;
166                                                 };
167                                         };
168                                 };
169                         };
170
171                         wdog@73f98000 { /* WDOG1 */
172                                 status = "okay";
173                         };
174
175                         iomuxc@73fa8000 {
176                                 compatible = "fsl,imx51-iomuxc-babbage";
177                                 reg = <0x73fa8000 0x4000>;
178                         };
179
180                         uart1: uart@73fbc000 {
181                                 fsl,uart-has-rtscts;
182                                 status = "okay";
183                         };
184
185                         uart2: uart@73fc0000 {
186                                 status = "okay";
187                         };
188                 };
189
190                 aips@80000000 { /* aips-2 */
191                         sdma@83fb0000 {
192                                 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx51.bin";
193                         };
194
195                         i2c@83fc4000 { /* I2C2 */
196                                 status = "okay";
197
198                                 codec: sgtl5000@0a {
199                                         compatible = "fsl,sgtl5000";
200                                         reg = <0x0a>;
201                                 };
202                         };
203
204                         fec@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 };