18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Pin Function Controller Support 48c2ecf20Sopenharmony_ci * 58c2ecf20Sopenharmony_ci * Copyright (C) 2015 Niklas Söderlund 68c2ecf20Sopenharmony_ci */ 78c2ecf20Sopenharmony_ci#include <linux/init.h> 88c2ecf20Sopenharmony_ci#include <linux/kernel.h> 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ci#include "sh_pfc.h" 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ci#define CPU_ALL_PORT(fn, pfx, sfx) \ 138c2ecf20Sopenharmony_ci PORT_10(0, fn, pfx, sfx), PORT_90(0, fn, pfx, sfx), \ 148c2ecf20Sopenharmony_ci PORT_10(100, fn, pfx##10, sfx), PORT_10(110, fn, pfx##11, sfx), \ 158c2ecf20Sopenharmony_ci PORT_10(120, fn, pfx##12, sfx), PORT_10(130, fn, pfx##13, sfx), \ 168c2ecf20Sopenharmony_ci PORT_10(140, fn, pfx##14, sfx), PORT_1(150, fn, pfx##150, sfx), \ 178c2ecf20Sopenharmony_ci PORT_1(151, fn, pfx##151, sfx), PORT_1(152, fn, pfx##152, sfx), \ 188c2ecf20Sopenharmony_ci PORT_1(153, fn, pfx##153, sfx), PORT_1(154, fn, pfx##154, sfx), \ 198c2ecf20Sopenharmony_ci PORT_1(155, fn, pfx##155, sfx), PORT_1(156, fn, pfx##156, sfx), \ 208c2ecf20Sopenharmony_ci PORT_1(157, fn, pfx##157, sfx), PORT_1(158, fn, pfx##158, sfx) 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_ci#define CPU_ALL_NOGP(fn) \ 238c2ecf20Sopenharmony_ci PIN_NOGP(LCD3_B2, "B15", fn), \ 248c2ecf20Sopenharmony_ci PIN_NOGP(LCD3_B3, "C15", fn), \ 258c2ecf20Sopenharmony_ci PIN_NOGP(LCD3_B4, "D15", fn), \ 268c2ecf20Sopenharmony_ci PIN_NOGP(LCD3_B5, "B14", fn), \ 278c2ecf20Sopenharmony_ci PIN_NOGP(LCD3_B6, "C14", fn), \ 288c2ecf20Sopenharmony_ci PIN_NOGP(LCD3_B7, "D14", fn), \ 298c2ecf20Sopenharmony_ci PIN_NOGP(LCD3_G2, "B17", fn), \ 308c2ecf20Sopenharmony_ci PIN_NOGP(LCD3_G3, "C17", fn), \ 318c2ecf20Sopenharmony_ci PIN_NOGP(LCD3_G4, "D17", fn), \ 328c2ecf20Sopenharmony_ci PIN_NOGP(LCD3_G5, "B16", fn), \ 338c2ecf20Sopenharmony_ci PIN_NOGP(LCD3_G6, "C16", fn), \ 348c2ecf20Sopenharmony_ci PIN_NOGP(LCD3_G7, "D16", fn) 358c2ecf20Sopenharmony_ci 368c2ecf20Sopenharmony_cienum { 378c2ecf20Sopenharmony_ci PINMUX_RESERVED = 0, 388c2ecf20Sopenharmony_ci 398c2ecf20Sopenharmony_ci PINMUX_DATA_BEGIN, 408c2ecf20Sopenharmony_ci PORT_ALL(DATA), 418c2ecf20Sopenharmony_ci PINMUX_DATA_END, 428c2ecf20Sopenharmony_ci 438c2ecf20Sopenharmony_ci PINMUX_FUNCTION_BEGIN, 448c2ecf20Sopenharmony_ci PORT_ALL(FN), 458c2ecf20Sopenharmony_ci 468c2ecf20Sopenharmony_ci /* GPSR0 */ 478c2ecf20Sopenharmony_ci FN_LCD3_1_0_PORT18, FN_LCD3_1_0_PORT20, FN_LCD3_1_0_PORT21, 488c2ecf20Sopenharmony_ci FN_LCD3_1_0_PORT22, FN_LCD3_1_0_PORT23, 498c2ecf20Sopenharmony_ci FN_JT_SEL, FN_ERR_RST_REQB, FN_REF_CLKO, FN_EXT_CLKI, FN_LCD3_PXCLKB, 508c2ecf20Sopenharmony_ci 518c2ecf20Sopenharmony_ci /* GPSR1 */ 528c2ecf20Sopenharmony_ci FN_LCD3_9_8_PORT38, FN_LCD3_9_8_PORT39, FN_LCD3_11_10_PORT40, 538c2ecf20Sopenharmony_ci FN_LCD3_11_10_PORT41, FN_LCD3_11_10_PORT42, FN_LCD3_11_10_PORT43, 548c2ecf20Sopenharmony_ci FN_IIC_1_0_PORT46, FN_IIC_1_0_PORT47, 558c2ecf20Sopenharmony_ci FN_LCD3_R0, FN_LCD3_R1, FN_LCD3_R2, FN_LCD3_R3, FN_LCD3_R4, FN_LCD3_R5, 568c2ecf20Sopenharmony_ci FN_IIC0_SCL, FN_IIC0_SDA, FN_SD_CKI, FN_SDI0_CKO, FN_SDI0_CKI, 578c2ecf20Sopenharmony_ci FN_SDI0_CMD, FN_SDI0_DATA0, FN_SDI0_DATA1, FN_SDI0_DATA2, 588c2ecf20Sopenharmony_ci FN_SDI0_DATA3, FN_SDI0_DATA4, FN_SDI0_DATA5, FN_SDI0_DATA6, 598c2ecf20Sopenharmony_ci FN_SDI0_DATA7, FN_SDI1_CKO, FN_SDI1_CKI, FN_SDI1_CMD, 608c2ecf20Sopenharmony_ci 618c2ecf20Sopenharmony_ci /* GPSR2 */ 628c2ecf20Sopenharmony_ci FN_AB_1_0_PORT71, FN_AB_1_0_PORT72, FN_AB_1_0_PORT73, 638c2ecf20Sopenharmony_ci FN_AB_1_0_PORT74, FN_AB_1_0_PORT75, FN_AB_1_0_PORT76, 648c2ecf20Sopenharmony_ci FN_AB_1_0_PORT77, FN_AB_1_0_PORT78, FN_AB_1_0_PORT79, 658c2ecf20Sopenharmony_ci FN_AB_1_0_PORT80, FN_AB_1_0_PORT81, FN_AB_1_0_PORT82, 668c2ecf20Sopenharmony_ci FN_AB_1_0_PORT83, FN_AB_1_0_PORT84, FN_AB_3_2_PORT85, 678c2ecf20Sopenharmony_ci FN_AB_3_2_PORT86, FN_AB_3_2_PORT87, FN_AB_3_2_PORT88, 688c2ecf20Sopenharmony_ci FN_AB_5_4_PORT89, FN_AB_5_4_PORT90, FN_AB_7_6_PORT91, 698c2ecf20Sopenharmony_ci FN_AB_7_6_PORT92, FN_AB_1_0_PORT93, FN_AB_1_0_PORT94, 708c2ecf20Sopenharmony_ci FN_AB_1_0_PORT95, 718c2ecf20Sopenharmony_ci FN_SDI1_DATA0, FN_SDI1_DATA1, FN_SDI1_DATA2, FN_SDI1_DATA3, 728c2ecf20Sopenharmony_ci FN_AB_CLK, FN_AB_CSB0, FN_AB_CSB1, 738c2ecf20Sopenharmony_ci 748c2ecf20Sopenharmony_ci /* GPSR3 */ 758c2ecf20Sopenharmony_ci FN_AB_13_12_PORT104, FN_AB_13_12_PORT103, FN_AB_11_10_PORT102, 768c2ecf20Sopenharmony_ci FN_AB_11_10_PORT101, FN_AB_11_10_PORT100, FN_AB_9_8_PORT99, 778c2ecf20Sopenharmony_ci FN_AB_9_8_PORT98, FN_AB_9_8_PORT97, 788c2ecf20Sopenharmony_ci FN_USI_1_0_PORT109, FN_USI_1_0_PORT110, FN_USI_1_0_PORT111, 798c2ecf20Sopenharmony_ci FN_USI_1_0_PORT112, FN_USI_3_2_PORT113, FN_USI_3_2_PORT114, 808c2ecf20Sopenharmony_ci FN_USI_5_4_PORT115, FN_USI_5_4_PORT116, FN_USI_5_4_PORT117, 818c2ecf20Sopenharmony_ci FN_USI_5_4_PORT118, FN_USI_7_6_PORT119, FN_USI_9_8_PORT120, 828c2ecf20Sopenharmony_ci FN_USI_9_8_PORT121, 838c2ecf20Sopenharmony_ci FN_AB_A20, FN_USI0_CS1, FN_USI0_CS2, FN_USI1_DI, 848c2ecf20Sopenharmony_ci FN_USI1_DO, 858c2ecf20Sopenharmony_ci FN_NTSC_CLK, FN_NTSC_DATA0, FN_NTSC_DATA1, FN_NTSC_DATA2, 868c2ecf20Sopenharmony_ci FN_NTSC_DATA3, FN_NTSC_DATA4, 878c2ecf20Sopenharmony_ci 888c2ecf20Sopenharmony_ci /* GPRS4 */ 898c2ecf20Sopenharmony_ci FN_HSI_1_0_PORT143, FN_HSI_1_0_PORT144, FN_HSI_1_0_PORT145, 908c2ecf20Sopenharmony_ci FN_HSI_1_0_PORT146, FN_HSI_1_0_PORT147, FN_HSI_1_0_PORT148, 918c2ecf20Sopenharmony_ci FN_HSI_1_0_PORT149, FN_HSI_1_0_PORT150, 928c2ecf20Sopenharmony_ci FN_UART_1_0_PORT157, FN_UART_1_0_PORT158, 938c2ecf20Sopenharmony_ci FN_NTSC_DATA5, FN_NTSC_DATA6, FN_NTSC_DATA7, FN_CAM_CLKO, 948c2ecf20Sopenharmony_ci FN_CAM_CLKI, FN_CAM_VS, FN_CAM_HS, FN_CAM_YUV0, 958c2ecf20Sopenharmony_ci FN_CAM_YUV1, FN_CAM_YUV2, FN_CAM_YUV3, FN_CAM_YUV4, 968c2ecf20Sopenharmony_ci FN_CAM_YUV5, FN_CAM_YUV6, FN_CAM_YUV7, 978c2ecf20Sopenharmony_ci FN_JT_TDO, FN_JT_TDOEN, FN_LOWPWR, FN_USB_VBUS, FN_UART1_RX, 988c2ecf20Sopenharmony_ci FN_UART1_TX, 998c2ecf20Sopenharmony_ci 1008c2ecf20Sopenharmony_ci /* CHG_PINSEL_LCD3 */ 1018c2ecf20Sopenharmony_ci FN_SEL_LCD3_1_0_00, FN_SEL_LCD3_1_0_01, 1028c2ecf20Sopenharmony_ci FN_SEL_LCD3_9_8_00, FN_SEL_LCD3_9_8_10, 1038c2ecf20Sopenharmony_ci FN_SEL_LCD3_11_10_00, FN_SEL_LCD3_11_10_01, FN_SEL_LCD3_11_10_10, 1048c2ecf20Sopenharmony_ci 1058c2ecf20Sopenharmony_ci /* CHG_PINSEL_IIC */ 1068c2ecf20Sopenharmony_ci FN_SEL_IIC_1_0_00, FN_SEL_IIC_1_0_01, 1078c2ecf20Sopenharmony_ci 1088c2ecf20Sopenharmony_ci /* CHG_PINSEL_AB */ 1098c2ecf20Sopenharmony_ci FN_SEL_AB_1_0_00, FN_SEL_AB_1_0_10, FN_SEL_AB_3_2_00, 1108c2ecf20Sopenharmony_ci FN_SEL_AB_3_2_01, FN_SEL_AB_3_2_10, FN_SEL_AB_3_2_11, 1118c2ecf20Sopenharmony_ci FN_SEL_AB_5_4_00, FN_SEL_AB_5_4_01, FN_SEL_AB_5_4_10, 1128c2ecf20Sopenharmony_ci FN_SEL_AB_5_4_11, FN_SEL_AB_7_6_00, FN_SEL_AB_7_6_01, 1138c2ecf20Sopenharmony_ci FN_SEL_AB_7_6_10, 1148c2ecf20Sopenharmony_ci FN_SEL_AB_9_8_00, FN_SEL_AB_9_8_01, FN_SEL_AB_9_8_10, 1158c2ecf20Sopenharmony_ci FN_SEL_AB_11_10_00, FN_SEL_AB_11_10_10, 1168c2ecf20Sopenharmony_ci FN_SEL_AB_13_12_00, FN_SEL_AB_13_12_10, 1178c2ecf20Sopenharmony_ci 1188c2ecf20Sopenharmony_ci /* CHG_PINSEL_USI */ 1198c2ecf20Sopenharmony_ci FN_SEL_USI_1_0_00, FN_SEL_USI_1_0_01, 1208c2ecf20Sopenharmony_ci FN_SEL_USI_3_2_00, FN_SEL_USI_3_2_01, 1218c2ecf20Sopenharmony_ci FN_SEL_USI_5_4_00, FN_SEL_USI_5_4_01, 1228c2ecf20Sopenharmony_ci FN_SEL_USI_7_6_00, FN_SEL_USI_7_6_01, 1238c2ecf20Sopenharmony_ci FN_SEL_USI_9_8_00, FN_SEL_USI_9_8_01, 1248c2ecf20Sopenharmony_ci 1258c2ecf20Sopenharmony_ci /* CHG_PINSEL_HSI */ 1268c2ecf20Sopenharmony_ci FN_SEL_HSI_1_0_00, FN_SEL_HSI_1_0_01, 1278c2ecf20Sopenharmony_ci 1288c2ecf20Sopenharmony_ci /* CHG_PINSEL_UART */ 1298c2ecf20Sopenharmony_ci FN_SEL_UART_1_0_00, FN_SEL_UART_1_0_01, 1308c2ecf20Sopenharmony_ci 1318c2ecf20Sopenharmony_ci PINMUX_FUNCTION_END, 1328c2ecf20Sopenharmony_ci 1338c2ecf20Sopenharmony_ci PINMUX_MARK_BEGIN, 1348c2ecf20Sopenharmony_ci 1358c2ecf20Sopenharmony_ci /* GPSR0 */ 1368c2ecf20Sopenharmony_ci JT_SEL_MARK, ERR_RST_REQB_MARK, REF_CLKO_MARK, EXT_CLKI_MARK, 1378c2ecf20Sopenharmony_ci LCD3_PXCLKB_MARK, SD_CKI_MARK, 1388c2ecf20Sopenharmony_ci 1398c2ecf20Sopenharmony_ci /* GPSR1 */ 1408c2ecf20Sopenharmony_ci LCD3_R0_MARK, LCD3_R1_MARK, LCD3_R2_MARK, LCD3_R3_MARK, LCD3_R4_MARK, 1418c2ecf20Sopenharmony_ci LCD3_R5_MARK, IIC0_SCL_MARK, IIC0_SDA_MARK, SDI0_CKO_MARK, 1428c2ecf20Sopenharmony_ci SDI0_CKI_MARK, SDI0_CMD_MARK, SDI0_DATA0_MARK, SDI0_DATA1_MARK, 1438c2ecf20Sopenharmony_ci SDI0_DATA2_MARK, SDI0_DATA3_MARK, SDI0_DATA4_MARK, SDI0_DATA5_MARK, 1448c2ecf20Sopenharmony_ci SDI0_DATA6_MARK, SDI0_DATA7_MARK, SDI1_CKO_MARK, SDI1_CKI_MARK, 1458c2ecf20Sopenharmony_ci SDI1_CMD_MARK, 1468c2ecf20Sopenharmony_ci 1478c2ecf20Sopenharmony_ci /* GPSR2 */ 1488c2ecf20Sopenharmony_ci SDI1_DATA0_MARK, SDI1_DATA1_MARK, SDI1_DATA2_MARK, SDI1_DATA3_MARK, 1498c2ecf20Sopenharmony_ci AB_CLK_MARK, AB_CSB0_MARK, AB_CSB1_MARK, 1508c2ecf20Sopenharmony_ci 1518c2ecf20Sopenharmony_ci /* GPSR3 */ 1528c2ecf20Sopenharmony_ci AB_A20_MARK, USI0_CS1_MARK, USI0_CS2_MARK, USI1_DI_MARK, 1538c2ecf20Sopenharmony_ci USI1_DO_MARK, 1548c2ecf20Sopenharmony_ci NTSC_CLK_MARK, NTSC_DATA0_MARK, NTSC_DATA1_MARK, NTSC_DATA2_MARK, 1558c2ecf20Sopenharmony_ci NTSC_DATA3_MARK, NTSC_DATA4_MARK, 1568c2ecf20Sopenharmony_ci 1578c2ecf20Sopenharmony_ci /* GPSR3 */ 1588c2ecf20Sopenharmony_ci NTSC_DATA5_MARK, NTSC_DATA6_MARK, NTSC_DATA7_MARK, CAM_CLKO_MARK, 1598c2ecf20Sopenharmony_ci CAM_CLKI_MARK, CAM_VS_MARK, CAM_HS_MARK, CAM_YUV0_MARK, 1608c2ecf20Sopenharmony_ci CAM_YUV1_MARK, CAM_YUV2_MARK, CAM_YUV3_MARK, CAM_YUV4_MARK, 1618c2ecf20Sopenharmony_ci CAM_YUV5_MARK, CAM_YUV6_MARK, CAM_YUV7_MARK, 1628c2ecf20Sopenharmony_ci JT_TDO_MARK, JT_TDOEN_MARK, USB_VBUS_MARK, LOWPWR_MARK, 1638c2ecf20Sopenharmony_ci UART1_RX_MARK, UART1_TX_MARK, 1648c2ecf20Sopenharmony_ci 1658c2ecf20Sopenharmony_ci /* CHG_PINSEL_LCD3 */ 1668c2ecf20Sopenharmony_ci LCD3_PXCLK_MARK, LCD3_CLK_I_MARK, LCD3_HS_MARK, LCD3_VS_MARK, 1678c2ecf20Sopenharmony_ci LCD3_DE_MARK, LCD3_R6_MARK, LCD3_R7_MARK, LCD3_G0_MARK, LCD3_G1_MARK, 1688c2ecf20Sopenharmony_ci LCD3_G2_MARK, LCD3_G3_MARK, LCD3_G4_MARK, LCD3_G5_MARK, LCD3_G6_MARK, 1698c2ecf20Sopenharmony_ci LCD3_G7_MARK, LCD3_B0_MARK, LCD3_B1_MARK, LCD3_B2_MARK, LCD3_B3_MARK, 1708c2ecf20Sopenharmony_ci LCD3_B4_MARK, LCD3_B5_MARK, LCD3_B6_MARK, LCD3_B7_MARK, 1718c2ecf20Sopenharmony_ci YUV3_CLK_O_MARK, YUV3_CLK_I_MARK, YUV3_HS_MARK, YUV3_VS_MARK, 1728c2ecf20Sopenharmony_ci YUV3_DE_MARK, YUV3_D0_MARK, YUV3_D1_MARK, YUV3_D2_MARK, YUV3_D3_MARK, 1738c2ecf20Sopenharmony_ci YUV3_D4_MARK, YUV3_D5_MARK, YUV3_D6_MARK, YUV3_D7_MARK, YUV3_D8_MARK, 1748c2ecf20Sopenharmony_ci YUV3_D9_MARK, YUV3_D10_MARK, YUV3_D11_MARK, YUV3_D12_MARK, 1758c2ecf20Sopenharmony_ci YUV3_D13_MARK, YUV3_D14_MARK, YUV3_D15_MARK, 1768c2ecf20Sopenharmony_ci TP33_CLK_MARK, TP33_CTRL_MARK, TP33_DATA0_MARK, TP33_DATA1_MARK, 1778c2ecf20Sopenharmony_ci TP33_DATA2_MARK, TP33_DATA3_MARK, TP33_DATA4_MARK, TP33_DATA5_MARK, 1788c2ecf20Sopenharmony_ci TP33_DATA6_MARK, TP33_DATA7_MARK, TP33_DATA8_MARK, TP33_DATA9_MARK, 1798c2ecf20Sopenharmony_ci TP33_DATA10_MARK, TP33_DATA11_MARK, TP33_DATA12_MARK, TP33_DATA13_MARK, 1808c2ecf20Sopenharmony_ci TP33_DATA14_MARK, TP33_DATA15_MARK, 1818c2ecf20Sopenharmony_ci 1828c2ecf20Sopenharmony_ci /* CHG_PINSEL_IIC */ 1838c2ecf20Sopenharmony_ci IIC1_SCL_MARK, IIC1_SDA_MARK, UART3_RX_MARK, UART3_TX_MARK, 1848c2ecf20Sopenharmony_ci 1858c2ecf20Sopenharmony_ci /* CHG_PINSEL_AB */ 1868c2ecf20Sopenharmony_ci AB_CSB2_MARK, AB_CSB3_MARK, AB_RDB_MARK, AB_WRB_MARK, 1878c2ecf20Sopenharmony_ci AB_WAIT_MARK, AB_ADV_MARK, AB_AD0_MARK, AB_AD1_MARK, 1888c2ecf20Sopenharmony_ci AB_AD2_MARK, AB_AD3_MARK, AB_AD4_MARK, AB_AD5_MARK, 1898c2ecf20Sopenharmony_ci AB_AD6_MARK, AB_AD7_MARK, AB_AD8_MARK, AB_AD9_MARK, 1908c2ecf20Sopenharmony_ci AB_AD10_MARK, AB_AD11_MARK, AB_AD12_MARK, AB_AD13_MARK, 1918c2ecf20Sopenharmony_ci AB_AD14_MARK, AB_AD15_MARK, AB_A17_MARK, AB_A18_MARK, 1928c2ecf20Sopenharmony_ci AB_A19_MARK, AB_A21_MARK, AB_A22_MARK, AB_A23_MARK, 1938c2ecf20Sopenharmony_ci AB_A24_MARK, AB_A25_MARK, AB_A26_MARK, AB_A27_MARK, 1948c2ecf20Sopenharmony_ci AB_A28_MARK, AB_BEN0_MARK, AB_BEN1_MARK, 1958c2ecf20Sopenharmony_ci DTV_BCLK_A_MARK, DTV_PSYNC_A_MARK, DTV_VALID_A_MARK, 1968c2ecf20Sopenharmony_ci DTV_DATA_A_MARK, 1978c2ecf20Sopenharmony_ci SDI2_CKO_MARK, SDI2_CKI_MARK, SDI2_CMD_MARK, 1988c2ecf20Sopenharmony_ci SDI2_DATA0_MARK, SDI2_DATA1_MARK, SDI2_DATA2_MARK, 1998c2ecf20Sopenharmony_ci SDI2_DATA3_MARK, 2008c2ecf20Sopenharmony_ci CF_CSB0_MARK, CF_CSB1_MARK, CF_IORDB_MARK, 2018c2ecf20Sopenharmony_ci CF_IOWRB_MARK, CF_IORDY_MARK, CF_RESET_MARK, 2028c2ecf20Sopenharmony_ci CF_D00_MARK, CF_D01_MARK, CF_D02_MARK, CF_D03_MARK, 2038c2ecf20Sopenharmony_ci CF_D04_MARK, CF_D05_MARK, CF_D06_MARK, CF_D07_MARK, 2048c2ecf20Sopenharmony_ci CF_D08_MARK, CF_D09_MARK, CF_D10_MARK, CF_D11_MARK, 2058c2ecf20Sopenharmony_ci CF_D12_MARK, CF_D13_MARK, CF_D14_MARK, CF_D15_MARK, 2068c2ecf20Sopenharmony_ci CF_A00_MARK, CF_A01_MARK, CF_A02_MARK, 2078c2ecf20Sopenharmony_ci CF_INTRQ_MARK, CF_INPACKB_MARK, CF_CDB1_MARK, CF_CDB2_MARK, 2088c2ecf20Sopenharmony_ci USI5_CLK_A_MARK, USI5_DI_A_MARK, USI5_DO_A_MARK, 2098c2ecf20Sopenharmony_ci USI5_CS0_A_MARK, USI5_CS1_A_MARK, USI5_CS2_A_MARK, 2108c2ecf20Sopenharmony_ci 2118c2ecf20Sopenharmony_ci /* CHG_PINSEL_USI */ 2128c2ecf20Sopenharmony_ci USI0_CS3_MARK, USI0_CS4_MARK, USI0_CS5_MARK, 2138c2ecf20Sopenharmony_ci USI0_CS6_MARK, 2148c2ecf20Sopenharmony_ci USI2_CLK_MARK, USI2_DI_MARK, USI2_DO_MARK, 2158c2ecf20Sopenharmony_ci USI2_CS0_MARK, USI2_CS1_MARK, USI2_CS2_MARK, 2168c2ecf20Sopenharmony_ci USI3_CLK_MARK, USI3_DI_MARK, USI3_DO_MARK, 2178c2ecf20Sopenharmony_ci USI3_CS0_MARK, 2188c2ecf20Sopenharmony_ci USI4_CLK_MARK, USI4_DI_MARK, USI4_DO_MARK, 2198c2ecf20Sopenharmony_ci USI4_CS0_MARK, USI4_CS1_MARK, 2208c2ecf20Sopenharmony_ci PWM0_MARK, PWM1_MARK, 2218c2ecf20Sopenharmony_ci DTV_BCLK_B_MARK, DTV_PSYNC_B_MARK, DTV_VALID_B_MARK, 2228c2ecf20Sopenharmony_ci DTV_DATA_B_MARK, 2238c2ecf20Sopenharmony_ci 2248c2ecf20Sopenharmony_ci /* CHG_PINSEL_HSI */ 2258c2ecf20Sopenharmony_ci USI5_CLK_B_MARK, USI5_DO_B_MARK, USI5_CS0_B_MARK, USI5_CS1_B_MARK, 2268c2ecf20Sopenharmony_ci USI5_CS2_B_MARK, USI5_CS3_B_MARK, USI5_CS4_B_MARK, USI5_DI_B_MARK, 2278c2ecf20Sopenharmony_ci 2288c2ecf20Sopenharmony_ci /* CHG_PINSEL_UART */ 2298c2ecf20Sopenharmony_ci UART1_CTSB_MARK, UART1_RTSB_MARK, 2308c2ecf20Sopenharmony_ci UART2_RX_MARK, UART2_TX_MARK, 2318c2ecf20Sopenharmony_ci 2328c2ecf20Sopenharmony_ci PINMUX_MARK_END, 2338c2ecf20Sopenharmony_ci}; 2348c2ecf20Sopenharmony_ci 2358c2ecf20Sopenharmony_ci/* 2368c2ecf20Sopenharmony_ci * Pins not associated with a GPIO port. 2378c2ecf20Sopenharmony_ci */ 2388c2ecf20Sopenharmony_cienum { 2398c2ecf20Sopenharmony_ci PORT_ASSIGN_LAST(), 2408c2ecf20Sopenharmony_ci NOGP_ALL(), 2418c2ecf20Sopenharmony_ci}; 2428c2ecf20Sopenharmony_ci 2438c2ecf20Sopenharmony_ci/* Expand to a list of sh_pfc_pin entries (named PORT#). 2448c2ecf20Sopenharmony_ci * NOTE: No config are recorded since the driver do not handle pinconf. */ 2458c2ecf20Sopenharmony_ci#define __PIN_CFG(pn, pfx, sfx) SH_PFC_PIN_CFG(pfx, 0) 2468c2ecf20Sopenharmony_ci#define PINMUX_EMEV_GPIO_ALL() CPU_ALL_PORT(__PIN_CFG, , unused) 2478c2ecf20Sopenharmony_ci 2488c2ecf20Sopenharmony_cistatic const struct sh_pfc_pin pinmux_pins[] = { 2498c2ecf20Sopenharmony_ci PINMUX_EMEV_GPIO_ALL(), 2508c2ecf20Sopenharmony_ci PINMUX_NOGP_ALL(), 2518c2ecf20Sopenharmony_ci}; 2528c2ecf20Sopenharmony_ci 2538c2ecf20Sopenharmony_ci/* Expand to a list of name_DATA, name_FN marks */ 2548c2ecf20Sopenharmony_ci#define __PORT_DATA(pn, pfx, sfx) PINMUX_DATA(PORT##pfx##_DATA, PORT##pfx##_FN) 2558c2ecf20Sopenharmony_ci#define PINMUX_EMEV_DATA_ALL() CPU_ALL_PORT(__PORT_DATA, , unused) 2568c2ecf20Sopenharmony_ci 2578c2ecf20Sopenharmony_cistatic const u16 pinmux_data[] = { 2588c2ecf20Sopenharmony_ci PINMUX_EMEV_DATA_ALL(), /* PINMUX_DATA(PORTN_DATA, PORTN_FN), */ 2598c2ecf20Sopenharmony_ci 2608c2ecf20Sopenharmony_ci /* GPSR0 */ 2618c2ecf20Sopenharmony_ci /* V9 */ 2628c2ecf20Sopenharmony_ci PINMUX_SINGLE(JT_SEL), 2638c2ecf20Sopenharmony_ci /* U9 */ 2648c2ecf20Sopenharmony_ci PINMUX_SINGLE(ERR_RST_REQB), 2658c2ecf20Sopenharmony_ci /* V8 */ 2668c2ecf20Sopenharmony_ci PINMUX_SINGLE(REF_CLKO), 2678c2ecf20Sopenharmony_ci /* U8 */ 2688c2ecf20Sopenharmony_ci PINMUX_SINGLE(EXT_CLKI), 2698c2ecf20Sopenharmony_ci /* B22*/ 2708c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(LCD3_1_0_PORT18, LCD3_PXCLK, SEL_LCD3_1_0_00), 2718c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(LCD3_1_0_PORT18, YUV3_CLK_O, SEL_LCD3_1_0_01), 2728c2ecf20Sopenharmony_ci /* C21 */ 2738c2ecf20Sopenharmony_ci PINMUX_SINGLE(LCD3_PXCLKB), 2748c2ecf20Sopenharmony_ci /* A21 */ 2758c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(LCD3_1_0_PORT20, LCD3_CLK_I, SEL_LCD3_1_0_00), 2768c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(LCD3_1_0_PORT20, YUV3_CLK_I, SEL_LCD3_1_0_01), 2778c2ecf20Sopenharmony_ci /* B21 */ 2788c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(LCD3_1_0_PORT21, LCD3_HS, SEL_LCD3_1_0_00), 2798c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(LCD3_1_0_PORT21, YUV3_HS, SEL_LCD3_1_0_01), 2808c2ecf20Sopenharmony_ci /* C20 */ 2818c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(LCD3_1_0_PORT22, LCD3_VS, SEL_LCD3_1_0_00), 2828c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(LCD3_1_0_PORT22, YUV3_VS, SEL_LCD3_1_0_01), 2838c2ecf20Sopenharmony_ci /* D19 */ 2848c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(LCD3_1_0_PORT23, LCD3_DE, SEL_LCD3_1_0_00), 2858c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(LCD3_1_0_PORT23, YUV3_DE, SEL_LCD3_1_0_01), 2868c2ecf20Sopenharmony_ci 2878c2ecf20Sopenharmony_ci /* GPSR1 */ 2888c2ecf20Sopenharmony_ci /* A20 */ 2898c2ecf20Sopenharmony_ci PINMUX_SINGLE(LCD3_R0), 2908c2ecf20Sopenharmony_ci /* B20 */ 2918c2ecf20Sopenharmony_ci PINMUX_SINGLE(LCD3_R1), 2928c2ecf20Sopenharmony_ci /* A19 */ 2938c2ecf20Sopenharmony_ci PINMUX_SINGLE(LCD3_R2), 2948c2ecf20Sopenharmony_ci /* B19 */ 2958c2ecf20Sopenharmony_ci PINMUX_SINGLE(LCD3_R3), 2968c2ecf20Sopenharmony_ci /* C19 */ 2978c2ecf20Sopenharmony_ci PINMUX_SINGLE(LCD3_R4), 2988c2ecf20Sopenharmony_ci /* B18 */ 2998c2ecf20Sopenharmony_ci PINMUX_SINGLE(LCD3_R5), 3008c2ecf20Sopenharmony_ci /* C18 */ 3018c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(LCD3_9_8_PORT38, LCD3_R6, SEL_LCD3_9_8_00), 3028c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(LCD3_9_8_PORT38, TP33_CLK, SEL_LCD3_9_8_10), 3038c2ecf20Sopenharmony_ci /* D18 */ 3048c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(LCD3_9_8_PORT39, LCD3_R7, SEL_LCD3_9_8_00), 3058c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(LCD3_9_8_PORT39, TP33_CTRL, SEL_LCD3_9_8_10), 3068c2ecf20Sopenharmony_ci /* A18 */ 3078c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(LCD3_11_10_PORT40, LCD3_G0, SEL_LCD3_11_10_00), 3088c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(LCD3_11_10_PORT40, YUV3_D0, SEL_LCD3_11_10_01), 3098c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(LCD3_11_10_PORT40, TP33_DATA0, SEL_LCD3_11_10_10), 3108c2ecf20Sopenharmony_ci /* A17 */ 3118c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(LCD3_11_10_PORT41, LCD3_G1, SEL_LCD3_11_10_00), 3128c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(LCD3_11_10_PORT41, YUV3_D1, SEL_LCD3_11_10_01), 3138c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(LCD3_11_10_PORT41, TP33_DATA1, SEL_LCD3_11_10_10), 3148c2ecf20Sopenharmony_ci /* B17 */ 3158c2ecf20Sopenharmony_ci PINMUX_DATA(LCD3_G2_MARK, FN_SEL_LCD3_11_10_00), 3168c2ecf20Sopenharmony_ci PINMUX_DATA(YUV3_D2_MARK, FN_SEL_LCD3_11_10_01), 3178c2ecf20Sopenharmony_ci PINMUX_DATA(TP33_DATA2_MARK, FN_SEL_LCD3_11_10_10), 3188c2ecf20Sopenharmony_ci /* C17 */ 3198c2ecf20Sopenharmony_ci PINMUX_DATA(LCD3_G3_MARK, FN_SEL_LCD3_11_10_00), 3208c2ecf20Sopenharmony_ci PINMUX_DATA(YUV3_D3_MARK, FN_SEL_LCD3_11_10_01), 3218c2ecf20Sopenharmony_ci PINMUX_DATA(TP33_DATA3_MARK, FN_SEL_LCD3_11_10_10), 3228c2ecf20Sopenharmony_ci /* D17 */ 3238c2ecf20Sopenharmony_ci PINMUX_DATA(LCD3_G4_MARK, FN_SEL_LCD3_11_10_00), 3248c2ecf20Sopenharmony_ci PINMUX_DATA(YUV3_D4_MARK, FN_SEL_LCD3_11_10_01), 3258c2ecf20Sopenharmony_ci PINMUX_DATA(TP33_DATA4_MARK, FN_SEL_LCD3_11_10_10), 3268c2ecf20Sopenharmony_ci /* B16 */ 3278c2ecf20Sopenharmony_ci PINMUX_DATA(LCD3_G5_MARK, FN_SEL_LCD3_11_10_00), 3288c2ecf20Sopenharmony_ci PINMUX_DATA(YUV3_D5_MARK, FN_SEL_LCD3_11_10_01), 3298c2ecf20Sopenharmony_ci PINMUX_DATA(TP33_DATA5_MARK, FN_SEL_LCD3_11_10_10), 3308c2ecf20Sopenharmony_ci /* C16 */ 3318c2ecf20Sopenharmony_ci PINMUX_DATA(LCD3_G6_MARK, FN_SEL_LCD3_11_10_00), 3328c2ecf20Sopenharmony_ci PINMUX_DATA(YUV3_D6_MARK, FN_SEL_LCD3_11_10_01), 3338c2ecf20Sopenharmony_ci PINMUX_DATA(TP33_DATA6_MARK, FN_SEL_LCD3_11_10_10), 3348c2ecf20Sopenharmony_ci /* D16 */ 3358c2ecf20Sopenharmony_ci PINMUX_DATA(LCD3_G7_MARK, FN_SEL_LCD3_11_10_00), 3368c2ecf20Sopenharmony_ci PINMUX_DATA(YUV3_D7_MARK, FN_SEL_LCD3_11_10_01), 3378c2ecf20Sopenharmony_ci PINMUX_DATA(TP33_DATA7_MARK, FN_SEL_LCD3_11_10_10), 3388c2ecf20Sopenharmony_ci /* A16 */ 3398c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(LCD3_11_10_PORT42, LCD3_B0, SEL_LCD3_11_10_00), 3408c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(LCD3_11_10_PORT42, YUV3_D8, SEL_LCD3_11_10_01), 3418c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(LCD3_11_10_PORT42, TP33_DATA8, SEL_LCD3_11_10_10), 3428c2ecf20Sopenharmony_ci /* A15 */ 3438c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(LCD3_11_10_PORT43, LCD3_B1, SEL_LCD3_11_10_00), 3448c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(LCD3_11_10_PORT43, YUV3_D9, SEL_LCD3_11_10_01), 3458c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(LCD3_11_10_PORT43, TP33_DATA9, SEL_LCD3_11_10_10), 3468c2ecf20Sopenharmony_ci /* B15 */ 3478c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(LCD3_11_10_PORT43, LCD3_B2, SEL_LCD3_11_10_00), 3488c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(LCD3_11_10_PORT43, YUV3_D10, SEL_LCD3_11_10_01), 3498c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(LCD3_11_10_PORT43, TP33_DATA10, SEL_LCD3_11_10_10), 3508c2ecf20Sopenharmony_ci /* C15 */ 3518c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(LCD3_11_10_PORT43, LCD3_B3, SEL_LCD3_11_10_00), 3528c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(LCD3_11_10_PORT43, YUV3_D11, SEL_LCD3_11_10_01), 3538c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(LCD3_11_10_PORT43, TP33_DATA11, SEL_LCD3_11_10_10), 3548c2ecf20Sopenharmony_ci /* D15 */ 3558c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(LCD3_11_10_PORT43, LCD3_B4, SEL_LCD3_11_10_00), 3568c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(LCD3_11_10_PORT43, YUV3_D12, SEL_LCD3_11_10_01), 3578c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(LCD3_11_10_PORT43, TP33_DATA12, SEL_LCD3_11_10_10), 3588c2ecf20Sopenharmony_ci /* B14 */ 3598c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(LCD3_11_10_PORT43, LCD3_B5, SEL_LCD3_11_10_00), 3608c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(LCD3_11_10_PORT43, YUV3_D13, SEL_LCD3_11_10_01), 3618c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(LCD3_11_10_PORT43, TP33_DATA13, SEL_LCD3_11_10_10), 3628c2ecf20Sopenharmony_ci /* C14 */ 3638c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(LCD3_11_10_PORT43, LCD3_B6, SEL_LCD3_11_10_00), 3648c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(LCD3_11_10_PORT43, YUV3_D14, SEL_LCD3_11_10_01), 3658c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(LCD3_11_10_PORT43, TP33_DATA14, SEL_LCD3_11_10_10), 3668c2ecf20Sopenharmony_ci /* D14 */ 3678c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(LCD3_11_10_PORT43, LCD3_B7, SEL_LCD3_11_10_00), 3688c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(LCD3_11_10_PORT43, YUV3_D15, SEL_LCD3_11_10_01), 3698c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(LCD3_11_10_PORT43, TP33_DATA15, SEL_LCD3_11_10_10), 3708c2ecf20Sopenharmony_ci /* AA9 */ 3718c2ecf20Sopenharmony_ci PINMUX_SINGLE(IIC0_SCL), 3728c2ecf20Sopenharmony_ci /* AA8 */ 3738c2ecf20Sopenharmony_ci PINMUX_SINGLE(IIC0_SDA), 3748c2ecf20Sopenharmony_ci /* Y9 */ 3758c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(IIC_1_0_PORT46, IIC1_SCL, SEL_IIC_1_0_00), 3768c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(IIC_1_0_PORT46, UART3_RX, SEL_IIC_1_0_01), 3778c2ecf20Sopenharmony_ci /* Y8 */ 3788c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(IIC_1_0_PORT47, IIC1_SDA, SEL_IIC_1_0_00), 3798c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(IIC_1_0_PORT47, UART3_TX, SEL_IIC_1_0_01), 3808c2ecf20Sopenharmony_ci /* AC19 */ 3818c2ecf20Sopenharmony_ci PINMUX_SINGLE(SD_CKI), 3828c2ecf20Sopenharmony_ci /* AB18 */ 3838c2ecf20Sopenharmony_ci PINMUX_SINGLE(SDI0_CKO), 3848c2ecf20Sopenharmony_ci /* AC18 */ 3858c2ecf20Sopenharmony_ci PINMUX_SINGLE(SDI0_CKI), 3868c2ecf20Sopenharmony_ci /* Y12 */ 3878c2ecf20Sopenharmony_ci PINMUX_SINGLE(SDI0_CMD), 3888c2ecf20Sopenharmony_ci /* AA13 */ 3898c2ecf20Sopenharmony_ci PINMUX_SINGLE(SDI0_DATA0), 3908c2ecf20Sopenharmony_ci /* Y13 */ 3918c2ecf20Sopenharmony_ci PINMUX_SINGLE(SDI0_DATA1), 3928c2ecf20Sopenharmony_ci /* AA14 */ 3938c2ecf20Sopenharmony_ci PINMUX_SINGLE(SDI0_DATA2), 3948c2ecf20Sopenharmony_ci /* Y14 */ 3958c2ecf20Sopenharmony_ci PINMUX_SINGLE(SDI0_DATA3), 3968c2ecf20Sopenharmony_ci /* AA15 */ 3978c2ecf20Sopenharmony_ci PINMUX_SINGLE(SDI0_DATA4), 3988c2ecf20Sopenharmony_ci /* Y15 */ 3998c2ecf20Sopenharmony_ci PINMUX_SINGLE(SDI0_DATA5), 4008c2ecf20Sopenharmony_ci /* AA16 */ 4018c2ecf20Sopenharmony_ci PINMUX_SINGLE(SDI0_DATA6), 4028c2ecf20Sopenharmony_ci /* Y16 */ 4038c2ecf20Sopenharmony_ci PINMUX_SINGLE(SDI0_DATA7), 4048c2ecf20Sopenharmony_ci /* AB22 */ 4058c2ecf20Sopenharmony_ci PINMUX_SINGLE(SDI1_CKO), 4068c2ecf20Sopenharmony_ci /* AA23 */ 4078c2ecf20Sopenharmony_ci PINMUX_SINGLE(SDI1_CKI), 4088c2ecf20Sopenharmony_ci /* AC21 */ 4098c2ecf20Sopenharmony_ci PINMUX_SINGLE(SDI1_CMD), 4108c2ecf20Sopenharmony_ci 4118c2ecf20Sopenharmony_ci /* GPSR2 */ 4128c2ecf20Sopenharmony_ci /* AB21 */ 4138c2ecf20Sopenharmony_ci PINMUX_SINGLE(SDI1_DATA0), 4148c2ecf20Sopenharmony_ci /* AB20 */ 4158c2ecf20Sopenharmony_ci PINMUX_SINGLE(SDI1_DATA1), 4168c2ecf20Sopenharmony_ci /* AB19 */ 4178c2ecf20Sopenharmony_ci PINMUX_SINGLE(SDI1_DATA2), 4188c2ecf20Sopenharmony_ci /* AA19 */ 4198c2ecf20Sopenharmony_ci PINMUX_SINGLE(SDI1_DATA3), 4208c2ecf20Sopenharmony_ci /* J23 */ 4218c2ecf20Sopenharmony_ci PINMUX_SINGLE(AB_CLK), 4228c2ecf20Sopenharmony_ci /* D21 */ 4238c2ecf20Sopenharmony_ci PINMUX_SINGLE(AB_CSB0), 4248c2ecf20Sopenharmony_ci /* E21 */ 4258c2ecf20Sopenharmony_ci PINMUX_SINGLE(AB_CSB1), 4268c2ecf20Sopenharmony_ci /* F20 */ 4278c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_1_0_PORT71, AB_CSB2, SEL_AB_1_0_00), 4288c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_1_0_PORT71, CF_CSB0, SEL_AB_1_0_10), 4298c2ecf20Sopenharmony_ci /* G20 */ 4308c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_1_0_PORT72, AB_CSB3, SEL_AB_1_0_00), 4318c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_1_0_PORT72, CF_CSB1, SEL_AB_1_0_10), 4328c2ecf20Sopenharmony_ci /* J20 */ 4338c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_1_0_PORT73, AB_RDB, SEL_AB_1_0_00), 4348c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_1_0_PORT73, CF_IORDB, SEL_AB_1_0_10), 4358c2ecf20Sopenharmony_ci /* H20 */ 4368c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_1_0_PORT74, AB_WRB, SEL_AB_1_0_00), 4378c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_1_0_PORT74, CF_IOWRB, SEL_AB_1_0_10), 4388c2ecf20Sopenharmony_ci /* L20 */ 4398c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_1_0_PORT75, AB_WAIT, SEL_AB_1_0_00), 4408c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_1_0_PORT75, CF_IORDY, SEL_AB_1_0_10), 4418c2ecf20Sopenharmony_ci /* K20 */ 4428c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_1_0_PORT76, AB_ADV, SEL_AB_1_0_00), 4438c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_1_0_PORT76, CF_RESET, SEL_AB_1_0_10), 4448c2ecf20Sopenharmony_ci /* C23 */ 4458c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_1_0_PORT77, AB_AD0, SEL_AB_1_0_00), 4468c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_1_0_PORT77, CF_D00, SEL_AB_1_0_10), 4478c2ecf20Sopenharmony_ci /* C22 */ 4488c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_1_0_PORT78, AB_AD1, SEL_AB_1_0_00), 4498c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_1_0_PORT78, CF_D01, SEL_AB_1_0_10), 4508c2ecf20Sopenharmony_ci /* D23 */ 4518c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_1_0_PORT79, AB_AD2, SEL_AB_1_0_00), 4528c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_1_0_PORT79, CF_D02, SEL_AB_1_0_10), 4538c2ecf20Sopenharmony_ci /* D22 */ 4548c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_1_0_PORT80, AB_AD3, SEL_AB_1_0_00), 4558c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_1_0_PORT80, CF_D03, SEL_AB_1_0_10), 4568c2ecf20Sopenharmony_ci /* E23 */ 4578c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_1_0_PORT81, AB_AD4, SEL_AB_1_0_00), 4588c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_1_0_PORT81, CF_D04, SEL_AB_1_0_10), 4598c2ecf20Sopenharmony_ci /* E22 */ 4608c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_1_0_PORT82, AB_AD5, SEL_AB_1_0_00), 4618c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_1_0_PORT82, CF_D05, SEL_AB_1_0_10), 4628c2ecf20Sopenharmony_ci /* F23 */ 4638c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_1_0_PORT83, AB_AD6, SEL_AB_1_0_00), 4648c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_1_0_PORT83, CF_D06, SEL_AB_1_0_10), 4658c2ecf20Sopenharmony_ci /* F22 */ 4668c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_1_0_PORT84, AB_AD7, SEL_AB_1_0_00), 4678c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_1_0_PORT84, CF_D07, SEL_AB_1_0_10), 4688c2ecf20Sopenharmony_ci /* F21 */ 4698c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_3_2_PORT85, AB_AD8, SEL_AB_3_2_00), 4708c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_3_2_PORT85, DTV_BCLK_A, SEL_AB_3_2_01), 4718c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_3_2_PORT85, CF_D08, SEL_AB_3_2_10), 4728c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_3_2_PORT85, USI5_CLK_A, SEL_AB_3_2_11), 4738c2ecf20Sopenharmony_ci /* G23 */ 4748c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_3_2_PORT86, AB_AD9, SEL_AB_3_2_00), 4758c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_3_2_PORT86, DTV_PSYNC_A, SEL_AB_3_2_01), 4768c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_3_2_PORT86, CF_D09, SEL_AB_3_2_10), 4778c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_3_2_PORT86, USI5_DI_A, SEL_AB_3_2_11), 4788c2ecf20Sopenharmony_ci /* G22 */ 4798c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_3_2_PORT87, AB_AD10, SEL_AB_3_2_00), 4808c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_3_2_PORT87, DTV_VALID_A, SEL_AB_3_2_01), 4818c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_3_2_PORT87, CF_D10, SEL_AB_3_2_10), 4828c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_3_2_PORT87, USI5_DO_A, SEL_AB_3_2_11), 4838c2ecf20Sopenharmony_ci /* G21 */ 4848c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_3_2_PORT88, AB_AD11, SEL_AB_3_2_00), 4858c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_3_2_PORT88, DTV_DATA_A, SEL_AB_3_2_01), 4868c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_3_2_PORT88, CF_D11, SEL_AB_3_2_10), 4878c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_3_2_PORT88, USI5_CS0_A, SEL_AB_3_2_11), 4888c2ecf20Sopenharmony_ci /* H23 */ 4898c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_5_4_PORT89, AB_AD12, SEL_AB_5_4_00), 4908c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_5_4_PORT89, SDI2_DATA0, SEL_AB_5_4_01), 4918c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_5_4_PORT89, CF_D12, SEL_AB_5_4_10), 4928c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_5_4_PORT89, USI5_CS1_A, SEL_AB_5_4_11), 4938c2ecf20Sopenharmony_ci /* H22 */ 4948c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_5_4_PORT90, AB_AD13, SEL_AB_5_4_00), 4958c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_5_4_PORT90, SDI2_DATA1, SEL_AB_5_4_01), 4968c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_5_4_PORT90, CF_D13, SEL_AB_5_4_10), 4978c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_5_4_PORT90, USI5_CS2_A, SEL_AB_5_4_11), 4988c2ecf20Sopenharmony_ci /* H21 */ 4998c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_7_6_PORT91, AB_AD14, SEL_AB_7_6_00), 5008c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_7_6_PORT91, SDI2_DATA2, SEL_AB_7_6_01), 5018c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_7_6_PORT91, CF_D14, SEL_AB_7_6_10), 5028c2ecf20Sopenharmony_ci /* J22 */ 5038c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_7_6_PORT92, AB_AD15, SEL_AB_7_6_00), 5048c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_7_6_PORT92, SDI2_DATA3, SEL_AB_7_6_01), 5058c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_7_6_PORT92, CF_D15, SEL_AB_7_6_10), 5068c2ecf20Sopenharmony_ci /* J21 */ 5078c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_1_0_PORT93, AB_A17, SEL_AB_1_0_00), 5088c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_1_0_PORT93, CF_A00, SEL_AB_1_0_10), 5098c2ecf20Sopenharmony_ci /* K21 */ 5108c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_1_0_PORT94, AB_A18, SEL_AB_1_0_00), 5118c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_1_0_PORT94, CF_A01, SEL_AB_1_0_10), 5128c2ecf20Sopenharmony_ci /* L21 */ 5138c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_1_0_PORT95, AB_A19, SEL_AB_1_0_00), 5148c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_1_0_PORT95, CF_A02, SEL_AB_1_0_10), 5158c2ecf20Sopenharmony_ci 5168c2ecf20Sopenharmony_ci /* GPSR3 */ 5178c2ecf20Sopenharmony_ci /* M21 */ 5188c2ecf20Sopenharmony_ci PINMUX_SINGLE(AB_A20), 5198c2ecf20Sopenharmony_ci /* N21 */ 5208c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_9_8_PORT97, AB_A21, SEL_AB_9_8_00), 5218c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_9_8_PORT97, SDI2_CKO, SEL_AB_9_8_01), 5228c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_9_8_PORT97, CF_INTRQ, SEL_AB_9_8_10), 5238c2ecf20Sopenharmony_ci /* M20 */ 5248c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_9_8_PORT98, AB_A22, SEL_AB_9_8_00), 5258c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_9_8_PORT98, SDI2_CKI, SEL_AB_9_8_01), 5268c2ecf20Sopenharmony_ci /* N20 */ 5278c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_9_8_PORT99, AB_A23, SEL_AB_9_8_00), 5288c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_9_8_PORT99, SDI2_CMD, SEL_AB_9_8_01), 5298c2ecf20Sopenharmony_ci /* L18 */ 5308c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_11_10_PORT100, AB_A24, SEL_AB_11_10_00), 5318c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_11_10_PORT100, CF_INPACKB, SEL_AB_11_10_10), 5328c2ecf20Sopenharmony_ci /* M18 */ 5338c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_11_10_PORT101, AB_A25, SEL_AB_11_10_00), 5348c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_11_10_PORT101, CF_CDB1, SEL_AB_11_10_10), 5358c2ecf20Sopenharmony_ci /* N18 */ 5368c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_11_10_PORT102, AB_A26, SEL_AB_11_10_00), 5378c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_11_10_PORT102, CF_CDB2, SEL_AB_11_10_10), 5388c2ecf20Sopenharmony_ci /* L17 */ 5398c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_13_12_PORT103, AB_A27, SEL_AB_13_12_00), 5408c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_13_12_PORT103, AB_BEN0, SEL_AB_13_12_10), 5418c2ecf20Sopenharmony_ci /* M17 */ 5428c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_13_12_PORT104, AB_A28, SEL_AB_13_12_00), 5438c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(AB_13_12_PORT104, AB_BEN1, SEL_AB_13_12_10), 5448c2ecf20Sopenharmony_ci /* B8 */ 5458c2ecf20Sopenharmony_ci PINMUX_SINGLE(USI0_CS1), 5468c2ecf20Sopenharmony_ci /* B9 */ 5478c2ecf20Sopenharmony_ci PINMUX_SINGLE(USI0_CS2), 5488c2ecf20Sopenharmony_ci /* C10 */ 5498c2ecf20Sopenharmony_ci PINMUX_SINGLE(USI1_DI), 5508c2ecf20Sopenharmony_ci /* D10 */ 5518c2ecf20Sopenharmony_ci PINMUX_SINGLE(USI1_DO), 5528c2ecf20Sopenharmony_ci /* AB5 */ 5538c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(USI_1_0_PORT109, USI2_CLK, SEL_USI_1_0_00), 5548c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(USI_1_0_PORT109, DTV_BCLK_B, SEL_USI_1_0_01), 5558c2ecf20Sopenharmony_ci /* AA6 */ 5568c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(USI_1_0_PORT110, USI2_DI, SEL_USI_1_0_00), 5578c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(USI_1_0_PORT110, DTV_PSYNC_B, SEL_USI_1_0_01), 5588c2ecf20Sopenharmony_ci /* AA5 */ 5598c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(USI_1_0_PORT111, USI2_DO, SEL_USI_1_0_00), 5608c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(USI_1_0_PORT111, DTV_VALID_B, SEL_USI_1_0_01), 5618c2ecf20Sopenharmony_ci /* Y7 */ 5628c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(USI_1_0_PORT112, USI2_CS0, SEL_USI_1_0_00), 5638c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(USI_1_0_PORT112, DTV_DATA_B, SEL_USI_1_0_01), 5648c2ecf20Sopenharmony_ci /* AA7 */ 5658c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(USI_3_2_PORT113, USI2_CS1, SEL_USI_3_2_00), 5668c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(USI_3_2_PORT113, USI4_CS0, SEL_USI_3_2_01), 5678c2ecf20Sopenharmony_ci /* Y6 */ 5688c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(USI_3_2_PORT114, USI2_CS2, SEL_USI_3_2_00), 5698c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(USI_3_2_PORT114, USI4_CS1, SEL_USI_3_2_01), 5708c2ecf20Sopenharmony_ci /* AC5 */ 5718c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(USI_5_4_PORT115, USI3_CLK, SEL_USI_5_4_00), 5728c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(USI_5_4_PORT115, USI0_CS3, SEL_USI_5_4_01), 5738c2ecf20Sopenharmony_ci /* AC4 */ 5748c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(USI_5_4_PORT116, USI3_DI, SEL_USI_5_4_00), 5758c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(USI_5_4_PORT116, USI0_CS4, SEL_USI_5_4_01), 5768c2ecf20Sopenharmony_ci /* AC3 */ 5778c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(USI_5_4_PORT117, USI3_DO, SEL_USI_5_4_00), 5788c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(USI_5_4_PORT117, USI0_CS5, SEL_USI_5_4_01), 5798c2ecf20Sopenharmony_ci /* AB4 */ 5808c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(USI_5_4_PORT118, USI3_CS0, SEL_USI_5_4_00), 5818c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(USI_5_4_PORT118, USI0_CS6, SEL_USI_5_4_01), 5828c2ecf20Sopenharmony_ci /* AB3 */ 5838c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(USI_7_6_PORT119, USI4_CLK, SEL_USI_7_6_01), 5848c2ecf20Sopenharmony_ci /* AA4 */ 5858c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(USI_9_8_PORT120, PWM0, SEL_USI_9_8_00), 5868c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(USI_9_8_PORT120, USI4_DI, SEL_USI_9_8_01), 5878c2ecf20Sopenharmony_ci /* Y5 */ 5888c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(USI_9_8_PORT121, PWM1, SEL_USI_9_8_00), 5898c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(USI_9_8_PORT121, USI4_DO, SEL_USI_9_8_01), 5908c2ecf20Sopenharmony_ci /* V20 */ 5918c2ecf20Sopenharmony_ci PINMUX_SINGLE(NTSC_CLK), 5928c2ecf20Sopenharmony_ci /* P20 */ 5938c2ecf20Sopenharmony_ci PINMUX_SINGLE(NTSC_DATA0), 5948c2ecf20Sopenharmony_ci /* P18 */ 5958c2ecf20Sopenharmony_ci PINMUX_SINGLE(NTSC_DATA1), 5968c2ecf20Sopenharmony_ci /* R20 */ 5978c2ecf20Sopenharmony_ci PINMUX_SINGLE(NTSC_DATA2), 5988c2ecf20Sopenharmony_ci /* R18 */ 5998c2ecf20Sopenharmony_ci PINMUX_SINGLE(NTSC_DATA3), 6008c2ecf20Sopenharmony_ci /* T20 */ 6018c2ecf20Sopenharmony_ci PINMUX_SINGLE(NTSC_DATA4), 6028c2ecf20Sopenharmony_ci 6038c2ecf20Sopenharmony_ci /* GPRS3 */ 6048c2ecf20Sopenharmony_ci /* T18 */ 6058c2ecf20Sopenharmony_ci PINMUX_SINGLE(NTSC_DATA5), 6068c2ecf20Sopenharmony_ci /* U20 */ 6078c2ecf20Sopenharmony_ci PINMUX_SINGLE(NTSC_DATA6), 6088c2ecf20Sopenharmony_ci /* U18 */ 6098c2ecf20Sopenharmony_ci PINMUX_SINGLE(NTSC_DATA7), 6108c2ecf20Sopenharmony_ci /* W23 */ 6118c2ecf20Sopenharmony_ci PINMUX_SINGLE(CAM_CLKO), 6128c2ecf20Sopenharmony_ci /* Y23 */ 6138c2ecf20Sopenharmony_ci PINMUX_SINGLE(CAM_CLKI), 6148c2ecf20Sopenharmony_ci /* W22 */ 6158c2ecf20Sopenharmony_ci PINMUX_SINGLE(CAM_VS), 6168c2ecf20Sopenharmony_ci /* V21 */ 6178c2ecf20Sopenharmony_ci PINMUX_SINGLE(CAM_HS), 6188c2ecf20Sopenharmony_ci /* T21 */ 6198c2ecf20Sopenharmony_ci PINMUX_SINGLE(CAM_YUV0), 6208c2ecf20Sopenharmony_ci /* T22 */ 6218c2ecf20Sopenharmony_ci PINMUX_SINGLE(CAM_YUV1), 6228c2ecf20Sopenharmony_ci /* T23 */ 6238c2ecf20Sopenharmony_ci PINMUX_SINGLE(CAM_YUV2), 6248c2ecf20Sopenharmony_ci /* U21 */ 6258c2ecf20Sopenharmony_ci PINMUX_SINGLE(CAM_YUV3), 6268c2ecf20Sopenharmony_ci /* U22 */ 6278c2ecf20Sopenharmony_ci PINMUX_SINGLE(CAM_YUV4), 6288c2ecf20Sopenharmony_ci /* U23 */ 6298c2ecf20Sopenharmony_ci PINMUX_SINGLE(CAM_YUV5), 6308c2ecf20Sopenharmony_ci /* V22 */ 6318c2ecf20Sopenharmony_ci PINMUX_SINGLE(CAM_YUV6), 6328c2ecf20Sopenharmony_ci /* V23 */ 6338c2ecf20Sopenharmony_ci PINMUX_SINGLE(CAM_YUV7), 6348c2ecf20Sopenharmony_ci /* K22 */ 6358c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(HSI_1_0_PORT143, USI5_CLK_B, SEL_HSI_1_0_01), 6368c2ecf20Sopenharmony_ci /* K23 */ 6378c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(HSI_1_0_PORT144, USI5_DO_B, SEL_HSI_1_0_01), 6388c2ecf20Sopenharmony_ci /* L23 */ 6398c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(HSI_1_0_PORT145, USI5_CS0_B, SEL_HSI_1_0_01), 6408c2ecf20Sopenharmony_ci /* L22 */ 6418c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(HSI_1_0_PORT146, USI5_CS1_B, SEL_HSI_1_0_01), 6428c2ecf20Sopenharmony_ci /* N22 */ 6438c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(HSI_1_0_PORT147, USI5_CS2_B, SEL_HSI_1_0_01), 6448c2ecf20Sopenharmony_ci /* N23 */ 6458c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(HSI_1_0_PORT148, USI5_CS3_B, SEL_HSI_1_0_01), 6468c2ecf20Sopenharmony_ci /* M23 */ 6478c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(HSI_1_0_PORT149, USI5_CS4_B, SEL_HSI_1_0_01), 6488c2ecf20Sopenharmony_ci /* M22 */ 6498c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(HSI_1_0_PORT150, USI5_DI_B, SEL_HSI_1_0_01), 6508c2ecf20Sopenharmony_ci /* D13 */ 6518c2ecf20Sopenharmony_ci PINMUX_SINGLE(JT_TDO), 6528c2ecf20Sopenharmony_ci /* F13 */ 6538c2ecf20Sopenharmony_ci PINMUX_SINGLE(JT_TDOEN), 6548c2ecf20Sopenharmony_ci /* AA12 */ 6558c2ecf20Sopenharmony_ci PINMUX_SINGLE(USB_VBUS), 6568c2ecf20Sopenharmony_ci /* A12 */ 6578c2ecf20Sopenharmony_ci PINMUX_SINGLE(LOWPWR), 6588c2ecf20Sopenharmony_ci /* Y11 */ 6598c2ecf20Sopenharmony_ci PINMUX_SINGLE(UART1_RX), 6608c2ecf20Sopenharmony_ci /* Y10 */ 6618c2ecf20Sopenharmony_ci PINMUX_SINGLE(UART1_TX), 6628c2ecf20Sopenharmony_ci /* AA10 */ 6638c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(UART_1_0_PORT157, UART1_CTSB, SEL_UART_1_0_00), 6648c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(UART_1_0_PORT157, UART2_RX, SEL_UART_1_0_01), 6658c2ecf20Sopenharmony_ci /* AB10 */ 6668c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(UART_1_0_PORT158, UART1_RTSB, SEL_UART_1_0_00), 6678c2ecf20Sopenharmony_ci PINMUX_IPSR_NOFN(UART_1_0_PORT158, UART2_TX, SEL_UART_1_0_01), 6688c2ecf20Sopenharmony_ci}; 6698c2ecf20Sopenharmony_ci 6708c2ecf20Sopenharmony_ci 6718c2ecf20Sopenharmony_ci#define EMEV_MUX_PIN(name, pin, mark) \ 6728c2ecf20Sopenharmony_ci static const unsigned int name##_pins[] = { pin }; \ 6738c2ecf20Sopenharmony_ci static const unsigned int name##_mux[] = { mark##_MARK } 6748c2ecf20Sopenharmony_ci 6758c2ecf20Sopenharmony_ci/* = [ System ] =========== */ 6768c2ecf20Sopenharmony_ciEMEV_MUX_PIN(err_rst_reqb, 3, ERR_RST_REQB); 6778c2ecf20Sopenharmony_ciEMEV_MUX_PIN(ref_clko, 4, REF_CLKO); 6788c2ecf20Sopenharmony_ciEMEV_MUX_PIN(ext_clki, 5, EXT_CLKI); 6798c2ecf20Sopenharmony_ciEMEV_MUX_PIN(lowpwr, 154, LOWPWR); 6808c2ecf20Sopenharmony_ci 6818c2ecf20Sopenharmony_ci/* = [ External Memory] === */ 6828c2ecf20Sopenharmony_cistatic const unsigned int ab_main_pins[] = { 6838c2ecf20Sopenharmony_ci /* AB_RDB, AB_WRB */ 6848c2ecf20Sopenharmony_ci 73, 74, 6858c2ecf20Sopenharmony_ci /* AB_AD[0:15] */ 6868c2ecf20Sopenharmony_ci 77, 78, 79, 80, 6878c2ecf20Sopenharmony_ci 81, 82, 83, 84, 6888c2ecf20Sopenharmony_ci 85, 86, 87, 88, 6898c2ecf20Sopenharmony_ci 89, 90, 91, 92, 6908c2ecf20Sopenharmony_ci}; 6918c2ecf20Sopenharmony_cistatic const unsigned int ab_main_mux[] = { 6928c2ecf20Sopenharmony_ci AB_RDB_MARK, AB_WRB_MARK, 6938c2ecf20Sopenharmony_ci AB_AD0_MARK, AB_AD1_MARK, AB_AD2_MARK, AB_AD3_MARK, 6948c2ecf20Sopenharmony_ci AB_AD4_MARK, AB_AD5_MARK, AB_AD6_MARK, AB_AD7_MARK, 6958c2ecf20Sopenharmony_ci AB_AD8_MARK, AB_AD9_MARK, AB_AD10_MARK, AB_AD11_MARK, 6968c2ecf20Sopenharmony_ci AB_AD12_MARK, AB_AD13_MARK, AB_AD14_MARK, AB_AD15_MARK, 6978c2ecf20Sopenharmony_ci}; 6988c2ecf20Sopenharmony_ci 6998c2ecf20Sopenharmony_ciEMEV_MUX_PIN(ab_clk, 68, AB_CLK); 7008c2ecf20Sopenharmony_ciEMEV_MUX_PIN(ab_csb0, 69, AB_CSB0); 7018c2ecf20Sopenharmony_ciEMEV_MUX_PIN(ab_csb1, 70, AB_CSB1); 7028c2ecf20Sopenharmony_ciEMEV_MUX_PIN(ab_csb2, 71, AB_CSB2); 7038c2ecf20Sopenharmony_ciEMEV_MUX_PIN(ab_csb3, 72, AB_CSB3); 7048c2ecf20Sopenharmony_ciEMEV_MUX_PIN(ab_wait, 75, AB_WAIT); 7058c2ecf20Sopenharmony_ciEMEV_MUX_PIN(ab_adv, 76, AB_ADV); 7068c2ecf20Sopenharmony_ciEMEV_MUX_PIN(ab_a17, 93, AB_A17); 7078c2ecf20Sopenharmony_ciEMEV_MUX_PIN(ab_a18, 94, AB_A18); 7088c2ecf20Sopenharmony_ciEMEV_MUX_PIN(ab_a19, 95, AB_A19); 7098c2ecf20Sopenharmony_ciEMEV_MUX_PIN(ab_a20, 96, AB_A20); 7108c2ecf20Sopenharmony_ciEMEV_MUX_PIN(ab_a21, 97, AB_A21); 7118c2ecf20Sopenharmony_ciEMEV_MUX_PIN(ab_a22, 98, AB_A22); 7128c2ecf20Sopenharmony_ciEMEV_MUX_PIN(ab_a23, 99, AB_A23); 7138c2ecf20Sopenharmony_ciEMEV_MUX_PIN(ab_a24, 100, AB_A24); 7148c2ecf20Sopenharmony_ciEMEV_MUX_PIN(ab_a25, 101, AB_A25); 7158c2ecf20Sopenharmony_ciEMEV_MUX_PIN(ab_a26, 102, AB_A26); 7168c2ecf20Sopenharmony_ciEMEV_MUX_PIN(ab_a27, 103, AB_A27); 7178c2ecf20Sopenharmony_ciEMEV_MUX_PIN(ab_a28, 104, AB_A28); 7188c2ecf20Sopenharmony_ciEMEV_MUX_PIN(ab_ben0, 103, AB_BEN0); 7198c2ecf20Sopenharmony_ciEMEV_MUX_PIN(ab_ben1, 104, AB_BEN1); 7208c2ecf20Sopenharmony_ci 7218c2ecf20Sopenharmony_ci/* = [ CAM ] ============== */ 7228c2ecf20Sopenharmony_ciEMEV_MUX_PIN(cam_clko, 131, CAM_CLKO); 7238c2ecf20Sopenharmony_cistatic const unsigned int cam_pins[] = { 7248c2ecf20Sopenharmony_ci /* CLKI, VS, HS */ 7258c2ecf20Sopenharmony_ci 132, 133, 134, 7268c2ecf20Sopenharmony_ci /* CAM_YUV[0:7] */ 7278c2ecf20Sopenharmony_ci 135, 136, 137, 138, 7288c2ecf20Sopenharmony_ci 139, 140, 141, 142, 7298c2ecf20Sopenharmony_ci}; 7308c2ecf20Sopenharmony_cistatic const unsigned int cam_mux[] = { 7318c2ecf20Sopenharmony_ci CAM_CLKI_MARK, CAM_VS_MARK, CAM_HS_MARK, 7328c2ecf20Sopenharmony_ci CAM_YUV0_MARK, CAM_YUV1_MARK, CAM_YUV2_MARK, CAM_YUV3_MARK, 7338c2ecf20Sopenharmony_ci CAM_YUV4_MARK, CAM_YUV5_MARK, CAM_YUV6_MARK, CAM_YUV7_MARK, 7348c2ecf20Sopenharmony_ci}; 7358c2ecf20Sopenharmony_ci 7368c2ecf20Sopenharmony_ci/* = [ CF ] -============== */ 7378c2ecf20Sopenharmony_cistatic const unsigned int cf_ctrl_pins[] = { 7388c2ecf20Sopenharmony_ci /* CSB0, CSB1, IORDB, IOWRB, IORDY, RESET, 7398c2ecf20Sopenharmony_ci * A00, A01, A02, INTRQ, INPACKB, CDB1, CDB2 */ 7408c2ecf20Sopenharmony_ci 71, 72, 73, 74, 7418c2ecf20Sopenharmony_ci 75, 76, 93, 94, 7428c2ecf20Sopenharmony_ci 95, 97, 100, 101, 7438c2ecf20Sopenharmony_ci 102, 7448c2ecf20Sopenharmony_ci}; 7458c2ecf20Sopenharmony_cistatic const unsigned int cf_ctrl_mux[] = { 7468c2ecf20Sopenharmony_ci CF_CSB0_MARK, CF_CSB1_MARK, CF_IORDB_MARK, CF_IOWRB_MARK, 7478c2ecf20Sopenharmony_ci CF_IORDY_MARK, CF_RESET_MARK, CF_A00_MARK, CF_A01_MARK, 7488c2ecf20Sopenharmony_ci CF_A02_MARK, CF_INTRQ_MARK, CF_INPACKB_MARK, CF_CDB1_MARK, 7498c2ecf20Sopenharmony_ci CF_CDB2_MARK, 7508c2ecf20Sopenharmony_ci}; 7518c2ecf20Sopenharmony_ci 7528c2ecf20Sopenharmony_cistatic const unsigned int cf_data8_pins[] = { 7538c2ecf20Sopenharmony_ci /* CF_D[0:7] */ 7548c2ecf20Sopenharmony_ci 77, 78, 79, 80, 7558c2ecf20Sopenharmony_ci 81, 82, 83, 84, 7568c2ecf20Sopenharmony_ci}; 7578c2ecf20Sopenharmony_cistatic const unsigned int cf_data8_mux[] = { 7588c2ecf20Sopenharmony_ci CF_D00_MARK, CF_D01_MARK, CF_D02_MARK, CF_D03_MARK, 7598c2ecf20Sopenharmony_ci CF_D04_MARK, CF_D05_MARK, CF_D06_MARK, CF_D07_MARK, 7608c2ecf20Sopenharmony_ci}; 7618c2ecf20Sopenharmony_cistatic const unsigned int cf_data16_pins[] = { 7628c2ecf20Sopenharmony_ci /* CF_D[0:15] */ 7638c2ecf20Sopenharmony_ci 77, 78, 79, 80, 7648c2ecf20Sopenharmony_ci 81, 82, 83, 84, 7658c2ecf20Sopenharmony_ci 85, 86, 87, 88, 7668c2ecf20Sopenharmony_ci 89, 90, 91, 92, 7678c2ecf20Sopenharmony_ci}; 7688c2ecf20Sopenharmony_cistatic const unsigned int cf_data16_mux[] = { 7698c2ecf20Sopenharmony_ci CF_D00_MARK, CF_D01_MARK, CF_D02_MARK, CF_D03_MARK, 7708c2ecf20Sopenharmony_ci CF_D04_MARK, CF_D05_MARK, CF_D06_MARK, CF_D07_MARK, 7718c2ecf20Sopenharmony_ci CF_D08_MARK, CF_D09_MARK, CF_D10_MARK, CF_D11_MARK, 7728c2ecf20Sopenharmony_ci CF_D12_MARK, CF_D13_MARK, CF_D14_MARK, CF_D15_MARK, 7738c2ecf20Sopenharmony_ci}; 7748c2ecf20Sopenharmony_ci 7758c2ecf20Sopenharmony_ci/* = [ DTV ] ============== */ 7768c2ecf20Sopenharmony_cistatic const unsigned int dtv_a_pins[] = { 7778c2ecf20Sopenharmony_ci /* BCLK, PSYNC, VALID, DATA */ 7788c2ecf20Sopenharmony_ci 85, 86, 87, 88, 7798c2ecf20Sopenharmony_ci}; 7808c2ecf20Sopenharmony_cistatic const unsigned int dtv_a_mux[] = { 7818c2ecf20Sopenharmony_ci DTV_BCLK_A_MARK, DTV_PSYNC_A_MARK, DTV_VALID_A_MARK, DTV_DATA_A_MARK, 7828c2ecf20Sopenharmony_ci}; 7838c2ecf20Sopenharmony_ci 7848c2ecf20Sopenharmony_cistatic const unsigned int dtv_b_pins[] = { 7858c2ecf20Sopenharmony_ci /* BCLK, PSYNC, VALID, DATA */ 7868c2ecf20Sopenharmony_ci 109, 110, 111, 112, 7878c2ecf20Sopenharmony_ci}; 7888c2ecf20Sopenharmony_cistatic const unsigned int dtv_b_mux[] = { 7898c2ecf20Sopenharmony_ci DTV_BCLK_B_MARK, DTV_PSYNC_B_MARK, DTV_VALID_B_MARK, DTV_DATA_B_MARK, 7908c2ecf20Sopenharmony_ci}; 7918c2ecf20Sopenharmony_ci 7928c2ecf20Sopenharmony_ci/* = [ IIC0 ] ============= */ 7938c2ecf20Sopenharmony_cistatic const unsigned int iic0_pins[] = { 7948c2ecf20Sopenharmony_ci /* SCL, SDA */ 7958c2ecf20Sopenharmony_ci 44, 45, 7968c2ecf20Sopenharmony_ci}; 7978c2ecf20Sopenharmony_cistatic const unsigned int iic0_mux[] = { 7988c2ecf20Sopenharmony_ci IIC0_SCL_MARK, IIC0_SDA_MARK, 7998c2ecf20Sopenharmony_ci}; 8008c2ecf20Sopenharmony_ci 8018c2ecf20Sopenharmony_ci/* = [ IIC1 ] ============= */ 8028c2ecf20Sopenharmony_cistatic const unsigned int iic1_pins[] = { 8038c2ecf20Sopenharmony_ci /* SCL, SDA */ 8048c2ecf20Sopenharmony_ci 46, 47, 8058c2ecf20Sopenharmony_ci}; 8068c2ecf20Sopenharmony_cistatic const unsigned int iic1_mux[] = { 8078c2ecf20Sopenharmony_ci IIC1_SCL_MARK, IIC1_SDA_MARK, 8088c2ecf20Sopenharmony_ci}; 8098c2ecf20Sopenharmony_ci 8108c2ecf20Sopenharmony_ci/* = [ JTAG ] ============= */ 8118c2ecf20Sopenharmony_cistatic const unsigned int jtag_pins[] = { 8128c2ecf20Sopenharmony_ci /* SEL, TDO, TDOEN */ 8138c2ecf20Sopenharmony_ci 2, 151, 152, 8148c2ecf20Sopenharmony_ci}; 8158c2ecf20Sopenharmony_cistatic const unsigned int jtag_mux[] = { 8168c2ecf20Sopenharmony_ci JT_SEL_MARK, JT_TDO_MARK, JT_TDOEN_MARK, 8178c2ecf20Sopenharmony_ci}; 8188c2ecf20Sopenharmony_ci 8198c2ecf20Sopenharmony_ci/* = [ LCD/YUV ] ========== */ 8208c2ecf20Sopenharmony_ciEMEV_MUX_PIN(lcd3_pxclk, 18, LCD3_PXCLK); 8218c2ecf20Sopenharmony_ciEMEV_MUX_PIN(lcd3_pxclkb, 19, LCD3_PXCLKB); 8228c2ecf20Sopenharmony_ciEMEV_MUX_PIN(lcd3_clk_i, 20, LCD3_CLK_I); 8238c2ecf20Sopenharmony_ci 8248c2ecf20Sopenharmony_cistatic const unsigned int lcd3_sync_pins[] = { 8258c2ecf20Sopenharmony_ci /* HS, VS, DE */ 8268c2ecf20Sopenharmony_ci 21, 22, 23, 8278c2ecf20Sopenharmony_ci}; 8288c2ecf20Sopenharmony_cistatic const unsigned int lcd3_sync_mux[] = { 8298c2ecf20Sopenharmony_ci LCD3_HS_MARK, LCD3_VS_MARK, LCD3_DE_MARK, 8308c2ecf20Sopenharmony_ci}; 8318c2ecf20Sopenharmony_ci 8328c2ecf20Sopenharmony_cistatic const unsigned int lcd3_rgb888_pins[] = { 8338c2ecf20Sopenharmony_ci /* R[0:7], G[0:7], B[0:7] */ 8348c2ecf20Sopenharmony_ci 32, 33, 34, 35, 8358c2ecf20Sopenharmony_ci 36, 37, 38, 39, 8368c2ecf20Sopenharmony_ci 40, 41, PIN_LCD3_G2, PIN_LCD3_G3, 8378c2ecf20Sopenharmony_ci PIN_LCD3_G4, PIN_LCD3_G5, PIN_LCD3_G6, PIN_LCD3_G7, 8388c2ecf20Sopenharmony_ci 42, 43, PIN_LCD3_B2, PIN_LCD3_B3, 8398c2ecf20Sopenharmony_ci PIN_LCD3_B4, PIN_LCD3_B5, PIN_LCD3_B6, PIN_LCD3_B7 8408c2ecf20Sopenharmony_ci}; 8418c2ecf20Sopenharmony_cistatic const unsigned int lcd3_rgb888_mux[] = { 8428c2ecf20Sopenharmony_ci LCD3_R0_MARK, LCD3_R1_MARK, LCD3_R2_MARK, LCD3_R3_MARK, 8438c2ecf20Sopenharmony_ci LCD3_R4_MARK, LCD3_R5_MARK, LCD3_R6_MARK, LCD3_R7_MARK, 8448c2ecf20Sopenharmony_ci LCD3_G0_MARK, LCD3_G1_MARK, LCD3_G2_MARK, LCD3_G3_MARK, 8458c2ecf20Sopenharmony_ci LCD3_G4_MARK, LCD3_G5_MARK, LCD3_G6_MARK, LCD3_G7_MARK, 8468c2ecf20Sopenharmony_ci LCD3_B0_MARK, LCD3_B1_MARK, LCD3_B2_MARK, LCD3_B3_MARK, 8478c2ecf20Sopenharmony_ci LCD3_B4_MARK, LCD3_B5_MARK, LCD3_B6_MARK, LCD3_B7_MARK, 8488c2ecf20Sopenharmony_ci}; 8498c2ecf20Sopenharmony_ci 8508c2ecf20Sopenharmony_ciEMEV_MUX_PIN(yuv3_clk_i, 20, YUV3_CLK_I); 8518c2ecf20Sopenharmony_cistatic const unsigned int yuv3_pins[] = { 8528c2ecf20Sopenharmony_ci /* CLK_O, HS, VS, DE */ 8538c2ecf20Sopenharmony_ci 18, 21, 22, 23, 8548c2ecf20Sopenharmony_ci /* YUV3_D[0:15] */ 8558c2ecf20Sopenharmony_ci 40, 41, PIN_LCD3_G2, PIN_LCD3_G3, 8568c2ecf20Sopenharmony_ci PIN_LCD3_G4, PIN_LCD3_G5, PIN_LCD3_G6, PIN_LCD3_G7, 8578c2ecf20Sopenharmony_ci 42, 43, PIN_LCD3_B2, PIN_LCD3_B3, 8588c2ecf20Sopenharmony_ci PIN_LCD3_B4, PIN_LCD3_B5, PIN_LCD3_B6, PIN_LCD3_B7, 8598c2ecf20Sopenharmony_ci}; 8608c2ecf20Sopenharmony_cistatic const unsigned int yuv3_mux[] = { 8618c2ecf20Sopenharmony_ci YUV3_CLK_O_MARK, YUV3_HS_MARK, YUV3_VS_MARK, YUV3_DE_MARK, 8628c2ecf20Sopenharmony_ci YUV3_D0_MARK, YUV3_D1_MARK, YUV3_D2_MARK, YUV3_D3_MARK, 8638c2ecf20Sopenharmony_ci YUV3_D4_MARK, YUV3_D5_MARK, YUV3_D6_MARK, YUV3_D7_MARK, 8648c2ecf20Sopenharmony_ci YUV3_D8_MARK, YUV3_D9_MARK, YUV3_D10_MARK, YUV3_D11_MARK, 8658c2ecf20Sopenharmony_ci YUV3_D12_MARK, YUV3_D13_MARK, YUV3_D14_MARK, YUV3_D15_MARK, 8668c2ecf20Sopenharmony_ci}; 8678c2ecf20Sopenharmony_ci 8688c2ecf20Sopenharmony_ci/* = [ NTSC ] ============= */ 8698c2ecf20Sopenharmony_ciEMEV_MUX_PIN(ntsc_clk, 122, NTSC_CLK); 8708c2ecf20Sopenharmony_cistatic const unsigned int ntsc_data_pins[] = { 8718c2ecf20Sopenharmony_ci /* NTSC_DATA[0:7] */ 8728c2ecf20Sopenharmony_ci 123, 124, 125, 126, 8738c2ecf20Sopenharmony_ci 127, 128, 129, 130, 8748c2ecf20Sopenharmony_ci}; 8758c2ecf20Sopenharmony_cistatic const unsigned int ntsc_data_mux[] = { 8768c2ecf20Sopenharmony_ci NTSC_DATA0_MARK, NTSC_DATA1_MARK, NTSC_DATA2_MARK, NTSC_DATA3_MARK, 8778c2ecf20Sopenharmony_ci NTSC_DATA4_MARK, NTSC_DATA5_MARK, NTSC_DATA6_MARK, NTSC_DATA7_MARK, 8788c2ecf20Sopenharmony_ci}; 8798c2ecf20Sopenharmony_ci 8808c2ecf20Sopenharmony_ci/* = [ PWM0 ] ============= */ 8818c2ecf20Sopenharmony_ciEMEV_MUX_PIN(pwm0, 120, PWM0); 8828c2ecf20Sopenharmony_ci 8838c2ecf20Sopenharmony_ci/* = [ PWM1 ] ============= */ 8848c2ecf20Sopenharmony_ciEMEV_MUX_PIN(pwm1, 121, PWM1); 8858c2ecf20Sopenharmony_ci 8868c2ecf20Sopenharmony_ci/* = [ SD ] =============== */ 8878c2ecf20Sopenharmony_ciEMEV_MUX_PIN(sd_cki, 48, SD_CKI); 8888c2ecf20Sopenharmony_ci 8898c2ecf20Sopenharmony_ci/* = [ SDIO0 ] ============ */ 8908c2ecf20Sopenharmony_cistatic const unsigned int sdi0_ctrl_pins[] = { 8918c2ecf20Sopenharmony_ci /* CKO, CKI, CMD */ 8928c2ecf20Sopenharmony_ci 50, 51, 52, 8938c2ecf20Sopenharmony_ci}; 8948c2ecf20Sopenharmony_cistatic const unsigned int sdi0_ctrl_mux[] = { 8958c2ecf20Sopenharmony_ci SDI0_CKO_MARK, SDI0_CKI_MARK, SDI0_CMD_MARK, 8968c2ecf20Sopenharmony_ci}; 8978c2ecf20Sopenharmony_ci 8988c2ecf20Sopenharmony_cistatic const unsigned int sdi0_data1_pins[] = { 8998c2ecf20Sopenharmony_ci /* SDI0_DATA[0] */ 9008c2ecf20Sopenharmony_ci 53, 9018c2ecf20Sopenharmony_ci}; 9028c2ecf20Sopenharmony_cistatic const unsigned int sdi0_data1_mux[] = { 9038c2ecf20Sopenharmony_ci SDI0_DATA0_MARK, 9048c2ecf20Sopenharmony_ci}; 9058c2ecf20Sopenharmony_cistatic const unsigned int sdi0_data4_pins[] = { 9068c2ecf20Sopenharmony_ci /* SDI0_DATA[0:3] */ 9078c2ecf20Sopenharmony_ci 53, 54, 55, 56, 9088c2ecf20Sopenharmony_ci}; 9098c2ecf20Sopenharmony_cistatic const unsigned int sdi0_data4_mux[] = { 9108c2ecf20Sopenharmony_ci SDI0_DATA0_MARK, SDI0_DATA1_MARK, SDI0_DATA2_MARK, SDI0_DATA3_MARK, 9118c2ecf20Sopenharmony_ci}; 9128c2ecf20Sopenharmony_cistatic const unsigned int sdi0_data8_pins[] = { 9138c2ecf20Sopenharmony_ci /* SDI0_DATA[0:7] */ 9148c2ecf20Sopenharmony_ci 53, 54, 55, 56, 9158c2ecf20Sopenharmony_ci 57, 58, 59, 60 9168c2ecf20Sopenharmony_ci}; 9178c2ecf20Sopenharmony_cistatic const unsigned int sdi0_data8_mux[] = { 9188c2ecf20Sopenharmony_ci SDI0_DATA0_MARK, SDI0_DATA1_MARK, SDI0_DATA2_MARK, SDI0_DATA3_MARK, 9198c2ecf20Sopenharmony_ci SDI0_DATA4_MARK, SDI0_DATA5_MARK, SDI0_DATA6_MARK, SDI0_DATA7_MARK, 9208c2ecf20Sopenharmony_ci}; 9218c2ecf20Sopenharmony_ci 9228c2ecf20Sopenharmony_ci/* = [ SDIO1 ] ============ */ 9238c2ecf20Sopenharmony_cistatic const unsigned int sdi1_ctrl_pins[] = { 9248c2ecf20Sopenharmony_ci /* CKO, CKI, CMD */ 9258c2ecf20Sopenharmony_ci 61, 62, 63, 9268c2ecf20Sopenharmony_ci}; 9278c2ecf20Sopenharmony_cistatic const unsigned int sdi1_ctrl_mux[] = { 9288c2ecf20Sopenharmony_ci SDI1_CKO_MARK, SDI1_CKI_MARK, SDI1_CMD_MARK, 9298c2ecf20Sopenharmony_ci}; 9308c2ecf20Sopenharmony_ci 9318c2ecf20Sopenharmony_cistatic const unsigned int sdi1_data1_pins[] = { 9328c2ecf20Sopenharmony_ci /* SDI1_DATA[0] */ 9338c2ecf20Sopenharmony_ci 64, 9348c2ecf20Sopenharmony_ci}; 9358c2ecf20Sopenharmony_cistatic const unsigned int sdi1_data1_mux[] = { 9368c2ecf20Sopenharmony_ci SDI1_DATA0_MARK, 9378c2ecf20Sopenharmony_ci}; 9388c2ecf20Sopenharmony_cistatic const unsigned int sdi1_data4_pins[] = { 9398c2ecf20Sopenharmony_ci /* SDI1_DATA[0:3] */ 9408c2ecf20Sopenharmony_ci 64, 65, 66, 67, 9418c2ecf20Sopenharmony_ci}; 9428c2ecf20Sopenharmony_cistatic const unsigned int sdi1_data4_mux[] = { 9438c2ecf20Sopenharmony_ci SDI1_DATA0_MARK, SDI1_DATA1_MARK, SDI1_DATA2_MARK, SDI1_DATA3_MARK, 9448c2ecf20Sopenharmony_ci}; 9458c2ecf20Sopenharmony_ci 9468c2ecf20Sopenharmony_ci/* = [ SDIO2 ] ============ */ 9478c2ecf20Sopenharmony_cistatic const unsigned int sdi2_ctrl_pins[] = { 9488c2ecf20Sopenharmony_ci /* CKO, CKI, CMD */ 9498c2ecf20Sopenharmony_ci 97, 98, 99, 9508c2ecf20Sopenharmony_ci}; 9518c2ecf20Sopenharmony_cistatic const unsigned int sdi2_ctrl_mux[] = { 9528c2ecf20Sopenharmony_ci SDI2_CKO_MARK, SDI2_CKI_MARK, SDI2_CMD_MARK, 9538c2ecf20Sopenharmony_ci}; 9548c2ecf20Sopenharmony_ci 9558c2ecf20Sopenharmony_cistatic const unsigned int sdi2_data1_pins[] = { 9568c2ecf20Sopenharmony_ci /* SDI2_DATA[0] */ 9578c2ecf20Sopenharmony_ci 89, 9588c2ecf20Sopenharmony_ci}; 9598c2ecf20Sopenharmony_cistatic const unsigned int sdi2_data1_mux[] = { 9608c2ecf20Sopenharmony_ci SDI2_DATA0_MARK, 9618c2ecf20Sopenharmony_ci}; 9628c2ecf20Sopenharmony_cistatic const unsigned int sdi2_data4_pins[] = { 9638c2ecf20Sopenharmony_ci /* SDI2_DATA[0:3] */ 9648c2ecf20Sopenharmony_ci 89, 90, 91, 92, 9658c2ecf20Sopenharmony_ci}; 9668c2ecf20Sopenharmony_cistatic const unsigned int sdi2_data4_mux[] = { 9678c2ecf20Sopenharmony_ci SDI2_DATA0_MARK, SDI2_DATA1_MARK, SDI2_DATA2_MARK, SDI2_DATA3_MARK, 9688c2ecf20Sopenharmony_ci}; 9698c2ecf20Sopenharmony_ci 9708c2ecf20Sopenharmony_ci/* = [ TP33 ] ============= */ 9718c2ecf20Sopenharmony_cistatic const unsigned int tp33_pins[] = { 9728c2ecf20Sopenharmony_ci /* CLK, CTRL */ 9738c2ecf20Sopenharmony_ci 38, 39, 9748c2ecf20Sopenharmony_ci /* TP33_DATA[0:15] */ 9758c2ecf20Sopenharmony_ci 40, 41, PIN_LCD3_G2, PIN_LCD3_G3, 9768c2ecf20Sopenharmony_ci PIN_LCD3_G4, PIN_LCD3_G5, PIN_LCD3_G6, PIN_LCD3_G7, 9778c2ecf20Sopenharmony_ci 42, 43, PIN_LCD3_B2, PIN_LCD3_B3, 9788c2ecf20Sopenharmony_ci PIN_LCD3_B4, PIN_LCD3_B5, PIN_LCD3_B6, PIN_LCD3_B7, 9798c2ecf20Sopenharmony_ci}; 9808c2ecf20Sopenharmony_cistatic const unsigned int tp33_mux[] = { 9818c2ecf20Sopenharmony_ci TP33_CLK_MARK, TP33_CTRL_MARK, 9828c2ecf20Sopenharmony_ci TP33_DATA0_MARK, TP33_DATA1_MARK, TP33_DATA2_MARK, TP33_DATA3_MARK, 9838c2ecf20Sopenharmony_ci TP33_DATA4_MARK, TP33_DATA5_MARK, TP33_DATA6_MARK, TP33_DATA7_MARK, 9848c2ecf20Sopenharmony_ci TP33_DATA8_MARK, TP33_DATA9_MARK, TP33_DATA10_MARK, TP33_DATA11_MARK, 9858c2ecf20Sopenharmony_ci TP33_DATA12_MARK, TP33_DATA13_MARK, TP33_DATA14_MARK, TP33_DATA15_MARK, 9868c2ecf20Sopenharmony_ci}; 9878c2ecf20Sopenharmony_ci 9888c2ecf20Sopenharmony_ci/* = [ UART1 ] ============ */ 9898c2ecf20Sopenharmony_cistatic const unsigned int uart1_data_pins[] = { 9908c2ecf20Sopenharmony_ci /* RX, TX */ 9918c2ecf20Sopenharmony_ci 155, 156, 9928c2ecf20Sopenharmony_ci}; 9938c2ecf20Sopenharmony_cistatic const unsigned int uart1_data_mux[] = { 9948c2ecf20Sopenharmony_ci UART1_RX_MARK, UART1_TX_MARK, 9958c2ecf20Sopenharmony_ci}; 9968c2ecf20Sopenharmony_ci 9978c2ecf20Sopenharmony_cistatic const unsigned int uart1_ctrl_pins[] = { 9988c2ecf20Sopenharmony_ci /* CTSB, RTSB */ 9998c2ecf20Sopenharmony_ci 157, 158, 10008c2ecf20Sopenharmony_ci}; 10018c2ecf20Sopenharmony_cistatic const unsigned int uart1_ctrl_mux[] = { 10028c2ecf20Sopenharmony_ci UART1_CTSB_MARK, UART1_RTSB_MARK, 10038c2ecf20Sopenharmony_ci}; 10048c2ecf20Sopenharmony_ci 10058c2ecf20Sopenharmony_ci/* = [ UART2 ] ============ */ 10068c2ecf20Sopenharmony_cistatic const unsigned int uart2_data_pins[] = { 10078c2ecf20Sopenharmony_ci /* RX, TX */ 10088c2ecf20Sopenharmony_ci 157, 158, 10098c2ecf20Sopenharmony_ci}; 10108c2ecf20Sopenharmony_cistatic const unsigned int uart2_data_mux[] = { 10118c2ecf20Sopenharmony_ci UART2_RX_MARK, UART2_TX_MARK, 10128c2ecf20Sopenharmony_ci}; 10138c2ecf20Sopenharmony_ci 10148c2ecf20Sopenharmony_ci/* = [ UART3 ] ============ */ 10158c2ecf20Sopenharmony_cistatic const unsigned int uart3_data_pins[] = { 10168c2ecf20Sopenharmony_ci /* RX, TX */ 10178c2ecf20Sopenharmony_ci 46, 47, 10188c2ecf20Sopenharmony_ci}; 10198c2ecf20Sopenharmony_cistatic const unsigned int uart3_data_mux[] = { 10208c2ecf20Sopenharmony_ci UART3_RX_MARK, UART3_TX_MARK, 10218c2ecf20Sopenharmony_ci}; 10228c2ecf20Sopenharmony_ci 10238c2ecf20Sopenharmony_ci/* = [ USB ] ============== */ 10248c2ecf20Sopenharmony_ciEMEV_MUX_PIN(usb_vbus, 153, USB_VBUS); 10258c2ecf20Sopenharmony_ci 10268c2ecf20Sopenharmony_ci/* = [ USI0 ] ============== */ 10278c2ecf20Sopenharmony_ciEMEV_MUX_PIN(usi0_cs1, 105, USI0_CS1); 10288c2ecf20Sopenharmony_ciEMEV_MUX_PIN(usi0_cs2, 106, USI0_CS2); 10298c2ecf20Sopenharmony_ciEMEV_MUX_PIN(usi0_cs3, 115, USI0_CS3); 10308c2ecf20Sopenharmony_ciEMEV_MUX_PIN(usi0_cs4, 116, USI0_CS4); 10318c2ecf20Sopenharmony_ciEMEV_MUX_PIN(usi0_cs5, 117, USI0_CS5); 10328c2ecf20Sopenharmony_ciEMEV_MUX_PIN(usi0_cs6, 118, USI0_CS6); 10338c2ecf20Sopenharmony_ci 10348c2ecf20Sopenharmony_ci/* = [ USI1 ] ============== */ 10358c2ecf20Sopenharmony_cistatic const unsigned int usi1_pins[] = { 10368c2ecf20Sopenharmony_ci /* DI, DO*/ 10378c2ecf20Sopenharmony_ci 107, 108, 10388c2ecf20Sopenharmony_ci}; 10398c2ecf20Sopenharmony_cistatic const unsigned int usi1_mux[] = { 10408c2ecf20Sopenharmony_ci USI1_DI_MARK, USI1_DO_MARK, 10418c2ecf20Sopenharmony_ci}; 10428c2ecf20Sopenharmony_ci 10438c2ecf20Sopenharmony_ci/* = [ USI2 ] ============== */ 10448c2ecf20Sopenharmony_cistatic const unsigned int usi2_pins[] = { 10458c2ecf20Sopenharmony_ci /* CLK, DI, DO*/ 10468c2ecf20Sopenharmony_ci 109, 110, 111, 10478c2ecf20Sopenharmony_ci}; 10488c2ecf20Sopenharmony_cistatic const unsigned int usi2_mux[] = { 10498c2ecf20Sopenharmony_ci USI2_CLK_MARK, USI2_DI_MARK, USI2_DO_MARK, 10508c2ecf20Sopenharmony_ci}; 10518c2ecf20Sopenharmony_ciEMEV_MUX_PIN(usi2_cs0, 112, USI2_CS0); 10528c2ecf20Sopenharmony_ciEMEV_MUX_PIN(usi2_cs1, 113, USI2_CS1); 10538c2ecf20Sopenharmony_ciEMEV_MUX_PIN(usi2_cs2, 114, USI2_CS2); 10548c2ecf20Sopenharmony_ci 10558c2ecf20Sopenharmony_ci/* = [ USI3 ] ============== */ 10568c2ecf20Sopenharmony_cistatic const unsigned int usi3_pins[] = { 10578c2ecf20Sopenharmony_ci /* CLK, DI, DO*/ 10588c2ecf20Sopenharmony_ci 115, 116, 117, 10598c2ecf20Sopenharmony_ci}; 10608c2ecf20Sopenharmony_cistatic const unsigned int usi3_mux[] = { 10618c2ecf20Sopenharmony_ci USI3_CLK_MARK, USI3_DI_MARK, USI3_DO_MARK, 10628c2ecf20Sopenharmony_ci}; 10638c2ecf20Sopenharmony_ciEMEV_MUX_PIN(usi3_cs0, 118, USI3_CS0); 10648c2ecf20Sopenharmony_ci 10658c2ecf20Sopenharmony_ci/* = [ USI4 ] ============== */ 10668c2ecf20Sopenharmony_cistatic const unsigned int usi4_pins[] = { 10678c2ecf20Sopenharmony_ci /* CLK, DI, DO*/ 10688c2ecf20Sopenharmony_ci 119, 120, 121, 10698c2ecf20Sopenharmony_ci}; 10708c2ecf20Sopenharmony_cistatic const unsigned int usi4_mux[] = { 10718c2ecf20Sopenharmony_ci USI4_CLK_MARK, USI4_DI_MARK, USI4_DO_MARK, 10728c2ecf20Sopenharmony_ci}; 10738c2ecf20Sopenharmony_ciEMEV_MUX_PIN(usi4_cs0, 113, USI4_CS0); 10748c2ecf20Sopenharmony_ciEMEV_MUX_PIN(usi4_cs1, 114, USI4_CS1); 10758c2ecf20Sopenharmony_ci 10768c2ecf20Sopenharmony_ci/* = [ USI5 ] ============== */ 10778c2ecf20Sopenharmony_cistatic const unsigned int usi5_a_pins[] = { 10788c2ecf20Sopenharmony_ci /* CLK, DI, DO*/ 10798c2ecf20Sopenharmony_ci 85, 86, 87, 10808c2ecf20Sopenharmony_ci}; 10818c2ecf20Sopenharmony_cistatic const unsigned int usi5_a_mux[] = { 10828c2ecf20Sopenharmony_ci USI5_CLK_A_MARK, USI5_DI_A_MARK, USI5_DO_A_MARK, 10838c2ecf20Sopenharmony_ci}; 10848c2ecf20Sopenharmony_ciEMEV_MUX_PIN(usi5_cs0_a, 88, USI5_CS0_A); 10858c2ecf20Sopenharmony_ciEMEV_MUX_PIN(usi5_cs1_a, 89, USI5_CS1_A); 10868c2ecf20Sopenharmony_ciEMEV_MUX_PIN(usi5_cs2_a, 90, USI5_CS2_A); 10878c2ecf20Sopenharmony_ci 10888c2ecf20Sopenharmony_cistatic const unsigned int usi5_b_pins[] = { 10898c2ecf20Sopenharmony_ci /* CLK, DI, DO*/ 10908c2ecf20Sopenharmony_ci 143, 144, 150, 10918c2ecf20Sopenharmony_ci}; 10928c2ecf20Sopenharmony_cistatic const unsigned int usi5_b_mux[] = { 10938c2ecf20Sopenharmony_ci USI5_CLK_B_MARK, USI5_DI_B_MARK, USI5_DO_B_MARK, 10948c2ecf20Sopenharmony_ci}; 10958c2ecf20Sopenharmony_ciEMEV_MUX_PIN(usi5_cs0_b, 145, USI5_CS0_B); 10968c2ecf20Sopenharmony_ciEMEV_MUX_PIN(usi5_cs1_b, 146, USI5_CS1_B); 10978c2ecf20Sopenharmony_ciEMEV_MUX_PIN(usi5_cs2_b, 147, USI5_CS2_B); 10988c2ecf20Sopenharmony_ciEMEV_MUX_PIN(usi5_cs3_b, 148, USI5_CS3_B); 10998c2ecf20Sopenharmony_ciEMEV_MUX_PIN(usi5_cs4_b, 149, USI5_CS4_B); 11008c2ecf20Sopenharmony_ci 11018c2ecf20Sopenharmony_cistatic const struct sh_pfc_pin_group pinmux_groups[] = { 11028c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(err_rst_reqb), 11038c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(ref_clko), 11048c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(ext_clki), 11058c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(lowpwr), 11068c2ecf20Sopenharmony_ci 11078c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(ab_main), 11088c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(ab_clk), 11098c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(ab_csb0), 11108c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(ab_csb1), 11118c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(ab_csb2), 11128c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(ab_csb3), 11138c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(ab_wait), 11148c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(ab_adv), 11158c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(ab_a17), 11168c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(ab_a18), 11178c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(ab_a19), 11188c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(ab_a20), 11198c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(ab_a21), 11208c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(ab_a22), 11218c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(ab_a23), 11228c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(ab_a24), 11238c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(ab_a25), 11248c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(ab_a26), 11258c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(ab_a27), 11268c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(ab_a28), 11278c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(ab_ben0), 11288c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(ab_ben1), 11298c2ecf20Sopenharmony_ci 11308c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(cam_clko), 11318c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(cam), 11328c2ecf20Sopenharmony_ci 11338c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(cf_ctrl), 11348c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(cf_data8), 11358c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(cf_data16), 11368c2ecf20Sopenharmony_ci 11378c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(dtv_a), 11388c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(dtv_b), 11398c2ecf20Sopenharmony_ci 11408c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(iic0), 11418c2ecf20Sopenharmony_ci 11428c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(iic1), 11438c2ecf20Sopenharmony_ci 11448c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(jtag), 11458c2ecf20Sopenharmony_ci 11468c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(lcd3_pxclk), 11478c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(lcd3_pxclkb), 11488c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(lcd3_clk_i), 11498c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(lcd3_sync), 11508c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(lcd3_rgb888), 11518c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(yuv3_clk_i), 11528c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(yuv3), 11538c2ecf20Sopenharmony_ci 11548c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(ntsc_clk), 11558c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(ntsc_data), 11568c2ecf20Sopenharmony_ci 11578c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(pwm0), 11588c2ecf20Sopenharmony_ci 11598c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(pwm1), 11608c2ecf20Sopenharmony_ci 11618c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(sd_cki), 11628c2ecf20Sopenharmony_ci 11638c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(sdi0_ctrl), 11648c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(sdi0_data1), 11658c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(sdi0_data4), 11668c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(sdi0_data8), 11678c2ecf20Sopenharmony_ci 11688c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(sdi1_ctrl), 11698c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(sdi1_data1), 11708c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(sdi1_data4), 11718c2ecf20Sopenharmony_ci 11728c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(sdi2_ctrl), 11738c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(sdi2_data1), 11748c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(sdi2_data4), 11758c2ecf20Sopenharmony_ci 11768c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(tp33), 11778c2ecf20Sopenharmony_ci 11788c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(uart1_data), 11798c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(uart1_ctrl), 11808c2ecf20Sopenharmony_ci 11818c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(uart2_data), 11828c2ecf20Sopenharmony_ci 11838c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(uart3_data), 11848c2ecf20Sopenharmony_ci 11858c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(usb_vbus), 11868c2ecf20Sopenharmony_ci 11878c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(usi0_cs1), 11888c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(usi0_cs2), 11898c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(usi0_cs3), 11908c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(usi0_cs4), 11918c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(usi0_cs5), 11928c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(usi0_cs6), 11938c2ecf20Sopenharmony_ci 11948c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(usi1), 11958c2ecf20Sopenharmony_ci 11968c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(usi2), 11978c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(usi2_cs0), 11988c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(usi2_cs1), 11998c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(usi2_cs2), 12008c2ecf20Sopenharmony_ci 12018c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(usi3), 12028c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(usi3_cs0), 12038c2ecf20Sopenharmony_ci 12048c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(usi4), 12058c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(usi4_cs0), 12068c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(usi4_cs1), 12078c2ecf20Sopenharmony_ci 12088c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(usi5_a), 12098c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(usi5_cs0_a), 12108c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(usi5_cs1_a), 12118c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(usi5_cs2_a), 12128c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(usi5_b), 12138c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(usi5_cs0_b), 12148c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(usi5_cs1_b), 12158c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(usi5_cs2_b), 12168c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(usi5_cs3_b), 12178c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(usi5_cs4_b), 12188c2ecf20Sopenharmony_ci}; 12198c2ecf20Sopenharmony_ci 12208c2ecf20Sopenharmony_cistatic const char * const ab_groups[] = { 12218c2ecf20Sopenharmony_ci "ab_main", 12228c2ecf20Sopenharmony_ci "ab_clk", 12238c2ecf20Sopenharmony_ci "ab_csb0", 12248c2ecf20Sopenharmony_ci "ab_csb1", 12258c2ecf20Sopenharmony_ci "ab_csb2", 12268c2ecf20Sopenharmony_ci "ab_csb3", 12278c2ecf20Sopenharmony_ci "ab_wait", 12288c2ecf20Sopenharmony_ci "ab_adv", 12298c2ecf20Sopenharmony_ci "ab_a17", 12308c2ecf20Sopenharmony_ci "ab_a18", 12318c2ecf20Sopenharmony_ci "ab_a19", 12328c2ecf20Sopenharmony_ci "ab_a20", 12338c2ecf20Sopenharmony_ci "ab_a21", 12348c2ecf20Sopenharmony_ci "ab_a22", 12358c2ecf20Sopenharmony_ci "ab_a23", 12368c2ecf20Sopenharmony_ci "ab_a24", 12378c2ecf20Sopenharmony_ci "ab_a25", 12388c2ecf20Sopenharmony_ci "ab_a26", 12398c2ecf20Sopenharmony_ci "ab_a27", 12408c2ecf20Sopenharmony_ci "ab_a28", 12418c2ecf20Sopenharmony_ci "ab_ben0", 12428c2ecf20Sopenharmony_ci "ab_ben1", 12438c2ecf20Sopenharmony_ci}; 12448c2ecf20Sopenharmony_ci 12458c2ecf20Sopenharmony_cistatic const char * const cam_groups[] = { 12468c2ecf20Sopenharmony_ci "cam_clko", 12478c2ecf20Sopenharmony_ci "cam", 12488c2ecf20Sopenharmony_ci}; 12498c2ecf20Sopenharmony_ci 12508c2ecf20Sopenharmony_cistatic const char * const cf_groups[] = { 12518c2ecf20Sopenharmony_ci "cf_ctrl", 12528c2ecf20Sopenharmony_ci "cf_data8", 12538c2ecf20Sopenharmony_ci "cf_data16", 12548c2ecf20Sopenharmony_ci}; 12558c2ecf20Sopenharmony_ci 12568c2ecf20Sopenharmony_cistatic const char * const dtv_groups[] = { 12578c2ecf20Sopenharmony_ci "dtv_a", 12588c2ecf20Sopenharmony_ci "dtv_b", 12598c2ecf20Sopenharmony_ci}; 12608c2ecf20Sopenharmony_ci 12618c2ecf20Sopenharmony_cistatic const char * const err_rst_reqb_groups[] = { 12628c2ecf20Sopenharmony_ci "err_rst_reqb", 12638c2ecf20Sopenharmony_ci}; 12648c2ecf20Sopenharmony_ci 12658c2ecf20Sopenharmony_cistatic const char * const ext_clki_groups[] = { 12668c2ecf20Sopenharmony_ci "ext_clki", 12678c2ecf20Sopenharmony_ci}; 12688c2ecf20Sopenharmony_ci 12698c2ecf20Sopenharmony_cistatic const char * const iic0_groups[] = { 12708c2ecf20Sopenharmony_ci "iic0", 12718c2ecf20Sopenharmony_ci}; 12728c2ecf20Sopenharmony_ci 12738c2ecf20Sopenharmony_cistatic const char * const iic1_groups[] = { 12748c2ecf20Sopenharmony_ci "iic1", 12758c2ecf20Sopenharmony_ci}; 12768c2ecf20Sopenharmony_ci 12778c2ecf20Sopenharmony_cistatic const char * const jtag_groups[] = { 12788c2ecf20Sopenharmony_ci "jtag", 12798c2ecf20Sopenharmony_ci}; 12808c2ecf20Sopenharmony_ci 12818c2ecf20Sopenharmony_cistatic const char * const lcd_groups[] = { 12828c2ecf20Sopenharmony_ci "lcd3_pxclk", 12838c2ecf20Sopenharmony_ci "lcd3_pxclkb", 12848c2ecf20Sopenharmony_ci "lcd3_clk_i", 12858c2ecf20Sopenharmony_ci "lcd3_sync", 12868c2ecf20Sopenharmony_ci "lcd3_rgb888", 12878c2ecf20Sopenharmony_ci "yuv3_clk_i", 12888c2ecf20Sopenharmony_ci "yuv3", 12898c2ecf20Sopenharmony_ci}; 12908c2ecf20Sopenharmony_ci 12918c2ecf20Sopenharmony_cistatic const char * const lowpwr_groups[] = { 12928c2ecf20Sopenharmony_ci "lowpwr", 12938c2ecf20Sopenharmony_ci}; 12948c2ecf20Sopenharmony_ci 12958c2ecf20Sopenharmony_cistatic const char * const ntsc_groups[] = { 12968c2ecf20Sopenharmony_ci "ntsc_clk", 12978c2ecf20Sopenharmony_ci "ntsc_data", 12988c2ecf20Sopenharmony_ci}; 12998c2ecf20Sopenharmony_ci 13008c2ecf20Sopenharmony_cistatic const char * const pwm0_groups[] = { 13018c2ecf20Sopenharmony_ci "pwm0", 13028c2ecf20Sopenharmony_ci}; 13038c2ecf20Sopenharmony_ci 13048c2ecf20Sopenharmony_cistatic const char * const pwm1_groups[] = { 13058c2ecf20Sopenharmony_ci "pwm1", 13068c2ecf20Sopenharmony_ci}; 13078c2ecf20Sopenharmony_ci 13088c2ecf20Sopenharmony_cistatic const char * const ref_clko_groups[] = { 13098c2ecf20Sopenharmony_ci "ref_clko", 13108c2ecf20Sopenharmony_ci}; 13118c2ecf20Sopenharmony_ci 13128c2ecf20Sopenharmony_cistatic const char * const sd_groups[] = { 13138c2ecf20Sopenharmony_ci "sd_cki", 13148c2ecf20Sopenharmony_ci}; 13158c2ecf20Sopenharmony_ci 13168c2ecf20Sopenharmony_cistatic const char * const sdi0_groups[] = { 13178c2ecf20Sopenharmony_ci "sdi0_ctrl", 13188c2ecf20Sopenharmony_ci "sdi0_data1", 13198c2ecf20Sopenharmony_ci "sdi0_data4", 13208c2ecf20Sopenharmony_ci "sdi0_data8", 13218c2ecf20Sopenharmony_ci}; 13228c2ecf20Sopenharmony_ci 13238c2ecf20Sopenharmony_cistatic const char * const sdi1_groups[] = { 13248c2ecf20Sopenharmony_ci "sdi1_ctrl", 13258c2ecf20Sopenharmony_ci "sdi1_data1", 13268c2ecf20Sopenharmony_ci "sdi1_data4", 13278c2ecf20Sopenharmony_ci}; 13288c2ecf20Sopenharmony_ci 13298c2ecf20Sopenharmony_cistatic const char * const sdi2_groups[] = { 13308c2ecf20Sopenharmony_ci "sdi2_ctrl", 13318c2ecf20Sopenharmony_ci "sdi2_data1", 13328c2ecf20Sopenharmony_ci "sdi2_data4", 13338c2ecf20Sopenharmony_ci}; 13348c2ecf20Sopenharmony_ci 13358c2ecf20Sopenharmony_cistatic const char * const tp33_groups[] = { 13368c2ecf20Sopenharmony_ci "tp33", 13378c2ecf20Sopenharmony_ci}; 13388c2ecf20Sopenharmony_ci 13398c2ecf20Sopenharmony_cistatic const char * const uart1_groups[] = { 13408c2ecf20Sopenharmony_ci "uart1_data", 13418c2ecf20Sopenharmony_ci "uart1_ctrl", 13428c2ecf20Sopenharmony_ci}; 13438c2ecf20Sopenharmony_ci 13448c2ecf20Sopenharmony_cistatic const char * const uart2_groups[] = { 13458c2ecf20Sopenharmony_ci "uart2_data", 13468c2ecf20Sopenharmony_ci}; 13478c2ecf20Sopenharmony_ci 13488c2ecf20Sopenharmony_cistatic const char * const uart3_groups[] = { 13498c2ecf20Sopenharmony_ci "uart3_data", 13508c2ecf20Sopenharmony_ci}; 13518c2ecf20Sopenharmony_ci 13528c2ecf20Sopenharmony_cistatic const char * const usb_groups[] = { 13538c2ecf20Sopenharmony_ci "usb_vbus", 13548c2ecf20Sopenharmony_ci}; 13558c2ecf20Sopenharmony_ci 13568c2ecf20Sopenharmony_cistatic const char * const usi0_groups[] = { 13578c2ecf20Sopenharmony_ci "usi0_cs1", 13588c2ecf20Sopenharmony_ci "usi0_cs2", 13598c2ecf20Sopenharmony_ci "usi0_cs3", 13608c2ecf20Sopenharmony_ci "usi0_cs4", 13618c2ecf20Sopenharmony_ci "usi0_cs5", 13628c2ecf20Sopenharmony_ci "usi0_cs6", 13638c2ecf20Sopenharmony_ci}; 13648c2ecf20Sopenharmony_ci 13658c2ecf20Sopenharmony_cistatic const char * const usi1_groups[] = { 13668c2ecf20Sopenharmony_ci "usi1", 13678c2ecf20Sopenharmony_ci}; 13688c2ecf20Sopenharmony_ci 13698c2ecf20Sopenharmony_cistatic const char * const usi2_groups[] = { 13708c2ecf20Sopenharmony_ci "usi2", 13718c2ecf20Sopenharmony_ci "usi2_cs0", 13728c2ecf20Sopenharmony_ci "usi2_cs1", 13738c2ecf20Sopenharmony_ci "usi2_cs2", 13748c2ecf20Sopenharmony_ci}; 13758c2ecf20Sopenharmony_ci 13768c2ecf20Sopenharmony_cistatic const char * const usi3_groups[] = { 13778c2ecf20Sopenharmony_ci "usi3", 13788c2ecf20Sopenharmony_ci "usi3_cs0", 13798c2ecf20Sopenharmony_ci}; 13808c2ecf20Sopenharmony_ci 13818c2ecf20Sopenharmony_cistatic const char * const usi4_groups[] = { 13828c2ecf20Sopenharmony_ci "usi4", 13838c2ecf20Sopenharmony_ci "usi4_cs0", 13848c2ecf20Sopenharmony_ci "usi4_cs1", 13858c2ecf20Sopenharmony_ci}; 13868c2ecf20Sopenharmony_ci 13878c2ecf20Sopenharmony_cistatic const char * const usi5_groups[] = { 13888c2ecf20Sopenharmony_ci "usi5_a", 13898c2ecf20Sopenharmony_ci "usi5_cs0_a", 13908c2ecf20Sopenharmony_ci "usi5_cs1_a", 13918c2ecf20Sopenharmony_ci "usi5_cs2_a", 13928c2ecf20Sopenharmony_ci "usi5_b", 13938c2ecf20Sopenharmony_ci "usi5_cs0_b", 13948c2ecf20Sopenharmony_ci "usi5_cs1_b", 13958c2ecf20Sopenharmony_ci "usi5_cs2_b", 13968c2ecf20Sopenharmony_ci "usi5_cs3_b", 13978c2ecf20Sopenharmony_ci "usi5_cs4_b", 13988c2ecf20Sopenharmony_ci}; 13998c2ecf20Sopenharmony_ci 14008c2ecf20Sopenharmony_cistatic const struct sh_pfc_function pinmux_functions[] = { 14018c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(ab), 14028c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(cam), 14038c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(cf), 14048c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(dtv), 14058c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(err_rst_reqb), 14068c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(ext_clki), 14078c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(iic0), 14088c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(iic1), 14098c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(jtag), 14108c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(lcd), 14118c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(lowpwr), 14128c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(ntsc), 14138c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(pwm0), 14148c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(pwm1), 14158c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(ref_clko), 14168c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(sd), 14178c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(sdi0), 14188c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(sdi1), 14198c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(sdi2), 14208c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(tp33), 14218c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(uart1), 14228c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(uart2), 14238c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(uart3), 14248c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(usb), 14258c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(usi0), 14268c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(usi1), 14278c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(usi2), 14288c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(usi3), 14298c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(usi4), 14308c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(usi5), 14318c2ecf20Sopenharmony_ci}; 14328c2ecf20Sopenharmony_ci 14338c2ecf20Sopenharmony_cistatic const struct pinmux_cfg_reg pinmux_config_regs[] = { 14348c2ecf20Sopenharmony_ci { PINMUX_CFG_REG("GPSR0", 0xe0140200, 32, 1, GROUP( 14358c2ecf20Sopenharmony_ci 0, PORT31_FN, /* PIN: J18 */ 14368c2ecf20Sopenharmony_ci 0, PORT30_FN, /* PIN: H18 */ 14378c2ecf20Sopenharmony_ci 0, PORT29_FN, /* PIN: G18 */ 14388c2ecf20Sopenharmony_ci 0, PORT28_FN, /* PIN: F18 */ 14398c2ecf20Sopenharmony_ci 0, PORT27_FN, /* PIN: F17 */ 14408c2ecf20Sopenharmony_ci 0, PORT26_FN, /* PIN: F16 */ 14418c2ecf20Sopenharmony_ci 0, PORT25_FN, /* PIN: E20 */ 14428c2ecf20Sopenharmony_ci 0, PORT24_FN, /* PIN: D20 */ 14438c2ecf20Sopenharmony_ci FN_LCD3_1_0_PORT23, PORT23_FN, /* PIN: D19 */ 14448c2ecf20Sopenharmony_ci FN_LCD3_1_0_PORT22, PORT22_FN, /* PIN: C20 */ 14458c2ecf20Sopenharmony_ci FN_LCD3_1_0_PORT21, PORT21_FN, /* PIN: B21 */ 14468c2ecf20Sopenharmony_ci FN_LCD3_1_0_PORT20, PORT20_FN, /* PIN: A21 */ 14478c2ecf20Sopenharmony_ci FN_LCD3_PXCLKB, PORT19_FN, /* PIN: C21 */ 14488c2ecf20Sopenharmony_ci FN_LCD3_1_0_PORT18, PORT18_FN, /* PIN: B22 */ 14498c2ecf20Sopenharmony_ci 0, PORT17_FN, /* PIN: W20 */ 14508c2ecf20Sopenharmony_ci 0, PORT16_FN, /* PIN: W21 */ 14518c2ecf20Sopenharmony_ci 0, PORT15_FN, /* PIN: Y19 */ 14528c2ecf20Sopenharmony_ci 0, PORT14_FN, /* PIN: Y20 */ 14538c2ecf20Sopenharmony_ci 0, PORT13_FN, /* PIN: Y21 */ 14548c2ecf20Sopenharmony_ci 0, PORT12_FN, /* PIN: AA20 */ 14558c2ecf20Sopenharmony_ci 0, PORT11_FN, /* PIN: AA21 */ 14568c2ecf20Sopenharmony_ci 0, PORT10_FN, /* PIN: AA22 */ 14578c2ecf20Sopenharmony_ci 0, PORT9_FN, /* PIN: V15 */ 14588c2ecf20Sopenharmony_ci 0, PORT8_FN, /* PIN: V16 */ 14598c2ecf20Sopenharmony_ci 0, PORT7_FN, /* PIN: V17 */ 14608c2ecf20Sopenharmony_ci 0, PORT6_FN, /* PIN: V18 */ 14618c2ecf20Sopenharmony_ci FN_EXT_CLKI, PORT5_FN, /* PIN: U8 */ 14628c2ecf20Sopenharmony_ci FN_REF_CLKO, PORT4_FN, /* PIN: V8 */ 14638c2ecf20Sopenharmony_ci FN_ERR_RST_REQB, PORT3_FN, /* PIN: U9 */ 14648c2ecf20Sopenharmony_ci FN_JT_SEL, PORT2_FN, /* PIN: V9 */ 14658c2ecf20Sopenharmony_ci 0, PORT1_FN, /* PIN: U10 */ 14668c2ecf20Sopenharmony_ci 0, PORT0_FN, /* PIN: V10 */ 14678c2ecf20Sopenharmony_ci )) 14688c2ecf20Sopenharmony_ci }, 14698c2ecf20Sopenharmony_ci { PINMUX_CFG_REG("GPSR1", 0xe0140204, 32, 1, GROUP( 14708c2ecf20Sopenharmony_ci FN_SDI1_CMD, PORT63_FN, /* PIN: AC21 */ 14718c2ecf20Sopenharmony_ci FN_SDI1_CKI, PORT62_FN, /* PIN: AA23 */ 14728c2ecf20Sopenharmony_ci FN_SDI1_CKO, PORT61_FN, /* PIN: AB22 */ 14738c2ecf20Sopenharmony_ci FN_SDI0_DATA7, PORT60_FN, /* PIN: Y16 */ 14748c2ecf20Sopenharmony_ci FN_SDI0_DATA6, PORT59_FN, /* PIN: AA16 */ 14758c2ecf20Sopenharmony_ci FN_SDI0_DATA5, PORT58_FN, /* PIN: Y15 */ 14768c2ecf20Sopenharmony_ci FN_SDI0_DATA4, PORT57_FN, /* PIN: AA15 */ 14778c2ecf20Sopenharmony_ci FN_SDI0_DATA3, PORT56_FN, /* PIN: Y14 */ 14788c2ecf20Sopenharmony_ci FN_SDI0_DATA2, PORT55_FN, /* PIN: AA14 */ 14798c2ecf20Sopenharmony_ci FN_SDI0_DATA1, PORT54_FN, /* PIN: Y13 */ 14808c2ecf20Sopenharmony_ci FN_SDI0_DATA0, PORT53_FN, /* PIN: AA13 */ 14818c2ecf20Sopenharmony_ci FN_SDI0_CMD, PORT52_FN, /* PIN: Y12 */ 14828c2ecf20Sopenharmony_ci FN_SDI0_CKI, PORT51_FN, /* PIN: AC18 */ 14838c2ecf20Sopenharmony_ci FN_SDI0_CKO, PORT50_FN, /* PIN: AB18 */ 14848c2ecf20Sopenharmony_ci 0, PORT49_FN, /* PIN: AB16 */ 14858c2ecf20Sopenharmony_ci FN_SD_CKI, PORT48_FN, /* PIN: AC19 */ 14868c2ecf20Sopenharmony_ci FN_IIC_1_0_PORT47, PORT47_FN, /* PIN: Y8 */ 14878c2ecf20Sopenharmony_ci FN_IIC_1_0_PORT46, PORT46_FN, /* PIN: Y9 */ 14888c2ecf20Sopenharmony_ci FN_IIC0_SDA, PORT45_FN, /* PIN: AA8 */ 14898c2ecf20Sopenharmony_ci FN_IIC0_SCL, PORT44_FN, /* PIN: AA9 */ 14908c2ecf20Sopenharmony_ci FN_LCD3_11_10_PORT43, PORT43_FN, /* PIN: A15 */ 14918c2ecf20Sopenharmony_ci FN_LCD3_11_10_PORT42, PORT42_FN, /* PIN: A16 */ 14928c2ecf20Sopenharmony_ci FN_LCD3_11_10_PORT41, PORT41_FN, /* PIN: A17 */ 14938c2ecf20Sopenharmony_ci FN_LCD3_11_10_PORT40, PORT40_FN, /* PIN: A18 */ 14948c2ecf20Sopenharmony_ci FN_LCD3_9_8_PORT39, PORT39_FN, /* PIN: D18 */ 14958c2ecf20Sopenharmony_ci FN_LCD3_9_8_PORT38, PORT38_FN, /* PIN: C18 */ 14968c2ecf20Sopenharmony_ci FN_LCD3_R5, PORT37_FN, /* PIN: B18 */ 14978c2ecf20Sopenharmony_ci FN_LCD3_R4, PORT36_FN, /* PIN: C19 */ 14988c2ecf20Sopenharmony_ci FN_LCD3_R3, PORT35_FN, /* PIN: B19 */ 14998c2ecf20Sopenharmony_ci FN_LCD3_R2, PORT34_FN, /* PIN: A19 */ 15008c2ecf20Sopenharmony_ci FN_LCD3_R1, PORT33_FN, /* PIN: B20 */ 15018c2ecf20Sopenharmony_ci FN_LCD3_R0, PORT32_FN, /* PIN: A20 */ 15028c2ecf20Sopenharmony_ci )) 15038c2ecf20Sopenharmony_ci }, 15048c2ecf20Sopenharmony_ci { PINMUX_CFG_REG("GPSR2", 0xe0140208, 32, 1, GROUP( 15058c2ecf20Sopenharmony_ci FN_AB_1_0_PORT95, PORT95_FN, /* PIN: L21 */ 15068c2ecf20Sopenharmony_ci FN_AB_1_0_PORT94, PORT94_FN, /* PIN: K21 */ 15078c2ecf20Sopenharmony_ci FN_AB_1_0_PORT93, PORT93_FN, /* PIN: J21 */ 15088c2ecf20Sopenharmony_ci FN_AB_7_6_PORT92, PORT92_FN, /* PIN: J22 */ 15098c2ecf20Sopenharmony_ci FN_AB_7_6_PORT91, PORT91_FN, /* PIN: H21 */ 15108c2ecf20Sopenharmony_ci FN_AB_5_4_PORT90, PORT90_FN, /* PIN: H22 */ 15118c2ecf20Sopenharmony_ci FN_AB_5_4_PORT89, PORT89_FN, /* PIN: H23 */ 15128c2ecf20Sopenharmony_ci FN_AB_3_2_PORT88, PORT88_FN, /* PIN: G21 */ 15138c2ecf20Sopenharmony_ci FN_AB_3_2_PORT87, PORT87_FN, /* PIN: G22 */ 15148c2ecf20Sopenharmony_ci FN_AB_3_2_PORT86, PORT86_FN, /* PIN: G23 */ 15158c2ecf20Sopenharmony_ci FN_AB_3_2_PORT85, PORT85_FN, /* PIN: F21 */ 15168c2ecf20Sopenharmony_ci FN_AB_1_0_PORT84, PORT84_FN, /* PIN: F22 */ 15178c2ecf20Sopenharmony_ci FN_AB_1_0_PORT83, PORT83_FN, /* PIN: F23 */ 15188c2ecf20Sopenharmony_ci FN_AB_1_0_PORT82, PORT82_FN, /* PIN: E22 */ 15198c2ecf20Sopenharmony_ci FN_AB_1_0_PORT81, PORT81_FN, /* PIN: E23 */ 15208c2ecf20Sopenharmony_ci FN_AB_1_0_PORT80, PORT80_FN, /* PIN: D22 */ 15218c2ecf20Sopenharmony_ci FN_AB_1_0_PORT79, PORT79_FN, /* PIN: D23 */ 15228c2ecf20Sopenharmony_ci FN_AB_1_0_PORT78, PORT78_FN, /* PIN: C22 */ 15238c2ecf20Sopenharmony_ci FN_AB_1_0_PORT77, PORT77_FN, /* PIN: C23 */ 15248c2ecf20Sopenharmony_ci FN_AB_1_0_PORT76, PORT76_FN, /* PIN: K20 */ 15258c2ecf20Sopenharmony_ci FN_AB_1_0_PORT75, PORT75_FN, /* PIN: L20 */ 15268c2ecf20Sopenharmony_ci FN_AB_1_0_PORT74, PORT74_FN, /* PIN: H20 */ 15278c2ecf20Sopenharmony_ci FN_AB_1_0_PORT73, PORT73_FN, /* PIN: J20 */ 15288c2ecf20Sopenharmony_ci FN_AB_1_0_PORT72, PORT72_FN, /* PIN: G20 */ 15298c2ecf20Sopenharmony_ci FN_AB_1_0_PORT71, PORT71_FN, /* PIN: F20 */ 15308c2ecf20Sopenharmony_ci FN_AB_CSB1, PORT70_FN, /* PIN: E21 */ 15318c2ecf20Sopenharmony_ci FN_AB_CSB0, PORT69_FN, /* PIN: D21 */ 15328c2ecf20Sopenharmony_ci FN_AB_CLK, PORT68_FN, /* PIN: J23 */ 15338c2ecf20Sopenharmony_ci FN_SDI1_DATA3, PORT67_FN, /* PIN: AA19 */ 15348c2ecf20Sopenharmony_ci FN_SDI1_DATA2, PORT66_FN, /* PIN: AB19 */ 15358c2ecf20Sopenharmony_ci FN_SDI1_DATA1, PORT65_FN, /* PIN: AB20 */ 15368c2ecf20Sopenharmony_ci FN_SDI1_DATA0, PORT64_FN, /* PIN: AB21 */ 15378c2ecf20Sopenharmony_ci )) 15388c2ecf20Sopenharmony_ci }, 15398c2ecf20Sopenharmony_ci { PINMUX_CFG_REG("GPSR3", 0xe014020c, 32, 1, GROUP( 15408c2ecf20Sopenharmony_ci FN_NTSC_DATA4, PORT127_FN, /* PIN: T20 */ 15418c2ecf20Sopenharmony_ci FN_NTSC_DATA3, PORT126_FN, /* PIN: R18 */ 15428c2ecf20Sopenharmony_ci FN_NTSC_DATA2, PORT125_FN, /* PIN: R20 */ 15438c2ecf20Sopenharmony_ci FN_NTSC_DATA1, PORT124_FN, /* PIN: P18 */ 15448c2ecf20Sopenharmony_ci FN_NTSC_DATA0, PORT123_FN, /* PIN: P20 */ 15458c2ecf20Sopenharmony_ci FN_NTSC_CLK, PORT122_FN, /* PIN: V20 */ 15468c2ecf20Sopenharmony_ci FN_USI_9_8_PORT121, PORT121_FN, /* PIN: Y5 */ 15478c2ecf20Sopenharmony_ci FN_USI_9_8_PORT120, PORT120_FN, /* PIN: AA4 */ 15488c2ecf20Sopenharmony_ci FN_USI_7_6_PORT119, PORT119_FN, /* PIN: AB3 */ 15498c2ecf20Sopenharmony_ci FN_USI_5_4_PORT118, PORT118_FN, /* PIN: AB4 */ 15508c2ecf20Sopenharmony_ci FN_USI_5_4_PORT117, PORT117_FN, /* PIN: AC3 */ 15518c2ecf20Sopenharmony_ci FN_USI_5_4_PORT116, PORT116_FN, /* PIN: AC4 */ 15528c2ecf20Sopenharmony_ci FN_USI_5_4_PORT115, PORT115_FN, /* PIN: AC5 */ 15538c2ecf20Sopenharmony_ci FN_USI_3_2_PORT114, PORT114_FN, /* PIN: Y6 */ 15548c2ecf20Sopenharmony_ci FN_USI_3_2_PORT113, PORT113_FN, /* PIN: AA7 */ 15558c2ecf20Sopenharmony_ci FN_USI_1_0_PORT112, PORT112_FN, /* PIN: Y7 */ 15568c2ecf20Sopenharmony_ci FN_USI_1_0_PORT111, PORT111_FN, /* PIN: AA5 */ 15578c2ecf20Sopenharmony_ci FN_USI_1_0_PORT110, PORT110_FN, /* PIN: AA6 */ 15588c2ecf20Sopenharmony_ci FN_USI_1_0_PORT109, PORT109_FN, /* PIN: AB5 */ 15598c2ecf20Sopenharmony_ci FN_USI1_DO, PORT108_FN, /* PIN: D10 */ 15608c2ecf20Sopenharmony_ci FN_USI1_DI, PORT107_FN, /* PIN: C10 */ 15618c2ecf20Sopenharmony_ci FN_USI0_CS2, PORT106_FN, /* PIN: B9 */ 15628c2ecf20Sopenharmony_ci FN_USI0_CS1, PORT105_FN, /* PIN: B8 */ 15638c2ecf20Sopenharmony_ci FN_AB_13_12_PORT104, PORT104_FN, /* PIN: M17 */ 15648c2ecf20Sopenharmony_ci FN_AB_13_12_PORT103, PORT103_FN, /* PIN: L17 */ 15658c2ecf20Sopenharmony_ci FN_AB_11_10_PORT102, PORT102_FN, /* PIN: N18 */ 15668c2ecf20Sopenharmony_ci FN_AB_11_10_PORT101, PORT101_FN, /* PIN: M18 */ 15678c2ecf20Sopenharmony_ci FN_AB_11_10_PORT100, PORT100_FN, /* PIN: L18 */ 15688c2ecf20Sopenharmony_ci FN_AB_9_8_PORT99, PORT99_FN, /* PIN: N20 */ 15698c2ecf20Sopenharmony_ci FN_AB_9_8_PORT98, PORT98_FN, /* PIN: M20 */ 15708c2ecf20Sopenharmony_ci FN_AB_9_8_PORT97, PORT97_FN, /* PIN: N21 */ 15718c2ecf20Sopenharmony_ci FN_AB_A20, PORT96_FN, /* PIN: M21 */ 15728c2ecf20Sopenharmony_ci )) 15738c2ecf20Sopenharmony_ci }, 15748c2ecf20Sopenharmony_ci { PINMUX_CFG_REG("GPSR4", 0xe0140210, 32, 1, GROUP( 15758c2ecf20Sopenharmony_ci 0, 0, 15768c2ecf20Sopenharmony_ci FN_UART_1_0_PORT158, PORT158_FN, /* PIN: AB10 */ 15778c2ecf20Sopenharmony_ci FN_UART_1_0_PORT157, PORT157_FN, /* PIN: AA10 */ 15788c2ecf20Sopenharmony_ci FN_UART1_TX, PORT156_FN, /* PIN: Y10 */ 15798c2ecf20Sopenharmony_ci FN_UART1_RX, PORT155_FN, /* PIN: Y11 */ 15808c2ecf20Sopenharmony_ci FN_LOWPWR, PORT154_FN, /* PIN: A12 */ 15818c2ecf20Sopenharmony_ci FN_USB_VBUS, PORT153_FN, /* PIN: AA12 */ 15828c2ecf20Sopenharmony_ci FN_JT_TDOEN, PORT152_FN, /* PIN: F13 */ 15838c2ecf20Sopenharmony_ci FN_JT_TDO, PORT151_FN, /* PIN: D13 */ 15848c2ecf20Sopenharmony_ci FN_HSI_1_0_PORT150, PORT150_FN, /* PIN: M22 */ 15858c2ecf20Sopenharmony_ci FN_HSI_1_0_PORT149, PORT149_FN, /* PIN: M23 */ 15868c2ecf20Sopenharmony_ci FN_HSI_1_0_PORT148, PORT148_FN, /* PIN: N23 */ 15878c2ecf20Sopenharmony_ci FN_HSI_1_0_PORT147, PORT147_FN, /* PIN: N22 */ 15888c2ecf20Sopenharmony_ci FN_HSI_1_0_PORT146, PORT146_FN, /* PIN: L22 */ 15898c2ecf20Sopenharmony_ci FN_HSI_1_0_PORT145, PORT145_FN, /* PIN: L23 */ 15908c2ecf20Sopenharmony_ci FN_HSI_1_0_PORT144, PORT144_FN, /* PIN: K23 */ 15918c2ecf20Sopenharmony_ci FN_HSI_1_0_PORT143, PORT143_FN, /* PIN: K22 */ 15928c2ecf20Sopenharmony_ci FN_CAM_YUV7, PORT142_FN, /* PIN: V23 */ 15938c2ecf20Sopenharmony_ci FN_CAM_YUV6, PORT141_FN, /* PIN: V22 */ 15948c2ecf20Sopenharmony_ci FN_CAM_YUV5, PORT140_FN, /* PIN: U23 */ 15958c2ecf20Sopenharmony_ci FN_CAM_YUV4, PORT139_FN, /* PIN: U22 */ 15968c2ecf20Sopenharmony_ci FN_CAM_YUV3, PORT138_FN, /* PIN: U21 */ 15978c2ecf20Sopenharmony_ci FN_CAM_YUV2, PORT137_FN, /* PIN: T23 */ 15988c2ecf20Sopenharmony_ci FN_CAM_YUV1, PORT136_FN, /* PIN: T22 */ 15998c2ecf20Sopenharmony_ci FN_CAM_YUV0, PORT135_FN, /* PIN: T21 */ 16008c2ecf20Sopenharmony_ci FN_CAM_HS, PORT134_FN, /* PIN: V21 */ 16018c2ecf20Sopenharmony_ci FN_CAM_VS, PORT133_FN, /* PIN: W22 */ 16028c2ecf20Sopenharmony_ci FN_CAM_CLKI, PORT132_FN, /* PIN: Y23 */ 16038c2ecf20Sopenharmony_ci FN_CAM_CLKO, PORT131_FN, /* PIN: W23 */ 16048c2ecf20Sopenharmony_ci FN_NTSC_DATA7, PORT130_FN, /* PIN: U18 */ 16058c2ecf20Sopenharmony_ci FN_NTSC_DATA6, PORT129_FN, /* PIN: U20 */ 16068c2ecf20Sopenharmony_ci FN_NTSC_DATA5, PORT128_FN, /* PIN: T18 */ 16078c2ecf20Sopenharmony_ci )) 16088c2ecf20Sopenharmony_ci }, 16098c2ecf20Sopenharmony_ci { PINMUX_CFG_REG_VAR("CHG_PINSEL_LCD3", 0xe0140284, 32, 16108c2ecf20Sopenharmony_ci GROUP(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 16118c2ecf20Sopenharmony_ci 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 16128c2ecf20Sopenharmony_ci 2, 2), 16138c2ecf20Sopenharmony_ci GROUP( 16148c2ecf20Sopenharmony_ci /* 31 - 12 */ 16158c2ecf20Sopenharmony_ci 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16168c2ecf20Sopenharmony_ci 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16178c2ecf20Sopenharmony_ci 0, 0, 0, 0, 0, 0, 0, 0, 16188c2ecf20Sopenharmony_ci /* 11 - 10 */ 16198c2ecf20Sopenharmony_ci FN_SEL_LCD3_11_10_00, FN_SEL_LCD3_11_10_01, 16208c2ecf20Sopenharmony_ci FN_SEL_LCD3_11_10_10, 0, 16218c2ecf20Sopenharmony_ci /* 9 - 8 */ 16228c2ecf20Sopenharmony_ci FN_SEL_LCD3_9_8_00, 0, FN_SEL_LCD3_9_8_10, 0, 16238c2ecf20Sopenharmony_ci /* 7 - 2 */ 16248c2ecf20Sopenharmony_ci 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16258c2ecf20Sopenharmony_ci /* 1 - 0 */ 16268c2ecf20Sopenharmony_ci FN_SEL_LCD3_1_0_00, FN_SEL_LCD3_1_0_01, 0, 0, 16278c2ecf20Sopenharmony_ci )) 16288c2ecf20Sopenharmony_ci }, 16298c2ecf20Sopenharmony_ci { PINMUX_CFG_REG_VAR("CHG_PINSEL_UART", 0xe0140288, 32, 16308c2ecf20Sopenharmony_ci GROUP(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 16318c2ecf20Sopenharmony_ci 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 16328c2ecf20Sopenharmony_ci 1, 1, 1, 1, 1, 1, 2), 16338c2ecf20Sopenharmony_ci GROUP( 16348c2ecf20Sopenharmony_ci /* 31 - 2 */ 16358c2ecf20Sopenharmony_ci 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16368c2ecf20Sopenharmony_ci 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16378c2ecf20Sopenharmony_ci 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16388c2ecf20Sopenharmony_ci 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16398c2ecf20Sopenharmony_ci /* 1 - 0 */ 16408c2ecf20Sopenharmony_ci FN_SEL_UART_1_0_00, FN_SEL_UART_1_0_01, 0, 0, 16418c2ecf20Sopenharmony_ci )) 16428c2ecf20Sopenharmony_ci }, 16438c2ecf20Sopenharmony_ci { PINMUX_CFG_REG_VAR("CHG_PINSEL_IIC", 0xe014028c, 32, 16448c2ecf20Sopenharmony_ci GROUP(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 16458c2ecf20Sopenharmony_ci 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 16468c2ecf20Sopenharmony_ci 1, 1, 1, 1, 1, 1, 2), 16478c2ecf20Sopenharmony_ci GROUP( 16488c2ecf20Sopenharmony_ci /* 31 - 2 */ 16498c2ecf20Sopenharmony_ci 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16508c2ecf20Sopenharmony_ci 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16518c2ecf20Sopenharmony_ci 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16528c2ecf20Sopenharmony_ci 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16538c2ecf20Sopenharmony_ci /* 1 - 0 */ 16548c2ecf20Sopenharmony_ci FN_SEL_IIC_1_0_00, FN_SEL_IIC_1_0_01, 0, 0, 16558c2ecf20Sopenharmony_ci )) 16568c2ecf20Sopenharmony_ci }, 16578c2ecf20Sopenharmony_ci { PINMUX_CFG_REG_VAR("CHG_PINSEL_AB", 0xe0140294, 32, 16588c2ecf20Sopenharmony_ci GROUP(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 16598c2ecf20Sopenharmony_ci 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2), 16608c2ecf20Sopenharmony_ci GROUP( 16618c2ecf20Sopenharmony_ci /* 31 - 14 */ 16628c2ecf20Sopenharmony_ci 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16638c2ecf20Sopenharmony_ci 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16648c2ecf20Sopenharmony_ci 0, 0, 0, 0, 16658c2ecf20Sopenharmony_ci /* 13 - 12 */ 16668c2ecf20Sopenharmony_ci FN_SEL_AB_13_12_00, 0, FN_SEL_AB_13_12_10, 0, 16678c2ecf20Sopenharmony_ci /* 11 - 10 */ 16688c2ecf20Sopenharmony_ci FN_SEL_AB_11_10_00, 0, FN_SEL_AB_11_10_10, 0, 16698c2ecf20Sopenharmony_ci /* 9 - 8 */ 16708c2ecf20Sopenharmony_ci FN_SEL_AB_9_8_00, FN_SEL_AB_9_8_01, FN_SEL_AB_9_8_10, 0, 16718c2ecf20Sopenharmony_ci /* 7 - 6 */ 16728c2ecf20Sopenharmony_ci FN_SEL_AB_7_6_00, FN_SEL_AB_7_6_01, FN_SEL_AB_7_6_10, 0, 16738c2ecf20Sopenharmony_ci /* 5 - 4 */ 16748c2ecf20Sopenharmony_ci FN_SEL_AB_5_4_00, FN_SEL_AB_5_4_01, 16758c2ecf20Sopenharmony_ci FN_SEL_AB_5_4_10, FN_SEL_AB_5_4_11, 16768c2ecf20Sopenharmony_ci /* 3 - 2 */ 16778c2ecf20Sopenharmony_ci FN_SEL_AB_3_2_00, FN_SEL_AB_3_2_01, 16788c2ecf20Sopenharmony_ci FN_SEL_AB_3_2_10, FN_SEL_AB_3_2_11, 16798c2ecf20Sopenharmony_ci /* 1 - 0 */ 16808c2ecf20Sopenharmony_ci FN_SEL_AB_1_0_00, 0, FN_SEL_AB_1_0_10, 0, 16818c2ecf20Sopenharmony_ci )) 16828c2ecf20Sopenharmony_ci }, 16838c2ecf20Sopenharmony_ci { PINMUX_CFG_REG_VAR("CHG_PINSEL_USI", 0xe0140298, 32, 16848c2ecf20Sopenharmony_ci GROUP(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 16858c2ecf20Sopenharmony_ci 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 16868c2ecf20Sopenharmony_ci 2, 2, 2), 16878c2ecf20Sopenharmony_ci GROUP( 16888c2ecf20Sopenharmony_ci /* 31 - 10 */ 16898c2ecf20Sopenharmony_ci 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16908c2ecf20Sopenharmony_ci 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16918c2ecf20Sopenharmony_ci 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16928c2ecf20Sopenharmony_ci /* 9 - 8 */ 16938c2ecf20Sopenharmony_ci FN_SEL_USI_9_8_00, FN_SEL_USI_9_8_01, 0, 0, 16948c2ecf20Sopenharmony_ci /* 7 - 6 */ 16958c2ecf20Sopenharmony_ci FN_SEL_USI_7_6_00, FN_SEL_USI_7_6_01, 0, 0, 16968c2ecf20Sopenharmony_ci /* 5 - 4 */ 16978c2ecf20Sopenharmony_ci FN_SEL_USI_5_4_00, FN_SEL_USI_5_4_01, 0, 0, 16988c2ecf20Sopenharmony_ci /* 3 - 2 */ 16998c2ecf20Sopenharmony_ci FN_SEL_USI_3_2_00, FN_SEL_USI_3_2_01, 0, 0, 17008c2ecf20Sopenharmony_ci /* 1 - 0 */ 17018c2ecf20Sopenharmony_ci FN_SEL_USI_1_0_00, FN_SEL_USI_1_0_01, 0, 0, 17028c2ecf20Sopenharmony_ci )) 17038c2ecf20Sopenharmony_ci }, 17048c2ecf20Sopenharmony_ci { PINMUX_CFG_REG_VAR("CHG_PINSEL_HSI", 0xe01402a8, 32, 17058c2ecf20Sopenharmony_ci GROUP(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 17068c2ecf20Sopenharmony_ci 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 17078c2ecf20Sopenharmony_ci 1, 1, 1, 1, 1, 1, 2), 17088c2ecf20Sopenharmony_ci GROUP( 17098c2ecf20Sopenharmony_ci /* 31 - 2 */ 17108c2ecf20Sopenharmony_ci 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17118c2ecf20Sopenharmony_ci 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17128c2ecf20Sopenharmony_ci 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17138c2ecf20Sopenharmony_ci 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17148c2ecf20Sopenharmony_ci /* 1 - 0 */ 17158c2ecf20Sopenharmony_ci FN_SEL_HSI_1_0_00, FN_SEL_HSI_1_0_01, 0, 0, 17168c2ecf20Sopenharmony_ci )) 17178c2ecf20Sopenharmony_ci }, 17188c2ecf20Sopenharmony_ci { }, 17198c2ecf20Sopenharmony_ci}; 17208c2ecf20Sopenharmony_ci 17218c2ecf20Sopenharmony_ciconst struct sh_pfc_soc_info emev2_pinmux_info = { 17228c2ecf20Sopenharmony_ci .name = "emev2_pfc", 17238c2ecf20Sopenharmony_ci 17248c2ecf20Sopenharmony_ci .function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END }, 17258c2ecf20Sopenharmony_ci 17268c2ecf20Sopenharmony_ci .pins = pinmux_pins, 17278c2ecf20Sopenharmony_ci .nr_pins = ARRAY_SIZE(pinmux_pins), 17288c2ecf20Sopenharmony_ci .groups = pinmux_groups, 17298c2ecf20Sopenharmony_ci .nr_groups = ARRAY_SIZE(pinmux_groups), 17308c2ecf20Sopenharmony_ci .functions = pinmux_functions, 17318c2ecf20Sopenharmony_ci .nr_functions = ARRAY_SIZE(pinmux_functions), 17328c2ecf20Sopenharmony_ci 17338c2ecf20Sopenharmony_ci .cfg_regs = pinmux_config_regs, 17348c2ecf20Sopenharmony_ci 17358c2ecf20Sopenharmony_ci .pinmux_data = pinmux_data, 17368c2ecf20Sopenharmony_ci .pinmux_data_size = ARRAY_SIZE(pinmux_data), 17378c2ecf20Sopenharmony_ci}; 1738