xref: /linux/scripts/dtc/include-prefixes/arm64/hisilicon/hikey-pinctrl.dtsi (revision cdd5b5a9761fd66d17586e4f4ba6588c70e640ea)
1b2441318SGreg Kroah-Hartman// SPDX-License-Identifier: GPL-2.0
2379e9bf5SZhong Kaihua/*
3379e9bf5SZhong Kaihua * pinctrl dts fils for Hislicon HiKey development board
4379e9bf5SZhong Kaihua *
5379e9bf5SZhong Kaihua */
6379e9bf5SZhong Kaihua#include <dt-bindings/pinctrl/hisi.h>
7379e9bf5SZhong Kaihua
8379e9bf5SZhong Kaihua/ {
9379e9bf5SZhong Kaihua	soc {
10379e9bf5SZhong Kaihua		pmx0: pinmux@f7010000 {
11379e9bf5SZhong Kaihua			pinctrl-names = "default";
12379e9bf5SZhong Kaihua			pinctrl-0 = <
13379e9bf5SZhong Kaihua				&boot_sel_pmx_func
14379e9bf5SZhong Kaihua				&hkadc_ssi_pmx_func
15379e9bf5SZhong Kaihua				&codec_clk_pmx_func
16379e9bf5SZhong Kaihua				&pwm_in_pmx_func
17379e9bf5SZhong Kaihua				&bl_pwm_pmx_func
18379e9bf5SZhong Kaihua				>;
19379e9bf5SZhong Kaihua
20*35e6bcd1STony Lindgren			boot_sel_pmx_func: boot-sel-pins {
21379e9bf5SZhong Kaihua				pinctrl-single,pins = <
22379e9bf5SZhong Kaihua					0x0    MUX_M0	/* BOOT_SEL     (IOMG000) */
23379e9bf5SZhong Kaihua				>;
24379e9bf5SZhong Kaihua			};
25379e9bf5SZhong Kaihua
26*35e6bcd1STony Lindgren			emmc_pmx_func: emmc-pins {
27379e9bf5SZhong Kaihua				pinctrl-single,pins = <
28379e9bf5SZhong Kaihua					0x100  MUX_M0	/* EMMC_CLK     (IOMG064) */
29379e9bf5SZhong Kaihua					0x104  MUX_M0	/* EMMC_CMD     (IOMG065) */
30379e9bf5SZhong Kaihua					0x108  MUX_M0	/* EMMC_DATA0   (IOMG066) */
31379e9bf5SZhong Kaihua					0x10c  MUX_M0	/* EMMC_DATA1   (IOMG067) */
32379e9bf5SZhong Kaihua					0x110  MUX_M0	/* EMMC_DATA2   (IOMG068) */
33379e9bf5SZhong Kaihua					0x114  MUX_M0	/* EMMC_DATA3   (IOMG069) */
34379e9bf5SZhong Kaihua					0x118  MUX_M0	/* EMMC_DATA4   (IOMG070) */
35379e9bf5SZhong Kaihua					0x11c  MUX_M0	/* EMMC_DATA5   (IOMG071) */
36379e9bf5SZhong Kaihua					0x120  MUX_M0	/* EMMC_DATA6   (IOMG072) */
37379e9bf5SZhong Kaihua					0x124  MUX_M0	/* EMMC_DATA7   (IOMG073) */
38379e9bf5SZhong Kaihua				>;
39379e9bf5SZhong Kaihua			};
40379e9bf5SZhong Kaihua
41*35e6bcd1STony Lindgren			sd_pmx_func: sd-pins {
42379e9bf5SZhong Kaihua				pinctrl-single,pins = <
43379e9bf5SZhong Kaihua					0xc    MUX_M0	/* SD_CLK       (IOMG003) */
44379e9bf5SZhong Kaihua					0x10   MUX_M0	/* SD_CMD       (IOMG004) */
45379e9bf5SZhong Kaihua					0x14   MUX_M0	/* SD_DATA0     (IOMG005) */
46379e9bf5SZhong Kaihua					0x18   MUX_M0	/* SD_DATA1     (IOMG006) */
47379e9bf5SZhong Kaihua					0x1c   MUX_M0	/* SD_DATA2     (IOMG007) */
48379e9bf5SZhong Kaihua					0x20   MUX_M0	/* SD_DATA3     (IOMG008) */
49379e9bf5SZhong Kaihua				>;
50379e9bf5SZhong Kaihua			};
51*35e6bcd1STony Lindgren			sd_pmx_idle: sd-idle-pins {
52379e9bf5SZhong Kaihua				pinctrl-single,pins = <
53379e9bf5SZhong Kaihua					0xc    MUX_M1	/* SD_CLK       (IOMG003) */
54379e9bf5SZhong Kaihua					0x10   MUX_M1	/* SD_CMD       (IOMG004) */
55379e9bf5SZhong Kaihua					0x14   MUX_M1	/* SD_DATA0     (IOMG005) */
56379e9bf5SZhong Kaihua					0x18   MUX_M1	/* SD_DATA1     (IOMG006) */
57379e9bf5SZhong Kaihua					0x1c   MUX_M1	/* SD_DATA2     (IOMG007) */
58379e9bf5SZhong Kaihua					0x20   MUX_M1	/* SD_DATA3     (IOMG008) */
59379e9bf5SZhong Kaihua				>;
60379e9bf5SZhong Kaihua			};
61379e9bf5SZhong Kaihua
62*35e6bcd1STony Lindgren			sdio_pmx_func: sdio-pins {
63379e9bf5SZhong Kaihua				pinctrl-single,pins = <
64379e9bf5SZhong Kaihua					0x128  MUX_M0	/* SDIO_CLK     (IOMG074) */
65379e9bf5SZhong Kaihua					0x12c  MUX_M0	/* SDIO_CMD     (IOMG075) */
66379e9bf5SZhong Kaihua					0x130  MUX_M0	/* SDIO_DATA0   (IOMG076) */
67379e9bf5SZhong Kaihua					0x134  MUX_M0	/* SDIO_DATA1   (IOMG077) */
68379e9bf5SZhong Kaihua					0x138  MUX_M0	/* SDIO_DATA2   (IOMG078) */
69379e9bf5SZhong Kaihua					0x13c  MUX_M0	/* SDIO_DATA3   (IOMG079) */
70379e9bf5SZhong Kaihua				>;
71379e9bf5SZhong Kaihua			};
72*35e6bcd1STony Lindgren			sdio_pmx_idle: sdio-idle-pins {
73379e9bf5SZhong Kaihua				pinctrl-single,pins = <
74379e9bf5SZhong Kaihua					0x128  MUX_M1	/* SDIO_CLK     (IOMG074) */
75379e9bf5SZhong Kaihua					0x12c  MUX_M1	/* SDIO_CMD     (IOMG075) */
76379e9bf5SZhong Kaihua					0x130  MUX_M1	/* SDIO_DATA0   (IOMG076) */
77379e9bf5SZhong Kaihua					0x134  MUX_M1	/* SDIO_DATA1   (IOMG077) */
78379e9bf5SZhong Kaihua					0x138  MUX_M1	/* SDIO_DATA2   (IOMG078) */
79379e9bf5SZhong Kaihua					0x13c  MUX_M1	/* SDIO_DATA3   (IOMG079) */
80379e9bf5SZhong Kaihua				>;
81379e9bf5SZhong Kaihua			};
82379e9bf5SZhong Kaihua
83*35e6bcd1STony Lindgren			isp_pmx_func: isp-pins {
84379e9bf5SZhong Kaihua				pinctrl-single,pins = <
85379e9bf5SZhong Kaihua					0x24   MUX_M0	/* ISP_PWDN0    (IOMG009) */
86379e9bf5SZhong Kaihua					0x28   MUX_M0	/* ISP_PWDN1    (IOMG010) */
87379e9bf5SZhong Kaihua					0x2c   MUX_M0	/* ISP_PWDN2    (IOMG011) */
88379e9bf5SZhong Kaihua					0x30   MUX_M1	/* ISP_SHUTTER0 (IOMG012) */
89379e9bf5SZhong Kaihua					0x34   MUX_M1	/* ISP_SHUTTER1 (IOMG013) */
90379e9bf5SZhong Kaihua					0x38   MUX_M1	/* ISP_PWM      (IOMG014) */
91379e9bf5SZhong Kaihua					0x3c   MUX_M0	/* ISP_CCLK0    (IOMG015) */
92379e9bf5SZhong Kaihua					0x40   MUX_M0	/* ISP_CCLK1    (IOMG016) */
93379e9bf5SZhong Kaihua					0x44   MUX_M0	/* ISP_RESETB0  (IOMG017) */
94379e9bf5SZhong Kaihua					0x48   MUX_M0	/* ISP_RESETB1  (IOMG018) */
95379e9bf5SZhong Kaihua					0x4c   MUX_M1	/* ISP_STROBE0  (IOMG019) */
96379e9bf5SZhong Kaihua					0x50   MUX_M1	/* ISP_STROBE1  (IOMG020) */
97379e9bf5SZhong Kaihua					0x54   MUX_M0	/* ISP_SDA0     (IOMG021) */
98379e9bf5SZhong Kaihua					0x58   MUX_M0	/* ISP_SCL0     (IOMG022) */
99379e9bf5SZhong Kaihua					0x5c   MUX_M0	/* ISP_SDA1     (IOMG023) */
100379e9bf5SZhong Kaihua					0x60   MUX_M0	/* ISP_SCL1     (IOMG024) */
101379e9bf5SZhong Kaihua				>;
102379e9bf5SZhong Kaihua			};
103379e9bf5SZhong Kaihua
104*35e6bcd1STony Lindgren			hkadc_ssi_pmx_func: hkadc-ssi-pins {
105379e9bf5SZhong Kaihua				pinctrl-single,pins = <
106379e9bf5SZhong Kaihua					0x68   MUX_M0	/* HKADC_SSI    (IOMG026) */
107379e9bf5SZhong Kaihua				>;
108379e9bf5SZhong Kaihua			};
109379e9bf5SZhong Kaihua
110*35e6bcd1STony Lindgren			codec_clk_pmx_func: codec-clk-pins {
111379e9bf5SZhong Kaihua				pinctrl-single,pins = <
112379e9bf5SZhong Kaihua					0x6c   MUX_M0	/* CODEC_CLK    (IOMG027) */
113379e9bf5SZhong Kaihua				>;
114379e9bf5SZhong Kaihua			};
115379e9bf5SZhong Kaihua
116*35e6bcd1STony Lindgren			codec_pmx_func: codec-pins {
117379e9bf5SZhong Kaihua				pinctrl-single,pins = <
118379e9bf5SZhong Kaihua					0x70   MUX_M1	/* DMIC_CLK     (IOMG028) */
119379e9bf5SZhong Kaihua					0x74   MUX_M0	/* CODEC_SYNC   (IOMG029) */
120379e9bf5SZhong Kaihua					0x78   MUX_M0	/* CODEC_DI     (IOMG030) */
121379e9bf5SZhong Kaihua					0x7c   MUX_M0	/* CODEC_DO     (IOMG031) */
122379e9bf5SZhong Kaihua				>;
123379e9bf5SZhong Kaihua			};
124379e9bf5SZhong Kaihua
125*35e6bcd1STony Lindgren			fm_pmx_func: fm-pins {
126379e9bf5SZhong Kaihua				pinctrl-single,pins = <
127379e9bf5SZhong Kaihua					0x80   MUX_M1	/* FM_XCLK      (IOMG032) */
128379e9bf5SZhong Kaihua					0x84   MUX_M1	/* FM_XFS       (IOMG033) */
129379e9bf5SZhong Kaihua					0x88   MUX_M1	/* FM_DI        (IOMG034) */
130379e9bf5SZhong Kaihua					0x8c   MUX_M1	/* FM_DO        (IOMG035) */
131379e9bf5SZhong Kaihua				>;
132379e9bf5SZhong Kaihua			};
133379e9bf5SZhong Kaihua
134*35e6bcd1STony Lindgren			bt_pmx_func: bt-pins {
135379e9bf5SZhong Kaihua				pinctrl-single,pins = <
136379e9bf5SZhong Kaihua					0x90   MUX_M0	/* BT_XCLK      (IOMG036) */
137379e9bf5SZhong Kaihua					0x94   MUX_M0	/* BT_XFS       (IOMG037) */
138379e9bf5SZhong Kaihua					0x98   MUX_M0	/* BT_DI        (IOMG038) */
139379e9bf5SZhong Kaihua					0x9c   MUX_M0	/* BT_DO        (IOMG039) */
140379e9bf5SZhong Kaihua				>;
141379e9bf5SZhong Kaihua			};
142379e9bf5SZhong Kaihua
143*35e6bcd1STony Lindgren			pwm_in_pmx_func: pwm-in-pins {
144379e9bf5SZhong Kaihua				pinctrl-single,pins = <
145379e9bf5SZhong Kaihua					0xb8   MUX_M1	/* PWM_IN       (IOMG046) */
146379e9bf5SZhong Kaihua				>;
147379e9bf5SZhong Kaihua			};
148379e9bf5SZhong Kaihua
149*35e6bcd1STony Lindgren			bl_pwm_pmx_func: bl-pwm-pins {
150379e9bf5SZhong Kaihua				pinctrl-single,pins = <
151379e9bf5SZhong Kaihua					0xbc   MUX_M1	/* BL_PWM       (IOMG047) */
152379e9bf5SZhong Kaihua				>;
153379e9bf5SZhong Kaihua			};
154379e9bf5SZhong Kaihua
155*35e6bcd1STony Lindgren			uart0_pmx_func: uart0-pins {
156379e9bf5SZhong Kaihua				pinctrl-single,pins = <
157379e9bf5SZhong Kaihua					0xc0   MUX_M0	/* UART0_RXD    (IOMG048) */
158379e9bf5SZhong Kaihua					0xc4   MUX_M0	/* UART0_TXD    (IOMG049) */
159379e9bf5SZhong Kaihua				>;
160379e9bf5SZhong Kaihua			};
161379e9bf5SZhong Kaihua
162*35e6bcd1STony Lindgren			uart1_pmx_func: uart1-pins {
163379e9bf5SZhong Kaihua				pinctrl-single,pins = <
164379e9bf5SZhong Kaihua					0xc8   MUX_M0	/* UART1_CTS_N  (IOMG050) */
165379e9bf5SZhong Kaihua					0xcc   MUX_M0	/* UART1_RTS_N  (IOMG051) */
166379e9bf5SZhong Kaihua					0xd0   MUX_M0	/* UART1_RXD    (IOMG052) */
167379e9bf5SZhong Kaihua					0xd4   MUX_M0	/* UART1_TXD    (IOMG053) */
168379e9bf5SZhong Kaihua				>;
169379e9bf5SZhong Kaihua			};
170379e9bf5SZhong Kaihua
171*35e6bcd1STony Lindgren			uart2_pmx_func: uart2-pins {
172379e9bf5SZhong Kaihua				pinctrl-single,pins = <
173379e9bf5SZhong Kaihua					0xd8   MUX_M0	/* UART2_CTS_N  (IOMG054) */
174379e9bf5SZhong Kaihua					0xdc   MUX_M0	/* UART2_RTS_N  (IOMG055) */
175379e9bf5SZhong Kaihua					0xe0   MUX_M0	/* UART2_RXD    (IOMG056) */
176379e9bf5SZhong Kaihua					0xe4   MUX_M0	/* UART2_TXD    (IOMG057) */
177379e9bf5SZhong Kaihua				>;
178379e9bf5SZhong Kaihua			};
179379e9bf5SZhong Kaihua
180*35e6bcd1STony Lindgren			uart3_pmx_func: uart3-pins {
181379e9bf5SZhong Kaihua				pinctrl-single,pins = <
182379e9bf5SZhong Kaihua					0x180  MUX_M1	/* UART3_CTS_N  (IOMG096) */
183379e9bf5SZhong Kaihua					0x184  MUX_M1	/* UART3_RTS_N  (IOMG097) */
184379e9bf5SZhong Kaihua					0x188  MUX_M1	/* UART3_RXD    (IOMG098) */
185379e9bf5SZhong Kaihua					0x18c  MUX_M1	/* UART3_TXD    (IOMG099) */
186379e9bf5SZhong Kaihua				>;
187379e9bf5SZhong Kaihua			};
188379e9bf5SZhong Kaihua
189*35e6bcd1STony Lindgren			uart4_pmx_func: uart4-pins {
190379e9bf5SZhong Kaihua				pinctrl-single,pins = <
191379e9bf5SZhong Kaihua					0x1d0  MUX_M1	/* UART4_CTS_N  (IOMG116) */
192379e9bf5SZhong Kaihua					0x1d4  MUX_M1	/* UART4_RTS_N  (IOMG117) */
193379e9bf5SZhong Kaihua					0x1d8  MUX_M1	/* UART4_RXD    (IOMG118) */
194379e9bf5SZhong Kaihua					0x1dc  MUX_M1	/* UART4_TXD    (IOMG119) */
195379e9bf5SZhong Kaihua				>;
196379e9bf5SZhong Kaihua			};
197379e9bf5SZhong Kaihua
198*35e6bcd1STony Lindgren			uart5_pmx_func: uart5-pins {
199379e9bf5SZhong Kaihua				pinctrl-single,pins = <
200379e9bf5SZhong Kaihua					0x1c8  MUX_M1	/* UART5_RXD    (IOMG114) */
201379e9bf5SZhong Kaihua					0x1cc  MUX_M1	/* UART5_TXD    (IOMG115) */
202379e9bf5SZhong Kaihua				>;
203379e9bf5SZhong Kaihua			};
204379e9bf5SZhong Kaihua
205*35e6bcd1STony Lindgren			i2c0_pmx_func: i2c0-pins {
206379e9bf5SZhong Kaihua				pinctrl-single,pins = <
207379e9bf5SZhong Kaihua					0xe8   MUX_M0	/* I2C0_SCL     (IOMG058) */
208379e9bf5SZhong Kaihua					0xec   MUX_M0	/* I2C0_SDA     (IOMG059) */
209379e9bf5SZhong Kaihua				>;
210379e9bf5SZhong Kaihua			};
211379e9bf5SZhong Kaihua
212*35e6bcd1STony Lindgren			i2c1_pmx_func: i2c1-pins {
213379e9bf5SZhong Kaihua				pinctrl-single,pins = <
214379e9bf5SZhong Kaihua					0xf0   MUX_M0	/* I2C1_SCL     (IOMG060) */
215379e9bf5SZhong Kaihua					0xf4   MUX_M0	/* I2C1_SDA     (IOMG061) */
216379e9bf5SZhong Kaihua				>;
217379e9bf5SZhong Kaihua			};
218379e9bf5SZhong Kaihua
219*35e6bcd1STony Lindgren			i2c2_pmx_func: i2c2-pins {
220379e9bf5SZhong Kaihua				pinctrl-single,pins = <
221379e9bf5SZhong Kaihua					0xf8   MUX_M0	/* I2C2_SCL     (IOMG062) */
222379e9bf5SZhong Kaihua					0xfc   MUX_M0	/* I2C2_SDA     (IOMG063) */
223379e9bf5SZhong Kaihua				>;
224379e9bf5SZhong Kaihua			};
22560dac1b1SZhong Kaihua
226*35e6bcd1STony Lindgren			spi0_pmx_func: spi0-pins {
22760dac1b1SZhong Kaihua				pinctrl-single,pins = <
22860dac1b1SZhong Kaihua					0x1a0  MUX_M1   /* SPI0_DI      (IOMG104) */
22960dac1b1SZhong Kaihua					0x1a4  MUX_M1	/* SPI0_DO	(IOMG105) */
23060dac1b1SZhong Kaihua					0x1a8  MUX_M1	/* SPI0_CS_N	(IOMG106) */
23160dac1b1SZhong Kaihua					0x1ac  MUX_M1	/* SPI0_CLK	(IOMG107) */
23260dac1b1SZhong Kaihua				>;
23360dac1b1SZhong Kaihua			};
234379e9bf5SZhong Kaihua		};
235379e9bf5SZhong Kaihua
236379e9bf5SZhong Kaihua		pmx1: pinmux@f7010800 {
237379e9bf5SZhong Kaihua
238379e9bf5SZhong Kaihua			pinctrl-names = "default";
239379e9bf5SZhong Kaihua			pinctrl-0 = <
240379e9bf5SZhong Kaihua				&boot_sel_cfg_func
241379e9bf5SZhong Kaihua				&hkadc_ssi_cfg_func
242379e9bf5SZhong Kaihua				&codec_clk_cfg_func
243379e9bf5SZhong Kaihua				&pwm_in_cfg_func
244379e9bf5SZhong Kaihua				&bl_pwm_cfg_func
245379e9bf5SZhong Kaihua				>;
246379e9bf5SZhong Kaihua
247*35e6bcd1STony Lindgren			boot_sel_cfg_func: boot-sel-cfg-pins {
248379e9bf5SZhong Kaihua				pinctrl-single,pins = <
249379e9bf5SZhong Kaihua					0x0    0x0	/* BOOT_SEL     (IOCFG000) */
250379e9bf5SZhong Kaihua				>;
251379e9bf5SZhong Kaihua				pinctrl-single,bias-pulldown  = <PULL_DIS  PULL_DOWN PULL_DIS  PULL_DOWN>;
252379e9bf5SZhong Kaihua				pinctrl-single,bias-pullup    = <PULL_UP   PULL_UP   PULL_DIS  PULL_UP>;
253379e9bf5SZhong Kaihua				pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
254379e9bf5SZhong Kaihua			};
255379e9bf5SZhong Kaihua
256*35e6bcd1STony Lindgren			hkadc_ssi_cfg_func: hkadc-ssi-cfg-pins {
257379e9bf5SZhong Kaihua				pinctrl-single,pins = <
258379e9bf5SZhong Kaihua					0x6c   0x0	/* HKADC_SSI    (IOCFG027) */
259379e9bf5SZhong Kaihua				>;
260379e9bf5SZhong Kaihua				pinctrl-single,bias-pulldown  = <PULL_DIS  PULL_DOWN PULL_DIS  PULL_DOWN>;
261379e9bf5SZhong Kaihua				pinctrl-single,bias-pullup    = <PULL_DIS  PULL_UP   PULL_DIS  PULL_UP>;
262379e9bf5SZhong Kaihua				pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
263379e9bf5SZhong Kaihua			};
264379e9bf5SZhong Kaihua
265*35e6bcd1STony Lindgren			emmc_clk_cfg_func: emmc-clk-cfg-pins {
266379e9bf5SZhong Kaihua				pinctrl-single,pins = <
267379e9bf5SZhong Kaihua					0x104  0x0	/* EMMC_CLK     (IOCFG065) */
268379e9bf5SZhong Kaihua				>;
269379e9bf5SZhong Kaihua				pinctrl-single,bias-pulldown  = <PULL_DIS  PULL_DOWN PULL_DIS  PULL_DOWN>;
270379e9bf5SZhong Kaihua				pinctrl-single,bias-pullup    = <PULL_DIS  PULL_UP   PULL_DIS  PULL_UP>;
271379e9bf5SZhong Kaihua				pinctrl-single,drive-strength = <DRIVE1_08MA DRIVE_MASK>;
272379e9bf5SZhong Kaihua			};
273379e9bf5SZhong Kaihua
274*35e6bcd1STony Lindgren			emmc_cfg_func: emmc-cfg-pins {
275379e9bf5SZhong Kaihua				pinctrl-single,pins = <
276379e9bf5SZhong Kaihua					0x108  0x0	/* EMMC_CMD     (IOCFG066) */
277379e9bf5SZhong Kaihua					0x10c  0x0	/* EMMC_DATA0   (IOCFG067) */
278379e9bf5SZhong Kaihua					0x110  0x0	/* EMMC_DATA1   (IOCFG068) */
279379e9bf5SZhong Kaihua					0x114  0x0	/* EMMC_DATA2   (IOCFG069) */
280379e9bf5SZhong Kaihua					0x118  0x0	/* EMMC_DATA3   (IOCFG070) */
281379e9bf5SZhong Kaihua					0x11c  0x0	/* EMMC_DATA4   (IOCFG071) */
282379e9bf5SZhong Kaihua					0x120  0x0	/* EMMC_DATA5   (IOCFG072) */
283379e9bf5SZhong Kaihua					0x124  0x0	/* EMMC_DATA6   (IOCFG073) */
284379e9bf5SZhong Kaihua					0x128  0x0	/* EMMC_DATA7   (IOCFG074) */
285379e9bf5SZhong Kaihua				>;
286379e9bf5SZhong Kaihua				pinctrl-single,bias-pulldown  = <PULL_DIS  PULL_DOWN PULL_DIS  PULL_DOWN>;
287379e9bf5SZhong Kaihua				pinctrl-single,bias-pullup    = <PULL_UP   PULL_UP   PULL_DIS  PULL_UP>;
288379e9bf5SZhong Kaihua				pinctrl-single,drive-strength = <DRIVE1_04MA DRIVE_MASK>;
289379e9bf5SZhong Kaihua			};
290379e9bf5SZhong Kaihua
291*35e6bcd1STony Lindgren			emmc_rst_cfg_func: emmc-rst-cfg-pins {
292379e9bf5SZhong Kaihua				pinctrl-single,pins = <
293379e9bf5SZhong Kaihua					0x12c  0x0	/* EMMC_RST_N   (IOCFG075) */
294379e9bf5SZhong Kaihua				>;
295379e9bf5SZhong Kaihua				pinctrl-single,bias-pulldown  = <PULL_DIS  PULL_DOWN PULL_DIS  PULL_DOWN>;
296379e9bf5SZhong Kaihua				pinctrl-single,bias-pullup    = <PULL_DIS  PULL_UP   PULL_DIS  PULL_UP>;
297379e9bf5SZhong Kaihua				pinctrl-single,drive-strength = <DRIVE1_04MA DRIVE_MASK>;
298379e9bf5SZhong Kaihua			};
299379e9bf5SZhong Kaihua
300*35e6bcd1STony Lindgren			sd_clk_cfg_func: sd-clk-cfg-pins {
301379e9bf5SZhong Kaihua				pinctrl-single,pins = <
302379e9bf5SZhong Kaihua					0xc    0x0	/* SD_CLK       (IOCFG003) */
303379e9bf5SZhong Kaihua				>;
304379e9bf5SZhong Kaihua				pinctrl-single,bias-pulldown  = <PULL_DIS  PULL_DOWN PULL_DIS  PULL_DOWN>;
305379e9bf5SZhong Kaihua				pinctrl-single,bias-pullup    = <PULL_DIS  PULL_UP   PULL_DIS  PULL_UP>;
306379e9bf5SZhong Kaihua				pinctrl-single,drive-strength = <DRIVE1_10MA DRIVE_MASK>;
307379e9bf5SZhong Kaihua			};
308*35e6bcd1STony Lindgren			sd_clk_cfg_idle: sd-clk-cfg-idle-pins {
309379e9bf5SZhong Kaihua				pinctrl-single,pins = <
310379e9bf5SZhong Kaihua					0xc    0x0	/* SD_CLK       (IOCFG003) */
311379e9bf5SZhong Kaihua				>;
312379e9bf5SZhong Kaihua				pinctrl-single,bias-pulldown  = <PULL_DOWN PULL_DOWN PULL_DIS  PULL_DOWN>;
313379e9bf5SZhong Kaihua				pinctrl-single,bias-pullup    = <PULL_DIS  PULL_UP   PULL_DIS  PULL_UP>;
314379e9bf5SZhong Kaihua				pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
315379e9bf5SZhong Kaihua			};
316379e9bf5SZhong Kaihua
317*35e6bcd1STony Lindgren			sd_cfg_func: sd-cfg-pins {
318379e9bf5SZhong Kaihua				pinctrl-single,pins = <
319379e9bf5SZhong Kaihua					0x10   0x0	/* SD_CMD       (IOCFG004) */
320379e9bf5SZhong Kaihua					0x14   0x0	/* SD_DATA0     (IOCFG005) */
321379e9bf5SZhong Kaihua					0x18   0x0	/* SD_DATA1     (IOCFG006) */
322379e9bf5SZhong Kaihua					0x1c   0x0	/* SD_DATA2     (IOCFG007) */
323379e9bf5SZhong Kaihua					0x20   0x0	/* SD_DATA3     (IOCFG008) */
324379e9bf5SZhong Kaihua				>;
325379e9bf5SZhong Kaihua				pinctrl-single,bias-pulldown  = <PULL_DIS  PULL_DOWN PULL_DIS  PULL_DOWN>;
326379e9bf5SZhong Kaihua				pinctrl-single,bias-pullup    = <PULL_DIS  PULL_UP   PULL_DIS  PULL_UP>;
327379e9bf5SZhong Kaihua				pinctrl-single,drive-strength = <DRIVE1_08MA DRIVE_MASK>;
328379e9bf5SZhong Kaihua			};
329*35e6bcd1STony Lindgren			sd_cfg_idle: sd-cfg-idle-pins {
330379e9bf5SZhong Kaihua				pinctrl-single,pins = <
331379e9bf5SZhong Kaihua					0x10   0x0	/* SD_CMD       (IOCFG004) */
332379e9bf5SZhong Kaihua					0x14   0x0	/* SD_DATA0     (IOCFG005) */
333379e9bf5SZhong Kaihua					0x18   0x0	/* SD_DATA1     (IOCFG006) */
334379e9bf5SZhong Kaihua					0x1c   0x0	/* SD_DATA2     (IOCFG007) */
335379e9bf5SZhong Kaihua					0x20   0x0	/* SD_DATA3     (IOCFG008) */
336379e9bf5SZhong Kaihua				>;
337379e9bf5SZhong Kaihua				pinctrl-single,bias-pulldown  = <PULL_DOWN PULL_DOWN PULL_DIS  PULL_DOWN>;
338379e9bf5SZhong Kaihua				pinctrl-single,bias-pullup    = <PULL_DIS  PULL_UP   PULL_DIS  PULL_UP>;
339379e9bf5SZhong Kaihua				pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
340379e9bf5SZhong Kaihua			};
341379e9bf5SZhong Kaihua
342*35e6bcd1STony Lindgren			sdio_clk_cfg_func: sdio-clk-cfg-pins {
343379e9bf5SZhong Kaihua				pinctrl-single,pins = <
344379e9bf5SZhong Kaihua					0x134  0x0	/* SDIO_CLK     (IOCFG077) */
345379e9bf5SZhong Kaihua				>;
346379e9bf5SZhong Kaihua				pinctrl-single,bias-pulldown  = <PULL_DIS  PULL_DOWN PULL_DIS  PULL_DOWN>;
347379e9bf5SZhong Kaihua				pinctrl-single,bias-pullup    = <PULL_DIS  PULL_UP   PULL_DIS  PULL_UP>;
348379e9bf5SZhong Kaihua				pinctrl-single,drive-strength = <DRIVE1_08MA DRIVE_MASK>;
349379e9bf5SZhong Kaihua			};
350*35e6bcd1STony Lindgren			sdio_clk_cfg_idle: sdio-clk-cfg-idle-pins {
351379e9bf5SZhong Kaihua				pinctrl-single,pins = <
352379e9bf5SZhong Kaihua					0x134  0x0	/* SDIO_CLK     (IOCFG077) */
353379e9bf5SZhong Kaihua				>;
354379e9bf5SZhong Kaihua				pinctrl-single,bias-pulldown  = <PULL_DOWN PULL_DOWN PULL_DIS  PULL_DOWN>;
355379e9bf5SZhong Kaihua				pinctrl-single,bias-pullup    = <PULL_DIS  PULL_UP   PULL_DIS  PULL_UP>;
356379e9bf5SZhong Kaihua				pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
357379e9bf5SZhong Kaihua			};
358379e9bf5SZhong Kaihua
359*35e6bcd1STony Lindgren			sdio_cfg_func: sdio-cfg-pins {
360379e9bf5SZhong Kaihua				pinctrl-single,pins = <
361379e9bf5SZhong Kaihua					0x138  0x0	/* SDIO_CMD     (IOCFG078) */
362379e9bf5SZhong Kaihua					0x13c  0x0	/* SDIO_DATA0   (IOCFG079) */
363379e9bf5SZhong Kaihua					0x140  0x0	/* SDIO_DATA1   (IOCFG080) */
364379e9bf5SZhong Kaihua					0x144  0x0	/* SDIO_DATA2   (IOCFG081) */
365379e9bf5SZhong Kaihua					0x148  0x0	/* SDIO_DATA3   (IOCFG082) */
366379e9bf5SZhong Kaihua				>;
367379e9bf5SZhong Kaihua				pinctrl-single,bias-pulldown  = <PULL_DIS  PULL_DOWN PULL_DIS  PULL_DOWN>;
368379e9bf5SZhong Kaihua				pinctrl-single,bias-pullup    = <PULL_UP   PULL_UP   PULL_DIS  PULL_UP>;
369379e9bf5SZhong Kaihua				pinctrl-single,drive-strength = <DRIVE1_04MA DRIVE_MASK>;
370379e9bf5SZhong Kaihua			};
371*35e6bcd1STony Lindgren			sdio_cfg_idle: sdio-cfg-idle-pins {
372379e9bf5SZhong Kaihua				pinctrl-single,pins = <
373379e9bf5SZhong Kaihua					0x138  0x0	/* SDIO_CMD     (IOCFG078) */
374379e9bf5SZhong Kaihua					0x13c  0x0	/* SDIO_DATA0   (IOCFG079) */
375379e9bf5SZhong Kaihua					0x140  0x0	/* SDIO_DATA1   (IOCFG080) */
376379e9bf5SZhong Kaihua					0x144  0x0	/* SDIO_DATA2   (IOCFG081) */
377379e9bf5SZhong Kaihua					0x148  0x0	/* SDIO_DATA3   (IOCFG082) */
378379e9bf5SZhong Kaihua				>;
379379e9bf5SZhong Kaihua				pinctrl-single,bias-pulldown  = <PULL_DIS  PULL_DOWN PULL_DIS  PULL_DOWN>;
380379e9bf5SZhong Kaihua				pinctrl-single,bias-pullup    = <PULL_UP   PULL_UP   PULL_DIS  PULL_UP>;
381379e9bf5SZhong Kaihua				pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
382379e9bf5SZhong Kaihua			};
383379e9bf5SZhong Kaihua
384*35e6bcd1STony Lindgren			isp_cfg_func1: isp-cfg-func1-pins {
385379e9bf5SZhong Kaihua				pinctrl-single,pins = <
386379e9bf5SZhong Kaihua					0x28   0x0	/* ISP_PWDN0    (IOCFG010) */
387379e9bf5SZhong Kaihua					0x2c   0x0	/* ISP_PWDN1    (IOCFG011) */
388379e9bf5SZhong Kaihua					0x30   0x0	/* ISP_PWDN2    (IOCFG012) */
389379e9bf5SZhong Kaihua					0x34   0x0	/* ISP_SHUTTER0 (IOCFG013) */
390379e9bf5SZhong Kaihua					0x38   0x0	/* ISP_SHUTTER1 (IOCFG014) */
391379e9bf5SZhong Kaihua					0x3c   0x0	/* ISP_PWM      (IOCFG015) */
392379e9bf5SZhong Kaihua					0x40   0x0	/* ISP_CCLK0    (IOCFG016) */
393379e9bf5SZhong Kaihua					0x44   0x0	/* ISP_CCLK1    (IOCFG017) */
394379e9bf5SZhong Kaihua					0x48   0x0	/* ISP_RESETB0  (IOCFG018) */
395379e9bf5SZhong Kaihua					0x4c   0x0	/* ISP_RESETB1  (IOCFG019) */
396379e9bf5SZhong Kaihua					0x50   0x0	/* ISP_STROBE0  (IOCFG020) */
397379e9bf5SZhong Kaihua					0x58   0x0	/* ISP_SDA0     (IOCFG022) */
398379e9bf5SZhong Kaihua					0x5c   0x0	/* ISP_SCL0     (IOCFG023) */
399379e9bf5SZhong Kaihua					0x60   0x0	/* ISP_SDA1     (IOCFG024) */
400379e9bf5SZhong Kaihua					0x64   0x0	/* ISP_SCL1     (IOCFG025) */
401379e9bf5SZhong Kaihua				>;
402379e9bf5SZhong Kaihua				pinctrl-single,bias-pulldown  = <PULL_DIS  PULL_DOWN PULL_DIS  PULL_DOWN>;
403379e9bf5SZhong Kaihua				pinctrl-single,bias-pullup    = <PULL_DIS  PULL_UP   PULL_DIS  PULL_UP>;
404379e9bf5SZhong Kaihua				pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
405379e9bf5SZhong Kaihua			};
406*35e6bcd1STony Lindgren			isp_cfg_idle1: isp-cfg-idle1-pins {
407379e9bf5SZhong Kaihua				pinctrl-single,pins = <
408379e9bf5SZhong Kaihua					0x34   0x0	/* ISP_SHUTTER0 (IOCFG013) */
409379e9bf5SZhong Kaihua					0x38   0x0	/* ISP_SHUTTER1 (IOCFG014) */
410379e9bf5SZhong Kaihua				>;
411379e9bf5SZhong Kaihua				pinctrl-single,bias-pulldown  = <PULL_DOWN PULL_DOWN PULL_DIS  PULL_DOWN>;
412379e9bf5SZhong Kaihua				pinctrl-single,bias-pullup    = <PULL_DIS  PULL_UP   PULL_DIS  PULL_UP>;
413379e9bf5SZhong Kaihua				pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
414379e9bf5SZhong Kaihua			};
415379e9bf5SZhong Kaihua
416*35e6bcd1STony Lindgren			isp_cfg_func2: isp-cfg-func2-pins {
417379e9bf5SZhong Kaihua				pinctrl-single,pins = <
418379e9bf5SZhong Kaihua					0x54   0x0	/* ISP_STROBE1  (IOCFG021) */
419379e9bf5SZhong Kaihua				>;
420379e9bf5SZhong Kaihua				pinctrl-single,bias-pulldown  = <PULL_DOWN PULL_DOWN PULL_DIS  PULL_DOWN>;
421379e9bf5SZhong Kaihua				pinctrl-single,bias-pullup    = <PULL_DIS  PULL_UP   PULL_DIS  PULL_UP>;
422379e9bf5SZhong Kaihua				pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
423379e9bf5SZhong Kaihua			};
424379e9bf5SZhong Kaihua
425*35e6bcd1STony Lindgren			codec_clk_cfg_func: codec-clk-cfg-pins {
426379e9bf5SZhong Kaihua				pinctrl-single,pins = <
427379e9bf5SZhong Kaihua					0x70   0x0	/* CODEC_CLK    (IOCFG028) */
428379e9bf5SZhong Kaihua				>;
429379e9bf5SZhong Kaihua				pinctrl-single,bias-pulldown  = <PULL_DIS  PULL_DOWN PULL_DIS  PULL_DOWN>;
430379e9bf5SZhong Kaihua				pinctrl-single,bias-pullup    = <PULL_DIS  PULL_UP   PULL_DIS  PULL_UP>;
431379e9bf5SZhong Kaihua				pinctrl-single,drive-strength = <DRIVE1_04MA DRIVE_MASK>;
432379e9bf5SZhong Kaihua			};
433*35e6bcd1STony Lindgren			codec_clk_cfg_idle: codec-clk-cfg-idle-pins {
434379e9bf5SZhong Kaihua				pinctrl-single,pins = <
435379e9bf5SZhong Kaihua					0x70   0x0	/* CODEC_CLK    (IOCFG028) */
436379e9bf5SZhong Kaihua				>;
437379e9bf5SZhong Kaihua				pinctrl-single,bias-pulldown  = <PULL_DIS  PULL_DOWN PULL_DIS  PULL_DOWN>;
438379e9bf5SZhong Kaihua				pinctrl-single,bias-pullup    = <PULL_DIS  PULL_UP   PULL_DIS  PULL_UP>;
439379e9bf5SZhong Kaihua				pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
440379e9bf5SZhong Kaihua			};
441379e9bf5SZhong Kaihua
442*35e6bcd1STony Lindgren			codec_cfg_func1: codec-cfg-func1-pins {
443379e9bf5SZhong Kaihua				pinctrl-single,pins = <
444379e9bf5SZhong Kaihua					0x74   0x0	/* DMIC_CLK     (IOCFG029) */
445379e9bf5SZhong Kaihua				>;
446379e9bf5SZhong Kaihua				pinctrl-single,bias-pulldown  = <PULL_DOWN PULL_DOWN PULL_DIS  PULL_DOWN>;
447379e9bf5SZhong Kaihua				pinctrl-single,bias-pullup    = <PULL_DIS  PULL_UP   PULL_DIS  PULL_UP>;
448379e9bf5SZhong Kaihua				pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
449379e9bf5SZhong Kaihua			};
450379e9bf5SZhong Kaihua
451*35e6bcd1STony Lindgren			codec_cfg_func2: codec-cfg-func2-pins {
452379e9bf5SZhong Kaihua				pinctrl-single,pins = <
453379e9bf5SZhong Kaihua					0x78   0x0	/* CODEC_SYNC   (IOCFG030) */
454379e9bf5SZhong Kaihua					0x7c   0x0	/* CODEC_DI     (IOCFG031) */
455379e9bf5SZhong Kaihua					0x80   0x0	/* CODEC_DO     (IOCFG032) */
456379e9bf5SZhong Kaihua				>;
457379e9bf5SZhong Kaihua				pinctrl-single,bias-pulldown  = <PULL_DIS  PULL_DOWN PULL_DIS  PULL_DOWN>;
458379e9bf5SZhong Kaihua				pinctrl-single,bias-pullup    = <PULL_DIS  PULL_UP   PULL_DIS  PULL_UP>;
459379e9bf5SZhong Kaihua				pinctrl-single,drive-strength = <DRIVE1_04MA DRIVE_MASK>;
460379e9bf5SZhong Kaihua			};
461*35e6bcd1STony Lindgren			codec_cfg_idle2: codec-cfg-idle2-pins {
462379e9bf5SZhong Kaihua				pinctrl-single,pins = <
463379e9bf5SZhong Kaihua					0x78   0x0	/* CODEC_SYNC   (IOCFG030) */
464379e9bf5SZhong Kaihua					0x7c   0x0	/* CODEC_DI     (IOCFG031) */
465379e9bf5SZhong Kaihua					0x80   0x0	/* CODEC_DO     (IOCFG032) */
466379e9bf5SZhong Kaihua				>;
467379e9bf5SZhong Kaihua				pinctrl-single,bias-pulldown  = <PULL_DIS  PULL_DOWN PULL_DIS  PULL_DOWN>;
468379e9bf5SZhong Kaihua				pinctrl-single,bias-pullup    = <PULL_DIS  PULL_UP   PULL_DIS  PULL_UP>;
469379e9bf5SZhong Kaihua				pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
470379e9bf5SZhong Kaihua			};
471379e9bf5SZhong Kaihua
472*35e6bcd1STony Lindgren			fm_cfg_func: fm-cfg-pins {
473379e9bf5SZhong Kaihua				pinctrl-single,pins = <
474379e9bf5SZhong Kaihua					0x84   0x0	/* FM_XCLK      (IOCFG033) */
475379e9bf5SZhong Kaihua					0x88   0x0	/* FM_XFS       (IOCFG034) */
476379e9bf5SZhong Kaihua					0x8c   0x0	/* FM_DI        (IOCFG035) */
477379e9bf5SZhong Kaihua					0x90   0x0	/* FM_DO        (IOCFG036) */
478379e9bf5SZhong Kaihua				>;
479379e9bf5SZhong Kaihua				pinctrl-single,bias-pulldown  = <PULL_DOWN PULL_DOWN PULL_DIS  PULL_DOWN>;
480379e9bf5SZhong Kaihua				pinctrl-single,bias-pullup    = <PULL_DIS  PULL_UP   PULL_DIS  PULL_UP>;
481379e9bf5SZhong Kaihua				pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
482379e9bf5SZhong Kaihua			};
483379e9bf5SZhong Kaihua
484*35e6bcd1STony Lindgren			bt_cfg_func: bt-cfg-pins {
485379e9bf5SZhong Kaihua				pinctrl-single,pins = <
486379e9bf5SZhong Kaihua					0x94   0x0	/* BT_XCLK      (IOCFG037) */
487379e9bf5SZhong Kaihua					0x98   0x0	/* BT_XFS       (IOCFG038) */
488379e9bf5SZhong Kaihua					0x9c   0x0	/* BT_DI        (IOCFG039) */
489379e9bf5SZhong Kaihua					0xa0   0x0	/* BT_DO        (IOCFG040) */
490379e9bf5SZhong Kaihua				>;
491379e9bf5SZhong Kaihua				pinctrl-single,bias-pulldown  = <PULL_DIS  PULL_DOWN PULL_DIS  PULL_DOWN>;
492379e9bf5SZhong Kaihua				pinctrl-single,bias-pullup    = <PULL_DIS  PULL_UP   PULL_DIS  PULL_UP>;
493379e9bf5SZhong Kaihua				pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
494379e9bf5SZhong Kaihua			};
495*35e6bcd1STony Lindgren			bt_cfg_idle: bt-cfg-idle-pins {
496379e9bf5SZhong Kaihua				pinctrl-single,pins = <
497379e9bf5SZhong Kaihua					0x94   0x0	/* BT_XCLK      (IOCFG037) */
498379e9bf5SZhong Kaihua					0x98   0x0	/* BT_XFS       (IOCFG038) */
499379e9bf5SZhong Kaihua					0x9c   0x0	/* BT_DI        (IOCFG039) */
500379e9bf5SZhong Kaihua					0xa0   0x0	/* BT_DO        (IOCFG040) */
501379e9bf5SZhong Kaihua				>;
502379e9bf5SZhong Kaihua				pinctrl-single,bias-pulldown  = <PULL_DOWN PULL_DOWN PULL_DIS  PULL_DOWN>;
503379e9bf5SZhong Kaihua				pinctrl-single,bias-pullup    = <PULL_DIS  PULL_UP   PULL_DIS  PULL_UP>;
504379e9bf5SZhong Kaihua				pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
505379e9bf5SZhong Kaihua			};
506379e9bf5SZhong Kaihua
507*35e6bcd1STony Lindgren			pwm_in_cfg_func: pwm-in-cfg-pins {
508379e9bf5SZhong Kaihua				pinctrl-single,pins = <
509379e9bf5SZhong Kaihua					0xbc   0x0	/* PWM_IN       (IOCFG047) */
510379e9bf5SZhong Kaihua				>;
511379e9bf5SZhong Kaihua				pinctrl-single,bias-pulldown  = <PULL_DOWN PULL_DOWN PULL_DIS  PULL_DOWN>;
512379e9bf5SZhong Kaihua				pinctrl-single,bias-pullup    = <PULL_DIS  PULL_UP   PULL_DIS  PULL_UP>;
513379e9bf5SZhong Kaihua				pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
514379e9bf5SZhong Kaihua			};
515379e9bf5SZhong Kaihua
516*35e6bcd1STony Lindgren			bl_pwm_cfg_func: bl-pwm-cfg-pins {
517379e9bf5SZhong Kaihua				pinctrl-single,pins = <
518379e9bf5SZhong Kaihua					0xc0   0x0	/* BL_PWM       (IOCFG048) */
519379e9bf5SZhong Kaihua				>;
520379e9bf5SZhong Kaihua				pinctrl-single,bias-pulldown  = <PULL_DOWN PULL_DOWN PULL_DIS  PULL_DOWN>;
521379e9bf5SZhong Kaihua				pinctrl-single,bias-pullup    = <PULL_DIS  PULL_UP   PULL_DIS  PULL_UP>;
522379e9bf5SZhong Kaihua				pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
523379e9bf5SZhong Kaihua			};
524379e9bf5SZhong Kaihua
525*35e6bcd1STony Lindgren			uart0_cfg_func1: uart0-cfg-func1-pins {
526379e9bf5SZhong Kaihua				pinctrl-single,pins = <
527379e9bf5SZhong Kaihua					0xc4   0x0	/* UART0_RXD    (IOCFG049) */
528379e9bf5SZhong Kaihua				>;
529379e9bf5SZhong Kaihua				pinctrl-single,bias-pulldown  = <PULL_DIS  PULL_DOWN PULL_DIS  PULL_DOWN>;
530379e9bf5SZhong Kaihua				pinctrl-single,bias-pullup    = <PULL_UP   PULL_UP   PULL_DIS  PULL_UP>;
531379e9bf5SZhong Kaihua				pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
532379e9bf5SZhong Kaihua			};
533379e9bf5SZhong Kaihua
534*35e6bcd1STony Lindgren			uart0_cfg_func2: uart0-cfg-func2-pins {
535379e9bf5SZhong Kaihua				pinctrl-single,pins = <
536379e9bf5SZhong Kaihua					0xc8   0x0	/* UART0_TXD    (IOCFG050) */
537379e9bf5SZhong Kaihua				>;
538379e9bf5SZhong Kaihua				pinctrl-single,bias-pulldown  = <PULL_DIS  PULL_DOWN PULL_DIS  PULL_DOWN>;
539379e9bf5SZhong Kaihua				pinctrl-single,bias-pullup    = <PULL_DIS  PULL_UP   PULL_DIS  PULL_UP>;
540379e9bf5SZhong Kaihua				pinctrl-single,drive-strength = <DRIVE1_04MA DRIVE_MASK>;
541379e9bf5SZhong Kaihua			};
542379e9bf5SZhong Kaihua
543*35e6bcd1STony Lindgren			uart1_cfg_func1: uart1-cfg-func1-pins {
544379e9bf5SZhong Kaihua				pinctrl-single,pins = <
545379e9bf5SZhong Kaihua					0xcc   0x0	/* UART1_CTS_N  (IOCFG051) */
546379e9bf5SZhong Kaihua					0xd4   0x0	/* UART1_RXD    (IOCFG053) */
547379e9bf5SZhong Kaihua				>;
548379e9bf5SZhong Kaihua				pinctrl-single,bias-pulldown  = <PULL_DIS  PULL_DOWN PULL_DIS  PULL_DOWN>;
549379e9bf5SZhong Kaihua				pinctrl-single,bias-pullup    = <PULL_UP   PULL_UP   PULL_DIS  PULL_UP>;
550379e9bf5SZhong Kaihua				pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
551379e9bf5SZhong Kaihua			};
552379e9bf5SZhong Kaihua
553*35e6bcd1STony Lindgren			uart1_cfg_func2: uart1-cfg-func2-pins {
554379e9bf5SZhong Kaihua				pinctrl-single,pins = <
555379e9bf5SZhong Kaihua					0xd0   0x0	/* UART1_RTS_N  (IOCFG052) */
556379e9bf5SZhong Kaihua					0xd8   0x0	/* UART1_TXD    (IOCFG054) */
557379e9bf5SZhong Kaihua				>;
558379e9bf5SZhong Kaihua				pinctrl-single,bias-pulldown  = <PULL_DIS  PULL_DOWN PULL_DIS  PULL_DOWN>;
559379e9bf5SZhong Kaihua				pinctrl-single,bias-pullup    = <PULL_DIS  PULL_UP   PULL_DIS  PULL_UP>;
560379e9bf5SZhong Kaihua				pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
561379e9bf5SZhong Kaihua			};
562379e9bf5SZhong Kaihua
563*35e6bcd1STony Lindgren			uart2_cfg_func: uart2-cfg-pins {
564379e9bf5SZhong Kaihua				pinctrl-single,pins = <
565379e9bf5SZhong Kaihua					0xdc   0x0	/* UART2_CTS_N  (IOCFG055) */
566379e9bf5SZhong Kaihua					0xe0   0x0	/* UART2_RTS_N  (IOCFG056) */
567379e9bf5SZhong Kaihua					0xe4   0x0	/* UART2_RXD    (IOCFG057) */
568379e9bf5SZhong Kaihua					0xe8   0x0	/* UART2_TXD    (IOCFG058) */
569379e9bf5SZhong Kaihua				>;
570379e9bf5SZhong Kaihua				pinctrl-single,bias-pulldown  = <PULL_DIS  PULL_DOWN PULL_DIS  PULL_DOWN>;
571379e9bf5SZhong Kaihua				pinctrl-single,bias-pullup    = <PULL_DIS  PULL_UP   PULL_DIS  PULL_UP>;
572379e9bf5SZhong Kaihua				pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
573379e9bf5SZhong Kaihua			};
574379e9bf5SZhong Kaihua
575*35e6bcd1STony Lindgren			uart3_cfg_func: uart3-cfg-pins {
576379e9bf5SZhong Kaihua				pinctrl-single,pins = <
577379e9bf5SZhong Kaihua					0x190  0x0	/* UART3_CTS_N  (IOCFG100) */
578379e9bf5SZhong Kaihua					0x194  0x0	/* UART3_RTS_N  (IOCFG101) */
579379e9bf5SZhong Kaihua					0x198  0x0	/* UART3_RXD    (IOCFG102) */
580379e9bf5SZhong Kaihua					0x19c  0x0	/* UART3_TXD    (IOCFG103) */
581379e9bf5SZhong Kaihua				>;
582379e9bf5SZhong Kaihua				pinctrl-single,bias-pulldown  = <PULL_DOWN PULL_DOWN PULL_DIS  PULL_DOWN>;
583379e9bf5SZhong Kaihua				pinctrl-single,bias-pullup    = <PULL_DIS  PULL_UP   PULL_DIS  PULL_UP>;
584379e9bf5SZhong Kaihua				pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
585379e9bf5SZhong Kaihua			};
586379e9bf5SZhong Kaihua
587*35e6bcd1STony Lindgren			uart4_cfg_func: uart4-cfg-pins {
588379e9bf5SZhong Kaihua				pinctrl-single,pins = <
589379e9bf5SZhong Kaihua					0x1e0  0x0	/* UART4_CTS_N  (IOCFG120) */
590379e9bf5SZhong Kaihua					0x1e4  0x0	/* UART4_RTS_N  (IOCFG121) */
591379e9bf5SZhong Kaihua					0x1e8  0x0	/* UART4_RXD    (IOCFG122) */
592379e9bf5SZhong Kaihua					0x1ec  0x0	/* UART4_TXD    (IOCFG123) */
593379e9bf5SZhong Kaihua				>;
594379e9bf5SZhong Kaihua				pinctrl-single,bias-pulldown  = <PULL_DOWN PULL_DOWN PULL_DIS  PULL_DOWN>;
595379e9bf5SZhong Kaihua				pinctrl-single,bias-pullup    = <PULL_DIS  PULL_UP   PULL_DIS  PULL_UP>;
596379e9bf5SZhong Kaihua				pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
597379e9bf5SZhong Kaihua			};
598379e9bf5SZhong Kaihua
599*35e6bcd1STony Lindgren			uart5_cfg_func: uart5-cfg-pins {
600379e9bf5SZhong Kaihua				pinctrl-single,pins = <
601379e9bf5SZhong Kaihua					0x1d8  0x0	/* UART4_RXD    (IOCFG118) */
602379e9bf5SZhong Kaihua					0x1dc  0x0	/* UART4_TXD    (IOCFG119) */
603379e9bf5SZhong Kaihua				>;
604379e9bf5SZhong Kaihua				pinctrl-single,bias-pulldown  = <PULL_DOWN PULL_DOWN PULL_DIS  PULL_DOWN>;
605379e9bf5SZhong Kaihua				pinctrl-single,bias-pullup    = <PULL_DIS  PULL_UP   PULL_DIS  PULL_UP>;
606379e9bf5SZhong Kaihua				pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
607379e9bf5SZhong Kaihua			};
608379e9bf5SZhong Kaihua
609*35e6bcd1STony Lindgren			i2c0_cfg_func: i2c0-cfg-pins {
610379e9bf5SZhong Kaihua				pinctrl-single,pins = <
611379e9bf5SZhong Kaihua					0xec   0x0	/* I2C0_SCL     (IOCFG059) */
612379e9bf5SZhong Kaihua					0xf0   0x0	/* I2C0_SDA     (IOCFG060) */
613379e9bf5SZhong Kaihua				>;
614379e9bf5SZhong Kaihua				pinctrl-single,bias-pulldown  = <PULL_DIS  PULL_DOWN PULL_DIS  PULL_DOWN>;
615379e9bf5SZhong Kaihua				pinctrl-single,bias-pullup    = <PULL_DIS  PULL_UP   PULL_DIS  PULL_UP>;
616379e9bf5SZhong Kaihua				pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
617379e9bf5SZhong Kaihua			};
618379e9bf5SZhong Kaihua
619*35e6bcd1STony Lindgren			i2c1_cfg_func: i2c1-cfg-pins {
620379e9bf5SZhong Kaihua				pinctrl-single,pins = <
621379e9bf5SZhong Kaihua					0xf4   0x0	/* I2C1_SCL     (IOCFG061) */
622379e9bf5SZhong Kaihua					0xf8   0x0	/* I2C1_SDA     (IOCFG062) */
623379e9bf5SZhong Kaihua				>;
624379e9bf5SZhong Kaihua				pinctrl-single,bias-pulldown  = <PULL_DIS  PULL_DOWN PULL_DIS  PULL_DOWN>;
625379e9bf5SZhong Kaihua				pinctrl-single,bias-pullup    = <PULL_DIS  PULL_UP   PULL_DIS  PULL_UP>;
626379e9bf5SZhong Kaihua				pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
627379e9bf5SZhong Kaihua			};
628379e9bf5SZhong Kaihua
629*35e6bcd1STony Lindgren			i2c2_cfg_func: i2c2-cfg-pins {
630379e9bf5SZhong Kaihua				pinctrl-single,pins = <
631379e9bf5SZhong Kaihua					0xfc   0x0	/* I2C2_SCL     (IOCFG063) */
632379e9bf5SZhong Kaihua					0x100  0x0	/* I2C2_SDA     (IOCFG064) */
633379e9bf5SZhong Kaihua				>;
634379e9bf5SZhong Kaihua				pinctrl-single,bias-pulldown  = <PULL_DIS  PULL_DOWN PULL_DIS  PULL_DOWN>;
635379e9bf5SZhong Kaihua				pinctrl-single,bias-pullup    = <PULL_DIS  PULL_UP   PULL_DIS  PULL_UP>;
636379e9bf5SZhong Kaihua				pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
637379e9bf5SZhong Kaihua			};
63860dac1b1SZhong Kaihua
639*35e6bcd1STony Lindgren			spi0_cfg_func: spi0-cfg-pins {
64060dac1b1SZhong Kaihua				pinctrl-single,pins = <
64160dac1b1SZhong Kaihua					0x1b0  0x0	/* SPI0_DI	(IOCFG108) */
64260dac1b1SZhong Kaihua					0x1b4  0x0	/* SPI0_DO	(IOCFG109) */
64360dac1b1SZhong Kaihua					0x1b8  0x0	/* SPI0_CS_N	(IOCFG110) */
64460dac1b1SZhong Kaihua					0x1bc  0x0	/* SPI0_CLK	(IOCFG111) */
64560dac1b1SZhong Kaihua				>;
64660dac1b1SZhong Kaihua				pinctrl-single,bias-pulldown  = <PULL_DIS  PULL_DOWN PULL_DIS PULL_DOWN>;
64760dac1b1SZhong Kaihua				pinctrl-single,bias-pullup    = <PULL_DIS  PULL_UP   PULL_DIS PULL_UP>;
64860dac1b1SZhong Kaihua				pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
64960dac1b1SZhong Kaihua			};
650379e9bf5SZhong Kaihua		};
651379e9bf5SZhong Kaihua
652379e9bf5SZhong Kaihua		pmx2: pinmux@f8001800 {
653379e9bf5SZhong Kaihua
654379e9bf5SZhong Kaihua			pinctrl-names = "default";
655379e9bf5SZhong Kaihua			pinctrl-0 = <
656379e9bf5SZhong Kaihua				&rstout_n_cfg_func
657379e9bf5SZhong Kaihua				>;
658379e9bf5SZhong Kaihua
659*35e6bcd1STony Lindgren			rstout_n_cfg_func: rstout-n-cfg-pins {
660379e9bf5SZhong Kaihua				pinctrl-single,pins = <
661379e9bf5SZhong Kaihua					0x0    0x0	/* RSTOUT_N     (IOCFG000) */
662379e9bf5SZhong Kaihua				>;
663379e9bf5SZhong Kaihua				pinctrl-single,bias-pulldown  = <PULL_DIS  PULL_DOWN PULL_DIS  PULL_DOWN>;
664379e9bf5SZhong Kaihua				pinctrl-single,bias-pullup    = <PULL_DIS  PULL_UP   PULL_DIS  PULL_UP>;
665379e9bf5SZhong Kaihua				pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
666379e9bf5SZhong Kaihua			};
667379e9bf5SZhong Kaihua
668*35e6bcd1STony Lindgren			pmu_peri_en_cfg_func: pmu-peri-en-cfg-pins {
669379e9bf5SZhong Kaihua				pinctrl-single,pins = <
670379e9bf5SZhong Kaihua					0x4    0x0	/* PMU_PERI_EN  (IOCFG001) */
671379e9bf5SZhong Kaihua				>;
672379e9bf5SZhong Kaihua				pinctrl-single,bias-pulldown  = <PULL_DIS  PULL_DOWN PULL_DIS  PULL_DOWN>;
673379e9bf5SZhong Kaihua				pinctrl-single,bias-pullup    = <PULL_DIS  PULL_UP   PULL_DIS  PULL_UP>;
674379e9bf5SZhong Kaihua				pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
675379e9bf5SZhong Kaihua			};
676379e9bf5SZhong Kaihua
677*35e6bcd1STony Lindgren			sysclk0_en_cfg_func: sysclk0-en-cfg-pins {
678379e9bf5SZhong Kaihua				pinctrl-single,pins = <
679379e9bf5SZhong Kaihua					0x8    0x0	/* SYSCLK0_EN   (IOCFG002) */
680379e9bf5SZhong Kaihua				>;
681379e9bf5SZhong Kaihua				pinctrl-single,bias-pulldown  = <PULL_DIS  PULL_DOWN PULL_DIS  PULL_DOWN>;
682379e9bf5SZhong Kaihua				pinctrl-single,bias-pullup    = <PULL_DIS  PULL_UP   PULL_DIS  PULL_UP>;
683379e9bf5SZhong Kaihua				pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
684379e9bf5SZhong Kaihua			};
685379e9bf5SZhong Kaihua
686*35e6bcd1STony Lindgren			jtag_tdo_cfg_func: jtag-tdo-cfg-pins {
687379e9bf5SZhong Kaihua				pinctrl-single,pins = <
688379e9bf5SZhong Kaihua					0xc    0x0	/* JTAG_TDO     (IOCFG003) */
689379e9bf5SZhong Kaihua				>;
690379e9bf5SZhong Kaihua				pinctrl-single,bias-pulldown  = <PULL_DIS  PULL_DOWN PULL_DIS  PULL_DOWN>;
691379e9bf5SZhong Kaihua				pinctrl-single,bias-pullup    = <PULL_DIS  PULL_UP   PULL_DIS  PULL_UP>;
692379e9bf5SZhong Kaihua				pinctrl-single,drive-strength = <DRIVE1_08MA DRIVE_MASK>;
693379e9bf5SZhong Kaihua			};
694379e9bf5SZhong Kaihua
695*35e6bcd1STony Lindgren			rf_reset_cfg_func: rf-reset-cfg-pins {
696379e9bf5SZhong Kaihua				pinctrl-single,pins = <
697379e9bf5SZhong Kaihua					0x70   0x0	/* RF_RESET0    (IOCFG028) */
698379e9bf5SZhong Kaihua					0x74   0x0	/* RF_RESET1    (IOCFG029) */
699379e9bf5SZhong Kaihua				>;
700379e9bf5SZhong Kaihua				pinctrl-single,bias-pulldown  = <PULL_DIS  PULL_DOWN PULL_DIS  PULL_DOWN>;
701379e9bf5SZhong Kaihua				pinctrl-single,bias-pullup    = <PULL_DIS  PULL_UP   PULL_DIS  PULL_UP>;
702379e9bf5SZhong Kaihua				pinctrl-single,drive-strength = <DRIVE1_02MA DRIVE_MASK>;
703379e9bf5SZhong Kaihua			};
704379e9bf5SZhong Kaihua		};
705379e9bf5SZhong Kaihua	};
706379e9bf5SZhong Kaihua};
707