staging:iio:adc:ad7606 move to info_mask_(shared_by_type/separate)
[linux/fpc-iii.git] / arch / arm / boot / dts / imx6q.dtsi
blobcba021eb035e7b62c7dc166d291e8e02196b3b1a
2 /*
3  * Copyright 2013 Freescale Semiconductor, Inc.
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License version 2 as
7  * published by the Free Software Foundation.
8  *
9  */
11 /include/ "imx6qdl.dtsi"
13 / {
14         cpus {
15                 #address-cells = <1>;
16                 #size-cells = <0>;
18                 cpu@0 {
19                         compatible = "arm,cortex-a9";
20                         reg = <0>;
21                         next-level-cache = <&L2>;
22                         operating-points = <
23                                 /* kHz    uV */
24                                 1200000 1275000
25                                 996000  1250000
26                                 792000  1150000
27                                 396000  950000
28                         >;
29                         clock-latency = <61036>; /* two CLK32 periods */
30                         clocks = <&clks 104>, <&clks 6>, <&clks 16>,
31                                  <&clks 17>, <&clks 170>;
32                         clock-names = "arm", "pll2_pfd2_396m", "step",
33                                       "pll1_sw", "pll1_sys";
34                         arm-supply = <&reg_arm>;
35                         pu-supply = <&reg_pu>;
36                         soc-supply = <&reg_soc>;
37                 };
39                 cpu@1 {
40                         compatible = "arm,cortex-a9";
41                         reg = <1>;
42                         next-level-cache = <&L2>;
43                 };
45                 cpu@2 {
46                         compatible = "arm,cortex-a9";
47                         reg = <2>;
48                         next-level-cache = <&L2>;
49                 };
51                 cpu@3 {
52                         compatible = "arm,cortex-a9";
53                         reg = <3>;
54                         next-level-cache = <&L2>;
55                 };
56         };
58         soc {
59                 aips-bus@02000000 { /* AIPS1 */
60                         spba-bus@02000000 {
61                                 ecspi5: ecspi@02018000 {
62                                         #address-cells = <1>;
63                                         #size-cells = <0>;
64                                         compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
65                                         reg = <0x02018000 0x4000>;
66                                         interrupts = <0 35 0x04>;
67                                         clocks = <&clks 116>, <&clks 116>;
68                                         clock-names = "ipg", "per";
69                                         status = "disabled";
70                                 };
71                         };
73                         iomuxc: iomuxc@020e0000 {
74                                 compatible = "fsl,imx6q-iomuxc";
75                                 reg = <0x020e0000 0x4000>;
77                                 /* shared pinctrl settings */
78                                 audmux {
79                                         pinctrl_audmux_1: audmux-1 {
80                                                 fsl,pins = <
81                                                         18   0x80000000 /* MX6Q_PAD_SD2_DAT0__AUDMUX_AUD4_RXD */
82                                                         1586 0x80000000 /* MX6Q_PAD_SD2_DAT3__AUDMUX_AUD4_TXC */
83                                                         11   0x80000000 /* MX6Q_PAD_SD2_DAT2__AUDMUX_AUD4_TXD */
84                                                         3    0x80000000 /* MX6Q_PAD_SD2_DAT1__AUDMUX_AUD4_TXFS */
85                                                 >;
86                                         };
87                                 };
89                                 ecspi1 {
90                                         pinctrl_ecspi1_1: ecspi1grp-1 {
91                                                 fsl,pins = <
92                                                         101 0x100b1     /* MX6Q_PAD_EIM_D17__ECSPI1_MISO */
93                                                         109 0x100b1     /* MX6Q_PAD_EIM_D18__ECSPI1_MOSI */
94                                                         94  0x100b1     /* MX6Q_PAD_EIM_D16__ECSPI1_SCLK */
95                                                 >;
96                                         };
97                                 };
99                                 enet {
100                                         pinctrl_enet_1: enetgrp-1 {
101                                                 fsl,pins = <
102                                                         695 0x1b0b0     /* MX6Q_PAD_ENET_MDIO__ENET_MDIO */
103                                                         756 0x1b0b0     /* MX6Q_PAD_ENET_MDC__ENET_MDC */
104                                                         24  0x1b0b0     /* MX6Q_PAD_RGMII_TXC__ENET_RGMII_TXC */
105                                                         30  0x1b0b0     /* MX6Q_PAD_RGMII_TD0__ENET_RGMII_TD0 */
106                                                         34  0x1b0b0     /* MX6Q_PAD_RGMII_TD1__ENET_RGMII_TD1 */
107                                                         39  0x1b0b0     /* MX6Q_PAD_RGMII_TD2__ENET_RGMII_TD2 */
108                                                         44  0x1b0b0     /* MX6Q_PAD_RGMII_TD3__ENET_RGMII_TD3 */
109                                                         56  0x1b0b0     /* MX6Q_PAD_RGMII_TX_CTL__RGMII_TX_CTL */
110                                                         702 0x1b0b0     /* MX6Q_PAD_ENET_REF_CLK__ENET_TX_CLK */
111                                                         74  0x1b0b0     /* MX6Q_PAD_RGMII_RXC__ENET_RGMII_RXC */
112                                                         52  0x1b0b0     /* MX6Q_PAD_RGMII_RD0__ENET_RGMII_RD0 */
113                                                         61  0x1b0b0     /* MX6Q_PAD_RGMII_RD1__ENET_RGMII_RD1 */
114                                                         66  0x1b0b0     /* MX6Q_PAD_RGMII_RD2__ENET_RGMII_RD2 */
115                                                         70  0x1b0b0     /* MX6Q_PAD_RGMII_RD3__ENET_RGMII_RD3 */
116                                                         48  0x1b0b0     /* MX6Q_PAD_RGMII_RX_CTL__RGMII_RX_CTL */
117                                                         1033 0x4001b0a8 /* MX6Q_PAD_GPIO_16__ENET_ANATOP_ETHERNET_REF_OUT*/
118                                                 >;
119                                         };
121                                         pinctrl_enet_2: enetgrp-2 {
122                                                 fsl,pins = <
123                                                         890 0x1b0b0     /* MX6Q_PAD_KEY_COL1__ENET_MDIO */
124                                                         909 0x1b0b0     /* MX6Q_PAD_KEY_COL2__ENET_MDC */
125                                                         24  0x1b0b0     /* MX6Q_PAD_RGMII_TXC__ENET_RGMII_TXC */
126                                                         30  0x1b0b0     /* MX6Q_PAD_RGMII_TD0__ENET_RGMII_TD0 */
127                                                         34  0x1b0b0     /* MX6Q_PAD_RGMII_TD1__ENET_RGMII_TD1 */
128                                                         39  0x1b0b0     /* MX6Q_PAD_RGMII_TD2__ENET_RGMII_TD2 */
129                                                         44  0x1b0b0     /* MX6Q_PAD_RGMII_TD3__ENET_RGMII_TD3 */
130                                                         56  0x1b0b0     /* MX6Q_PAD_RGMII_TX_CTL__RGMII_TX_CTL */
131                                                         702 0x1b0b0     /* MX6Q_PAD_ENET_REF_CLK__ENET_TX_CLK */
132                                                         74  0x1b0b0     /* MX6Q_PAD_RGMII_RXC__ENET_RGMII_RXC */
133                                                         52  0x1b0b0     /* MX6Q_PAD_RGMII_RD0__ENET_RGMII_RD0 */
134                                                         61  0x1b0b0     /* MX6Q_PAD_RGMII_RD1__ENET_RGMII_RD1 */
135                                                         66  0x1b0b0     /* MX6Q_PAD_RGMII_RD2__ENET_RGMII_RD2 */
136                                                         70  0x1b0b0     /* MX6Q_PAD_RGMII_RD3__ENET_RGMII_RD3 */
137                                                         48  0x1b0b0     /* MX6Q_PAD_RGMII_RX_CTL__RGMII_RX_CTL */
138                                                 >;
139                                         };
140                                 };
142                                 gpmi-nand {
143                                         pinctrl_gpmi_nand_1: gpmi-nand-1 {
144                                                 fsl,pins = <
145                                                         1328 0xb0b1     /* MX6Q_PAD_NANDF_CLE__RAWNAND_CLE */
146                                                         1336 0xb0b1     /* MX6Q_PAD_NANDF_ALE__RAWNAND_ALE */
147                                                         1344 0xb0b1     /* MX6Q_PAD_NANDF_WP_B__RAWNAND_RESETN */
148                                                         1352 0xb000     /* MX6Q_PAD_NANDF_RB0__RAWNAND_READY0 */
149                                                         1360 0xb0b1     /* MX6Q_PAD_NANDF_CS0__RAWNAND_CE0N */
150                                                         1365 0xb0b1     /* MX6Q_PAD_NANDF_CS1__RAWNAND_CE1N */
151                                                         1371 0xb0b1     /* MX6Q_PAD_NANDF_CS2__RAWNAND_CE2N */
152                                                         1378 0xb0b1     /* MX6Q_PAD_NANDF_CS3__RAWNAND_CE3N */
153                                                         1387 0xb0b1     /* MX6Q_PAD_SD4_CMD__RAWNAND_RDN */
154                                                         1393 0xb0b1     /* MX6Q_PAD_SD4_CLK__RAWNAND_WRN */
155                                                         1397 0xb0b1     /* MX6Q_PAD_NANDF_D0__RAWNAND_D0 */
156                                                         1405 0xb0b1     /* MX6Q_PAD_NANDF_D1__RAWNAND_D1 */
157                                                         1413 0xb0b1     /* MX6Q_PAD_NANDF_D2__RAWNAND_D2 */
158                                                         1421 0xb0b1     /* MX6Q_PAD_NANDF_D3__RAWNAND_D3 */
159                                                         1429 0xb0b1     /* MX6Q_PAD_NANDF_D4__RAWNAND_D4 */
160                                                         1437 0xb0b1     /* MX6Q_PAD_NANDF_D5__RAWNAND_D5 */
161                                                         1445 0xb0b1     /* MX6Q_PAD_NANDF_D6__RAWNAND_D6 */
162                                                         1453 0xb0b1     /* MX6Q_PAD_NANDF_D7__RAWNAND_D7 */
163                                                         1463 0x00b1     /* MX6Q_PAD_SD4_DAT0__RAWNAND_DQS */
164                                                 >;
165                                         };
166                                 };
168                                 i2c1 {
169                                         pinctrl_i2c1_1: i2c1grp-1 {
170                                                 fsl,pins = <
171                                                         137 0x4001b8b1  /* MX6Q_PAD_EIM_D21__I2C1_SCL */
172                                                         196 0x4001b8b1  /* MX6Q_PAD_EIM_D28__I2C1_SDA */
173                                                 >;
174                                         };
175                                 };
177                                 uart1 {
178                                         pinctrl_uart1_1: uart1grp-1 {
179                                                 fsl,pins = <
180                                                         1140 0x1b0b1    /* MX6Q_PAD_CSI0_DAT10__UART1_TXD */
181                                                         1148 0x1b0b1    /* MX6Q_PAD_CSI0_DAT11__UART1_RXD */
182                                                 >;
183                                         };
184                                 };
186                                 uart2 {
187                                         pinctrl_uart2_1: uart2grp-1 {
188                                                 fsl,pins = <
189                                                         183 0x1b0b1     /* MX6Q_PAD_EIM_D26__UART2_TXD */
190                                                         191 0x1b0b1     /* MX6Q_PAD_EIM_D27__UART2_RXD */
191                                                 >;
192                                         };
193                                 };
195                                 uart4 {
196                                         pinctrl_uart4_1: uart4grp-1 {
197                                                 fsl,pins = <
198                                                         877 0x1b0b1     /* MX6Q_PAD_KEY_COL0__UART4_TXD */
199                                                         885 0x1b0b1     /* MX6Q_PAD_KEY_ROW0__UART4_RXD */
200                                                 >;
201                                         };
202                                 };
204                                 usbotg {
205                                         pinctrl_usbotg_1: usbotggrp-1 {
206                                                 fsl,pins = <
207                                                         1592 0x17059    /* MX6Q_PAD_GPIO_1__ANATOP_USBOTG_ID */
208                                                 >;
209                                         };
210                                 };
212                                 usdhc2 {
213                                         pinctrl_usdhc2_1: usdhc2grp-1 {
214                                                 fsl,pins = <
215                                                         1577 0x17059    /* MX6Q_PAD_SD2_CMD__USDHC2_CMD */
216                                                         1569 0x10059    /* MX6Q_PAD_SD2_CLK__USDHC2_CLK */
217                                                         16   0x17059    /* MX6Q_PAD_SD2_DAT0__USDHC2_DAT0 */
218                                                         0    0x17059    /* MX6Q_PAD_SD2_DAT1__USDHC2_DAT1 */
219                                                         8    0x17059    /* MX6Q_PAD_SD2_DAT2__USDHC2_DAT2 */
220                                                         1583 0x17059    /* MX6Q_PAD_SD2_DAT3__USDHC2_DAT3 */
221                                                         1430 0x17059    /* MX6Q_PAD_NANDF_D4__USDHC2_DAT4 */
222                                                         1438 0x17059    /* MX6Q_PAD_NANDF_D5__USDHC2_DAT5 */
223                                                         1446 0x17059    /* MX6Q_PAD_NANDF_D6__USDHC2_DAT6 */
224                                                         1454 0x17059    /* MX6Q_PAD_NANDF_D7__USDHC2_DAT7 */
225                                                 >;
226                                         };
227                                 };
229                                 usdhc3 {
230                                         pinctrl_usdhc3_1: usdhc3grp-1 {
231                                                 fsl,pins = <
232                                                         1273 0x17059    /* MX6Q_PAD_SD3_CMD__USDHC3_CMD */
233                                                         1281 0x10059    /* MX6Q_PAD_SD3_CLK__USDHC3_CLK */
234                                                         1289 0x17059    /* MX6Q_PAD_SD3_DAT0__USDHC3_DAT0 */
235                                                         1297 0x17059    /* MX6Q_PAD_SD3_DAT1__USDHC3_DAT1 */
236                                                         1305 0x17059    /* MX6Q_PAD_SD3_DAT2__USDHC3_DAT2 */
237                                                         1312 0x17059    /* MX6Q_PAD_SD3_DAT3__USDHC3_DAT3 */
238                                                         1265 0x17059    /* MX6Q_PAD_SD3_DAT4__USDHC3_DAT4 */
239                                                         1257 0x17059    /* MX6Q_PAD_SD3_DAT5__USDHC3_DAT5 */
240                                                         1249 0x17059    /* MX6Q_PAD_SD3_DAT6__USDHC3_DAT6 */
241                                                         1241 0x17059    /* MX6Q_PAD_SD3_DAT7__USDHC3_DAT7 */
242                                                 >;
243                                         };
245                                         pinctrl_usdhc3_2: usdhc3grp-2 {
246                                                 fsl,pins = <
247                                                         1273 0x17059    /* MX6Q_PAD_SD3_CMD__USDHC3_CMD */
248                                                         1281 0x10059    /* MX6Q_PAD_SD3_CLK__USDHC3_CLK */
249                                                         1289 0x17059    /* MX6Q_PAD_SD3_DAT0__USDHC3_DAT0 */
250                                                         1297 0x17059    /* MX6Q_PAD_SD3_DAT1__USDHC3_DAT1 */
251                                                         1305 0x17059    /* MX6Q_PAD_SD3_DAT2__USDHC3_DAT2 */
252                                                         1312 0x17059    /* MX6Q_PAD_SD3_DAT3__USDHC3_DAT3 */
253                                                 >;
254                                         };
255                                 };
257                                 usdhc4 {
258                                         pinctrl_usdhc4_1: usdhc4grp-1 {
259                                                 fsl,pins = <
260                                                         1386 0x17059    /* MX6Q_PAD_SD4_CMD__USDHC4_CMD */
261                                                         1392 0x10059    /* MX6Q_PAD_SD4_CLK__USDHC4_CLK */
262                                                         1462 0x17059    /* MX6Q_PAD_SD4_DAT0__USDHC4_DAT0 */
263                                                         1470 0x17059    /* MX6Q_PAD_SD4_DAT1__USDHC4_DAT1 */
264                                                         1478 0x17059    /* MX6Q_PAD_SD4_DAT2__USDHC4_DAT2 */
265                                                         1486 0x17059    /* MX6Q_PAD_SD4_DAT3__USDHC4_DAT3 */
266                                                         1493 0x17059    /* MX6Q_PAD_SD4_DAT4__USDHC4_DAT4 */
267                                                         1501 0x17059    /* MX6Q_PAD_SD4_DAT5__USDHC4_DAT5 */
268                                                         1509 0x17059    /* MX6Q_PAD_SD4_DAT6__USDHC4_DAT6 */
269                                                         1517 0x17059    /* MX6Q_PAD_SD4_DAT7__USDHC4_DAT7 */
270                                                 >;
271                                         };
273                                         pinctrl_usdhc4_2: usdhc4grp-2 {
274                                                 fsl,pins = <
275                                                         1386 0x17059    /* MX6Q_PAD_SD4_CMD__USDHC4_CMD */
276                                                         1392 0x10059    /* MX6Q_PAD_SD4_CLK__USDHC4_CLK */
277                                                         1462 0x17059    /* MX6Q_PAD_SD4_DAT0__USDHC4_DAT0 */
278                                                         1470 0x17059    /* MX6Q_PAD_SD4_DAT1__USDHC4_DAT1 */
279                                                         1478 0x17059    /* MX6Q_PAD_SD4_DAT2__USDHC4_DAT2 */
280                                                         1486 0x17059    /* MX6Q_PAD_SD4_DAT3__USDHC4_DAT3 */
281                                                 >;
282                                         };
283                                 };
284                         };
285                 };
287                 ipu2: ipu@02800000 {
288                         #crtc-cells = <1>;
289                         compatible = "fsl,imx6q-ipu";
290                         reg = <0x02800000 0x400000>;
291                         interrupts = <0 8 0x4 0 7 0x4>;
292                         clocks = <&clks 133>, <&clks 134>, <&clks 137>;
293                         clock-names = "bus", "di0", "di1";
294                 };
295         };