mm: hugetlb: fix hugepage memory leak caused by wrong reserve count
[linux/fpc-iii.git] / arch / arm / boot / dts / imx53-voipac-dmm-668.dtsi
blobba689fbd0e413dd5e1e01c9a0295d48bc773dec9
1 /*
2  * Copyright 2013 Rostislav Lisovy <lisovy@gmail.com>, PiKRON s.r.o.
3  *
4  * The code contained herein is licensed under the GNU General Public
5  * License. You may obtain a copy of the GNU General Public License
6  * Version 2 or later at the following locations:
7  *
8  * http://www.opensource.org/licenses/gpl-license.html
9  * http://www.gnu.org/copyleft/gpl.html
10  */
12 #include "imx53.dtsi"
14 / {
15         model = "Voipac i.MX53 X53-DMM-668";
16         compatible = "voipac,imx53-dmm-668", "fsl,imx53";
18         memory@70000000 {
19                 device_type = "memory";
20                 reg = <0x70000000 0x20000000>;
21         };
23         memory@b0000000 {
24                 device_type = "memory";
25                 reg = <0xb0000000 0x20000000>;
26         };
28         regulators {
29                 compatible = "simple-bus";
30                 #address-cells = <1>;
31                 #size-cells = <0>;
33                 reg_3p3v: regulator@0 {
34                         compatible = "regulator-fixed";
35                         reg = <0>;
36                         regulator-name = "3P3V";
37                         regulator-min-microvolt = <3300000>;
38                         regulator-max-microvolt = <3300000>;
39                         regulator-always-on;
40                 };
42                 reg_usb_vbus: regulator@1 {
43                         compatible = "regulator-fixed";
44                         reg = <1>;
45                         regulator-name = "usb_vbus";
46                         regulator-min-microvolt = <5000000>;
47                         regulator-max-microvolt = <5000000>;
48                         gpio = <&gpio3 31 0>; /* PEN */
49                         enable-active-high;
50                 };
51         };
54 &iomuxc {
55         pinctrl-names = "default";
56         pinctrl-0 = <&pinctrl_hog>;
58         imx53-voipac {
59                 pinctrl_hog: hoggrp {
60                         fsl,pins = <
61                                 /* Make DA9053 regulator functional */
62                                 MX53_PAD_GPIO_16__GPIO7_11      0x80000000
63                                 /* FEC Power enable */
64                                 MX53_PAD_GPIO_11__GPIO4_1       0x80000000
65                                 /* FEC RST */
66                                 MX53_PAD_GPIO_12__GPIO4_2       0x80000000
67                         >;
68                 };
70                 pinctrl_ecspi1: ecspi1grp {
71                         fsl,pins = <
72                                 MX53_PAD_EIM_D16__ECSPI1_SCLK           0x80000000
73                                 MX53_PAD_EIM_D17__ECSPI1_MISO           0x80000000
74                                 MX53_PAD_EIM_D18__ECSPI1_MOSI           0x80000000
75                         >;
76                 };
78                 pinctrl_fec: fecgrp {
79                         fsl,pins = <
80                                 MX53_PAD_FEC_MDC__FEC_MDC               0x80000000
81                                 MX53_PAD_FEC_MDIO__FEC_MDIO             0x80000000
82                                 MX53_PAD_FEC_REF_CLK__FEC_TX_CLK        0x80000000
83                                 MX53_PAD_FEC_RX_ER__FEC_RX_ER           0x80000000
84                                 MX53_PAD_FEC_CRS_DV__FEC_RX_DV          0x80000000
85                                 MX53_PAD_FEC_RXD1__FEC_RDATA_1          0x80000000
86                                 MX53_PAD_FEC_RXD0__FEC_RDATA_0          0x80000000
87                                 MX53_PAD_FEC_TX_EN__FEC_TX_EN           0x80000000
88                                 MX53_PAD_FEC_TXD1__FEC_TDATA_1          0x80000000
89                                 MX53_PAD_FEC_TXD0__FEC_TDATA_0          0x80000000
90                         >;
91                 };
93                 pinctrl_i2c1: i2c1grp {
94                         fsl,pins = <
95                                 MX53_PAD_EIM_D21__I2C1_SCL              0xc0000000
96                                 MX53_PAD_EIM_D28__I2C1_SDA              0xc0000000
97                         >;
98                 };
100                 pinctrl_uart1: uart1grp {
101                         fsl,pins = <
102                                 MX53_PAD_PATA_DIOW__UART1_TXD_MUX       0x1e4
103                                 MX53_PAD_PATA_DMACK__UART1_RXD_MUX      0x1e4
104                         >;
105                 };
107                 pinctrl_nand: nandgrp {
108                         fsl,pins = <
109                                 MX53_PAD_NANDF_WE_B__EMI_NANDF_WE_B     0x4
110                                 MX53_PAD_NANDF_RE_B__EMI_NANDF_RE_B     0x4
111                                 MX53_PAD_NANDF_CLE__EMI_NANDF_CLE       0x4
112                                 MX53_PAD_NANDF_ALE__EMI_NANDF_ALE       0x4
113                                 MX53_PAD_NANDF_WP_B__EMI_NANDF_WP_B     0xe0
114                                 MX53_PAD_NANDF_RB0__EMI_NANDF_RB_0      0xe0
115                                 MX53_PAD_NANDF_CS0__EMI_NANDF_CS_0      0x4
116                                 MX53_PAD_PATA_DATA0__EMI_NANDF_D_0      0xa4
117                                 MX53_PAD_PATA_DATA1__EMI_NANDF_D_1      0xa4
118                                 MX53_PAD_PATA_DATA2__EMI_NANDF_D_2      0xa4
119                                 MX53_PAD_PATA_DATA3__EMI_NANDF_D_3      0xa4
120                                 MX53_PAD_PATA_DATA4__EMI_NANDF_D_4      0xa4
121                                 MX53_PAD_PATA_DATA5__EMI_NANDF_D_5      0xa4
122                                 MX53_PAD_PATA_DATA6__EMI_NANDF_D_6      0xa4
123                                 MX53_PAD_PATA_DATA7__EMI_NANDF_D_7      0xa4
124                         >;
125                 };
126         };
129 &ecspi1 {
130         pinctrl-names = "default";
131         pinctrl-0 = <&pinctrl_ecspi1>;
132         fsl,spi-num-chipselects = <4>;
133         cs-gpios = <&gpio2 30 0>, <&gpio3 19 0>, <&gpio2 16 0>, <&gpio2 17 0>;
134         status = "okay";
137 &fec {
138         pinctrl-names = "default";
139         pinctrl-0 = <&pinctrl_fec>;
140         phy-mode = "rmii";
141         phy-reset-gpios = <&gpio4 2 0>;
142         status = "okay";
145 &i2c1 {
146         pinctrl-names = "default";
147         pinctrl-0 = <&pinctrl_i2c1>;
148         status = "okay";
150         pmic: dialog@48 {
151                 compatible = "dlg,da9053-aa", "dlg,da9052";
152                 reg = <0x48>;
153                 interrupt-parent = <&gpio7>;
154                 interrupts = <11 0x8>; /* low-level active IRQ at GPIO7_11 */
156                 regulators {
157                         buck1_reg: buck1 {
158                                 regulator-name = "BUCKCORE";
159                                 regulator-min-microvolt = <1200000>;
160                                 regulator-max-microvolt = <1400000>;
161                                 regulator-always-on;
162                         };
164                         buck2_reg: buck2 {
165                                 regulator-name = "BUCKPRO";
166                                 regulator-min-microvolt = <900000>;
167                                 regulator-max-microvolt = <1350000>;
168                                 regulator-always-on;
169                         };
171                         buck3_reg: buck3 {
172                                 regulator-name = "BUCKMEM";
173                                 regulator-min-microvolt = <1420000>;
174                                 regulator-max-microvolt = <1580000>;
175                                 regulator-always-on;
176                         };
178                         buck4_reg: buck4 {
179                                 regulator-name = "BUCKPERI";
180                                 regulator-min-microvolt = <2370000>;
181                                 regulator-max-microvolt = <2630000>;
182                                 regulator-always-on;
183                         };
185                         ldo1_reg: ldo1 {
186                                 regulator-name = "ldo1_1v3";
187                                 regulator-min-microvolt = <1250000>;
188                                 regulator-max-microvolt = <1350000>;
189                                 regulator-boot-on;
190                                 regulator-always-on;
191                         };
193                         ldo2_reg: ldo2 {
194                                 regulator-name = "ldo2_1v3";
195                                 regulator-min-microvolt = <1250000>;
196                                 regulator-max-microvolt = <1350000>;
197                                 regulator-always-on;
198                         };
200                         ldo3_reg: ldo3 {
201                                 regulator-name = "ldo3_3v3";
202                                 regulator-min-microvolt = <3250000>;
203                                 regulator-max-microvolt = <3350000>;
204                                 regulator-always-on;
205                         };
207                         ldo4_reg: ldo4 {
208                                 regulator-name = "ldo4_2v775";
209                                 regulator-min-microvolt = <2770000>;
210                                 regulator-max-microvolt = <2780000>;
211                                 regulator-always-on;
212                         };
214                         ldo5_reg: ldo5 {
215                                 regulator-name = "ldo5_3v3";
216                                 regulator-min-microvolt = <3250000>;
217                                 regulator-max-microvolt = <3350000>;
218                                 regulator-always-on;
219                         };
221                         ldo6_reg: ldo6 {
222                                 regulator-name = "ldo6_1v3";
223                                 regulator-min-microvolt = <1250000>;
224                                 regulator-max-microvolt = <1350000>;
225                                 regulator-always-on;
226                         };
228                         ldo7_reg: ldo7 {
229                                 regulator-name = "ldo7_2v75";
230                                 regulator-min-microvolt = <2700000>;
231                                 regulator-max-microvolt = <2800000>;
232                                 regulator-always-on;
233                         };
235                         ldo8_reg: ldo8 {
236                                 regulator-name = "ldo8_1v8";
237                                 regulator-min-microvolt = <1750000>;
238                                 regulator-max-microvolt = <1850000>;
239                                 regulator-always-on;
240                         };
242                         ldo9_reg: ldo9 {
243                                 regulator-name = "ldo9_1v5";
244                                 regulator-min-microvolt = <1450000>;
245                                 regulator-max-microvolt = <1550000>;
246                                 regulator-always-on;
247                         };
249                         ldo10_reg: ldo10 {
250                                 regulator-name = "ldo10_1v3";
251                                 regulator-min-microvolt = <1250000>;
252                                 regulator-max-microvolt = <1350000>;
253                                 regulator-always-on;
254                         };
255                 };
256         };
259 &nfc {
260         pinctrl-names = "default";
261         pinctrl-0 = <&pinctrl_nand>;
262         nand-bus-width = <8>;
263         nand-ecc-mode = "hw";
264         status = "okay";
267 &uart1 {
268         pinctrl-names = "default";
269         pinctrl-0 = <&pinctrl_uart1>;
270         status = "okay";
273 &usbh1 {
274         vbus-supply = <&reg_usb_vbus>;
275         phy_type = "utmi";
276         status = "okay";