xref: /linux/scripts/dtc/include-prefixes/arm64/hisilicon/hikey960-pinctrl.dtsi (revision d4e1eaeee56894f45d0093f9d432be0c868f7c4c)
1*d4e1eaeeSWang Xiaoyin/*
2*d4e1eaeeSWang Xiaoyin * pinctrl dts fils for Hislicon HiKey960 development board
3*d4e1eaeeSWang Xiaoyin *
4*d4e1eaeeSWang Xiaoyin */
5*d4e1eaeeSWang Xiaoyin
6*d4e1eaeeSWang Xiaoyin#include <dt-bindings/pinctrl/hisi.h>
7*d4e1eaeeSWang Xiaoyin
8*d4e1eaeeSWang Xiaoyin/ {
9*d4e1eaeeSWang Xiaoyin	soc {
10*d4e1eaeeSWang Xiaoyin		/* [IOMG_000, IOMG_123] */
11*d4e1eaeeSWang Xiaoyin		range: gpio-range {
12*d4e1eaeeSWang Xiaoyin			#pinctrl-single,gpio-range-cells = <3>;
13*d4e1eaeeSWang Xiaoyin		};
14*d4e1eaeeSWang Xiaoyin
15*d4e1eaeeSWang Xiaoyin		pmx0: pinmux@e896c000 {
16*d4e1eaeeSWang Xiaoyin			compatible = "pinctrl-single";
17*d4e1eaeeSWang Xiaoyin			reg = <0x0 0xe896c000 0x0 0x1f0>;
18*d4e1eaeeSWang Xiaoyin			#pinctrl-cells = <1>;
19*d4e1eaeeSWang Xiaoyin			#gpio-range-cells = <0x3>;
20*d4e1eaeeSWang Xiaoyin			pinctrl-single,register-width = <0x20>;
21*d4e1eaeeSWang Xiaoyin			pinctrl-single,function-mask = <0x7>;
22*d4e1eaeeSWang Xiaoyin			/* pin base, nr pins & gpio function */
23*d4e1eaeeSWang Xiaoyin			pinctrl-single,gpio-range = <
24*d4e1eaeeSWang Xiaoyin				&range 0 7 0
25*d4e1eaeeSWang Xiaoyin				&range 8 116 0>;
26*d4e1eaeeSWang Xiaoyin
27*d4e1eaeeSWang Xiaoyin			isp0_pmx_func: isp0_pmx_func {
28*d4e1eaeeSWang Xiaoyin				pinctrl-single,pins = <
29*d4e1eaeeSWang Xiaoyin					0x058 MUX_M1 /* ISP_CLK0 */
30*d4e1eaeeSWang Xiaoyin					0x064 MUX_M1 /* ISP_SCL0 */
31*d4e1eaeeSWang Xiaoyin					0x068 MUX_M1 /* ISP_SDA0 */
32*d4e1eaeeSWang Xiaoyin				>;
33*d4e1eaeeSWang Xiaoyin			};
34*d4e1eaeeSWang Xiaoyin
35*d4e1eaeeSWang Xiaoyin			isp1_pmx_func: isp1_pmx_func {
36*d4e1eaeeSWang Xiaoyin				pinctrl-single,pins = <
37*d4e1eaeeSWang Xiaoyin					0x05c MUX_M1 /* ISP_CLK1 */
38*d4e1eaeeSWang Xiaoyin					0x06c MUX_M1 /* ISP_SCL1 */
39*d4e1eaeeSWang Xiaoyin					0x070 MUX_M1 /* ISP_SDA1 */
40*d4e1eaeeSWang Xiaoyin				>;
41*d4e1eaeeSWang Xiaoyin			};
42*d4e1eaeeSWang Xiaoyin
43*d4e1eaeeSWang Xiaoyin			i2c3_pmx_func: i2c3_pmx_func {
44*d4e1eaeeSWang Xiaoyin				pinctrl-single,pins = <
45*d4e1eaeeSWang Xiaoyin					0x02c MUX_M1 /* I2C3_SCL */
46*d4e1eaeeSWang Xiaoyin					0x030 MUX_M1 /* I2C3_SDA */
47*d4e1eaeeSWang Xiaoyin				>;
48*d4e1eaeeSWang Xiaoyin			};
49*d4e1eaeeSWang Xiaoyin
50*d4e1eaeeSWang Xiaoyin			i2c4_pmx_func: i2c4_pmx_func {
51*d4e1eaeeSWang Xiaoyin				pinctrl-single,pins = <
52*d4e1eaeeSWang Xiaoyin					0x090 MUX_M1 /* I2C4_SCL */
53*d4e1eaeeSWang Xiaoyin					0x094 MUX_M1 /* I2C4_SDA */
54*d4e1eaeeSWang Xiaoyin				>;
55*d4e1eaeeSWang Xiaoyin			};
56*d4e1eaeeSWang Xiaoyin
57*d4e1eaeeSWang Xiaoyin			pcie_perstn_pmx_func: pcie_perstn_pmx_func {
58*d4e1eaeeSWang Xiaoyin				pinctrl-single,pins = <
59*d4e1eaeeSWang Xiaoyin					0x15c MUX_M1 /* PCIE_PERST_N */
60*d4e1eaeeSWang Xiaoyin				>;
61*d4e1eaeeSWang Xiaoyin			};
62*d4e1eaeeSWang Xiaoyin
63*d4e1eaeeSWang Xiaoyin			usbhub5734_pmx_func: usbhub5734_pmx_func {
64*d4e1eaeeSWang Xiaoyin				pinctrl-single,pins = <
65*d4e1eaeeSWang Xiaoyin					0x11c MUX_M0 /* GPIO_073 */
66*d4e1eaeeSWang Xiaoyin					0x120 MUX_M0 /* GPIO_074 */
67*d4e1eaeeSWang Xiaoyin				>;
68*d4e1eaeeSWang Xiaoyin			};
69*d4e1eaeeSWang Xiaoyin
70*d4e1eaeeSWang Xiaoyin			spi1_pmx_func: spi1_pmx_func {
71*d4e1eaeeSWang Xiaoyin				pinctrl-single,pins = <
72*d4e1eaeeSWang Xiaoyin					0x034 MUX_M1 /* SPI1_CLK */
73*d4e1eaeeSWang Xiaoyin					0x038 MUX_M1 /* SPI1_DI */
74*d4e1eaeeSWang Xiaoyin					0x03c MUX_M1 /* SPI1_DO */
75*d4e1eaeeSWang Xiaoyin					0x040 MUX_M1 /* SPI1_CS_N */
76*d4e1eaeeSWang Xiaoyin				>;
77*d4e1eaeeSWang Xiaoyin			};
78*d4e1eaeeSWang Xiaoyin
79*d4e1eaeeSWang Xiaoyin			uart0_pmx_func: uart0_pmx_func {
80*d4e1eaeeSWang Xiaoyin				pinctrl-single,pins = <
81*d4e1eaeeSWang Xiaoyin					0x0cc MUX_M2 /* UART0_RXD */
82*d4e1eaeeSWang Xiaoyin					0x0d0 MUX_M2 /* UART0_TXD */
83*d4e1eaeeSWang Xiaoyin					0x0d4 MUX_M2 /* UART0_RXD_M */
84*d4e1eaeeSWang Xiaoyin					0x0d8 MUX_M2 /* UART0_TXD_M */
85*d4e1eaeeSWang Xiaoyin				>;
86*d4e1eaeeSWang Xiaoyin			};
87*d4e1eaeeSWang Xiaoyin
88*d4e1eaeeSWang Xiaoyin			uart1_pmx_func: uart1_pmx_func {
89*d4e1eaeeSWang Xiaoyin				pinctrl-single,pins = <
90*d4e1eaeeSWang Xiaoyin					0x0b0 MUX_M2 /* UART1_CTS_N */
91*d4e1eaeeSWang Xiaoyin					0x0b4 MUX_M2 /* UART1_RTS_N */
92*d4e1eaeeSWang Xiaoyin					0x0a8 MUX_M2 /* UART1_RXD */
93*d4e1eaeeSWang Xiaoyin					0x0ac MUX_M2 /* UART1_TXD */
94*d4e1eaeeSWang Xiaoyin				>;
95*d4e1eaeeSWang Xiaoyin			};
96*d4e1eaeeSWang Xiaoyin
97*d4e1eaeeSWang Xiaoyin			uart2_pmx_func: uart2_pmx_func {
98*d4e1eaeeSWang Xiaoyin				pinctrl-single,pins = <
99*d4e1eaeeSWang Xiaoyin					0x0bc MUX_M2 /* UART2_CTS_N */
100*d4e1eaeeSWang Xiaoyin					0x0c0 MUX_M2 /* UART2_RTS_N */
101*d4e1eaeeSWang Xiaoyin					0x0c8 MUX_M2 /* UART2_RXD */
102*d4e1eaeeSWang Xiaoyin					0x0c4 MUX_M2 /* UART2_TXD */
103*d4e1eaeeSWang Xiaoyin				>;
104*d4e1eaeeSWang Xiaoyin			};
105*d4e1eaeeSWang Xiaoyin
106*d4e1eaeeSWang Xiaoyin			uart3_pmx_func: uart3_pmx_func {
107*d4e1eaeeSWang Xiaoyin				pinctrl-single,pins = <
108*d4e1eaeeSWang Xiaoyin					0x0dc MUX_M1 /* UART3_CTS_N */
109*d4e1eaeeSWang Xiaoyin					0x0e0 MUX_M1 /* UART3_RTS_N */
110*d4e1eaeeSWang Xiaoyin					0x0e4 MUX_M1 /* UART3_RXD */
111*d4e1eaeeSWang Xiaoyin					0x0e8 MUX_M1 /* UART3_TXD */
112*d4e1eaeeSWang Xiaoyin				>;
113*d4e1eaeeSWang Xiaoyin			};
114*d4e1eaeeSWang Xiaoyin
115*d4e1eaeeSWang Xiaoyin			uart4_pmx_func: uart4_pmx_func {
116*d4e1eaeeSWang Xiaoyin				pinctrl-single,pins = <
117*d4e1eaeeSWang Xiaoyin					0x0ec MUX_M1 /* UART4_CTS_N */
118*d4e1eaeeSWang Xiaoyin					0x0f0 MUX_M1 /* UART4_RTS_N */
119*d4e1eaeeSWang Xiaoyin					0x0f4 MUX_M1 /* UART4_RXD */
120*d4e1eaeeSWang Xiaoyin					0x0f8 MUX_M1 /* UART4_TXD */
121*d4e1eaeeSWang Xiaoyin				>;
122*d4e1eaeeSWang Xiaoyin			};
123*d4e1eaeeSWang Xiaoyin
124*d4e1eaeeSWang Xiaoyin			uart5_pmx_func: uart5_pmx_func {
125*d4e1eaeeSWang Xiaoyin				pinctrl-single,pins = <
126*d4e1eaeeSWang Xiaoyin					0x0c4 MUX_M3 /* UART5_CTS_N */
127*d4e1eaeeSWang Xiaoyin					0x0c8 MUX_M3 /* UART5_RTS_N */
128*d4e1eaeeSWang Xiaoyin					0x0bc MUX_M3 /* UART5_RXD */
129*d4e1eaeeSWang Xiaoyin					0x0c0 MUX_M3 /* UART5_TXD */
130*d4e1eaeeSWang Xiaoyin				>;
131*d4e1eaeeSWang Xiaoyin			};
132*d4e1eaeeSWang Xiaoyin
133*d4e1eaeeSWang Xiaoyin			uart6_pmx_func: uart6_pmx_func {
134*d4e1eaeeSWang Xiaoyin				pinctrl-single,pins = <
135*d4e1eaeeSWang Xiaoyin					0x0cc MUX_M1 /* UART6_CTS_N */
136*d4e1eaeeSWang Xiaoyin					0x0d0 MUX_M1 /* UART6_RTS_N */
137*d4e1eaeeSWang Xiaoyin					0x0d4 MUX_M1 /* UART6_RXD */
138*d4e1eaeeSWang Xiaoyin					0x0d8 MUX_M1 /* UART6_TXD */
139*d4e1eaeeSWang Xiaoyin				>;
140*d4e1eaeeSWang Xiaoyin			};
141*d4e1eaeeSWang Xiaoyin		};
142*d4e1eaeeSWang Xiaoyin
143*d4e1eaeeSWang Xiaoyin		/* [IOMG_MMC0_000, IOMG_MMC0_005] */
144*d4e1eaeeSWang Xiaoyin		pmx1: pinmux@ff37e000 {
145*d4e1eaeeSWang Xiaoyin			compatible = "pinctrl-single";
146*d4e1eaeeSWang Xiaoyin			reg = <0x0 0xff37e000 0x0 0x18>;
147*d4e1eaeeSWang Xiaoyin			#gpio-range-cells = <0x3>;
148*d4e1eaeeSWang Xiaoyin			#pinctrl-cells = <1>;
149*d4e1eaeeSWang Xiaoyin			pinctrl-single,register-width = <0x20>;
150*d4e1eaeeSWang Xiaoyin			pinctrl-single,function-mask = <0x7>;
151*d4e1eaeeSWang Xiaoyin			/* pin base, nr pins & gpio function */
152*d4e1eaeeSWang Xiaoyin			pinctrl-single,gpio-range = <&range 0 6 0>;
153*d4e1eaeeSWang Xiaoyin
154*d4e1eaeeSWang Xiaoyin			sd_pmx_func: sd_pmx_func {
155*d4e1eaeeSWang Xiaoyin				pinctrl-single,pins = <
156*d4e1eaeeSWang Xiaoyin					0x000 MUX_M1 /* SD_CLK */
157*d4e1eaeeSWang Xiaoyin					0x004 MUX_M1 /* SD_CMD */
158*d4e1eaeeSWang Xiaoyin					0x008 MUX_M1 /* SD_DATA0 */
159*d4e1eaeeSWang Xiaoyin					0x00c MUX_M1 /* SD_DATA1 */
160*d4e1eaeeSWang Xiaoyin					0x010 MUX_M1 /* SD_DATA2 */
161*d4e1eaeeSWang Xiaoyin					0x014 MUX_M1 /* SD_DATA3 */
162*d4e1eaeeSWang Xiaoyin				>;
163*d4e1eaeeSWang Xiaoyin			};
164*d4e1eaeeSWang Xiaoyin		};
165*d4e1eaeeSWang Xiaoyin
166*d4e1eaeeSWang Xiaoyin		/* [IOMG_FIX_000, IOMG_FIX_011] */
167*d4e1eaeeSWang Xiaoyin		pmx2: pinmux@ff3b6000 {
168*d4e1eaeeSWang Xiaoyin			compatible = "pinctrl-single";
169*d4e1eaeeSWang Xiaoyin			reg = <0x0 0xff3b6000 0x0 0x30>;
170*d4e1eaeeSWang Xiaoyin			#pinctrl-cells = <1>;
171*d4e1eaeeSWang Xiaoyin			#gpio-range-cells = <0x3>;
172*d4e1eaeeSWang Xiaoyin			pinctrl-single,register-width = <0x20>;
173*d4e1eaeeSWang Xiaoyin			pinctrl-single,function-mask = <0x7>;
174*d4e1eaeeSWang Xiaoyin			/* pin base, nr pins & gpio function */
175*d4e1eaeeSWang Xiaoyin			pinctrl-single,gpio-range = <&range 0 12 0>;
176*d4e1eaeeSWang Xiaoyin
177*d4e1eaeeSWang Xiaoyin			spi3_pmx_func: spi3_pmx_func {
178*d4e1eaeeSWang Xiaoyin				pinctrl-single,pins = <
179*d4e1eaeeSWang Xiaoyin					0x008 MUX_M1 /* SPI3_CLK */
180*d4e1eaeeSWang Xiaoyin					0x00c MUX_M1 /* SPI3_DI */
181*d4e1eaeeSWang Xiaoyin					0x010 MUX_M1 /* SPI3_DO */
182*d4e1eaeeSWang Xiaoyin					0x014 MUX_M1 /* SPI3_CS0_N */
183*d4e1eaeeSWang Xiaoyin				>;
184*d4e1eaeeSWang Xiaoyin			};
185*d4e1eaeeSWang Xiaoyin		};
186*d4e1eaeeSWang Xiaoyin
187*d4e1eaeeSWang Xiaoyin		/* [IOMG_MMC1_000, IOMG_MMC1_005] */
188*d4e1eaeeSWang Xiaoyin		pmx3: pinmux@ff3fd000 {
189*d4e1eaeeSWang Xiaoyin			compatible = "pinctrl-single";
190*d4e1eaeeSWang Xiaoyin			reg = <0x0 0xff3fd000 0x0 0x18>;
191*d4e1eaeeSWang Xiaoyin			#pinctrl-cells = <1>;
192*d4e1eaeeSWang Xiaoyin			#gpio-range-cells = <0x3>;
193*d4e1eaeeSWang Xiaoyin			pinctrl-single,register-width = <0x20>;
194*d4e1eaeeSWang Xiaoyin			pinctrl-single,function-mask = <0x7>;
195*d4e1eaeeSWang Xiaoyin			/* pin base, nr pins & gpio function */
196*d4e1eaeeSWang Xiaoyin			pinctrl-single,gpio-range = <&range 0 6 0>;
197*d4e1eaeeSWang Xiaoyin
198*d4e1eaeeSWang Xiaoyin			sdio_pmx_func: sdio_pmx_func {
199*d4e1eaeeSWang Xiaoyin				pinctrl-single,pins = <
200*d4e1eaeeSWang Xiaoyin					0x000 MUX_M1 /* SDIO_CLK */
201*d4e1eaeeSWang Xiaoyin					0x004 MUX_M1 /* SDIO_CMD */
202*d4e1eaeeSWang Xiaoyin					0x008 MUX_M1 /* SDIO_DATA0 */
203*d4e1eaeeSWang Xiaoyin					0x00c MUX_M1 /* SDIO_DATA1 */
204*d4e1eaeeSWang Xiaoyin					0x010 MUX_M1 /* SDIO_DATA2 */
205*d4e1eaeeSWang Xiaoyin					0x014 MUX_M1 /* SDIO_DATA3 */
206*d4e1eaeeSWang Xiaoyin				>;
207*d4e1eaeeSWang Xiaoyin			};
208*d4e1eaeeSWang Xiaoyin		};
209*d4e1eaeeSWang Xiaoyin
210*d4e1eaeeSWang Xiaoyin		/* [IOMG_AO_000, IOMG_AO_041] */
211*d4e1eaeeSWang Xiaoyin		pmx4: pinmux@fff11000 {
212*d4e1eaeeSWang Xiaoyin			compatible = "pinctrl-single";
213*d4e1eaeeSWang Xiaoyin			reg = <0x0 0xfff11000 0x0 0xa8>;
214*d4e1eaeeSWang Xiaoyin			#pinctrl-cells = <1>;
215*d4e1eaeeSWang Xiaoyin			#gpio-range-cells = <0x3>;
216*d4e1eaeeSWang Xiaoyin			pinctrl-single,register-width = <0x20>;
217*d4e1eaeeSWang Xiaoyin			pinctrl-single,function-mask = <0x7>;
218*d4e1eaeeSWang Xiaoyin			/* pin base in node, nr pins & gpio function */
219*d4e1eaeeSWang Xiaoyin			pinctrl-single,gpio-range = <&range 0 42 0>;
220*d4e1eaeeSWang Xiaoyin
221*d4e1eaeeSWang Xiaoyin			i2s2_pmx_func: i2s2_pmx_func {
222*d4e1eaeeSWang Xiaoyin				pinctrl-single,pins = <
223*d4e1eaeeSWang Xiaoyin					0x044 MUX_M1 /* I2S2_DI */
224*d4e1eaeeSWang Xiaoyin					0x048 MUX_M1 /* I2S2_DO */
225*d4e1eaeeSWang Xiaoyin					0x04c MUX_M1 /* I2S2_XCLK */
226*d4e1eaeeSWang Xiaoyin					0x050 MUX_M1 /* I2S2_XFS */
227*d4e1eaeeSWang Xiaoyin				>;
228*d4e1eaeeSWang Xiaoyin			};
229*d4e1eaeeSWang Xiaoyin
230*d4e1eaeeSWang Xiaoyin			slimbus_pmx_func: slimbus_pmx_func {
231*d4e1eaeeSWang Xiaoyin				pinctrl-single,pins = <
232*d4e1eaeeSWang Xiaoyin					0x02c MUX_M1 /* SLIMBUS_CLK */
233*d4e1eaeeSWang Xiaoyin					0x030 MUX_M1 /* SLIMBUS_DATA */
234*d4e1eaeeSWang Xiaoyin				>;
235*d4e1eaeeSWang Xiaoyin			};
236*d4e1eaeeSWang Xiaoyin
237*d4e1eaeeSWang Xiaoyin			i2c0_pmx_func: i2c0_pmx_func {
238*d4e1eaeeSWang Xiaoyin				pinctrl-single,pins = <
239*d4e1eaeeSWang Xiaoyin					0x014 MUX_M1 /* I2C0_SCL */
240*d4e1eaeeSWang Xiaoyin					0x018 MUX_M1 /* I2C0_SDA */
241*d4e1eaeeSWang Xiaoyin				>;
242*d4e1eaeeSWang Xiaoyin			};
243*d4e1eaeeSWang Xiaoyin
244*d4e1eaeeSWang Xiaoyin			i2c1_pmx_func: i2c1_pmx_func {
245*d4e1eaeeSWang Xiaoyin				pinctrl-single,pins = <
246*d4e1eaeeSWang Xiaoyin					0x01c MUX_M1 /* I2C1_SCL */
247*d4e1eaeeSWang Xiaoyin					0x020 MUX_M1 /* I2C1_SDA */
248*d4e1eaeeSWang Xiaoyin				>;
249*d4e1eaeeSWang Xiaoyin			};
250*d4e1eaeeSWang Xiaoyin
251*d4e1eaeeSWang Xiaoyin			i2c2_pmx_func: i2c2_pmx_func {
252*d4e1eaeeSWang Xiaoyin				pinctrl-single,pins = <
253*d4e1eaeeSWang Xiaoyin					0x024 MUX_M1 /* I2C2_SCL */
254*d4e1eaeeSWang Xiaoyin					0x028 MUX_M1 /* I2C2_SDA */
255*d4e1eaeeSWang Xiaoyin				>;
256*d4e1eaeeSWang Xiaoyin			};
257*d4e1eaeeSWang Xiaoyin
258*d4e1eaeeSWang Xiaoyin			i2c7_pmx_func: i2c7_pmx_func {
259*d4e1eaeeSWang Xiaoyin				pinctrl-single,pins = <
260*d4e1eaeeSWang Xiaoyin					0x024 MUX_M3 /* I2C7_SCL */
261*d4e1eaeeSWang Xiaoyin					0x028 MUX_M3 /* I2C7_SDA */
262*d4e1eaeeSWang Xiaoyin				>;
263*d4e1eaeeSWang Xiaoyin			};
264*d4e1eaeeSWang Xiaoyin
265*d4e1eaeeSWang Xiaoyin			spi2_pmx_func: spi2_pmx_func {
266*d4e1eaeeSWang Xiaoyin				pinctrl-single,pins = <
267*d4e1eaeeSWang Xiaoyin					0x08c MUX_M1 /* SPI2_CLK */
268*d4e1eaeeSWang Xiaoyin					0x090 MUX_M1 /* SPI2_DI */
269*d4e1eaeeSWang Xiaoyin					0x094 MUX_M1 /* SPI2_DO */
270*d4e1eaeeSWang Xiaoyin					0x098 MUX_M1 /* SPI2_CS0_N */
271*d4e1eaeeSWang Xiaoyin				>;
272*d4e1eaeeSWang Xiaoyin			};
273*d4e1eaeeSWang Xiaoyin
274*d4e1eaeeSWang Xiaoyin			spi4_pmx_func: spi4_pmx_func {
275*d4e1eaeeSWang Xiaoyin				pinctrl-single,pins = <
276*d4e1eaeeSWang Xiaoyin					0x08c MUX_M4 /* SPI4_CLK */
277*d4e1eaeeSWang Xiaoyin					0x090 MUX_M4 /* SPI4_DI */
278*d4e1eaeeSWang Xiaoyin					0x094 MUX_M4 /* SPI4_DO */
279*d4e1eaeeSWang Xiaoyin					0x098 MUX_M4 /* SPI4_CS0_N */
280*d4e1eaeeSWang Xiaoyin				>;
281*d4e1eaeeSWang Xiaoyin			};
282*d4e1eaeeSWang Xiaoyin
283*d4e1eaeeSWang Xiaoyin			i2s0_pmx_func: i2s0_pmx_func {
284*d4e1eaeeSWang Xiaoyin				pinctrl-single,pins = <
285*d4e1eaeeSWang Xiaoyin					0x034 MUX_M1 /* I2S0_DI */
286*d4e1eaeeSWang Xiaoyin					0x038 MUX_M1 /* I2S0_DO */
287*d4e1eaeeSWang Xiaoyin					0x03c MUX_M1 /* I2S0_XCLK */
288*d4e1eaeeSWang Xiaoyin					0x040 MUX_M1 /* I2S0_XFS */
289*d4e1eaeeSWang Xiaoyin				>;
290*d4e1eaeeSWang Xiaoyin			};
291*d4e1eaeeSWang Xiaoyin		};
292*d4e1eaeeSWang Xiaoyin
293*d4e1eaeeSWang Xiaoyin		pmx5: pinmux@ff3fd800 {
294*d4e1eaeeSWang Xiaoyin			compatible = "pinconf-single";
295*d4e1eaeeSWang Xiaoyin			reg = <0x0 0xff3fd800 0x0 0x18>;
296*d4e1eaeeSWang Xiaoyin			#pinctrl-cells = <1>;
297*d4e1eaeeSWang Xiaoyin			#address-cells = <1>;
298*d4e1eaeeSWang Xiaoyin			#size-cells = <1>;
299*d4e1eaeeSWang Xiaoyin			pinctrl-single,register-width = <32>;
300*d4e1eaeeSWang Xiaoyin
301*d4e1eaeeSWang Xiaoyin			sdio_clk_cfg_func: sdio_clk_cfg_func {
302*d4e1eaeeSWang Xiaoyin				pinctrl-single,pins = <
303*d4e1eaeeSWang Xiaoyin					0x000 0x0 /* SDIO_CLK */
304*d4e1eaeeSWang Xiaoyin				>;
305*d4e1eaeeSWang Xiaoyin				pinctrl-single,bias-pulldown = <
306*d4e1eaeeSWang Xiaoyin					PULL_DIS
307*d4e1eaeeSWang Xiaoyin					PULL_DOWN
308*d4e1eaeeSWang Xiaoyin					PULL_DIS
309*d4e1eaeeSWang Xiaoyin					PULL_DOWN
310*d4e1eaeeSWang Xiaoyin				>;
311*d4e1eaeeSWang Xiaoyin				pinctrl-single,bias-pullup = <
312*d4e1eaeeSWang Xiaoyin					PULL_DIS
313*d4e1eaeeSWang Xiaoyin					PULL_UP
314*d4e1eaeeSWang Xiaoyin					PULL_DIS
315*d4e1eaeeSWang Xiaoyin					PULL_UP
316*d4e1eaeeSWang Xiaoyin				>;
317*d4e1eaeeSWang Xiaoyin				pinctrl-single,drive-strength = <
318*d4e1eaeeSWang Xiaoyin					DRIVE6_32MA
319*d4e1eaeeSWang Xiaoyin					DRIVE6_MASK
320*d4e1eaeeSWang Xiaoyin				>;
321*d4e1eaeeSWang Xiaoyin			};
322*d4e1eaeeSWang Xiaoyin
323*d4e1eaeeSWang Xiaoyin			sdio_cfg_func: sdio_cfg_func {
324*d4e1eaeeSWang Xiaoyin				pinctrl-single,pins = <
325*d4e1eaeeSWang Xiaoyin					0x004 0x0 /* SDIO_CMD */
326*d4e1eaeeSWang Xiaoyin					0x008 0x0 /* SDIO_DATA0 */
327*d4e1eaeeSWang Xiaoyin					0x00c 0x0 /* SDIO_DATA1 */
328*d4e1eaeeSWang Xiaoyin					0x010 0x0 /* SDIO_DATA2 */
329*d4e1eaeeSWang Xiaoyin					0x014 0x0 /* SDIO_DATA3 */
330*d4e1eaeeSWang Xiaoyin				>;
331*d4e1eaeeSWang Xiaoyin				pinctrl-single,bias-pulldown = <
332*d4e1eaeeSWang Xiaoyin					PULL_DIS
333*d4e1eaeeSWang Xiaoyin					PULL_DOWN
334*d4e1eaeeSWang Xiaoyin					PULL_DIS
335*d4e1eaeeSWang Xiaoyin					PULL_DOWN
336*d4e1eaeeSWang Xiaoyin				>;
337*d4e1eaeeSWang Xiaoyin				pinctrl-single,bias-pullup = <
338*d4e1eaeeSWang Xiaoyin					PULL_UP
339*d4e1eaeeSWang Xiaoyin					PULL_UP
340*d4e1eaeeSWang Xiaoyin					PULL_DIS
341*d4e1eaeeSWang Xiaoyin					PULL_UP
342*d4e1eaeeSWang Xiaoyin				>;
343*d4e1eaeeSWang Xiaoyin				pinctrl-single,drive-strength = <
344*d4e1eaeeSWang Xiaoyin					DRIVE6_19MA
345*d4e1eaeeSWang Xiaoyin					DRIVE6_MASK
346*d4e1eaeeSWang Xiaoyin				>;
347*d4e1eaeeSWang Xiaoyin			};
348*d4e1eaeeSWang Xiaoyin		};
349*d4e1eaeeSWang Xiaoyin
350*d4e1eaeeSWang Xiaoyin		pmx6: pinmux@ff37e800 {
351*d4e1eaeeSWang Xiaoyin			compatible = "pinconf-single";
352*d4e1eaeeSWang Xiaoyin			reg = <0x0 0xff37e800 0x0 0x18>;
353*d4e1eaeeSWang Xiaoyin			#pinctrl-cells = <1>;
354*d4e1eaeeSWang Xiaoyin			#address-cells = <1>;
355*d4e1eaeeSWang Xiaoyin			#size-cells = <1>;
356*d4e1eaeeSWang Xiaoyin			pinctrl-single,register-width = <32>;
357*d4e1eaeeSWang Xiaoyin
358*d4e1eaeeSWang Xiaoyin			sd_clk_cfg_func: sd_clk_cfg_func {
359*d4e1eaeeSWang Xiaoyin				pinctrl-single,pins = <
360*d4e1eaeeSWang Xiaoyin					0x000 0x0 /* SD_CLK */
361*d4e1eaeeSWang Xiaoyin				>;
362*d4e1eaeeSWang Xiaoyin				pinctrl-single,bias-pulldown = <
363*d4e1eaeeSWang Xiaoyin					PULL_DIS
364*d4e1eaeeSWang Xiaoyin					PULL_DOWN
365*d4e1eaeeSWang Xiaoyin					PULL_DIS
366*d4e1eaeeSWang Xiaoyin					PULL_DOWN
367*d4e1eaeeSWang Xiaoyin				>;
368*d4e1eaeeSWang Xiaoyin				pinctrl-single,bias-pullup = <
369*d4e1eaeeSWang Xiaoyin					PULL_DIS
370*d4e1eaeeSWang Xiaoyin					PULL_UP
371*d4e1eaeeSWang Xiaoyin					PULL_DIS
372*d4e1eaeeSWang Xiaoyin					PULL_UP
373*d4e1eaeeSWang Xiaoyin				>;
374*d4e1eaeeSWang Xiaoyin				pinctrl-single,drive-strength = <
375*d4e1eaeeSWang Xiaoyin					DRIVE6_32MA
376*d4e1eaeeSWang Xiaoyin					DRIVE6_MASK
377*d4e1eaeeSWang Xiaoyin				>;
378*d4e1eaeeSWang Xiaoyin			};
379*d4e1eaeeSWang Xiaoyin
380*d4e1eaeeSWang Xiaoyin			sd_cfg_func: sd_cfg_func {
381*d4e1eaeeSWang Xiaoyin				pinctrl-single,pins = <
382*d4e1eaeeSWang Xiaoyin					0x004 0x0 /* SD_CMD */
383*d4e1eaeeSWang Xiaoyin					0x008 0x0 /* SD_DATA0 */
384*d4e1eaeeSWang Xiaoyin					0x00c 0x0 /* SD_DATA1 */
385*d4e1eaeeSWang Xiaoyin					0x010 0x0 /* SD_DATA2 */
386*d4e1eaeeSWang Xiaoyin					0x014 0x0 /* SD_DATA3 */
387*d4e1eaeeSWang Xiaoyin				>;
388*d4e1eaeeSWang Xiaoyin				pinctrl-single,bias-pulldown = <
389*d4e1eaeeSWang Xiaoyin					PULL_DIS
390*d4e1eaeeSWang Xiaoyin					PULL_DOWN
391*d4e1eaeeSWang Xiaoyin					PULL_DIS
392*d4e1eaeeSWang Xiaoyin					PULL_DOWN
393*d4e1eaeeSWang Xiaoyin				>;
394*d4e1eaeeSWang Xiaoyin				pinctrl-single,bias-pullup = <
395*d4e1eaeeSWang Xiaoyin					PULL_UP
396*d4e1eaeeSWang Xiaoyin					PULL_UP
397*d4e1eaeeSWang Xiaoyin					PULL_DIS
398*d4e1eaeeSWang Xiaoyin					PULL_UP
399*d4e1eaeeSWang Xiaoyin				>;
400*d4e1eaeeSWang Xiaoyin				pinctrl-single,drive-strength = <
401*d4e1eaeeSWang Xiaoyin					DRIVE6_19MA
402*d4e1eaeeSWang Xiaoyin					DRIVE6_MASK
403*d4e1eaeeSWang Xiaoyin				>;
404*d4e1eaeeSWang Xiaoyin			};
405*d4e1eaeeSWang Xiaoyin		};
406*d4e1eaeeSWang Xiaoyin	};
407*d4e1eaeeSWang Xiaoyin};
408