162306a36Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0+
262306a36Sopenharmony_ci//
362306a36Sopenharmony_ci// Copyright (C) 2016-2017 Socionext Inc.
462306a36Sopenharmony_ci//   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
562306a36Sopenharmony_ci
662306a36Sopenharmony_ci#include <linux/kernel.h>
762306a36Sopenharmony_ci#include <linux/init.h>
862306a36Sopenharmony_ci#include <linux/mod_devicetable.h>
962306a36Sopenharmony_ci#include <linux/pinctrl/pinctrl.h>
1062306a36Sopenharmony_ci#include <linux/platform_device.h>
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_ci#include "pinctrl-uniphier.h"
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_cistatic const struct pinctrl_pin_desc uniphier_ld20_pins[] = {
1562306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(0, "XECS1", UNIPHIER_PIN_IECTRL_EXIST,
1662306a36Sopenharmony_ci			     0, UNIPHIER_PIN_DRV_3BIT,
1762306a36Sopenharmony_ci			     0, UNIPHIER_PIN_PULL_UP),
1862306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(1, "ERXW", UNIPHIER_PIN_IECTRL_EXIST,
1962306a36Sopenharmony_ci			     1, UNIPHIER_PIN_DRV_3BIT,
2062306a36Sopenharmony_ci			     1, UNIPHIER_PIN_PULL_UP),
2162306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(2, "XERWE1", UNIPHIER_PIN_IECTRL_EXIST,
2262306a36Sopenharmony_ci			     2, UNIPHIER_PIN_DRV_3BIT,
2362306a36Sopenharmony_ci			     2, UNIPHIER_PIN_PULL_UP),
2462306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(3, "XNFWP", UNIPHIER_PIN_IECTRL_EXIST,
2562306a36Sopenharmony_ci			     3, UNIPHIER_PIN_DRV_3BIT,
2662306a36Sopenharmony_ci			     3, UNIPHIER_PIN_PULL_DOWN),
2762306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(4, "XNFCE0", UNIPHIER_PIN_IECTRL_EXIST,
2862306a36Sopenharmony_ci			     4, UNIPHIER_PIN_DRV_3BIT,
2962306a36Sopenharmony_ci			     4, UNIPHIER_PIN_PULL_UP),
3062306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(5, "NFRYBY0", UNIPHIER_PIN_IECTRL_EXIST,
3162306a36Sopenharmony_ci			     5, UNIPHIER_PIN_DRV_3BIT,
3262306a36Sopenharmony_ci			     5, UNIPHIER_PIN_PULL_UP),
3362306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(6, "XNFRE", UNIPHIER_PIN_IECTRL_EXIST,
3462306a36Sopenharmony_ci			     6, UNIPHIER_PIN_DRV_3BIT,
3562306a36Sopenharmony_ci			     6, UNIPHIER_PIN_PULL_UP),
3662306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(7, "XNFWE", UNIPHIER_PIN_IECTRL_EXIST,
3762306a36Sopenharmony_ci			     7, UNIPHIER_PIN_DRV_3BIT,
3862306a36Sopenharmony_ci			     7, UNIPHIER_PIN_PULL_UP),
3962306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(8, "NFALE", UNIPHIER_PIN_IECTRL_EXIST,
4062306a36Sopenharmony_ci			     8, UNIPHIER_PIN_DRV_3BIT,
4162306a36Sopenharmony_ci			     8, UNIPHIER_PIN_PULL_UP),
4262306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(9, "NFCLE", UNIPHIER_PIN_IECTRL_EXIST,
4362306a36Sopenharmony_ci			     9, UNIPHIER_PIN_DRV_3BIT,
4462306a36Sopenharmony_ci			     9, UNIPHIER_PIN_PULL_UP),
4562306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(10, "NFD0", UNIPHIER_PIN_IECTRL_EXIST,
4662306a36Sopenharmony_ci			     10, UNIPHIER_PIN_DRV_3BIT,
4762306a36Sopenharmony_ci			     10, UNIPHIER_PIN_PULL_UP),
4862306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(11, "NFD1", UNIPHIER_PIN_IECTRL_EXIST,
4962306a36Sopenharmony_ci			     11, UNIPHIER_PIN_DRV_3BIT,
5062306a36Sopenharmony_ci			     11, UNIPHIER_PIN_PULL_UP),
5162306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(12, "NFD2", UNIPHIER_PIN_IECTRL_EXIST,
5262306a36Sopenharmony_ci			     12, UNIPHIER_PIN_DRV_3BIT,
5362306a36Sopenharmony_ci			     12, UNIPHIER_PIN_PULL_UP),
5462306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(13, "NFD3", UNIPHIER_PIN_IECTRL_EXIST,
5562306a36Sopenharmony_ci			     13, UNIPHIER_PIN_DRV_3BIT,
5662306a36Sopenharmony_ci			     13, UNIPHIER_PIN_PULL_UP),
5762306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(14, "NFD4", UNIPHIER_PIN_IECTRL_EXIST,
5862306a36Sopenharmony_ci			     14, UNIPHIER_PIN_DRV_3BIT,
5962306a36Sopenharmony_ci			     14, UNIPHIER_PIN_PULL_UP),
6062306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(15, "NFD5", UNIPHIER_PIN_IECTRL_EXIST,
6162306a36Sopenharmony_ci			     15, UNIPHIER_PIN_DRV_3BIT,
6262306a36Sopenharmony_ci			     15, UNIPHIER_PIN_PULL_UP),
6362306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(16, "NFD6", UNIPHIER_PIN_IECTRL_EXIST,
6462306a36Sopenharmony_ci			     16, UNIPHIER_PIN_DRV_3BIT,
6562306a36Sopenharmony_ci			     16, UNIPHIER_PIN_PULL_UP),
6662306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(17, "NFD7", UNIPHIER_PIN_IECTRL_EXIST,
6762306a36Sopenharmony_ci			     17, UNIPHIER_PIN_DRV_3BIT,
6862306a36Sopenharmony_ci			     17, UNIPHIER_PIN_PULL_UP),
6962306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(18, "XERST", UNIPHIER_PIN_IECTRL_EXIST,
7062306a36Sopenharmony_ci			     0, UNIPHIER_PIN_DRV_2BIT,
7162306a36Sopenharmony_ci			     18, UNIPHIER_PIN_PULL_UP),
7262306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(19, "MMCCLK", UNIPHIER_PIN_IECTRL_EXIST,
7362306a36Sopenharmony_ci			     1, UNIPHIER_PIN_DRV_2BIT,
7462306a36Sopenharmony_ci			     19, UNIPHIER_PIN_PULL_UP),
7562306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(20, "MMCCMD", UNIPHIER_PIN_IECTRL_EXIST,
7662306a36Sopenharmony_ci			     2, UNIPHIER_PIN_DRV_2BIT,
7762306a36Sopenharmony_ci			     20, UNIPHIER_PIN_PULL_UP),
7862306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(21, "MMCDS", UNIPHIER_PIN_IECTRL_EXIST,
7962306a36Sopenharmony_ci			     3, UNIPHIER_PIN_DRV_2BIT,
8062306a36Sopenharmony_ci			     21, UNIPHIER_PIN_PULL_UP),
8162306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(22, "MMCDAT0", UNIPHIER_PIN_IECTRL_EXIST,
8262306a36Sopenharmony_ci			     4, UNIPHIER_PIN_DRV_2BIT,
8362306a36Sopenharmony_ci			     22, UNIPHIER_PIN_PULL_UP),
8462306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(23, "MMCDAT1", UNIPHIER_PIN_IECTRL_EXIST,
8562306a36Sopenharmony_ci			     5, UNIPHIER_PIN_DRV_2BIT,
8662306a36Sopenharmony_ci			     23, UNIPHIER_PIN_PULL_UP),
8762306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(24, "MMCDAT2", UNIPHIER_PIN_IECTRL_EXIST,
8862306a36Sopenharmony_ci			     6, UNIPHIER_PIN_DRV_2BIT,
8962306a36Sopenharmony_ci			     24, UNIPHIER_PIN_PULL_UP),
9062306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(25, "MMCDAT3", UNIPHIER_PIN_IECTRL_EXIST,
9162306a36Sopenharmony_ci			     7, UNIPHIER_PIN_DRV_2BIT,
9262306a36Sopenharmony_ci			     25, UNIPHIER_PIN_PULL_UP),
9362306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(26, "MMCDAT4", UNIPHIER_PIN_IECTRL_EXIST,
9462306a36Sopenharmony_ci			     8, UNIPHIER_PIN_DRV_2BIT,
9562306a36Sopenharmony_ci			     26, UNIPHIER_PIN_PULL_UP),
9662306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(27, "MMCDAT5", UNIPHIER_PIN_IECTRL_EXIST,
9762306a36Sopenharmony_ci			     9, UNIPHIER_PIN_DRV_2BIT,
9862306a36Sopenharmony_ci			     27, UNIPHIER_PIN_PULL_UP),
9962306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(28, "MMCDAT6", UNIPHIER_PIN_IECTRL_EXIST,
10062306a36Sopenharmony_ci			     10, UNIPHIER_PIN_DRV_2BIT,
10162306a36Sopenharmony_ci			     28, UNIPHIER_PIN_PULL_UP),
10262306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(29, "MMCDAT7", UNIPHIER_PIN_IECTRL_EXIST,
10362306a36Sopenharmony_ci			     11, UNIPHIER_PIN_DRV_2BIT,
10462306a36Sopenharmony_ci			     29, UNIPHIER_PIN_PULL_UP),
10562306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(30, "MDC", UNIPHIER_PIN_IECTRL_EXIST,
10662306a36Sopenharmony_ci			     18, UNIPHIER_PIN_DRV_3BIT,
10762306a36Sopenharmony_ci			     30, UNIPHIER_PIN_PULL_DOWN),
10862306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(31, "MDIO", UNIPHIER_PIN_IECTRL_EXIST,
10962306a36Sopenharmony_ci			     19, UNIPHIER_PIN_DRV_3BIT,
11062306a36Sopenharmony_ci			     31, UNIPHIER_PIN_PULL_DOWN),
11162306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(32, "MDIO_INTL", UNIPHIER_PIN_IECTRL_EXIST,
11262306a36Sopenharmony_ci			     20, UNIPHIER_PIN_DRV_3BIT,
11362306a36Sopenharmony_ci			     32, UNIPHIER_PIN_PULL_DOWN),
11462306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(33, "PHYRSTL", UNIPHIER_PIN_IECTRL_EXIST,
11562306a36Sopenharmony_ci			     21, UNIPHIER_PIN_DRV_3BIT,
11662306a36Sopenharmony_ci			     33, UNIPHIER_PIN_PULL_DOWN),
11762306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(34, "RGMII_RXCLK", UNIPHIER_PIN_IECTRL_EXIST,
11862306a36Sopenharmony_ci			     22, UNIPHIER_PIN_DRV_3BIT,
11962306a36Sopenharmony_ci			     34, UNIPHIER_PIN_PULL_DOWN),
12062306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(35, "RGMII_RXD0", UNIPHIER_PIN_IECTRL_EXIST,
12162306a36Sopenharmony_ci			     23, UNIPHIER_PIN_DRV_3BIT,
12262306a36Sopenharmony_ci			     35, UNIPHIER_PIN_PULL_DOWN),
12362306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(36, "RGMII_RXD1", UNIPHIER_PIN_IECTRL_EXIST,
12462306a36Sopenharmony_ci			     24, UNIPHIER_PIN_DRV_3BIT,
12562306a36Sopenharmony_ci			     36, UNIPHIER_PIN_PULL_DOWN),
12662306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(37, "RGMII_RXD2", UNIPHIER_PIN_IECTRL_EXIST,
12762306a36Sopenharmony_ci			     25, UNIPHIER_PIN_DRV_3BIT,
12862306a36Sopenharmony_ci			     37, UNIPHIER_PIN_PULL_DOWN),
12962306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(38, "RGMII_RXD3", UNIPHIER_PIN_IECTRL_EXIST,
13062306a36Sopenharmony_ci			     26, UNIPHIER_PIN_DRV_3BIT,
13162306a36Sopenharmony_ci			     38, UNIPHIER_PIN_PULL_DOWN),
13262306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(39, "RGMII_RXCTL", UNIPHIER_PIN_IECTRL_EXIST,
13362306a36Sopenharmony_ci			     27, UNIPHIER_PIN_DRV_3BIT,
13462306a36Sopenharmony_ci			     39, UNIPHIER_PIN_PULL_DOWN),
13562306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(40, "RGMII_TXCLK", UNIPHIER_PIN_IECTRL_EXIST,
13662306a36Sopenharmony_ci			     28, UNIPHIER_PIN_DRV_3BIT,
13762306a36Sopenharmony_ci			     40, UNIPHIER_PIN_PULL_DOWN),
13862306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(41, "RGMII_TXD0", UNIPHIER_PIN_IECTRL_EXIST,
13962306a36Sopenharmony_ci			     29, UNIPHIER_PIN_DRV_3BIT,
14062306a36Sopenharmony_ci			     41, UNIPHIER_PIN_PULL_DOWN),
14162306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(42, "RGMII_TXD1", UNIPHIER_PIN_IECTRL_EXIST,
14262306a36Sopenharmony_ci			     30, UNIPHIER_PIN_DRV_3BIT,
14362306a36Sopenharmony_ci			     42, UNIPHIER_PIN_PULL_DOWN),
14462306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(43, "RGMII_TXD2", UNIPHIER_PIN_IECTRL_EXIST,
14562306a36Sopenharmony_ci			     31, UNIPHIER_PIN_DRV_3BIT,
14662306a36Sopenharmony_ci			     43, UNIPHIER_PIN_PULL_DOWN),
14762306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(44, "RGMII_TXD3", UNIPHIER_PIN_IECTRL_EXIST,
14862306a36Sopenharmony_ci			     32, UNIPHIER_PIN_DRV_3BIT,
14962306a36Sopenharmony_ci			     44, UNIPHIER_PIN_PULL_DOWN),
15062306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(45, "RGMII_TXCTL", UNIPHIER_PIN_IECTRL_EXIST,
15162306a36Sopenharmony_ci			     33, UNIPHIER_PIN_DRV_3BIT,
15262306a36Sopenharmony_ci			     45, UNIPHIER_PIN_PULL_DOWN),
15362306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(46, "USB0VBUS", UNIPHIER_PIN_IECTRL_EXIST,
15462306a36Sopenharmony_ci			     34, UNIPHIER_PIN_DRV_3BIT,
15562306a36Sopenharmony_ci			     46, UNIPHIER_PIN_PULL_DOWN),
15662306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(47, "USB0OD", UNIPHIER_PIN_IECTRL_EXIST,
15762306a36Sopenharmony_ci			     35, UNIPHIER_PIN_DRV_3BIT,
15862306a36Sopenharmony_ci			     47, UNIPHIER_PIN_PULL_UP),
15962306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(48, "USB1VBUS", UNIPHIER_PIN_IECTRL_EXIST,
16062306a36Sopenharmony_ci			     36, UNIPHIER_PIN_DRV_3BIT,
16162306a36Sopenharmony_ci			     48, UNIPHIER_PIN_PULL_DOWN),
16262306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(49, "USB1OD", UNIPHIER_PIN_IECTRL_EXIST,
16362306a36Sopenharmony_ci			     37, UNIPHIER_PIN_DRV_3BIT,
16462306a36Sopenharmony_ci			     49, UNIPHIER_PIN_PULL_UP),
16562306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(50, "USB2VBUS", UNIPHIER_PIN_IECTRL_EXIST,
16662306a36Sopenharmony_ci			     38, UNIPHIER_PIN_DRV_3BIT,
16762306a36Sopenharmony_ci			     50, UNIPHIER_PIN_PULL_DOWN),
16862306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(51, "USB2OD", UNIPHIER_PIN_IECTRL_EXIST,
16962306a36Sopenharmony_ci			     39, UNIPHIER_PIN_DRV_3BIT,
17062306a36Sopenharmony_ci			     51, UNIPHIER_PIN_PULL_UP),
17162306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(52, "USB3VBUS", UNIPHIER_PIN_IECTRL_EXIST,
17262306a36Sopenharmony_ci			     40, UNIPHIER_PIN_DRV_3BIT,
17362306a36Sopenharmony_ci			     52, UNIPHIER_PIN_PULL_DOWN),
17462306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(53, "USB3OD", UNIPHIER_PIN_IECTRL_EXIST,
17562306a36Sopenharmony_ci			     41, UNIPHIER_PIN_DRV_3BIT,
17662306a36Sopenharmony_ci			     53, UNIPHIER_PIN_PULL_UP),
17762306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(54, "TXD0", UNIPHIER_PIN_IECTRL_EXIST,
17862306a36Sopenharmony_ci			     42, UNIPHIER_PIN_DRV_3BIT,
17962306a36Sopenharmony_ci			     54, UNIPHIER_PIN_PULL_UP),
18062306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(55, "RXD0", UNIPHIER_PIN_IECTRL_EXIST,
18162306a36Sopenharmony_ci			     43, UNIPHIER_PIN_DRV_3BIT,
18262306a36Sopenharmony_ci			     55, UNIPHIER_PIN_PULL_UP),
18362306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(56, "SPISYNC0", UNIPHIER_PIN_IECTRL_EXIST,
18462306a36Sopenharmony_ci			     44, UNIPHIER_PIN_DRV_3BIT,
18562306a36Sopenharmony_ci			     56, UNIPHIER_PIN_PULL_DOWN),
18662306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(57, "SPISCLK0", UNIPHIER_PIN_IECTRL_EXIST,
18762306a36Sopenharmony_ci			     45, UNIPHIER_PIN_DRV_3BIT,
18862306a36Sopenharmony_ci			     57, UNIPHIER_PIN_PULL_DOWN),
18962306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(58, "SPITXD0", UNIPHIER_PIN_IECTRL_EXIST,
19062306a36Sopenharmony_ci			     46, UNIPHIER_PIN_DRV_3BIT,
19162306a36Sopenharmony_ci			     58, UNIPHIER_PIN_PULL_DOWN),
19262306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(59, "SPIRXD0", UNIPHIER_PIN_IECTRL_EXIST,
19362306a36Sopenharmony_ci			     47, UNIPHIER_PIN_DRV_3BIT,
19462306a36Sopenharmony_ci			     59, UNIPHIER_PIN_PULL_DOWN),
19562306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(60, "AGCI", UNIPHIER_PIN_IECTRL_EXIST,
19662306a36Sopenharmony_ci			     48, UNIPHIER_PIN_DRV_3BIT,
19762306a36Sopenharmony_ci			     60, UNIPHIER_PIN_PULL_DOWN),
19862306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(61, "DMDSDA0", UNIPHIER_PIN_IECTRL_EXIST,
19962306a36Sopenharmony_ci			     -1, UNIPHIER_PIN_DRV_FIXED4,
20062306a36Sopenharmony_ci			     -1, UNIPHIER_PIN_PULL_NONE),
20162306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(62, "DMDSCL0", UNIPHIER_PIN_IECTRL_EXIST,
20262306a36Sopenharmony_ci			     -1, UNIPHIER_PIN_DRV_FIXED4,
20362306a36Sopenharmony_ci			     -1, UNIPHIER_PIN_PULL_NONE),
20462306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(63, "SDA0", UNIPHIER_PIN_IECTRL_EXIST,
20562306a36Sopenharmony_ci			     -1, UNIPHIER_PIN_DRV_FIXED4,
20662306a36Sopenharmony_ci			     -1, UNIPHIER_PIN_PULL_NONE),
20762306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(64, "SCL0", UNIPHIER_PIN_IECTRL_EXIST,
20862306a36Sopenharmony_ci			     -1, UNIPHIER_PIN_DRV_FIXED4,
20962306a36Sopenharmony_ci			     -1, UNIPHIER_PIN_PULL_NONE),
21062306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(65, "SDA1", UNIPHIER_PIN_IECTRL_EXIST,
21162306a36Sopenharmony_ci			     -1, UNIPHIER_PIN_DRV_FIXED4,
21262306a36Sopenharmony_ci			     -1, UNIPHIER_PIN_PULL_NONE),
21362306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(66, "SCL1", UNIPHIER_PIN_IECTRL_EXIST,
21462306a36Sopenharmony_ci			     -1, UNIPHIER_PIN_DRV_FIXED4,
21562306a36Sopenharmony_ci			     -1, UNIPHIER_PIN_PULL_NONE),
21662306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(67, "HIN", UNIPHIER_PIN_IECTRL_EXIST,
21762306a36Sopenharmony_ci			     -1, UNIPHIER_PIN_DRV_FIXED4,
21862306a36Sopenharmony_ci			     -1, UNIPHIER_PIN_PULL_NONE),
21962306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(68, "VIN", UNIPHIER_PIN_IECTRL_EXIST,
22062306a36Sopenharmony_ci			     -1, UNIPHIER_PIN_DRV_FIXED4,
22162306a36Sopenharmony_ci			     -1, UNIPHIER_PIN_PULL_NONE),
22262306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(69, "PCA00", UNIPHIER_PIN_IECTRL_EXIST,
22362306a36Sopenharmony_ci			     49, UNIPHIER_PIN_DRV_3BIT,
22462306a36Sopenharmony_ci			     69, UNIPHIER_PIN_PULL_DOWN),
22562306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(70, "PCA01", UNIPHIER_PIN_IECTRL_EXIST,
22662306a36Sopenharmony_ci			     50, UNIPHIER_PIN_DRV_3BIT,
22762306a36Sopenharmony_ci			     70, UNIPHIER_PIN_PULL_DOWN),
22862306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(71, "PCA02", UNIPHIER_PIN_IECTRL_EXIST,
22962306a36Sopenharmony_ci			     51, UNIPHIER_PIN_DRV_3BIT,
23062306a36Sopenharmony_ci			     71, UNIPHIER_PIN_PULL_DOWN),
23162306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(72, "PCA03", UNIPHIER_PIN_IECTRL_EXIST,
23262306a36Sopenharmony_ci			     52, UNIPHIER_PIN_DRV_3BIT,
23362306a36Sopenharmony_ci			     72, UNIPHIER_PIN_PULL_DOWN),
23462306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(73, "PCA04", UNIPHIER_PIN_IECTRL_EXIST,
23562306a36Sopenharmony_ci			     53, UNIPHIER_PIN_DRV_3BIT,
23662306a36Sopenharmony_ci			     73, UNIPHIER_PIN_PULL_DOWN),
23762306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(74, "PCA05", UNIPHIER_PIN_IECTRL_EXIST,
23862306a36Sopenharmony_ci			     54, UNIPHIER_PIN_DRV_3BIT,
23962306a36Sopenharmony_ci			     74, UNIPHIER_PIN_PULL_DOWN),
24062306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(75, "PCA06", UNIPHIER_PIN_IECTRL_EXIST,
24162306a36Sopenharmony_ci			     55, UNIPHIER_PIN_DRV_3BIT,
24262306a36Sopenharmony_ci			     75, UNIPHIER_PIN_PULL_DOWN),
24362306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(76, "PCA07", UNIPHIER_PIN_IECTRL_EXIST,
24462306a36Sopenharmony_ci			     56, UNIPHIER_PIN_DRV_3BIT,
24562306a36Sopenharmony_ci			     76, UNIPHIER_PIN_PULL_DOWN),
24662306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(77, "PCA08", UNIPHIER_PIN_IECTRL_EXIST,
24762306a36Sopenharmony_ci			     57, UNIPHIER_PIN_DRV_3BIT,
24862306a36Sopenharmony_ci			     77, UNIPHIER_PIN_PULL_DOWN),
24962306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(78, "PCA09", UNIPHIER_PIN_IECTRL_EXIST,
25062306a36Sopenharmony_ci			     58, UNIPHIER_PIN_DRV_3BIT,
25162306a36Sopenharmony_ci			     78, UNIPHIER_PIN_PULL_DOWN),
25262306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(79, "PCA10", UNIPHIER_PIN_IECTRL_EXIST,
25362306a36Sopenharmony_ci			     59, UNIPHIER_PIN_DRV_3BIT,
25462306a36Sopenharmony_ci			     79, UNIPHIER_PIN_PULL_DOWN),
25562306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(80, "PCA11", UNIPHIER_PIN_IECTRL_EXIST,
25662306a36Sopenharmony_ci			     60, UNIPHIER_PIN_DRV_3BIT,
25762306a36Sopenharmony_ci			     80, UNIPHIER_PIN_PULL_DOWN),
25862306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(81, "PCA12", UNIPHIER_PIN_IECTRL_EXIST,
25962306a36Sopenharmony_ci			     61, UNIPHIER_PIN_DRV_3BIT,
26062306a36Sopenharmony_ci			     81, UNIPHIER_PIN_PULL_DOWN),
26162306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(82, "PCA13", UNIPHIER_PIN_IECTRL_EXIST,
26262306a36Sopenharmony_ci			     62, UNIPHIER_PIN_DRV_3BIT,
26362306a36Sopenharmony_ci			     82, UNIPHIER_PIN_PULL_DOWN),
26462306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(83, "PCA14", UNIPHIER_PIN_IECTRL_EXIST,
26562306a36Sopenharmony_ci			     63, UNIPHIER_PIN_DRV_3BIT,
26662306a36Sopenharmony_ci			     83, UNIPHIER_PIN_PULL_DOWN),
26762306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(84, "PC0READY", UNIPHIER_PIN_IECTRL_EXIST,
26862306a36Sopenharmony_ci			     0, UNIPHIER_PIN_DRV_1BIT,
26962306a36Sopenharmony_ci			     84, UNIPHIER_PIN_PULL_DOWN),
27062306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(85, "PC0CD1", UNIPHIER_PIN_IECTRL_EXIST,
27162306a36Sopenharmony_ci			     1, UNIPHIER_PIN_DRV_1BIT,
27262306a36Sopenharmony_ci			     85, UNIPHIER_PIN_PULL_DOWN),
27362306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(86, "PC0CD2", UNIPHIER_PIN_IECTRL_EXIST,
27462306a36Sopenharmony_ci			     2, UNIPHIER_PIN_DRV_1BIT,
27562306a36Sopenharmony_ci			     86, UNIPHIER_PIN_PULL_DOWN),
27662306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(87, "PC0WAIT", UNIPHIER_PIN_IECTRL_EXIST,
27762306a36Sopenharmony_ci			     3, UNIPHIER_PIN_DRV_1BIT,
27862306a36Sopenharmony_ci			     87, UNIPHIER_PIN_PULL_DOWN),
27962306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(88, "PC0RESET", UNIPHIER_PIN_IECTRL_EXIST,
28062306a36Sopenharmony_ci			     4, UNIPHIER_PIN_DRV_1BIT,
28162306a36Sopenharmony_ci			     88, UNIPHIER_PIN_PULL_DOWN),
28262306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(89, "PC0CE1", UNIPHIER_PIN_IECTRL_EXIST,
28362306a36Sopenharmony_ci			     5, UNIPHIER_PIN_DRV_1BIT,
28462306a36Sopenharmony_ci			     89, UNIPHIER_PIN_PULL_DOWN),
28562306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(90, "PC0WE", UNIPHIER_PIN_IECTRL_EXIST,
28662306a36Sopenharmony_ci			     6, UNIPHIER_PIN_DRV_1BIT,
28762306a36Sopenharmony_ci			     90, UNIPHIER_PIN_PULL_DOWN),
28862306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(91, "PC0OE", UNIPHIER_PIN_IECTRL_EXIST,
28962306a36Sopenharmony_ci			     7, UNIPHIER_PIN_DRV_1BIT,
29062306a36Sopenharmony_ci			     91, UNIPHIER_PIN_PULL_DOWN),
29162306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(92, "PC0IOWR", UNIPHIER_PIN_IECTRL_EXIST,
29262306a36Sopenharmony_ci			     8, UNIPHIER_PIN_DRV_1BIT,
29362306a36Sopenharmony_ci			     92, UNIPHIER_PIN_PULL_DOWN),
29462306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(93, "PC0IORD", UNIPHIER_PIN_IECTRL_EXIST,
29562306a36Sopenharmony_ci			     9, UNIPHIER_PIN_DRV_1BIT,
29662306a36Sopenharmony_ci			     93, UNIPHIER_PIN_PULL_DOWN),
29762306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(94, "PCD00", UNIPHIER_PIN_IECTRL_EXIST,
29862306a36Sopenharmony_ci			     10, UNIPHIER_PIN_DRV_1BIT,
29962306a36Sopenharmony_ci			     94, UNIPHIER_PIN_PULL_DOWN),
30062306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(95, "PCD01", UNIPHIER_PIN_IECTRL_EXIST,
30162306a36Sopenharmony_ci			     11, UNIPHIER_PIN_DRV_1BIT,
30262306a36Sopenharmony_ci			     95, UNIPHIER_PIN_PULL_DOWN),
30362306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(96, "PCD02", UNIPHIER_PIN_IECTRL_EXIST,
30462306a36Sopenharmony_ci			     12, UNIPHIER_PIN_DRV_1BIT,
30562306a36Sopenharmony_ci			     96, UNIPHIER_PIN_PULL_DOWN),
30662306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(97, "PCD03", UNIPHIER_PIN_IECTRL_EXIST,
30762306a36Sopenharmony_ci			     13, UNIPHIER_PIN_DRV_1BIT,
30862306a36Sopenharmony_ci			     97, UNIPHIER_PIN_PULL_DOWN),
30962306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(98, "PCD04", UNIPHIER_PIN_IECTRL_EXIST,
31062306a36Sopenharmony_ci			     14, UNIPHIER_PIN_DRV_1BIT,
31162306a36Sopenharmony_ci			     98, UNIPHIER_PIN_PULL_DOWN),
31262306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(99, "PCD05", UNIPHIER_PIN_IECTRL_EXIST,
31362306a36Sopenharmony_ci			     15, UNIPHIER_PIN_DRV_1BIT,
31462306a36Sopenharmony_ci			     99, UNIPHIER_PIN_PULL_DOWN),
31562306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(100, "PCD06", UNIPHIER_PIN_IECTRL_EXIST,
31662306a36Sopenharmony_ci			     16, UNIPHIER_PIN_DRV_1BIT,
31762306a36Sopenharmony_ci			     100, UNIPHIER_PIN_PULL_DOWN),
31862306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(101, "PCD07", UNIPHIER_PIN_IECTRL_EXIST,
31962306a36Sopenharmony_ci			     17, UNIPHIER_PIN_DRV_1BIT,
32062306a36Sopenharmony_ci			     101, UNIPHIER_PIN_PULL_DOWN),
32162306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(102, "HS0BCLKIN", UNIPHIER_PIN_IECTRL_EXIST,
32262306a36Sopenharmony_ci			     18, UNIPHIER_PIN_DRV_1BIT,
32362306a36Sopenharmony_ci			     102, UNIPHIER_PIN_PULL_DOWN),
32462306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(103, "HS0SYNCIN", UNIPHIER_PIN_IECTRL_EXIST,
32562306a36Sopenharmony_ci			     19, UNIPHIER_PIN_DRV_1BIT,
32662306a36Sopenharmony_ci			     103, UNIPHIER_PIN_PULL_DOWN),
32762306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(104, "HS0VALIN", UNIPHIER_PIN_IECTRL_EXIST,
32862306a36Sopenharmony_ci			     20, UNIPHIER_PIN_DRV_1BIT,
32962306a36Sopenharmony_ci			     104, UNIPHIER_PIN_PULL_DOWN),
33062306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(105, "HS0DIN0", UNIPHIER_PIN_IECTRL_EXIST,
33162306a36Sopenharmony_ci			     21, UNIPHIER_PIN_DRV_1BIT,
33262306a36Sopenharmony_ci			     105, UNIPHIER_PIN_PULL_DOWN),
33362306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(106, "HS0DIN1", UNIPHIER_PIN_IECTRL_EXIST,
33462306a36Sopenharmony_ci			     22, UNIPHIER_PIN_DRV_1BIT,
33562306a36Sopenharmony_ci			     106, UNIPHIER_PIN_PULL_DOWN),
33662306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(107, "HS0DIN2", UNIPHIER_PIN_IECTRL_EXIST,
33762306a36Sopenharmony_ci			     23, UNIPHIER_PIN_DRV_1BIT,
33862306a36Sopenharmony_ci			     107, UNIPHIER_PIN_PULL_DOWN),
33962306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(108, "HS0DIN3", UNIPHIER_PIN_IECTRL_EXIST,
34062306a36Sopenharmony_ci			     24, UNIPHIER_PIN_DRV_1BIT,
34162306a36Sopenharmony_ci			     108, UNIPHIER_PIN_PULL_DOWN),
34262306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(109, "HS0DIN4", UNIPHIER_PIN_IECTRL_EXIST,
34362306a36Sopenharmony_ci			     25, UNIPHIER_PIN_DRV_1BIT,
34462306a36Sopenharmony_ci			     109, UNIPHIER_PIN_PULL_DOWN),
34562306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(110, "HS0DIN5", UNIPHIER_PIN_IECTRL_EXIST,
34662306a36Sopenharmony_ci			     26, UNIPHIER_PIN_DRV_1BIT,
34762306a36Sopenharmony_ci			     110, UNIPHIER_PIN_PULL_DOWN),
34862306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(111, "HS0DIN6", UNIPHIER_PIN_IECTRL_EXIST,
34962306a36Sopenharmony_ci			     27, UNIPHIER_PIN_DRV_1BIT,
35062306a36Sopenharmony_ci			     111, UNIPHIER_PIN_PULL_DOWN),
35162306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(112, "HS0DIN7", UNIPHIER_PIN_IECTRL_EXIST,
35262306a36Sopenharmony_ci			     28, UNIPHIER_PIN_DRV_1BIT,
35362306a36Sopenharmony_ci			     112, UNIPHIER_PIN_PULL_DOWN),
35462306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(113, "HS0BCLKOUT", UNIPHIER_PIN_IECTRL_EXIST,
35562306a36Sopenharmony_ci			     64, UNIPHIER_PIN_DRV_3BIT,
35662306a36Sopenharmony_ci			     113, UNIPHIER_PIN_PULL_DOWN),
35762306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(114, "HS0SYNCOUT", UNIPHIER_PIN_IECTRL_EXIST,
35862306a36Sopenharmony_ci			     65, UNIPHIER_PIN_DRV_3BIT,
35962306a36Sopenharmony_ci			     114, UNIPHIER_PIN_PULL_DOWN),
36062306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(115, "HS0VALOUT", UNIPHIER_PIN_IECTRL_EXIST,
36162306a36Sopenharmony_ci			     66, UNIPHIER_PIN_DRV_3BIT,
36262306a36Sopenharmony_ci			     115, UNIPHIER_PIN_PULL_DOWN),
36362306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(116, "HS0DOUT0", UNIPHIER_PIN_IECTRL_EXIST,
36462306a36Sopenharmony_ci			     67, UNIPHIER_PIN_DRV_3BIT,
36562306a36Sopenharmony_ci			     116, UNIPHIER_PIN_PULL_DOWN),
36662306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(117, "HS0DOUT1", UNIPHIER_PIN_IECTRL_EXIST,
36762306a36Sopenharmony_ci			     68, UNIPHIER_PIN_DRV_3BIT,
36862306a36Sopenharmony_ci			     117, UNIPHIER_PIN_PULL_DOWN),
36962306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(118, "HS0DOUT2", UNIPHIER_PIN_IECTRL_EXIST,
37062306a36Sopenharmony_ci			     69, UNIPHIER_PIN_DRV_3BIT,
37162306a36Sopenharmony_ci			     118, UNIPHIER_PIN_PULL_DOWN),
37262306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(119, "HS0DOUT3", UNIPHIER_PIN_IECTRL_EXIST,
37362306a36Sopenharmony_ci			     70, UNIPHIER_PIN_DRV_3BIT,
37462306a36Sopenharmony_ci			     119, UNIPHIER_PIN_PULL_DOWN),
37562306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(120, "HS0DOUT4", UNIPHIER_PIN_IECTRL_EXIST,
37662306a36Sopenharmony_ci			     71, UNIPHIER_PIN_DRV_3BIT,
37762306a36Sopenharmony_ci			     120, UNIPHIER_PIN_PULL_DOWN),
37862306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(121, "HS0DOUT5", UNIPHIER_PIN_IECTRL_EXIST,
37962306a36Sopenharmony_ci			     72, UNIPHIER_PIN_DRV_3BIT,
38062306a36Sopenharmony_ci			     121, UNIPHIER_PIN_PULL_DOWN),
38162306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(122, "HS0DOUT6", UNIPHIER_PIN_IECTRL_EXIST,
38262306a36Sopenharmony_ci			     73, UNIPHIER_PIN_DRV_3BIT,
38362306a36Sopenharmony_ci			     122, UNIPHIER_PIN_PULL_DOWN),
38462306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(123, "HS0DOUT7", UNIPHIER_PIN_IECTRL_EXIST,
38562306a36Sopenharmony_ci			     74, UNIPHIER_PIN_DRV_3BIT,
38662306a36Sopenharmony_ci			     123, UNIPHIER_PIN_PULL_DOWN),
38762306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(124, "HS1BCLKIN", UNIPHIER_PIN_IECTRL_EXIST,
38862306a36Sopenharmony_ci			     75, UNIPHIER_PIN_DRV_3BIT,
38962306a36Sopenharmony_ci			     124, UNIPHIER_PIN_PULL_DOWN),
39062306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(125, "HS1SYNCIN", UNIPHIER_PIN_IECTRL_EXIST,
39162306a36Sopenharmony_ci			     76, UNIPHIER_PIN_DRV_3BIT,
39262306a36Sopenharmony_ci			     125, UNIPHIER_PIN_PULL_DOWN),
39362306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(126, "HS1VALIN", UNIPHIER_PIN_IECTRL_EXIST,
39462306a36Sopenharmony_ci			     77, UNIPHIER_PIN_DRV_3BIT,
39562306a36Sopenharmony_ci			     126, UNIPHIER_PIN_PULL_DOWN),
39662306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(127, "HS1DIN0", UNIPHIER_PIN_IECTRL_EXIST,
39762306a36Sopenharmony_ci			     78, UNIPHIER_PIN_DRV_3BIT,
39862306a36Sopenharmony_ci			     127, UNIPHIER_PIN_PULL_DOWN),
39962306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(128, "HS1DIN1", UNIPHIER_PIN_IECTRL_EXIST,
40062306a36Sopenharmony_ci			     79, UNIPHIER_PIN_DRV_3BIT,
40162306a36Sopenharmony_ci			     128, UNIPHIER_PIN_PULL_DOWN),
40262306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(129, "HS1DIN2", UNIPHIER_PIN_IECTRL_EXIST,
40362306a36Sopenharmony_ci			     80, UNIPHIER_PIN_DRV_3BIT,
40462306a36Sopenharmony_ci			     129, UNIPHIER_PIN_PULL_DOWN),
40562306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(130, "HS1DIN3", UNIPHIER_PIN_IECTRL_EXIST,
40662306a36Sopenharmony_ci			     81, UNIPHIER_PIN_DRV_3BIT,
40762306a36Sopenharmony_ci			     130, UNIPHIER_PIN_PULL_DOWN),
40862306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(131, "HS1DIN4", UNIPHIER_PIN_IECTRL_EXIST,
40962306a36Sopenharmony_ci			     82, UNIPHIER_PIN_DRV_3BIT,
41062306a36Sopenharmony_ci			     131, UNIPHIER_PIN_PULL_DOWN),
41162306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(132, "HS1DIN5", UNIPHIER_PIN_IECTRL_EXIST,
41262306a36Sopenharmony_ci			     83, UNIPHIER_PIN_DRV_3BIT,
41362306a36Sopenharmony_ci			     132, UNIPHIER_PIN_PULL_DOWN),
41462306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(133, "HS1DIN6", UNIPHIER_PIN_IECTRL_EXIST,
41562306a36Sopenharmony_ci			     84, UNIPHIER_PIN_DRV_3BIT,
41662306a36Sopenharmony_ci			     133, UNIPHIER_PIN_PULL_DOWN),
41762306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(134, "HS1DIN7", UNIPHIER_PIN_IECTRL_EXIST,
41862306a36Sopenharmony_ci			     85, UNIPHIER_PIN_DRV_3BIT,
41962306a36Sopenharmony_ci			     134, UNIPHIER_PIN_PULL_DOWN),
42062306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(135, "AO1IEC", UNIPHIER_PIN_IECTRL_EXIST,
42162306a36Sopenharmony_ci			     86, UNIPHIER_PIN_DRV_3BIT,
42262306a36Sopenharmony_ci			     135, UNIPHIER_PIN_PULL_DOWN),
42362306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(136, "AO1ARC", UNIPHIER_PIN_IECTRL_EXIST,
42462306a36Sopenharmony_ci			     87, UNIPHIER_PIN_DRV_3BIT,
42562306a36Sopenharmony_ci			     136, UNIPHIER_PIN_PULL_DOWN),
42662306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(137, "AO1DACCK", UNIPHIER_PIN_IECTRL_EXIST,
42762306a36Sopenharmony_ci			     88, UNIPHIER_PIN_DRV_3BIT,
42862306a36Sopenharmony_ci			     137, UNIPHIER_PIN_PULL_DOWN),
42962306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(138, "AO1BCK", UNIPHIER_PIN_IECTRL_EXIST,
43062306a36Sopenharmony_ci			     89, UNIPHIER_PIN_DRV_3BIT,
43162306a36Sopenharmony_ci			     138, UNIPHIER_PIN_PULL_DOWN),
43262306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(139, "AO1LRCK", UNIPHIER_PIN_IECTRL_EXIST,
43362306a36Sopenharmony_ci			     90, UNIPHIER_PIN_DRV_3BIT,
43462306a36Sopenharmony_ci			     139, UNIPHIER_PIN_PULL_DOWN),
43562306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(140, "AO1D0", UNIPHIER_PIN_IECTRL_EXIST,
43662306a36Sopenharmony_ci			     91, UNIPHIER_PIN_DRV_3BIT,
43762306a36Sopenharmony_ci			     140, UNIPHIER_PIN_PULL_DOWN),
43862306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(141, "AO1D1", UNIPHIER_PIN_IECTRL_EXIST,
43962306a36Sopenharmony_ci			     92, UNIPHIER_PIN_DRV_3BIT,
44062306a36Sopenharmony_ci			     141, UNIPHIER_PIN_PULL_DOWN),
44162306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(142, "AO1D2", UNIPHIER_PIN_IECTRL_EXIST,
44262306a36Sopenharmony_ci			     93, UNIPHIER_PIN_DRV_3BIT,
44362306a36Sopenharmony_ci			     142, UNIPHIER_PIN_PULL_DOWN),
44462306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(143, "HTPDN0", UNIPHIER_PIN_IECTRL_EXIST,
44562306a36Sopenharmony_ci			     94, UNIPHIER_PIN_DRV_3BIT,
44662306a36Sopenharmony_ci			     143, UNIPHIER_PIN_PULL_DOWN),
44762306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(144, "LOCKN0", UNIPHIER_PIN_IECTRL_EXIST,
44862306a36Sopenharmony_ci			     95, UNIPHIER_PIN_DRV_3BIT,
44962306a36Sopenharmony_ci			     144, UNIPHIER_PIN_PULL_DOWN),
45062306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(145, "HTPDN1", UNIPHIER_PIN_IECTRL_EXIST,
45162306a36Sopenharmony_ci			     96, UNIPHIER_PIN_DRV_3BIT,
45262306a36Sopenharmony_ci			     145, UNIPHIER_PIN_PULL_DOWN),
45362306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(146, "LOCKN1", UNIPHIER_PIN_IECTRL_EXIST,
45462306a36Sopenharmony_ci			     97, UNIPHIER_PIN_DRV_3BIT,
45562306a36Sopenharmony_ci			     146, UNIPHIER_PIN_PULL_DOWN),
45662306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(147, "PWMA", UNIPHIER_PIN_IECTRL_EXIST,
45762306a36Sopenharmony_ci			     98, UNIPHIER_PIN_DRV_3BIT,
45862306a36Sopenharmony_ci			     147, UNIPHIER_PIN_PULL_DOWN),
45962306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(148, "LR_GOUT", UNIPHIER_PIN_IECTRL_EXIST,
46062306a36Sopenharmony_ci			     99, UNIPHIER_PIN_DRV_3BIT,
46162306a36Sopenharmony_ci			     148, UNIPHIER_PIN_PULL_DOWN),
46262306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(149, "XIRQ0", UNIPHIER_PIN_IECTRL_EXIST,
46362306a36Sopenharmony_ci			     100, UNIPHIER_PIN_DRV_3BIT,
46462306a36Sopenharmony_ci			     149, UNIPHIER_PIN_PULL_DOWN),
46562306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(150, "XIRQ1", UNIPHIER_PIN_IECTRL_EXIST,
46662306a36Sopenharmony_ci			     101, UNIPHIER_PIN_DRV_3BIT,
46762306a36Sopenharmony_ci			     150, UNIPHIER_PIN_PULL_DOWN),
46862306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(151, "XIRQ2", UNIPHIER_PIN_IECTRL_EXIST,
46962306a36Sopenharmony_ci			     102, UNIPHIER_PIN_DRV_3BIT,
47062306a36Sopenharmony_ci			     151, UNIPHIER_PIN_PULL_DOWN),
47162306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(152, "XIRQ3", UNIPHIER_PIN_IECTRL_EXIST,
47262306a36Sopenharmony_ci			     103, UNIPHIER_PIN_DRV_3BIT,
47362306a36Sopenharmony_ci			     152, UNIPHIER_PIN_PULL_DOWN),
47462306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(153, "XIRQ4", UNIPHIER_PIN_IECTRL_EXIST,
47562306a36Sopenharmony_ci			     104, UNIPHIER_PIN_DRV_3BIT,
47662306a36Sopenharmony_ci			     153, UNIPHIER_PIN_PULL_DOWN),
47762306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(154, "XIRQ5", UNIPHIER_PIN_IECTRL_EXIST,
47862306a36Sopenharmony_ci			     105, UNIPHIER_PIN_DRV_3BIT,
47962306a36Sopenharmony_ci			     154, UNIPHIER_PIN_PULL_DOWN),
48062306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(155, "XIRQ6", UNIPHIER_PIN_IECTRL_EXIST,
48162306a36Sopenharmony_ci			     106, UNIPHIER_PIN_DRV_3BIT,
48262306a36Sopenharmony_ci			     155, UNIPHIER_PIN_PULL_DOWN),
48362306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(156, "XIRQ7", UNIPHIER_PIN_IECTRL_EXIST,
48462306a36Sopenharmony_ci			     107, UNIPHIER_PIN_DRV_3BIT,
48562306a36Sopenharmony_ci			     156, UNIPHIER_PIN_PULL_DOWN),
48662306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(157, "XIRQ8", UNIPHIER_PIN_IECTRL_EXIST,
48762306a36Sopenharmony_ci			     108, UNIPHIER_PIN_DRV_3BIT,
48862306a36Sopenharmony_ci			     157, UNIPHIER_PIN_PULL_DOWN),
48962306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(158, "XIRQ9", UNIPHIER_PIN_IECTRL_EXIST,
49062306a36Sopenharmony_ci			     109, UNIPHIER_PIN_DRV_3BIT,
49162306a36Sopenharmony_ci			     158, UNIPHIER_PIN_PULL_DOWN),
49262306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(159, "XIRQ10", UNIPHIER_PIN_IECTRL_EXIST,
49362306a36Sopenharmony_ci			     110, UNIPHIER_PIN_DRV_3BIT,
49462306a36Sopenharmony_ci			     159, UNIPHIER_PIN_PULL_DOWN),
49562306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(160, "XIRQ11", UNIPHIER_PIN_IECTRL_EXIST,
49662306a36Sopenharmony_ci			     111, UNIPHIER_PIN_DRV_3BIT,
49762306a36Sopenharmony_ci			     160, UNIPHIER_PIN_PULL_DOWN),
49862306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(161, "XIRQ13", UNIPHIER_PIN_IECTRL_EXIST,
49962306a36Sopenharmony_ci			     112, UNIPHIER_PIN_DRV_3BIT,
50062306a36Sopenharmony_ci			     161, UNIPHIER_PIN_PULL_DOWN),
50162306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(162, "XIRQ14", UNIPHIER_PIN_IECTRL_EXIST,
50262306a36Sopenharmony_ci			     113, UNIPHIER_PIN_DRV_3BIT,
50362306a36Sopenharmony_ci			     162, UNIPHIER_PIN_PULL_DOWN),
50462306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(163, "XIRQ16", UNIPHIER_PIN_IECTRL_EXIST,
50562306a36Sopenharmony_ci			     114, UNIPHIER_PIN_DRV_3BIT,
50662306a36Sopenharmony_ci			     163, UNIPHIER_PIN_PULL_DOWN),
50762306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(164, "XIRQ17", UNIPHIER_PIN_IECTRL_EXIST,
50862306a36Sopenharmony_ci			     115, UNIPHIER_PIN_DRV_3BIT,
50962306a36Sopenharmony_ci			     164, UNIPHIER_PIN_PULL_DOWN),
51062306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(165, "XIRQ18", UNIPHIER_PIN_IECTRL_EXIST,
51162306a36Sopenharmony_ci			     116, UNIPHIER_PIN_DRV_3BIT,
51262306a36Sopenharmony_ci			     165, UNIPHIER_PIN_PULL_DOWN),
51362306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(166, "XIRQ19", UNIPHIER_PIN_IECTRL_EXIST,
51462306a36Sopenharmony_ci			     117, UNIPHIER_PIN_DRV_3BIT,
51562306a36Sopenharmony_ci			     166, UNIPHIER_PIN_PULL_DOWN),
51662306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(167, "XIRQ20", UNIPHIER_PIN_IECTRL_EXIST,
51762306a36Sopenharmony_ci			     118, UNIPHIER_PIN_DRV_3BIT,
51862306a36Sopenharmony_ci			     167, UNIPHIER_PIN_PULL_DOWN),
51962306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(168, "PORT00", UNIPHIER_PIN_IECTRL_EXIST,
52062306a36Sopenharmony_ci			     119, UNIPHIER_PIN_DRV_3BIT,
52162306a36Sopenharmony_ci			     168, UNIPHIER_PIN_PULL_DOWN),
52262306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(169, "PORT01", UNIPHIER_PIN_IECTRL_EXIST,
52362306a36Sopenharmony_ci			     120, UNIPHIER_PIN_DRV_3BIT,
52462306a36Sopenharmony_ci			     169, UNIPHIER_PIN_PULL_DOWN),
52562306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(170, "PORT02", UNIPHIER_PIN_IECTRL_EXIST,
52662306a36Sopenharmony_ci			     121, UNIPHIER_PIN_DRV_3BIT,
52762306a36Sopenharmony_ci			     170, UNIPHIER_PIN_PULL_DOWN),
52862306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(171, "PORT03", UNIPHIER_PIN_IECTRL_EXIST,
52962306a36Sopenharmony_ci			     122, UNIPHIER_PIN_DRV_3BIT,
53062306a36Sopenharmony_ci			     171, UNIPHIER_PIN_PULL_DOWN),
53162306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(172, "PORT04", UNIPHIER_PIN_IECTRL_EXIST,
53262306a36Sopenharmony_ci			     123, UNIPHIER_PIN_DRV_3BIT,
53362306a36Sopenharmony_ci			     172, UNIPHIER_PIN_PULL_DOWN),
53462306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(173, "CK27FO", UNIPHIER_PIN_IECTRL_EXIST,
53562306a36Sopenharmony_ci			     124, UNIPHIER_PIN_DRV_3BIT,
53662306a36Sopenharmony_ci			     173, UNIPHIER_PIN_PULL_DOWN),
53762306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(174, "PHSYNCO", UNIPHIER_PIN_IECTRL_EXIST,
53862306a36Sopenharmony_ci			     125, UNIPHIER_PIN_DRV_3BIT,
53962306a36Sopenharmony_ci			     174, UNIPHIER_PIN_PULL_DOWN),
54062306a36Sopenharmony_ci	UNIPHIER_PINCTRL_PIN(175, "PVSYNCO", UNIPHIER_PIN_IECTRL_EXIST,
54162306a36Sopenharmony_ci			     126, UNIPHIER_PIN_DRV_3BIT,
54262306a36Sopenharmony_ci			     175, UNIPHIER_PIN_PULL_DOWN),
54362306a36Sopenharmony_ci};
54462306a36Sopenharmony_ci
54562306a36Sopenharmony_cistatic const unsigned ain1_pins[] = {150, 151, 152, 153};
54662306a36Sopenharmony_cistatic const int ain1_muxvals[] = {4, 4, 4, 4};
54762306a36Sopenharmony_cistatic const unsigned ain1_dat2_pins[] = {154};
54862306a36Sopenharmony_cistatic const int ain1_dat2_muxvals[] = {4};
54962306a36Sopenharmony_cistatic const unsigned ain1_dat4_pins[] = {155, 156};
55062306a36Sopenharmony_cistatic const int ain1_dat4_muxvals[] = {4, 4};
55162306a36Sopenharmony_cistatic const unsigned ain2_pins[] = {116, 117, 118, 119};
55262306a36Sopenharmony_cistatic const int ain2_muxvals[] = {26, 26, 26, 26};
55362306a36Sopenharmony_cistatic const unsigned ain2_dat2_pins[] = {120};
55462306a36Sopenharmony_cistatic const int ain2_dat2_muxvals[] = {26};
55562306a36Sopenharmony_cistatic const unsigned ain2_dat4_pins[] = {121, 122};
55662306a36Sopenharmony_cistatic const int ain2_dat4_muxvals[] = {26, 26};
55762306a36Sopenharmony_cistatic const unsigned ain3_pins[] = {116, 117, 118, 119};
55862306a36Sopenharmony_cistatic const int ain3_muxvals[] = {27, 27, 27, 27};
55962306a36Sopenharmony_cistatic const unsigned aout1_pins[] = {137, 138, 139, 140};
56062306a36Sopenharmony_cistatic const int aout1_muxvals[] = {0, 0, 0, 0};
56162306a36Sopenharmony_cistatic const unsigned aout1_dat2_pins[] = {141};
56262306a36Sopenharmony_cistatic const int aout1_dat2_muxvals[] = {0};
56362306a36Sopenharmony_cistatic const unsigned aout1_dat4_pins[] = {142, 156};
56462306a36Sopenharmony_cistatic const int aout1_dat4_muxvals[] = {0, 1};
56562306a36Sopenharmony_cistatic const unsigned aout1b_pins[] = {150, 151, 152, 153};
56662306a36Sopenharmony_cistatic const int aout1b_muxvals[] = {1, 1, 1, 1};
56762306a36Sopenharmony_cistatic const unsigned aout1b_dat2_pins[] = {154};
56862306a36Sopenharmony_cistatic const int aout1b_dat2_muxvals[] = {1};
56962306a36Sopenharmony_cistatic const unsigned aout1b_dat4_pins[] = {155, 156};
57062306a36Sopenharmony_cistatic const int aout1b_dat4_muxvals[] = {1, 1};
57162306a36Sopenharmony_cistatic const unsigned aout2_pins[] = {165, 157, 162, 158};
57262306a36Sopenharmony_cistatic const int aout2_muxvals[] = {2, 2, 2, 1};
57362306a36Sopenharmony_cistatic const unsigned aout2_dat2_pins[] = {159};
57462306a36Sopenharmony_cistatic const int aout2_dat2_muxvals[] = {1};
57562306a36Sopenharmony_cistatic const unsigned aout2_dat4_pins[] = {160, 161};
57662306a36Sopenharmony_cistatic const int aout2_dat4_muxvals[] = {1, 1};
57762306a36Sopenharmony_cistatic const unsigned aout3_pins[] = {166, 167, 168, 163};
57862306a36Sopenharmony_cistatic const int aout3_muxvals[] = {2, 2, 2, 1};
57962306a36Sopenharmony_cistatic const unsigned aout4_pins[] = {169, 170, 171, 164};
58062306a36Sopenharmony_cistatic const int aout4_muxvals[] = {2, 2, 2, 1};
58162306a36Sopenharmony_cistatic const unsigned aoutiec1_pins[] = {135, 136};
58262306a36Sopenharmony_cistatic const int aoutiec1_muxvals[] = {0, 0};
58362306a36Sopenharmony_cistatic const unsigned aoutiec2_pins[] = {135, 136};
58462306a36Sopenharmony_cistatic const int aoutiec2_muxvals[] = {1, 1};
58562306a36Sopenharmony_cistatic const unsigned int emmc_pins[] = {19, 20, 21, 22, 23, 24, 25};
58662306a36Sopenharmony_cistatic const int emmc_muxvals[] = {0, 0, 0, 0, 0, 0, 0};
58762306a36Sopenharmony_cistatic const unsigned emmc_dat8_pins[] = {26, 27, 28, 29};
58862306a36Sopenharmony_cistatic const int emmc_dat8_muxvals[] = {0, 0, 0, 0};
58962306a36Sopenharmony_cistatic const unsigned ether_rgmii_pins[] = {30, 31, 32, 33, 34, 35, 36, 37, 38,
59062306a36Sopenharmony_ci					    39, 40, 41, 42, 43, 44, 45};
59162306a36Sopenharmony_cistatic const int ether_rgmii_muxvals[] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
59262306a36Sopenharmony_ci					  0, 0, 0, 0};
59362306a36Sopenharmony_cistatic const unsigned ether_rmii_pins[] = {30, 31, 32, 33, 34, 35, 36, 37, 39,
59462306a36Sopenharmony_ci					   41, 42, 45};
59562306a36Sopenharmony_cistatic const int ether_rmii_muxvals[] = {0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1};
59662306a36Sopenharmony_cistatic const unsigned hscin0_ci_pins[] = {102, 103, 104, 105, 106, 107, 108,
59762306a36Sopenharmony_ci					  109, 110, 111, 112};
59862306a36Sopenharmony_cistatic const int hscin0_ci_muxvals[] = {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1};
59962306a36Sopenharmony_cistatic const unsigned hscin0_p_pins[] = {102, 103, 104, 105, 106, 107, 108, 109,
60062306a36Sopenharmony_ci					 110, 111, 112};
60162306a36Sopenharmony_cistatic const int hscin0_p_muxvals[] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
60262306a36Sopenharmony_cistatic const unsigned hscin0_s_pins[] = {116, 117, 118, 119};
60362306a36Sopenharmony_cistatic const int hscin0_s_muxvals[] = {3, 3, 3, 3};
60462306a36Sopenharmony_cistatic const unsigned hscin1_p_pins[] = {124, 125, 126, 127, 128, 129, 130, 131,
60562306a36Sopenharmony_ci					 132, 133, 134};
60662306a36Sopenharmony_cistatic const int hscin1_p_muxvals[] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
60762306a36Sopenharmony_cistatic const unsigned hscin1_s_pins[] = {120, 121, 122, 123};
60862306a36Sopenharmony_cistatic const int hscin1_s_muxvals[] = {3, 3, 3, 3};
60962306a36Sopenharmony_cistatic const unsigned hscin2_s_pins[] = {124, 125, 126, 127};
61062306a36Sopenharmony_cistatic const int hscin2_s_muxvals[] = {3, 3, 3, 3};
61162306a36Sopenharmony_cistatic const unsigned hscin3_s_pins[] = {129, 130, 131, 132};
61262306a36Sopenharmony_cistatic const int hscin3_s_muxvals[] = {3, 3, 3, 3};
61362306a36Sopenharmony_cistatic const unsigned hscin4_s_pins[] = {80, 81, 82, 83};
61462306a36Sopenharmony_cistatic const int hscin4_s_muxvals[] = {3, 3, 3, 3};
61562306a36Sopenharmony_cistatic const unsigned hscout0_ci_pins[] = {113, 114, 115, 116, 117, 118, 119,
61662306a36Sopenharmony_ci					   120, 121, 122, 123};
61762306a36Sopenharmony_cistatic const int hscout0_ci_muxvals[] = {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1};
61862306a36Sopenharmony_cistatic const unsigned hscout0_p_pins[] = {113, 114, 115, 116, 117, 118, 119,
61962306a36Sopenharmony_ci					  120, 121, 122, 123};
62062306a36Sopenharmony_cistatic const int hscout0_p_muxvals[] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
62162306a36Sopenharmony_cistatic const unsigned hscout0_s_pins[] = {116, 117, 118, 119};
62262306a36Sopenharmony_cistatic const int hscout0_s_muxvals[] = {4, 4, 4, 4};
62362306a36Sopenharmony_cistatic const unsigned hscout1_s_pins[] = {120, 121, 122, 123};
62462306a36Sopenharmony_cistatic const int hscout1_s_muxvals[] = {4, 4, 4, 4};
62562306a36Sopenharmony_cistatic const unsigned i2c0_pins[] = {63, 64};
62662306a36Sopenharmony_cistatic const int i2c0_muxvals[] = {0, 0};
62762306a36Sopenharmony_cistatic const unsigned i2c1_pins[] = {65, 66};
62862306a36Sopenharmony_cistatic const int i2c1_muxvals[] = {0, 0};
62962306a36Sopenharmony_cistatic const unsigned i2c3_pins[] = {67, 68};
63062306a36Sopenharmony_cistatic const int i2c3_muxvals[] = {1, 1};
63162306a36Sopenharmony_cistatic const unsigned i2c4_pins[] = {61, 62};
63262306a36Sopenharmony_cistatic const int i2c4_muxvals[] = {1, 1};
63362306a36Sopenharmony_cistatic const unsigned nand_pins[] = {3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
63462306a36Sopenharmony_ci				     15, 16, 17};
63562306a36Sopenharmony_cistatic const int nand_muxvals[] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
63662306a36Sopenharmony_cistatic const unsigned sd_pins[] = {10, 11, 12, 13, 14, 15, 16, 17};
63762306a36Sopenharmony_cistatic const int sd_muxvals[] = {3, 3, 3, 3, 3, 3, 3, 3};  /* No SDVOLC */
63862306a36Sopenharmony_cistatic const unsigned spi0_pins[] = {56, 57, 58, 59};
63962306a36Sopenharmony_cistatic const int spi0_muxvals[] = {0, 0, 0, 0};
64062306a36Sopenharmony_cistatic const unsigned spi1_pins[] = {169, 170, 171, 172};
64162306a36Sopenharmony_cistatic const int spi1_muxvals[] = {1, 1, 1, 1};
64262306a36Sopenharmony_cistatic const unsigned spi2_pins[] = {86, 87, 88, 89};
64362306a36Sopenharmony_cistatic const int spi2_muxvals[] = {1, 1, 1, 1};
64462306a36Sopenharmony_cistatic const unsigned spi3_pins[] = {74, 75, 76, 77};
64562306a36Sopenharmony_cistatic const int spi3_muxvals[] = {1, 1, 1, 1};
64662306a36Sopenharmony_cistatic const unsigned system_bus_pins[] = {1, 2, 6, 7, 8, 9, 10, 11, 12, 13,
64762306a36Sopenharmony_ci					   14, 15, 16, 17};
64862306a36Sopenharmony_cistatic const int system_bus_muxvals[] = {0, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
64962306a36Sopenharmony_ci					 2};
65062306a36Sopenharmony_cistatic const unsigned system_bus_cs1_pins[] = {0};
65162306a36Sopenharmony_cistatic const int system_bus_cs1_muxvals[] = {0};
65262306a36Sopenharmony_cistatic const unsigned uart0_pins[] = {54, 55};
65362306a36Sopenharmony_cistatic const int uart0_muxvals[] = {0, 0};
65462306a36Sopenharmony_cistatic const unsigned uart1_pins[] = {58, 59};
65562306a36Sopenharmony_cistatic const int uart1_muxvals[] = {1, 1};
65662306a36Sopenharmony_cistatic const unsigned uart2_pins[] = {90, 91};
65762306a36Sopenharmony_cistatic const int uart2_muxvals[] = {1, 1};
65862306a36Sopenharmony_cistatic const unsigned uart3_pins[] = {94, 95};
65962306a36Sopenharmony_cistatic const int uart3_muxvals[] = {1, 1};
66062306a36Sopenharmony_cistatic const unsigned uart3_ctsrts_pins[] = {96, 98};
66162306a36Sopenharmony_cistatic const int uart3_ctsrts_muxvals[] = {1, 1};
66262306a36Sopenharmony_cistatic const unsigned uart3_modem_pins[] = {97, 99, 100, 101};
66362306a36Sopenharmony_cistatic const int uart3_modem_muxvals[] = {1, 1, 1, 1};
66462306a36Sopenharmony_cistatic const unsigned usb0_pins[] = {46, 47};
66562306a36Sopenharmony_cistatic const int usb0_muxvals[] = {0, 0};
66662306a36Sopenharmony_cistatic const unsigned usb1_pins[] = {48, 49};
66762306a36Sopenharmony_cistatic const int usb1_muxvals[] = {0, 0};
66862306a36Sopenharmony_cistatic const unsigned usb2_pins[] = {50, 51};
66962306a36Sopenharmony_cistatic const int usb2_muxvals[] = {0, 0};
67062306a36Sopenharmony_cistatic const unsigned usb3_pins[] = {52, 53};
67162306a36Sopenharmony_cistatic const int usb3_muxvals[] = {0, 0};
67262306a36Sopenharmony_cistatic const unsigned int gpio_range0_pins[] = {
67362306a36Sopenharmony_ci	168, 169, 170, 171, 172, 173, 174, 175,		/* PORT0x */
67462306a36Sopenharmony_ci	0, 1, 2, 3, 4, 5, 6, 7,				/* PORT1x */
67562306a36Sopenharmony_ci	8, 9, 10, 11, 12, 13, 14, 15,			/* PORT2x */
67662306a36Sopenharmony_ci	16, 17, 18, 30, 31, 32, 33, 34,			/* PORT3x */
67762306a36Sopenharmony_ci	35, 36, 37, 38, 39, 40, 41, 42,			/* PORT4x */
67862306a36Sopenharmony_ci	43, 44, 45, 46, 47, 48, 49, 50,			/* PORT5x */
67962306a36Sopenharmony_ci	51, 52, 53, 54, 55, 56, 57, 58,			/* PORT6x */
68062306a36Sopenharmony_ci	59, 60, 69, 70, 71, 72, 73, 74,			/* PORT7x */
68162306a36Sopenharmony_ci	75, 76, 77, 78, 79, 80, 81, 82,			/* PORT8x */
68262306a36Sopenharmony_ci	83, 84, 85, 86, 87, 88, 89, 90,			/* PORT9x */
68362306a36Sopenharmony_ci	91, 92, 93, 94, 95, 96, 97, 98,			/* PORT10x */
68462306a36Sopenharmony_ci};
68562306a36Sopenharmony_cistatic const unsigned int gpio_range1_pins[] = {
68662306a36Sopenharmony_ci	99, 100, 101, 102, 103, 104, 105, 106,		/* PORT12x */
68762306a36Sopenharmony_ci	107, 108, 109, 110, 111, 112, 113, 114,		/* PORT13x */
68862306a36Sopenharmony_ci	115, 116, 117, 118, 119, 120, 121, 122,		/* PORT14x */
68962306a36Sopenharmony_ci	149, 150, 151, 152, 153, 154, 155, 156,		/* XIRQ0-7 */
69062306a36Sopenharmony_ci	157, 158, 159, 160, 85, 161, 162, 84,		/* XIRQ8-15 */
69162306a36Sopenharmony_ci	163, 164, 165, 166, 167, 146, 52, 53,		/* XIRQ16-23 */
69262306a36Sopenharmony_ci	61, 62, 63, 64, 65, 66, 67, 68,			/* PORT18x */
69362306a36Sopenharmony_ci};
69462306a36Sopenharmony_cistatic const unsigned int gpio_range2_pins[] = {
69562306a36Sopenharmony_ci	123, 124, 125, 126, 127, 128, 129, 130,		/* PORT20x */
69662306a36Sopenharmony_ci	131, 132, 133, 134, 135, 136, 137, 138,		/* PORT21x */
69762306a36Sopenharmony_ci	139, 140, 141, 142, 143, 144, 145, 146,		/* PORT22x */
69862306a36Sopenharmony_ci	147, 148, 149, 150, 151, 152, 153, 154,		/* PORT23x */
69962306a36Sopenharmony_ci	155, 156, 157, 158, 159, 160, 161, 162,		/* PORT24x */
70062306a36Sopenharmony_ci	163, 164, 165, 166, 167,			/* PORT250-254 */
70162306a36Sopenharmony_ci};
70262306a36Sopenharmony_ci
70362306a36Sopenharmony_cistatic const struct uniphier_pinctrl_group uniphier_ld20_groups[] = {
70462306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(ain1),
70562306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(ain1_dat2),
70662306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(ain1_dat4),
70762306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(ain2),
70862306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(ain2_dat2),
70962306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(ain2_dat4),
71062306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(ain3),
71162306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(aout1),
71262306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(aout1_dat2),
71362306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(aout1_dat4),
71462306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(aout1b),
71562306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(aout1b_dat2),
71662306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(aout1b_dat4),
71762306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(aout2),
71862306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(aout2_dat2),
71962306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(aout2_dat4),
72062306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(aout3),
72162306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(aout4),
72262306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(aoutiec1),
72362306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(aoutiec2),
72462306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(emmc),
72562306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(emmc_dat8),
72662306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(ether_rgmii),
72762306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(ether_rmii),
72862306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(hscin0_ci),
72962306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(hscin0_p),
73062306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(hscin0_s),
73162306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(hscin1_p),
73262306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(hscin1_s),
73362306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(hscin2_s),
73462306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(hscin3_s),
73562306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(hscin4_s),
73662306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(hscout0_ci),
73762306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(hscout0_p),
73862306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(hscout0_s),
73962306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(hscout1_s),
74062306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(i2c0),
74162306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(i2c1),
74262306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(i2c3),
74362306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(i2c4),
74462306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(nand),
74562306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(sd),
74662306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(spi0),
74762306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(spi1),
74862306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(spi2),
74962306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(spi3),
75062306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(system_bus),
75162306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(system_bus_cs1),
75262306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(uart0),
75362306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(uart1),
75462306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(uart2),
75562306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(uart3),
75662306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(uart3_ctsrts),
75762306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(uart3_modem),
75862306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(usb0),
75962306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(usb1),
76062306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(usb2),
76162306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP(usb3),
76262306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP_GPIO(gpio_range0),
76362306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP_GPIO(gpio_range1),
76462306a36Sopenharmony_ci	UNIPHIER_PINCTRL_GROUP_GPIO(gpio_range2),
76562306a36Sopenharmony_ci};
76662306a36Sopenharmony_ci
76762306a36Sopenharmony_cistatic const char * const ain1_groups[] = {"ain1", "ain1_dat2",
76862306a36Sopenharmony_ci					   "ain1_dat4"};
76962306a36Sopenharmony_cistatic const char * const ain2_groups[] = {"ain2", "ain2_dat2",
77062306a36Sopenharmony_ci					   "ain2_dat4"};
77162306a36Sopenharmony_cistatic const char * const ain3_groups[] = {"ain3"};
77262306a36Sopenharmony_cistatic const char * const aout1_groups[] = {"aout1", "aout1_dat2",
77362306a36Sopenharmony_ci					    "aout1_dat4",
77462306a36Sopenharmony_ci					    "aout1b", "aout1b_dat2",
77562306a36Sopenharmony_ci					    "aout1b_dat4"};
77662306a36Sopenharmony_cistatic const char * const aout2_groups[] = {"aout2", "aout2_dat2",
77762306a36Sopenharmony_ci					    "aout2_dat4"};
77862306a36Sopenharmony_cistatic const char * const aout3_groups[] = {"aout3"};
77962306a36Sopenharmony_cistatic const char * const aout4_groups[] = {"aout4"};
78062306a36Sopenharmony_cistatic const char * const aoutiec1_groups[] = {"aoutiec1"};
78162306a36Sopenharmony_cistatic const char * const aoutiec2_groups[] = {"aoutiec2"};
78262306a36Sopenharmony_cistatic const char * const emmc_groups[] = {"emmc", "emmc_dat8"};
78362306a36Sopenharmony_cistatic const char * const ether_rgmii_groups[] = {"ether_rgmii"};
78462306a36Sopenharmony_cistatic const char * const ether_rmii_groups[] = {"ether_rmii"};
78562306a36Sopenharmony_cistatic const char * const hscin0_groups[] = {"hscin0_ci",
78662306a36Sopenharmony_ci					     "hscin0_p",
78762306a36Sopenharmony_ci					     "hscin0_s"};
78862306a36Sopenharmony_cistatic const char * const hscin1_groups[] = {"hscin1_p", "hscin1_s"};
78962306a36Sopenharmony_cistatic const char * const hscin2_groups[] = {"hscin2_s"};
79062306a36Sopenharmony_cistatic const char * const hscin3_groups[] = {"hscin3_s"};
79162306a36Sopenharmony_cistatic const char * const hscin4_groups[] = {"hscin4_s"};
79262306a36Sopenharmony_cistatic const char * const hscout0_groups[] = {"hscout0_ci",
79362306a36Sopenharmony_ci					      "hscout0_p",
79462306a36Sopenharmony_ci					      "hscout0_s"};
79562306a36Sopenharmony_cistatic const char * const hscout1_groups[] = {"hscout1_s"};
79662306a36Sopenharmony_cistatic const char * const i2c0_groups[] = {"i2c0"};
79762306a36Sopenharmony_cistatic const char * const i2c1_groups[] = {"i2c1"};
79862306a36Sopenharmony_cistatic const char * const i2c3_groups[] = {"i2c3"};
79962306a36Sopenharmony_cistatic const char * const i2c4_groups[] = {"i2c4"};
80062306a36Sopenharmony_cistatic const char * const nand_groups[] = {"nand"};
80162306a36Sopenharmony_cistatic const char * const sd_groups[] = {"sd"};
80262306a36Sopenharmony_cistatic const char * const spi0_groups[] = {"spi0"};
80362306a36Sopenharmony_cistatic const char * const spi1_groups[] = {"spi1"};
80462306a36Sopenharmony_cistatic const char * const spi2_groups[] = {"spi2"};
80562306a36Sopenharmony_cistatic const char * const spi3_groups[] = {"spi3"};
80662306a36Sopenharmony_cistatic const char * const system_bus_groups[] = {"system_bus",
80762306a36Sopenharmony_ci						 "system_bus_cs1"};
80862306a36Sopenharmony_cistatic const char * const uart0_groups[] = {"uart0"};
80962306a36Sopenharmony_cistatic const char * const uart1_groups[] = {"uart1"};
81062306a36Sopenharmony_cistatic const char * const uart2_groups[] = {"uart2"};
81162306a36Sopenharmony_cistatic const char * const uart3_groups[] = {"uart3", "uart3_ctsrts",
81262306a36Sopenharmony_ci					    "uart3_modem"};
81362306a36Sopenharmony_cistatic const char * const usb0_groups[] = {"usb0"};
81462306a36Sopenharmony_cistatic const char * const usb1_groups[] = {"usb1"};
81562306a36Sopenharmony_cistatic const char * const usb2_groups[] = {"usb2"};
81662306a36Sopenharmony_cistatic const char * const usb3_groups[] = {"usb3"};
81762306a36Sopenharmony_ci
81862306a36Sopenharmony_cistatic const struct uniphier_pinmux_function uniphier_ld20_functions[] = {
81962306a36Sopenharmony_ci	UNIPHIER_PINMUX_FUNCTION(ain1),
82062306a36Sopenharmony_ci	UNIPHIER_PINMUX_FUNCTION(ain2),
82162306a36Sopenharmony_ci	UNIPHIER_PINMUX_FUNCTION(ain3),
82262306a36Sopenharmony_ci	UNIPHIER_PINMUX_FUNCTION(aout1),
82362306a36Sopenharmony_ci	UNIPHIER_PINMUX_FUNCTION(aout2),
82462306a36Sopenharmony_ci	UNIPHIER_PINMUX_FUNCTION(aout3),
82562306a36Sopenharmony_ci	UNIPHIER_PINMUX_FUNCTION(aout4),
82662306a36Sopenharmony_ci	UNIPHIER_PINMUX_FUNCTION(aoutiec1),
82762306a36Sopenharmony_ci	UNIPHIER_PINMUX_FUNCTION(aoutiec2),
82862306a36Sopenharmony_ci	UNIPHIER_PINMUX_FUNCTION(emmc),
82962306a36Sopenharmony_ci	UNIPHIER_PINMUX_FUNCTION(ether_rgmii),
83062306a36Sopenharmony_ci	UNIPHIER_PINMUX_FUNCTION(ether_rmii),
83162306a36Sopenharmony_ci	UNIPHIER_PINMUX_FUNCTION(hscin0),
83262306a36Sopenharmony_ci	UNIPHIER_PINMUX_FUNCTION(hscin1),
83362306a36Sopenharmony_ci	UNIPHIER_PINMUX_FUNCTION(hscin2),
83462306a36Sopenharmony_ci	UNIPHIER_PINMUX_FUNCTION(hscin3),
83562306a36Sopenharmony_ci	UNIPHIER_PINMUX_FUNCTION(hscin4),
83662306a36Sopenharmony_ci	UNIPHIER_PINMUX_FUNCTION(hscout0),
83762306a36Sopenharmony_ci	UNIPHIER_PINMUX_FUNCTION(hscout1),
83862306a36Sopenharmony_ci	UNIPHIER_PINMUX_FUNCTION(i2c0),
83962306a36Sopenharmony_ci	UNIPHIER_PINMUX_FUNCTION(i2c1),
84062306a36Sopenharmony_ci	UNIPHIER_PINMUX_FUNCTION(i2c3),
84162306a36Sopenharmony_ci	UNIPHIER_PINMUX_FUNCTION(i2c4),
84262306a36Sopenharmony_ci	UNIPHIER_PINMUX_FUNCTION(nand),
84362306a36Sopenharmony_ci	UNIPHIER_PINMUX_FUNCTION(sd),
84462306a36Sopenharmony_ci	UNIPHIER_PINMUX_FUNCTION(spi0),
84562306a36Sopenharmony_ci	UNIPHIER_PINMUX_FUNCTION(spi1),
84662306a36Sopenharmony_ci	UNIPHIER_PINMUX_FUNCTION(spi2),
84762306a36Sopenharmony_ci	UNIPHIER_PINMUX_FUNCTION(spi3),
84862306a36Sopenharmony_ci	UNIPHIER_PINMUX_FUNCTION(system_bus),
84962306a36Sopenharmony_ci	UNIPHIER_PINMUX_FUNCTION(uart0),
85062306a36Sopenharmony_ci	UNIPHIER_PINMUX_FUNCTION(uart1),
85162306a36Sopenharmony_ci	UNIPHIER_PINMUX_FUNCTION(uart2),
85262306a36Sopenharmony_ci	UNIPHIER_PINMUX_FUNCTION(uart3),
85362306a36Sopenharmony_ci	UNIPHIER_PINMUX_FUNCTION(usb0),
85462306a36Sopenharmony_ci	UNIPHIER_PINMUX_FUNCTION(usb1),
85562306a36Sopenharmony_ci	UNIPHIER_PINMUX_FUNCTION(usb2),
85662306a36Sopenharmony_ci	UNIPHIER_PINMUX_FUNCTION(usb3),
85762306a36Sopenharmony_ci};
85862306a36Sopenharmony_ci
85962306a36Sopenharmony_cistatic int uniphier_ld20_get_gpio_muxval(unsigned int pin,
86062306a36Sopenharmony_ci					 unsigned int gpio_offset)
86162306a36Sopenharmony_ci{
86262306a36Sopenharmony_ci	if (gpio_offset == 132 || gpio_offset == 135)	/* XIRQ12, 15 */
86362306a36Sopenharmony_ci		return 13;
86462306a36Sopenharmony_ci
86562306a36Sopenharmony_ci	if (gpio_offset >= 120 && gpio_offset <= 143)	/* XIRQx */
86662306a36Sopenharmony_ci		return 14;
86762306a36Sopenharmony_ci
86862306a36Sopenharmony_ci	return 15;
86962306a36Sopenharmony_ci}
87062306a36Sopenharmony_ci
87162306a36Sopenharmony_cistatic const struct uniphier_pinctrl_socdata uniphier_ld20_pindata = {
87262306a36Sopenharmony_ci	.pins = uniphier_ld20_pins,
87362306a36Sopenharmony_ci	.npins = ARRAY_SIZE(uniphier_ld20_pins),
87462306a36Sopenharmony_ci	.groups = uniphier_ld20_groups,
87562306a36Sopenharmony_ci	.groups_count = ARRAY_SIZE(uniphier_ld20_groups),
87662306a36Sopenharmony_ci	.functions = uniphier_ld20_functions,
87762306a36Sopenharmony_ci	.functions_count = ARRAY_SIZE(uniphier_ld20_functions),
87862306a36Sopenharmony_ci	.get_gpio_muxval = uniphier_ld20_get_gpio_muxval,
87962306a36Sopenharmony_ci	.caps = UNIPHIER_PINCTRL_CAPS_PERPIN_IECTRL,
88062306a36Sopenharmony_ci};
88162306a36Sopenharmony_ci
88262306a36Sopenharmony_cistatic int uniphier_ld20_pinctrl_probe(struct platform_device *pdev)
88362306a36Sopenharmony_ci{
88462306a36Sopenharmony_ci	return uniphier_pinctrl_probe(pdev, &uniphier_ld20_pindata);
88562306a36Sopenharmony_ci}
88662306a36Sopenharmony_ci
88762306a36Sopenharmony_cistatic const struct of_device_id uniphier_ld20_pinctrl_match[] = {
88862306a36Sopenharmony_ci	{ .compatible = "socionext,uniphier-ld20-pinctrl" },
88962306a36Sopenharmony_ci	{ /* sentinel */ }
89062306a36Sopenharmony_ci};
89162306a36Sopenharmony_ci
89262306a36Sopenharmony_cistatic struct platform_driver uniphier_ld20_pinctrl_driver = {
89362306a36Sopenharmony_ci	.probe = uniphier_ld20_pinctrl_probe,
89462306a36Sopenharmony_ci	.driver = {
89562306a36Sopenharmony_ci		.name = "uniphier-ld20-pinctrl",
89662306a36Sopenharmony_ci		.of_match_table = uniphier_ld20_pinctrl_match,
89762306a36Sopenharmony_ci		.pm = &uniphier_pinctrl_pm_ops,
89862306a36Sopenharmony_ci	},
89962306a36Sopenharmony_ci};
90062306a36Sopenharmony_cibuiltin_platform_driver(uniphier_ld20_pinctrl_driver);
901