blob: 5fb41afad28708ac68ae82ee4bbad122155d63c5 [file] [log] [blame]
Shawn Guo082d33d2013-04-02 13:15:16 +08001/*
2 * Copyright 2012 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/ {
14 memory {
15 reg = <0x10000000 0x80000000>;
16 };
Nicolin Chen1169cf12013-12-16 18:37:48 +080017
18 sound-spdif {
19 compatible = "fsl,imx-audio-spdif",
20 "fsl,imx-sabreauto-spdif";
21 model = "imx-spdif";
22 spdif-controller = <&spdif>;
23 spdif-in;
24 };
Shawn Guo082d33d2013-04-02 13:15:16 +080025};
26
Huang Shijiefaacc292013-05-09 11:29:03 +080027&ecspi1 {
28 fsl,spi-num-chipselects = <1>;
29 cs-gpios = <&gpio3 19 0>;
30 pinctrl-names = "default";
Shawn Guo817c27a2013-10-23 15:36:09 +080031 pinctrl-0 = <&pinctrl_ecspi1 &pinctrl_ecspi1_cs>;
Huang Shijiefaacc292013-05-09 11:29:03 +080032 status = "disabled"; /* pin conflict with WEIM NOR */
33
34 flash: m25p80@0 {
35 #address-cells = <1>;
36 #size-cells = <1>;
37 compatible = "st,m25p32";
38 spi-max-frequency = <20000000>;
39 reg = <0>;
40 };
41};
42
Shawn Guo082d33d2013-04-02 13:15:16 +080043&fec {
44 pinctrl-names = "default";
Shawn Guo817c27a2013-10-23 15:36:09 +080045 pinctrl-0 = <&pinctrl_enet>;
Shawn Guo082d33d2013-04-02 13:15:16 +080046 phy-mode = "rgmii";
47 status = "okay";
48};
49
Huang Shijie82726932013-05-07 15:39:20 +080050&gpmi {
51 pinctrl-names = "default";
Shawn Guo817c27a2013-10-23 15:36:09 +080052 pinctrl-0 = <&pinctrl_gpmi_nand>;
Huang Shijie82726932013-05-07 15:39:20 +080053 status = "okay";
54};
55
Shawn Guoc56009b2f2013-07-11 13:58:36 +080056&iomuxc {
57 pinctrl-names = "default";
58 pinctrl-0 = <&pinctrl_hog>;
59
Shawn Guo817c27a2013-10-23 15:36:09 +080060 imx6qdl-sabreauto {
Shawn Guoc56009b2f2013-07-11 13:58:36 +080061 pinctrl_hog: hoggrp {
62 fsl,pins = <
63 MX6QDL_PAD_NANDF_CS2__GPIO6_IO15 0x80000000
64 MX6QDL_PAD_SD2_DAT2__GPIO1_IO13 0x80000000
Dong Aisheng93e2ca02013-09-13 19:11:38 +080065 MX6QDL_PAD_GPIO_18__SD3_VSELECT 0x17059
Shawn Guoc56009b2f2013-07-11 13:58:36 +080066 >;
67 };
Shawn Guoc56009b2f2013-07-11 13:58:36 +080068
Shawn Guo817c27a2013-10-23 15:36:09 +080069 pinctrl_ecspi1: ecspi1grp {
70 fsl,pins = <
71 MX6QDL_PAD_EIM_D17__ECSPI1_MISO 0x100b1
72 MX6QDL_PAD_EIM_D18__ECSPI1_MOSI 0x100b1
73 MX6QDL_PAD_EIM_D16__ECSPI1_SCLK 0x100b1
74 >;
75 };
76
77 pinctrl_ecspi1_cs: ecspi1cs {
Shawn Guoc56009b2f2013-07-11 13:58:36 +080078 fsl,pins = <
79 MX6QDL_PAD_EIM_D19__GPIO3_IO19 0x80000000
80 >;
81 };
Shawn Guo817c27a2013-10-23 15:36:09 +080082
83 pinctrl_enet: enetgrp {
84 fsl,pins = <
85 MX6QDL_PAD_KEY_COL1__ENET_MDIO 0x1b0b0
86 MX6QDL_PAD_KEY_COL2__ENET_MDC 0x1b0b0
87 MX6QDL_PAD_RGMII_TXC__RGMII_TXC 0x1b0b0
88 MX6QDL_PAD_RGMII_TD0__RGMII_TD0 0x1b0b0
89 MX6QDL_PAD_RGMII_TD1__RGMII_TD1 0x1b0b0
90 MX6QDL_PAD_RGMII_TD2__RGMII_TD2 0x1b0b0
91 MX6QDL_PAD_RGMII_TD3__RGMII_TD3 0x1b0b0
92 MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x1b0b0
93 MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x1b0b0
94 MX6QDL_PAD_RGMII_RXC__RGMII_RXC 0x1b0b0
95 MX6QDL_PAD_RGMII_RD0__RGMII_RD0 0x1b0b0
96 MX6QDL_PAD_RGMII_RD1__RGMII_RD1 0x1b0b0
97 MX6QDL_PAD_RGMII_RD2__RGMII_RD2 0x1b0b0
98 MX6QDL_PAD_RGMII_RD3__RGMII_RD3 0x1b0b0
99 MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b0b0
100 >;
101 };
102
103 pinctrl_gpmi_nand: gpminandgrp {
104 fsl,pins = <
105 MX6QDL_PAD_NANDF_CLE__NAND_CLE 0xb0b1
106 MX6QDL_PAD_NANDF_ALE__NAND_ALE 0xb0b1
107 MX6QDL_PAD_NANDF_WP_B__NAND_WP_B 0xb0b1
108 MX6QDL_PAD_NANDF_RB0__NAND_READY_B 0xb000
109 MX6QDL_PAD_NANDF_CS0__NAND_CE0_B 0xb0b1
110 MX6QDL_PAD_NANDF_CS1__NAND_CE1_B 0xb0b1
111 MX6QDL_PAD_SD4_CMD__NAND_RE_B 0xb0b1
112 MX6QDL_PAD_SD4_CLK__NAND_WE_B 0xb0b1
113 MX6QDL_PAD_NANDF_D0__NAND_DATA00 0xb0b1
114 MX6QDL_PAD_NANDF_D1__NAND_DATA01 0xb0b1
115 MX6QDL_PAD_NANDF_D2__NAND_DATA02 0xb0b1
116 MX6QDL_PAD_NANDF_D3__NAND_DATA03 0xb0b1
117 MX6QDL_PAD_NANDF_D4__NAND_DATA04 0xb0b1
118 MX6QDL_PAD_NANDF_D5__NAND_DATA05 0xb0b1
119 MX6QDL_PAD_NANDF_D6__NAND_DATA06 0xb0b1
120 MX6QDL_PAD_NANDF_D7__NAND_DATA07 0xb0b1
121 MX6QDL_PAD_SD4_DAT0__NAND_DQS 0x00b1
122 >;
123 };
124
Nicolin Chen1169cf12013-12-16 18:37:48 +0800125 pinctrl_spdif: spdifgrp {
126 fsl,pins = <
127 MX6QDL_PAD_KEY_COL3__SPDIF_IN 0x1b0b0
128 >;
129 };
130
Shawn Guo817c27a2013-10-23 15:36:09 +0800131 pinctrl_uart4: uart4grp {
132 fsl,pins = <
133 MX6QDL_PAD_KEY_COL0__UART4_TX_DATA 0x1b0b1
134 MX6QDL_PAD_KEY_ROW0__UART4_RX_DATA 0x1b0b1
135 >;
136 };
137
138 pinctrl_usdhc3: usdhc3grp {
139 fsl,pins = <
140 MX6QDL_PAD_SD3_CMD__SD3_CMD 0x17059
141 MX6QDL_PAD_SD3_CLK__SD3_CLK 0x10059
142 MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x17059
143 MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x17059
144 MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x17059
145 MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x17059
146 MX6QDL_PAD_SD3_DAT4__SD3_DATA4 0x17059
147 MX6QDL_PAD_SD3_DAT5__SD3_DATA5 0x17059
148 MX6QDL_PAD_SD3_DAT6__SD3_DATA6 0x17059
149 MX6QDL_PAD_SD3_DAT7__SD3_DATA7 0x17059
150 >;
151 };
152
153 pinctrl_usdhc3_100mhz: usdhc3grp100mhz {
154 fsl,pins = <
155 MX6QDL_PAD_SD3_CMD__SD3_CMD 0x170b9
156 MX6QDL_PAD_SD3_CLK__SD3_CLK 0x100b9
157 MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x170b9
158 MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x170b9
159 MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x170b9
160 MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x170b9
161 MX6QDL_PAD_SD3_DAT4__SD3_DATA4 0x170b9
162 MX6QDL_PAD_SD3_DAT5__SD3_DATA5 0x170b9
163 MX6QDL_PAD_SD3_DAT6__SD3_DATA6 0x170b9
164 MX6QDL_PAD_SD3_DAT7__SD3_DATA7 0x170b9
165 >;
166 };
167
168 pinctrl_usdhc3_200mhz: usdhc3grp200mhz {
169 fsl,pins = <
170 MX6QDL_PAD_SD3_CMD__SD3_CMD 0x170f9
171 MX6QDL_PAD_SD3_CLK__SD3_CLK 0x100f9
172 MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x170f9
173 MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x170f9
174 MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x170f9
175 MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x170f9
176 MX6QDL_PAD_SD3_DAT4__SD3_DATA4 0x170f9
177 MX6QDL_PAD_SD3_DAT5__SD3_DATA5 0x170f9
178 MX6QDL_PAD_SD3_DAT6__SD3_DATA6 0x170f9
179 MX6QDL_PAD_SD3_DAT7__SD3_DATA7 0x170f9
180 >;
181 };
182
183 pinctrl_weim_cs0: weimcs0grp {
184 fsl,pins = <
185 MX6QDL_PAD_EIM_CS0__EIM_CS0_B 0xb0b1
186 >;
187 };
188
189 pinctrl_weim_nor: weimnorgrp {
190 fsl,pins = <
191 MX6QDL_PAD_EIM_OE__EIM_OE_B 0xb0b1
192 MX6QDL_PAD_EIM_RW__EIM_RW 0xb0b1
193 MX6QDL_PAD_EIM_WAIT__EIM_WAIT_B 0xb060
194 MX6QDL_PAD_EIM_D16__EIM_DATA16 0x1b0b0
195 MX6QDL_PAD_EIM_D17__EIM_DATA17 0x1b0b0
196 MX6QDL_PAD_EIM_D18__EIM_DATA18 0x1b0b0
197 MX6QDL_PAD_EIM_D19__EIM_DATA19 0x1b0b0
198 MX6QDL_PAD_EIM_D20__EIM_DATA20 0x1b0b0
199 MX6QDL_PAD_EIM_D21__EIM_DATA21 0x1b0b0
200 MX6QDL_PAD_EIM_D22__EIM_DATA22 0x1b0b0
201 MX6QDL_PAD_EIM_D23__EIM_DATA23 0x1b0b0
202 MX6QDL_PAD_EIM_D24__EIM_DATA24 0x1b0b0
203 MX6QDL_PAD_EIM_D25__EIM_DATA25 0x1b0b0
204 MX6QDL_PAD_EIM_D26__EIM_DATA26 0x1b0b0
205 MX6QDL_PAD_EIM_D27__EIM_DATA27 0x1b0b0
206 MX6QDL_PAD_EIM_D28__EIM_DATA28 0x1b0b0
207 MX6QDL_PAD_EIM_D29__EIM_DATA29 0x1b0b0
208 MX6QDL_PAD_EIM_D30__EIM_DATA30 0x1b0b0
209 MX6QDL_PAD_EIM_D31__EIM_DATA31 0x1b0b0
210 MX6QDL_PAD_EIM_A23__EIM_ADDR23 0xb0b1
211 MX6QDL_PAD_EIM_A22__EIM_ADDR22 0xb0b1
212 MX6QDL_PAD_EIM_A21__EIM_ADDR21 0xb0b1
213 MX6QDL_PAD_EIM_A20__EIM_ADDR20 0xb0b1
214 MX6QDL_PAD_EIM_A19__EIM_ADDR19 0xb0b1
215 MX6QDL_PAD_EIM_A18__EIM_ADDR18 0xb0b1
216 MX6QDL_PAD_EIM_A17__EIM_ADDR17 0xb0b1
217 MX6QDL_PAD_EIM_A16__EIM_ADDR16 0xb0b1
218 MX6QDL_PAD_EIM_DA15__EIM_AD15 0xb0b1
219 MX6QDL_PAD_EIM_DA14__EIM_AD14 0xb0b1
220 MX6QDL_PAD_EIM_DA13__EIM_AD13 0xb0b1
221 MX6QDL_PAD_EIM_DA12__EIM_AD12 0xb0b1
222 MX6QDL_PAD_EIM_DA11__EIM_AD11 0xb0b1
223 MX6QDL_PAD_EIM_DA10__EIM_AD10 0xb0b1
224 MX6QDL_PAD_EIM_DA9__EIM_AD09 0xb0b1
225 MX6QDL_PAD_EIM_DA8__EIM_AD08 0xb0b1
226 MX6QDL_PAD_EIM_DA7__EIM_AD07 0xb0b1
227 MX6QDL_PAD_EIM_DA6__EIM_AD06 0xb0b1
228 MX6QDL_PAD_EIM_DA5__EIM_AD05 0xb0b1
229 MX6QDL_PAD_EIM_DA4__EIM_AD04 0xb0b1
230 MX6QDL_PAD_EIM_DA3__EIM_AD03 0xb0b1
231 MX6QDL_PAD_EIM_DA2__EIM_AD02 0xb0b1
232 MX6QDL_PAD_EIM_DA1__EIM_AD01 0xb0b1
233 MX6QDL_PAD_EIM_DA0__EIM_AD00 0xb0b1
234 >;
235 };
Shawn Guoc56009b2f2013-07-11 13:58:36 +0800236 };
237};
238
Nicolin Chen1169cf12013-12-16 18:37:48 +0800239&spdif {
240 pinctrl-names = "default";
241 pinctrl-0 = <&pinctrl_spdif>;
242 status = "okay";
243};
244
Shawn Guo082d33d2013-04-02 13:15:16 +0800245&uart4 {
246 pinctrl-names = "default";
Shawn Guo817c27a2013-10-23 15:36:09 +0800247 pinctrl-0 = <&pinctrl_uart4>;
Shawn Guo082d33d2013-04-02 13:15:16 +0800248 status = "okay";
249};
250
251&usdhc3 {
Dong Aisheng93e2ca02013-09-13 19:11:38 +0800252 pinctrl-names = "default", "state_100mhz", "state_200mhz";
Shawn Guo817c27a2013-10-23 15:36:09 +0800253 pinctrl-0 = <&pinctrl_usdhc3>;
254 pinctrl-1 = <&pinctrl_usdhc3_100mhz>;
255 pinctrl-2 = <&pinctrl_usdhc3_200mhz>;
Shawn Guo082d33d2013-04-02 13:15:16 +0800256 cd-gpios = <&gpio6 15 0>;
257 wp-gpios = <&gpio1 13 0>;
258 status = "okay";
259};
Huang Shijie50fe0e92013-05-28 14:20:12 +0800260
261&weim {
262 pinctrl-names = "default";
Shawn Guo817c27a2013-10-23 15:36:09 +0800263 pinctrl-0 = <&pinctrl_weim_nor &pinctrl_weim_cs0>;
Huang Shijie50fe0e92013-05-28 14:20:12 +0800264 #address-cells = <2>;
265 #size-cells = <1>;
266 ranges = <0 0 0x08000000 0x08000000>;
267 status = "disabled"; /* pin conflict with SPI NOR */
268
269 nor@0,0 {
270 compatible = "cfi-flash";
271 reg = <0 0 0x02000000>;
272 #address-cells = <1>;
273 #size-cells = <1>;
274 bank-width = <2>;
275 fsl,weim-cs-timing = <0x00620081 0x00000001 0x1c022000
276 0x0000c000 0x1404a38e 0x00000000>;
277 };
278};