18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * SH7203 Pinmux
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci *  Copyright (C) 2008  Magnus Damm
68c2ecf20Sopenharmony_ci */
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ci#include <linux/kernel.h>
98c2ecf20Sopenharmony_ci#include <linux/gpio.h>
108c2ecf20Sopenharmony_ci#include <cpu/sh7203.h>
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ci#include "sh_pfc.h"
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_cienum {
158c2ecf20Sopenharmony_ci	PINMUX_RESERVED = 0,
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ci	PINMUX_DATA_BEGIN,
188c2ecf20Sopenharmony_ci	PA7_DATA, PA6_DATA, PA5_DATA, PA4_DATA,
198c2ecf20Sopenharmony_ci	PA3_DATA, PA2_DATA, PA1_DATA, PA0_DATA,
208c2ecf20Sopenharmony_ci	PB12_DATA,
218c2ecf20Sopenharmony_ci	PB11_DATA, PB10_DATA, PB9_DATA, PB8_DATA,
228c2ecf20Sopenharmony_ci	PB7_DATA, PB6_DATA, PB5_DATA, PB4_DATA,
238c2ecf20Sopenharmony_ci	PB3_DATA, PB2_DATA, PB1_DATA, PB0_DATA,
248c2ecf20Sopenharmony_ci	PC14_DATA, PC13_DATA, PC12_DATA,
258c2ecf20Sopenharmony_ci	PC11_DATA, PC10_DATA, PC9_DATA, PC8_DATA,
268c2ecf20Sopenharmony_ci	PC7_DATA, PC6_DATA, PC5_DATA, PC4_DATA,
278c2ecf20Sopenharmony_ci	PC3_DATA, PC2_DATA, PC1_DATA, PC0_DATA,
288c2ecf20Sopenharmony_ci	PD15_DATA, PD14_DATA, PD13_DATA, PD12_DATA,
298c2ecf20Sopenharmony_ci	PD11_DATA, PD10_DATA, PD9_DATA, PD8_DATA,
308c2ecf20Sopenharmony_ci	PD7_DATA, PD6_DATA, PD5_DATA, PD4_DATA,
318c2ecf20Sopenharmony_ci	PD3_DATA, PD2_DATA, PD1_DATA, PD0_DATA,
328c2ecf20Sopenharmony_ci	PE15_DATA, PE14_DATA, PE13_DATA, PE12_DATA,
338c2ecf20Sopenharmony_ci	PE11_DATA, PE10_DATA, PE9_DATA, PE8_DATA,
348c2ecf20Sopenharmony_ci	PE7_DATA, PE6_DATA, PE5_DATA, PE4_DATA,
358c2ecf20Sopenharmony_ci	PE3_DATA, PE2_DATA, PE1_DATA, PE0_DATA,
368c2ecf20Sopenharmony_ci	PF30_DATA, PF29_DATA, PF28_DATA,
378c2ecf20Sopenharmony_ci	PF27_DATA, PF26_DATA, PF25_DATA, PF24_DATA,
388c2ecf20Sopenharmony_ci	PF23_DATA, PF22_DATA, PF21_DATA, PF20_DATA,
398c2ecf20Sopenharmony_ci	PF19_DATA, PF18_DATA, PF17_DATA, PF16_DATA,
408c2ecf20Sopenharmony_ci	PF15_DATA, PF14_DATA, PF13_DATA, PF12_DATA,
418c2ecf20Sopenharmony_ci	PF11_DATA, PF10_DATA, PF9_DATA, PF8_DATA,
428c2ecf20Sopenharmony_ci	PF7_DATA, PF6_DATA, PF5_DATA, PF4_DATA,
438c2ecf20Sopenharmony_ci	PF3_DATA, PF2_DATA, PF1_DATA, PF0_DATA,
448c2ecf20Sopenharmony_ci	PINMUX_DATA_END,
458c2ecf20Sopenharmony_ci
468c2ecf20Sopenharmony_ci	PINMUX_INPUT_BEGIN,
478c2ecf20Sopenharmony_ci	FORCE_IN,
488c2ecf20Sopenharmony_ci	PA7_IN, PA6_IN, PA5_IN, PA4_IN,
498c2ecf20Sopenharmony_ci	PA3_IN, PA2_IN, PA1_IN, PA0_IN,
508c2ecf20Sopenharmony_ci	PB11_IN, PB10_IN, PB9_IN, PB8_IN,
518c2ecf20Sopenharmony_ci	PC14_IN, PC13_IN, PC12_IN,
528c2ecf20Sopenharmony_ci	PC11_IN, PC10_IN, PC9_IN, PC8_IN,
538c2ecf20Sopenharmony_ci	PC7_IN, PC6_IN, PC5_IN, PC4_IN,
548c2ecf20Sopenharmony_ci	PC3_IN, PC2_IN, PC1_IN, PC0_IN,
558c2ecf20Sopenharmony_ci	PD15_IN, PD14_IN, PD13_IN, PD12_IN,
568c2ecf20Sopenharmony_ci	PD11_IN, PD10_IN, PD9_IN, PD8_IN,
578c2ecf20Sopenharmony_ci	PD7_IN, PD6_IN, PD5_IN, PD4_IN,
588c2ecf20Sopenharmony_ci	PD3_IN, PD2_IN, PD1_IN, PD0_IN,
598c2ecf20Sopenharmony_ci	PE15_IN, PE14_IN, PE13_IN, PE12_IN,
608c2ecf20Sopenharmony_ci	PE11_IN, PE10_IN, PE9_IN, PE8_IN,
618c2ecf20Sopenharmony_ci	PE7_IN, PE6_IN, PE5_IN, PE4_IN,
628c2ecf20Sopenharmony_ci	PE3_IN, PE2_IN, PE1_IN, PE0_IN,
638c2ecf20Sopenharmony_ci	PF30_IN, PF29_IN, PF28_IN,
648c2ecf20Sopenharmony_ci	PF27_IN, PF26_IN, PF25_IN, PF24_IN,
658c2ecf20Sopenharmony_ci	PF23_IN, PF22_IN, PF21_IN, PF20_IN,
668c2ecf20Sopenharmony_ci	PF19_IN, PF18_IN, PF17_IN, PF16_IN,
678c2ecf20Sopenharmony_ci	PF15_IN, PF14_IN, PF13_IN, PF12_IN,
688c2ecf20Sopenharmony_ci	PF11_IN, PF10_IN, PF9_IN, PF8_IN,
698c2ecf20Sopenharmony_ci	PF7_IN, PF6_IN, PF5_IN, PF4_IN,
708c2ecf20Sopenharmony_ci	PF3_IN, PF2_IN, PF1_IN, PF0_IN,
718c2ecf20Sopenharmony_ci	PINMUX_INPUT_END,
728c2ecf20Sopenharmony_ci
738c2ecf20Sopenharmony_ci	PINMUX_OUTPUT_BEGIN,
748c2ecf20Sopenharmony_ci	FORCE_OUT,
758c2ecf20Sopenharmony_ci	PB11_OUT, PB10_OUT, PB9_OUT, PB8_OUT,
768c2ecf20Sopenharmony_ci	PC14_OUT, PC13_OUT, PC12_OUT,
778c2ecf20Sopenharmony_ci	PC11_OUT, PC10_OUT, PC9_OUT, PC8_OUT,
788c2ecf20Sopenharmony_ci	PC7_OUT, PC6_OUT, PC5_OUT, PC4_OUT,
798c2ecf20Sopenharmony_ci	PC3_OUT, PC2_OUT, PC1_OUT, PC0_OUT,
808c2ecf20Sopenharmony_ci	PD15_OUT, PD14_OUT, PD13_OUT, PD12_OUT,
818c2ecf20Sopenharmony_ci	PD11_OUT, PD10_OUT, PD9_OUT, PD8_OUT,
828c2ecf20Sopenharmony_ci	PD7_OUT, PD6_OUT, PD5_OUT, PD4_OUT,
838c2ecf20Sopenharmony_ci	PD3_OUT, PD2_OUT, PD1_OUT, PD0_OUT,
848c2ecf20Sopenharmony_ci	PE15_OUT, PE14_OUT, PE13_OUT, PE12_OUT,
858c2ecf20Sopenharmony_ci	PE11_OUT, PE10_OUT, PE9_OUT, PE8_OUT,
868c2ecf20Sopenharmony_ci	PE7_OUT, PE6_OUT, PE5_OUT, PE4_OUT,
878c2ecf20Sopenharmony_ci	PE3_OUT, PE2_OUT, PE1_OUT, PE0_OUT,
888c2ecf20Sopenharmony_ci	PF30_OUT, PF29_OUT, PF28_OUT,
898c2ecf20Sopenharmony_ci	PF27_OUT, PF26_OUT, PF25_OUT, PF24_OUT,
908c2ecf20Sopenharmony_ci	PF23_OUT, PF22_OUT, PF21_OUT, PF20_OUT,
918c2ecf20Sopenharmony_ci	PF19_OUT, PF18_OUT, PF17_OUT, PF16_OUT,
928c2ecf20Sopenharmony_ci	PF15_OUT, PF14_OUT, PF13_OUT, PF12_OUT,
938c2ecf20Sopenharmony_ci	PF11_OUT, PF10_OUT, PF9_OUT, PF8_OUT,
948c2ecf20Sopenharmony_ci	PF7_OUT, PF6_OUT, PF5_OUT, PF4_OUT,
958c2ecf20Sopenharmony_ci	PF3_OUT, PF2_OUT, PF1_OUT, PF0_OUT,
968c2ecf20Sopenharmony_ci	PINMUX_OUTPUT_END,
978c2ecf20Sopenharmony_ci
988c2ecf20Sopenharmony_ci	PINMUX_FUNCTION_BEGIN,
998c2ecf20Sopenharmony_ci	PB11_IOR_IN, PB11_IOR_OUT,
1008c2ecf20Sopenharmony_ci	PB10_IOR_IN, PB10_IOR_OUT,
1018c2ecf20Sopenharmony_ci	PB9_IOR_IN, PB9_IOR_OUT,
1028c2ecf20Sopenharmony_ci	PB8_IOR_IN, PB8_IOR_OUT,
1038c2ecf20Sopenharmony_ci	PB12MD_00, PB12MD_01, PB12MD_10, PB12MD_11,
1048c2ecf20Sopenharmony_ci	PB11MD_0, PB11MD_1,
1058c2ecf20Sopenharmony_ci	PB10MD_0, PB10MD_1,
1068c2ecf20Sopenharmony_ci	PB9MD_00, PB9MD_01, PB9MD_10,
1078c2ecf20Sopenharmony_ci	PB8MD_00, PB8MD_01, PB8MD_10,
1088c2ecf20Sopenharmony_ci	PB7MD_00, PB7MD_01, PB7MD_10, PB7MD_11,
1098c2ecf20Sopenharmony_ci	PB6MD_00, PB6MD_01, PB6MD_10, PB6MD_11,
1108c2ecf20Sopenharmony_ci	PB5MD_00, PB5MD_01, PB5MD_10, PB5MD_11,
1118c2ecf20Sopenharmony_ci	PB4MD_00, PB4MD_01, PB4MD_10, PB4MD_11,
1128c2ecf20Sopenharmony_ci	PB3MD_00, PB3MD_01, PB3MD_10, PB3MD_11,
1138c2ecf20Sopenharmony_ci	PB2MD_00, PB2MD_01, PB2MD_10, PB2MD_11,
1148c2ecf20Sopenharmony_ci	PB1MD_00, PB1MD_01, PB1MD_10, PB1MD_11,
1158c2ecf20Sopenharmony_ci	PB0MD_00, PB0MD_01, PB0MD_10, PB0MD_11,
1168c2ecf20Sopenharmony_ci
1178c2ecf20Sopenharmony_ci	PB12IRQ_00, PB12IRQ_01, PB12IRQ_10,
1188c2ecf20Sopenharmony_ci
1198c2ecf20Sopenharmony_ci	PC14MD_0, PC14MD_1,
1208c2ecf20Sopenharmony_ci	PC13MD_0, PC13MD_1,
1218c2ecf20Sopenharmony_ci	PC12MD_0, PC12MD_1,
1228c2ecf20Sopenharmony_ci	PC11MD_00, PC11MD_01, PC11MD_10,
1238c2ecf20Sopenharmony_ci	PC10MD_00, PC10MD_01, PC10MD_10,
1248c2ecf20Sopenharmony_ci	PC9MD_0, PC9MD_1,
1258c2ecf20Sopenharmony_ci	PC8MD_0, PC8MD_1,
1268c2ecf20Sopenharmony_ci	PC7MD_0, PC7MD_1,
1278c2ecf20Sopenharmony_ci	PC6MD_0, PC6MD_1,
1288c2ecf20Sopenharmony_ci	PC5MD_0, PC5MD_1,
1298c2ecf20Sopenharmony_ci	PC4MD_0, PC4MD_1,
1308c2ecf20Sopenharmony_ci	PC3MD_0, PC3MD_1,
1318c2ecf20Sopenharmony_ci	PC2MD_0, PC2MD_1,
1328c2ecf20Sopenharmony_ci	PC1MD_0, PC1MD_1,
1338c2ecf20Sopenharmony_ci	PC0MD_00, PC0MD_01, PC0MD_10,
1348c2ecf20Sopenharmony_ci
1358c2ecf20Sopenharmony_ci	PD15MD_000, PD15MD_001, PD15MD_010, PD15MD_100, PD15MD_101,
1368c2ecf20Sopenharmony_ci	PD14MD_000, PD14MD_001, PD14MD_010, PD14MD_101,
1378c2ecf20Sopenharmony_ci	PD13MD_000, PD13MD_001, PD13MD_010, PD13MD_100, PD13MD_101,
1388c2ecf20Sopenharmony_ci	PD12MD_000, PD12MD_001, PD12MD_010, PD12MD_100, PD12MD_101,
1398c2ecf20Sopenharmony_ci	PD11MD_000, PD11MD_001, PD11MD_010, PD11MD_100, PD11MD_101,
1408c2ecf20Sopenharmony_ci	PD10MD_000, PD10MD_001, PD10MD_010, PD10MD_100, PD10MD_101,
1418c2ecf20Sopenharmony_ci	PD9MD_000, PD9MD_001, PD9MD_010, PD9MD_100, PD9MD_101,
1428c2ecf20Sopenharmony_ci	PD8MD_000, PD8MD_001, PD8MD_010, PD8MD_100, PD8MD_101,
1438c2ecf20Sopenharmony_ci	PD7MD_000, PD7MD_001, PD7MD_010, PD7MD_011, PD7MD_100, PD7MD_101,
1448c2ecf20Sopenharmony_ci	PD6MD_000, PD6MD_001, PD6MD_010, PD6MD_011, PD6MD_100, PD6MD_101,
1458c2ecf20Sopenharmony_ci	PD5MD_000, PD5MD_001, PD5MD_010, PD5MD_011, PD5MD_100, PD5MD_101,
1468c2ecf20Sopenharmony_ci	PD4MD_000, PD4MD_001, PD4MD_010, PD4MD_011, PD4MD_100, PD4MD_101,
1478c2ecf20Sopenharmony_ci	PD3MD_000, PD3MD_001, PD3MD_010, PD3MD_011, PD3MD_100, PD3MD_101,
1488c2ecf20Sopenharmony_ci	PD2MD_000, PD2MD_001, PD2MD_010, PD2MD_011, PD2MD_100, PD2MD_101,
1498c2ecf20Sopenharmony_ci	PD1MD_000, PD1MD_001, PD1MD_010, PD1MD_011, PD1MD_100, PD1MD_101,
1508c2ecf20Sopenharmony_ci	PD0MD_000, PD0MD_001, PD0MD_010, PD0MD_011, PD0MD_100, PD0MD_101,
1518c2ecf20Sopenharmony_ci
1528c2ecf20Sopenharmony_ci	PE15MD_00, PE15MD_01, PE15MD_11,
1538c2ecf20Sopenharmony_ci	PE14MD_00, PE14MD_01, PE14MD_11,
1548c2ecf20Sopenharmony_ci	PE13MD_00, PE13MD_11,
1558c2ecf20Sopenharmony_ci	PE12MD_00, PE12MD_11,
1568c2ecf20Sopenharmony_ci	PE11MD_000, PE11MD_001, PE11MD_010, PE11MD_100,
1578c2ecf20Sopenharmony_ci	PE10MD_000, PE10MD_001, PE10MD_010, PE10MD_100,
1588c2ecf20Sopenharmony_ci	PE9MD_00, PE9MD_01, PE9MD_10, PE9MD_11,
1598c2ecf20Sopenharmony_ci	PE8MD_00, PE8MD_01, PE8MD_10, PE8MD_11,
1608c2ecf20Sopenharmony_ci	PE7MD_000, PE7MD_001, PE7MD_010, PE7MD_011, PE7MD_100,
1618c2ecf20Sopenharmony_ci	PE6MD_000, PE6MD_001, PE6MD_010, PE6MD_011, PE6MD_100,
1628c2ecf20Sopenharmony_ci	PE5MD_000, PE5MD_001, PE5MD_010, PE5MD_011, PE5MD_100,
1638c2ecf20Sopenharmony_ci	PE4MD_000, PE4MD_001, PE4MD_010, PE4MD_011, PE4MD_100,
1648c2ecf20Sopenharmony_ci	PE3MD_00, PE3MD_01, PE3MD_11,
1658c2ecf20Sopenharmony_ci	PE2MD_00, PE2MD_01, PE2MD_11,
1668c2ecf20Sopenharmony_ci	PE1MD_00, PE1MD_01, PE1MD_10, PE1MD_11,
1678c2ecf20Sopenharmony_ci	PE0MD_000, PE0MD_001, PE0MD_011, PE0MD_100,
1688c2ecf20Sopenharmony_ci
1698c2ecf20Sopenharmony_ci	PF30MD_0, PF30MD_1,
1708c2ecf20Sopenharmony_ci	PF29MD_0, PF29MD_1,
1718c2ecf20Sopenharmony_ci	PF28MD_0, PF28MD_1,
1728c2ecf20Sopenharmony_ci	PF27MD_0, PF27MD_1,
1738c2ecf20Sopenharmony_ci	PF26MD_0, PF26MD_1,
1748c2ecf20Sopenharmony_ci	PF25MD_0, PF25MD_1,
1758c2ecf20Sopenharmony_ci	PF24MD_0, PF24MD_1,
1768c2ecf20Sopenharmony_ci	PF23MD_00, PF23MD_01, PF23MD_10,
1778c2ecf20Sopenharmony_ci	PF22MD_00, PF22MD_01, PF22MD_10,
1788c2ecf20Sopenharmony_ci	PF21MD_00, PF21MD_01, PF21MD_10,
1798c2ecf20Sopenharmony_ci	PF20MD_00, PF20MD_01, PF20MD_10,
1808c2ecf20Sopenharmony_ci	PF19MD_00, PF19MD_01, PF19MD_10,
1818c2ecf20Sopenharmony_ci	PF18MD_00, PF18MD_01, PF18MD_10,
1828c2ecf20Sopenharmony_ci	PF17MD_00, PF17MD_01, PF17MD_10,
1838c2ecf20Sopenharmony_ci	PF16MD_00, PF16MD_01, PF16MD_10,
1848c2ecf20Sopenharmony_ci	PF15MD_00, PF15MD_01, PF15MD_10,
1858c2ecf20Sopenharmony_ci	PF14MD_00, PF14MD_01, PF14MD_10,
1868c2ecf20Sopenharmony_ci	PF13MD_00, PF13MD_01, PF13MD_10,
1878c2ecf20Sopenharmony_ci	PF12MD_00, PF12MD_01, PF12MD_10,
1888c2ecf20Sopenharmony_ci	PF11MD_00, PF11MD_01, PF11MD_10,
1898c2ecf20Sopenharmony_ci	PF10MD_00, PF10MD_01, PF10MD_10,
1908c2ecf20Sopenharmony_ci	PF9MD_00, PF9MD_01, PF9MD_10,
1918c2ecf20Sopenharmony_ci	PF8MD_00, PF8MD_01, PF8MD_10,
1928c2ecf20Sopenharmony_ci	PF7MD_00, PF7MD_01, PF7MD_10, PF7MD_11,
1938c2ecf20Sopenharmony_ci	PF6MD_00, PF6MD_01, PF6MD_10, PF6MD_11,
1948c2ecf20Sopenharmony_ci	PF5MD_00, PF5MD_01, PF5MD_10, PF5MD_11,
1958c2ecf20Sopenharmony_ci	PF4MD_00, PF4MD_01, PF4MD_10, PF4MD_11,
1968c2ecf20Sopenharmony_ci	PF3MD_00, PF3MD_01, PF3MD_10, PF3MD_11,
1978c2ecf20Sopenharmony_ci	PF2MD_00, PF2MD_01, PF2MD_10, PF2MD_11,
1988c2ecf20Sopenharmony_ci	PF1MD_00, PF1MD_01, PF1MD_10, PF1MD_11,
1998c2ecf20Sopenharmony_ci	PF0MD_00, PF0MD_01, PF0MD_10, PF0MD_11,
2008c2ecf20Sopenharmony_ci	PINMUX_FUNCTION_END,
2018c2ecf20Sopenharmony_ci
2028c2ecf20Sopenharmony_ci	PINMUX_MARK_BEGIN,
2038c2ecf20Sopenharmony_ci	PINT7_PB_MARK, PINT6_PB_MARK, PINT5_PB_MARK, PINT4_PB_MARK,
2048c2ecf20Sopenharmony_ci	PINT3_PB_MARK, PINT2_PB_MARK, PINT1_PB_MARK, PINT0_PB_MARK,
2058c2ecf20Sopenharmony_ci	PINT7_PD_MARK, PINT6_PD_MARK, PINT5_PD_MARK, PINT4_PD_MARK,
2068c2ecf20Sopenharmony_ci	PINT3_PD_MARK, PINT2_PD_MARK, PINT1_PD_MARK, PINT0_PD_MARK,
2078c2ecf20Sopenharmony_ci	IRQ7_PB_MARK, IRQ6_PB_MARK, IRQ5_PB_MARK, IRQ4_PB_MARK,
2088c2ecf20Sopenharmony_ci	IRQ3_PB_MARK, IRQ2_PB_MARK, IRQ1_PB_MARK, IRQ0_PB_MARK,
2098c2ecf20Sopenharmony_ci	IRQ7_PD_MARK, IRQ6_PD_MARK, IRQ5_PD_MARK, IRQ4_PD_MARK,
2108c2ecf20Sopenharmony_ci	IRQ3_PD_MARK, IRQ2_PD_MARK, IRQ1_PD_MARK, IRQ0_PD_MARK,
2118c2ecf20Sopenharmony_ci	IRQ7_PE_MARK, IRQ6_PE_MARK, IRQ5_PE_MARK, IRQ4_PE_MARK,
2128c2ecf20Sopenharmony_ci	IRQ3_PE_MARK, IRQ2_PE_MARK, IRQ1_PE_MARK, IRQ0_PE_MARK,
2138c2ecf20Sopenharmony_ci	WDTOVF_MARK, IRQOUT_MARK, REFOUT_MARK, IRQOUT_REFOUT_MARK,
2148c2ecf20Sopenharmony_ci	UBCTRG_MARK,
2158c2ecf20Sopenharmony_ci	CTX1_MARK, CRX1_MARK, CTX0_MARK, CTX0_CTX1_MARK,
2168c2ecf20Sopenharmony_ci	CRX0_MARK, CRX0_CRX1_MARK,
2178c2ecf20Sopenharmony_ci	SDA3_MARK, SCL3_MARK,
2188c2ecf20Sopenharmony_ci	SDA2_MARK, SCL2_MARK,
2198c2ecf20Sopenharmony_ci	SDA1_MARK, SCL1_MARK,
2208c2ecf20Sopenharmony_ci	SDA0_MARK, SCL0_MARK,
2218c2ecf20Sopenharmony_ci	TEND0_PD_MARK, TEND0_PE_MARK, DACK0_PD_MARK, DACK0_PE_MARK,
2228c2ecf20Sopenharmony_ci	DREQ0_PD_MARK, DREQ0_PE_MARK, TEND1_PD_MARK, TEND1_PE_MARK,
2238c2ecf20Sopenharmony_ci	DACK1_PD_MARK, DACK1_PE_MARK, DREQ1_PD_MARK, DREQ1_PE_MARK,
2248c2ecf20Sopenharmony_ci	DACK2_MARK, DREQ2_MARK, DACK3_MARK, DREQ3_MARK,
2258c2ecf20Sopenharmony_ci	ADTRG_PD_MARK, ADTRG_PE_MARK,
2268c2ecf20Sopenharmony_ci	D31_MARK, D30_MARK, D29_MARK, D28_MARK,
2278c2ecf20Sopenharmony_ci	D27_MARK, D26_MARK, D25_MARK, D24_MARK,
2288c2ecf20Sopenharmony_ci	D23_MARK, D22_MARK, D21_MARK, D20_MARK,
2298c2ecf20Sopenharmony_ci	D19_MARK, D18_MARK, D17_MARK, D16_MARK,
2308c2ecf20Sopenharmony_ci	A25_MARK, A24_MARK, A23_MARK, A22_MARK,
2318c2ecf20Sopenharmony_ci	A21_MARK, CS4_MARK, MRES_MARK, BS_MARK,
2328c2ecf20Sopenharmony_ci	IOIS16_MARK, CS1_MARK, CS6_CE1B_MARK, CE2B_MARK,
2338c2ecf20Sopenharmony_ci	CS5_CE1A_MARK, CE2A_MARK, FRAME_MARK, WAIT_MARK,
2348c2ecf20Sopenharmony_ci	RDWR_MARK, CKE_MARK, CASU_MARK,	BREQ_MARK,
2358c2ecf20Sopenharmony_ci	RASU_MARK, BACK_MARK, CASL_MARK, RASL_MARK,
2368c2ecf20Sopenharmony_ci	WE3_DQMUU_AH_ICIO_WR_MARK, WE2_DQMUL_ICIORD_MARK,
2378c2ecf20Sopenharmony_ci	WE1_DQMLU_WE_MARK, WE0_DQMLL_MARK,
2388c2ecf20Sopenharmony_ci	CS3_MARK, CS2_MARK, A1_MARK, A0_MARK, CS7_MARK,
2398c2ecf20Sopenharmony_ci	TIOC4D_MARK, TIOC4C_MARK, TIOC4B_MARK, TIOC4A_MARK,
2408c2ecf20Sopenharmony_ci	TIOC3D_MARK, TIOC3C_MARK, TIOC3B_MARK, TIOC3A_MARK,
2418c2ecf20Sopenharmony_ci	TIOC2B_MARK, TIOC1B_MARK, TIOC2A_MARK, TIOC1A_MARK,
2428c2ecf20Sopenharmony_ci	TIOC0D_MARK, TIOC0C_MARK, TIOC0B_MARK, TIOC0A_MARK,
2438c2ecf20Sopenharmony_ci	TCLKD_PD_MARK, TCLKC_PD_MARK, TCLKB_PD_MARK, TCLKA_PD_MARK,
2448c2ecf20Sopenharmony_ci	TCLKD_PF_MARK, TCLKC_PF_MARK, TCLKB_PF_MARK, TCLKA_PF_MARK,
2458c2ecf20Sopenharmony_ci	SCS0_PD_MARK, SSO0_PD_MARK, SSI0_PD_MARK, SSCK0_PD_MARK,
2468c2ecf20Sopenharmony_ci	SCS0_PF_MARK, SSO0_PF_MARK, SSI0_PF_MARK, SSCK0_PF_MARK,
2478c2ecf20Sopenharmony_ci	SCS1_PD_MARK, SSO1_PD_MARK, SSI1_PD_MARK, SSCK1_PD_MARK,
2488c2ecf20Sopenharmony_ci	SCS1_PF_MARK, SSO1_PF_MARK, SSI1_PF_MARK, SSCK1_PF_MARK,
2498c2ecf20Sopenharmony_ci	TXD0_MARK, RXD0_MARK, SCK0_MARK,
2508c2ecf20Sopenharmony_ci	TXD1_MARK, RXD1_MARK, SCK1_MARK,
2518c2ecf20Sopenharmony_ci	TXD2_MARK, RXD2_MARK, SCK2_MARK,
2528c2ecf20Sopenharmony_ci	RTS3_MARK, CTS3_MARK, TXD3_MARK,
2538c2ecf20Sopenharmony_ci	RXD3_MARK, SCK3_MARK,
2548c2ecf20Sopenharmony_ci	AUDIO_CLK_MARK,
2558c2ecf20Sopenharmony_ci	SSIDATA3_MARK, SSIWS3_MARK, SSISCK3_MARK,
2568c2ecf20Sopenharmony_ci	SSIDATA2_MARK, SSIWS2_MARK, SSISCK2_MARK,
2578c2ecf20Sopenharmony_ci	SSIDATA1_MARK, SSIWS1_MARK, SSISCK1_MARK,
2588c2ecf20Sopenharmony_ci	SSIDATA0_MARK, SSIWS0_MARK, SSISCK0_MARK,
2598c2ecf20Sopenharmony_ci	FCE_MARK, FRB_MARK,
2608c2ecf20Sopenharmony_ci	NAF7_MARK, NAF6_MARK, NAF5_MARK, NAF4_MARK,
2618c2ecf20Sopenharmony_ci	NAF3_MARK, NAF2_MARK, NAF1_MARK, NAF0_MARK,
2628c2ecf20Sopenharmony_ci	FSC_MARK, FOE_MARK, FCDE_MARK, FWE_MARK,
2638c2ecf20Sopenharmony_ci	LCD_VEPWC_MARK, LCD_VCPWC_MARK,	LCD_CLK_MARK, LCD_FLM_MARK,
2648c2ecf20Sopenharmony_ci	LCD_M_DISP_MARK, LCD_CL2_MARK, LCD_CL1_MARK, LCD_DON_MARK,
2658c2ecf20Sopenharmony_ci	LCD_DATA15_MARK, LCD_DATA14_MARK, LCD_DATA13_MARK, LCD_DATA12_MARK,
2668c2ecf20Sopenharmony_ci	LCD_DATA11_MARK, LCD_DATA10_MARK, LCD_DATA9_MARK, LCD_DATA8_MARK,
2678c2ecf20Sopenharmony_ci	LCD_DATA7_MARK, LCD_DATA6_MARK, LCD_DATA5_MARK, LCD_DATA4_MARK,
2688c2ecf20Sopenharmony_ci	LCD_DATA3_MARK, LCD_DATA2_MARK, LCD_DATA1_MARK, LCD_DATA0_MARK,
2698c2ecf20Sopenharmony_ci	PINMUX_MARK_END,
2708c2ecf20Sopenharmony_ci};
2718c2ecf20Sopenharmony_ci
2728c2ecf20Sopenharmony_cistatic const u16 pinmux_data[] = {
2738c2ecf20Sopenharmony_ci	/* PA */
2748c2ecf20Sopenharmony_ci	PINMUX_DATA(PA7_DATA, PA7_IN),
2758c2ecf20Sopenharmony_ci	PINMUX_DATA(PA6_DATA, PA6_IN),
2768c2ecf20Sopenharmony_ci	PINMUX_DATA(PA5_DATA, PA5_IN),
2778c2ecf20Sopenharmony_ci	PINMUX_DATA(PA4_DATA, PA4_IN),
2788c2ecf20Sopenharmony_ci	PINMUX_DATA(PA3_DATA, PA3_IN),
2798c2ecf20Sopenharmony_ci	PINMUX_DATA(PA2_DATA, PA2_IN),
2808c2ecf20Sopenharmony_ci	PINMUX_DATA(PA1_DATA, PA1_IN),
2818c2ecf20Sopenharmony_ci	PINMUX_DATA(PA0_DATA, PA0_IN),
2828c2ecf20Sopenharmony_ci
2838c2ecf20Sopenharmony_ci	/* PB */
2848c2ecf20Sopenharmony_ci	PINMUX_DATA(PB12_DATA, PB12MD_00, FORCE_OUT),
2858c2ecf20Sopenharmony_ci	PINMUX_DATA(WDTOVF_MARK, PB12MD_01),
2868c2ecf20Sopenharmony_ci	PINMUX_DATA(IRQOUT_MARK, PB12MD_10, PB12IRQ_00),
2878c2ecf20Sopenharmony_ci	PINMUX_DATA(REFOUT_MARK, PB12MD_10, PB12IRQ_01),
2888c2ecf20Sopenharmony_ci	PINMUX_DATA(IRQOUT_REFOUT_MARK, PB12MD_10, PB12IRQ_10),
2898c2ecf20Sopenharmony_ci	PINMUX_DATA(UBCTRG_MARK, PB12MD_11),
2908c2ecf20Sopenharmony_ci
2918c2ecf20Sopenharmony_ci	PINMUX_DATA(PB11_DATA, PB11MD_0, PB11_IN, PB11_OUT),
2928c2ecf20Sopenharmony_ci	PINMUX_DATA(CTX1_MARK, PB11MD_1),
2938c2ecf20Sopenharmony_ci
2948c2ecf20Sopenharmony_ci	PINMUX_DATA(PB10_DATA, PB10MD_0, PB10_IN, PB10_OUT),
2958c2ecf20Sopenharmony_ci	PINMUX_DATA(CRX1_MARK, PB10MD_1),
2968c2ecf20Sopenharmony_ci
2978c2ecf20Sopenharmony_ci	PINMUX_DATA(PB9_DATA, PB9MD_00, PB9_IN, PB9_OUT),
2988c2ecf20Sopenharmony_ci	PINMUX_DATA(CTX0_MARK, PB9MD_01),
2998c2ecf20Sopenharmony_ci	PINMUX_DATA(CTX0_CTX1_MARK, PB9MD_10),
3008c2ecf20Sopenharmony_ci
3018c2ecf20Sopenharmony_ci	PINMUX_DATA(PB8_DATA, PB8MD_00, PB8_IN, PB8_OUT),
3028c2ecf20Sopenharmony_ci	PINMUX_DATA(CRX0_MARK, PB8MD_01),
3038c2ecf20Sopenharmony_ci	PINMUX_DATA(CRX0_CRX1_MARK, PB8MD_10),
3048c2ecf20Sopenharmony_ci
3058c2ecf20Sopenharmony_ci	PINMUX_DATA(PB7_DATA, PB7MD_00, FORCE_IN),
3068c2ecf20Sopenharmony_ci	PINMUX_DATA(SDA3_MARK, PB7MD_01),
3078c2ecf20Sopenharmony_ci	PINMUX_DATA(PINT7_PB_MARK, PB7MD_10),
3088c2ecf20Sopenharmony_ci	PINMUX_DATA(IRQ7_PB_MARK, PB7MD_11),
3098c2ecf20Sopenharmony_ci
3108c2ecf20Sopenharmony_ci	PINMUX_DATA(PB6_DATA, PB6MD_00, FORCE_IN),
3118c2ecf20Sopenharmony_ci	PINMUX_DATA(SCL3_MARK, PB6MD_01),
3128c2ecf20Sopenharmony_ci	PINMUX_DATA(PINT6_PB_MARK, PB6MD_10),
3138c2ecf20Sopenharmony_ci	PINMUX_DATA(IRQ6_PB_MARK, PB6MD_11),
3148c2ecf20Sopenharmony_ci
3158c2ecf20Sopenharmony_ci	PINMUX_DATA(PB5_DATA, PB5MD_00, FORCE_IN),
3168c2ecf20Sopenharmony_ci	PINMUX_DATA(SDA2_MARK, PB6MD_01),
3178c2ecf20Sopenharmony_ci	PINMUX_DATA(PINT5_PB_MARK, PB6MD_10),
3188c2ecf20Sopenharmony_ci	PINMUX_DATA(IRQ5_PB_MARK, PB6MD_11),
3198c2ecf20Sopenharmony_ci
3208c2ecf20Sopenharmony_ci	PINMUX_DATA(PB4_DATA, PB4MD_00, FORCE_IN),
3218c2ecf20Sopenharmony_ci	PINMUX_DATA(SCL2_MARK, PB4MD_01),
3228c2ecf20Sopenharmony_ci	PINMUX_DATA(PINT4_PB_MARK, PB4MD_10),
3238c2ecf20Sopenharmony_ci	PINMUX_DATA(IRQ4_PB_MARK, PB4MD_11),
3248c2ecf20Sopenharmony_ci
3258c2ecf20Sopenharmony_ci	PINMUX_DATA(PB3_DATA, PB3MD_00, FORCE_IN),
3268c2ecf20Sopenharmony_ci	PINMUX_DATA(SDA1_MARK, PB3MD_01),
3278c2ecf20Sopenharmony_ci	PINMUX_DATA(PINT3_PB_MARK, PB3MD_10),
3288c2ecf20Sopenharmony_ci	PINMUX_DATA(IRQ3_PB_MARK, PB3MD_11),
3298c2ecf20Sopenharmony_ci
3308c2ecf20Sopenharmony_ci	PINMUX_DATA(PB2_DATA, PB2MD_00, FORCE_IN),
3318c2ecf20Sopenharmony_ci	PINMUX_DATA(SCL1_MARK, PB2MD_01),
3328c2ecf20Sopenharmony_ci	PINMUX_DATA(PINT2_PB_MARK, PB2MD_10),
3338c2ecf20Sopenharmony_ci	PINMUX_DATA(IRQ2_PB_MARK, PB2MD_11),
3348c2ecf20Sopenharmony_ci
3358c2ecf20Sopenharmony_ci	PINMUX_DATA(PB1_DATA, PB1MD_00, FORCE_IN),
3368c2ecf20Sopenharmony_ci	PINMUX_DATA(SDA0_MARK, PB1MD_01),
3378c2ecf20Sopenharmony_ci	PINMUX_DATA(PINT1_PB_MARK, PB1MD_10),
3388c2ecf20Sopenharmony_ci	PINMUX_DATA(IRQ1_PB_MARK, PB1MD_11),
3398c2ecf20Sopenharmony_ci
3408c2ecf20Sopenharmony_ci	PINMUX_DATA(PB0_DATA, PB0MD_00, FORCE_IN),
3418c2ecf20Sopenharmony_ci	PINMUX_DATA(SCL0_MARK, PB0MD_01),
3428c2ecf20Sopenharmony_ci	PINMUX_DATA(PINT0_PB_MARK, PB0MD_10),
3438c2ecf20Sopenharmony_ci	PINMUX_DATA(IRQ0_PB_MARK, PB0MD_11),
3448c2ecf20Sopenharmony_ci
3458c2ecf20Sopenharmony_ci	/* PC */
3468c2ecf20Sopenharmony_ci	PINMUX_DATA(PC14_DATA, PC14MD_0, PC14_IN, PC14_OUT),
3478c2ecf20Sopenharmony_ci	PINMUX_DATA(WAIT_MARK, PC14MD_1),
3488c2ecf20Sopenharmony_ci
3498c2ecf20Sopenharmony_ci	PINMUX_DATA(PC13_DATA, PC13MD_0, PC13_IN, PC13_OUT),
3508c2ecf20Sopenharmony_ci	PINMUX_DATA(RDWR_MARK, PC13MD_1),
3518c2ecf20Sopenharmony_ci
3528c2ecf20Sopenharmony_ci	PINMUX_DATA(PC12_DATA, PC12MD_0, PC12_IN, PC12_OUT),
3538c2ecf20Sopenharmony_ci	PINMUX_DATA(CKE_MARK, PC12MD_1),
3548c2ecf20Sopenharmony_ci
3558c2ecf20Sopenharmony_ci	PINMUX_DATA(PC11_DATA, PC11MD_00, PC11_IN, PC11_OUT),
3568c2ecf20Sopenharmony_ci	PINMUX_DATA(CASU_MARK, PC11MD_01),
3578c2ecf20Sopenharmony_ci	PINMUX_DATA(BREQ_MARK, PC11MD_10),
3588c2ecf20Sopenharmony_ci
3598c2ecf20Sopenharmony_ci	PINMUX_DATA(PC10_DATA, PC10MD_00, PC10_IN, PC10_OUT),
3608c2ecf20Sopenharmony_ci	PINMUX_DATA(RASU_MARK, PC10MD_01),
3618c2ecf20Sopenharmony_ci	PINMUX_DATA(BACK_MARK, PC10MD_10),
3628c2ecf20Sopenharmony_ci
3638c2ecf20Sopenharmony_ci	PINMUX_DATA(PC9_DATA, PC9MD_0, PC9_IN, PC9_OUT),
3648c2ecf20Sopenharmony_ci	PINMUX_DATA(CASL_MARK, PC9MD_1),
3658c2ecf20Sopenharmony_ci
3668c2ecf20Sopenharmony_ci	PINMUX_DATA(PC8_DATA, PC8MD_0, PC8_IN, PC8_OUT),
3678c2ecf20Sopenharmony_ci	PINMUX_DATA(RASL_MARK, PC8MD_1),
3688c2ecf20Sopenharmony_ci
3698c2ecf20Sopenharmony_ci	PINMUX_DATA(PC7_DATA, PC7MD_0, PC7_IN, PC7_OUT),
3708c2ecf20Sopenharmony_ci	PINMUX_DATA(WE3_DQMUU_AH_ICIO_WR_MARK, PC7MD_1),
3718c2ecf20Sopenharmony_ci
3728c2ecf20Sopenharmony_ci	PINMUX_DATA(PC6_DATA, PC6MD_0, PC6_IN, PC6_OUT),
3738c2ecf20Sopenharmony_ci	PINMUX_DATA(WE2_DQMUL_ICIORD_MARK, PC6MD_1),
3748c2ecf20Sopenharmony_ci
3758c2ecf20Sopenharmony_ci	PINMUX_DATA(PC5_DATA, PC5MD_0, PC5_IN, PC5_OUT),
3768c2ecf20Sopenharmony_ci	PINMUX_DATA(WE1_DQMLU_WE_MARK, PC5MD_1),
3778c2ecf20Sopenharmony_ci
3788c2ecf20Sopenharmony_ci	PINMUX_DATA(PC4_DATA, PC4MD_0, PC4_IN, PC4_OUT),
3798c2ecf20Sopenharmony_ci	PINMUX_DATA(WE0_DQMLL_MARK, PC4MD_1),
3808c2ecf20Sopenharmony_ci
3818c2ecf20Sopenharmony_ci	PINMUX_DATA(PC3_DATA, PC3MD_0, PC3_IN, PC3_OUT),
3828c2ecf20Sopenharmony_ci	PINMUX_DATA(CS3_MARK, PC3MD_1),
3838c2ecf20Sopenharmony_ci
3848c2ecf20Sopenharmony_ci	PINMUX_DATA(PC2_DATA, PC2MD_0, PC2_IN, PC2_OUT),
3858c2ecf20Sopenharmony_ci	PINMUX_DATA(CS2_MARK, PC2MD_1),
3868c2ecf20Sopenharmony_ci
3878c2ecf20Sopenharmony_ci	PINMUX_DATA(PC1_DATA, PC1MD_0, PC1_IN, PC1_OUT),
3888c2ecf20Sopenharmony_ci	PINMUX_DATA(A1_MARK, PC1MD_1),
3898c2ecf20Sopenharmony_ci
3908c2ecf20Sopenharmony_ci	PINMUX_DATA(PC0_DATA, PC0MD_00, PC0_IN, PC0_OUT),
3918c2ecf20Sopenharmony_ci	PINMUX_DATA(A0_MARK, PC0MD_01),
3928c2ecf20Sopenharmony_ci	PINMUX_DATA(CS7_MARK, PC0MD_10),
3938c2ecf20Sopenharmony_ci
3948c2ecf20Sopenharmony_ci	/* PD */
3958c2ecf20Sopenharmony_ci	PINMUX_DATA(PD15_DATA, PD15MD_000, PD15_IN, PD15_OUT),
3968c2ecf20Sopenharmony_ci	PINMUX_DATA(D31_MARK, PD15MD_001),
3978c2ecf20Sopenharmony_ci	PINMUX_DATA(PINT7_PD_MARK, PD15MD_010),
3988c2ecf20Sopenharmony_ci	PINMUX_DATA(ADTRG_PD_MARK, PD15MD_100),
3998c2ecf20Sopenharmony_ci	PINMUX_DATA(TIOC4D_MARK, PD15MD_101),
4008c2ecf20Sopenharmony_ci
4018c2ecf20Sopenharmony_ci	PINMUX_DATA(PD14_DATA, PD14MD_000, PD14_IN, PD14_OUT),
4028c2ecf20Sopenharmony_ci	PINMUX_DATA(D30_MARK, PD14MD_001),
4038c2ecf20Sopenharmony_ci	PINMUX_DATA(PINT6_PD_MARK, PD14MD_010),
4048c2ecf20Sopenharmony_ci	PINMUX_DATA(TIOC4C_MARK, PD14MD_101),
4058c2ecf20Sopenharmony_ci
4068c2ecf20Sopenharmony_ci	PINMUX_DATA(PD13_DATA, PD13MD_000, PD13_IN, PD13_OUT),
4078c2ecf20Sopenharmony_ci	PINMUX_DATA(D29_MARK, PD13MD_001),
4088c2ecf20Sopenharmony_ci	PINMUX_DATA(PINT5_PD_MARK, PD13MD_010),
4098c2ecf20Sopenharmony_ci	PINMUX_DATA(TEND1_PD_MARK, PD13MD_100),
4108c2ecf20Sopenharmony_ci	PINMUX_DATA(TIOC4B_MARK, PD13MD_101),
4118c2ecf20Sopenharmony_ci
4128c2ecf20Sopenharmony_ci	PINMUX_DATA(PD12_DATA, PD12MD_000, PD12_IN, PD12_OUT),
4138c2ecf20Sopenharmony_ci	PINMUX_DATA(D28_MARK, PD12MD_001),
4148c2ecf20Sopenharmony_ci	PINMUX_DATA(PINT4_PD_MARK, PD12MD_010),
4158c2ecf20Sopenharmony_ci	PINMUX_DATA(DACK1_PD_MARK, PD12MD_100),
4168c2ecf20Sopenharmony_ci	PINMUX_DATA(TIOC4A_MARK, PD12MD_101),
4178c2ecf20Sopenharmony_ci
4188c2ecf20Sopenharmony_ci	PINMUX_DATA(PD11_DATA, PD11MD_000, PD11_IN, PD11_OUT),
4198c2ecf20Sopenharmony_ci	PINMUX_DATA(D27_MARK, PD11MD_001),
4208c2ecf20Sopenharmony_ci	PINMUX_DATA(PINT3_PD_MARK, PD11MD_010),
4218c2ecf20Sopenharmony_ci	PINMUX_DATA(DREQ1_PD_MARK, PD11MD_100),
4228c2ecf20Sopenharmony_ci	PINMUX_DATA(TIOC3D_MARK, PD11MD_101),
4238c2ecf20Sopenharmony_ci
4248c2ecf20Sopenharmony_ci	PINMUX_DATA(PD10_DATA, PD10MD_000, PD10_IN, PD10_OUT),
4258c2ecf20Sopenharmony_ci	PINMUX_DATA(D26_MARK, PD10MD_001),
4268c2ecf20Sopenharmony_ci	PINMUX_DATA(PINT2_PD_MARK, PD10MD_010),
4278c2ecf20Sopenharmony_ci	PINMUX_DATA(TEND0_PD_MARK, PD10MD_100),
4288c2ecf20Sopenharmony_ci	PINMUX_DATA(TIOC3C_MARK, PD10MD_101),
4298c2ecf20Sopenharmony_ci
4308c2ecf20Sopenharmony_ci	PINMUX_DATA(PD9_DATA, PD9MD_000, PD9_IN, PD9_OUT),
4318c2ecf20Sopenharmony_ci	PINMUX_DATA(D25_MARK, PD9MD_001),
4328c2ecf20Sopenharmony_ci	PINMUX_DATA(PINT1_PD_MARK, PD9MD_010),
4338c2ecf20Sopenharmony_ci	PINMUX_DATA(DACK0_PD_MARK, PD9MD_100),
4348c2ecf20Sopenharmony_ci	PINMUX_DATA(TIOC3B_MARK, PD9MD_101),
4358c2ecf20Sopenharmony_ci
4368c2ecf20Sopenharmony_ci	PINMUX_DATA(PD8_DATA, PD8MD_000, PD8_IN, PD8_OUT),
4378c2ecf20Sopenharmony_ci	PINMUX_DATA(D24_MARK, PD8MD_001),
4388c2ecf20Sopenharmony_ci	PINMUX_DATA(PINT0_PD_MARK, PD8MD_010),
4398c2ecf20Sopenharmony_ci	PINMUX_DATA(DREQ0_PD_MARK, PD8MD_100),
4408c2ecf20Sopenharmony_ci	PINMUX_DATA(TIOC3A_MARK, PD8MD_101),
4418c2ecf20Sopenharmony_ci
4428c2ecf20Sopenharmony_ci	PINMUX_DATA(PD7_DATA, PD7MD_000, PD7_IN, PD7_OUT),
4438c2ecf20Sopenharmony_ci	PINMUX_DATA(D23_MARK, PD7MD_001),
4448c2ecf20Sopenharmony_ci	PINMUX_DATA(IRQ7_PD_MARK, PD7MD_010),
4458c2ecf20Sopenharmony_ci	PINMUX_DATA(SCS1_PD_MARK, PD7MD_011),
4468c2ecf20Sopenharmony_ci	PINMUX_DATA(TCLKD_PD_MARK, PD7MD_100),
4478c2ecf20Sopenharmony_ci	PINMUX_DATA(TIOC2B_MARK, PD7MD_101),
4488c2ecf20Sopenharmony_ci
4498c2ecf20Sopenharmony_ci	PINMUX_DATA(PD6_DATA, PD6MD_000, PD6_IN, PD6_OUT),
4508c2ecf20Sopenharmony_ci	PINMUX_DATA(D22_MARK, PD6MD_001),
4518c2ecf20Sopenharmony_ci	PINMUX_DATA(IRQ6_PD_MARK, PD6MD_010),
4528c2ecf20Sopenharmony_ci	PINMUX_DATA(SSO1_PD_MARK, PD6MD_011),
4538c2ecf20Sopenharmony_ci	PINMUX_DATA(TCLKC_PD_MARK, PD6MD_100),
4548c2ecf20Sopenharmony_ci	PINMUX_DATA(TIOC2A_MARK, PD6MD_101),
4558c2ecf20Sopenharmony_ci
4568c2ecf20Sopenharmony_ci	PINMUX_DATA(PD5_DATA, PD5MD_000, PD5_IN, PD5_OUT),
4578c2ecf20Sopenharmony_ci	PINMUX_DATA(D21_MARK, PD5MD_001),
4588c2ecf20Sopenharmony_ci	PINMUX_DATA(IRQ5_PD_MARK, PD5MD_010),
4598c2ecf20Sopenharmony_ci	PINMUX_DATA(SSI1_PD_MARK, PD5MD_011),
4608c2ecf20Sopenharmony_ci	PINMUX_DATA(TCLKB_PD_MARK, PD5MD_100),
4618c2ecf20Sopenharmony_ci	PINMUX_DATA(TIOC1B_MARK, PD5MD_101),
4628c2ecf20Sopenharmony_ci
4638c2ecf20Sopenharmony_ci	PINMUX_DATA(PD4_DATA, PD4MD_000, PD4_IN, PD4_OUT),
4648c2ecf20Sopenharmony_ci	PINMUX_DATA(D20_MARK, PD4MD_001),
4658c2ecf20Sopenharmony_ci	PINMUX_DATA(IRQ4_PD_MARK, PD4MD_010),
4668c2ecf20Sopenharmony_ci	PINMUX_DATA(SSCK1_PD_MARK, PD4MD_011),
4678c2ecf20Sopenharmony_ci	PINMUX_DATA(TCLKA_PD_MARK, PD4MD_100),
4688c2ecf20Sopenharmony_ci	PINMUX_DATA(TIOC1A_MARK, PD4MD_101),
4698c2ecf20Sopenharmony_ci
4708c2ecf20Sopenharmony_ci	PINMUX_DATA(PD3_DATA, PD3MD_000, PD3_IN, PD3_OUT),
4718c2ecf20Sopenharmony_ci	PINMUX_DATA(D19_MARK, PD3MD_001),
4728c2ecf20Sopenharmony_ci	PINMUX_DATA(IRQ3_PD_MARK, PD3MD_010),
4738c2ecf20Sopenharmony_ci	PINMUX_DATA(SCS0_PD_MARK, PD3MD_011),
4748c2ecf20Sopenharmony_ci	PINMUX_DATA(DACK3_MARK, PD3MD_100),
4758c2ecf20Sopenharmony_ci	PINMUX_DATA(TIOC0D_MARK, PD3MD_101),
4768c2ecf20Sopenharmony_ci
4778c2ecf20Sopenharmony_ci	PINMUX_DATA(PD2_DATA, PD2MD_000, PD2_IN, PD2_OUT),
4788c2ecf20Sopenharmony_ci	PINMUX_DATA(D18_MARK, PD2MD_001),
4798c2ecf20Sopenharmony_ci	PINMUX_DATA(IRQ2_PD_MARK, PD2MD_010),
4808c2ecf20Sopenharmony_ci	PINMUX_DATA(SSO0_PD_MARK, PD2MD_011),
4818c2ecf20Sopenharmony_ci	PINMUX_DATA(DREQ3_MARK, PD2MD_100),
4828c2ecf20Sopenharmony_ci	PINMUX_DATA(TIOC0C_MARK, PD2MD_101),
4838c2ecf20Sopenharmony_ci
4848c2ecf20Sopenharmony_ci	PINMUX_DATA(PD1_DATA, PD1MD_000, PD1_IN, PD1_OUT),
4858c2ecf20Sopenharmony_ci	PINMUX_DATA(D17_MARK, PD1MD_001),
4868c2ecf20Sopenharmony_ci	PINMUX_DATA(IRQ1_PD_MARK, PD1MD_010),
4878c2ecf20Sopenharmony_ci	PINMUX_DATA(SSI0_PD_MARK, PD1MD_011),
4888c2ecf20Sopenharmony_ci	PINMUX_DATA(DACK2_MARK, PD1MD_100),
4898c2ecf20Sopenharmony_ci	PINMUX_DATA(TIOC0B_MARK, PD1MD_101),
4908c2ecf20Sopenharmony_ci
4918c2ecf20Sopenharmony_ci	PINMUX_DATA(PD0_DATA, PD0MD_000, PD0_IN, PD0_OUT),
4928c2ecf20Sopenharmony_ci	PINMUX_DATA(D16_MARK, PD0MD_001),
4938c2ecf20Sopenharmony_ci	PINMUX_DATA(IRQ0_PD_MARK, PD0MD_010),
4948c2ecf20Sopenharmony_ci	PINMUX_DATA(SSCK0_PD_MARK, PD0MD_011),
4958c2ecf20Sopenharmony_ci	PINMUX_DATA(DREQ2_MARK, PD0MD_100),
4968c2ecf20Sopenharmony_ci	PINMUX_DATA(TIOC0A_MARK, PD0MD_101),
4978c2ecf20Sopenharmony_ci
4988c2ecf20Sopenharmony_ci	/* PE */
4998c2ecf20Sopenharmony_ci	PINMUX_DATA(PE15_DATA, PE15MD_00, PE15_IN, PE15_OUT),
5008c2ecf20Sopenharmony_ci	PINMUX_DATA(IOIS16_MARK, PE15MD_01),
5018c2ecf20Sopenharmony_ci	PINMUX_DATA(RTS3_MARK, PE15MD_11),
5028c2ecf20Sopenharmony_ci
5038c2ecf20Sopenharmony_ci	PINMUX_DATA(PE14_DATA, PE14MD_00, PE14_IN, PE14_OUT),
5048c2ecf20Sopenharmony_ci	PINMUX_DATA(CS1_MARK, PE14MD_01),
5058c2ecf20Sopenharmony_ci	PINMUX_DATA(CTS3_MARK, PE14MD_11),
5068c2ecf20Sopenharmony_ci
5078c2ecf20Sopenharmony_ci	PINMUX_DATA(PE13_DATA, PE13MD_00, PE13_IN, PE13_OUT),
5088c2ecf20Sopenharmony_ci	PINMUX_DATA(TXD3_MARK, PE13MD_11),
5098c2ecf20Sopenharmony_ci
5108c2ecf20Sopenharmony_ci	PINMUX_DATA(PE12_DATA, PE12MD_00, PE12_IN, PE12_OUT),
5118c2ecf20Sopenharmony_ci	PINMUX_DATA(RXD3_MARK, PE12MD_11),
5128c2ecf20Sopenharmony_ci
5138c2ecf20Sopenharmony_ci	PINMUX_DATA(PE11_DATA, PE11MD_000, PE11_IN, PE11_OUT),
5148c2ecf20Sopenharmony_ci	PINMUX_DATA(CS6_CE1B_MARK, PE11MD_001),
5158c2ecf20Sopenharmony_ci	PINMUX_DATA(IRQ7_PE_MARK, PE11MD_010),
5168c2ecf20Sopenharmony_ci	PINMUX_DATA(TEND1_PE_MARK, PE11MD_100),
5178c2ecf20Sopenharmony_ci
5188c2ecf20Sopenharmony_ci	PINMUX_DATA(PE10_DATA, PE10MD_000, PE10_IN, PE10_OUT),
5198c2ecf20Sopenharmony_ci	PINMUX_DATA(CE2B_MARK, PE10MD_001),
5208c2ecf20Sopenharmony_ci	PINMUX_DATA(IRQ6_PE_MARK, PE10MD_010),
5218c2ecf20Sopenharmony_ci	PINMUX_DATA(TEND0_PE_MARK, PE10MD_100),
5228c2ecf20Sopenharmony_ci
5238c2ecf20Sopenharmony_ci	PINMUX_DATA(PE9_DATA, PE9MD_00, PE9_IN, PE9_OUT),
5248c2ecf20Sopenharmony_ci	PINMUX_DATA(CS5_CE1A_MARK, PE9MD_01),
5258c2ecf20Sopenharmony_ci	PINMUX_DATA(IRQ5_PE_MARK, PE9MD_10),
5268c2ecf20Sopenharmony_ci	PINMUX_DATA(SCK3_MARK, PE9MD_11),
5278c2ecf20Sopenharmony_ci
5288c2ecf20Sopenharmony_ci	PINMUX_DATA(PE8_DATA, PE8MD_00, PE8_IN, PE8_OUT),
5298c2ecf20Sopenharmony_ci	PINMUX_DATA(CE2A_MARK, PE8MD_01),
5308c2ecf20Sopenharmony_ci	PINMUX_DATA(IRQ4_PE_MARK, PE8MD_10),
5318c2ecf20Sopenharmony_ci	PINMUX_DATA(SCK2_MARK, PE8MD_11),
5328c2ecf20Sopenharmony_ci
5338c2ecf20Sopenharmony_ci	PINMUX_DATA(PE7_DATA, PE7MD_000, PE7_IN, PE7_OUT),
5348c2ecf20Sopenharmony_ci	PINMUX_DATA(FRAME_MARK, PE7MD_001),
5358c2ecf20Sopenharmony_ci	PINMUX_DATA(IRQ3_PE_MARK, PE7MD_010),
5368c2ecf20Sopenharmony_ci	PINMUX_DATA(TXD2_MARK, PE7MD_011),
5378c2ecf20Sopenharmony_ci	PINMUX_DATA(DACK1_PE_MARK, PE7MD_100),
5388c2ecf20Sopenharmony_ci
5398c2ecf20Sopenharmony_ci	PINMUX_DATA(PE6_DATA, PE6MD_000, PE6_IN, PE6_OUT),
5408c2ecf20Sopenharmony_ci	PINMUX_DATA(A25_MARK, PE6MD_001),
5418c2ecf20Sopenharmony_ci	PINMUX_DATA(IRQ2_PE_MARK, PE6MD_010),
5428c2ecf20Sopenharmony_ci	PINMUX_DATA(RXD2_MARK, PE6MD_011),
5438c2ecf20Sopenharmony_ci	PINMUX_DATA(DREQ1_PE_MARK, PE6MD_100),
5448c2ecf20Sopenharmony_ci
5458c2ecf20Sopenharmony_ci	PINMUX_DATA(PE5_DATA, PE5MD_000, PE5_IN, PE5_OUT),
5468c2ecf20Sopenharmony_ci	PINMUX_DATA(A24_MARK, PE5MD_001),
5478c2ecf20Sopenharmony_ci	PINMUX_DATA(IRQ1_PE_MARK, PE5MD_010),
5488c2ecf20Sopenharmony_ci	PINMUX_DATA(TXD1_MARK, PE5MD_011),
5498c2ecf20Sopenharmony_ci	PINMUX_DATA(DACK0_PE_MARK, PE5MD_100),
5508c2ecf20Sopenharmony_ci
5518c2ecf20Sopenharmony_ci	PINMUX_DATA(PE4_DATA, PE4MD_000, PE4_IN, PE4_OUT),
5528c2ecf20Sopenharmony_ci	PINMUX_DATA(A23_MARK, PE4MD_001),
5538c2ecf20Sopenharmony_ci	PINMUX_DATA(IRQ0_PE_MARK, PE4MD_010),
5548c2ecf20Sopenharmony_ci	PINMUX_DATA(RXD1_MARK, PE4MD_011),
5558c2ecf20Sopenharmony_ci	PINMUX_DATA(DREQ0_PE_MARK, PE4MD_100),
5568c2ecf20Sopenharmony_ci
5578c2ecf20Sopenharmony_ci	PINMUX_DATA(PE3_DATA, PE3MD_00, PE3_IN, PE3_OUT),
5588c2ecf20Sopenharmony_ci	PINMUX_DATA(A22_MARK, PE3MD_01),
5598c2ecf20Sopenharmony_ci	PINMUX_DATA(SCK1_MARK, PE3MD_11),
5608c2ecf20Sopenharmony_ci
5618c2ecf20Sopenharmony_ci	PINMUX_DATA(PE2_DATA, PE2MD_00, PE2_IN, PE2_OUT),
5628c2ecf20Sopenharmony_ci	PINMUX_DATA(A21_MARK, PE2MD_01),
5638c2ecf20Sopenharmony_ci	PINMUX_DATA(SCK0_MARK, PE2MD_11),
5648c2ecf20Sopenharmony_ci
5658c2ecf20Sopenharmony_ci	PINMUX_DATA(PE1_DATA, PE1MD_00, PE1_IN, PE1_OUT),
5668c2ecf20Sopenharmony_ci	PINMUX_DATA(CS4_MARK, PE1MD_01),
5678c2ecf20Sopenharmony_ci	PINMUX_DATA(MRES_MARK, PE1MD_10),
5688c2ecf20Sopenharmony_ci	PINMUX_DATA(TXD0_MARK, PE1MD_11),
5698c2ecf20Sopenharmony_ci
5708c2ecf20Sopenharmony_ci	PINMUX_DATA(PE0_DATA, PE0MD_000, PE0_IN, PE0_OUT),
5718c2ecf20Sopenharmony_ci	PINMUX_DATA(BS_MARK, PE0MD_001),
5728c2ecf20Sopenharmony_ci	PINMUX_DATA(RXD0_MARK, PE0MD_011),
5738c2ecf20Sopenharmony_ci	PINMUX_DATA(ADTRG_PE_MARK, PE0MD_100),
5748c2ecf20Sopenharmony_ci
5758c2ecf20Sopenharmony_ci	/* PF */
5768c2ecf20Sopenharmony_ci	PINMUX_DATA(PF30_DATA, PF30MD_0, PF30_IN, PF30_OUT),
5778c2ecf20Sopenharmony_ci	PINMUX_DATA(AUDIO_CLK_MARK, PF30MD_1),
5788c2ecf20Sopenharmony_ci
5798c2ecf20Sopenharmony_ci	PINMUX_DATA(PF29_DATA, PF29MD_0, PF29_IN, PF29_OUT),
5808c2ecf20Sopenharmony_ci	PINMUX_DATA(SSIDATA3_MARK, PF29MD_1),
5818c2ecf20Sopenharmony_ci
5828c2ecf20Sopenharmony_ci	PINMUX_DATA(PF28_DATA, PF28MD_0, PF28_IN, PF28_OUT),
5838c2ecf20Sopenharmony_ci	PINMUX_DATA(SSIWS3_MARK, PF28MD_1),
5848c2ecf20Sopenharmony_ci
5858c2ecf20Sopenharmony_ci	PINMUX_DATA(PF27_DATA, PF27MD_0, PF27_IN, PF27_OUT),
5868c2ecf20Sopenharmony_ci	PINMUX_DATA(SSISCK3_MARK, PF27MD_1),
5878c2ecf20Sopenharmony_ci
5888c2ecf20Sopenharmony_ci	PINMUX_DATA(PF26_DATA, PF26MD_0, PF26_IN, PF26_OUT),
5898c2ecf20Sopenharmony_ci	PINMUX_DATA(SSIDATA2_MARK, PF26MD_1),
5908c2ecf20Sopenharmony_ci
5918c2ecf20Sopenharmony_ci	PINMUX_DATA(PF25_DATA, PF25MD_0, PF25_IN, PF25_OUT),
5928c2ecf20Sopenharmony_ci	PINMUX_DATA(SSIWS2_MARK, PF25MD_1),
5938c2ecf20Sopenharmony_ci
5948c2ecf20Sopenharmony_ci	PINMUX_DATA(PF24_DATA, PF24MD_0, PF24_IN, PF24_OUT),
5958c2ecf20Sopenharmony_ci	PINMUX_DATA(SSISCK2_MARK, PF24MD_1),
5968c2ecf20Sopenharmony_ci
5978c2ecf20Sopenharmony_ci	PINMUX_DATA(PF23_DATA, PF23MD_00, PF23_IN, PF23_OUT),
5988c2ecf20Sopenharmony_ci	PINMUX_DATA(SSIDATA1_MARK, PF23MD_01),
5998c2ecf20Sopenharmony_ci	PINMUX_DATA(LCD_VEPWC_MARK, PF23MD_10),
6008c2ecf20Sopenharmony_ci
6018c2ecf20Sopenharmony_ci	PINMUX_DATA(PF22_DATA, PF22MD_00, PF22_IN, PF22_OUT),
6028c2ecf20Sopenharmony_ci	PINMUX_DATA(SSIWS1_MARK, PF22MD_01),
6038c2ecf20Sopenharmony_ci	PINMUX_DATA(LCD_VCPWC_MARK, PF22MD_10),
6048c2ecf20Sopenharmony_ci
6058c2ecf20Sopenharmony_ci	PINMUX_DATA(PF21_DATA, PF21MD_00, PF21_IN, PF21_OUT),
6068c2ecf20Sopenharmony_ci	PINMUX_DATA(SSISCK1_MARK, PF21MD_01),
6078c2ecf20Sopenharmony_ci	PINMUX_DATA(LCD_CLK_MARK, PF21MD_10),
6088c2ecf20Sopenharmony_ci
6098c2ecf20Sopenharmony_ci	PINMUX_DATA(PF20_DATA, PF20MD_00, PF20_IN, PF20_OUT),
6108c2ecf20Sopenharmony_ci	PINMUX_DATA(SSIDATA0_MARK, PF20MD_01),
6118c2ecf20Sopenharmony_ci	PINMUX_DATA(LCD_FLM_MARK, PF20MD_10),
6128c2ecf20Sopenharmony_ci
6138c2ecf20Sopenharmony_ci	PINMUX_DATA(PF19_DATA, PF19MD_00, PF19_IN, PF19_OUT),
6148c2ecf20Sopenharmony_ci	PINMUX_DATA(SSIWS0_MARK, PF19MD_01),
6158c2ecf20Sopenharmony_ci	PINMUX_DATA(LCD_M_DISP_MARK, PF19MD_10),
6168c2ecf20Sopenharmony_ci
6178c2ecf20Sopenharmony_ci	PINMUX_DATA(PF18_DATA, PF18MD_00, PF18_IN, PF18_OUT),
6188c2ecf20Sopenharmony_ci	PINMUX_DATA(SSISCK0_MARK, PF18MD_01),
6198c2ecf20Sopenharmony_ci	PINMUX_DATA(LCD_CL2_MARK, PF18MD_10),
6208c2ecf20Sopenharmony_ci
6218c2ecf20Sopenharmony_ci	PINMUX_DATA(PF17_DATA, PF17MD_00, PF17_IN, PF17_OUT),
6228c2ecf20Sopenharmony_ci	PINMUX_DATA(FCE_MARK, PF17MD_01),
6238c2ecf20Sopenharmony_ci	PINMUX_DATA(LCD_CL1_MARK, PF17MD_10),
6248c2ecf20Sopenharmony_ci
6258c2ecf20Sopenharmony_ci	PINMUX_DATA(PF16_DATA, PF16MD_00, PF16_IN, PF16_OUT),
6268c2ecf20Sopenharmony_ci	PINMUX_DATA(FRB_MARK, PF16MD_01),
6278c2ecf20Sopenharmony_ci	PINMUX_DATA(LCD_DON_MARK, PF16MD_10),
6288c2ecf20Sopenharmony_ci
6298c2ecf20Sopenharmony_ci	PINMUX_DATA(PF15_DATA, PF15MD_00, PF15_IN, PF15_OUT),
6308c2ecf20Sopenharmony_ci	PINMUX_DATA(NAF7_MARK, PF15MD_01),
6318c2ecf20Sopenharmony_ci	PINMUX_DATA(LCD_DATA15_MARK, PF15MD_10),
6328c2ecf20Sopenharmony_ci
6338c2ecf20Sopenharmony_ci	PINMUX_DATA(PF14_DATA, PF14MD_00, PF14_IN, PF14_OUT),
6348c2ecf20Sopenharmony_ci	PINMUX_DATA(NAF6_MARK, PF14MD_01),
6358c2ecf20Sopenharmony_ci	PINMUX_DATA(LCD_DATA14_MARK, PF14MD_10),
6368c2ecf20Sopenharmony_ci
6378c2ecf20Sopenharmony_ci	PINMUX_DATA(PF13_DATA, PF13MD_00, PF13_IN, PF13_OUT),
6388c2ecf20Sopenharmony_ci	PINMUX_DATA(NAF5_MARK, PF13MD_01),
6398c2ecf20Sopenharmony_ci	PINMUX_DATA(LCD_DATA13_MARK, PF13MD_10),
6408c2ecf20Sopenharmony_ci
6418c2ecf20Sopenharmony_ci	PINMUX_DATA(PF12_DATA, PF12MD_00, PF12_IN, PF12_OUT),
6428c2ecf20Sopenharmony_ci	PINMUX_DATA(NAF4_MARK, PF12MD_01),
6438c2ecf20Sopenharmony_ci	PINMUX_DATA(LCD_DATA12_MARK, PF12MD_10),
6448c2ecf20Sopenharmony_ci
6458c2ecf20Sopenharmony_ci	PINMUX_DATA(PF11_DATA, PF11MD_00, PF11_IN, PF11_OUT),
6468c2ecf20Sopenharmony_ci	PINMUX_DATA(NAF3_MARK, PF11MD_01),
6478c2ecf20Sopenharmony_ci	PINMUX_DATA(LCD_DATA11_MARK, PF11MD_10),
6488c2ecf20Sopenharmony_ci
6498c2ecf20Sopenharmony_ci	PINMUX_DATA(PF10_DATA, PF10MD_00, PF10_IN, PF10_OUT),
6508c2ecf20Sopenharmony_ci	PINMUX_DATA(NAF2_MARK, PF10MD_01),
6518c2ecf20Sopenharmony_ci	PINMUX_DATA(LCD_DATA10_MARK, PF10MD_10),
6528c2ecf20Sopenharmony_ci
6538c2ecf20Sopenharmony_ci	PINMUX_DATA(PF9_DATA, PF9MD_00, PF9_IN, PF9_OUT),
6548c2ecf20Sopenharmony_ci	PINMUX_DATA(NAF1_MARK, PF9MD_01),
6558c2ecf20Sopenharmony_ci	PINMUX_DATA(LCD_DATA9_MARK, PF9MD_10),
6568c2ecf20Sopenharmony_ci
6578c2ecf20Sopenharmony_ci	PINMUX_DATA(PF8_DATA, PF8MD_00, PF8_IN, PF8_OUT),
6588c2ecf20Sopenharmony_ci	PINMUX_DATA(NAF0_MARK, PF8MD_01),
6598c2ecf20Sopenharmony_ci	PINMUX_DATA(LCD_DATA8_MARK, PF8MD_10),
6608c2ecf20Sopenharmony_ci
6618c2ecf20Sopenharmony_ci	PINMUX_DATA(PF7_DATA, PF7MD_00, PF7_IN, PF7_OUT),
6628c2ecf20Sopenharmony_ci	PINMUX_DATA(FSC_MARK, PF7MD_01),
6638c2ecf20Sopenharmony_ci	PINMUX_DATA(LCD_DATA7_MARK, PF7MD_10),
6648c2ecf20Sopenharmony_ci	PINMUX_DATA(SCS1_PF_MARK, PF7MD_11),
6658c2ecf20Sopenharmony_ci
6668c2ecf20Sopenharmony_ci	PINMUX_DATA(PF6_DATA, PF6MD_00, PF6_IN, PF6_OUT),
6678c2ecf20Sopenharmony_ci	PINMUX_DATA(FOE_MARK, PF6MD_01),
6688c2ecf20Sopenharmony_ci	PINMUX_DATA(LCD_DATA6_MARK, PF6MD_10),
6698c2ecf20Sopenharmony_ci	PINMUX_DATA(SSO1_PF_MARK, PF6MD_11),
6708c2ecf20Sopenharmony_ci
6718c2ecf20Sopenharmony_ci	PINMUX_DATA(PF5_DATA, PF5MD_00, PF5_IN, PF5_OUT),
6728c2ecf20Sopenharmony_ci	PINMUX_DATA(FCDE_MARK, PF5MD_01),
6738c2ecf20Sopenharmony_ci	PINMUX_DATA(LCD_DATA5_MARK, PF5MD_10),
6748c2ecf20Sopenharmony_ci	PINMUX_DATA(SSI1_PF_MARK, PF5MD_11),
6758c2ecf20Sopenharmony_ci
6768c2ecf20Sopenharmony_ci	PINMUX_DATA(PF4_DATA, PF4MD_00, PF4_IN, PF4_OUT),
6778c2ecf20Sopenharmony_ci	PINMUX_DATA(FWE_MARK, PF4MD_01),
6788c2ecf20Sopenharmony_ci	PINMUX_DATA(LCD_DATA4_MARK, PF4MD_10),
6798c2ecf20Sopenharmony_ci	PINMUX_DATA(SSCK1_PF_MARK, PF4MD_11),
6808c2ecf20Sopenharmony_ci
6818c2ecf20Sopenharmony_ci	PINMUX_DATA(PF3_DATA, PF3MD_00, PF3_IN, PF3_OUT),
6828c2ecf20Sopenharmony_ci	PINMUX_DATA(TCLKD_PF_MARK, PF3MD_01),
6838c2ecf20Sopenharmony_ci	PINMUX_DATA(LCD_DATA3_MARK, PF3MD_10),
6848c2ecf20Sopenharmony_ci	PINMUX_DATA(SCS0_PF_MARK, PF3MD_11),
6858c2ecf20Sopenharmony_ci
6868c2ecf20Sopenharmony_ci	PINMUX_DATA(PF2_DATA, PF2MD_00, PF2_IN, PF2_OUT),
6878c2ecf20Sopenharmony_ci	PINMUX_DATA(TCLKC_PF_MARK, PF2MD_01),
6888c2ecf20Sopenharmony_ci	PINMUX_DATA(LCD_DATA2_MARK, PF2MD_10),
6898c2ecf20Sopenharmony_ci	PINMUX_DATA(SSO0_PF_MARK, PF2MD_11),
6908c2ecf20Sopenharmony_ci
6918c2ecf20Sopenharmony_ci	PINMUX_DATA(PF1_DATA, PF1MD_00, PF1_IN, PF1_OUT),
6928c2ecf20Sopenharmony_ci	PINMUX_DATA(TCLKB_PF_MARK, PF1MD_01),
6938c2ecf20Sopenharmony_ci	PINMUX_DATA(LCD_DATA1_MARK, PF1MD_10),
6948c2ecf20Sopenharmony_ci	PINMUX_DATA(SSI0_PF_MARK, PF1MD_11),
6958c2ecf20Sopenharmony_ci
6968c2ecf20Sopenharmony_ci	PINMUX_DATA(PF0_DATA, PF0MD_00, PF0_IN, PF0_OUT),
6978c2ecf20Sopenharmony_ci	PINMUX_DATA(TCLKA_PF_MARK, PF0MD_01),
6988c2ecf20Sopenharmony_ci	PINMUX_DATA(LCD_DATA0_MARK, PF0MD_10),
6998c2ecf20Sopenharmony_ci	PINMUX_DATA(SSCK0_PF_MARK, PF0MD_11),
7008c2ecf20Sopenharmony_ci};
7018c2ecf20Sopenharmony_ci
7028c2ecf20Sopenharmony_cistatic const struct sh_pfc_pin pinmux_pins[] = {
7038c2ecf20Sopenharmony_ci	/* PA */
7048c2ecf20Sopenharmony_ci	PINMUX_GPIO(PA7),
7058c2ecf20Sopenharmony_ci	PINMUX_GPIO(PA6),
7068c2ecf20Sopenharmony_ci	PINMUX_GPIO(PA5),
7078c2ecf20Sopenharmony_ci	PINMUX_GPIO(PA4),
7088c2ecf20Sopenharmony_ci	PINMUX_GPIO(PA3),
7098c2ecf20Sopenharmony_ci	PINMUX_GPIO(PA2),
7108c2ecf20Sopenharmony_ci	PINMUX_GPIO(PA1),
7118c2ecf20Sopenharmony_ci	PINMUX_GPIO(PA0),
7128c2ecf20Sopenharmony_ci
7138c2ecf20Sopenharmony_ci	/* PB */
7148c2ecf20Sopenharmony_ci	PINMUX_GPIO(PB12),
7158c2ecf20Sopenharmony_ci	PINMUX_GPIO(PB11),
7168c2ecf20Sopenharmony_ci	PINMUX_GPIO(PB10),
7178c2ecf20Sopenharmony_ci	PINMUX_GPIO(PB9),
7188c2ecf20Sopenharmony_ci	PINMUX_GPIO(PB8),
7198c2ecf20Sopenharmony_ci	PINMUX_GPIO(PB7),
7208c2ecf20Sopenharmony_ci	PINMUX_GPIO(PB6),
7218c2ecf20Sopenharmony_ci	PINMUX_GPIO(PB5),
7228c2ecf20Sopenharmony_ci	PINMUX_GPIO(PB4),
7238c2ecf20Sopenharmony_ci	PINMUX_GPIO(PB3),
7248c2ecf20Sopenharmony_ci	PINMUX_GPIO(PB2),
7258c2ecf20Sopenharmony_ci	PINMUX_GPIO(PB1),
7268c2ecf20Sopenharmony_ci	PINMUX_GPIO(PB0),
7278c2ecf20Sopenharmony_ci
7288c2ecf20Sopenharmony_ci	/* PC */
7298c2ecf20Sopenharmony_ci	PINMUX_GPIO(PC14),
7308c2ecf20Sopenharmony_ci	PINMUX_GPIO(PC13),
7318c2ecf20Sopenharmony_ci	PINMUX_GPIO(PC12),
7328c2ecf20Sopenharmony_ci	PINMUX_GPIO(PC11),
7338c2ecf20Sopenharmony_ci	PINMUX_GPIO(PC10),
7348c2ecf20Sopenharmony_ci	PINMUX_GPIO(PC9),
7358c2ecf20Sopenharmony_ci	PINMUX_GPIO(PC8),
7368c2ecf20Sopenharmony_ci	PINMUX_GPIO(PC7),
7378c2ecf20Sopenharmony_ci	PINMUX_GPIO(PC6),
7388c2ecf20Sopenharmony_ci	PINMUX_GPIO(PC5),
7398c2ecf20Sopenharmony_ci	PINMUX_GPIO(PC4),
7408c2ecf20Sopenharmony_ci	PINMUX_GPIO(PC3),
7418c2ecf20Sopenharmony_ci	PINMUX_GPIO(PC2),
7428c2ecf20Sopenharmony_ci	PINMUX_GPIO(PC1),
7438c2ecf20Sopenharmony_ci	PINMUX_GPIO(PC0),
7448c2ecf20Sopenharmony_ci
7458c2ecf20Sopenharmony_ci	/* PD */
7468c2ecf20Sopenharmony_ci	PINMUX_GPIO(PD15),
7478c2ecf20Sopenharmony_ci	PINMUX_GPIO(PD14),
7488c2ecf20Sopenharmony_ci	PINMUX_GPIO(PD13),
7498c2ecf20Sopenharmony_ci	PINMUX_GPIO(PD12),
7508c2ecf20Sopenharmony_ci	PINMUX_GPIO(PD11),
7518c2ecf20Sopenharmony_ci	PINMUX_GPIO(PD10),
7528c2ecf20Sopenharmony_ci	PINMUX_GPIO(PD9),
7538c2ecf20Sopenharmony_ci	PINMUX_GPIO(PD8),
7548c2ecf20Sopenharmony_ci	PINMUX_GPIO(PD7),
7558c2ecf20Sopenharmony_ci	PINMUX_GPIO(PD6),
7568c2ecf20Sopenharmony_ci	PINMUX_GPIO(PD5),
7578c2ecf20Sopenharmony_ci	PINMUX_GPIO(PD4),
7588c2ecf20Sopenharmony_ci	PINMUX_GPIO(PD3),
7598c2ecf20Sopenharmony_ci	PINMUX_GPIO(PD2),
7608c2ecf20Sopenharmony_ci	PINMUX_GPIO(PD1),
7618c2ecf20Sopenharmony_ci	PINMUX_GPIO(PD0),
7628c2ecf20Sopenharmony_ci
7638c2ecf20Sopenharmony_ci	/* PE */
7648c2ecf20Sopenharmony_ci	PINMUX_GPIO(PE15),
7658c2ecf20Sopenharmony_ci	PINMUX_GPIO(PE14),
7668c2ecf20Sopenharmony_ci	PINMUX_GPIO(PE13),
7678c2ecf20Sopenharmony_ci	PINMUX_GPIO(PE12),
7688c2ecf20Sopenharmony_ci	PINMUX_GPIO(PE11),
7698c2ecf20Sopenharmony_ci	PINMUX_GPIO(PE10),
7708c2ecf20Sopenharmony_ci	PINMUX_GPIO(PE9),
7718c2ecf20Sopenharmony_ci	PINMUX_GPIO(PE8),
7728c2ecf20Sopenharmony_ci	PINMUX_GPIO(PE7),
7738c2ecf20Sopenharmony_ci	PINMUX_GPIO(PE6),
7748c2ecf20Sopenharmony_ci	PINMUX_GPIO(PE5),
7758c2ecf20Sopenharmony_ci	PINMUX_GPIO(PE4),
7768c2ecf20Sopenharmony_ci	PINMUX_GPIO(PE3),
7778c2ecf20Sopenharmony_ci	PINMUX_GPIO(PE2),
7788c2ecf20Sopenharmony_ci	PINMUX_GPIO(PE1),
7798c2ecf20Sopenharmony_ci	PINMUX_GPIO(PE0),
7808c2ecf20Sopenharmony_ci
7818c2ecf20Sopenharmony_ci	/* PF */
7828c2ecf20Sopenharmony_ci	PINMUX_GPIO(PF30),
7838c2ecf20Sopenharmony_ci	PINMUX_GPIO(PF29),
7848c2ecf20Sopenharmony_ci	PINMUX_GPIO(PF28),
7858c2ecf20Sopenharmony_ci	PINMUX_GPIO(PF27),
7868c2ecf20Sopenharmony_ci	PINMUX_GPIO(PF26),
7878c2ecf20Sopenharmony_ci	PINMUX_GPIO(PF25),
7888c2ecf20Sopenharmony_ci	PINMUX_GPIO(PF24),
7898c2ecf20Sopenharmony_ci	PINMUX_GPIO(PF23),
7908c2ecf20Sopenharmony_ci	PINMUX_GPIO(PF22),
7918c2ecf20Sopenharmony_ci	PINMUX_GPIO(PF21),
7928c2ecf20Sopenharmony_ci	PINMUX_GPIO(PF20),
7938c2ecf20Sopenharmony_ci	PINMUX_GPIO(PF19),
7948c2ecf20Sopenharmony_ci	PINMUX_GPIO(PF18),
7958c2ecf20Sopenharmony_ci	PINMUX_GPIO(PF17),
7968c2ecf20Sopenharmony_ci	PINMUX_GPIO(PF16),
7978c2ecf20Sopenharmony_ci	PINMUX_GPIO(PF15),
7988c2ecf20Sopenharmony_ci	PINMUX_GPIO(PF14),
7998c2ecf20Sopenharmony_ci	PINMUX_GPIO(PF13),
8008c2ecf20Sopenharmony_ci	PINMUX_GPIO(PF12),
8018c2ecf20Sopenharmony_ci	PINMUX_GPIO(PF11),
8028c2ecf20Sopenharmony_ci	PINMUX_GPIO(PF10),
8038c2ecf20Sopenharmony_ci	PINMUX_GPIO(PF9),
8048c2ecf20Sopenharmony_ci	PINMUX_GPIO(PF8),
8058c2ecf20Sopenharmony_ci	PINMUX_GPIO(PF7),
8068c2ecf20Sopenharmony_ci	PINMUX_GPIO(PF6),
8078c2ecf20Sopenharmony_ci	PINMUX_GPIO(PF5),
8088c2ecf20Sopenharmony_ci	PINMUX_GPIO(PF4),
8098c2ecf20Sopenharmony_ci	PINMUX_GPIO(PF3),
8108c2ecf20Sopenharmony_ci	PINMUX_GPIO(PF2),
8118c2ecf20Sopenharmony_ci	PINMUX_GPIO(PF1),
8128c2ecf20Sopenharmony_ci	PINMUX_GPIO(PF0),
8138c2ecf20Sopenharmony_ci};
8148c2ecf20Sopenharmony_ci
8158c2ecf20Sopenharmony_ci#define PINMUX_FN_BASE	ARRAY_SIZE(pinmux_pins)
8168c2ecf20Sopenharmony_ci
8178c2ecf20Sopenharmony_cistatic const struct pinmux_func pinmux_func_gpios[] = {
8188c2ecf20Sopenharmony_ci	/* INTC */
8198c2ecf20Sopenharmony_ci	GPIO_FN(PINT7_PB),
8208c2ecf20Sopenharmony_ci	GPIO_FN(PINT6_PB),
8218c2ecf20Sopenharmony_ci	GPIO_FN(PINT5_PB),
8228c2ecf20Sopenharmony_ci	GPIO_FN(PINT4_PB),
8238c2ecf20Sopenharmony_ci	GPIO_FN(PINT3_PB),
8248c2ecf20Sopenharmony_ci	GPIO_FN(PINT2_PB),
8258c2ecf20Sopenharmony_ci	GPIO_FN(PINT1_PB),
8268c2ecf20Sopenharmony_ci	GPIO_FN(PINT0_PB),
8278c2ecf20Sopenharmony_ci	GPIO_FN(PINT7_PD),
8288c2ecf20Sopenharmony_ci	GPIO_FN(PINT6_PD),
8298c2ecf20Sopenharmony_ci	GPIO_FN(PINT5_PD),
8308c2ecf20Sopenharmony_ci	GPIO_FN(PINT4_PD),
8318c2ecf20Sopenharmony_ci	GPIO_FN(PINT3_PD),
8328c2ecf20Sopenharmony_ci	GPIO_FN(PINT2_PD),
8338c2ecf20Sopenharmony_ci	GPIO_FN(PINT1_PD),
8348c2ecf20Sopenharmony_ci	GPIO_FN(PINT0_PD),
8358c2ecf20Sopenharmony_ci	GPIO_FN(IRQ7_PB),
8368c2ecf20Sopenharmony_ci	GPIO_FN(IRQ6_PB),
8378c2ecf20Sopenharmony_ci	GPIO_FN(IRQ5_PB),
8388c2ecf20Sopenharmony_ci	GPIO_FN(IRQ4_PB),
8398c2ecf20Sopenharmony_ci	GPIO_FN(IRQ3_PB),
8408c2ecf20Sopenharmony_ci	GPIO_FN(IRQ2_PB),
8418c2ecf20Sopenharmony_ci	GPIO_FN(IRQ1_PB),
8428c2ecf20Sopenharmony_ci	GPIO_FN(IRQ0_PB),
8438c2ecf20Sopenharmony_ci	GPIO_FN(IRQ7_PD),
8448c2ecf20Sopenharmony_ci	GPIO_FN(IRQ6_PD),
8458c2ecf20Sopenharmony_ci	GPIO_FN(IRQ5_PD),
8468c2ecf20Sopenharmony_ci	GPIO_FN(IRQ4_PD),
8478c2ecf20Sopenharmony_ci	GPIO_FN(IRQ3_PD),
8488c2ecf20Sopenharmony_ci	GPIO_FN(IRQ2_PD),
8498c2ecf20Sopenharmony_ci	GPIO_FN(IRQ1_PD),
8508c2ecf20Sopenharmony_ci	GPIO_FN(IRQ0_PD),
8518c2ecf20Sopenharmony_ci	GPIO_FN(IRQ7_PE),
8528c2ecf20Sopenharmony_ci	GPIO_FN(IRQ6_PE),
8538c2ecf20Sopenharmony_ci	GPIO_FN(IRQ5_PE),
8548c2ecf20Sopenharmony_ci	GPIO_FN(IRQ4_PE),
8558c2ecf20Sopenharmony_ci	GPIO_FN(IRQ3_PE),
8568c2ecf20Sopenharmony_ci	GPIO_FN(IRQ2_PE),
8578c2ecf20Sopenharmony_ci	GPIO_FN(IRQ1_PE),
8588c2ecf20Sopenharmony_ci	GPIO_FN(IRQ0_PE),
8598c2ecf20Sopenharmony_ci
8608c2ecf20Sopenharmony_ci	GPIO_FN(WDTOVF),
8618c2ecf20Sopenharmony_ci	GPIO_FN(IRQOUT),
8628c2ecf20Sopenharmony_ci	GPIO_FN(REFOUT),
8638c2ecf20Sopenharmony_ci	GPIO_FN(IRQOUT_REFOUT),
8648c2ecf20Sopenharmony_ci	GPIO_FN(UBCTRG),
8658c2ecf20Sopenharmony_ci
8668c2ecf20Sopenharmony_ci	/* CAN */
8678c2ecf20Sopenharmony_ci	GPIO_FN(CTX1),
8688c2ecf20Sopenharmony_ci	GPIO_FN(CRX1),
8698c2ecf20Sopenharmony_ci	GPIO_FN(CTX0),
8708c2ecf20Sopenharmony_ci	GPIO_FN(CTX0_CTX1),
8718c2ecf20Sopenharmony_ci	GPIO_FN(CRX0),
8728c2ecf20Sopenharmony_ci	GPIO_FN(CRX0_CRX1),
8738c2ecf20Sopenharmony_ci
8748c2ecf20Sopenharmony_ci	/* IIC3 */
8758c2ecf20Sopenharmony_ci	GPIO_FN(SDA3),
8768c2ecf20Sopenharmony_ci	GPIO_FN(SCL3),
8778c2ecf20Sopenharmony_ci	GPIO_FN(SDA2),
8788c2ecf20Sopenharmony_ci	GPIO_FN(SCL2),
8798c2ecf20Sopenharmony_ci	GPIO_FN(SDA1),
8808c2ecf20Sopenharmony_ci	GPIO_FN(SCL1),
8818c2ecf20Sopenharmony_ci	GPIO_FN(SDA0),
8828c2ecf20Sopenharmony_ci	GPIO_FN(SCL0),
8838c2ecf20Sopenharmony_ci
8848c2ecf20Sopenharmony_ci	/* DMAC */
8858c2ecf20Sopenharmony_ci	GPIO_FN(TEND0_PD),
8868c2ecf20Sopenharmony_ci	GPIO_FN(TEND0_PE),
8878c2ecf20Sopenharmony_ci	GPIO_FN(DACK0_PD),
8888c2ecf20Sopenharmony_ci	GPIO_FN(DACK0_PE),
8898c2ecf20Sopenharmony_ci	GPIO_FN(DREQ0_PD),
8908c2ecf20Sopenharmony_ci	GPIO_FN(DREQ0_PE),
8918c2ecf20Sopenharmony_ci	GPIO_FN(TEND1_PD),
8928c2ecf20Sopenharmony_ci	GPIO_FN(TEND1_PE),
8938c2ecf20Sopenharmony_ci	GPIO_FN(DACK1_PD),
8948c2ecf20Sopenharmony_ci	GPIO_FN(DACK1_PE),
8958c2ecf20Sopenharmony_ci	GPIO_FN(DREQ1_PD),
8968c2ecf20Sopenharmony_ci	GPIO_FN(DREQ1_PE),
8978c2ecf20Sopenharmony_ci	GPIO_FN(DACK2),
8988c2ecf20Sopenharmony_ci	GPIO_FN(DREQ2),
8998c2ecf20Sopenharmony_ci	GPIO_FN(DACK3),
9008c2ecf20Sopenharmony_ci	GPIO_FN(DREQ3),
9018c2ecf20Sopenharmony_ci
9028c2ecf20Sopenharmony_ci	/* ADC */
9038c2ecf20Sopenharmony_ci	GPIO_FN(ADTRG_PD),
9048c2ecf20Sopenharmony_ci	GPIO_FN(ADTRG_PE),
9058c2ecf20Sopenharmony_ci
9068c2ecf20Sopenharmony_ci	/* BSC */
9078c2ecf20Sopenharmony_ci	GPIO_FN(D31),
9088c2ecf20Sopenharmony_ci	GPIO_FN(D30),
9098c2ecf20Sopenharmony_ci	GPIO_FN(D29),
9108c2ecf20Sopenharmony_ci	GPIO_FN(D28),
9118c2ecf20Sopenharmony_ci	GPIO_FN(D27),
9128c2ecf20Sopenharmony_ci	GPIO_FN(D26),
9138c2ecf20Sopenharmony_ci	GPIO_FN(D25),
9148c2ecf20Sopenharmony_ci	GPIO_FN(D24),
9158c2ecf20Sopenharmony_ci	GPIO_FN(D23),
9168c2ecf20Sopenharmony_ci	GPIO_FN(D22),
9178c2ecf20Sopenharmony_ci	GPIO_FN(D21),
9188c2ecf20Sopenharmony_ci	GPIO_FN(D20),
9198c2ecf20Sopenharmony_ci	GPIO_FN(D19),
9208c2ecf20Sopenharmony_ci	GPIO_FN(D18),
9218c2ecf20Sopenharmony_ci	GPIO_FN(D17),
9228c2ecf20Sopenharmony_ci	GPIO_FN(D16),
9238c2ecf20Sopenharmony_ci	GPIO_FN(A25),
9248c2ecf20Sopenharmony_ci	GPIO_FN(A24),
9258c2ecf20Sopenharmony_ci	GPIO_FN(A23),
9268c2ecf20Sopenharmony_ci	GPIO_FN(A22),
9278c2ecf20Sopenharmony_ci	GPIO_FN(A21),
9288c2ecf20Sopenharmony_ci	GPIO_FN(CS4),
9298c2ecf20Sopenharmony_ci	GPIO_FN(MRES),
9308c2ecf20Sopenharmony_ci	GPIO_FN(BS),
9318c2ecf20Sopenharmony_ci	GPIO_FN(IOIS16),
9328c2ecf20Sopenharmony_ci	GPIO_FN(CS1),
9338c2ecf20Sopenharmony_ci	GPIO_FN(CS6_CE1B),
9348c2ecf20Sopenharmony_ci	GPIO_FN(CE2B),
9358c2ecf20Sopenharmony_ci	GPIO_FN(CS5_CE1A),
9368c2ecf20Sopenharmony_ci	GPIO_FN(CE2A),
9378c2ecf20Sopenharmony_ci	GPIO_FN(FRAME),
9388c2ecf20Sopenharmony_ci	GPIO_FN(WAIT),
9398c2ecf20Sopenharmony_ci	GPIO_FN(RDWR),
9408c2ecf20Sopenharmony_ci	GPIO_FN(CKE),
9418c2ecf20Sopenharmony_ci	GPIO_FN(CASU),
9428c2ecf20Sopenharmony_ci	GPIO_FN(BREQ),
9438c2ecf20Sopenharmony_ci	GPIO_FN(RASU),
9448c2ecf20Sopenharmony_ci	GPIO_FN(BACK),
9458c2ecf20Sopenharmony_ci	GPIO_FN(CASL),
9468c2ecf20Sopenharmony_ci	GPIO_FN(RASL),
9478c2ecf20Sopenharmony_ci	GPIO_FN(WE3_DQMUU_AH_ICIO_WR),
9488c2ecf20Sopenharmony_ci	GPIO_FN(WE2_DQMUL_ICIORD),
9498c2ecf20Sopenharmony_ci	GPIO_FN(WE1_DQMLU_WE),
9508c2ecf20Sopenharmony_ci	GPIO_FN(WE0_DQMLL),
9518c2ecf20Sopenharmony_ci	GPIO_FN(CS3),
9528c2ecf20Sopenharmony_ci	GPIO_FN(CS2),
9538c2ecf20Sopenharmony_ci	GPIO_FN(A1),
9548c2ecf20Sopenharmony_ci	GPIO_FN(A0),
9558c2ecf20Sopenharmony_ci	GPIO_FN(CS7),
9568c2ecf20Sopenharmony_ci
9578c2ecf20Sopenharmony_ci	/* TMU */
9588c2ecf20Sopenharmony_ci	GPIO_FN(TIOC4D),
9598c2ecf20Sopenharmony_ci	GPIO_FN(TIOC4C),
9608c2ecf20Sopenharmony_ci	GPIO_FN(TIOC4B),
9618c2ecf20Sopenharmony_ci	GPIO_FN(TIOC4A),
9628c2ecf20Sopenharmony_ci	GPIO_FN(TIOC3D),
9638c2ecf20Sopenharmony_ci	GPIO_FN(TIOC3C),
9648c2ecf20Sopenharmony_ci	GPIO_FN(TIOC3B),
9658c2ecf20Sopenharmony_ci	GPIO_FN(TIOC3A),
9668c2ecf20Sopenharmony_ci	GPIO_FN(TIOC2B),
9678c2ecf20Sopenharmony_ci	GPIO_FN(TIOC1B),
9688c2ecf20Sopenharmony_ci	GPIO_FN(TIOC2A),
9698c2ecf20Sopenharmony_ci	GPIO_FN(TIOC1A),
9708c2ecf20Sopenharmony_ci	GPIO_FN(TIOC0D),
9718c2ecf20Sopenharmony_ci	GPIO_FN(TIOC0C),
9728c2ecf20Sopenharmony_ci	GPIO_FN(TIOC0B),
9738c2ecf20Sopenharmony_ci	GPIO_FN(TIOC0A),
9748c2ecf20Sopenharmony_ci	GPIO_FN(TCLKD_PD),
9758c2ecf20Sopenharmony_ci	GPIO_FN(TCLKC_PD),
9768c2ecf20Sopenharmony_ci	GPIO_FN(TCLKB_PD),
9778c2ecf20Sopenharmony_ci	GPIO_FN(TCLKA_PD),
9788c2ecf20Sopenharmony_ci	GPIO_FN(TCLKD_PF),
9798c2ecf20Sopenharmony_ci	GPIO_FN(TCLKC_PF),
9808c2ecf20Sopenharmony_ci	GPIO_FN(TCLKB_PF),
9818c2ecf20Sopenharmony_ci	GPIO_FN(TCLKA_PF),
9828c2ecf20Sopenharmony_ci
9838c2ecf20Sopenharmony_ci	/* SSU */
9848c2ecf20Sopenharmony_ci	GPIO_FN(SCS0_PD),
9858c2ecf20Sopenharmony_ci	GPIO_FN(SSO0_PD),
9868c2ecf20Sopenharmony_ci	GPIO_FN(SSI0_PD),
9878c2ecf20Sopenharmony_ci	GPIO_FN(SSCK0_PD),
9888c2ecf20Sopenharmony_ci	GPIO_FN(SCS0_PF),
9898c2ecf20Sopenharmony_ci	GPIO_FN(SSO0_PF),
9908c2ecf20Sopenharmony_ci	GPIO_FN(SSI0_PF),
9918c2ecf20Sopenharmony_ci	GPIO_FN(SSCK0_PF),
9928c2ecf20Sopenharmony_ci	GPIO_FN(SCS1_PD),
9938c2ecf20Sopenharmony_ci	GPIO_FN(SSO1_PD),
9948c2ecf20Sopenharmony_ci	GPIO_FN(SSI1_PD),
9958c2ecf20Sopenharmony_ci	GPIO_FN(SSCK1_PD),
9968c2ecf20Sopenharmony_ci	GPIO_FN(SCS1_PF),
9978c2ecf20Sopenharmony_ci	GPIO_FN(SSO1_PF),
9988c2ecf20Sopenharmony_ci	GPIO_FN(SSI1_PF),
9998c2ecf20Sopenharmony_ci	GPIO_FN(SSCK1_PF),
10008c2ecf20Sopenharmony_ci
10018c2ecf20Sopenharmony_ci	/* SCIF */
10028c2ecf20Sopenharmony_ci	GPIO_FN(TXD0),
10038c2ecf20Sopenharmony_ci	GPIO_FN(RXD0),
10048c2ecf20Sopenharmony_ci	GPIO_FN(SCK0),
10058c2ecf20Sopenharmony_ci	GPIO_FN(TXD1),
10068c2ecf20Sopenharmony_ci	GPIO_FN(RXD1),
10078c2ecf20Sopenharmony_ci	GPIO_FN(SCK1),
10088c2ecf20Sopenharmony_ci	GPIO_FN(TXD2),
10098c2ecf20Sopenharmony_ci	GPIO_FN(RXD2),
10108c2ecf20Sopenharmony_ci	GPIO_FN(SCK2),
10118c2ecf20Sopenharmony_ci	GPIO_FN(RTS3),
10128c2ecf20Sopenharmony_ci	GPIO_FN(CTS3),
10138c2ecf20Sopenharmony_ci	GPIO_FN(TXD3),
10148c2ecf20Sopenharmony_ci	GPIO_FN(RXD3),
10158c2ecf20Sopenharmony_ci	GPIO_FN(SCK3),
10168c2ecf20Sopenharmony_ci
10178c2ecf20Sopenharmony_ci	/* SSI */
10188c2ecf20Sopenharmony_ci	GPIO_FN(AUDIO_CLK),
10198c2ecf20Sopenharmony_ci	GPIO_FN(SSIDATA3),
10208c2ecf20Sopenharmony_ci	GPIO_FN(SSIWS3),
10218c2ecf20Sopenharmony_ci	GPIO_FN(SSISCK3),
10228c2ecf20Sopenharmony_ci	GPIO_FN(SSIDATA2),
10238c2ecf20Sopenharmony_ci	GPIO_FN(SSIWS2),
10248c2ecf20Sopenharmony_ci	GPIO_FN(SSISCK2),
10258c2ecf20Sopenharmony_ci	GPIO_FN(SSIDATA1),
10268c2ecf20Sopenharmony_ci	GPIO_FN(SSIWS1),
10278c2ecf20Sopenharmony_ci	GPIO_FN(SSISCK1),
10288c2ecf20Sopenharmony_ci	GPIO_FN(SSIDATA0),
10298c2ecf20Sopenharmony_ci	GPIO_FN(SSIWS0),
10308c2ecf20Sopenharmony_ci	GPIO_FN(SSISCK0),
10318c2ecf20Sopenharmony_ci
10328c2ecf20Sopenharmony_ci	/* FLCTL */
10338c2ecf20Sopenharmony_ci	GPIO_FN(FCE),
10348c2ecf20Sopenharmony_ci	GPIO_FN(FRB),
10358c2ecf20Sopenharmony_ci	GPIO_FN(NAF7),
10368c2ecf20Sopenharmony_ci	GPIO_FN(NAF6),
10378c2ecf20Sopenharmony_ci	GPIO_FN(NAF5),
10388c2ecf20Sopenharmony_ci	GPIO_FN(NAF4),
10398c2ecf20Sopenharmony_ci	GPIO_FN(NAF3),
10408c2ecf20Sopenharmony_ci	GPIO_FN(NAF2),
10418c2ecf20Sopenharmony_ci	GPIO_FN(NAF1),
10428c2ecf20Sopenharmony_ci	GPIO_FN(NAF0),
10438c2ecf20Sopenharmony_ci	GPIO_FN(FSC),
10448c2ecf20Sopenharmony_ci	GPIO_FN(FOE),
10458c2ecf20Sopenharmony_ci	GPIO_FN(FCDE),
10468c2ecf20Sopenharmony_ci	GPIO_FN(FWE),
10478c2ecf20Sopenharmony_ci
10488c2ecf20Sopenharmony_ci	/* LCDC */
10498c2ecf20Sopenharmony_ci	GPIO_FN(LCD_VEPWC),
10508c2ecf20Sopenharmony_ci	GPIO_FN(LCD_VCPWC),
10518c2ecf20Sopenharmony_ci	GPIO_FN(LCD_CLK),
10528c2ecf20Sopenharmony_ci	GPIO_FN(LCD_FLM),
10538c2ecf20Sopenharmony_ci	GPIO_FN(LCD_M_DISP),
10548c2ecf20Sopenharmony_ci	GPIO_FN(LCD_CL2),
10558c2ecf20Sopenharmony_ci	GPIO_FN(LCD_CL1),
10568c2ecf20Sopenharmony_ci	GPIO_FN(LCD_DON),
10578c2ecf20Sopenharmony_ci	GPIO_FN(LCD_DATA15),
10588c2ecf20Sopenharmony_ci	GPIO_FN(LCD_DATA14),
10598c2ecf20Sopenharmony_ci	GPIO_FN(LCD_DATA13),
10608c2ecf20Sopenharmony_ci	GPIO_FN(LCD_DATA12),
10618c2ecf20Sopenharmony_ci	GPIO_FN(LCD_DATA11),
10628c2ecf20Sopenharmony_ci	GPIO_FN(LCD_DATA10),
10638c2ecf20Sopenharmony_ci	GPIO_FN(LCD_DATA9),
10648c2ecf20Sopenharmony_ci	GPIO_FN(LCD_DATA8),
10658c2ecf20Sopenharmony_ci	GPIO_FN(LCD_DATA7),
10668c2ecf20Sopenharmony_ci	GPIO_FN(LCD_DATA6),
10678c2ecf20Sopenharmony_ci	GPIO_FN(LCD_DATA5),
10688c2ecf20Sopenharmony_ci	GPIO_FN(LCD_DATA4),
10698c2ecf20Sopenharmony_ci	GPIO_FN(LCD_DATA3),
10708c2ecf20Sopenharmony_ci	GPIO_FN(LCD_DATA2),
10718c2ecf20Sopenharmony_ci	GPIO_FN(LCD_DATA1),
10728c2ecf20Sopenharmony_ci	GPIO_FN(LCD_DATA0),
10738c2ecf20Sopenharmony_ci};
10748c2ecf20Sopenharmony_ci
10758c2ecf20Sopenharmony_cistatic const struct pinmux_cfg_reg pinmux_config_regs[] = {
10768c2ecf20Sopenharmony_ci	{ PINMUX_CFG_REG("PBIORL", 0xfffe3886, 16, 1, GROUP(
10778c2ecf20Sopenharmony_ci		0, 0,
10788c2ecf20Sopenharmony_ci		0, 0,
10798c2ecf20Sopenharmony_ci		0, 0,
10808c2ecf20Sopenharmony_ci		0, 0,
10818c2ecf20Sopenharmony_ci		PB11_IN, PB11_OUT,
10828c2ecf20Sopenharmony_ci		PB10_IN, PB10_OUT,
10838c2ecf20Sopenharmony_ci		PB9_IN, PB9_OUT,
10848c2ecf20Sopenharmony_ci		PB8_IN, PB8_OUT,
10858c2ecf20Sopenharmony_ci		0, 0,
10868c2ecf20Sopenharmony_ci		0, 0,
10878c2ecf20Sopenharmony_ci		0, 0,
10888c2ecf20Sopenharmony_ci		0, 0,
10898c2ecf20Sopenharmony_ci		0, 0,
10908c2ecf20Sopenharmony_ci		0, 0,
10918c2ecf20Sopenharmony_ci		0, 0,
10928c2ecf20Sopenharmony_ci		0, 0 ))
10938c2ecf20Sopenharmony_ci	},
10948c2ecf20Sopenharmony_ci	{ PINMUX_CFG_REG("PBCRL4", 0xfffe3890, 16, 4, GROUP(
10958c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
10968c2ecf20Sopenharmony_ci
10978c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
10988c2ecf20Sopenharmony_ci
10998c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
11008c2ecf20Sopenharmony_ci
11018c2ecf20Sopenharmony_ci		PB12MD_00, PB12MD_01, PB12MD_10, PB12MD_11,
11028c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ))
11038c2ecf20Sopenharmony_ci	},
11048c2ecf20Sopenharmony_ci	{ PINMUX_CFG_REG("PBCRL3", 0xfffe3892, 16, 4, GROUP(
11058c2ecf20Sopenharmony_ci		PB11MD_0, PB11MD_1,
11068c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
11078c2ecf20Sopenharmony_ci
11088c2ecf20Sopenharmony_ci		PB10MD_0, PB10MD_1,
11098c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
11108c2ecf20Sopenharmony_ci
11118c2ecf20Sopenharmony_ci		PB9MD_00, PB9MD_01, PB9MD_10, 0,
11128c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
11138c2ecf20Sopenharmony_ci
11148c2ecf20Sopenharmony_ci		PB8MD_00, PB8MD_01, PB8MD_10, 0,
11158c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ))
11168c2ecf20Sopenharmony_ci	},
11178c2ecf20Sopenharmony_ci	{ PINMUX_CFG_REG("PBCRL2", 0xfffe3894, 16, 4, GROUP(
11188c2ecf20Sopenharmony_ci		PB7MD_00, PB7MD_01, PB7MD_10, PB7MD_11,
11198c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
11208c2ecf20Sopenharmony_ci
11218c2ecf20Sopenharmony_ci		PB6MD_00, PB6MD_01, PB6MD_10, PB6MD_11,
11228c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
11238c2ecf20Sopenharmony_ci
11248c2ecf20Sopenharmony_ci		PB5MD_00, PB5MD_01, PB5MD_10, PB5MD_11,
11258c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
11268c2ecf20Sopenharmony_ci
11278c2ecf20Sopenharmony_ci		PB4MD_00, PB4MD_01, PB4MD_10, PB4MD_11,
11288c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ))
11298c2ecf20Sopenharmony_ci	},
11308c2ecf20Sopenharmony_ci	{ PINMUX_CFG_REG("PBCRL1", 0xfffe3896, 16, 4, GROUP(
11318c2ecf20Sopenharmony_ci		PB3MD_00, PB3MD_01, PB3MD_10, PB3MD_11,
11328c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
11338c2ecf20Sopenharmony_ci
11348c2ecf20Sopenharmony_ci		PB2MD_00, PB2MD_01, PB2MD_10, PB2MD_11,
11358c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
11368c2ecf20Sopenharmony_ci
11378c2ecf20Sopenharmony_ci		PB1MD_00, PB1MD_01, PB1MD_10, PB1MD_11,
11388c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
11398c2ecf20Sopenharmony_ci
11408c2ecf20Sopenharmony_ci		PB0MD_00, PB0MD_01, PB0MD_10, PB0MD_11,
11418c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ))
11428c2ecf20Sopenharmony_ci	},
11438c2ecf20Sopenharmony_ci	{ PINMUX_CFG_REG("IFCR", 0xfffe38a2, 16, 4, GROUP(
11448c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
11458c2ecf20Sopenharmony_ci
11468c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
11478c2ecf20Sopenharmony_ci
11488c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
11498c2ecf20Sopenharmony_ci
11508c2ecf20Sopenharmony_ci		PB12IRQ_00, PB12IRQ_01, PB12IRQ_10, 0,
11518c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ))
11528c2ecf20Sopenharmony_ci	},
11538c2ecf20Sopenharmony_ci	{ PINMUX_CFG_REG("PCIORL", 0xfffe3906, 16, 1, GROUP(
11548c2ecf20Sopenharmony_ci		0, 0,
11558c2ecf20Sopenharmony_ci		PC14_IN, PC14_OUT,
11568c2ecf20Sopenharmony_ci		PC13_IN, PC13_OUT,
11578c2ecf20Sopenharmony_ci		PC12_IN, PC12_OUT,
11588c2ecf20Sopenharmony_ci		PC11_IN, PC11_OUT,
11598c2ecf20Sopenharmony_ci		PC10_IN, PC10_OUT,
11608c2ecf20Sopenharmony_ci		PC9_IN, PC9_OUT,
11618c2ecf20Sopenharmony_ci		PC8_IN, PC8_OUT,
11628c2ecf20Sopenharmony_ci		PC7_IN, PC7_OUT,
11638c2ecf20Sopenharmony_ci		PC6_IN, PC6_OUT,
11648c2ecf20Sopenharmony_ci		PC5_IN, PC5_OUT,
11658c2ecf20Sopenharmony_ci		PC4_IN, PC4_OUT,
11668c2ecf20Sopenharmony_ci		PC3_IN, PC3_OUT,
11678c2ecf20Sopenharmony_ci		PC2_IN, PC2_OUT,
11688c2ecf20Sopenharmony_ci		PC1_IN, PC1_OUT,
11698c2ecf20Sopenharmony_ci		PC0_IN, PC0_OUT ))
11708c2ecf20Sopenharmony_ci	},
11718c2ecf20Sopenharmony_ci	{ PINMUX_CFG_REG("PCCRL4", 0xfffe3910, 16, 4, GROUP(
11728c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
11738c2ecf20Sopenharmony_ci
11748c2ecf20Sopenharmony_ci		PC14MD_0, PC14MD_1,
11758c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
11768c2ecf20Sopenharmony_ci
11778c2ecf20Sopenharmony_ci		PC13MD_0, PC13MD_1,
11788c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
11798c2ecf20Sopenharmony_ci
11808c2ecf20Sopenharmony_ci		PC12MD_0, PC12MD_1,
11818c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ))
11828c2ecf20Sopenharmony_ci	},
11838c2ecf20Sopenharmony_ci	{ PINMUX_CFG_REG("PCCRL3", 0xfffe3912, 16, 4, GROUP(
11848c2ecf20Sopenharmony_ci		PC11MD_00, PC11MD_01, PC11MD_10, 0,
11858c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
11868c2ecf20Sopenharmony_ci
11878c2ecf20Sopenharmony_ci		PC10MD_00, PC10MD_01, PC10MD_10, 0,
11888c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
11898c2ecf20Sopenharmony_ci
11908c2ecf20Sopenharmony_ci		PC9MD_0, PC9MD_1,
11918c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
11928c2ecf20Sopenharmony_ci
11938c2ecf20Sopenharmony_ci		PC8MD_0, PC8MD_1,
11948c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ))
11958c2ecf20Sopenharmony_ci	},
11968c2ecf20Sopenharmony_ci	{ PINMUX_CFG_REG("PCCRL2", 0xfffe3914, 16, 4, GROUP(
11978c2ecf20Sopenharmony_ci		PC7MD_0, PC7MD_1,
11988c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
11998c2ecf20Sopenharmony_ci
12008c2ecf20Sopenharmony_ci		PC6MD_0, PC6MD_1,
12018c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
12028c2ecf20Sopenharmony_ci
12038c2ecf20Sopenharmony_ci		PC5MD_0, PC5MD_1,
12048c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
12058c2ecf20Sopenharmony_ci
12068c2ecf20Sopenharmony_ci		PC4MD_0, PC4MD_1,
12078c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ))
12088c2ecf20Sopenharmony_ci	},
12098c2ecf20Sopenharmony_ci	{ PINMUX_CFG_REG("PCCRL1", 0xfffe3916, 16, 4, GROUP(
12108c2ecf20Sopenharmony_ci		PC3MD_0, PC3MD_1,
12118c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
12128c2ecf20Sopenharmony_ci
12138c2ecf20Sopenharmony_ci		PC2MD_0, PC2MD_1,
12148c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
12158c2ecf20Sopenharmony_ci
12168c2ecf20Sopenharmony_ci		PC1MD_0, PC1MD_1,
12178c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
12188c2ecf20Sopenharmony_ci
12198c2ecf20Sopenharmony_ci		PC0MD_00, PC0MD_01, PC0MD_10, 0,
12208c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ))
12218c2ecf20Sopenharmony_ci	},
12228c2ecf20Sopenharmony_ci	{ PINMUX_CFG_REG("PDIORL", 0xfffe3986, 16, 1, GROUP(
12238c2ecf20Sopenharmony_ci		PD15_IN, PD15_OUT,
12248c2ecf20Sopenharmony_ci		PD14_IN, PD14_OUT,
12258c2ecf20Sopenharmony_ci		PD13_IN, PD13_OUT,
12268c2ecf20Sopenharmony_ci		PD12_IN, PD12_OUT,
12278c2ecf20Sopenharmony_ci		PD11_IN, PD11_OUT,
12288c2ecf20Sopenharmony_ci		PD10_IN, PD10_OUT,
12298c2ecf20Sopenharmony_ci		PD9_IN, PD9_OUT,
12308c2ecf20Sopenharmony_ci		PD8_IN, PD8_OUT,
12318c2ecf20Sopenharmony_ci		PD7_IN, PD7_OUT,
12328c2ecf20Sopenharmony_ci		PD6_IN, PD6_OUT,
12338c2ecf20Sopenharmony_ci		PD5_IN, PD5_OUT,
12348c2ecf20Sopenharmony_ci		PD4_IN, PD4_OUT,
12358c2ecf20Sopenharmony_ci		PD3_IN, PD3_OUT,
12368c2ecf20Sopenharmony_ci		PD2_IN, PD2_OUT,
12378c2ecf20Sopenharmony_ci		PD1_IN, PD1_OUT,
12388c2ecf20Sopenharmony_ci		PD0_IN, PD0_OUT ))
12398c2ecf20Sopenharmony_ci	},
12408c2ecf20Sopenharmony_ci	{ PINMUX_CFG_REG("PDCRL4", 0xfffe3990, 16, 4, GROUP(
12418c2ecf20Sopenharmony_ci		PD15MD_000, PD15MD_001, PD15MD_010, 0,
12428c2ecf20Sopenharmony_ci		PD15MD_100, PD15MD_101, 0, 0,
12438c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0,
12448c2ecf20Sopenharmony_ci
12458c2ecf20Sopenharmony_ci		PD14MD_000, PD14MD_001, PD14MD_010, 0,
12468c2ecf20Sopenharmony_ci		0, PD14MD_101, 0, 0,
12478c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0,
12488c2ecf20Sopenharmony_ci
12498c2ecf20Sopenharmony_ci		PD13MD_000, PD13MD_001, PD13MD_010, 0,
12508c2ecf20Sopenharmony_ci		PD13MD_100, PD13MD_101, 0, 0,
12518c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0,
12528c2ecf20Sopenharmony_ci
12538c2ecf20Sopenharmony_ci		PD12MD_000, PD12MD_001, PD12MD_010, 0,
12548c2ecf20Sopenharmony_ci		PD12MD_100, PD12MD_101, 0, 0,
12558c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0 ))
12568c2ecf20Sopenharmony_ci	},
12578c2ecf20Sopenharmony_ci	{ PINMUX_CFG_REG("PDCRL3", 0xfffe3992, 16, 4, GROUP(
12588c2ecf20Sopenharmony_ci		PD11MD_000, PD11MD_001, PD11MD_010, 0,
12598c2ecf20Sopenharmony_ci		PD11MD_100, PD11MD_101, 0, 0,
12608c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0,
12618c2ecf20Sopenharmony_ci
12628c2ecf20Sopenharmony_ci		PD10MD_000, PD10MD_001, PD10MD_010, 0,
12638c2ecf20Sopenharmony_ci		PD10MD_100, PD10MD_101, 0, 0,
12648c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0,
12658c2ecf20Sopenharmony_ci
12668c2ecf20Sopenharmony_ci		PD9MD_000, PD9MD_001, PD9MD_010, 0,
12678c2ecf20Sopenharmony_ci		PD9MD_100, PD9MD_101, 0, 0,
12688c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0,
12698c2ecf20Sopenharmony_ci
12708c2ecf20Sopenharmony_ci		PD8MD_000, PD8MD_001, PD8MD_010, 0,
12718c2ecf20Sopenharmony_ci		PD8MD_100, PD8MD_101, 0, 0,
12728c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0 ))
12738c2ecf20Sopenharmony_ci	},
12748c2ecf20Sopenharmony_ci	{ PINMUX_CFG_REG("PDCRL2", 0xfffe3994, 16, 4, GROUP(
12758c2ecf20Sopenharmony_ci		PD7MD_000, PD7MD_001, PD7MD_010, PD7MD_011,
12768c2ecf20Sopenharmony_ci		PD7MD_100, PD7MD_101, 0, 0,
12778c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0,
12788c2ecf20Sopenharmony_ci
12798c2ecf20Sopenharmony_ci		PD6MD_000, PD6MD_001, PD6MD_010, PD6MD_011,
12808c2ecf20Sopenharmony_ci		PD6MD_100, PD6MD_101, 0, 0,
12818c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0,
12828c2ecf20Sopenharmony_ci
12838c2ecf20Sopenharmony_ci		PD5MD_000, PD5MD_001, PD5MD_010, PD5MD_011,
12848c2ecf20Sopenharmony_ci		PD5MD_100, PD5MD_101, 0, 0,
12858c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0,
12868c2ecf20Sopenharmony_ci
12878c2ecf20Sopenharmony_ci		PD4MD_000, PD4MD_001, PD4MD_010, PD4MD_011,
12888c2ecf20Sopenharmony_ci		PD4MD_100, PD4MD_101, 0, 0,
12898c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0 ))
12908c2ecf20Sopenharmony_ci	},
12918c2ecf20Sopenharmony_ci	{ PINMUX_CFG_REG("PDCRL1", 0xfffe3996, 16, 4, GROUP(
12928c2ecf20Sopenharmony_ci		PD3MD_000, PD3MD_001, PD3MD_010, PD3MD_011,
12938c2ecf20Sopenharmony_ci		PD3MD_100, PD3MD_101, 0, 0,
12948c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0,
12958c2ecf20Sopenharmony_ci
12968c2ecf20Sopenharmony_ci		PD2MD_000, PD2MD_001, PD2MD_010, PD2MD_011,
12978c2ecf20Sopenharmony_ci		PD2MD_100, PD2MD_101, 0, 0,
12988c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0,
12998c2ecf20Sopenharmony_ci
13008c2ecf20Sopenharmony_ci		PD1MD_000, PD1MD_001, PD1MD_010, PD1MD_011,
13018c2ecf20Sopenharmony_ci		PD1MD_100, PD1MD_101, 0, 0,
13028c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0,
13038c2ecf20Sopenharmony_ci
13048c2ecf20Sopenharmony_ci		PD0MD_000, PD0MD_001, PD0MD_010, PD0MD_011,
13058c2ecf20Sopenharmony_ci		PD0MD_100, PD0MD_101, 0, 0,
13068c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0 ))
13078c2ecf20Sopenharmony_ci	},
13088c2ecf20Sopenharmony_ci	{ PINMUX_CFG_REG("PEIORL", 0xfffe3a06, 16, 1, GROUP(
13098c2ecf20Sopenharmony_ci		PE15_IN, PE15_OUT,
13108c2ecf20Sopenharmony_ci		PE14_IN, PE14_OUT,
13118c2ecf20Sopenharmony_ci		PE13_IN, PE13_OUT,
13128c2ecf20Sopenharmony_ci		PE12_IN, PE12_OUT,
13138c2ecf20Sopenharmony_ci		PE11_IN, PE11_OUT,
13148c2ecf20Sopenharmony_ci		PE10_IN, PE10_OUT,
13158c2ecf20Sopenharmony_ci		PE9_IN, PE9_OUT,
13168c2ecf20Sopenharmony_ci		PE8_IN, PE8_OUT,
13178c2ecf20Sopenharmony_ci		PE7_IN, PE7_OUT,
13188c2ecf20Sopenharmony_ci		PE6_IN, PE6_OUT,
13198c2ecf20Sopenharmony_ci		PE5_IN, PE5_OUT,
13208c2ecf20Sopenharmony_ci		PE4_IN, PE4_OUT,
13218c2ecf20Sopenharmony_ci		PE3_IN, PE3_OUT,
13228c2ecf20Sopenharmony_ci		PE2_IN, PE2_OUT,
13238c2ecf20Sopenharmony_ci		PE1_IN, PE1_OUT,
13248c2ecf20Sopenharmony_ci		PE0_IN, PE0_OUT ))
13258c2ecf20Sopenharmony_ci	},
13268c2ecf20Sopenharmony_ci	{ PINMUX_CFG_REG("PECRL4", 0xfffe3a10, 16, 4, GROUP(
13278c2ecf20Sopenharmony_ci		PE15MD_00, PE15MD_01, 0, PE15MD_11,
13288c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
13298c2ecf20Sopenharmony_ci
13308c2ecf20Sopenharmony_ci		PE14MD_00, PE14MD_01, 0, PE14MD_11,
13318c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
13328c2ecf20Sopenharmony_ci
13338c2ecf20Sopenharmony_ci		PE13MD_00, 0, 0, PE13MD_11,
13348c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
13358c2ecf20Sopenharmony_ci
13368c2ecf20Sopenharmony_ci		PE12MD_00, 0, 0, PE12MD_11,
13378c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ))
13388c2ecf20Sopenharmony_ci	},
13398c2ecf20Sopenharmony_ci	{ PINMUX_CFG_REG("PECRL3", 0xfffe3a12, 16, 4, GROUP(
13408c2ecf20Sopenharmony_ci		PE11MD_000, PE11MD_001, PE11MD_010, 0,
13418c2ecf20Sopenharmony_ci		PE11MD_100, 0, 0, 0,
13428c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0,
13438c2ecf20Sopenharmony_ci
13448c2ecf20Sopenharmony_ci		PE10MD_000, PE10MD_001, PE10MD_010, 0,
13458c2ecf20Sopenharmony_ci		PE10MD_100, 0, 0, 0,
13468c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0,
13478c2ecf20Sopenharmony_ci
13488c2ecf20Sopenharmony_ci		PE9MD_00, PE9MD_01, PE9MD_10, PE9MD_11,
13498c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
13508c2ecf20Sopenharmony_ci
13518c2ecf20Sopenharmony_ci		PE8MD_00, PE8MD_01, PE8MD_10, PE8MD_11,
13528c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ))
13538c2ecf20Sopenharmony_ci	},
13548c2ecf20Sopenharmony_ci	{ PINMUX_CFG_REG("PECRL2", 0xfffe3a14, 16, 4, GROUP(
13558c2ecf20Sopenharmony_ci		PE7MD_000, PE7MD_001, PE7MD_010, PE7MD_011,
13568c2ecf20Sopenharmony_ci		PE7MD_100, 0, 0, 0,
13578c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0,
13588c2ecf20Sopenharmony_ci
13598c2ecf20Sopenharmony_ci		PE6MD_000, PE6MD_001, PE6MD_010, PE6MD_011,
13608c2ecf20Sopenharmony_ci		PE6MD_100, 0, 0, 0,
13618c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0,
13628c2ecf20Sopenharmony_ci
13638c2ecf20Sopenharmony_ci		PE5MD_000, PE5MD_001, PE5MD_010, PE5MD_011,
13648c2ecf20Sopenharmony_ci		PE5MD_100, 0, 0, 0,
13658c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0,
13668c2ecf20Sopenharmony_ci
13678c2ecf20Sopenharmony_ci		PE4MD_000, PE4MD_001, PE4MD_010, PE4MD_011,
13688c2ecf20Sopenharmony_ci		PE4MD_100, 0, 0, 0,
13698c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0 ))
13708c2ecf20Sopenharmony_ci	},
13718c2ecf20Sopenharmony_ci	{ PINMUX_CFG_REG("PECRL1", 0xfffe3a16, 16, 4, GROUP(
13728c2ecf20Sopenharmony_ci		PE3MD_00, PE3MD_01, 0, PE3MD_11,
13738c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
13748c2ecf20Sopenharmony_ci
13758c2ecf20Sopenharmony_ci		PE2MD_00, PE2MD_01, 0, PE2MD_11,
13768c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
13778c2ecf20Sopenharmony_ci
13788c2ecf20Sopenharmony_ci		PE1MD_00, PE1MD_01, PE1MD_10, PE1MD_11,
13798c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
13808c2ecf20Sopenharmony_ci
13818c2ecf20Sopenharmony_ci		PE0MD_000, PE0MD_001, 0, PE0MD_011,
13828c2ecf20Sopenharmony_ci		PE0MD_100, 0, 0, 0,
13838c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0 ))
13848c2ecf20Sopenharmony_ci	},
13858c2ecf20Sopenharmony_ci	{ PINMUX_CFG_REG("PFIORH", 0xfffe3a84, 16, 1, GROUP(
13868c2ecf20Sopenharmony_ci		0, 0,
13878c2ecf20Sopenharmony_ci		PF30_IN, PF30_OUT,
13888c2ecf20Sopenharmony_ci		PF29_IN, PF29_OUT,
13898c2ecf20Sopenharmony_ci		PF28_IN, PF28_OUT,
13908c2ecf20Sopenharmony_ci		PF27_IN, PF27_OUT,
13918c2ecf20Sopenharmony_ci		PF26_IN, PF26_OUT,
13928c2ecf20Sopenharmony_ci		PF25_IN, PF25_OUT,
13938c2ecf20Sopenharmony_ci		PF24_IN, PF24_OUT,
13948c2ecf20Sopenharmony_ci		PF23_IN, PF23_OUT,
13958c2ecf20Sopenharmony_ci		PF22_IN, PF22_OUT,
13968c2ecf20Sopenharmony_ci		PF21_IN, PF21_OUT,
13978c2ecf20Sopenharmony_ci		PF20_IN, PF20_OUT,
13988c2ecf20Sopenharmony_ci		PF19_IN, PF19_OUT,
13998c2ecf20Sopenharmony_ci		PF18_IN, PF18_OUT,
14008c2ecf20Sopenharmony_ci		PF17_IN, PF17_OUT,
14018c2ecf20Sopenharmony_ci		PF16_IN, PF16_OUT ))
14028c2ecf20Sopenharmony_ci	},
14038c2ecf20Sopenharmony_ci	{ PINMUX_CFG_REG("PFIORL", 0xfffe3a86, 16, 1, GROUP(
14048c2ecf20Sopenharmony_ci		PF15_IN, PF15_OUT,
14058c2ecf20Sopenharmony_ci		PF14_IN, PF14_OUT,
14068c2ecf20Sopenharmony_ci		PF13_IN, PF13_OUT,
14078c2ecf20Sopenharmony_ci		PF12_IN, PF12_OUT,
14088c2ecf20Sopenharmony_ci		PF11_IN, PF11_OUT,
14098c2ecf20Sopenharmony_ci		PF10_IN, PF10_OUT,
14108c2ecf20Sopenharmony_ci		PF9_IN, PF9_OUT,
14118c2ecf20Sopenharmony_ci		PF8_IN, PF8_OUT,
14128c2ecf20Sopenharmony_ci		PF7_IN, PF7_OUT,
14138c2ecf20Sopenharmony_ci		PF6_IN, PF6_OUT,
14148c2ecf20Sopenharmony_ci		PF5_IN, PF5_OUT,
14158c2ecf20Sopenharmony_ci		PF4_IN, PF4_OUT,
14168c2ecf20Sopenharmony_ci		PF3_IN, PF3_OUT,
14178c2ecf20Sopenharmony_ci		PF2_IN, PF2_OUT,
14188c2ecf20Sopenharmony_ci		PF1_IN, PF1_OUT,
14198c2ecf20Sopenharmony_ci		PF0_IN, PF0_OUT ))
14208c2ecf20Sopenharmony_ci	},
14218c2ecf20Sopenharmony_ci	{ PINMUX_CFG_REG("PFCRH4", 0xfffe3a88, 16, 4, GROUP(
14228c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
14238c2ecf20Sopenharmony_ci
14248c2ecf20Sopenharmony_ci		PF30MD_0, PF30MD_1,
14258c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
14268c2ecf20Sopenharmony_ci
14278c2ecf20Sopenharmony_ci		PF29MD_0, PF29MD_1,
14288c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
14298c2ecf20Sopenharmony_ci
14308c2ecf20Sopenharmony_ci		PF28MD_0, PF28MD_1,
14318c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ))
14328c2ecf20Sopenharmony_ci	},
14338c2ecf20Sopenharmony_ci	{ PINMUX_CFG_REG("PFCRH3", 0xfffe3a8a, 16, 4, GROUP(
14348c2ecf20Sopenharmony_ci		PF27MD_0, PF27MD_1,
14358c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
14368c2ecf20Sopenharmony_ci
14378c2ecf20Sopenharmony_ci		PF26MD_0, PF26MD_1,
14388c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
14398c2ecf20Sopenharmony_ci
14408c2ecf20Sopenharmony_ci		PF25MD_0, PF25MD_1,
14418c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
14428c2ecf20Sopenharmony_ci
14438c2ecf20Sopenharmony_ci		PF24MD_0, PF24MD_1,
14448c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ))
14458c2ecf20Sopenharmony_ci	},
14468c2ecf20Sopenharmony_ci	{ PINMUX_CFG_REG("PFCRH2", 0xfffe3a8c, 16, 4, GROUP(
14478c2ecf20Sopenharmony_ci		PF23MD_00, PF23MD_01, PF23MD_10, 0,
14488c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
14498c2ecf20Sopenharmony_ci
14508c2ecf20Sopenharmony_ci		PF22MD_00, PF22MD_01, PF22MD_10, 0,
14518c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
14528c2ecf20Sopenharmony_ci
14538c2ecf20Sopenharmony_ci		PF21MD_00, PF21MD_01, PF21MD_10, 0,
14548c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
14558c2ecf20Sopenharmony_ci
14568c2ecf20Sopenharmony_ci		PF20MD_00, PF20MD_01, PF20MD_10, 0,
14578c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ))
14588c2ecf20Sopenharmony_ci	},
14598c2ecf20Sopenharmony_ci	{ PINMUX_CFG_REG("PFCRH1", 0xfffe3a8e, 16, 4, GROUP(
14608c2ecf20Sopenharmony_ci		PF19MD_00, PF19MD_01, PF19MD_10, 0,
14618c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
14628c2ecf20Sopenharmony_ci
14638c2ecf20Sopenharmony_ci		PF18MD_00, PF18MD_01, PF18MD_10, 0,
14648c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
14658c2ecf20Sopenharmony_ci
14668c2ecf20Sopenharmony_ci		PF17MD_00, PF17MD_01, PF17MD_10, 0,
14678c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
14688c2ecf20Sopenharmony_ci
14698c2ecf20Sopenharmony_ci		PF16MD_00, PF16MD_01, PF16MD_10, 0,
14708c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ))
14718c2ecf20Sopenharmony_ci	},
14728c2ecf20Sopenharmony_ci	{ PINMUX_CFG_REG("PFCRL4", 0xfffe3a90, 16, 4, GROUP(
14738c2ecf20Sopenharmony_ci		PF15MD_00, PF15MD_01, PF15MD_10, 0,
14748c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
14758c2ecf20Sopenharmony_ci
14768c2ecf20Sopenharmony_ci		PF14MD_00, PF14MD_01, PF14MD_10, 0,
14778c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
14788c2ecf20Sopenharmony_ci
14798c2ecf20Sopenharmony_ci		PF13MD_00, PF13MD_01, PF13MD_10, 0,
14808c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
14818c2ecf20Sopenharmony_ci
14828c2ecf20Sopenharmony_ci		PF12MD_00, PF12MD_01, PF12MD_10, 0,
14838c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ))
14848c2ecf20Sopenharmony_ci	},
14858c2ecf20Sopenharmony_ci	{ PINMUX_CFG_REG("PFCRL3", 0xfffe3a92, 16, 4, GROUP(
14868c2ecf20Sopenharmony_ci		PF11MD_00, PF11MD_01, PF11MD_10, 0,
14878c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
14888c2ecf20Sopenharmony_ci
14898c2ecf20Sopenharmony_ci		PF10MD_00, PF10MD_01, PF10MD_10, 0,
14908c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
14918c2ecf20Sopenharmony_ci
14928c2ecf20Sopenharmony_ci		PF9MD_00, PF9MD_01, PF9MD_10, 0,
14938c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
14948c2ecf20Sopenharmony_ci
14958c2ecf20Sopenharmony_ci		PF8MD_00, PF8MD_01, PF8MD_10, 0,
14968c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ))
14978c2ecf20Sopenharmony_ci	},
14988c2ecf20Sopenharmony_ci	{ PINMUX_CFG_REG("PFCRL2", 0xfffe3a94, 16, 4, GROUP(
14998c2ecf20Sopenharmony_ci		PF7MD_00, PF7MD_01, PF7MD_10, PF7MD_11,
15008c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
15018c2ecf20Sopenharmony_ci
15028c2ecf20Sopenharmony_ci		PF6MD_00, PF6MD_01, PF6MD_10, PF6MD_11,
15038c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
15048c2ecf20Sopenharmony_ci
15058c2ecf20Sopenharmony_ci		PF5MD_00, PF5MD_01, PF5MD_10, PF5MD_11,
15068c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
15078c2ecf20Sopenharmony_ci
15088c2ecf20Sopenharmony_ci		PF4MD_00, PF4MD_01, PF4MD_10, PF4MD_11,
15098c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ))
15108c2ecf20Sopenharmony_ci	},
15118c2ecf20Sopenharmony_ci	{ PINMUX_CFG_REG("PFCRL1", 0xfffe3a96, 16, 4, GROUP(
15128c2ecf20Sopenharmony_ci		PF3MD_00, PF3MD_01, PF3MD_10, PF3MD_11,
15138c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
15148c2ecf20Sopenharmony_ci
15158c2ecf20Sopenharmony_ci		PF2MD_00, PF2MD_01, PF2MD_10, PF2MD_11,
15168c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
15178c2ecf20Sopenharmony_ci
15188c2ecf20Sopenharmony_ci		PF1MD_00, PF1MD_01, PF1MD_10, PF1MD_11,
15198c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
15208c2ecf20Sopenharmony_ci
15218c2ecf20Sopenharmony_ci		PF0MD_00, PF0MD_01, PF0MD_10, PF0MD_11,
15228c2ecf20Sopenharmony_ci		0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ))
15238c2ecf20Sopenharmony_ci	},
15248c2ecf20Sopenharmony_ci	{}
15258c2ecf20Sopenharmony_ci};
15268c2ecf20Sopenharmony_ci
15278c2ecf20Sopenharmony_cistatic const struct pinmux_data_reg pinmux_data_regs[] = {
15288c2ecf20Sopenharmony_ci	{ PINMUX_DATA_REG("PADRL", 0xfffe3802, 16, GROUP(
15298c2ecf20Sopenharmony_ci		0, 0, 0, 0,
15308c2ecf20Sopenharmony_ci		0, 0, 0, 0,
15318c2ecf20Sopenharmony_ci		PA7_DATA, PA6_DATA, PA5_DATA, PA4_DATA,
15328c2ecf20Sopenharmony_ci		PA3_DATA, PA2_DATA, PA1_DATA, PA0_DATA ))
15338c2ecf20Sopenharmony_ci	},
15348c2ecf20Sopenharmony_ci	{ PINMUX_DATA_REG("PBDRL", 0xfffe3882, 16, GROUP(
15358c2ecf20Sopenharmony_ci		0, 0, 0, PB12_DATA,
15368c2ecf20Sopenharmony_ci		PB11_DATA, PB10_DATA, PB9_DATA, PB8_DATA,
15378c2ecf20Sopenharmony_ci		PB7_DATA, PB6_DATA, PB5_DATA, PB4_DATA,
15388c2ecf20Sopenharmony_ci		PB3_DATA, PB2_DATA, PB1_DATA, PB0_DATA ))
15398c2ecf20Sopenharmony_ci	},
15408c2ecf20Sopenharmony_ci	{ PINMUX_DATA_REG("PCDRL", 0xfffe3902, 16, GROUP(
15418c2ecf20Sopenharmony_ci		0, PC14_DATA, PC13_DATA, PC12_DATA,
15428c2ecf20Sopenharmony_ci		PC11_DATA, PC10_DATA, PC9_DATA, PC8_DATA,
15438c2ecf20Sopenharmony_ci		PC7_DATA, PC6_DATA, PC5_DATA, PC4_DATA,
15448c2ecf20Sopenharmony_ci		PC3_DATA, PC2_DATA, PC1_DATA, PC0_DATA ))
15458c2ecf20Sopenharmony_ci	},
15468c2ecf20Sopenharmony_ci	{ PINMUX_DATA_REG("PDDRL", 0xfffe3982, 16, GROUP(
15478c2ecf20Sopenharmony_ci		PD15_DATA, PD14_DATA, PD13_DATA, PD12_DATA,
15488c2ecf20Sopenharmony_ci		PD11_DATA, PD10_DATA, PD9_DATA, PD8_DATA,
15498c2ecf20Sopenharmony_ci		PD7_DATA, PD6_DATA, PD5_DATA, PD4_DATA,
15508c2ecf20Sopenharmony_ci		PD3_DATA, PD2_DATA, PD1_DATA, PD0_DATA ))
15518c2ecf20Sopenharmony_ci	},
15528c2ecf20Sopenharmony_ci	{ PINMUX_DATA_REG("PEDRL", 0xfffe3a02, 16, GROUP(
15538c2ecf20Sopenharmony_ci		PE15_DATA, PE14_DATA, PE13_DATA, PE12_DATA,
15548c2ecf20Sopenharmony_ci		PE11_DATA, PE10_DATA, PE9_DATA, PE8_DATA,
15558c2ecf20Sopenharmony_ci		PE7_DATA, PE6_DATA, PE5_DATA, PE4_DATA,
15568c2ecf20Sopenharmony_ci		PE3_DATA, PE2_DATA, PE1_DATA, PE0_DATA ))
15578c2ecf20Sopenharmony_ci	},
15588c2ecf20Sopenharmony_ci	{ PINMUX_DATA_REG("PFDRH", 0xfffe3a80, 16, GROUP(
15598c2ecf20Sopenharmony_ci		0, PF30_DATA, PF29_DATA, PF28_DATA,
15608c2ecf20Sopenharmony_ci		PF27_DATA, PF26_DATA, PF25_DATA, PF24_DATA,
15618c2ecf20Sopenharmony_ci		PF23_DATA, PF22_DATA, PF21_DATA, PF20_DATA,
15628c2ecf20Sopenharmony_ci		PF19_DATA, PF18_DATA, PF17_DATA, PF16_DATA ))
15638c2ecf20Sopenharmony_ci	},
15648c2ecf20Sopenharmony_ci	{ PINMUX_DATA_REG("PFDRL", 0xfffe3a82, 16, GROUP(
15658c2ecf20Sopenharmony_ci		PF15_DATA, PF14_DATA, PF13_DATA, PF12_DATA,
15668c2ecf20Sopenharmony_ci		PF11_DATA, PF10_DATA, PF9_DATA, PF8_DATA,
15678c2ecf20Sopenharmony_ci		PF7_DATA, PF6_DATA, PF5_DATA, PF4_DATA,
15688c2ecf20Sopenharmony_ci		PF3_DATA, PF2_DATA, PF1_DATA, PF0_DATA ))
15698c2ecf20Sopenharmony_ci	},
15708c2ecf20Sopenharmony_ci	{ },
15718c2ecf20Sopenharmony_ci};
15728c2ecf20Sopenharmony_ci
15738c2ecf20Sopenharmony_ciconst struct sh_pfc_soc_info sh7203_pinmux_info = {
15748c2ecf20Sopenharmony_ci	.name = "sh7203_pfc",
15758c2ecf20Sopenharmony_ci	.input = { PINMUX_INPUT_BEGIN, PINMUX_INPUT_END, FORCE_IN },
15768c2ecf20Sopenharmony_ci	.output = { PINMUX_OUTPUT_BEGIN, PINMUX_OUTPUT_END, FORCE_OUT },
15778c2ecf20Sopenharmony_ci	.function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
15788c2ecf20Sopenharmony_ci
15798c2ecf20Sopenharmony_ci	.pins = pinmux_pins,
15808c2ecf20Sopenharmony_ci	.nr_pins = ARRAY_SIZE(pinmux_pins),
15818c2ecf20Sopenharmony_ci	.func_gpios = pinmux_func_gpios,
15828c2ecf20Sopenharmony_ci	.nr_func_gpios = ARRAY_SIZE(pinmux_func_gpios),
15838c2ecf20Sopenharmony_ci
15848c2ecf20Sopenharmony_ci	.cfg_regs = pinmux_config_regs,
15858c2ecf20Sopenharmony_ci	.data_regs = pinmux_data_regs,
15868c2ecf20Sopenharmony_ci
15878c2ecf20Sopenharmony_ci	.pinmux_data = pinmux_data,
15888c2ecf20Sopenharmony_ci	.pinmux_data_size = ARRAY_SIZE(pinmux_data),
15898c2ecf20Sopenharmony_ci};
1590