1 --- a/arch/arm/boot/dts/Makefile
2 +++ b/arch/arm/boot/dts/Makefile
3 @@ -117,6 +117,15 @@ dtb-$(CONFIG_ARCH_MXC) += \
11 + imx6q-gw5400-a.dtb \
19 --- a/arch/arm/boot/dts/imx6q.dtsi
20 +++ b/arch/arm/boot/dts/imx6q.dtsi
22 MX6Q_PAD_SD4_DAT0__NAND_DQS 0x00b1
27 + pinctrl_gpmi_nand_2: gpmi-nand-2 {
29 + MX6Q_PAD_NANDF_CLE__NAND_CLE 0xb0b1
30 + MX6Q_PAD_NANDF_ALE__NAND_ALE 0xb0b1
31 + MX6Q_PAD_NANDF_WP_B__NAND_WP_B 0xb0b1
32 + MX6Q_PAD_NANDF_RB0__NAND_READY_B 0xb000
33 + MX6Q_PAD_NANDF_CS0__NAND_CE0_B 0xb0b1
34 + MX6Q_PAD_NANDF_CS1__NAND_CE1_B 0xb0b1
35 + MX6Q_PAD_NANDF_CS2__NAND_CE2_B 0xb0b1
36 + MX6Q_PAD_NANDF_CS3__NAND_CE3_B 0xb0b1
37 + MX6Q_PAD_SD4_CMD__NAND_RE_B 0xb0b1
38 + MX6Q_PAD_SD4_CLK__NAND_WE_B 0xb0b1
39 + MX6Q_PAD_NANDF_D0__NAND_DATA00 0xb0b1
40 + MX6Q_PAD_NANDF_D1__NAND_DATA01 0xb0b1
41 + MX6Q_PAD_NANDF_D2__NAND_DATA02 0xb0b1
42 + MX6Q_PAD_NANDF_D3__NAND_DATA03 0xb0b1
43 + MX6Q_PAD_NANDF_D4__NAND_DATA04 0xb0b1
44 + MX6Q_PAD_NANDF_D5__NAND_DATA05 0xb0b1
45 + MX6Q_PAD_NANDF_D6__NAND_DATA06 0xb0b1
46 + MX6Q_PAD_NANDF_D7__NAND_DATA07 0xb0b1
53 MX6Q_PAD_EIM_D16__I2C2_SDA 0x4001b8b1
56 + pinctrl_i2c2_2: i2c2grp-2 {
58 + MX6Q_PAD_KEY_COL3__I2C2_SCL 0x4001b8b1
59 + MX6Q_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1
66 MX6Q_PAD_EIM_D18__I2C3_SDA 0x4001b8b1
69 + pinctrl_i2c3_2: i2c3grp-2 {
71 + MX6Q_PAD_GPIO_3__I2C3_SCL 0x4001b8b1
72 + MX6Q_PAD_GPIO_6__I2C3_SDA 0x4001b8b1
79 MX6Q_PAD_CSI0_DAT11__UART1_RX_DATA 0x1b0b1
82 + pinctrl_uart1_2: uart1grp-2 {
84 + MX6Q_PAD_SD3_DAT7__UART1_TX_DATA 0x1b0b1
85 + MX6Q_PAD_SD3_DAT6__UART1_RX_DATA 0x1b0b1
92 MX6Q_PAD_EIM_D27__UART2_RX_DATA 0x1b0b1
95 + pinctrl_uart2_3: uart2grp-3 {
97 + MX6Q_PAD_SD4_DAT7__UART2_TX_DATA 0x1b0b1
98 + MX6Q_PAD_SD4_DAT4__UART2_RX_DATA 0x1b0b1
104 + pinctrl_uart3_3: uart3grp-3 {
106 + MX6Q_PAD_EIM_D24__UART3_TX_DATA 0x1b0b1
107 + MX6Q_PAD_EIM_D25__UART3_RX_DATA 0x1b0b1
119 + pinctrl_uart5_1: uart5grp-1 {
121 + MX6Q_PAD_KEY_COL1__UART5_TX_DATA 0x1b0b1
122 + MX6Q_PAD_KEY_ROW1__UART5_RX_DATA 0x1b0b1
128 pinctrl_usbotg_1: usbotggrp-1 {
129 --- a/arch/arm/boot/dts/imx6dl.dtsi
130 +++ b/arch/arm/boot/dts/imx6dl.dtsi
132 compatible = "fsl,imx6dl-iomuxc";
133 reg = <0x020e0000 0x4000>;
135 + /* shared pinctrl settings */
137 + pinctrl_audmux_1: audmux-1 {
139 + MX6DL_PAD_SD2_DAT0__AUD4_RXD 0x80000000
140 + MX6DL_PAD_SD2_DAT1__AUD4_TXFS 0x80000000
141 + MX6DL_PAD_SD2_DAT2__AUD4_TXD 0x80000000
142 + MX6DL_PAD_SD2_DAT3__AUD4_TXC 0x80000000
148 pinctrl_enet_1: enetgrp-1 {
156 + pinctrl_gpmi_nand_2: gpmi-nand-2 {
158 + MX6DL_PAD_NANDF_CLE__NAND_CLE 0xb0b1
159 + MX6DL_PAD_NANDF_ALE__NAND_ALE 0xb0b1
160 + MX6DL_PAD_NANDF_WP_B__NAND_WP_B 0xb0b1
161 + MX6DL_PAD_NANDF_RB0__NAND_READY_B 0xb000
162 + MX6DL_PAD_NANDF_CS0__NAND_CE0_B 0xb0b1
163 + MX6DL_PAD_NANDF_CS1__NAND_CE1_B 0xb0b1
164 + MX6DL_PAD_NANDF_CS2__NAND_CE2_B 0xb0b1
165 + MX6DL_PAD_NANDF_CS3__NAND_CE3_B 0xb0b1
166 + MX6DL_PAD_SD4_CMD__NAND_RE_B 0xb0b1
167 + MX6DL_PAD_SD4_CLK__NAND_WE_B 0xb0b1
168 + MX6DL_PAD_NANDF_D0__NAND_DATA00 0xb0b1
169 + MX6DL_PAD_NANDF_D1__NAND_DATA01 0xb0b1
170 + MX6DL_PAD_NANDF_D2__NAND_DATA02 0xb0b1
171 + MX6DL_PAD_NANDF_D3__NAND_DATA03 0xb0b1
172 + MX6DL_PAD_NANDF_D4__NAND_DATA04 0xb0b1
173 + MX6DL_PAD_NANDF_D5__NAND_DATA05 0xb0b1
174 + MX6DL_PAD_NANDF_D6__NAND_DATA06 0xb0b1
175 + MX6DL_PAD_NANDF_D7__NAND_DATA07 0xb0b1
181 + pinctrl_i2c1_1: i2c1grp-1 {
183 + MX6DL_PAD_EIM_D21__I2C1_SCL 0x4001b8b1
184 + MX6DL_PAD_EIM_D28__I2C1_SDA 0x4001b8b1
190 + pinctrl_i2c2_2: i2c2grp-2 {
192 + MX6DL_PAD_KEY_COL3__I2C2_SCL 0x4001b8b1
193 + MX6DL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1
199 + pinctrl_i2c3_2: i2c3grp-2 {
201 + MX6DL_PAD_GPIO_3__I2C3_SCL 0x4001b8b1
202 + MX6DL_PAD_GPIO_6__I2C3_SDA 0x4001b8b1
208 pinctrl_uart1_1: uart1grp-1 {
211 MX6DL_PAD_CSI0_DAT11__UART1_RX_DATA 0x1b0b1
214 + pinctrl_uart1_2: uart1grp-2 {
216 + MX6DL_PAD_SD3_DAT7__UART1_TX_DATA 0x1b0b1
217 + MX6DL_PAD_SD3_DAT6__UART1_RX_DATA 0x1b0b1
223 + pinctrl_uart2_3: uart2grp-3 {
225 + MX6DL_PAD_SD4_DAT7__UART2_TX_DATA 0x1b0b1
226 + MX6DL_PAD_SD4_DAT4__UART2_RX_DATA 0x1b0b1
232 + pinctrl_uart3_3: uart3grp-3 {
234 + MX6DL_PAD_EIM_D24__UART3_TX_DATA 0x1b0b1
235 + MX6DL_PAD_EIM_D25__UART3_RX_DATA 0x1b0b1
246 + pinctrl_uart5_1: uart5grp-1 {
248 + MX6DL_PAD_KEY_COL1__UART5_TX_DATA 0x1b0b1
249 + MX6DL_PAD_KEY_ROW1__UART5_RX_DATA 0x1b0b1
255 + pinctrl_usbotg_1: usbotggrp-1 {
257 + MX6DL_PAD_GPIO_1__USB_OTG_ID 0x17059
261 pinctrl_usbotg_2: usbotggrp-2 {
263 MX6DL_PAD_ENET_RX_ER__USB_OTG_ID 0x17059