x86/mm/pat: Don't report PAT on CPUs that don't support it
[linux/fpc-iii.git] / arch / arm / boot / dts / imx53-qsb-common.dtsi
blob40b3e31935d0b765aaaed03d27aa21a71eff0e04
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  */
13 #include "imx53.dtsi"
15 / {
16         chosen {
17                 stdout-path = &uart1;
18         };
20         memory {
21                 reg = <0x70000000 0x20000000>,
22                       <0xb0000000 0x20000000>;
23         };
25         display0: display@di0 {
26                 compatible = "fsl,imx-parallel-display";
27                 interface-pix-fmt = "rgb565";
28                 pinctrl-names = "default";
29                 pinctrl-0 = <&pinctrl_ipu_disp0>;
30                 status = "disabled";
31                 display-timings {
32                         claawvga {
33                                 native-mode;
34                                 clock-frequency = <27000000>;
35                                 hactive = <800>;
36                                 vactive = <480>;
37                                 hback-porch = <40>;
38                                 hfront-porch = <60>;
39                                 vback-porch = <10>;
40                                 vfront-porch = <10>;
41                                 hsync-len = <20>;
42                                 vsync-len = <10>;
43                                 hsync-active = <0>;
44                                 vsync-active = <0>;
45                                 de-active = <1>;
46                                 pixelclk-active = <0>;
47                         };
48                 };
50                 port {
51                         display0_in: endpoint {
52                                 remote-endpoint = <&ipu_di0_disp0>;
53                         };
54                 };
55         };
57         gpio-keys {
58                 compatible = "gpio-keys";
60                 power {
61                         label = "Power Button";
62                         gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
63                         linux,code = <KEY_POWER>;
64                 };
66                 volume-up {
67                         label = "Volume Up";
68                         gpios = <&gpio2 14 GPIO_ACTIVE_LOW>;
69                         linux,code = <KEY_VOLUMEUP>;
70                         wakeup-source;
71                 };
73                 volume-down {
74                         label = "Volume Down";
75                         gpios = <&gpio2 15 GPIO_ACTIVE_LOW>;
76                         linux,code = <KEY_VOLUMEDOWN>;
77                         wakeup-source;
78                 };
79         };
81         leds {
82                 compatible = "gpio-leds";
83                 pinctrl-names = "default";
84                 pinctrl-0 = <&led_pin_gpio7_7>;
86                 user {
87                         label = "Heartbeat";
88                         gpios = <&gpio7 7 0>;
89                         linux,default-trigger = "heartbeat";
90                 };
91         };
93         regulators {
94                 compatible = "simple-bus";
95                 #address-cells = <1>;
96                 #size-cells = <0>;
98                 reg_3p2v: regulator@0 {
99                         compatible = "regulator-fixed";
100                         reg = <0>;
101                         regulator-name = "3P2V";
102                         regulator-min-microvolt = <3200000>;
103                         regulator-max-microvolt = <3200000>;
104                         regulator-always-on;
105                 };
107                 reg_usb_vbus: regulator@1 {
108                         compatible = "regulator-fixed";
109                         reg = <1>;
110                         regulator-name = "usb_vbus";
111                         regulator-min-microvolt = <5000000>;
112                         regulator-max-microvolt = <5000000>;
113                         gpio = <&gpio7 8 0>;
114                         enable-active-high;
115                 };
116         };
118         sound {
119                 compatible = "fsl,imx53-qsb-sgtl5000",
120                              "fsl,imx-audio-sgtl5000";
121                 model = "imx53-qsb-sgtl5000";
122                 ssi-controller = <&ssi2>;
123                 audio-codec = <&sgtl5000>;
124                 audio-routing =
125                         "MIC_IN", "Mic Jack",
126                         "Mic Jack", "Mic Bias",
127                         "Headphone Jack", "HP_OUT";
128                 mux-int-port = <2>;
129                 mux-ext-port = <5>;
130         };
133 &esdhc1 {
134         pinctrl-names = "default";
135         pinctrl-0 = <&pinctrl_esdhc1>;
136         status = "okay";
139 &ipu_di0_disp0 {
140         remote-endpoint = <&display0_in>;
143 &ssi2 {
144         status = "okay";
147 &esdhc3 {
148         pinctrl-names = "default";
149         pinctrl-0 = <&pinctrl_esdhc3>;
150         cd-gpios = <&gpio3 11 GPIO_ACTIVE_LOW>;
151         wp-gpios = <&gpio3 12 GPIO_ACTIVE_HIGH>;
152         bus-width = <8>;
153         status = "okay";
156 &iomuxc {
157         pinctrl-names = "default";
158         pinctrl-0 = <&pinctrl_hog>;
160         imx53-qsb {
161                 pinctrl_hog: hoggrp {
162                         fsl,pins = <
163                                 MX53_PAD_GPIO_0__CCM_SSI_EXT1_CLK 0x80000000
164                                 MX53_PAD_GPIO_8__GPIO1_8          0x80000000
165                                 MX53_PAD_PATA_DATA14__GPIO2_14    0x80000000
166                                 MX53_PAD_PATA_DATA15__GPIO2_15    0x80000000
167                                 MX53_PAD_EIM_DA11__GPIO3_11       0x80000000
168                                 MX53_PAD_EIM_DA12__GPIO3_12       0x80000000
169                                 MX53_PAD_PATA_DA_0__GPIO7_6       0x80000000
170                                 MX53_PAD_PATA_DA_2__GPIO7_8       0x80000000
171                                 MX53_PAD_GPIO_16__GPIO7_11        0x80000000
172                         >;
173                 };
175                 led_pin_gpio7_7: led_gpio7_7@0 {
176                         fsl,pins = <
177                                 MX53_PAD_PATA_DA_1__GPIO7_7 0x80000000
178                         >;
179                 };
181                 pinctrl_audmux: audmuxgrp {
182                         fsl,pins = <
183                                 MX53_PAD_KEY_COL0__AUDMUX_AUD5_TXC      0x80000000
184                                 MX53_PAD_KEY_ROW0__AUDMUX_AUD5_TXD      0x80000000
185                                 MX53_PAD_KEY_COL1__AUDMUX_AUD5_TXFS     0x80000000
186                                 MX53_PAD_KEY_ROW1__AUDMUX_AUD5_RXD      0x80000000
187                         >;
188                 };
190                 pinctrl_esdhc1: esdhc1grp {
191                         fsl,pins = <
192                                 MX53_PAD_SD1_DATA0__ESDHC1_DAT0         0x1d5
193                                 MX53_PAD_SD1_DATA1__ESDHC1_DAT1         0x1d5
194                                 MX53_PAD_SD1_DATA2__ESDHC1_DAT2         0x1d5
195                                 MX53_PAD_SD1_DATA3__ESDHC1_DAT3         0x1d5
196                                 MX53_PAD_SD1_CMD__ESDHC1_CMD            0x1d5
197                                 MX53_PAD_SD1_CLK__ESDHC1_CLK            0x1d5
198                         >;
199                 };
201                 pinctrl_esdhc3: esdhc3grp {
202                         fsl,pins = <
203                                 MX53_PAD_PATA_DATA8__ESDHC3_DAT0        0x1d5
204                                 MX53_PAD_PATA_DATA9__ESDHC3_DAT1        0x1d5
205                                 MX53_PAD_PATA_DATA10__ESDHC3_DAT2       0x1d5
206                                 MX53_PAD_PATA_DATA11__ESDHC3_DAT3       0x1d5
207                                 MX53_PAD_PATA_DATA0__ESDHC3_DAT4        0x1d5
208                                 MX53_PAD_PATA_DATA1__ESDHC3_DAT5        0x1d5
209                                 MX53_PAD_PATA_DATA2__ESDHC3_DAT6        0x1d5
210                                 MX53_PAD_PATA_DATA3__ESDHC3_DAT7        0x1d5
211                                 MX53_PAD_PATA_RESET_B__ESDHC3_CMD       0x1d5
212                                 MX53_PAD_PATA_IORDY__ESDHC3_CLK         0x1d5
213                         >;
214                 };
216                 pinctrl_fec: fecgrp {
217                         fsl,pins = <
218                                 MX53_PAD_FEC_MDC__FEC_MDC               0x4
219                                 MX53_PAD_FEC_MDIO__FEC_MDIO             0x1fc
220                                 MX53_PAD_FEC_REF_CLK__FEC_TX_CLK        0x180
221                                 MX53_PAD_FEC_RX_ER__FEC_RX_ER           0x180
222                                 MX53_PAD_FEC_CRS_DV__FEC_RX_DV          0x180
223                                 MX53_PAD_FEC_RXD1__FEC_RDATA_1          0x180
224                                 MX53_PAD_FEC_RXD0__FEC_RDATA_0          0x180
225                                 MX53_PAD_FEC_TX_EN__FEC_TX_EN           0x4
226                                 MX53_PAD_FEC_TXD1__FEC_TDATA_1          0x4
227                                 MX53_PAD_FEC_TXD0__FEC_TDATA_0          0x4
228                         >;
229                 };
231                 /* open drain */
232                 pinctrl_i2c1: i2c1grp {
233                         fsl,pins = <
234                                 MX53_PAD_CSI0_DAT8__I2C1_SDA            0x400001ec
235                                 MX53_PAD_CSI0_DAT9__I2C1_SCL            0x400001ec
236                         >;
237                 };
239                 pinctrl_i2c2: i2c2grp {
240                         fsl,pins = <
241                                 MX53_PAD_KEY_ROW3__I2C2_SDA             0xc0000000
242                                 MX53_PAD_KEY_COL3__I2C2_SCL             0xc0000000
243                         >;
244                 };
246                 pinctrl_ipu_disp0: ipudisp0grp {
247                         fsl,pins = <
248                                 MX53_PAD_DI0_DISP_CLK__IPU_DI0_DISP_CLK 0x5
249                                 MX53_PAD_DI0_PIN15__IPU_DI0_PIN15       0x5
250                                 MX53_PAD_DI0_PIN2__IPU_DI0_PIN2         0x5
251                                 MX53_PAD_DI0_PIN3__IPU_DI0_PIN3         0x5
252                                 MX53_PAD_DISP0_DAT0__IPU_DISP0_DAT_0    0x5
253                                 MX53_PAD_DISP0_DAT1__IPU_DISP0_DAT_1    0x5
254                                 MX53_PAD_DISP0_DAT2__IPU_DISP0_DAT_2    0x5
255                                 MX53_PAD_DISP0_DAT3__IPU_DISP0_DAT_3    0x5
256                                 MX53_PAD_DISP0_DAT4__IPU_DISP0_DAT_4    0x5
257                                 MX53_PAD_DISP0_DAT5__IPU_DISP0_DAT_5    0x5
258                                 MX53_PAD_DISP0_DAT6__IPU_DISP0_DAT_6    0x5
259                                 MX53_PAD_DISP0_DAT7__IPU_DISP0_DAT_7    0x5
260                                 MX53_PAD_DISP0_DAT8__IPU_DISP0_DAT_8    0x5
261                                 MX53_PAD_DISP0_DAT9__IPU_DISP0_DAT_9    0x5
262                                 MX53_PAD_DISP0_DAT10__IPU_DISP0_DAT_10  0x5
263                                 MX53_PAD_DISP0_DAT11__IPU_DISP0_DAT_11  0x5
264                                 MX53_PAD_DISP0_DAT12__IPU_DISP0_DAT_12  0x5
265                                 MX53_PAD_DISP0_DAT13__IPU_DISP0_DAT_13  0x5
266                                 MX53_PAD_DISP0_DAT14__IPU_DISP0_DAT_14  0x5
267                                 MX53_PAD_DISP0_DAT15__IPU_DISP0_DAT_15  0x5
268                                 MX53_PAD_DISP0_DAT16__IPU_DISP0_DAT_16  0x5
269                                 MX53_PAD_DISP0_DAT17__IPU_DISP0_DAT_17  0x5
270                                 MX53_PAD_DISP0_DAT18__IPU_DISP0_DAT_18  0x5
271                                 MX53_PAD_DISP0_DAT19__IPU_DISP0_DAT_19  0x5
272                                 MX53_PAD_DISP0_DAT20__IPU_DISP0_DAT_20  0x5
273                                 MX53_PAD_DISP0_DAT21__IPU_DISP0_DAT_21  0x5
274                                 MX53_PAD_DISP0_DAT22__IPU_DISP0_DAT_22  0x5
275                                 MX53_PAD_DISP0_DAT23__IPU_DISP0_DAT_23  0x5
276                         >;
277                 };
279                 pinctrl_vga_sync: vgasync-grp {
280                         fsl,pins = <
281                                 /* VGA_HSYNC, VSYNC with max drive strength */
282                                 MX53_PAD_EIM_OE__IPU_DI1_PIN7 0xe6
283                                 MX53_PAD_EIM_RW__IPU_DI1_PIN8 0xe6
284                         >;
285                 };
287                 pinctrl_uart1: uart1grp {
288                         fsl,pins = <
289                                 MX53_PAD_CSI0_DAT10__UART1_TXD_MUX      0x1e4
290                                 MX53_PAD_CSI0_DAT11__UART1_RXD_MUX      0x1e4
291                         >;
292                 };
293         };
296 &tve {
297         pinctrl-names = "default";
298         pinctrl-0 = <&pinctrl_vga_sync>;
299         ddc-i2c-bus = <&i2c2>;
300         fsl,tve-mode = "vga";
301         fsl,hsync-pin = <7>;    /* IPU DI1 PIN7 via EIM_OE */
302         fsl,vsync-pin = <8>;    /* IPU DI1 PIN8 via EIM_RW */
303         status = "okay";
306 &uart1 {
307         pinctrl-names = "default";
308         pinctrl-0 = <&pinctrl_uart1>;
309         status = "okay";
312 &i2c2 {
313         pinctrl-names = "default";
314         pinctrl-0 = <&pinctrl_i2c2>;
315         status = "okay";
317         sgtl5000: codec@0a {
318                 compatible = "fsl,sgtl5000";
319                 reg = <0x0a>;
320                 VDDA-supply = <&reg_3p2v>;
321                 VDDIO-supply = <&reg_3p2v>;
322                 clocks = <&clks IMX5_CLK_SSI_EXT1_GATE>;
323         };
326 &i2c1 {
327         pinctrl-names = "default";
328         pinctrl-0 = <&pinctrl_i2c1>;
329         status = "okay";
331         accelerometer: mma8450@1c {
332                 compatible = "fsl,mma8450";
333                 reg = <0x1c>;
334         };
337 &audmux {
338         pinctrl-names = "default";
339         pinctrl-0 = <&pinctrl_audmux>;
340         status = "okay";
343 &fec {
344         pinctrl-names = "default";
345         pinctrl-0 = <&pinctrl_fec>;
346         phy-mode = "rmii";
347         phy-reset-gpios = <&gpio7 6 0>;
348         status = "okay";
351 &sata {
352         status = "okay";
355 &vpu {
356         status = "okay";
359 &usbh1 {
360         vbus-supply = <&reg_usb_vbus>;
361         phy_type = "utmi";
362         status = "okay";
365 &usbotg {
366         dr_mode = "peripheral";
367         status = "okay";