18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Copyright (C) 2012-2013 Renesas Solutions Corp. 48c2ecf20Sopenharmony_ci * Copyright (C) 2013 Magnus Damm 58c2ecf20Sopenharmony_ci * Copyright (C) 2012 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> 68c2ecf20Sopenharmony_ci */ 78c2ecf20Sopenharmony_ci#include <linux/io.h> 88c2ecf20Sopenharmony_ci#include <linux/kernel.h> 98c2ecf20Sopenharmony_ci#include <linux/pinctrl/pinconf-generic.h> 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ci#include "sh_pfc.h" 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ci#define CPU_ALL_PORT(fn, pfx, sfx) \ 148c2ecf20Sopenharmony_ci /* Port0 - Port30 */ \ 158c2ecf20Sopenharmony_ci PORT_10(0, fn, pfx, sfx), \ 168c2ecf20Sopenharmony_ci PORT_10(10, fn, pfx##1, sfx), \ 178c2ecf20Sopenharmony_ci PORT_10(20, fn, pfx##2, sfx), \ 188c2ecf20Sopenharmony_ci PORT_1(30, fn, pfx##30, sfx), \ 198c2ecf20Sopenharmony_ci /* Port32 - Port40 */ \ 208c2ecf20Sopenharmony_ci PORT_1(32, fn, pfx##32, sfx), PORT_1(33, fn, pfx##33, sfx), \ 218c2ecf20Sopenharmony_ci PORT_1(34, fn, pfx##34, sfx), PORT_1(35, fn, pfx##35, sfx), \ 228c2ecf20Sopenharmony_ci PORT_1(36, fn, pfx##36, sfx), PORT_1(37, fn, pfx##37, sfx), \ 238c2ecf20Sopenharmony_ci PORT_1(38, fn, pfx##38, sfx), PORT_1(39, fn, pfx##39, sfx), \ 248c2ecf20Sopenharmony_ci PORT_1(40, fn, pfx##40, sfx), \ 258c2ecf20Sopenharmony_ci /* Port64 - Port85 */ \ 268c2ecf20Sopenharmony_ci PORT_1(64, fn, pfx##64, sfx), PORT_1(65, fn, pfx##65, sfx), \ 278c2ecf20Sopenharmony_ci PORT_1(66, fn, pfx##66, sfx), PORT_1(67, fn, pfx##67, sfx), \ 288c2ecf20Sopenharmony_ci PORT_1(68, fn, pfx##68, sfx), PORT_1(69, fn, pfx##69, sfx), \ 298c2ecf20Sopenharmony_ci PORT_10(70, fn, pfx##7, sfx), \ 308c2ecf20Sopenharmony_ci PORT_1(80, fn, pfx##80, sfx), PORT_1(81, fn, pfx##81, sfx), \ 318c2ecf20Sopenharmony_ci PORT_1(82, fn, pfx##82, sfx), PORT_1(83, fn, pfx##83, sfx), \ 328c2ecf20Sopenharmony_ci PORT_1(84, fn, pfx##84, sfx), PORT_1(85, fn, pfx##85, sfx), \ 338c2ecf20Sopenharmony_ci /* Port96 - Port126 */ \ 348c2ecf20Sopenharmony_ci PORT_1(96, fn, pfx##96, sfx), PORT_1(97, fn, pfx##97, sfx), \ 358c2ecf20Sopenharmony_ci PORT_1(98, fn, pfx##98, sfx), PORT_1(99, fn, pfx##99, sfx), \ 368c2ecf20Sopenharmony_ci PORT_10(100, fn, pfx##10, sfx), \ 378c2ecf20Sopenharmony_ci PORT_10(110, fn, pfx##11, sfx), \ 388c2ecf20Sopenharmony_ci PORT_1(120, fn, pfx##120, sfx), PORT_1(121, fn, pfx##121, sfx), \ 398c2ecf20Sopenharmony_ci PORT_1(122, fn, pfx##122, sfx), PORT_1(123, fn, pfx##123, sfx), \ 408c2ecf20Sopenharmony_ci PORT_1(124, fn, pfx##124, sfx), PORT_1(125, fn, pfx##125, sfx), \ 418c2ecf20Sopenharmony_ci PORT_1(126, fn, pfx##126, sfx), \ 428c2ecf20Sopenharmony_ci /* Port128 - Port134 */ \ 438c2ecf20Sopenharmony_ci PORT_1(128, fn, pfx##128, sfx), PORT_1(129, fn, pfx##129, sfx), \ 448c2ecf20Sopenharmony_ci PORT_1(130, fn, pfx##130, sfx), PORT_1(131, fn, pfx##131, sfx), \ 458c2ecf20Sopenharmony_ci PORT_1(132, fn, pfx##132, sfx), PORT_1(133, fn, pfx##133, sfx), \ 468c2ecf20Sopenharmony_ci PORT_1(134, fn, pfx##134, sfx), \ 478c2ecf20Sopenharmony_ci /* Port160 - Port178 */ \ 488c2ecf20Sopenharmony_ci PORT_10(160, fn, pfx##16, sfx), \ 498c2ecf20Sopenharmony_ci PORT_1(170, fn, pfx##170, sfx), PORT_1(171, fn, pfx##171, sfx), \ 508c2ecf20Sopenharmony_ci PORT_1(172, fn, pfx##172, sfx), PORT_1(173, fn, pfx##173, sfx), \ 518c2ecf20Sopenharmony_ci PORT_1(174, fn, pfx##174, sfx), PORT_1(175, fn, pfx##175, sfx), \ 528c2ecf20Sopenharmony_ci PORT_1(176, fn, pfx##176, sfx), PORT_1(177, fn, pfx##177, sfx), \ 538c2ecf20Sopenharmony_ci PORT_1(178, fn, pfx##178, sfx), \ 548c2ecf20Sopenharmony_ci /* Port192 - Port222 */ \ 558c2ecf20Sopenharmony_ci PORT_1(192, fn, pfx##192, sfx), PORT_1(193, fn, pfx##193, sfx), \ 568c2ecf20Sopenharmony_ci PORT_1(194, fn, pfx##194, sfx), PORT_1(195, fn, pfx##195, sfx), \ 578c2ecf20Sopenharmony_ci PORT_1(196, fn, pfx##196, sfx), PORT_1(197, fn, pfx##197, sfx), \ 588c2ecf20Sopenharmony_ci PORT_1(198, fn, pfx##198, sfx), PORT_1(199, fn, pfx##199, sfx), \ 598c2ecf20Sopenharmony_ci PORT_10(200, fn, pfx##20, sfx), \ 608c2ecf20Sopenharmony_ci PORT_10(210, fn, pfx##21, sfx), \ 618c2ecf20Sopenharmony_ci PORT_1(220, fn, pfx##220, sfx), PORT_1(221, fn, pfx##221, sfx), \ 628c2ecf20Sopenharmony_ci PORT_1(222, fn, pfx##222, sfx), \ 638c2ecf20Sopenharmony_ci /* Port224 - Port250 */ \ 648c2ecf20Sopenharmony_ci PORT_1(224, fn, pfx##224, sfx), PORT_1(225, fn, pfx##225, sfx), \ 658c2ecf20Sopenharmony_ci PORT_1(226, fn, pfx##226, sfx), PORT_1(227, fn, pfx##227, sfx), \ 668c2ecf20Sopenharmony_ci PORT_1(228, fn, pfx##228, sfx), PORT_1(229, fn, pfx##229, sfx), \ 678c2ecf20Sopenharmony_ci PORT_10(230, fn, pfx##23, sfx), \ 688c2ecf20Sopenharmony_ci PORT_10(240, fn, pfx##24, sfx), \ 698c2ecf20Sopenharmony_ci PORT_1(250, fn, pfx##250, sfx), \ 708c2ecf20Sopenharmony_ci /* Port256 - Port283 */ \ 718c2ecf20Sopenharmony_ci PORT_1(256, fn, pfx##256, sfx), PORT_1(257, fn, pfx##257, sfx), \ 728c2ecf20Sopenharmony_ci PORT_1(258, fn, pfx##258, sfx), PORT_1(259, fn, pfx##259, sfx), \ 738c2ecf20Sopenharmony_ci PORT_10(260, fn, pfx##26, sfx), \ 748c2ecf20Sopenharmony_ci PORT_10(270, fn, pfx##27, sfx), \ 758c2ecf20Sopenharmony_ci PORT_1(280, fn, pfx##280, sfx), PORT_1(281, fn, pfx##281, sfx), \ 768c2ecf20Sopenharmony_ci PORT_1(282, fn, pfx##282, sfx), PORT_1(283, fn, pfx##283, sfx), \ 778c2ecf20Sopenharmony_ci /* Port288 - Port308 */ \ 788c2ecf20Sopenharmony_ci PORT_1(288, fn, pfx##288, sfx), PORT_1(289, fn, pfx##289, sfx), \ 798c2ecf20Sopenharmony_ci PORT_10(290, fn, pfx##29, sfx), \ 808c2ecf20Sopenharmony_ci PORT_1(300, fn, pfx##300, sfx), PORT_1(301, fn, pfx##301, sfx), \ 818c2ecf20Sopenharmony_ci PORT_1(302, fn, pfx##302, sfx), PORT_1(303, fn, pfx##303, sfx), \ 828c2ecf20Sopenharmony_ci PORT_1(304, fn, pfx##304, sfx), PORT_1(305, fn, pfx##305, sfx), \ 838c2ecf20Sopenharmony_ci PORT_1(306, fn, pfx##306, sfx), PORT_1(307, fn, pfx##307, sfx), \ 848c2ecf20Sopenharmony_ci PORT_1(308, fn, pfx##308, sfx), \ 858c2ecf20Sopenharmony_ci /* Port320 - Port329 */ \ 868c2ecf20Sopenharmony_ci PORT_10(320, fn, pfx##32, sfx) 878c2ecf20Sopenharmony_ci 888c2ecf20Sopenharmony_ci 898c2ecf20Sopenharmony_cienum { 908c2ecf20Sopenharmony_ci PINMUX_RESERVED = 0, 918c2ecf20Sopenharmony_ci 928c2ecf20Sopenharmony_ci /* PORT0_DATA -> PORT329_DATA */ 938c2ecf20Sopenharmony_ci PINMUX_DATA_BEGIN, 948c2ecf20Sopenharmony_ci PORT_ALL(DATA), 958c2ecf20Sopenharmony_ci PINMUX_DATA_END, 968c2ecf20Sopenharmony_ci 978c2ecf20Sopenharmony_ci /* PORT0_IN -> PORT329_IN */ 988c2ecf20Sopenharmony_ci PINMUX_INPUT_BEGIN, 998c2ecf20Sopenharmony_ci PORT_ALL(IN), 1008c2ecf20Sopenharmony_ci PINMUX_INPUT_END, 1018c2ecf20Sopenharmony_ci 1028c2ecf20Sopenharmony_ci /* PORT0_OUT -> PORT329_OUT */ 1038c2ecf20Sopenharmony_ci PINMUX_OUTPUT_BEGIN, 1048c2ecf20Sopenharmony_ci PORT_ALL(OUT), 1058c2ecf20Sopenharmony_ci PINMUX_OUTPUT_END, 1068c2ecf20Sopenharmony_ci 1078c2ecf20Sopenharmony_ci PINMUX_FUNCTION_BEGIN, 1088c2ecf20Sopenharmony_ci PORT_ALL(FN_IN), /* PORT0_FN_IN -> PORT329_FN_IN */ 1098c2ecf20Sopenharmony_ci PORT_ALL(FN_OUT), /* PORT0_FN_OUT -> PORT329_FN_OUT */ 1108c2ecf20Sopenharmony_ci PORT_ALL(FN0), /* PORT0_FN0 -> PORT329_FN0 */ 1118c2ecf20Sopenharmony_ci PORT_ALL(FN1), /* PORT0_FN1 -> PORT329_FN1 */ 1128c2ecf20Sopenharmony_ci PORT_ALL(FN2), /* PORT0_FN2 -> PORT329_FN2 */ 1138c2ecf20Sopenharmony_ci PORT_ALL(FN3), /* PORT0_FN3 -> PORT329_FN3 */ 1148c2ecf20Sopenharmony_ci PORT_ALL(FN4), /* PORT0_FN4 -> PORT329_FN4 */ 1158c2ecf20Sopenharmony_ci PORT_ALL(FN5), /* PORT0_FN5 -> PORT329_FN5 */ 1168c2ecf20Sopenharmony_ci PORT_ALL(FN6), /* PORT0_FN6 -> PORT329_FN6 */ 1178c2ecf20Sopenharmony_ci PORT_ALL(FN7), /* PORT0_FN7 -> PORT329_FN7 */ 1188c2ecf20Sopenharmony_ci 1198c2ecf20Sopenharmony_ci MSEL1CR_31_0, MSEL1CR_31_1, 1208c2ecf20Sopenharmony_ci MSEL1CR_27_0, MSEL1CR_27_1, 1218c2ecf20Sopenharmony_ci MSEL1CR_25_0, MSEL1CR_25_1, 1228c2ecf20Sopenharmony_ci MSEL1CR_24_0, MSEL1CR_24_1, 1238c2ecf20Sopenharmony_ci MSEL1CR_22_0, MSEL1CR_22_1, 1248c2ecf20Sopenharmony_ci MSEL1CR_21_0, MSEL1CR_21_1, 1258c2ecf20Sopenharmony_ci MSEL1CR_20_0, MSEL1CR_20_1, 1268c2ecf20Sopenharmony_ci MSEL1CR_19_0, MSEL1CR_19_1, 1278c2ecf20Sopenharmony_ci MSEL1CR_18_0, MSEL1CR_18_1, 1288c2ecf20Sopenharmony_ci MSEL1CR_17_0, MSEL1CR_17_1, 1298c2ecf20Sopenharmony_ci MSEL1CR_16_0, MSEL1CR_16_1, 1308c2ecf20Sopenharmony_ci MSEL1CR_15_0, MSEL1CR_15_1, 1318c2ecf20Sopenharmony_ci MSEL1CR_14_0, MSEL1CR_14_1, 1328c2ecf20Sopenharmony_ci MSEL1CR_13_0, MSEL1CR_13_1, 1338c2ecf20Sopenharmony_ci MSEL1CR_12_0, MSEL1CR_12_1, 1348c2ecf20Sopenharmony_ci MSEL1CR_11_0, MSEL1CR_11_1, 1358c2ecf20Sopenharmony_ci MSEL1CR_10_0, MSEL1CR_10_1, 1368c2ecf20Sopenharmony_ci MSEL1CR_09_0, MSEL1CR_09_1, 1378c2ecf20Sopenharmony_ci MSEL1CR_08_0, MSEL1CR_08_1, 1388c2ecf20Sopenharmony_ci MSEL1CR_07_0, MSEL1CR_07_1, 1398c2ecf20Sopenharmony_ci MSEL1CR_06_0, MSEL1CR_06_1, 1408c2ecf20Sopenharmony_ci MSEL1CR_05_0, MSEL1CR_05_1, 1418c2ecf20Sopenharmony_ci MSEL1CR_04_0, MSEL1CR_04_1, 1428c2ecf20Sopenharmony_ci MSEL1CR_03_0, MSEL1CR_03_1, 1438c2ecf20Sopenharmony_ci MSEL1CR_02_0, MSEL1CR_02_1, 1448c2ecf20Sopenharmony_ci MSEL1CR_01_0, MSEL1CR_01_1, 1458c2ecf20Sopenharmony_ci MSEL1CR_00_0, MSEL1CR_00_1, 1468c2ecf20Sopenharmony_ci 1478c2ecf20Sopenharmony_ci MSEL3CR_31_0, MSEL3CR_31_1, 1488c2ecf20Sopenharmony_ci MSEL3CR_28_0, MSEL3CR_28_1, 1498c2ecf20Sopenharmony_ci MSEL3CR_27_0, MSEL3CR_27_1, 1508c2ecf20Sopenharmony_ci MSEL3CR_26_0, MSEL3CR_26_1, 1518c2ecf20Sopenharmony_ci MSEL3CR_23_0, MSEL3CR_23_1, 1528c2ecf20Sopenharmony_ci MSEL3CR_22_0, MSEL3CR_22_1, 1538c2ecf20Sopenharmony_ci MSEL3CR_21_0, MSEL3CR_21_1, 1548c2ecf20Sopenharmony_ci MSEL3CR_20_0, MSEL3CR_20_1, 1558c2ecf20Sopenharmony_ci MSEL3CR_19_0, MSEL3CR_19_1, 1568c2ecf20Sopenharmony_ci MSEL3CR_18_0, MSEL3CR_18_1, 1578c2ecf20Sopenharmony_ci MSEL3CR_17_0, MSEL3CR_17_1, 1588c2ecf20Sopenharmony_ci MSEL3CR_16_0, MSEL3CR_16_1, 1598c2ecf20Sopenharmony_ci MSEL3CR_15_0, MSEL3CR_15_1, 1608c2ecf20Sopenharmony_ci MSEL3CR_12_0, MSEL3CR_12_1, 1618c2ecf20Sopenharmony_ci MSEL3CR_11_0, MSEL3CR_11_1, 1628c2ecf20Sopenharmony_ci MSEL3CR_10_0, MSEL3CR_10_1, 1638c2ecf20Sopenharmony_ci MSEL3CR_09_0, MSEL3CR_09_1, 1648c2ecf20Sopenharmony_ci MSEL3CR_06_0, MSEL3CR_06_1, 1658c2ecf20Sopenharmony_ci MSEL3CR_03_0, MSEL3CR_03_1, 1668c2ecf20Sopenharmony_ci MSEL3CR_01_0, MSEL3CR_01_1, 1678c2ecf20Sopenharmony_ci MSEL3CR_00_0, MSEL3CR_00_1, 1688c2ecf20Sopenharmony_ci 1698c2ecf20Sopenharmony_ci MSEL4CR_30_0, MSEL4CR_30_1, 1708c2ecf20Sopenharmony_ci MSEL4CR_29_0, MSEL4CR_29_1, 1718c2ecf20Sopenharmony_ci MSEL4CR_28_0, MSEL4CR_28_1, 1728c2ecf20Sopenharmony_ci MSEL4CR_27_0, MSEL4CR_27_1, 1738c2ecf20Sopenharmony_ci MSEL4CR_26_0, MSEL4CR_26_1, 1748c2ecf20Sopenharmony_ci MSEL4CR_25_0, MSEL4CR_25_1, 1758c2ecf20Sopenharmony_ci MSEL4CR_24_0, MSEL4CR_24_1, 1768c2ecf20Sopenharmony_ci MSEL4CR_23_0, MSEL4CR_23_1, 1778c2ecf20Sopenharmony_ci MSEL4CR_22_0, MSEL4CR_22_1, 1788c2ecf20Sopenharmony_ci MSEL4CR_21_0, MSEL4CR_21_1, 1798c2ecf20Sopenharmony_ci MSEL4CR_20_0, MSEL4CR_20_1, 1808c2ecf20Sopenharmony_ci MSEL4CR_19_0, MSEL4CR_19_1, 1818c2ecf20Sopenharmony_ci MSEL4CR_18_0, MSEL4CR_18_1, 1828c2ecf20Sopenharmony_ci MSEL4CR_17_0, MSEL4CR_17_1, 1838c2ecf20Sopenharmony_ci MSEL4CR_16_0, MSEL4CR_16_1, 1848c2ecf20Sopenharmony_ci MSEL4CR_15_0, MSEL4CR_15_1, 1858c2ecf20Sopenharmony_ci MSEL4CR_14_0, MSEL4CR_14_1, 1868c2ecf20Sopenharmony_ci MSEL4CR_13_0, MSEL4CR_13_1, 1878c2ecf20Sopenharmony_ci MSEL4CR_12_0, MSEL4CR_12_1, 1888c2ecf20Sopenharmony_ci MSEL4CR_11_0, MSEL4CR_11_1, 1898c2ecf20Sopenharmony_ci MSEL4CR_10_0, MSEL4CR_10_1, 1908c2ecf20Sopenharmony_ci MSEL4CR_09_0, MSEL4CR_09_1, 1918c2ecf20Sopenharmony_ci MSEL4CR_07_0, MSEL4CR_07_1, 1928c2ecf20Sopenharmony_ci MSEL4CR_04_0, MSEL4CR_04_1, 1938c2ecf20Sopenharmony_ci MSEL4CR_01_0, MSEL4CR_01_1, 1948c2ecf20Sopenharmony_ci 1958c2ecf20Sopenharmony_ci MSEL5CR_31_0, MSEL5CR_31_1, 1968c2ecf20Sopenharmony_ci MSEL5CR_30_0, MSEL5CR_30_1, 1978c2ecf20Sopenharmony_ci MSEL5CR_29_0, MSEL5CR_29_1, 1988c2ecf20Sopenharmony_ci MSEL5CR_28_0, MSEL5CR_28_1, 1998c2ecf20Sopenharmony_ci MSEL5CR_27_0, MSEL5CR_27_1, 2008c2ecf20Sopenharmony_ci MSEL5CR_26_0, MSEL5CR_26_1, 2018c2ecf20Sopenharmony_ci MSEL5CR_25_0, MSEL5CR_25_1, 2028c2ecf20Sopenharmony_ci MSEL5CR_24_0, MSEL5CR_24_1, 2038c2ecf20Sopenharmony_ci MSEL5CR_23_0, MSEL5CR_23_1, 2048c2ecf20Sopenharmony_ci MSEL5CR_22_0, MSEL5CR_22_1, 2058c2ecf20Sopenharmony_ci MSEL5CR_21_0, MSEL5CR_21_1, 2068c2ecf20Sopenharmony_ci MSEL5CR_20_0, MSEL5CR_20_1, 2078c2ecf20Sopenharmony_ci MSEL5CR_19_0, MSEL5CR_19_1, 2088c2ecf20Sopenharmony_ci MSEL5CR_18_0, MSEL5CR_18_1, 2098c2ecf20Sopenharmony_ci MSEL5CR_17_0, MSEL5CR_17_1, 2108c2ecf20Sopenharmony_ci MSEL5CR_16_0, MSEL5CR_16_1, 2118c2ecf20Sopenharmony_ci MSEL5CR_15_0, MSEL5CR_15_1, 2128c2ecf20Sopenharmony_ci MSEL5CR_14_0, MSEL5CR_14_1, 2138c2ecf20Sopenharmony_ci MSEL5CR_13_0, MSEL5CR_13_1, 2148c2ecf20Sopenharmony_ci MSEL5CR_12_0, MSEL5CR_12_1, 2158c2ecf20Sopenharmony_ci MSEL5CR_11_0, MSEL5CR_11_1, 2168c2ecf20Sopenharmony_ci MSEL5CR_10_0, MSEL5CR_10_1, 2178c2ecf20Sopenharmony_ci MSEL5CR_09_0, MSEL5CR_09_1, 2188c2ecf20Sopenharmony_ci MSEL5CR_08_0, MSEL5CR_08_1, 2198c2ecf20Sopenharmony_ci MSEL5CR_07_0, MSEL5CR_07_1, 2208c2ecf20Sopenharmony_ci MSEL5CR_06_0, MSEL5CR_06_1, 2218c2ecf20Sopenharmony_ci 2228c2ecf20Sopenharmony_ci MSEL8CR_16_0, MSEL8CR_16_1, 2238c2ecf20Sopenharmony_ci MSEL8CR_01_0, MSEL8CR_01_1, 2248c2ecf20Sopenharmony_ci MSEL8CR_00_0, MSEL8CR_00_1, 2258c2ecf20Sopenharmony_ci 2268c2ecf20Sopenharmony_ci PINMUX_FUNCTION_END, 2278c2ecf20Sopenharmony_ci 2288c2ecf20Sopenharmony_ci PINMUX_MARK_BEGIN, 2298c2ecf20Sopenharmony_ci 2308c2ecf20Sopenharmony_ci 2318c2ecf20Sopenharmony_ci#define F1(a) a##_MARK 2328c2ecf20Sopenharmony_ci#define F2(a) a##_MARK 2338c2ecf20Sopenharmony_ci#define F3(a) a##_MARK 2348c2ecf20Sopenharmony_ci#define F4(a) a##_MARK 2358c2ecf20Sopenharmony_ci#define F5(a) a##_MARK 2368c2ecf20Sopenharmony_ci#define F6(a) a##_MARK 2378c2ecf20Sopenharmony_ci#define F7(a) a##_MARK 2388c2ecf20Sopenharmony_ci#define IRQ(a) IRQ##a##_MARK 2398c2ecf20Sopenharmony_ci 2408c2ecf20Sopenharmony_ci F1(LCDD0), F3(PDM2_CLK_0), F7(DU0_DR0), IRQ(0), /* Port0 */ 2418c2ecf20Sopenharmony_ci F1(LCDD1), F3(PDM2_DATA_1), F7(DU0_DR19), IRQ(1), 2428c2ecf20Sopenharmony_ci F1(LCDD2), F3(PDM3_CLK_2), F7(DU0_DR2), IRQ(2), 2438c2ecf20Sopenharmony_ci F1(LCDD3), F3(PDM3_DATA_3), F7(DU0_DR3), IRQ(3), 2448c2ecf20Sopenharmony_ci F1(LCDD4), F3(PDM4_CLK_4), F7(DU0_DR4), IRQ(4), 2458c2ecf20Sopenharmony_ci F1(LCDD5), F3(PDM4_DATA_5), F7(DU0_DR5), IRQ(5), 2468c2ecf20Sopenharmony_ci F1(LCDD6), F3(PDM0_OUTCLK_6), F7(DU0_DR6), IRQ(6), 2478c2ecf20Sopenharmony_ci F1(LCDD7), F3(PDM0_OUTDATA_7), F7(DU0_DR7), IRQ(7), 2488c2ecf20Sopenharmony_ci F1(LCDD8), F3(PDM1_OUTCLK_8), F7(DU0_DG0), IRQ(8), 2498c2ecf20Sopenharmony_ci F1(LCDD9), F3(PDM1_OUTDATA_9), F7(DU0_DG1), IRQ(9), 2508c2ecf20Sopenharmony_ci F1(LCDD10), F3(FSICCK), F7(DU0_DG2), IRQ(10), /* Port10 */ 2518c2ecf20Sopenharmony_ci F1(LCDD11), F3(FSICISLD), F7(DU0_DG3), IRQ(11), 2528c2ecf20Sopenharmony_ci F1(LCDD12), F3(FSICOMC), F7(DU0_DG4), IRQ(12), 2538c2ecf20Sopenharmony_ci F1(LCDD13), F3(FSICOLR), F4(FSICILR), F7(DU0_DG5), IRQ(13), 2548c2ecf20Sopenharmony_ci F1(LCDD14), F3(FSICOBT), F4(FSICIBT), F7(DU0_DG6), IRQ(14), 2558c2ecf20Sopenharmony_ci F1(LCDD15), F3(FSICOSLD), F7(DU0_DG7), IRQ(15), 2568c2ecf20Sopenharmony_ci F1(LCDD16), F4(TPU1TO1), F7(DU0_DB0), 2578c2ecf20Sopenharmony_ci F1(LCDD17), F4(SF_IRQ_00), F7(DU0_DB1), 2588c2ecf20Sopenharmony_ci F1(LCDD18), F4(SF_IRQ_01), F7(DU0_DB2), 2598c2ecf20Sopenharmony_ci F1(LCDD19), F3(SCIFB3_RTS_19), F7(DU0_DB3), 2608c2ecf20Sopenharmony_ci F1(LCDD20), F3(SCIFB3_CTS_20), F7(DU0_DB4), /* Port20 */ 2618c2ecf20Sopenharmony_ci F1(LCDD21), F3(SCIFB3_TXD_21), F7(DU0_DB5), 2628c2ecf20Sopenharmony_ci F1(LCDD22), F3(SCIFB3_RXD_22), F7(DU0_DB6), 2638c2ecf20Sopenharmony_ci F1(LCDD23), F3(SCIFB3_SCK_23), F7(DU0_DB7), 2648c2ecf20Sopenharmony_ci F1(LCDHSYN), F2(LCDCS), F3(SCIFB1_RTS_24), 2658c2ecf20Sopenharmony_ci F7(DU0_EXHSYNC_N_CSYNC_N_HSYNC_N), 2668c2ecf20Sopenharmony_ci F1(LCDVSYN), F3(SCIFB1_CTS_25), F7(DU0_EXVSYNC_N_VSYNC_N_CSYNC_N), 2678c2ecf20Sopenharmony_ci F1(LCDDCK), F2(LCDWR), F3(SCIFB1_TXD_26), F7(DU0_DOTCLKIN), 2688c2ecf20Sopenharmony_ci F1(LCDDISP), F2(LCDRS), F3(SCIFB1_RXD_27), F7(DU0_DOTCLKOUT), 2698c2ecf20Sopenharmony_ci F1(LCDRD_N), F3(SCIFB1_SCK_28), F7(DU0_DOTCLKOUTB), 2708c2ecf20Sopenharmony_ci F1(LCDLCLK), F4(SF_IRQ_02), F7(DU0_DISP_CSYNC_N_DE), 2718c2ecf20Sopenharmony_ci F1(LCDDON), F4(SF_IRQ_03), F7(DU0_ODDF_N_CLAMP), /* Port30 */ 2728c2ecf20Sopenharmony_ci 2738c2ecf20Sopenharmony_ci F1(SCIFA0_RTS), F5(SIM0_DET), F7(CSCIF0_RTS), /* Port32 */ 2748c2ecf20Sopenharmony_ci F1(SCIFA0_CTS), F5(SIM1_DET), F7(CSCIF0_CTS), 2758c2ecf20Sopenharmony_ci F1(SCIFA0_SCK), F5(SIM0_PWRON), F7(CSCIF0_SCK), 2768c2ecf20Sopenharmony_ci F1(SCIFA1_RTS), F7(CSCIF1_RTS), 2778c2ecf20Sopenharmony_ci F1(SCIFA1_CTS), F7(CSCIF1_CTS), 2788c2ecf20Sopenharmony_ci F1(SCIFA1_SCK), F7(CSCIF1_SCK), 2798c2ecf20Sopenharmony_ci F1(SCIFB0_RTS), F3(TPU0TO1), F4(SCIFB3_RTS_38), F7(CHSCIF0_HRTS), 2808c2ecf20Sopenharmony_ci F1(SCIFB0_CTS), F3(TPU0TO2), F4(SCIFB3_CTS_39), F7(CHSCIF0_HCTS), 2818c2ecf20Sopenharmony_ci F1(SCIFB0_SCK), F3(TPU0TO3), F4(SCIFB3_SCK_40), 2828c2ecf20Sopenharmony_ci F7(CHSCIF0_HSCK), /* Port40 */ 2838c2ecf20Sopenharmony_ci 2848c2ecf20Sopenharmony_ci F1(PDM0_DATA), /* Port64 */ 2858c2ecf20Sopenharmony_ci F1(PDM1_DATA), 2868c2ecf20Sopenharmony_ci F1(HSI_RX_WAKE), F2(SCIFB2_CTS_66), F3(MSIOF3_SYNC), F5(GenIO4), 2878c2ecf20Sopenharmony_ci IRQ(40), 2888c2ecf20Sopenharmony_ci F1(HSI_RX_READY), F2(SCIFB1_TXD_67), F5(GIO_OUT3_67), F7(CHSCIF1_HTX), 2898c2ecf20Sopenharmony_ci F1(HSI_RX_FLAG), F2(SCIFB2_TXD_68), F3(MSIOF3_TXD), F5(GIO_OUT4_68), 2908c2ecf20Sopenharmony_ci F1(HSI_RX_DATA), F2(SCIFB2_RXD_69), F3(MSIOF3_RXD), F5(GIO_OUT5_69), 2918c2ecf20Sopenharmony_ci F1(HSI_TX_FLAG), F2(SCIFB1_RTS_70), F5(GIO_OUT1_70), F6(HSIC_TSTCLK0), 2928c2ecf20Sopenharmony_ci F7(CHSCIF1_HRTS), /* Port70 */ 2938c2ecf20Sopenharmony_ci F1(HSI_TX_DATA), F2(SCIFB1_CTS_71), F5(GIO_OUT2_71), F6(HSIC_TSTCLK1), 2948c2ecf20Sopenharmony_ci F7(CHSCIF1_HCTS), 2958c2ecf20Sopenharmony_ci F1(HSI_TX_WAKE), F2(SCIFB1_RXD_72), F5(GenIO8), F7(CHSCIF1_HRX), 2968c2ecf20Sopenharmony_ci F1(HSI_TX_READY), F2(SCIFB2_RTS_73), F3(MSIOF3_SCK), F5(GIO_OUT0_73), 2978c2ecf20Sopenharmony_ci F1(IRDA_OUT), F1(IRDA_IN), F1(IRDA_FIRSEL), F1(TPU0TO0), 2988c2ecf20Sopenharmony_ci F1(DIGRFEN), F1(GPS_TIMESTAMP), F1(TXP), /* Port80 */ 2998c2ecf20Sopenharmony_ci F1(TXP2), F1(COEX_0), F1(COEX_1), IRQ(19), IRQ(18), /* Port85 */ 3008c2ecf20Sopenharmony_ci 3018c2ecf20Sopenharmony_ci F1(KEYIN0), /* Port96 */ 3028c2ecf20Sopenharmony_ci F1(KEYIN1), F1(KEYIN2), F1(KEYIN3), F1(KEYIN4), /* Port100 */ 3038c2ecf20Sopenharmony_ci F1(KEYIN5), F1(KEYIN6), IRQ(41), F1(KEYIN7), IRQ(42), 3048c2ecf20Sopenharmony_ci F2(KEYOUT0), F2(KEYOUT1), F2(KEYOUT2), F2(KEYOUT3), 3058c2ecf20Sopenharmony_ci F2(KEYOUT4), F2(KEYOUT5), IRQ(43), F2(KEYOUT6), IRQ(44), /* Port110 */ 3068c2ecf20Sopenharmony_ci F2(KEYOUT7), F5(RFANAEN), IRQ(45), 3078c2ecf20Sopenharmony_ci F1(KEYIN8), F2(KEYOUT8), F4(SF_IRQ_04), IRQ(46), 3088c2ecf20Sopenharmony_ci F1(KEYIN9), F2(KEYOUT9), F4(SF_IRQ_05), IRQ(47), 3098c2ecf20Sopenharmony_ci F1(KEYIN10), F2(KEYOUT10), F4(SF_IRQ_06), IRQ(48), 3108c2ecf20Sopenharmony_ci F1(KEYIN11), F2(KEYOUT11), F4(SF_IRQ_07), IRQ(49), 3118c2ecf20Sopenharmony_ci F1(SCIFA0_TXD), F7(CSCIF0_TX), F1(SCIFA0_RXD), F7(CSCIF0_RX), 3128c2ecf20Sopenharmony_ci F1(SCIFA1_TXD), F7(CSCIF1_TX), F1(SCIFA1_RXD), F7(CSCIF1_RX), 3138c2ecf20Sopenharmony_ci F3(SF_PORT_1_120), F4(SCIFB3_RXD_120), F7(DU0_CDE), /* Port120 */ 3148c2ecf20Sopenharmony_ci F3(SF_PORT_0_121), F4(SCIFB3_TXD_121), 3158c2ecf20Sopenharmony_ci F1(SCIFB0_TXD), F7(CHSCIF0_HTX), 3168c2ecf20Sopenharmony_ci F1(SCIFB0_RXD), F7(CHSCIF0_HRX), F3(ISP_STROBE_124), 3178c2ecf20Sopenharmony_ci F1(STP_ISD_0), F2(PDM4_CLK_125), F3(MSIOF2_TXD), F5(SIM0_VOLTSEL0), 3188c2ecf20Sopenharmony_ci F1(TS_SDEN), F2(MSIOF7_SYNC), F3(STP_ISEN_1), 3198c2ecf20Sopenharmony_ci F1(STP_ISEN_0), F2(PDM1_OUTDATA_128), F3(MSIOF2_SYNC), 3208c2ecf20Sopenharmony_ci F5(SIM1_VOLTSEL1), F1(TS_SPSYNC), F2(MSIOF7_RXD), F3(STP_ISSYNC_1), 3218c2ecf20Sopenharmony_ci F1(STP_ISSYNC_0), F2(PDM4_DATA_130), F3(MSIOF2_RXD), 3228c2ecf20Sopenharmony_ci F5(SIM0_VOLTSEL1), /* Port130 */ 3238c2ecf20Sopenharmony_ci F1(STP_OPWM_0), F5(SIM1_PWRON), F1(TS_SCK), F2(MSIOF7_SCK), 3248c2ecf20Sopenharmony_ci F3(STP_ISCLK_1), F1(STP_ISCLK_0), F2(PDM1_OUTCLK_133), F3(MSIOF2_SCK), 3258c2ecf20Sopenharmony_ci F5(SIM1_VOLTSEL0), F1(TS_SDAT), F2(MSIOF7_TXD), F3(STP_ISD_1), 3268c2ecf20Sopenharmony_ci IRQ(20), /* Port160 */ 3278c2ecf20Sopenharmony_ci IRQ(21), IRQ(22), IRQ(23), 3288c2ecf20Sopenharmony_ci F1(MMCD0_0), F1(MMCD0_1), F1(MMCD0_2), F1(MMCD0_3), 3298c2ecf20Sopenharmony_ci F1(MMCD0_4), F1(MMCD0_5), F1(MMCD0_6), /* Port170 */ 3308c2ecf20Sopenharmony_ci F1(MMCD0_7), F1(MMCCMD0), F1(MMCCLK0), F1(MMCRST), 3318c2ecf20Sopenharmony_ci IRQ(24), IRQ(25), IRQ(26), IRQ(27), 3328c2ecf20Sopenharmony_ci F1(A10), F2(MMCD1_7), IRQ(31), /* Port192 */ 3338c2ecf20Sopenharmony_ci F1(A9), F2(MMCD1_6), IRQ(32), 3348c2ecf20Sopenharmony_ci F1(A8), F2(MMCD1_5), IRQ(33), 3358c2ecf20Sopenharmony_ci F1(A7), F2(MMCD1_4), IRQ(34), 3368c2ecf20Sopenharmony_ci F1(A6), F2(MMCD1_3), IRQ(35), 3378c2ecf20Sopenharmony_ci F1(A5), F2(MMCD1_2), IRQ(36), 3388c2ecf20Sopenharmony_ci F1(A4), F2(MMCD1_1), IRQ(37), 3398c2ecf20Sopenharmony_ci F1(A3), F2(MMCD1_0), IRQ(38), 3408c2ecf20Sopenharmony_ci F1(A2), F2(MMCCMD1), IRQ(39), /* Port200 */ 3418c2ecf20Sopenharmony_ci F1(A1), 3428c2ecf20Sopenharmony_ci F1(A0), F2(BS), 3438c2ecf20Sopenharmony_ci F1(CKO), F2(MMCCLK1), 3448c2ecf20Sopenharmony_ci F1(CS0_N), F5(SIM0_GPO1), 3458c2ecf20Sopenharmony_ci F1(CS2_N), F5(SIM0_GPO2), 3468c2ecf20Sopenharmony_ci F1(CS4_N), F2(VIO_VD), F5(SIM1_GPO0), 3478c2ecf20Sopenharmony_ci F1(D15), F5(GIO_OUT15), 3488c2ecf20Sopenharmony_ci F1(D14), F5(GIO_OUT14), 3498c2ecf20Sopenharmony_ci F1(D13), F5(GIO_OUT13), 3508c2ecf20Sopenharmony_ci F1(D12), F5(GIO_OUT12), /* Port210 */ 3518c2ecf20Sopenharmony_ci F1(D11), F5(WGM_TXP2), 3528c2ecf20Sopenharmony_ci F1(D10), F5(WGM_GPS_TIMEM_ASK_RFCLK), 3538c2ecf20Sopenharmony_ci F1(D9), F2(VIO_D9), F5(GIO_OUT9), 3548c2ecf20Sopenharmony_ci F1(D8), F2(VIO_D8), F5(GIO_OUT8), 3558c2ecf20Sopenharmony_ci F1(D7), F2(VIO_D7), F5(GIO_OUT7), 3568c2ecf20Sopenharmony_ci F1(D6), F2(VIO_D6), F5(GIO_OUT6), 3578c2ecf20Sopenharmony_ci F1(D5), F2(VIO_D5), F5(GIO_OUT5_217), 3588c2ecf20Sopenharmony_ci F1(D4), F2(VIO_D4), F5(GIO_OUT4_218), 3598c2ecf20Sopenharmony_ci F1(D3), F2(VIO_D3), F5(GIO_OUT3_219), 3608c2ecf20Sopenharmony_ci F1(D2), F2(VIO_D2), F5(GIO_OUT2_220), /* Port220 */ 3618c2ecf20Sopenharmony_ci F1(D1), F2(VIO_D1), F5(GIO_OUT1_221), 3628c2ecf20Sopenharmony_ci F1(D0), F2(VIO_D0), F5(GIO_OUT0_222), 3638c2ecf20Sopenharmony_ci F1(RDWR_224), F2(VIO_HD), F5(SIM1_GPO2), 3648c2ecf20Sopenharmony_ci F1(RD_N), F1(WAIT_N), F2(VIO_CLK), F5(SIM1_GPO1), 3658c2ecf20Sopenharmony_ci F1(WE0_N), F2(RDWR_227), 3668c2ecf20Sopenharmony_ci F1(WE1_N), F5(SIM0_GPO0), 3678c2ecf20Sopenharmony_ci F1(PWMO), F2(VIO_CKO1_229), 3688c2ecf20Sopenharmony_ci F1(SLIM_CLK), F2(VIO_CKO4_230), /* Port230 */ 3698c2ecf20Sopenharmony_ci F1(SLIM_DATA), F2(VIO_CKO5_231), F2(VIO_CKO2_232), F4(SF_PORT_0_232), 3708c2ecf20Sopenharmony_ci F2(VIO_CKO3_233), F4(SF_PORT_1_233), 3718c2ecf20Sopenharmony_ci F1(FSIACK), F2(PDM3_CLK_234), F3(ISP_IRIS1_234), 3728c2ecf20Sopenharmony_ci F1(FSIAISLD), F2(PDM3_DATA_235), 3738c2ecf20Sopenharmony_ci F1(FSIAOMC), F2(PDM0_OUTCLK_236), F3(ISP_IRIS0_236), 3748c2ecf20Sopenharmony_ci F1(FSIAOLR), F2(FSIAILR), F1(FSIAOBT), F2(FSIAIBT), 3758c2ecf20Sopenharmony_ci F1(FSIAOSLD), F2(PDM0_OUTDATA_239), 3768c2ecf20Sopenharmony_ci F1(FSIBISLD), /* Port240 */ 3778c2ecf20Sopenharmony_ci F1(FSIBOLR), F2(FSIBILR), F1(FSIBOMC), F3(ISP_SHUTTER1_242), 3788c2ecf20Sopenharmony_ci F1(FSIBOBT), F2(FSIBIBT), F1(FSIBOSLD), F2(FSIASPDIF), 3798c2ecf20Sopenharmony_ci F1(FSIBCK), F3(ISP_SHUTTER0_245), 3808c2ecf20Sopenharmony_ci F1(ISP_IRIS1_246), F1(ISP_IRIS0_247), F1(ISP_SHUTTER1_248), 3818c2ecf20Sopenharmony_ci F1(ISP_SHUTTER0_249), F1(ISP_STROBE_250), /* Port250 */ 3828c2ecf20Sopenharmony_ci F1(MSIOF0_SYNC), F1(MSIOF0_RXD), F1(MSIOF0_SCK), F1(MSIOF0_SS2), 3838c2ecf20Sopenharmony_ci F3(VIO_CKO3_259), F1(MSIOF0_TXD), /* Port260 */ 3848c2ecf20Sopenharmony_ci F2(SCIFB1_SCK_261), F7(CHSCIF1_HSCK), F2(SCIFB2_SCK_262), 3858c2ecf20Sopenharmony_ci F1(MSIOF1_SS2), F4(MSIOF5_SS2), F1(MSIOF1_TXD), F4(MSIOF5_TXD), 3868c2ecf20Sopenharmony_ci F1(MSIOF1_RXD), F4(MSIOF5_RXD), F1(MSIOF1_SS1), F4(MSIOF5_SS1), 3878c2ecf20Sopenharmony_ci F1(MSIOF0_SS1), F1(MSIOF1_SCK), F4(MSIOF5_SCK), 3888c2ecf20Sopenharmony_ci F1(MSIOF1_SYNC), F4(MSIOF5_SYNC), 3898c2ecf20Sopenharmony_ci F1(MSIOF2_SS1), F3(VIO_CKO5_270), /* Port270 */ 3908c2ecf20Sopenharmony_ci F1(MSIOF2_SS2), F3(VIO_CKO2_271), F1(MSIOF3_SS2), F3(VIO_CKO1_272), 3918c2ecf20Sopenharmony_ci F1(MSIOF3_SS1), F3(VIO_CKO4_273), F1(MSIOF4_SS2), F4(TPU1TO0), 3928c2ecf20Sopenharmony_ci F1(IC_DP), F1(SIM0_RST), F1(IC_DM), F1(SIM0_BSICOMP), 3938c2ecf20Sopenharmony_ci F1(SIM0_CLK), F1(SIM0_IO), /* Port280 */ 3948c2ecf20Sopenharmony_ci F1(SIM1_IO), F2(PDM2_DATA_281), F1(SIM1_CLK), F2(PDM2_CLK_282), 3958c2ecf20Sopenharmony_ci F1(SIM1_RST), F1(SDHID1_0), F3(STMDATA0_2), 3968c2ecf20Sopenharmony_ci F1(SDHID1_1), F3(STMDATA1_2), IRQ(51), /* Port290 */ 3978c2ecf20Sopenharmony_ci F1(SDHID1_2), F3(STMDATA2_2), F1(SDHID1_3), F3(STMDATA3_2), 3988c2ecf20Sopenharmony_ci F1(SDHICLK1), F3(STMCLK_2), F1(SDHICMD1), F3(STMSIDI_2), 3998c2ecf20Sopenharmony_ci F1(SDHID2_0), F2(MSIOF4_TXD), F3(SCIFB2_TXD_295), F4(MSIOF6_TXD), 4008c2ecf20Sopenharmony_ci F1(SDHID2_1), F4(MSIOF6_SS2), IRQ(52), 4018c2ecf20Sopenharmony_ci F1(SDHID2_2), F2(MSIOF4_RXD), F3(SCIFB2_RXD_297), F4(MSIOF6_RXD), 4028c2ecf20Sopenharmony_ci F1(SDHID2_3), F2(MSIOF4_SYNC), F3(SCIFB2_CTS_298), F4(MSIOF6_SYNC), 4038c2ecf20Sopenharmony_ci F1(SDHICLK2), F2(MSIOF4_SCK), F3(SCIFB2_SCK_299), F4(MSIOF6_SCK), 4048c2ecf20Sopenharmony_ci F1(SDHICMD2), F2(MSIOF4_SS1), F3(SCIFB2_RTS_300), 4058c2ecf20Sopenharmony_ci F4(MSIOF6_SS1), /* Port300 */ 4068c2ecf20Sopenharmony_ci F1(SDHICD0), IRQ(50), F1(SDHID0_0), F3(STMDATA0_1), 4078c2ecf20Sopenharmony_ci F1(SDHID0_1), F3(STMDATA1_1), F1(SDHID0_2), F3(STMDATA2_1), 4088c2ecf20Sopenharmony_ci F1(SDHID0_3), F3(STMDATA3_1), F1(SDHICMD0), F3(STMSIDI_1), 4098c2ecf20Sopenharmony_ci F1(SDHIWP0), F1(SDHICLK0), F3(STMCLK_1), IRQ(16), /* Port320 */ 4108c2ecf20Sopenharmony_ci IRQ(17), IRQ(28), IRQ(29), IRQ(30), IRQ(53), IRQ(54), 4118c2ecf20Sopenharmony_ci IRQ(55), IRQ(56), IRQ(57), 4128c2ecf20Sopenharmony_ci PINMUX_MARK_END, 4138c2ecf20Sopenharmony_ci}; 4148c2ecf20Sopenharmony_ci 4158c2ecf20Sopenharmony_cistatic const u16 pinmux_data[] = { 4168c2ecf20Sopenharmony_ci /* specify valid pin states for each pin in GPIO mode */ 4178c2ecf20Sopenharmony_ci PINMUX_DATA_ALL(), 4188c2ecf20Sopenharmony_ci 4198c2ecf20Sopenharmony_ci /* Port0 */ 4208c2ecf20Sopenharmony_ci PINMUX_DATA(LCDD0_MARK, PORT0_FN1), 4218c2ecf20Sopenharmony_ci PINMUX_DATA(PDM2_CLK_0_MARK, PORT0_FN3), 4228c2ecf20Sopenharmony_ci PINMUX_DATA(DU0_DR0_MARK, PORT0_FN7), 4238c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ0_MARK, PORT0_FN0), 4248c2ecf20Sopenharmony_ci 4258c2ecf20Sopenharmony_ci /* Port1 */ 4268c2ecf20Sopenharmony_ci PINMUX_DATA(LCDD1_MARK, PORT1_FN1), 4278c2ecf20Sopenharmony_ci PINMUX_DATA(PDM2_DATA_1_MARK, PORT1_FN3, MSEL3CR_12_0), 4288c2ecf20Sopenharmony_ci PINMUX_DATA(DU0_DR19_MARK, PORT1_FN7), 4298c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ1_MARK, PORT1_FN0), 4308c2ecf20Sopenharmony_ci 4318c2ecf20Sopenharmony_ci /* Port2 */ 4328c2ecf20Sopenharmony_ci PINMUX_DATA(LCDD2_MARK, PORT2_FN1), 4338c2ecf20Sopenharmony_ci PINMUX_DATA(PDM3_CLK_2_MARK, PORT2_FN3), 4348c2ecf20Sopenharmony_ci PINMUX_DATA(DU0_DR2_MARK, PORT2_FN7), 4358c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ2_MARK, PORT2_FN0), 4368c2ecf20Sopenharmony_ci 4378c2ecf20Sopenharmony_ci /* Port3 */ 4388c2ecf20Sopenharmony_ci PINMUX_DATA(LCDD3_MARK, PORT3_FN1), 4398c2ecf20Sopenharmony_ci PINMUX_DATA(PDM3_DATA_3_MARK, PORT3_FN3, MSEL3CR_12_0), 4408c2ecf20Sopenharmony_ci PINMUX_DATA(DU0_DR3_MARK, PORT3_FN7), 4418c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ3_MARK, PORT3_FN0), 4428c2ecf20Sopenharmony_ci 4438c2ecf20Sopenharmony_ci /* Port4 */ 4448c2ecf20Sopenharmony_ci PINMUX_DATA(LCDD4_MARK, PORT4_FN1), 4458c2ecf20Sopenharmony_ci PINMUX_DATA(PDM4_CLK_4_MARK, PORT4_FN3), 4468c2ecf20Sopenharmony_ci PINMUX_DATA(DU0_DR4_MARK, PORT4_FN7), 4478c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ4_MARK, PORT4_FN0), 4488c2ecf20Sopenharmony_ci 4498c2ecf20Sopenharmony_ci /* Port5 */ 4508c2ecf20Sopenharmony_ci PINMUX_DATA(LCDD5_MARK, PORT5_FN1), 4518c2ecf20Sopenharmony_ci PINMUX_DATA(PDM4_DATA_5_MARK, PORT5_FN3, MSEL3CR_12_0), 4528c2ecf20Sopenharmony_ci PINMUX_DATA(DU0_DR5_MARK, PORT5_FN7), 4538c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ5_MARK, PORT5_FN0), 4548c2ecf20Sopenharmony_ci 4558c2ecf20Sopenharmony_ci /* Port6 */ 4568c2ecf20Sopenharmony_ci PINMUX_DATA(LCDD6_MARK, PORT6_FN1), 4578c2ecf20Sopenharmony_ci PINMUX_DATA(PDM0_OUTCLK_6_MARK, PORT6_FN3), 4588c2ecf20Sopenharmony_ci PINMUX_DATA(DU0_DR6_MARK, PORT6_FN7), 4598c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ6_MARK, PORT6_FN0), 4608c2ecf20Sopenharmony_ci 4618c2ecf20Sopenharmony_ci /* Port7 */ 4628c2ecf20Sopenharmony_ci PINMUX_DATA(LCDD7_MARK, PORT7_FN1), 4638c2ecf20Sopenharmony_ci PINMUX_DATA(PDM0_OUTDATA_7_MARK, PORT7_FN3), 4648c2ecf20Sopenharmony_ci PINMUX_DATA(DU0_DR7_MARK, PORT7_FN7), 4658c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ7_MARK, PORT7_FN0), 4668c2ecf20Sopenharmony_ci 4678c2ecf20Sopenharmony_ci /* Port8 */ 4688c2ecf20Sopenharmony_ci PINMUX_DATA(LCDD8_MARK, PORT8_FN1), 4698c2ecf20Sopenharmony_ci PINMUX_DATA(PDM1_OUTCLK_8_MARK, PORT8_FN3), 4708c2ecf20Sopenharmony_ci PINMUX_DATA(DU0_DG0_MARK, PORT8_FN7), 4718c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ8_MARK, PORT8_FN0), 4728c2ecf20Sopenharmony_ci 4738c2ecf20Sopenharmony_ci /* Port9 */ 4748c2ecf20Sopenharmony_ci PINMUX_DATA(LCDD9_MARK, PORT9_FN1), 4758c2ecf20Sopenharmony_ci PINMUX_DATA(PDM1_OUTDATA_9_MARK, PORT9_FN3), 4768c2ecf20Sopenharmony_ci PINMUX_DATA(DU0_DG1_MARK, PORT9_FN7), 4778c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ9_MARK, PORT9_FN0), 4788c2ecf20Sopenharmony_ci 4798c2ecf20Sopenharmony_ci /* Port10 */ 4808c2ecf20Sopenharmony_ci PINMUX_DATA(LCDD10_MARK, PORT10_FN1), 4818c2ecf20Sopenharmony_ci PINMUX_DATA(FSICCK_MARK, PORT10_FN3), 4828c2ecf20Sopenharmony_ci PINMUX_DATA(DU0_DG2_MARK, PORT10_FN7), 4838c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ10_MARK, PORT10_FN0), 4848c2ecf20Sopenharmony_ci 4858c2ecf20Sopenharmony_ci /* Port11 */ 4868c2ecf20Sopenharmony_ci PINMUX_DATA(LCDD11_MARK, PORT11_FN1), 4878c2ecf20Sopenharmony_ci PINMUX_DATA(FSICISLD_MARK, PORT11_FN3), 4888c2ecf20Sopenharmony_ci PINMUX_DATA(DU0_DG3_MARK, PORT11_FN7), 4898c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ11_MARK, PORT11_FN0), 4908c2ecf20Sopenharmony_ci 4918c2ecf20Sopenharmony_ci /* Port12 */ 4928c2ecf20Sopenharmony_ci PINMUX_DATA(LCDD12_MARK, PORT12_FN1), 4938c2ecf20Sopenharmony_ci PINMUX_DATA(FSICOMC_MARK, PORT12_FN3), 4948c2ecf20Sopenharmony_ci PINMUX_DATA(DU0_DG4_MARK, PORT12_FN7), 4958c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ12_MARK, PORT12_FN0), 4968c2ecf20Sopenharmony_ci 4978c2ecf20Sopenharmony_ci /* Port13 */ 4988c2ecf20Sopenharmony_ci PINMUX_DATA(LCDD13_MARK, PORT13_FN1), 4998c2ecf20Sopenharmony_ci PINMUX_DATA(FSICOLR_MARK, PORT13_FN3), 5008c2ecf20Sopenharmony_ci PINMUX_DATA(FSICILR_MARK, PORT13_FN4), 5018c2ecf20Sopenharmony_ci PINMUX_DATA(DU0_DG5_MARK, PORT13_FN7), 5028c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ13_MARK, PORT13_FN0), 5038c2ecf20Sopenharmony_ci 5048c2ecf20Sopenharmony_ci /* Port14 */ 5058c2ecf20Sopenharmony_ci PINMUX_DATA(LCDD14_MARK, PORT14_FN1), 5068c2ecf20Sopenharmony_ci PINMUX_DATA(FSICOBT_MARK, PORT14_FN3), 5078c2ecf20Sopenharmony_ci PINMUX_DATA(FSICIBT_MARK, PORT14_FN4), 5088c2ecf20Sopenharmony_ci PINMUX_DATA(DU0_DG6_MARK, PORT14_FN7), 5098c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ14_MARK, PORT14_FN0), 5108c2ecf20Sopenharmony_ci 5118c2ecf20Sopenharmony_ci /* Port15 */ 5128c2ecf20Sopenharmony_ci PINMUX_DATA(LCDD15_MARK, PORT15_FN1), 5138c2ecf20Sopenharmony_ci PINMUX_DATA(FSICOSLD_MARK, PORT15_FN3), 5148c2ecf20Sopenharmony_ci PINMUX_DATA(DU0_DG7_MARK, PORT15_FN7), 5158c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ15_MARK, PORT15_FN0), 5168c2ecf20Sopenharmony_ci 5178c2ecf20Sopenharmony_ci /* Port16 */ 5188c2ecf20Sopenharmony_ci PINMUX_DATA(LCDD16_MARK, PORT16_FN1), 5198c2ecf20Sopenharmony_ci PINMUX_DATA(TPU1TO1_MARK, PORT16_FN4), 5208c2ecf20Sopenharmony_ci PINMUX_DATA(DU0_DB0_MARK, PORT16_FN7), 5218c2ecf20Sopenharmony_ci 5228c2ecf20Sopenharmony_ci /* Port17 */ 5238c2ecf20Sopenharmony_ci PINMUX_DATA(LCDD17_MARK, PORT17_FN1), 5248c2ecf20Sopenharmony_ci PINMUX_DATA(SF_IRQ_00_MARK, PORT17_FN4), 5258c2ecf20Sopenharmony_ci PINMUX_DATA(DU0_DB1_MARK, PORT17_FN7), 5268c2ecf20Sopenharmony_ci 5278c2ecf20Sopenharmony_ci /* Port18 */ 5288c2ecf20Sopenharmony_ci PINMUX_DATA(LCDD18_MARK, PORT18_FN1), 5298c2ecf20Sopenharmony_ci PINMUX_DATA(SF_IRQ_01_MARK, PORT18_FN4), 5308c2ecf20Sopenharmony_ci PINMUX_DATA(DU0_DB2_MARK, PORT18_FN7), 5318c2ecf20Sopenharmony_ci 5328c2ecf20Sopenharmony_ci /* Port19 */ 5338c2ecf20Sopenharmony_ci PINMUX_DATA(LCDD19_MARK, PORT19_FN1), 5348c2ecf20Sopenharmony_ci PINMUX_DATA(SCIFB3_RTS_19_MARK, PORT19_FN3), 5358c2ecf20Sopenharmony_ci PINMUX_DATA(DU0_DB3_MARK, PORT19_FN7), 5368c2ecf20Sopenharmony_ci 5378c2ecf20Sopenharmony_ci /* Port20 */ 5388c2ecf20Sopenharmony_ci PINMUX_DATA(LCDD20_MARK, PORT20_FN1), 5398c2ecf20Sopenharmony_ci PINMUX_DATA(SCIFB3_CTS_20_MARK, PORT20_FN3, MSEL3CR_09_0), 5408c2ecf20Sopenharmony_ci PINMUX_DATA(DU0_DB4_MARK, PORT20_FN7), 5418c2ecf20Sopenharmony_ci 5428c2ecf20Sopenharmony_ci /* Port21 */ 5438c2ecf20Sopenharmony_ci PINMUX_DATA(LCDD21_MARK, PORT21_FN1), 5448c2ecf20Sopenharmony_ci PINMUX_DATA(SCIFB3_TXD_21_MARK, PORT21_FN3, MSEL3CR_09_0), 5458c2ecf20Sopenharmony_ci PINMUX_DATA(DU0_DB5_MARK, PORT21_FN7), 5468c2ecf20Sopenharmony_ci 5478c2ecf20Sopenharmony_ci /* Port22 */ 5488c2ecf20Sopenharmony_ci PINMUX_DATA(LCDD22_MARK, PORT22_FN1), 5498c2ecf20Sopenharmony_ci PINMUX_DATA(SCIFB3_RXD_22_MARK, PORT22_FN3, MSEL3CR_09_0), 5508c2ecf20Sopenharmony_ci PINMUX_DATA(DU0_DB6_MARK, PORT22_FN7), 5518c2ecf20Sopenharmony_ci 5528c2ecf20Sopenharmony_ci /* Port23 */ 5538c2ecf20Sopenharmony_ci PINMUX_DATA(LCDD23_MARK, PORT23_FN1), 5548c2ecf20Sopenharmony_ci PINMUX_DATA(SCIFB3_SCK_23_MARK, PORT23_FN3), 5558c2ecf20Sopenharmony_ci PINMUX_DATA(DU0_DB7_MARK, PORT23_FN7), 5568c2ecf20Sopenharmony_ci 5578c2ecf20Sopenharmony_ci /* Port24 */ 5588c2ecf20Sopenharmony_ci PINMUX_DATA(LCDHSYN_MARK, PORT24_FN1), 5598c2ecf20Sopenharmony_ci PINMUX_DATA(LCDCS_MARK, PORT24_FN2), 5608c2ecf20Sopenharmony_ci PINMUX_DATA(SCIFB1_RTS_24_MARK, PORT24_FN3), 5618c2ecf20Sopenharmony_ci PINMUX_DATA(DU0_EXHSYNC_N_CSYNC_N_HSYNC_N_MARK, PORT24_FN7), 5628c2ecf20Sopenharmony_ci 5638c2ecf20Sopenharmony_ci /* Port25 */ 5648c2ecf20Sopenharmony_ci PINMUX_DATA(LCDVSYN_MARK, PORT25_FN1), 5658c2ecf20Sopenharmony_ci PINMUX_DATA(SCIFB1_CTS_25_MARK, PORT25_FN3, MSEL3CR_11_0), 5668c2ecf20Sopenharmony_ci PINMUX_DATA(DU0_EXVSYNC_N_VSYNC_N_CSYNC_N_MARK, PORT25_FN7), 5678c2ecf20Sopenharmony_ci 5688c2ecf20Sopenharmony_ci /* Port26 */ 5698c2ecf20Sopenharmony_ci PINMUX_DATA(LCDDCK_MARK, PORT26_FN1), 5708c2ecf20Sopenharmony_ci PINMUX_DATA(LCDWR_MARK, PORT26_FN2), 5718c2ecf20Sopenharmony_ci PINMUX_DATA(SCIFB1_TXD_26_MARK, PORT26_FN3, MSEL3CR_11_0), 5728c2ecf20Sopenharmony_ci PINMUX_DATA(DU0_DOTCLKIN_MARK, PORT26_FN7), 5738c2ecf20Sopenharmony_ci 5748c2ecf20Sopenharmony_ci /* Port27 */ 5758c2ecf20Sopenharmony_ci PINMUX_DATA(LCDDISP_MARK, PORT27_FN1), 5768c2ecf20Sopenharmony_ci PINMUX_DATA(LCDRS_MARK, PORT27_FN2), 5778c2ecf20Sopenharmony_ci PINMUX_DATA(SCIFB1_RXD_27_MARK, PORT27_FN3, MSEL3CR_11_0), 5788c2ecf20Sopenharmony_ci PINMUX_DATA(DU0_DOTCLKOUT_MARK, PORT27_FN7), 5798c2ecf20Sopenharmony_ci 5808c2ecf20Sopenharmony_ci /* Port28 */ 5818c2ecf20Sopenharmony_ci PINMUX_DATA(LCDRD_N_MARK, PORT28_FN1), 5828c2ecf20Sopenharmony_ci PINMUX_DATA(SCIFB1_SCK_28_MARK, PORT28_FN3), 5838c2ecf20Sopenharmony_ci PINMUX_DATA(DU0_DOTCLKOUTB_MARK, PORT28_FN7), 5848c2ecf20Sopenharmony_ci 5858c2ecf20Sopenharmony_ci /* Port29 */ 5868c2ecf20Sopenharmony_ci PINMUX_DATA(LCDLCLK_MARK, PORT29_FN1), 5878c2ecf20Sopenharmony_ci PINMUX_DATA(SF_IRQ_02_MARK, PORT29_FN4), 5888c2ecf20Sopenharmony_ci PINMUX_DATA(DU0_DISP_CSYNC_N_DE_MARK, PORT29_FN7), 5898c2ecf20Sopenharmony_ci 5908c2ecf20Sopenharmony_ci /* Port30 */ 5918c2ecf20Sopenharmony_ci PINMUX_DATA(LCDDON_MARK, PORT30_FN1), 5928c2ecf20Sopenharmony_ci PINMUX_DATA(SF_IRQ_03_MARK, PORT30_FN4), 5938c2ecf20Sopenharmony_ci PINMUX_DATA(DU0_ODDF_N_CLAMP_MARK, PORT30_FN7), 5948c2ecf20Sopenharmony_ci 5958c2ecf20Sopenharmony_ci /* Port32 */ 5968c2ecf20Sopenharmony_ci PINMUX_DATA(SCIFA0_RTS_MARK, PORT32_FN1), 5978c2ecf20Sopenharmony_ci PINMUX_DATA(SIM0_DET_MARK, PORT32_FN5), 5988c2ecf20Sopenharmony_ci PINMUX_DATA(CSCIF0_RTS_MARK, PORT32_FN7), 5998c2ecf20Sopenharmony_ci 6008c2ecf20Sopenharmony_ci /* Port33 */ 6018c2ecf20Sopenharmony_ci PINMUX_DATA(SCIFA0_CTS_MARK, PORT33_FN1), 6028c2ecf20Sopenharmony_ci PINMUX_DATA(SIM1_DET_MARK, PORT33_FN5), 6038c2ecf20Sopenharmony_ci PINMUX_DATA(CSCIF0_CTS_MARK, PORT33_FN7), 6048c2ecf20Sopenharmony_ci 6058c2ecf20Sopenharmony_ci /* Port34 */ 6068c2ecf20Sopenharmony_ci PINMUX_DATA(SCIFA0_SCK_MARK, PORT34_FN1), 6078c2ecf20Sopenharmony_ci PINMUX_DATA(SIM0_PWRON_MARK, PORT34_FN5), 6088c2ecf20Sopenharmony_ci PINMUX_DATA(CSCIF0_SCK_MARK, PORT34_FN7), 6098c2ecf20Sopenharmony_ci 6108c2ecf20Sopenharmony_ci /* Port35 */ 6118c2ecf20Sopenharmony_ci PINMUX_DATA(SCIFA1_RTS_MARK, PORT35_FN1), 6128c2ecf20Sopenharmony_ci PINMUX_DATA(CSCIF1_RTS_MARK, PORT35_FN7), 6138c2ecf20Sopenharmony_ci 6148c2ecf20Sopenharmony_ci /* Port36 */ 6158c2ecf20Sopenharmony_ci PINMUX_DATA(SCIFA1_CTS_MARK, PORT36_FN1), 6168c2ecf20Sopenharmony_ci PINMUX_DATA(CSCIF1_CTS_MARK, PORT36_FN7), 6178c2ecf20Sopenharmony_ci 6188c2ecf20Sopenharmony_ci /* Port37 */ 6198c2ecf20Sopenharmony_ci PINMUX_DATA(SCIFA1_SCK_MARK, PORT37_FN1), 6208c2ecf20Sopenharmony_ci PINMUX_DATA(CSCIF1_SCK_MARK, PORT37_FN7), 6218c2ecf20Sopenharmony_ci 6228c2ecf20Sopenharmony_ci /* Port38 */ 6238c2ecf20Sopenharmony_ci PINMUX_DATA(SCIFB0_RTS_MARK, PORT38_FN1), 6248c2ecf20Sopenharmony_ci PINMUX_DATA(TPU0TO1_MARK, PORT38_FN3), 6258c2ecf20Sopenharmony_ci PINMUX_DATA(SCIFB3_RTS_38_MARK, PORT38_FN4), 6268c2ecf20Sopenharmony_ci PINMUX_DATA(CHSCIF0_HRTS_MARK, PORT38_FN7), 6278c2ecf20Sopenharmony_ci 6288c2ecf20Sopenharmony_ci /* Port39 */ 6298c2ecf20Sopenharmony_ci PINMUX_DATA(SCIFB0_CTS_MARK, PORT39_FN1), 6308c2ecf20Sopenharmony_ci PINMUX_DATA(TPU0TO2_MARK, PORT39_FN3), 6318c2ecf20Sopenharmony_ci PINMUX_DATA(SCIFB3_CTS_39_MARK, PORT39_FN4, MSEL3CR_09_1), 6328c2ecf20Sopenharmony_ci PINMUX_DATA(CHSCIF0_HCTS_MARK, PORT39_FN7), 6338c2ecf20Sopenharmony_ci 6348c2ecf20Sopenharmony_ci /* Port40 */ 6358c2ecf20Sopenharmony_ci PINMUX_DATA(SCIFB0_SCK_MARK, PORT40_FN1), 6368c2ecf20Sopenharmony_ci PINMUX_DATA(TPU0TO3_MARK, PORT40_FN3), 6378c2ecf20Sopenharmony_ci PINMUX_DATA(SCIFB3_SCK_40_MARK, PORT40_FN4), 6388c2ecf20Sopenharmony_ci PINMUX_DATA(CHSCIF0_HSCK_MARK, PORT40_FN7), 6398c2ecf20Sopenharmony_ci 6408c2ecf20Sopenharmony_ci /* Port64 */ 6418c2ecf20Sopenharmony_ci PINMUX_DATA(PDM0_DATA_MARK, PORT64_FN1), 6428c2ecf20Sopenharmony_ci 6438c2ecf20Sopenharmony_ci /* Port65 */ 6448c2ecf20Sopenharmony_ci PINMUX_DATA(PDM1_DATA_MARK, PORT65_FN1), 6458c2ecf20Sopenharmony_ci 6468c2ecf20Sopenharmony_ci /* Port66 */ 6478c2ecf20Sopenharmony_ci PINMUX_DATA(HSI_RX_WAKE_MARK, PORT66_FN1), 6488c2ecf20Sopenharmony_ci PINMUX_DATA(SCIFB2_CTS_66_MARK, PORT66_FN2, MSEL3CR_10_0), 6498c2ecf20Sopenharmony_ci PINMUX_DATA(MSIOF3_SYNC_MARK, PORT66_FN3), 6508c2ecf20Sopenharmony_ci PINMUX_DATA(GenIO4_MARK, PORT66_FN5), 6518c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ40_MARK, PORT66_FN0), 6528c2ecf20Sopenharmony_ci 6538c2ecf20Sopenharmony_ci /* Port67 */ 6548c2ecf20Sopenharmony_ci PINMUX_DATA(HSI_RX_READY_MARK, PORT67_FN1), 6558c2ecf20Sopenharmony_ci PINMUX_DATA(SCIFB1_TXD_67_MARK, PORT67_FN2, MSEL3CR_11_1), 6568c2ecf20Sopenharmony_ci PINMUX_DATA(GIO_OUT3_67_MARK, PORT67_FN5), 6578c2ecf20Sopenharmony_ci PINMUX_DATA(CHSCIF1_HTX_MARK, PORT67_FN7), 6588c2ecf20Sopenharmony_ci 6598c2ecf20Sopenharmony_ci /* Port68 */ 6608c2ecf20Sopenharmony_ci PINMUX_DATA(HSI_RX_FLAG_MARK, PORT68_FN1), 6618c2ecf20Sopenharmony_ci PINMUX_DATA(SCIFB2_TXD_68_MARK, PORT68_FN2, MSEL3CR_10_0), 6628c2ecf20Sopenharmony_ci PINMUX_DATA(MSIOF3_TXD_MARK, PORT68_FN3), 6638c2ecf20Sopenharmony_ci PINMUX_DATA(GIO_OUT4_68_MARK, PORT68_FN5), 6648c2ecf20Sopenharmony_ci 6658c2ecf20Sopenharmony_ci /* Port69 */ 6668c2ecf20Sopenharmony_ci PINMUX_DATA(HSI_RX_DATA_MARK, PORT69_FN1), 6678c2ecf20Sopenharmony_ci PINMUX_DATA(SCIFB2_RXD_69_MARK, PORT69_FN2, MSEL3CR_10_0), 6688c2ecf20Sopenharmony_ci PINMUX_DATA(MSIOF3_RXD_MARK, PORT69_FN3), 6698c2ecf20Sopenharmony_ci PINMUX_DATA(GIO_OUT5_69_MARK, PORT69_FN5), 6708c2ecf20Sopenharmony_ci 6718c2ecf20Sopenharmony_ci /* Port70 */ 6728c2ecf20Sopenharmony_ci PINMUX_DATA(HSI_TX_FLAG_MARK, PORT70_FN1), 6738c2ecf20Sopenharmony_ci PINMUX_DATA(SCIFB1_RTS_70_MARK, PORT70_FN2), 6748c2ecf20Sopenharmony_ci PINMUX_DATA(GIO_OUT1_70_MARK, PORT70_FN5), 6758c2ecf20Sopenharmony_ci PINMUX_DATA(HSIC_TSTCLK0_MARK, PORT70_FN6), 6768c2ecf20Sopenharmony_ci PINMUX_DATA(CHSCIF1_HRTS_MARK, PORT70_FN7), 6778c2ecf20Sopenharmony_ci 6788c2ecf20Sopenharmony_ci /* Port71 */ 6798c2ecf20Sopenharmony_ci PINMUX_DATA(HSI_TX_DATA_MARK, PORT71_FN1), 6808c2ecf20Sopenharmony_ci PINMUX_DATA(SCIFB1_CTS_71_MARK, PORT71_FN2, MSEL3CR_11_1), 6818c2ecf20Sopenharmony_ci PINMUX_DATA(GIO_OUT2_71_MARK, PORT71_FN5), 6828c2ecf20Sopenharmony_ci PINMUX_DATA(HSIC_TSTCLK1_MARK, PORT71_FN6), 6838c2ecf20Sopenharmony_ci PINMUX_DATA(CHSCIF1_HCTS_MARK, PORT71_FN7), 6848c2ecf20Sopenharmony_ci 6858c2ecf20Sopenharmony_ci /* Port72 */ 6868c2ecf20Sopenharmony_ci PINMUX_DATA(HSI_TX_WAKE_MARK, PORT72_FN1), 6878c2ecf20Sopenharmony_ci PINMUX_DATA(SCIFB1_RXD_72_MARK, PORT72_FN2, MSEL3CR_11_1), 6888c2ecf20Sopenharmony_ci PINMUX_DATA(GenIO8_MARK, PORT72_FN5), 6898c2ecf20Sopenharmony_ci PINMUX_DATA(CHSCIF1_HRX_MARK, PORT72_FN7), 6908c2ecf20Sopenharmony_ci 6918c2ecf20Sopenharmony_ci /* Port73 */ 6928c2ecf20Sopenharmony_ci PINMUX_DATA(HSI_TX_READY_MARK, PORT73_FN1), 6938c2ecf20Sopenharmony_ci PINMUX_DATA(SCIFB2_RTS_73_MARK, PORT73_FN2), 6948c2ecf20Sopenharmony_ci PINMUX_DATA(MSIOF3_SCK_MARK, PORT73_FN3), 6958c2ecf20Sopenharmony_ci PINMUX_DATA(GIO_OUT0_73_MARK, PORT73_FN5), 6968c2ecf20Sopenharmony_ci 6978c2ecf20Sopenharmony_ci /* Port74 - Port85 */ 6988c2ecf20Sopenharmony_ci PINMUX_DATA(IRDA_OUT_MARK, PORT74_FN1), 6998c2ecf20Sopenharmony_ci PINMUX_DATA(IRDA_IN_MARK, PORT75_FN1), 7008c2ecf20Sopenharmony_ci PINMUX_DATA(IRDA_FIRSEL_MARK, PORT76_FN1), 7018c2ecf20Sopenharmony_ci PINMUX_DATA(TPU0TO0_MARK, PORT77_FN1), 7028c2ecf20Sopenharmony_ci PINMUX_DATA(DIGRFEN_MARK, PORT78_FN1), 7038c2ecf20Sopenharmony_ci PINMUX_DATA(GPS_TIMESTAMP_MARK, PORT79_FN1), 7048c2ecf20Sopenharmony_ci PINMUX_DATA(TXP_MARK, PORT80_FN1), 7058c2ecf20Sopenharmony_ci PINMUX_DATA(TXP2_MARK, PORT81_FN1), 7068c2ecf20Sopenharmony_ci PINMUX_DATA(COEX_0_MARK, PORT82_FN1), 7078c2ecf20Sopenharmony_ci PINMUX_DATA(COEX_1_MARK, PORT83_FN1), 7088c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ19_MARK, PORT84_FN0), 7098c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ18_MARK, PORT85_FN0), 7108c2ecf20Sopenharmony_ci 7118c2ecf20Sopenharmony_ci /* Port96 - Port101 */ 7128c2ecf20Sopenharmony_ci PINMUX_DATA(KEYIN0_MARK, PORT96_FN1), 7138c2ecf20Sopenharmony_ci PINMUX_DATA(KEYIN1_MARK, PORT97_FN1), 7148c2ecf20Sopenharmony_ci PINMUX_DATA(KEYIN2_MARK, PORT98_FN1), 7158c2ecf20Sopenharmony_ci PINMUX_DATA(KEYIN3_MARK, PORT99_FN1), 7168c2ecf20Sopenharmony_ci PINMUX_DATA(KEYIN4_MARK, PORT100_FN1), 7178c2ecf20Sopenharmony_ci PINMUX_DATA(KEYIN5_MARK, PORT101_FN1), 7188c2ecf20Sopenharmony_ci 7198c2ecf20Sopenharmony_ci /* Port102 */ 7208c2ecf20Sopenharmony_ci PINMUX_DATA(KEYIN6_MARK, PORT102_FN1), 7218c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ41_MARK, PORT102_FN0), 7228c2ecf20Sopenharmony_ci 7238c2ecf20Sopenharmony_ci /* Port103 */ 7248c2ecf20Sopenharmony_ci PINMUX_DATA(KEYIN7_MARK, PORT103_FN1), 7258c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ42_MARK, PORT103_FN0), 7268c2ecf20Sopenharmony_ci 7278c2ecf20Sopenharmony_ci /* Port104 - Port108 */ 7288c2ecf20Sopenharmony_ci PINMUX_DATA(KEYOUT0_MARK, PORT104_FN2), 7298c2ecf20Sopenharmony_ci PINMUX_DATA(KEYOUT1_MARK, PORT105_FN2), 7308c2ecf20Sopenharmony_ci PINMUX_DATA(KEYOUT2_MARK, PORT106_FN2), 7318c2ecf20Sopenharmony_ci PINMUX_DATA(KEYOUT3_MARK, PORT107_FN2), 7328c2ecf20Sopenharmony_ci PINMUX_DATA(KEYOUT4_MARK, PORT108_FN2), 7338c2ecf20Sopenharmony_ci 7348c2ecf20Sopenharmony_ci /* Port109 */ 7358c2ecf20Sopenharmony_ci PINMUX_DATA(KEYOUT5_MARK, PORT109_FN2), 7368c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ43_MARK, PORT109_FN0), 7378c2ecf20Sopenharmony_ci 7388c2ecf20Sopenharmony_ci /* Port110 */ 7398c2ecf20Sopenharmony_ci PINMUX_DATA(KEYOUT6_MARK, PORT110_FN2), 7408c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ44_MARK, PORT110_FN0), 7418c2ecf20Sopenharmony_ci 7428c2ecf20Sopenharmony_ci /* Port111 */ 7438c2ecf20Sopenharmony_ci PINMUX_DATA(KEYOUT7_MARK, PORT111_FN2), 7448c2ecf20Sopenharmony_ci PINMUX_DATA(RFANAEN_MARK, PORT111_FN5), 7458c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ45_MARK, PORT111_FN0), 7468c2ecf20Sopenharmony_ci 7478c2ecf20Sopenharmony_ci /* Port112 */ 7488c2ecf20Sopenharmony_ci PINMUX_DATA(KEYIN8_MARK, PORT112_FN1), 7498c2ecf20Sopenharmony_ci PINMUX_DATA(KEYOUT8_MARK, PORT112_FN2), 7508c2ecf20Sopenharmony_ci PINMUX_DATA(SF_IRQ_04_MARK, PORT112_FN4), 7518c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ46_MARK, PORT112_FN0), 7528c2ecf20Sopenharmony_ci 7538c2ecf20Sopenharmony_ci /* Port113 */ 7548c2ecf20Sopenharmony_ci PINMUX_DATA(KEYIN9_MARK, PORT113_FN1), 7558c2ecf20Sopenharmony_ci PINMUX_DATA(KEYOUT9_MARK, PORT113_FN2), 7568c2ecf20Sopenharmony_ci PINMUX_DATA(SF_IRQ_05_MARK, PORT113_FN4), 7578c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ47_MARK, PORT113_FN0), 7588c2ecf20Sopenharmony_ci 7598c2ecf20Sopenharmony_ci /* Port114 */ 7608c2ecf20Sopenharmony_ci PINMUX_DATA(KEYIN10_MARK, PORT114_FN1), 7618c2ecf20Sopenharmony_ci PINMUX_DATA(KEYOUT10_MARK, PORT114_FN2), 7628c2ecf20Sopenharmony_ci PINMUX_DATA(SF_IRQ_06_MARK, PORT114_FN4), 7638c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ48_MARK, PORT114_FN0), 7648c2ecf20Sopenharmony_ci 7658c2ecf20Sopenharmony_ci /* Port115 */ 7668c2ecf20Sopenharmony_ci PINMUX_DATA(KEYIN11_MARK, PORT115_FN1), 7678c2ecf20Sopenharmony_ci PINMUX_DATA(KEYOUT11_MARK, PORT115_FN2), 7688c2ecf20Sopenharmony_ci PINMUX_DATA(SF_IRQ_07_MARK, PORT115_FN4), 7698c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ49_MARK, PORT115_FN0), 7708c2ecf20Sopenharmony_ci 7718c2ecf20Sopenharmony_ci /* Port116 */ 7728c2ecf20Sopenharmony_ci PINMUX_DATA(SCIFA0_TXD_MARK, PORT116_FN1), 7738c2ecf20Sopenharmony_ci PINMUX_DATA(CSCIF0_TX_MARK, PORT116_FN7), 7748c2ecf20Sopenharmony_ci 7758c2ecf20Sopenharmony_ci /* Port117 */ 7768c2ecf20Sopenharmony_ci PINMUX_DATA(SCIFA0_RXD_MARK, PORT117_FN1), 7778c2ecf20Sopenharmony_ci PINMUX_DATA(CSCIF0_RX_MARK, PORT117_FN7), 7788c2ecf20Sopenharmony_ci 7798c2ecf20Sopenharmony_ci /* Port118 */ 7808c2ecf20Sopenharmony_ci PINMUX_DATA(SCIFA1_TXD_MARK, PORT118_FN1), 7818c2ecf20Sopenharmony_ci PINMUX_DATA(CSCIF1_TX_MARK, PORT118_FN7), 7828c2ecf20Sopenharmony_ci 7838c2ecf20Sopenharmony_ci /* Port119 */ 7848c2ecf20Sopenharmony_ci PINMUX_DATA(SCIFA1_RXD_MARK, PORT119_FN1), 7858c2ecf20Sopenharmony_ci PINMUX_DATA(CSCIF1_RX_MARK, PORT119_FN7), 7868c2ecf20Sopenharmony_ci 7878c2ecf20Sopenharmony_ci /* Port120 */ 7888c2ecf20Sopenharmony_ci PINMUX_DATA(SF_PORT_1_120_MARK, PORT120_FN3), 7898c2ecf20Sopenharmony_ci PINMUX_DATA(SCIFB3_RXD_120_MARK, PORT120_FN4, MSEL3CR_09_1), 7908c2ecf20Sopenharmony_ci PINMUX_DATA(DU0_CDE_MARK, PORT120_FN7), 7918c2ecf20Sopenharmony_ci 7928c2ecf20Sopenharmony_ci /* Port121 */ 7938c2ecf20Sopenharmony_ci PINMUX_DATA(SF_PORT_0_121_MARK, PORT121_FN3), 7948c2ecf20Sopenharmony_ci PINMUX_DATA(SCIFB3_TXD_121_MARK, PORT121_FN4, MSEL3CR_09_1), 7958c2ecf20Sopenharmony_ci 7968c2ecf20Sopenharmony_ci /* Port122 */ 7978c2ecf20Sopenharmony_ci PINMUX_DATA(SCIFB0_TXD_MARK, PORT122_FN1), 7988c2ecf20Sopenharmony_ci PINMUX_DATA(CHSCIF0_HTX_MARK, PORT122_FN7), 7998c2ecf20Sopenharmony_ci 8008c2ecf20Sopenharmony_ci /* Port123 */ 8018c2ecf20Sopenharmony_ci PINMUX_DATA(SCIFB0_RXD_MARK, PORT123_FN1), 8028c2ecf20Sopenharmony_ci PINMUX_DATA(CHSCIF0_HRX_MARK, PORT123_FN7), 8038c2ecf20Sopenharmony_ci 8048c2ecf20Sopenharmony_ci /* Port124 */ 8058c2ecf20Sopenharmony_ci PINMUX_DATA(ISP_STROBE_124_MARK, PORT124_FN3), 8068c2ecf20Sopenharmony_ci 8078c2ecf20Sopenharmony_ci /* Port125 */ 8088c2ecf20Sopenharmony_ci PINMUX_DATA(STP_ISD_0_MARK, PORT125_FN1), 8098c2ecf20Sopenharmony_ci PINMUX_DATA(PDM4_CLK_125_MARK, PORT125_FN2), 8108c2ecf20Sopenharmony_ci PINMUX_DATA(MSIOF2_TXD_MARK, PORT125_FN3), 8118c2ecf20Sopenharmony_ci PINMUX_DATA(SIM0_VOLTSEL0_MARK, PORT125_FN5), 8128c2ecf20Sopenharmony_ci 8138c2ecf20Sopenharmony_ci /* Port126 */ 8148c2ecf20Sopenharmony_ci PINMUX_DATA(TS_SDEN_MARK, PORT126_FN1), 8158c2ecf20Sopenharmony_ci PINMUX_DATA(MSIOF7_SYNC_MARK, PORT126_FN2), 8168c2ecf20Sopenharmony_ci PINMUX_DATA(STP_ISEN_1_MARK, PORT126_FN3), 8178c2ecf20Sopenharmony_ci 8188c2ecf20Sopenharmony_ci /* Port128 */ 8198c2ecf20Sopenharmony_ci PINMUX_DATA(STP_ISEN_0_MARK, PORT128_FN1), 8208c2ecf20Sopenharmony_ci PINMUX_DATA(PDM1_OUTDATA_128_MARK, PORT128_FN2), 8218c2ecf20Sopenharmony_ci PINMUX_DATA(MSIOF2_SYNC_MARK, PORT128_FN3), 8228c2ecf20Sopenharmony_ci PINMUX_DATA(SIM1_VOLTSEL1_MARK, PORT128_FN5), 8238c2ecf20Sopenharmony_ci 8248c2ecf20Sopenharmony_ci /* Port129 */ 8258c2ecf20Sopenharmony_ci PINMUX_DATA(TS_SPSYNC_MARK, PORT129_FN1), 8268c2ecf20Sopenharmony_ci PINMUX_DATA(MSIOF7_RXD_MARK, PORT129_FN2), 8278c2ecf20Sopenharmony_ci PINMUX_DATA(STP_ISSYNC_1_MARK, PORT129_FN3), 8288c2ecf20Sopenharmony_ci 8298c2ecf20Sopenharmony_ci /* Port130 */ 8308c2ecf20Sopenharmony_ci PINMUX_DATA(STP_ISSYNC_0_MARK, PORT130_FN1), 8318c2ecf20Sopenharmony_ci PINMUX_DATA(PDM4_DATA_130_MARK, PORT130_FN2, MSEL3CR_12_1), 8328c2ecf20Sopenharmony_ci PINMUX_DATA(MSIOF2_RXD_MARK, PORT130_FN3), 8338c2ecf20Sopenharmony_ci PINMUX_DATA(SIM0_VOLTSEL1_MARK, PORT130_FN5), 8348c2ecf20Sopenharmony_ci 8358c2ecf20Sopenharmony_ci /* Port131 */ 8368c2ecf20Sopenharmony_ci PINMUX_DATA(STP_OPWM_0_MARK, PORT131_FN1), 8378c2ecf20Sopenharmony_ci PINMUX_DATA(SIM1_PWRON_MARK, PORT131_FN5), 8388c2ecf20Sopenharmony_ci 8398c2ecf20Sopenharmony_ci /* Port132 */ 8408c2ecf20Sopenharmony_ci PINMUX_DATA(TS_SCK_MARK, PORT132_FN1), 8418c2ecf20Sopenharmony_ci PINMUX_DATA(MSIOF7_SCK_MARK, PORT132_FN2), 8428c2ecf20Sopenharmony_ci PINMUX_DATA(STP_ISCLK_1_MARK, PORT132_FN3), 8438c2ecf20Sopenharmony_ci 8448c2ecf20Sopenharmony_ci /* Port133 */ 8458c2ecf20Sopenharmony_ci PINMUX_DATA(STP_ISCLK_0_MARK, PORT133_FN1), 8468c2ecf20Sopenharmony_ci PINMUX_DATA(PDM1_OUTCLK_133_MARK, PORT133_FN2), 8478c2ecf20Sopenharmony_ci PINMUX_DATA(MSIOF2_SCK_MARK, PORT133_FN3), 8488c2ecf20Sopenharmony_ci PINMUX_DATA(SIM1_VOLTSEL0_MARK, PORT133_FN5), 8498c2ecf20Sopenharmony_ci 8508c2ecf20Sopenharmony_ci /* Port134 */ 8518c2ecf20Sopenharmony_ci PINMUX_DATA(TS_SDAT_MARK, PORT134_FN1), 8528c2ecf20Sopenharmony_ci PINMUX_DATA(MSIOF7_TXD_MARK, PORT134_FN2), 8538c2ecf20Sopenharmony_ci PINMUX_DATA(STP_ISD_1_MARK, PORT134_FN3), 8548c2ecf20Sopenharmony_ci 8558c2ecf20Sopenharmony_ci /* Port160 - Port178 */ 8568c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ20_MARK, PORT160_FN0), 8578c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ21_MARK, PORT161_FN0), 8588c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ22_MARK, PORT162_FN0), 8598c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ23_MARK, PORT163_FN0), 8608c2ecf20Sopenharmony_ci PINMUX_DATA(MMCD0_0_MARK, PORT164_FN1), 8618c2ecf20Sopenharmony_ci PINMUX_DATA(MMCD0_1_MARK, PORT165_FN1), 8628c2ecf20Sopenharmony_ci PINMUX_DATA(MMCD0_2_MARK, PORT166_FN1), 8638c2ecf20Sopenharmony_ci PINMUX_DATA(MMCD0_3_MARK, PORT167_FN1), 8648c2ecf20Sopenharmony_ci PINMUX_DATA(MMCD0_4_MARK, PORT168_FN1), 8658c2ecf20Sopenharmony_ci PINMUX_DATA(MMCD0_5_MARK, PORT169_FN1), 8668c2ecf20Sopenharmony_ci PINMUX_DATA(MMCD0_6_MARK, PORT170_FN1), 8678c2ecf20Sopenharmony_ci PINMUX_DATA(MMCD0_7_MARK, PORT171_FN1), 8688c2ecf20Sopenharmony_ci PINMUX_DATA(MMCCMD0_MARK, PORT172_FN1), 8698c2ecf20Sopenharmony_ci PINMUX_DATA(MMCCLK0_MARK, PORT173_FN1), 8708c2ecf20Sopenharmony_ci PINMUX_DATA(MMCRST_MARK, PORT174_FN1), 8718c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ24_MARK, PORT175_FN0), 8728c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ25_MARK, PORT176_FN0), 8738c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ26_MARK, PORT177_FN0), 8748c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ27_MARK, PORT178_FN0), 8758c2ecf20Sopenharmony_ci 8768c2ecf20Sopenharmony_ci /* Port192 - Port200 FN1 */ 8778c2ecf20Sopenharmony_ci PINMUX_DATA(A10_MARK, PORT192_FN1), 8788c2ecf20Sopenharmony_ci PINMUX_DATA(A9_MARK, PORT193_FN1), 8798c2ecf20Sopenharmony_ci PINMUX_DATA(A8_MARK, PORT194_FN1), 8808c2ecf20Sopenharmony_ci PINMUX_DATA(A7_MARK, PORT195_FN1), 8818c2ecf20Sopenharmony_ci PINMUX_DATA(A6_MARK, PORT196_FN1), 8828c2ecf20Sopenharmony_ci PINMUX_DATA(A5_MARK, PORT197_FN1), 8838c2ecf20Sopenharmony_ci PINMUX_DATA(A4_MARK, PORT198_FN1), 8848c2ecf20Sopenharmony_ci PINMUX_DATA(A3_MARK, PORT199_FN1), 8858c2ecf20Sopenharmony_ci PINMUX_DATA(A2_MARK, PORT200_FN1), 8868c2ecf20Sopenharmony_ci 8878c2ecf20Sopenharmony_ci /* Port192 - Port200 FN2 */ 8888c2ecf20Sopenharmony_ci PINMUX_DATA(MMCD1_7_MARK, PORT192_FN2), 8898c2ecf20Sopenharmony_ci PINMUX_DATA(MMCD1_6_MARK, PORT193_FN2), 8908c2ecf20Sopenharmony_ci PINMUX_DATA(MMCD1_5_MARK, PORT194_FN2), 8918c2ecf20Sopenharmony_ci PINMUX_DATA(MMCD1_4_MARK, PORT195_FN2), 8928c2ecf20Sopenharmony_ci PINMUX_DATA(MMCD1_3_MARK, PORT196_FN2), 8938c2ecf20Sopenharmony_ci PINMUX_DATA(MMCD1_2_MARK, PORT197_FN2), 8948c2ecf20Sopenharmony_ci PINMUX_DATA(MMCD1_1_MARK, PORT198_FN2), 8958c2ecf20Sopenharmony_ci PINMUX_DATA(MMCD1_0_MARK, PORT199_FN2), 8968c2ecf20Sopenharmony_ci PINMUX_DATA(MMCCMD1_MARK, PORT200_FN2), 8978c2ecf20Sopenharmony_ci 8988c2ecf20Sopenharmony_ci /* Port192 - Port200 IRQ */ 8998c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ31_MARK, PORT192_FN0), 9008c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ32_MARK, PORT193_FN0), 9018c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ33_MARK, PORT194_FN0), 9028c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ34_MARK, PORT195_FN0), 9038c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ35_MARK, PORT196_FN0), 9048c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ36_MARK, PORT197_FN0), 9058c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ37_MARK, PORT198_FN0), 9068c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ38_MARK, PORT199_FN0), 9078c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ39_MARK, PORT200_FN0), 9088c2ecf20Sopenharmony_ci 9098c2ecf20Sopenharmony_ci /* Port201 */ 9108c2ecf20Sopenharmony_ci PINMUX_DATA(A1_MARK, PORT201_FN1), 9118c2ecf20Sopenharmony_ci 9128c2ecf20Sopenharmony_ci /* Port202 */ 9138c2ecf20Sopenharmony_ci PINMUX_DATA(A0_MARK, PORT202_FN1), 9148c2ecf20Sopenharmony_ci PINMUX_DATA(BS_MARK, PORT202_FN2), 9158c2ecf20Sopenharmony_ci 9168c2ecf20Sopenharmony_ci /* Port203 */ 9178c2ecf20Sopenharmony_ci PINMUX_DATA(CKO_MARK, PORT203_FN1), 9188c2ecf20Sopenharmony_ci PINMUX_DATA(MMCCLK1_MARK, PORT203_FN2), 9198c2ecf20Sopenharmony_ci 9208c2ecf20Sopenharmony_ci /* Port204 */ 9218c2ecf20Sopenharmony_ci PINMUX_DATA(CS0_N_MARK, PORT204_FN1), 9228c2ecf20Sopenharmony_ci PINMUX_DATA(SIM0_GPO1_MARK, PORT204_FN5), 9238c2ecf20Sopenharmony_ci 9248c2ecf20Sopenharmony_ci /* Port205 */ 9258c2ecf20Sopenharmony_ci PINMUX_DATA(CS2_N_MARK, PORT205_FN1), 9268c2ecf20Sopenharmony_ci PINMUX_DATA(SIM0_GPO2_MARK, PORT205_FN5), 9278c2ecf20Sopenharmony_ci 9288c2ecf20Sopenharmony_ci /* Port206 */ 9298c2ecf20Sopenharmony_ci PINMUX_DATA(CS4_N_MARK, PORT206_FN1), 9308c2ecf20Sopenharmony_ci PINMUX_DATA(VIO_VD_MARK, PORT206_FN2), 9318c2ecf20Sopenharmony_ci PINMUX_DATA(SIM1_GPO0_MARK, PORT206_FN5), 9328c2ecf20Sopenharmony_ci 9338c2ecf20Sopenharmony_ci /* Port207 - Port212 FN1 */ 9348c2ecf20Sopenharmony_ci PINMUX_DATA(D15_MARK, PORT207_FN1), 9358c2ecf20Sopenharmony_ci PINMUX_DATA(D14_MARK, PORT208_FN1), 9368c2ecf20Sopenharmony_ci PINMUX_DATA(D13_MARK, PORT209_FN1), 9378c2ecf20Sopenharmony_ci PINMUX_DATA(D12_MARK, PORT210_FN1), 9388c2ecf20Sopenharmony_ci PINMUX_DATA(D11_MARK, PORT211_FN1), 9398c2ecf20Sopenharmony_ci PINMUX_DATA(D10_MARK, PORT212_FN1), 9408c2ecf20Sopenharmony_ci 9418c2ecf20Sopenharmony_ci /* Port207 - Port212 FN5 */ 9428c2ecf20Sopenharmony_ci PINMUX_DATA(GIO_OUT15_MARK, PORT207_FN5), 9438c2ecf20Sopenharmony_ci PINMUX_DATA(GIO_OUT14_MARK, PORT208_FN5), 9448c2ecf20Sopenharmony_ci PINMUX_DATA(GIO_OUT13_MARK, PORT209_FN5), 9458c2ecf20Sopenharmony_ci PINMUX_DATA(GIO_OUT12_MARK, PORT210_FN5), 9468c2ecf20Sopenharmony_ci PINMUX_DATA(WGM_TXP2_MARK, PORT211_FN5), 9478c2ecf20Sopenharmony_ci PINMUX_DATA(WGM_GPS_TIMEM_ASK_RFCLK_MARK, PORT212_FN5), 9488c2ecf20Sopenharmony_ci 9498c2ecf20Sopenharmony_ci /* Port213 - Port222 FN1 */ 9508c2ecf20Sopenharmony_ci PINMUX_DATA(D9_MARK, PORT213_FN1), 9518c2ecf20Sopenharmony_ci PINMUX_DATA(D8_MARK, PORT214_FN1), 9528c2ecf20Sopenharmony_ci PINMUX_DATA(D7_MARK, PORT215_FN1), 9538c2ecf20Sopenharmony_ci PINMUX_DATA(D6_MARK, PORT216_FN1), 9548c2ecf20Sopenharmony_ci PINMUX_DATA(D5_MARK, PORT217_FN1), 9558c2ecf20Sopenharmony_ci PINMUX_DATA(D4_MARK, PORT218_FN1), 9568c2ecf20Sopenharmony_ci PINMUX_DATA(D3_MARK, PORT219_FN1), 9578c2ecf20Sopenharmony_ci PINMUX_DATA(D2_MARK, PORT220_FN1), 9588c2ecf20Sopenharmony_ci PINMUX_DATA(D1_MARK, PORT221_FN1), 9598c2ecf20Sopenharmony_ci PINMUX_DATA(D0_MARK, PORT222_FN1), 9608c2ecf20Sopenharmony_ci 9618c2ecf20Sopenharmony_ci /* Port213 - Port222 FN2 */ 9628c2ecf20Sopenharmony_ci PINMUX_DATA(VIO_D9_MARK, PORT213_FN2), 9638c2ecf20Sopenharmony_ci PINMUX_DATA(VIO_D8_MARK, PORT214_FN2), 9648c2ecf20Sopenharmony_ci PINMUX_DATA(VIO_D7_MARK, PORT215_FN2), 9658c2ecf20Sopenharmony_ci PINMUX_DATA(VIO_D6_MARK, PORT216_FN2), 9668c2ecf20Sopenharmony_ci PINMUX_DATA(VIO_D5_MARK, PORT217_FN2), 9678c2ecf20Sopenharmony_ci PINMUX_DATA(VIO_D4_MARK, PORT218_FN2), 9688c2ecf20Sopenharmony_ci PINMUX_DATA(VIO_D3_MARK, PORT219_FN2), 9698c2ecf20Sopenharmony_ci PINMUX_DATA(VIO_D2_MARK, PORT220_FN2), 9708c2ecf20Sopenharmony_ci PINMUX_DATA(VIO_D1_MARK, PORT221_FN2), 9718c2ecf20Sopenharmony_ci PINMUX_DATA(VIO_D0_MARK, PORT222_FN2), 9728c2ecf20Sopenharmony_ci 9738c2ecf20Sopenharmony_ci /* Port213 - Port222 FN5 */ 9748c2ecf20Sopenharmony_ci PINMUX_DATA(GIO_OUT9_MARK, PORT213_FN5), 9758c2ecf20Sopenharmony_ci PINMUX_DATA(GIO_OUT8_MARK, PORT214_FN5), 9768c2ecf20Sopenharmony_ci PINMUX_DATA(GIO_OUT7_MARK, PORT215_FN5), 9778c2ecf20Sopenharmony_ci PINMUX_DATA(GIO_OUT6_MARK, PORT216_FN5), 9788c2ecf20Sopenharmony_ci PINMUX_DATA(GIO_OUT5_217_MARK, PORT217_FN5), 9798c2ecf20Sopenharmony_ci PINMUX_DATA(GIO_OUT4_218_MARK, PORT218_FN5), 9808c2ecf20Sopenharmony_ci PINMUX_DATA(GIO_OUT3_219_MARK, PORT219_FN5), 9818c2ecf20Sopenharmony_ci PINMUX_DATA(GIO_OUT2_220_MARK, PORT220_FN5), 9828c2ecf20Sopenharmony_ci PINMUX_DATA(GIO_OUT1_221_MARK, PORT221_FN5), 9838c2ecf20Sopenharmony_ci PINMUX_DATA(GIO_OUT0_222_MARK, PORT222_FN5), 9848c2ecf20Sopenharmony_ci 9858c2ecf20Sopenharmony_ci /* Port224 */ 9868c2ecf20Sopenharmony_ci PINMUX_DATA(RDWR_224_MARK, PORT224_FN1), 9878c2ecf20Sopenharmony_ci PINMUX_DATA(VIO_HD_MARK, PORT224_FN2), 9888c2ecf20Sopenharmony_ci PINMUX_DATA(SIM1_GPO2_MARK, PORT224_FN5), 9898c2ecf20Sopenharmony_ci 9908c2ecf20Sopenharmony_ci /* Port225 */ 9918c2ecf20Sopenharmony_ci PINMUX_DATA(RD_N_MARK, PORT225_FN1), 9928c2ecf20Sopenharmony_ci 9938c2ecf20Sopenharmony_ci /* Port226 */ 9948c2ecf20Sopenharmony_ci PINMUX_DATA(WAIT_N_MARK, PORT226_FN1), 9958c2ecf20Sopenharmony_ci PINMUX_DATA(VIO_CLK_MARK, PORT226_FN2), 9968c2ecf20Sopenharmony_ci PINMUX_DATA(SIM1_GPO1_MARK, PORT226_FN5), 9978c2ecf20Sopenharmony_ci 9988c2ecf20Sopenharmony_ci /* Port227 */ 9998c2ecf20Sopenharmony_ci PINMUX_DATA(WE0_N_MARK, PORT227_FN1), 10008c2ecf20Sopenharmony_ci PINMUX_DATA(RDWR_227_MARK, PORT227_FN2), 10018c2ecf20Sopenharmony_ci 10028c2ecf20Sopenharmony_ci /* Port228 */ 10038c2ecf20Sopenharmony_ci PINMUX_DATA(WE1_N_MARK, PORT228_FN1), 10048c2ecf20Sopenharmony_ci PINMUX_DATA(SIM0_GPO0_MARK, PORT228_FN5), 10058c2ecf20Sopenharmony_ci 10068c2ecf20Sopenharmony_ci /* Port229 */ 10078c2ecf20Sopenharmony_ci PINMUX_DATA(PWMO_MARK, PORT229_FN1), 10088c2ecf20Sopenharmony_ci PINMUX_DATA(VIO_CKO1_229_MARK, PORT229_FN2), 10098c2ecf20Sopenharmony_ci 10108c2ecf20Sopenharmony_ci /* Port230 */ 10118c2ecf20Sopenharmony_ci PINMUX_DATA(SLIM_CLK_MARK, PORT230_FN1), 10128c2ecf20Sopenharmony_ci PINMUX_DATA(VIO_CKO4_230_MARK, PORT230_FN2), 10138c2ecf20Sopenharmony_ci 10148c2ecf20Sopenharmony_ci /* Port231 */ 10158c2ecf20Sopenharmony_ci PINMUX_DATA(SLIM_DATA_MARK, PORT231_FN1), 10168c2ecf20Sopenharmony_ci PINMUX_DATA(VIO_CKO5_231_MARK, PORT231_FN2), 10178c2ecf20Sopenharmony_ci 10188c2ecf20Sopenharmony_ci /* Port232 */ 10198c2ecf20Sopenharmony_ci PINMUX_DATA(VIO_CKO2_232_MARK, PORT232_FN2), 10208c2ecf20Sopenharmony_ci PINMUX_DATA(SF_PORT_0_232_MARK, PORT232_FN4), 10218c2ecf20Sopenharmony_ci 10228c2ecf20Sopenharmony_ci /* Port233 */ 10238c2ecf20Sopenharmony_ci PINMUX_DATA(VIO_CKO3_233_MARK, PORT233_FN2), 10248c2ecf20Sopenharmony_ci PINMUX_DATA(SF_PORT_1_233_MARK, PORT233_FN4), 10258c2ecf20Sopenharmony_ci 10268c2ecf20Sopenharmony_ci /* Port234 */ 10278c2ecf20Sopenharmony_ci PINMUX_DATA(FSIACK_MARK, PORT234_FN1), 10288c2ecf20Sopenharmony_ci PINMUX_DATA(PDM3_CLK_234_MARK, PORT234_FN2), 10298c2ecf20Sopenharmony_ci PINMUX_DATA(ISP_IRIS1_234_MARK, PORT234_FN3), 10308c2ecf20Sopenharmony_ci 10318c2ecf20Sopenharmony_ci /* Port235 */ 10328c2ecf20Sopenharmony_ci PINMUX_DATA(FSIAISLD_MARK, PORT235_FN1), 10338c2ecf20Sopenharmony_ci PINMUX_DATA(PDM3_DATA_235_MARK, PORT235_FN2, MSEL3CR_12_1), 10348c2ecf20Sopenharmony_ci 10358c2ecf20Sopenharmony_ci /* Port236 */ 10368c2ecf20Sopenharmony_ci PINMUX_DATA(FSIAOMC_MARK, PORT236_FN1), 10378c2ecf20Sopenharmony_ci PINMUX_DATA(PDM0_OUTCLK_236_MARK, PORT236_FN2), 10388c2ecf20Sopenharmony_ci PINMUX_DATA(ISP_IRIS0_236_MARK, PORT236_FN3), 10398c2ecf20Sopenharmony_ci 10408c2ecf20Sopenharmony_ci /* Port237 */ 10418c2ecf20Sopenharmony_ci PINMUX_DATA(FSIAOLR_MARK, PORT237_FN1), 10428c2ecf20Sopenharmony_ci PINMUX_DATA(FSIAILR_MARK, PORT237_FN2), 10438c2ecf20Sopenharmony_ci 10448c2ecf20Sopenharmony_ci /* Port238 */ 10458c2ecf20Sopenharmony_ci PINMUX_DATA(FSIAOBT_MARK, PORT238_FN1), 10468c2ecf20Sopenharmony_ci PINMUX_DATA(FSIAIBT_MARK, PORT238_FN2), 10478c2ecf20Sopenharmony_ci 10488c2ecf20Sopenharmony_ci /* Port239 */ 10498c2ecf20Sopenharmony_ci PINMUX_DATA(FSIAOSLD_MARK, PORT239_FN1), 10508c2ecf20Sopenharmony_ci PINMUX_DATA(PDM0_OUTDATA_239_MARK, PORT239_FN2), 10518c2ecf20Sopenharmony_ci 10528c2ecf20Sopenharmony_ci /* Port240 */ 10538c2ecf20Sopenharmony_ci PINMUX_DATA(FSIBISLD_MARK, PORT240_FN1), 10548c2ecf20Sopenharmony_ci 10558c2ecf20Sopenharmony_ci /* Port241 */ 10568c2ecf20Sopenharmony_ci PINMUX_DATA(FSIBOLR_MARK, PORT241_FN1), 10578c2ecf20Sopenharmony_ci PINMUX_DATA(FSIBILR_MARK, PORT241_FN2), 10588c2ecf20Sopenharmony_ci 10598c2ecf20Sopenharmony_ci /* Port242 */ 10608c2ecf20Sopenharmony_ci PINMUX_DATA(FSIBOMC_MARK, PORT242_FN1), 10618c2ecf20Sopenharmony_ci PINMUX_DATA(ISP_SHUTTER1_242_MARK, PORT242_FN3), 10628c2ecf20Sopenharmony_ci 10638c2ecf20Sopenharmony_ci /* Port243 */ 10648c2ecf20Sopenharmony_ci PINMUX_DATA(FSIBOBT_MARK, PORT243_FN1), 10658c2ecf20Sopenharmony_ci PINMUX_DATA(FSIBIBT_MARK, PORT243_FN2), 10668c2ecf20Sopenharmony_ci 10678c2ecf20Sopenharmony_ci /* Port244 */ 10688c2ecf20Sopenharmony_ci PINMUX_DATA(FSIBOSLD_MARK, PORT244_FN1), 10698c2ecf20Sopenharmony_ci PINMUX_DATA(FSIASPDIF_MARK, PORT244_FN2), 10708c2ecf20Sopenharmony_ci 10718c2ecf20Sopenharmony_ci /* Port245 */ 10728c2ecf20Sopenharmony_ci PINMUX_DATA(FSIBCK_MARK, PORT245_FN1), 10738c2ecf20Sopenharmony_ci PINMUX_DATA(ISP_SHUTTER0_245_MARK, PORT245_FN3), 10748c2ecf20Sopenharmony_ci 10758c2ecf20Sopenharmony_ci /* Port246 - Port250 FN1 */ 10768c2ecf20Sopenharmony_ci PINMUX_DATA(ISP_IRIS1_246_MARK, PORT246_FN1), 10778c2ecf20Sopenharmony_ci PINMUX_DATA(ISP_IRIS0_247_MARK, PORT247_FN1), 10788c2ecf20Sopenharmony_ci PINMUX_DATA(ISP_SHUTTER1_248_MARK, PORT248_FN1), 10798c2ecf20Sopenharmony_ci PINMUX_DATA(ISP_SHUTTER0_249_MARK, PORT249_FN1), 10808c2ecf20Sopenharmony_ci PINMUX_DATA(ISP_STROBE_250_MARK, PORT250_FN1), 10818c2ecf20Sopenharmony_ci 10828c2ecf20Sopenharmony_ci /* Port256 - Port258 */ 10838c2ecf20Sopenharmony_ci PINMUX_DATA(MSIOF0_SYNC_MARK, PORT256_FN1), 10848c2ecf20Sopenharmony_ci PINMUX_DATA(MSIOF0_RXD_MARK, PORT257_FN1), 10858c2ecf20Sopenharmony_ci PINMUX_DATA(MSIOF0_SCK_MARK, PORT258_FN1), 10868c2ecf20Sopenharmony_ci 10878c2ecf20Sopenharmony_ci /* Port259 */ 10888c2ecf20Sopenharmony_ci PINMUX_DATA(MSIOF0_SS2_MARK, PORT259_FN1), 10898c2ecf20Sopenharmony_ci PINMUX_DATA(VIO_CKO3_259_MARK, PORT259_FN3), 10908c2ecf20Sopenharmony_ci 10918c2ecf20Sopenharmony_ci /* Port260 */ 10928c2ecf20Sopenharmony_ci PINMUX_DATA(MSIOF0_TXD_MARK, PORT260_FN1), 10938c2ecf20Sopenharmony_ci 10948c2ecf20Sopenharmony_ci /* Port261 */ 10958c2ecf20Sopenharmony_ci PINMUX_DATA(SCIFB1_SCK_261_MARK, PORT261_FN2), 10968c2ecf20Sopenharmony_ci PINMUX_DATA(CHSCIF1_HSCK_MARK, PORT261_FN7), 10978c2ecf20Sopenharmony_ci 10988c2ecf20Sopenharmony_ci /* Port262 */ 10998c2ecf20Sopenharmony_ci PINMUX_DATA(SCIFB2_SCK_262_MARK, PORT262_FN2), 11008c2ecf20Sopenharmony_ci 11018c2ecf20Sopenharmony_ci /* Port263 - Port266 FN1 */ 11028c2ecf20Sopenharmony_ci PINMUX_DATA(MSIOF1_SS2_MARK, PORT263_FN1), 11038c2ecf20Sopenharmony_ci PINMUX_DATA(MSIOF1_TXD_MARK, PORT264_FN1), 11048c2ecf20Sopenharmony_ci PINMUX_DATA(MSIOF1_RXD_MARK, PORT265_FN1), 11058c2ecf20Sopenharmony_ci PINMUX_DATA(MSIOF1_SS1_MARK, PORT266_FN1), 11068c2ecf20Sopenharmony_ci 11078c2ecf20Sopenharmony_ci /* Port263 - Port266 FN4 */ 11088c2ecf20Sopenharmony_ci PINMUX_DATA(MSIOF5_SS2_MARK, PORT263_FN4), 11098c2ecf20Sopenharmony_ci PINMUX_DATA(MSIOF5_TXD_MARK, PORT264_FN4), 11108c2ecf20Sopenharmony_ci PINMUX_DATA(MSIOF5_RXD_MARK, PORT265_FN4), 11118c2ecf20Sopenharmony_ci PINMUX_DATA(MSIOF5_SS1_MARK, PORT266_FN4), 11128c2ecf20Sopenharmony_ci 11138c2ecf20Sopenharmony_ci /* Port267 */ 11148c2ecf20Sopenharmony_ci PINMUX_DATA(MSIOF0_SS1_MARK, PORT267_FN1), 11158c2ecf20Sopenharmony_ci 11168c2ecf20Sopenharmony_ci /* Port268 */ 11178c2ecf20Sopenharmony_ci PINMUX_DATA(MSIOF1_SCK_MARK, PORT268_FN1), 11188c2ecf20Sopenharmony_ci PINMUX_DATA(MSIOF5_SCK_MARK, PORT268_FN4), 11198c2ecf20Sopenharmony_ci 11208c2ecf20Sopenharmony_ci /* Port269 */ 11218c2ecf20Sopenharmony_ci PINMUX_DATA(MSIOF1_SYNC_MARK, PORT269_FN1), 11228c2ecf20Sopenharmony_ci PINMUX_DATA(MSIOF5_SYNC_MARK, PORT269_FN4), 11238c2ecf20Sopenharmony_ci 11248c2ecf20Sopenharmony_ci /* Port270 - Port273 FN1 */ 11258c2ecf20Sopenharmony_ci PINMUX_DATA(MSIOF2_SS1_MARK, PORT270_FN1), 11268c2ecf20Sopenharmony_ci PINMUX_DATA(MSIOF2_SS2_MARK, PORT271_FN1), 11278c2ecf20Sopenharmony_ci PINMUX_DATA(MSIOF3_SS2_MARK, PORT272_FN1), 11288c2ecf20Sopenharmony_ci PINMUX_DATA(MSIOF3_SS1_MARK, PORT273_FN1), 11298c2ecf20Sopenharmony_ci 11308c2ecf20Sopenharmony_ci /* Port270 - Port273 FN3 */ 11318c2ecf20Sopenharmony_ci PINMUX_DATA(VIO_CKO5_270_MARK, PORT270_FN3), 11328c2ecf20Sopenharmony_ci PINMUX_DATA(VIO_CKO2_271_MARK, PORT271_FN3), 11338c2ecf20Sopenharmony_ci PINMUX_DATA(VIO_CKO1_272_MARK, PORT272_FN3), 11348c2ecf20Sopenharmony_ci PINMUX_DATA(VIO_CKO4_273_MARK, PORT273_FN3), 11358c2ecf20Sopenharmony_ci 11368c2ecf20Sopenharmony_ci /* Port274 */ 11378c2ecf20Sopenharmony_ci PINMUX_DATA(MSIOF4_SS2_MARK, PORT274_FN1), 11388c2ecf20Sopenharmony_ci PINMUX_DATA(TPU1TO0_MARK, PORT274_FN4), 11398c2ecf20Sopenharmony_ci 11408c2ecf20Sopenharmony_ci /* Port275 - Port280 */ 11418c2ecf20Sopenharmony_ci PINMUX_DATA(IC_DP_MARK, PORT275_FN1), 11428c2ecf20Sopenharmony_ci PINMUX_DATA(SIM0_RST_MARK, PORT276_FN1), 11438c2ecf20Sopenharmony_ci PINMUX_DATA(IC_DM_MARK, PORT277_FN1), 11448c2ecf20Sopenharmony_ci PINMUX_DATA(SIM0_BSICOMP_MARK, PORT278_FN1), 11458c2ecf20Sopenharmony_ci PINMUX_DATA(SIM0_CLK_MARK, PORT279_FN1), 11468c2ecf20Sopenharmony_ci PINMUX_DATA(SIM0_IO_MARK, PORT280_FN1), 11478c2ecf20Sopenharmony_ci 11488c2ecf20Sopenharmony_ci /* Port281 */ 11498c2ecf20Sopenharmony_ci PINMUX_DATA(SIM1_IO_MARK, PORT281_FN1), 11508c2ecf20Sopenharmony_ci PINMUX_DATA(PDM2_DATA_281_MARK, PORT281_FN2, MSEL3CR_12_1), 11518c2ecf20Sopenharmony_ci 11528c2ecf20Sopenharmony_ci /* Port282 */ 11538c2ecf20Sopenharmony_ci PINMUX_DATA(SIM1_CLK_MARK, PORT282_FN1), 11548c2ecf20Sopenharmony_ci PINMUX_DATA(PDM2_CLK_282_MARK, PORT282_FN2), 11558c2ecf20Sopenharmony_ci 11568c2ecf20Sopenharmony_ci /* Port283 */ 11578c2ecf20Sopenharmony_ci PINMUX_DATA(SIM1_RST_MARK, PORT283_FN1), 11588c2ecf20Sopenharmony_ci 11598c2ecf20Sopenharmony_ci /* Port289 */ 11608c2ecf20Sopenharmony_ci PINMUX_DATA(SDHID1_0_MARK, PORT289_FN1), 11618c2ecf20Sopenharmony_ci PINMUX_DATA(STMDATA0_2_MARK, PORT289_FN3), 11628c2ecf20Sopenharmony_ci 11638c2ecf20Sopenharmony_ci /* Port290 */ 11648c2ecf20Sopenharmony_ci PINMUX_DATA(SDHID1_1_MARK, PORT290_FN1), 11658c2ecf20Sopenharmony_ci PINMUX_DATA(STMDATA1_2_MARK, PORT290_FN3), 11668c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ51_MARK, PORT290_FN0), 11678c2ecf20Sopenharmony_ci 11688c2ecf20Sopenharmony_ci /* Port291 - Port294 FN1 */ 11698c2ecf20Sopenharmony_ci PINMUX_DATA(SDHID1_2_MARK, PORT291_FN1), 11708c2ecf20Sopenharmony_ci PINMUX_DATA(SDHID1_3_MARK, PORT292_FN1), 11718c2ecf20Sopenharmony_ci PINMUX_DATA(SDHICLK1_MARK, PORT293_FN1), 11728c2ecf20Sopenharmony_ci PINMUX_DATA(SDHICMD1_MARK, PORT294_FN1), 11738c2ecf20Sopenharmony_ci 11748c2ecf20Sopenharmony_ci /* Port291 - Port294 FN3 */ 11758c2ecf20Sopenharmony_ci PINMUX_DATA(STMDATA2_2_MARK, PORT291_FN3), 11768c2ecf20Sopenharmony_ci PINMUX_DATA(STMDATA3_2_MARK, PORT292_FN3), 11778c2ecf20Sopenharmony_ci PINMUX_DATA(STMCLK_2_MARK, PORT293_FN3), 11788c2ecf20Sopenharmony_ci PINMUX_DATA(STMSIDI_2_MARK, PORT294_FN3), 11798c2ecf20Sopenharmony_ci 11808c2ecf20Sopenharmony_ci /* Port295 */ 11818c2ecf20Sopenharmony_ci PINMUX_DATA(SDHID2_0_MARK, PORT295_FN1), 11828c2ecf20Sopenharmony_ci PINMUX_DATA(MSIOF4_TXD_MARK, PORT295_FN2), 11838c2ecf20Sopenharmony_ci PINMUX_DATA(SCIFB2_TXD_295_MARK, PORT295_FN3, MSEL3CR_10_1), 11848c2ecf20Sopenharmony_ci PINMUX_DATA(MSIOF6_TXD_MARK, PORT295_FN4), 11858c2ecf20Sopenharmony_ci 11868c2ecf20Sopenharmony_ci /* Port296 */ 11878c2ecf20Sopenharmony_ci PINMUX_DATA(SDHID2_1_MARK, PORT296_FN1), 11888c2ecf20Sopenharmony_ci PINMUX_DATA(MSIOF6_SS2_MARK, PORT296_FN4), 11898c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ52_MARK, PORT296_FN0), 11908c2ecf20Sopenharmony_ci 11918c2ecf20Sopenharmony_ci /* Port297 - Port300 FN1 */ 11928c2ecf20Sopenharmony_ci PINMUX_DATA(SDHID2_2_MARK, PORT297_FN1), 11938c2ecf20Sopenharmony_ci PINMUX_DATA(SDHID2_3_MARK, PORT298_FN1), 11948c2ecf20Sopenharmony_ci PINMUX_DATA(SDHICLK2_MARK, PORT299_FN1), 11958c2ecf20Sopenharmony_ci PINMUX_DATA(SDHICMD2_MARK, PORT300_FN1), 11968c2ecf20Sopenharmony_ci 11978c2ecf20Sopenharmony_ci /* Port297 - Port300 FN2 */ 11988c2ecf20Sopenharmony_ci PINMUX_DATA(MSIOF4_RXD_MARK, PORT297_FN2), 11998c2ecf20Sopenharmony_ci PINMUX_DATA(MSIOF4_SYNC_MARK, PORT298_FN2), 12008c2ecf20Sopenharmony_ci PINMUX_DATA(MSIOF4_SCK_MARK, PORT299_FN2), 12018c2ecf20Sopenharmony_ci PINMUX_DATA(MSIOF4_SS1_MARK, PORT300_FN2), 12028c2ecf20Sopenharmony_ci 12038c2ecf20Sopenharmony_ci /* Port297 - Port300 FN3 */ 12048c2ecf20Sopenharmony_ci PINMUX_DATA(SCIFB2_RXD_297_MARK, PORT297_FN3, MSEL3CR_10_1), 12058c2ecf20Sopenharmony_ci PINMUX_DATA(SCIFB2_CTS_298_MARK, PORT298_FN3, MSEL3CR_10_1), 12068c2ecf20Sopenharmony_ci PINMUX_DATA(SCIFB2_SCK_299_MARK, PORT299_FN3), 12078c2ecf20Sopenharmony_ci PINMUX_DATA(SCIFB2_RTS_300_MARK, PORT300_FN3), 12088c2ecf20Sopenharmony_ci 12098c2ecf20Sopenharmony_ci /* Port297 - Port300 FN4 */ 12108c2ecf20Sopenharmony_ci PINMUX_DATA(MSIOF6_RXD_MARK, PORT297_FN4), 12118c2ecf20Sopenharmony_ci PINMUX_DATA(MSIOF6_SYNC_MARK, PORT298_FN4), 12128c2ecf20Sopenharmony_ci PINMUX_DATA(MSIOF6_SCK_MARK, PORT299_FN4), 12138c2ecf20Sopenharmony_ci PINMUX_DATA(MSIOF6_SS1_MARK, PORT300_FN4), 12148c2ecf20Sopenharmony_ci 12158c2ecf20Sopenharmony_ci /* Port301 */ 12168c2ecf20Sopenharmony_ci PINMUX_DATA(SDHICD0_MARK, PORT301_FN1), 12178c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ50_MARK, PORT301_FN0), 12188c2ecf20Sopenharmony_ci 12198c2ecf20Sopenharmony_ci /* Port302 - Port306 FN1 */ 12208c2ecf20Sopenharmony_ci PINMUX_DATA(SDHID0_0_MARK, PORT302_FN1), 12218c2ecf20Sopenharmony_ci PINMUX_DATA(SDHID0_1_MARK, PORT303_FN1), 12228c2ecf20Sopenharmony_ci PINMUX_DATA(SDHID0_2_MARK, PORT304_FN1), 12238c2ecf20Sopenharmony_ci PINMUX_DATA(SDHID0_3_MARK, PORT305_FN1), 12248c2ecf20Sopenharmony_ci PINMUX_DATA(SDHICMD0_MARK, PORT306_FN1), 12258c2ecf20Sopenharmony_ci 12268c2ecf20Sopenharmony_ci /* Port302 - Port306 FN3 */ 12278c2ecf20Sopenharmony_ci PINMUX_DATA(STMDATA0_1_MARK, PORT302_FN3), 12288c2ecf20Sopenharmony_ci PINMUX_DATA(STMDATA1_1_MARK, PORT303_FN3), 12298c2ecf20Sopenharmony_ci PINMUX_DATA(STMDATA2_1_MARK, PORT304_FN3), 12308c2ecf20Sopenharmony_ci PINMUX_DATA(STMDATA3_1_MARK, PORT305_FN3), 12318c2ecf20Sopenharmony_ci PINMUX_DATA(STMSIDI_1_MARK, PORT306_FN3), 12328c2ecf20Sopenharmony_ci 12338c2ecf20Sopenharmony_ci /* Port307 */ 12348c2ecf20Sopenharmony_ci PINMUX_DATA(SDHIWP0_MARK, PORT307_FN1), 12358c2ecf20Sopenharmony_ci 12368c2ecf20Sopenharmony_ci /* Port308 */ 12378c2ecf20Sopenharmony_ci PINMUX_DATA(SDHICLK0_MARK, PORT308_FN1), 12388c2ecf20Sopenharmony_ci PINMUX_DATA(STMCLK_1_MARK, PORT308_FN3), 12398c2ecf20Sopenharmony_ci 12408c2ecf20Sopenharmony_ci /* Port320 - Port329 */ 12418c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ16_MARK, PORT320_FN0), 12428c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ17_MARK, PORT321_FN0), 12438c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ28_MARK, PORT322_FN0), 12448c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ29_MARK, PORT323_FN0), 12458c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ30_MARK, PORT324_FN0), 12468c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ53_MARK, PORT325_FN0), 12478c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ54_MARK, PORT326_FN0), 12488c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ55_MARK, PORT327_FN0), 12498c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ56_MARK, PORT328_FN0), 12508c2ecf20Sopenharmony_ci PINMUX_DATA(IRQ57_MARK, PORT329_FN0), 12518c2ecf20Sopenharmony_ci}; 12528c2ecf20Sopenharmony_ci 12538c2ecf20Sopenharmony_ci#define __O (SH_PFC_PIN_CFG_OUTPUT) 12548c2ecf20Sopenharmony_ci#define __IO (SH_PFC_PIN_CFG_INPUT | SH_PFC_PIN_CFG_OUTPUT) 12558c2ecf20Sopenharmony_ci#define __PUD (SH_PFC_PIN_CFG_PULL_UP_DOWN) 12568c2ecf20Sopenharmony_ci 12578c2ecf20Sopenharmony_ci#define R8A73A4_PIN_IO_PU_PD(pin) SH_PFC_PIN_CFG(pin, __IO | __PUD) 12588c2ecf20Sopenharmony_ci#define R8A73A4_PIN_O(pin) SH_PFC_PIN_CFG(pin, __O) 12598c2ecf20Sopenharmony_ci 12608c2ecf20Sopenharmony_cistatic const struct sh_pfc_pin pinmux_pins[] = { 12618c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(0), R8A73A4_PIN_IO_PU_PD(1), 12628c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(2), R8A73A4_PIN_IO_PU_PD(3), 12638c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(4), R8A73A4_PIN_IO_PU_PD(5), 12648c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(6), R8A73A4_PIN_IO_PU_PD(7), 12658c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(8), R8A73A4_PIN_IO_PU_PD(9), 12668c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(10), R8A73A4_PIN_IO_PU_PD(11), 12678c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(12), R8A73A4_PIN_IO_PU_PD(13), 12688c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(14), R8A73A4_PIN_IO_PU_PD(15), 12698c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(16), R8A73A4_PIN_IO_PU_PD(17), 12708c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(18), R8A73A4_PIN_IO_PU_PD(19), 12718c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(20), R8A73A4_PIN_IO_PU_PD(21), 12728c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(22), R8A73A4_PIN_IO_PU_PD(23), 12738c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(24), R8A73A4_PIN_IO_PU_PD(25), 12748c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(26), R8A73A4_PIN_IO_PU_PD(27), 12758c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(28), R8A73A4_PIN_IO_PU_PD(29), 12768c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(30), 12778c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(32), R8A73A4_PIN_IO_PU_PD(33), 12788c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(34), R8A73A4_PIN_IO_PU_PD(35), 12798c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(36), R8A73A4_PIN_IO_PU_PD(37), 12808c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(38), R8A73A4_PIN_IO_PU_PD(39), 12818c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(40), 12828c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(64), R8A73A4_PIN_IO_PU_PD(65), 12838c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(66), R8A73A4_PIN_IO_PU_PD(67), 12848c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(68), R8A73A4_PIN_IO_PU_PD(69), 12858c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(70), R8A73A4_PIN_IO_PU_PD(71), 12868c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(72), R8A73A4_PIN_IO_PU_PD(73), 12878c2ecf20Sopenharmony_ci R8A73A4_PIN_O(74), R8A73A4_PIN_IO_PU_PD(75), 12888c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(76), R8A73A4_PIN_IO_PU_PD(77), 12898c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(78), R8A73A4_PIN_IO_PU_PD(79), 12908c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(80), R8A73A4_PIN_IO_PU_PD(81), 12918c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(82), R8A73A4_PIN_IO_PU_PD(83), 12928c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(84), R8A73A4_PIN_IO_PU_PD(85), 12938c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(96), R8A73A4_PIN_IO_PU_PD(97), 12948c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(98), R8A73A4_PIN_IO_PU_PD(99), 12958c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(100), R8A73A4_PIN_IO_PU_PD(101), 12968c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(102), R8A73A4_PIN_IO_PU_PD(103), 12978c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(104), R8A73A4_PIN_IO_PU_PD(105), 12988c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(106), R8A73A4_PIN_IO_PU_PD(107), 12998c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(108), R8A73A4_PIN_IO_PU_PD(109), 13008c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(110), R8A73A4_PIN_IO_PU_PD(111), 13018c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(112), R8A73A4_PIN_IO_PU_PD(113), 13028c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(114), R8A73A4_PIN_IO_PU_PD(115), 13038c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(116), R8A73A4_PIN_IO_PU_PD(117), 13048c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(118), R8A73A4_PIN_IO_PU_PD(119), 13058c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(120), R8A73A4_PIN_IO_PU_PD(121), 13068c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(122), R8A73A4_PIN_IO_PU_PD(123), 13078c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(124), R8A73A4_PIN_IO_PU_PD(125), 13088c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(126), 13098c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(128), R8A73A4_PIN_IO_PU_PD(129), 13108c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(130), R8A73A4_PIN_IO_PU_PD(131), 13118c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(132), R8A73A4_PIN_IO_PU_PD(133), 13128c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(134), 13138c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(160), R8A73A4_PIN_IO_PU_PD(161), 13148c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(162), R8A73A4_PIN_IO_PU_PD(163), 13158c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(164), R8A73A4_PIN_IO_PU_PD(165), 13168c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(166), R8A73A4_PIN_IO_PU_PD(167), 13178c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(168), R8A73A4_PIN_IO_PU_PD(169), 13188c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(170), R8A73A4_PIN_IO_PU_PD(171), 13198c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(172), R8A73A4_PIN_IO_PU_PD(173), 13208c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(174), R8A73A4_PIN_IO_PU_PD(175), 13218c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(176), R8A73A4_PIN_IO_PU_PD(177), 13228c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(178), 13238c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(192), R8A73A4_PIN_IO_PU_PD(193), 13248c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(194), R8A73A4_PIN_IO_PU_PD(195), 13258c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(196), R8A73A4_PIN_IO_PU_PD(197), 13268c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(198), R8A73A4_PIN_IO_PU_PD(199), 13278c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(200), R8A73A4_PIN_IO_PU_PD(201), 13288c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(202), R8A73A4_PIN_IO_PU_PD(203), 13298c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(204), R8A73A4_PIN_IO_PU_PD(205), 13308c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(206), R8A73A4_PIN_IO_PU_PD(207), 13318c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(208), R8A73A4_PIN_IO_PU_PD(209), 13328c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(210), R8A73A4_PIN_IO_PU_PD(211), 13338c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(212), R8A73A4_PIN_IO_PU_PD(213), 13348c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(214), R8A73A4_PIN_IO_PU_PD(215), 13358c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(216), R8A73A4_PIN_IO_PU_PD(217), 13368c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(218), R8A73A4_PIN_IO_PU_PD(219), 13378c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(220), R8A73A4_PIN_IO_PU_PD(221), 13388c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(222), 13398c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(224), R8A73A4_PIN_IO_PU_PD(225), 13408c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(226), R8A73A4_PIN_IO_PU_PD(227), 13418c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(228), R8A73A4_PIN_IO_PU_PD(229), 13428c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(230), R8A73A4_PIN_IO_PU_PD(231), 13438c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(232), R8A73A4_PIN_IO_PU_PD(233), 13448c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(234), R8A73A4_PIN_IO_PU_PD(235), 13458c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(236), R8A73A4_PIN_IO_PU_PD(237), 13468c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(238), R8A73A4_PIN_IO_PU_PD(239), 13478c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(240), R8A73A4_PIN_IO_PU_PD(241), 13488c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(242), R8A73A4_PIN_IO_PU_PD(243), 13498c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(244), R8A73A4_PIN_IO_PU_PD(245), 13508c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(246), R8A73A4_PIN_IO_PU_PD(247), 13518c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(248), R8A73A4_PIN_IO_PU_PD(249), 13528c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(250), 13538c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(256), R8A73A4_PIN_IO_PU_PD(257), 13548c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(258), R8A73A4_PIN_IO_PU_PD(259), 13558c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(260), R8A73A4_PIN_IO_PU_PD(261), 13568c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(262), R8A73A4_PIN_IO_PU_PD(263), 13578c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(264), R8A73A4_PIN_IO_PU_PD(265), 13588c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(266), R8A73A4_PIN_IO_PU_PD(267), 13598c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(268), R8A73A4_PIN_IO_PU_PD(269), 13608c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(270), R8A73A4_PIN_IO_PU_PD(271), 13618c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(272), R8A73A4_PIN_IO_PU_PD(273), 13628c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(274), R8A73A4_PIN_IO_PU_PD(275), 13638c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(276), R8A73A4_PIN_IO_PU_PD(277), 13648c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(278), R8A73A4_PIN_IO_PU_PD(279), 13658c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(280), R8A73A4_PIN_IO_PU_PD(281), 13668c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(282), R8A73A4_PIN_IO_PU_PD(283), 13678c2ecf20Sopenharmony_ci R8A73A4_PIN_O(288), R8A73A4_PIN_IO_PU_PD(289), 13688c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(290), R8A73A4_PIN_IO_PU_PD(291), 13698c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(292), R8A73A4_PIN_IO_PU_PD(293), 13708c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(294), R8A73A4_PIN_IO_PU_PD(295), 13718c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(296), R8A73A4_PIN_IO_PU_PD(297), 13728c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(298), R8A73A4_PIN_IO_PU_PD(299), 13738c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(300), R8A73A4_PIN_IO_PU_PD(301), 13748c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(302), R8A73A4_PIN_IO_PU_PD(303), 13758c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(304), R8A73A4_PIN_IO_PU_PD(305), 13768c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(306), R8A73A4_PIN_IO_PU_PD(307), 13778c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(308), 13788c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(320), R8A73A4_PIN_IO_PU_PD(321), 13798c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(322), R8A73A4_PIN_IO_PU_PD(323), 13808c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(324), R8A73A4_PIN_IO_PU_PD(325), 13818c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(326), R8A73A4_PIN_IO_PU_PD(327), 13828c2ecf20Sopenharmony_ci R8A73A4_PIN_IO_PU_PD(328), R8A73A4_PIN_IO_PU_PD(329), 13838c2ecf20Sopenharmony_ci}; 13848c2ecf20Sopenharmony_ci 13858c2ecf20Sopenharmony_ci/* - IRQC ------------------------------------------------------------------- */ 13868c2ecf20Sopenharmony_ci#define IRQC_PINS_MUX(pin, irq_mark) \ 13878c2ecf20Sopenharmony_cistatic const unsigned int irqc_irq##irq_mark##_pins[] = { \ 13888c2ecf20Sopenharmony_ci pin, \ 13898c2ecf20Sopenharmony_ci}; \ 13908c2ecf20Sopenharmony_cistatic const unsigned int irqc_irq##irq_mark##_mux[] = { \ 13918c2ecf20Sopenharmony_ci IRQ##irq_mark##_MARK, \ 13928c2ecf20Sopenharmony_ci} 13938c2ecf20Sopenharmony_ciIRQC_PINS_MUX(0, 0); 13948c2ecf20Sopenharmony_ciIRQC_PINS_MUX(1, 1); 13958c2ecf20Sopenharmony_ciIRQC_PINS_MUX(2, 2); 13968c2ecf20Sopenharmony_ciIRQC_PINS_MUX(3, 3); 13978c2ecf20Sopenharmony_ciIRQC_PINS_MUX(4, 4); 13988c2ecf20Sopenharmony_ciIRQC_PINS_MUX(5, 5); 13998c2ecf20Sopenharmony_ciIRQC_PINS_MUX(6, 6); 14008c2ecf20Sopenharmony_ciIRQC_PINS_MUX(7, 7); 14018c2ecf20Sopenharmony_ciIRQC_PINS_MUX(8, 8); 14028c2ecf20Sopenharmony_ciIRQC_PINS_MUX(9, 9); 14038c2ecf20Sopenharmony_ciIRQC_PINS_MUX(10, 10); 14048c2ecf20Sopenharmony_ciIRQC_PINS_MUX(11, 11); 14058c2ecf20Sopenharmony_ciIRQC_PINS_MUX(12, 12); 14068c2ecf20Sopenharmony_ciIRQC_PINS_MUX(13, 13); 14078c2ecf20Sopenharmony_ciIRQC_PINS_MUX(14, 14); 14088c2ecf20Sopenharmony_ciIRQC_PINS_MUX(15, 15); 14098c2ecf20Sopenharmony_ciIRQC_PINS_MUX(66, 40); 14108c2ecf20Sopenharmony_ciIRQC_PINS_MUX(84, 19); 14118c2ecf20Sopenharmony_ciIRQC_PINS_MUX(85, 18); 14128c2ecf20Sopenharmony_ciIRQC_PINS_MUX(102, 41); 14138c2ecf20Sopenharmony_ciIRQC_PINS_MUX(103, 42); 14148c2ecf20Sopenharmony_ciIRQC_PINS_MUX(109, 43); 14158c2ecf20Sopenharmony_ciIRQC_PINS_MUX(110, 44); 14168c2ecf20Sopenharmony_ciIRQC_PINS_MUX(111, 45); 14178c2ecf20Sopenharmony_ciIRQC_PINS_MUX(112, 46); 14188c2ecf20Sopenharmony_ciIRQC_PINS_MUX(113, 47); 14198c2ecf20Sopenharmony_ciIRQC_PINS_MUX(114, 48); 14208c2ecf20Sopenharmony_ciIRQC_PINS_MUX(115, 49); 14218c2ecf20Sopenharmony_ciIRQC_PINS_MUX(160, 20); 14228c2ecf20Sopenharmony_ciIRQC_PINS_MUX(161, 21); 14238c2ecf20Sopenharmony_ciIRQC_PINS_MUX(162, 22); 14248c2ecf20Sopenharmony_ciIRQC_PINS_MUX(163, 23); 14258c2ecf20Sopenharmony_ciIRQC_PINS_MUX(175, 24); 14268c2ecf20Sopenharmony_ciIRQC_PINS_MUX(176, 25); 14278c2ecf20Sopenharmony_ciIRQC_PINS_MUX(177, 26); 14288c2ecf20Sopenharmony_ciIRQC_PINS_MUX(178, 27); 14298c2ecf20Sopenharmony_ciIRQC_PINS_MUX(192, 31); 14308c2ecf20Sopenharmony_ciIRQC_PINS_MUX(193, 32); 14318c2ecf20Sopenharmony_ciIRQC_PINS_MUX(194, 33); 14328c2ecf20Sopenharmony_ciIRQC_PINS_MUX(195, 34); 14338c2ecf20Sopenharmony_ciIRQC_PINS_MUX(196, 35); 14348c2ecf20Sopenharmony_ciIRQC_PINS_MUX(197, 36); 14358c2ecf20Sopenharmony_ciIRQC_PINS_MUX(198, 37); 14368c2ecf20Sopenharmony_ciIRQC_PINS_MUX(199, 38); 14378c2ecf20Sopenharmony_ciIRQC_PINS_MUX(200, 39); 14388c2ecf20Sopenharmony_ciIRQC_PINS_MUX(290, 51); 14398c2ecf20Sopenharmony_ciIRQC_PINS_MUX(296, 52); 14408c2ecf20Sopenharmony_ciIRQC_PINS_MUX(301, 50); 14418c2ecf20Sopenharmony_ciIRQC_PINS_MUX(320, 16); 14428c2ecf20Sopenharmony_ciIRQC_PINS_MUX(321, 17); 14438c2ecf20Sopenharmony_ciIRQC_PINS_MUX(322, 28); 14448c2ecf20Sopenharmony_ciIRQC_PINS_MUX(323, 29); 14458c2ecf20Sopenharmony_ciIRQC_PINS_MUX(324, 30); 14468c2ecf20Sopenharmony_ciIRQC_PINS_MUX(325, 53); 14478c2ecf20Sopenharmony_ciIRQC_PINS_MUX(326, 54); 14488c2ecf20Sopenharmony_ciIRQC_PINS_MUX(327, 55); 14498c2ecf20Sopenharmony_ciIRQC_PINS_MUX(328, 56); 14508c2ecf20Sopenharmony_ciIRQC_PINS_MUX(329, 57); 14518c2ecf20Sopenharmony_ci/* - MMCIF0 ----------------------------------------------------------------- */ 14528c2ecf20Sopenharmony_cistatic const unsigned int mmc0_data1_pins[] = { 14538c2ecf20Sopenharmony_ci /* D[0] */ 14548c2ecf20Sopenharmony_ci 164, 14558c2ecf20Sopenharmony_ci}; 14568c2ecf20Sopenharmony_cistatic const unsigned int mmc0_data1_mux[] = { 14578c2ecf20Sopenharmony_ci MMCD0_0_MARK, 14588c2ecf20Sopenharmony_ci}; 14598c2ecf20Sopenharmony_cistatic const unsigned int mmc0_data4_pins[] = { 14608c2ecf20Sopenharmony_ci /* D[0:3] */ 14618c2ecf20Sopenharmony_ci 164, 165, 166, 167, 14628c2ecf20Sopenharmony_ci}; 14638c2ecf20Sopenharmony_cistatic const unsigned int mmc0_data4_mux[] = { 14648c2ecf20Sopenharmony_ci MMCD0_0_MARK, MMCD0_1_MARK, MMCD0_2_MARK, MMCD0_3_MARK, 14658c2ecf20Sopenharmony_ci}; 14668c2ecf20Sopenharmony_cistatic const unsigned int mmc0_data8_pins[] = { 14678c2ecf20Sopenharmony_ci /* D[0:7] */ 14688c2ecf20Sopenharmony_ci 164, 165, 166, 167, 168, 169, 170, 171, 14698c2ecf20Sopenharmony_ci}; 14708c2ecf20Sopenharmony_cistatic const unsigned int mmc0_data8_mux[] = { 14718c2ecf20Sopenharmony_ci MMCD0_0_MARK, MMCD0_1_MARK, MMCD0_2_MARK, MMCD0_3_MARK, 14728c2ecf20Sopenharmony_ci MMCD0_4_MARK, MMCD0_5_MARK, MMCD0_6_MARK, MMCD0_7_MARK, 14738c2ecf20Sopenharmony_ci}; 14748c2ecf20Sopenharmony_cistatic const unsigned int mmc0_ctrl_pins[] = { 14758c2ecf20Sopenharmony_ci /* CMD, CLK */ 14768c2ecf20Sopenharmony_ci 172, 173, 14778c2ecf20Sopenharmony_ci}; 14788c2ecf20Sopenharmony_cistatic const unsigned int mmc0_ctrl_mux[] = { 14798c2ecf20Sopenharmony_ci MMCCMD0_MARK, MMCCLK0_MARK, 14808c2ecf20Sopenharmony_ci}; 14818c2ecf20Sopenharmony_ci/* - MMCIF1 ----------------------------------------------------------------- */ 14828c2ecf20Sopenharmony_cistatic const unsigned int mmc1_data1_pins[] = { 14838c2ecf20Sopenharmony_ci /* D[0] */ 14848c2ecf20Sopenharmony_ci 199, 14858c2ecf20Sopenharmony_ci}; 14868c2ecf20Sopenharmony_cistatic const unsigned int mmc1_data1_mux[] = { 14878c2ecf20Sopenharmony_ci MMCD1_0_MARK, 14888c2ecf20Sopenharmony_ci}; 14898c2ecf20Sopenharmony_cistatic const unsigned int mmc1_data4_pins[] = { 14908c2ecf20Sopenharmony_ci /* D[0:3] */ 14918c2ecf20Sopenharmony_ci 199, 198, 197, 196, 14928c2ecf20Sopenharmony_ci}; 14938c2ecf20Sopenharmony_cistatic const unsigned int mmc1_data4_mux[] = { 14948c2ecf20Sopenharmony_ci MMCD1_0_MARK, MMCD1_1_MARK, MMCD1_2_MARK, MMCD1_3_MARK, 14958c2ecf20Sopenharmony_ci}; 14968c2ecf20Sopenharmony_cistatic const unsigned int mmc1_data8_pins[] = { 14978c2ecf20Sopenharmony_ci /* D[0:7] */ 14988c2ecf20Sopenharmony_ci 199, 198, 197, 196, 195, 194, 193, 192, 14998c2ecf20Sopenharmony_ci}; 15008c2ecf20Sopenharmony_cistatic const unsigned int mmc1_data8_mux[] = { 15018c2ecf20Sopenharmony_ci MMCD1_0_MARK, MMCD1_1_MARK, MMCD1_2_MARK, MMCD1_3_MARK, 15028c2ecf20Sopenharmony_ci MMCD1_4_MARK, MMCD1_5_MARK, MMCD1_6_MARK, MMCD1_7_MARK, 15038c2ecf20Sopenharmony_ci}; 15048c2ecf20Sopenharmony_cistatic const unsigned int mmc1_ctrl_pins[] = { 15058c2ecf20Sopenharmony_ci /* CMD, CLK */ 15068c2ecf20Sopenharmony_ci 200, 203, 15078c2ecf20Sopenharmony_ci}; 15088c2ecf20Sopenharmony_cistatic const unsigned int mmc1_ctrl_mux[] = { 15098c2ecf20Sopenharmony_ci MMCCMD1_MARK, MMCCLK1_MARK, 15108c2ecf20Sopenharmony_ci}; 15118c2ecf20Sopenharmony_ci/* - SCIFA0 ----------------------------------------------------------------- */ 15128c2ecf20Sopenharmony_cistatic const unsigned int scifa0_data_pins[] = { 15138c2ecf20Sopenharmony_ci /* SCIFA0_RXD, SCIFA0_TXD */ 15148c2ecf20Sopenharmony_ci 117, 116, 15158c2ecf20Sopenharmony_ci}; 15168c2ecf20Sopenharmony_cistatic const unsigned int scifa0_data_mux[] = { 15178c2ecf20Sopenharmony_ci SCIFA0_RXD_MARK, SCIFA0_TXD_MARK, 15188c2ecf20Sopenharmony_ci}; 15198c2ecf20Sopenharmony_cistatic const unsigned int scifa0_clk_pins[] = { 15208c2ecf20Sopenharmony_ci /* SCIFA0_SCK */ 15218c2ecf20Sopenharmony_ci 34, 15228c2ecf20Sopenharmony_ci}; 15238c2ecf20Sopenharmony_cistatic const unsigned int scifa0_clk_mux[] = { 15248c2ecf20Sopenharmony_ci SCIFA0_SCK_MARK, 15258c2ecf20Sopenharmony_ci}; 15268c2ecf20Sopenharmony_cistatic const unsigned int scifa0_ctrl_pins[] = { 15278c2ecf20Sopenharmony_ci /* SCIFA0_RTS, SCIFA0_CTS */ 15288c2ecf20Sopenharmony_ci 32, 33, 15298c2ecf20Sopenharmony_ci}; 15308c2ecf20Sopenharmony_cistatic const unsigned int scifa0_ctrl_mux[] = { 15318c2ecf20Sopenharmony_ci SCIFA0_RTS_MARK, SCIFA0_CTS_MARK, 15328c2ecf20Sopenharmony_ci}; 15338c2ecf20Sopenharmony_ci/* - SCIFA1 ----------------------------------------------------------------- */ 15348c2ecf20Sopenharmony_cistatic const unsigned int scifa1_data_pins[] = { 15358c2ecf20Sopenharmony_ci /* SCIFA1_RXD, SCIFA1_TXD */ 15368c2ecf20Sopenharmony_ci 119, 118, 15378c2ecf20Sopenharmony_ci}; 15388c2ecf20Sopenharmony_cistatic const unsigned int scifa1_data_mux[] = { 15398c2ecf20Sopenharmony_ci SCIFA1_RXD_MARK, SCIFA1_TXD_MARK, 15408c2ecf20Sopenharmony_ci}; 15418c2ecf20Sopenharmony_cistatic const unsigned int scifa1_clk_pins[] = { 15428c2ecf20Sopenharmony_ci /* SCIFA1_SCK */ 15438c2ecf20Sopenharmony_ci 37, 15448c2ecf20Sopenharmony_ci}; 15458c2ecf20Sopenharmony_cistatic const unsigned int scifa1_clk_mux[] = { 15468c2ecf20Sopenharmony_ci SCIFA1_SCK_MARK, 15478c2ecf20Sopenharmony_ci}; 15488c2ecf20Sopenharmony_cistatic const unsigned int scifa1_ctrl_pins[] = { 15498c2ecf20Sopenharmony_ci /* SCIFA1_RTS, SCIFA1_CTS */ 15508c2ecf20Sopenharmony_ci 35, 36, 15518c2ecf20Sopenharmony_ci}; 15528c2ecf20Sopenharmony_cistatic const unsigned int scifa1_ctrl_mux[] = { 15538c2ecf20Sopenharmony_ci SCIFA1_RTS_MARK, SCIFA1_CTS_MARK, 15548c2ecf20Sopenharmony_ci}; 15558c2ecf20Sopenharmony_ci/* - SCIFB0 ----------------------------------------------------------------- */ 15568c2ecf20Sopenharmony_cistatic const unsigned int scifb0_data_pins[] = { 15578c2ecf20Sopenharmony_ci /* SCIFB0_RXD, SCIFB0_TXD */ 15588c2ecf20Sopenharmony_ci 123, 122, 15598c2ecf20Sopenharmony_ci}; 15608c2ecf20Sopenharmony_cistatic const unsigned int scifb0_data_mux[] = { 15618c2ecf20Sopenharmony_ci SCIFB0_RXD_MARK, SCIFB0_TXD_MARK, 15628c2ecf20Sopenharmony_ci}; 15638c2ecf20Sopenharmony_cistatic const unsigned int scifb0_clk_pins[] = { 15648c2ecf20Sopenharmony_ci /* SCIFB0_SCK */ 15658c2ecf20Sopenharmony_ci 40, 15668c2ecf20Sopenharmony_ci}; 15678c2ecf20Sopenharmony_cistatic const unsigned int scifb0_clk_mux[] = { 15688c2ecf20Sopenharmony_ci SCIFB0_SCK_MARK, 15698c2ecf20Sopenharmony_ci}; 15708c2ecf20Sopenharmony_cistatic const unsigned int scifb0_ctrl_pins[] = { 15718c2ecf20Sopenharmony_ci /* SCIFB0_RTS, SCIFB0_CTS */ 15728c2ecf20Sopenharmony_ci 38, 39, 15738c2ecf20Sopenharmony_ci}; 15748c2ecf20Sopenharmony_cistatic const unsigned int scifb0_ctrl_mux[] = { 15758c2ecf20Sopenharmony_ci SCIFB0_RTS_MARK, SCIFB0_CTS_MARK, 15768c2ecf20Sopenharmony_ci}; 15778c2ecf20Sopenharmony_ci/* - SCIFB1 ----------------------------------------------------------------- */ 15788c2ecf20Sopenharmony_cistatic const unsigned int scifb1_data_pins[] = { 15798c2ecf20Sopenharmony_ci /* SCIFB1_RXD, SCIFB1_TXD */ 15808c2ecf20Sopenharmony_ci 27, 26, 15818c2ecf20Sopenharmony_ci}; 15828c2ecf20Sopenharmony_cistatic const unsigned int scifb1_data_mux[] = { 15838c2ecf20Sopenharmony_ci SCIFB1_RXD_27_MARK, SCIFB1_TXD_26_MARK, 15848c2ecf20Sopenharmony_ci}; 15858c2ecf20Sopenharmony_cistatic const unsigned int scifb1_clk_pins[] = { 15868c2ecf20Sopenharmony_ci /* SCIFB1_SCK */ 15878c2ecf20Sopenharmony_ci 28, 15888c2ecf20Sopenharmony_ci}; 15898c2ecf20Sopenharmony_cistatic const unsigned int scifb1_clk_mux[] = { 15908c2ecf20Sopenharmony_ci SCIFB1_SCK_28_MARK, 15918c2ecf20Sopenharmony_ci}; 15928c2ecf20Sopenharmony_cistatic const unsigned int scifb1_ctrl_pins[] = { 15938c2ecf20Sopenharmony_ci /* SCIFB1_RTS, SCIFB1_CTS */ 15948c2ecf20Sopenharmony_ci 24, 25, 15958c2ecf20Sopenharmony_ci}; 15968c2ecf20Sopenharmony_cistatic const unsigned int scifb1_ctrl_mux[] = { 15978c2ecf20Sopenharmony_ci SCIFB1_RTS_24_MARK, SCIFB1_CTS_25_MARK, 15988c2ecf20Sopenharmony_ci}; 15998c2ecf20Sopenharmony_cistatic const unsigned int scifb1_data_b_pins[] = { 16008c2ecf20Sopenharmony_ci /* SCIFB1_RXD, SCIFB1_TXD */ 16018c2ecf20Sopenharmony_ci 72, 67, 16028c2ecf20Sopenharmony_ci}; 16038c2ecf20Sopenharmony_cistatic const unsigned int scifb1_data_b_mux[] = { 16048c2ecf20Sopenharmony_ci SCIFB1_RXD_72_MARK, SCIFB1_TXD_67_MARK, 16058c2ecf20Sopenharmony_ci}; 16068c2ecf20Sopenharmony_cistatic const unsigned int scifb1_clk_b_pins[] = { 16078c2ecf20Sopenharmony_ci /* SCIFB1_SCK */ 16088c2ecf20Sopenharmony_ci 261, 16098c2ecf20Sopenharmony_ci}; 16108c2ecf20Sopenharmony_cistatic const unsigned int scifb1_clk_b_mux[] = { 16118c2ecf20Sopenharmony_ci SCIFB1_SCK_261_MARK, 16128c2ecf20Sopenharmony_ci}; 16138c2ecf20Sopenharmony_cistatic const unsigned int scifb1_ctrl_b_pins[] = { 16148c2ecf20Sopenharmony_ci /* SCIFB1_RTS, SCIFB1_CTS */ 16158c2ecf20Sopenharmony_ci 70, 71, 16168c2ecf20Sopenharmony_ci}; 16178c2ecf20Sopenharmony_cistatic const unsigned int scifb1_ctrl_b_mux[] = { 16188c2ecf20Sopenharmony_ci SCIFB1_RTS_70_MARK, SCIFB1_CTS_71_MARK, 16198c2ecf20Sopenharmony_ci}; 16208c2ecf20Sopenharmony_ci/* - SCIFB2 ----------------------------------------------------------------- */ 16218c2ecf20Sopenharmony_cistatic const unsigned int scifb2_data_pins[] = { 16228c2ecf20Sopenharmony_ci /* SCIFB2_RXD, SCIFB2_TXD */ 16238c2ecf20Sopenharmony_ci 69, 68, 16248c2ecf20Sopenharmony_ci}; 16258c2ecf20Sopenharmony_cistatic const unsigned int scifb2_data_mux[] = { 16268c2ecf20Sopenharmony_ci SCIFB2_RXD_69_MARK, SCIFB2_TXD_68_MARK, 16278c2ecf20Sopenharmony_ci}; 16288c2ecf20Sopenharmony_cistatic const unsigned int scifb2_clk_pins[] = { 16298c2ecf20Sopenharmony_ci /* SCIFB2_SCK */ 16308c2ecf20Sopenharmony_ci 262, 16318c2ecf20Sopenharmony_ci}; 16328c2ecf20Sopenharmony_cistatic const unsigned int scifb2_clk_mux[] = { 16338c2ecf20Sopenharmony_ci SCIFB2_SCK_262_MARK, 16348c2ecf20Sopenharmony_ci}; 16358c2ecf20Sopenharmony_cistatic const unsigned int scifb2_ctrl_pins[] = { 16368c2ecf20Sopenharmony_ci /* SCIFB2_RTS, SCIFB2_CTS */ 16378c2ecf20Sopenharmony_ci 73, 66, 16388c2ecf20Sopenharmony_ci}; 16398c2ecf20Sopenharmony_cistatic const unsigned int scifb2_ctrl_mux[] = { 16408c2ecf20Sopenharmony_ci SCIFB2_RTS_73_MARK, SCIFB2_CTS_66_MARK, 16418c2ecf20Sopenharmony_ci}; 16428c2ecf20Sopenharmony_cistatic const unsigned int scifb2_data_b_pins[] = { 16438c2ecf20Sopenharmony_ci /* SCIFB2_RXD, SCIFB2_TXD */ 16448c2ecf20Sopenharmony_ci 297, 295, 16458c2ecf20Sopenharmony_ci}; 16468c2ecf20Sopenharmony_cistatic const unsigned int scifb2_data_b_mux[] = { 16478c2ecf20Sopenharmony_ci SCIFB2_RXD_297_MARK, SCIFB2_TXD_295_MARK, 16488c2ecf20Sopenharmony_ci}; 16498c2ecf20Sopenharmony_cistatic const unsigned int scifb2_clk_b_pins[] = { 16508c2ecf20Sopenharmony_ci /* SCIFB2_SCK */ 16518c2ecf20Sopenharmony_ci 299, 16528c2ecf20Sopenharmony_ci}; 16538c2ecf20Sopenharmony_cistatic const unsigned int scifb2_clk_b_mux[] = { 16548c2ecf20Sopenharmony_ci SCIFB2_SCK_299_MARK, 16558c2ecf20Sopenharmony_ci}; 16568c2ecf20Sopenharmony_cistatic const unsigned int scifb2_ctrl_b_pins[] = { 16578c2ecf20Sopenharmony_ci /* SCIFB2_RTS, SCIFB2_CTS */ 16588c2ecf20Sopenharmony_ci 300, 298, 16598c2ecf20Sopenharmony_ci}; 16608c2ecf20Sopenharmony_cistatic const unsigned int scifb2_ctrl_b_mux[] = { 16618c2ecf20Sopenharmony_ci SCIFB2_RTS_300_MARK, SCIFB2_CTS_298_MARK, 16628c2ecf20Sopenharmony_ci}; 16638c2ecf20Sopenharmony_ci/* - SCIFB3 ----------------------------------------------------------------- */ 16648c2ecf20Sopenharmony_cistatic const unsigned int scifb3_data_pins[] = { 16658c2ecf20Sopenharmony_ci /* SCIFB3_RXD, SCIFB3_TXD */ 16668c2ecf20Sopenharmony_ci 22, 21, 16678c2ecf20Sopenharmony_ci}; 16688c2ecf20Sopenharmony_cistatic const unsigned int scifb3_data_mux[] = { 16698c2ecf20Sopenharmony_ci SCIFB3_RXD_22_MARK, SCIFB3_TXD_21_MARK, 16708c2ecf20Sopenharmony_ci}; 16718c2ecf20Sopenharmony_cistatic const unsigned int scifb3_clk_pins[] = { 16728c2ecf20Sopenharmony_ci /* SCIFB3_SCK */ 16738c2ecf20Sopenharmony_ci 23, 16748c2ecf20Sopenharmony_ci}; 16758c2ecf20Sopenharmony_cistatic const unsigned int scifb3_clk_mux[] = { 16768c2ecf20Sopenharmony_ci SCIFB3_SCK_23_MARK, 16778c2ecf20Sopenharmony_ci}; 16788c2ecf20Sopenharmony_cistatic const unsigned int scifb3_ctrl_pins[] = { 16798c2ecf20Sopenharmony_ci /* SCIFB3_RTS, SCIFB3_CTS */ 16808c2ecf20Sopenharmony_ci 19, 20, 16818c2ecf20Sopenharmony_ci}; 16828c2ecf20Sopenharmony_cistatic const unsigned int scifb3_ctrl_mux[] = { 16838c2ecf20Sopenharmony_ci SCIFB3_RTS_19_MARK, SCIFB3_CTS_20_MARK, 16848c2ecf20Sopenharmony_ci}; 16858c2ecf20Sopenharmony_cistatic const unsigned int scifb3_data_b_pins[] = { 16868c2ecf20Sopenharmony_ci /* SCIFB3_RXD, SCIFB3_TXD */ 16878c2ecf20Sopenharmony_ci 120, 121, 16888c2ecf20Sopenharmony_ci}; 16898c2ecf20Sopenharmony_cistatic const unsigned int scifb3_data_b_mux[] = { 16908c2ecf20Sopenharmony_ci SCIFB3_RXD_120_MARK, SCIFB3_TXD_121_MARK, 16918c2ecf20Sopenharmony_ci}; 16928c2ecf20Sopenharmony_cistatic const unsigned int scifb3_clk_b_pins[] = { 16938c2ecf20Sopenharmony_ci /* SCIFB3_SCK */ 16948c2ecf20Sopenharmony_ci 40, 16958c2ecf20Sopenharmony_ci}; 16968c2ecf20Sopenharmony_cistatic const unsigned int scifb3_clk_b_mux[] = { 16978c2ecf20Sopenharmony_ci SCIFB3_SCK_40_MARK, 16988c2ecf20Sopenharmony_ci}; 16998c2ecf20Sopenharmony_cistatic const unsigned int scifb3_ctrl_b_pins[] = { 17008c2ecf20Sopenharmony_ci /* SCIFB3_RTS, SCIFB3_CTS */ 17018c2ecf20Sopenharmony_ci 38, 39, 17028c2ecf20Sopenharmony_ci}; 17038c2ecf20Sopenharmony_cistatic const unsigned int scifb3_ctrl_b_mux[] = { 17048c2ecf20Sopenharmony_ci SCIFB3_RTS_38_MARK, SCIFB3_CTS_39_MARK, 17058c2ecf20Sopenharmony_ci}; 17068c2ecf20Sopenharmony_ci/* - SDHI0 ------------------------------------------------------------------ */ 17078c2ecf20Sopenharmony_cistatic const unsigned int sdhi0_data1_pins[] = { 17088c2ecf20Sopenharmony_ci /* D0 */ 17098c2ecf20Sopenharmony_ci 302, 17108c2ecf20Sopenharmony_ci}; 17118c2ecf20Sopenharmony_cistatic const unsigned int sdhi0_data1_mux[] = { 17128c2ecf20Sopenharmony_ci SDHID0_0_MARK, 17138c2ecf20Sopenharmony_ci}; 17148c2ecf20Sopenharmony_cistatic const unsigned int sdhi0_data4_pins[] = { 17158c2ecf20Sopenharmony_ci /* D[0:3] */ 17168c2ecf20Sopenharmony_ci 302, 303, 304, 305, 17178c2ecf20Sopenharmony_ci}; 17188c2ecf20Sopenharmony_cistatic const unsigned int sdhi0_data4_mux[] = { 17198c2ecf20Sopenharmony_ci SDHID0_0_MARK, SDHID0_1_MARK, SDHID0_2_MARK, SDHID0_3_MARK, 17208c2ecf20Sopenharmony_ci}; 17218c2ecf20Sopenharmony_cistatic const unsigned int sdhi0_ctrl_pins[] = { 17228c2ecf20Sopenharmony_ci /* CLK, CMD */ 17238c2ecf20Sopenharmony_ci 308, 306, 17248c2ecf20Sopenharmony_ci}; 17258c2ecf20Sopenharmony_cistatic const unsigned int sdhi0_ctrl_mux[] = { 17268c2ecf20Sopenharmony_ci SDHICLK0_MARK, SDHICMD0_MARK, 17278c2ecf20Sopenharmony_ci}; 17288c2ecf20Sopenharmony_cistatic const unsigned int sdhi0_cd_pins[] = { 17298c2ecf20Sopenharmony_ci /* CD */ 17308c2ecf20Sopenharmony_ci 301, 17318c2ecf20Sopenharmony_ci}; 17328c2ecf20Sopenharmony_cistatic const unsigned int sdhi0_cd_mux[] = { 17338c2ecf20Sopenharmony_ci SDHICD0_MARK, 17348c2ecf20Sopenharmony_ci}; 17358c2ecf20Sopenharmony_cistatic const unsigned int sdhi0_wp_pins[] = { 17368c2ecf20Sopenharmony_ci /* WP */ 17378c2ecf20Sopenharmony_ci 307, 17388c2ecf20Sopenharmony_ci}; 17398c2ecf20Sopenharmony_cistatic const unsigned int sdhi0_wp_mux[] = { 17408c2ecf20Sopenharmony_ci SDHIWP0_MARK, 17418c2ecf20Sopenharmony_ci}; 17428c2ecf20Sopenharmony_ci/* - SDHI1 ------------------------------------------------------------------ */ 17438c2ecf20Sopenharmony_cistatic const unsigned int sdhi1_data1_pins[] = { 17448c2ecf20Sopenharmony_ci /* D0 */ 17458c2ecf20Sopenharmony_ci 289, 17468c2ecf20Sopenharmony_ci}; 17478c2ecf20Sopenharmony_cistatic const unsigned int sdhi1_data1_mux[] = { 17488c2ecf20Sopenharmony_ci SDHID1_0_MARK, 17498c2ecf20Sopenharmony_ci}; 17508c2ecf20Sopenharmony_cistatic const unsigned int sdhi1_data4_pins[] = { 17518c2ecf20Sopenharmony_ci /* D[0:3] */ 17528c2ecf20Sopenharmony_ci 289, 290, 291, 292, 17538c2ecf20Sopenharmony_ci}; 17548c2ecf20Sopenharmony_cistatic const unsigned int sdhi1_data4_mux[] = { 17558c2ecf20Sopenharmony_ci SDHID1_0_MARK, SDHID1_1_MARK, SDHID1_2_MARK, SDHID1_3_MARK, 17568c2ecf20Sopenharmony_ci}; 17578c2ecf20Sopenharmony_cistatic const unsigned int sdhi1_ctrl_pins[] = { 17588c2ecf20Sopenharmony_ci /* CLK, CMD */ 17598c2ecf20Sopenharmony_ci 293, 294, 17608c2ecf20Sopenharmony_ci}; 17618c2ecf20Sopenharmony_cistatic const unsigned int sdhi1_ctrl_mux[] = { 17628c2ecf20Sopenharmony_ci SDHICLK1_MARK, SDHICMD1_MARK, 17638c2ecf20Sopenharmony_ci}; 17648c2ecf20Sopenharmony_ci/* - SDHI2 ------------------------------------------------------------------ */ 17658c2ecf20Sopenharmony_cistatic const unsigned int sdhi2_data1_pins[] = { 17668c2ecf20Sopenharmony_ci /* D0 */ 17678c2ecf20Sopenharmony_ci 295, 17688c2ecf20Sopenharmony_ci}; 17698c2ecf20Sopenharmony_cistatic const unsigned int sdhi2_data1_mux[] = { 17708c2ecf20Sopenharmony_ci SDHID2_0_MARK, 17718c2ecf20Sopenharmony_ci}; 17728c2ecf20Sopenharmony_cistatic const unsigned int sdhi2_data4_pins[] = { 17738c2ecf20Sopenharmony_ci /* D[0:3] */ 17748c2ecf20Sopenharmony_ci 295, 296, 297, 298, 17758c2ecf20Sopenharmony_ci}; 17768c2ecf20Sopenharmony_cistatic const unsigned int sdhi2_data4_mux[] = { 17778c2ecf20Sopenharmony_ci SDHID2_0_MARK, SDHID2_1_MARK, SDHID2_2_MARK, SDHID2_3_MARK, 17788c2ecf20Sopenharmony_ci}; 17798c2ecf20Sopenharmony_cistatic const unsigned int sdhi2_ctrl_pins[] = { 17808c2ecf20Sopenharmony_ci /* CLK, CMD */ 17818c2ecf20Sopenharmony_ci 299, 300, 17828c2ecf20Sopenharmony_ci}; 17838c2ecf20Sopenharmony_cistatic const unsigned int sdhi2_ctrl_mux[] = { 17848c2ecf20Sopenharmony_ci SDHICLK2_MARK, SDHICMD2_MARK, 17858c2ecf20Sopenharmony_ci}; 17868c2ecf20Sopenharmony_ci 17878c2ecf20Sopenharmony_cistatic const struct sh_pfc_pin_group pinmux_groups[] = { 17888c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq0), 17898c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq1), 17908c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq2), 17918c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq3), 17928c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq4), 17938c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq5), 17948c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq6), 17958c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq7), 17968c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq8), 17978c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq9), 17988c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq10), 17998c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq11), 18008c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq12), 18018c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq13), 18028c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq14), 18038c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq15), 18048c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq16), 18058c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq17), 18068c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq18), 18078c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq19), 18088c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq20), 18098c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq21), 18108c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq22), 18118c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq23), 18128c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq24), 18138c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq25), 18148c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq26), 18158c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq27), 18168c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq28), 18178c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq29), 18188c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq30), 18198c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq31), 18208c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq32), 18218c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq33), 18228c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq34), 18238c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq35), 18248c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq36), 18258c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq37), 18268c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq38), 18278c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq39), 18288c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq40), 18298c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq41), 18308c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq42), 18318c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq43), 18328c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq44), 18338c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq45), 18348c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq46), 18358c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq47), 18368c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq48), 18378c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq49), 18388c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq50), 18398c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq51), 18408c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq52), 18418c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq53), 18428c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq54), 18438c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq55), 18448c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq56), 18458c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(irqc_irq57), 18468c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(mmc0_data1), 18478c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(mmc0_data4), 18488c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(mmc0_data8), 18498c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(mmc0_ctrl), 18508c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(mmc1_data1), 18518c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(mmc1_data4), 18528c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(mmc1_data8), 18538c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(mmc1_ctrl), 18548c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scifa0_data), 18558c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scifa0_clk), 18568c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scifa0_ctrl), 18578c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scifa1_data), 18588c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scifa1_clk), 18598c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scifa1_ctrl), 18608c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scifb0_data), 18618c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scifb0_clk), 18628c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scifb0_ctrl), 18638c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scifb1_data), 18648c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scifb1_clk), 18658c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scifb1_ctrl), 18668c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scifb1_data_b), 18678c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scifb1_clk_b), 18688c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scifb1_ctrl_b), 18698c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scifb2_data), 18708c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scifb2_clk), 18718c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scifb2_ctrl), 18728c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scifb2_data_b), 18738c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scifb2_clk_b), 18748c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scifb2_ctrl_b), 18758c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scifb3_data), 18768c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scifb3_clk), 18778c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scifb3_ctrl), 18788c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scifb3_data_b), 18798c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scifb3_clk_b), 18808c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(scifb3_ctrl_b), 18818c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(sdhi0_data1), 18828c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(sdhi0_data4), 18838c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(sdhi0_ctrl), 18848c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(sdhi0_cd), 18858c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(sdhi0_wp), 18868c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(sdhi1_data1), 18878c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(sdhi1_data4), 18888c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(sdhi1_ctrl), 18898c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(sdhi2_data1), 18908c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(sdhi2_data4), 18918c2ecf20Sopenharmony_ci SH_PFC_PIN_GROUP(sdhi2_ctrl), 18928c2ecf20Sopenharmony_ci}; 18938c2ecf20Sopenharmony_ci 18948c2ecf20Sopenharmony_cistatic const char * const irqc_groups[] = { 18958c2ecf20Sopenharmony_ci "irqc_irq0", 18968c2ecf20Sopenharmony_ci "irqc_irq1", 18978c2ecf20Sopenharmony_ci "irqc_irq2", 18988c2ecf20Sopenharmony_ci "irqc_irq3", 18998c2ecf20Sopenharmony_ci "irqc_irq4", 19008c2ecf20Sopenharmony_ci "irqc_irq5", 19018c2ecf20Sopenharmony_ci "irqc_irq6", 19028c2ecf20Sopenharmony_ci "irqc_irq7", 19038c2ecf20Sopenharmony_ci "irqc_irq8", 19048c2ecf20Sopenharmony_ci "irqc_irq9", 19058c2ecf20Sopenharmony_ci "irqc_irq10", 19068c2ecf20Sopenharmony_ci "irqc_irq11", 19078c2ecf20Sopenharmony_ci "irqc_irq12", 19088c2ecf20Sopenharmony_ci "irqc_irq13", 19098c2ecf20Sopenharmony_ci "irqc_irq14", 19108c2ecf20Sopenharmony_ci "irqc_irq15", 19118c2ecf20Sopenharmony_ci "irqc_irq16", 19128c2ecf20Sopenharmony_ci "irqc_irq17", 19138c2ecf20Sopenharmony_ci "irqc_irq18", 19148c2ecf20Sopenharmony_ci "irqc_irq19", 19158c2ecf20Sopenharmony_ci "irqc_irq20", 19168c2ecf20Sopenharmony_ci "irqc_irq21", 19178c2ecf20Sopenharmony_ci "irqc_irq22", 19188c2ecf20Sopenharmony_ci "irqc_irq23", 19198c2ecf20Sopenharmony_ci "irqc_irq24", 19208c2ecf20Sopenharmony_ci "irqc_irq25", 19218c2ecf20Sopenharmony_ci "irqc_irq26", 19228c2ecf20Sopenharmony_ci "irqc_irq27", 19238c2ecf20Sopenharmony_ci "irqc_irq28", 19248c2ecf20Sopenharmony_ci "irqc_irq29", 19258c2ecf20Sopenharmony_ci "irqc_irq30", 19268c2ecf20Sopenharmony_ci "irqc_irq31", 19278c2ecf20Sopenharmony_ci "irqc_irq32", 19288c2ecf20Sopenharmony_ci "irqc_irq33", 19298c2ecf20Sopenharmony_ci "irqc_irq34", 19308c2ecf20Sopenharmony_ci "irqc_irq35", 19318c2ecf20Sopenharmony_ci "irqc_irq36", 19328c2ecf20Sopenharmony_ci "irqc_irq37", 19338c2ecf20Sopenharmony_ci "irqc_irq38", 19348c2ecf20Sopenharmony_ci "irqc_irq39", 19358c2ecf20Sopenharmony_ci "irqc_irq40", 19368c2ecf20Sopenharmony_ci "irqc_irq41", 19378c2ecf20Sopenharmony_ci "irqc_irq42", 19388c2ecf20Sopenharmony_ci "irqc_irq43", 19398c2ecf20Sopenharmony_ci "irqc_irq44", 19408c2ecf20Sopenharmony_ci "irqc_irq45", 19418c2ecf20Sopenharmony_ci "irqc_irq46", 19428c2ecf20Sopenharmony_ci "irqc_irq47", 19438c2ecf20Sopenharmony_ci "irqc_irq48", 19448c2ecf20Sopenharmony_ci "irqc_irq49", 19458c2ecf20Sopenharmony_ci "irqc_irq50", 19468c2ecf20Sopenharmony_ci "irqc_irq51", 19478c2ecf20Sopenharmony_ci "irqc_irq52", 19488c2ecf20Sopenharmony_ci "irqc_irq53", 19498c2ecf20Sopenharmony_ci "irqc_irq54", 19508c2ecf20Sopenharmony_ci "irqc_irq55", 19518c2ecf20Sopenharmony_ci "irqc_irq56", 19528c2ecf20Sopenharmony_ci "irqc_irq57", 19538c2ecf20Sopenharmony_ci}; 19548c2ecf20Sopenharmony_ci 19558c2ecf20Sopenharmony_cistatic const char * const mmc0_groups[] = { 19568c2ecf20Sopenharmony_ci "mmc0_data1", 19578c2ecf20Sopenharmony_ci "mmc0_data4", 19588c2ecf20Sopenharmony_ci "mmc0_data8", 19598c2ecf20Sopenharmony_ci "mmc0_ctrl", 19608c2ecf20Sopenharmony_ci}; 19618c2ecf20Sopenharmony_ci 19628c2ecf20Sopenharmony_cistatic const char * const mmc1_groups[] = { 19638c2ecf20Sopenharmony_ci "mmc1_data1", 19648c2ecf20Sopenharmony_ci "mmc1_data4", 19658c2ecf20Sopenharmony_ci "mmc1_data8", 19668c2ecf20Sopenharmony_ci "mmc1_ctrl", 19678c2ecf20Sopenharmony_ci}; 19688c2ecf20Sopenharmony_ci 19698c2ecf20Sopenharmony_cistatic const char * const scifa0_groups[] = { 19708c2ecf20Sopenharmony_ci "scifa0_data", 19718c2ecf20Sopenharmony_ci "scifa0_clk", 19728c2ecf20Sopenharmony_ci "scifa0_ctrl", 19738c2ecf20Sopenharmony_ci}; 19748c2ecf20Sopenharmony_ci 19758c2ecf20Sopenharmony_cistatic const char * const scifa1_groups[] = { 19768c2ecf20Sopenharmony_ci "scifa1_data", 19778c2ecf20Sopenharmony_ci "scifa1_clk", 19788c2ecf20Sopenharmony_ci "scifa1_ctrl", 19798c2ecf20Sopenharmony_ci}; 19808c2ecf20Sopenharmony_ci 19818c2ecf20Sopenharmony_cistatic const char * const scifb0_groups[] = { 19828c2ecf20Sopenharmony_ci "scifb0_data", 19838c2ecf20Sopenharmony_ci "scifb0_clk", 19848c2ecf20Sopenharmony_ci "scifb0_ctrl", 19858c2ecf20Sopenharmony_ci}; 19868c2ecf20Sopenharmony_ci 19878c2ecf20Sopenharmony_cistatic const char * const scifb1_groups[] = { 19888c2ecf20Sopenharmony_ci "scifb1_data", 19898c2ecf20Sopenharmony_ci "scifb1_clk", 19908c2ecf20Sopenharmony_ci "scifb1_ctrl", 19918c2ecf20Sopenharmony_ci "scifb1_data_b", 19928c2ecf20Sopenharmony_ci "scifb1_clk_b", 19938c2ecf20Sopenharmony_ci "scifb1_ctrl_b", 19948c2ecf20Sopenharmony_ci}; 19958c2ecf20Sopenharmony_ci 19968c2ecf20Sopenharmony_cistatic const char * const scifb2_groups[] = { 19978c2ecf20Sopenharmony_ci "scifb2_data", 19988c2ecf20Sopenharmony_ci "scifb2_clk", 19998c2ecf20Sopenharmony_ci "scifb2_ctrl", 20008c2ecf20Sopenharmony_ci "scifb2_data_b", 20018c2ecf20Sopenharmony_ci "scifb2_clk_b", 20028c2ecf20Sopenharmony_ci "scifb2_ctrl_b", 20038c2ecf20Sopenharmony_ci}; 20048c2ecf20Sopenharmony_ci 20058c2ecf20Sopenharmony_cistatic const char * const scifb3_groups[] = { 20068c2ecf20Sopenharmony_ci "scifb3_data", 20078c2ecf20Sopenharmony_ci "scifb3_clk", 20088c2ecf20Sopenharmony_ci "scifb3_ctrl", 20098c2ecf20Sopenharmony_ci "scifb3_data_b", 20108c2ecf20Sopenharmony_ci "scifb3_clk_b", 20118c2ecf20Sopenharmony_ci "scifb3_ctrl_b", 20128c2ecf20Sopenharmony_ci}; 20138c2ecf20Sopenharmony_ci 20148c2ecf20Sopenharmony_cistatic const char * const sdhi0_groups[] = { 20158c2ecf20Sopenharmony_ci "sdhi0_data1", 20168c2ecf20Sopenharmony_ci "sdhi0_data4", 20178c2ecf20Sopenharmony_ci "sdhi0_ctrl", 20188c2ecf20Sopenharmony_ci "sdhi0_cd", 20198c2ecf20Sopenharmony_ci "sdhi0_wp", 20208c2ecf20Sopenharmony_ci}; 20218c2ecf20Sopenharmony_ci 20228c2ecf20Sopenharmony_cistatic const char * const sdhi1_groups[] = { 20238c2ecf20Sopenharmony_ci "sdhi1_data1", 20248c2ecf20Sopenharmony_ci "sdhi1_data4", 20258c2ecf20Sopenharmony_ci "sdhi1_ctrl", 20268c2ecf20Sopenharmony_ci}; 20278c2ecf20Sopenharmony_ci 20288c2ecf20Sopenharmony_cistatic const char * const sdhi2_groups[] = { 20298c2ecf20Sopenharmony_ci "sdhi2_data1", 20308c2ecf20Sopenharmony_ci "sdhi2_data4", 20318c2ecf20Sopenharmony_ci "sdhi2_ctrl", 20328c2ecf20Sopenharmony_ci}; 20338c2ecf20Sopenharmony_ci 20348c2ecf20Sopenharmony_cistatic const struct sh_pfc_function pinmux_functions[] = { 20358c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(irqc), 20368c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(mmc0), 20378c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(mmc1), 20388c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(scifa0), 20398c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(scifa1), 20408c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(scifb0), 20418c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(scifb1), 20428c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(scifb2), 20438c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(scifb3), 20448c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(sdhi0), 20458c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(sdhi1), 20468c2ecf20Sopenharmony_ci SH_PFC_FUNCTION(sdhi2), 20478c2ecf20Sopenharmony_ci}; 20488c2ecf20Sopenharmony_ci 20498c2ecf20Sopenharmony_cistatic const struct pinmux_cfg_reg pinmux_config_regs[] = { 20508c2ecf20Sopenharmony_ci PORTCR(0, 0xe6050000), 20518c2ecf20Sopenharmony_ci PORTCR(1, 0xe6050001), 20528c2ecf20Sopenharmony_ci PORTCR(2, 0xe6050002), 20538c2ecf20Sopenharmony_ci PORTCR(3, 0xe6050003), 20548c2ecf20Sopenharmony_ci PORTCR(4, 0xe6050004), 20558c2ecf20Sopenharmony_ci PORTCR(5, 0xe6050005), 20568c2ecf20Sopenharmony_ci PORTCR(6, 0xe6050006), 20578c2ecf20Sopenharmony_ci PORTCR(7, 0xe6050007), 20588c2ecf20Sopenharmony_ci PORTCR(8, 0xe6050008), 20598c2ecf20Sopenharmony_ci PORTCR(9, 0xe6050009), 20608c2ecf20Sopenharmony_ci PORTCR(10, 0xe605000A), 20618c2ecf20Sopenharmony_ci PORTCR(11, 0xe605000B), 20628c2ecf20Sopenharmony_ci PORTCR(12, 0xe605000C), 20638c2ecf20Sopenharmony_ci PORTCR(13, 0xe605000D), 20648c2ecf20Sopenharmony_ci PORTCR(14, 0xe605000E), 20658c2ecf20Sopenharmony_ci PORTCR(15, 0xe605000F), 20668c2ecf20Sopenharmony_ci PORTCR(16, 0xe6050010), 20678c2ecf20Sopenharmony_ci PORTCR(17, 0xe6050011), 20688c2ecf20Sopenharmony_ci PORTCR(18, 0xe6050012), 20698c2ecf20Sopenharmony_ci PORTCR(19, 0xe6050013), 20708c2ecf20Sopenharmony_ci PORTCR(20, 0xe6050014), 20718c2ecf20Sopenharmony_ci PORTCR(21, 0xe6050015), 20728c2ecf20Sopenharmony_ci PORTCR(22, 0xe6050016), 20738c2ecf20Sopenharmony_ci PORTCR(23, 0xe6050017), 20748c2ecf20Sopenharmony_ci PORTCR(24, 0xe6050018), 20758c2ecf20Sopenharmony_ci PORTCR(25, 0xe6050019), 20768c2ecf20Sopenharmony_ci PORTCR(26, 0xe605001A), 20778c2ecf20Sopenharmony_ci PORTCR(27, 0xe605001B), 20788c2ecf20Sopenharmony_ci PORTCR(28, 0xe605001C), 20798c2ecf20Sopenharmony_ci PORTCR(29, 0xe605001D), 20808c2ecf20Sopenharmony_ci PORTCR(30, 0xe605001E), 20818c2ecf20Sopenharmony_ci PORTCR(32, 0xe6051020), 20828c2ecf20Sopenharmony_ci PORTCR(33, 0xe6051021), 20838c2ecf20Sopenharmony_ci PORTCR(34, 0xe6051022), 20848c2ecf20Sopenharmony_ci PORTCR(35, 0xe6051023), 20858c2ecf20Sopenharmony_ci PORTCR(36, 0xe6051024), 20868c2ecf20Sopenharmony_ci PORTCR(37, 0xe6051025), 20878c2ecf20Sopenharmony_ci PORTCR(38, 0xe6051026), 20888c2ecf20Sopenharmony_ci PORTCR(39, 0xe6051027), 20898c2ecf20Sopenharmony_ci PORTCR(40, 0xe6051028), 20908c2ecf20Sopenharmony_ci PORTCR(64, 0xe6050040), 20918c2ecf20Sopenharmony_ci PORTCR(65, 0xe6050041), 20928c2ecf20Sopenharmony_ci PORTCR(66, 0xe6050042), 20938c2ecf20Sopenharmony_ci PORTCR(67, 0xe6050043), 20948c2ecf20Sopenharmony_ci PORTCR(68, 0xe6050044), 20958c2ecf20Sopenharmony_ci PORTCR(69, 0xe6050045), 20968c2ecf20Sopenharmony_ci PORTCR(70, 0xe6050046), 20978c2ecf20Sopenharmony_ci PORTCR(71, 0xe6050047), 20988c2ecf20Sopenharmony_ci PORTCR(72, 0xe6050048), 20998c2ecf20Sopenharmony_ci PORTCR(73, 0xe6050049), 21008c2ecf20Sopenharmony_ci PORTCR(74, 0xe605004A), 21018c2ecf20Sopenharmony_ci PORTCR(75, 0xe605004B), 21028c2ecf20Sopenharmony_ci PORTCR(76, 0xe605004C), 21038c2ecf20Sopenharmony_ci PORTCR(77, 0xe605004D), 21048c2ecf20Sopenharmony_ci PORTCR(78, 0xe605004E), 21058c2ecf20Sopenharmony_ci PORTCR(79, 0xe605004F), 21068c2ecf20Sopenharmony_ci PORTCR(80, 0xe6050050), 21078c2ecf20Sopenharmony_ci PORTCR(81, 0xe6050051), 21088c2ecf20Sopenharmony_ci PORTCR(82, 0xe6050052), 21098c2ecf20Sopenharmony_ci PORTCR(83, 0xe6050053), 21108c2ecf20Sopenharmony_ci PORTCR(84, 0xe6050054), 21118c2ecf20Sopenharmony_ci PORTCR(85, 0xe6050055), 21128c2ecf20Sopenharmony_ci PORTCR(96, 0xe6051060), 21138c2ecf20Sopenharmony_ci PORTCR(97, 0xe6051061), 21148c2ecf20Sopenharmony_ci PORTCR(98, 0xe6051062), 21158c2ecf20Sopenharmony_ci PORTCR(99, 0xe6051063), 21168c2ecf20Sopenharmony_ci PORTCR(100, 0xe6051064), 21178c2ecf20Sopenharmony_ci PORTCR(101, 0xe6051065), 21188c2ecf20Sopenharmony_ci PORTCR(102, 0xe6051066), 21198c2ecf20Sopenharmony_ci PORTCR(103, 0xe6051067), 21208c2ecf20Sopenharmony_ci PORTCR(104, 0xe6051068), 21218c2ecf20Sopenharmony_ci PORTCR(105, 0xe6051069), 21228c2ecf20Sopenharmony_ci PORTCR(106, 0xe605106A), 21238c2ecf20Sopenharmony_ci PORTCR(107, 0xe605106B), 21248c2ecf20Sopenharmony_ci PORTCR(108, 0xe605106C), 21258c2ecf20Sopenharmony_ci PORTCR(109, 0xe605106D), 21268c2ecf20Sopenharmony_ci PORTCR(110, 0xe605106E), 21278c2ecf20Sopenharmony_ci PORTCR(111, 0xe605106F), 21288c2ecf20Sopenharmony_ci PORTCR(112, 0xe6051070), 21298c2ecf20Sopenharmony_ci PORTCR(113, 0xe6051071), 21308c2ecf20Sopenharmony_ci PORTCR(114, 0xe6051072), 21318c2ecf20Sopenharmony_ci PORTCR(115, 0xe6051073), 21328c2ecf20Sopenharmony_ci PORTCR(116, 0xe6051074), 21338c2ecf20Sopenharmony_ci PORTCR(117, 0xe6051075), 21348c2ecf20Sopenharmony_ci PORTCR(118, 0xe6051076), 21358c2ecf20Sopenharmony_ci PORTCR(119, 0xe6051077), 21368c2ecf20Sopenharmony_ci PORTCR(120, 0xe6051078), 21378c2ecf20Sopenharmony_ci PORTCR(121, 0xe6051079), 21388c2ecf20Sopenharmony_ci PORTCR(122, 0xe605107A), 21398c2ecf20Sopenharmony_ci PORTCR(123, 0xe605107B), 21408c2ecf20Sopenharmony_ci PORTCR(124, 0xe605107C), 21418c2ecf20Sopenharmony_ci PORTCR(125, 0xe605107D), 21428c2ecf20Sopenharmony_ci PORTCR(126, 0xe605107E), 21438c2ecf20Sopenharmony_ci PORTCR(128, 0xe6051080), 21448c2ecf20Sopenharmony_ci PORTCR(129, 0xe6051081), 21458c2ecf20Sopenharmony_ci PORTCR(130, 0xe6051082), 21468c2ecf20Sopenharmony_ci PORTCR(131, 0xe6051083), 21478c2ecf20Sopenharmony_ci PORTCR(132, 0xe6051084), 21488c2ecf20Sopenharmony_ci PORTCR(133, 0xe6051085), 21498c2ecf20Sopenharmony_ci PORTCR(134, 0xe6051086), 21508c2ecf20Sopenharmony_ci PORTCR(160, 0xe60520A0), 21518c2ecf20Sopenharmony_ci PORTCR(161, 0xe60520A1), 21528c2ecf20Sopenharmony_ci PORTCR(162, 0xe60520A2), 21538c2ecf20Sopenharmony_ci PORTCR(163, 0xe60520A3), 21548c2ecf20Sopenharmony_ci PORTCR(164, 0xe60520A4), 21558c2ecf20Sopenharmony_ci PORTCR(165, 0xe60520A5), 21568c2ecf20Sopenharmony_ci PORTCR(166, 0xe60520A6), 21578c2ecf20Sopenharmony_ci PORTCR(167, 0xe60520A7), 21588c2ecf20Sopenharmony_ci PORTCR(168, 0xe60520A8), 21598c2ecf20Sopenharmony_ci PORTCR(169, 0xe60520A9), 21608c2ecf20Sopenharmony_ci PORTCR(170, 0xe60520AA), 21618c2ecf20Sopenharmony_ci PORTCR(171, 0xe60520AB), 21628c2ecf20Sopenharmony_ci PORTCR(172, 0xe60520AC), 21638c2ecf20Sopenharmony_ci PORTCR(173, 0xe60520AD), 21648c2ecf20Sopenharmony_ci PORTCR(174, 0xe60520AE), 21658c2ecf20Sopenharmony_ci PORTCR(175, 0xe60520AF), 21668c2ecf20Sopenharmony_ci PORTCR(176, 0xe60520B0), 21678c2ecf20Sopenharmony_ci PORTCR(177, 0xe60520B1), 21688c2ecf20Sopenharmony_ci PORTCR(178, 0xe60520B2), 21698c2ecf20Sopenharmony_ci PORTCR(192, 0xe60520C0), 21708c2ecf20Sopenharmony_ci PORTCR(193, 0xe60520C1), 21718c2ecf20Sopenharmony_ci PORTCR(194, 0xe60520C2), 21728c2ecf20Sopenharmony_ci PORTCR(195, 0xe60520C3), 21738c2ecf20Sopenharmony_ci PORTCR(196, 0xe60520C4), 21748c2ecf20Sopenharmony_ci PORTCR(197, 0xe60520C5), 21758c2ecf20Sopenharmony_ci PORTCR(198, 0xe60520C6), 21768c2ecf20Sopenharmony_ci PORTCR(199, 0xe60520C7), 21778c2ecf20Sopenharmony_ci PORTCR(200, 0xe60520C8), 21788c2ecf20Sopenharmony_ci PORTCR(201, 0xe60520C9), 21798c2ecf20Sopenharmony_ci PORTCR(202, 0xe60520CA), 21808c2ecf20Sopenharmony_ci PORTCR(203, 0xe60520CB), 21818c2ecf20Sopenharmony_ci PORTCR(204, 0xe60520CC), 21828c2ecf20Sopenharmony_ci PORTCR(205, 0xe60520CD), 21838c2ecf20Sopenharmony_ci PORTCR(206, 0xe60520CE), 21848c2ecf20Sopenharmony_ci PORTCR(207, 0xe60520CF), 21858c2ecf20Sopenharmony_ci PORTCR(208, 0xe60520D0), 21868c2ecf20Sopenharmony_ci PORTCR(209, 0xe60520D1), 21878c2ecf20Sopenharmony_ci PORTCR(210, 0xe60520D2), 21888c2ecf20Sopenharmony_ci PORTCR(211, 0xe60520D3), 21898c2ecf20Sopenharmony_ci PORTCR(212, 0xe60520D4), 21908c2ecf20Sopenharmony_ci PORTCR(213, 0xe60520D5), 21918c2ecf20Sopenharmony_ci PORTCR(214, 0xe60520D6), 21928c2ecf20Sopenharmony_ci PORTCR(215, 0xe60520D7), 21938c2ecf20Sopenharmony_ci PORTCR(216, 0xe60520D8), 21948c2ecf20Sopenharmony_ci PORTCR(217, 0xe60520D9), 21958c2ecf20Sopenharmony_ci PORTCR(218, 0xe60520DA), 21968c2ecf20Sopenharmony_ci PORTCR(219, 0xe60520DB), 21978c2ecf20Sopenharmony_ci PORTCR(220, 0xe60520DC), 21988c2ecf20Sopenharmony_ci PORTCR(221, 0xe60520DD), 21998c2ecf20Sopenharmony_ci PORTCR(222, 0xe60520DE), 22008c2ecf20Sopenharmony_ci PORTCR(224, 0xe60520E0), 22018c2ecf20Sopenharmony_ci PORTCR(225, 0xe60520E1), 22028c2ecf20Sopenharmony_ci PORTCR(226, 0xe60520E2), 22038c2ecf20Sopenharmony_ci PORTCR(227, 0xe60520E3), 22048c2ecf20Sopenharmony_ci PORTCR(228, 0xe60520E4), 22058c2ecf20Sopenharmony_ci PORTCR(229, 0xe60520E5), 22068c2ecf20Sopenharmony_ci PORTCR(230, 0xe60520e6), 22078c2ecf20Sopenharmony_ci PORTCR(231, 0xe60520E7), 22088c2ecf20Sopenharmony_ci PORTCR(232, 0xe60520E8), 22098c2ecf20Sopenharmony_ci PORTCR(233, 0xe60520E9), 22108c2ecf20Sopenharmony_ci PORTCR(234, 0xe60520EA), 22118c2ecf20Sopenharmony_ci PORTCR(235, 0xe60520EB), 22128c2ecf20Sopenharmony_ci PORTCR(236, 0xe60520EC), 22138c2ecf20Sopenharmony_ci PORTCR(237, 0xe60520ED), 22148c2ecf20Sopenharmony_ci PORTCR(238, 0xe60520EE), 22158c2ecf20Sopenharmony_ci PORTCR(239, 0xe60520EF), 22168c2ecf20Sopenharmony_ci PORTCR(240, 0xe60520F0), 22178c2ecf20Sopenharmony_ci PORTCR(241, 0xe60520F1), 22188c2ecf20Sopenharmony_ci PORTCR(242, 0xe60520F2), 22198c2ecf20Sopenharmony_ci PORTCR(243, 0xe60520F3), 22208c2ecf20Sopenharmony_ci PORTCR(244, 0xe60520F4), 22218c2ecf20Sopenharmony_ci PORTCR(245, 0xe60520F5), 22228c2ecf20Sopenharmony_ci PORTCR(246, 0xe60520F6), 22238c2ecf20Sopenharmony_ci PORTCR(247, 0xe60520F7), 22248c2ecf20Sopenharmony_ci PORTCR(248, 0xe60520F8), 22258c2ecf20Sopenharmony_ci PORTCR(249, 0xe60520F9), 22268c2ecf20Sopenharmony_ci PORTCR(250, 0xe60520FA), 22278c2ecf20Sopenharmony_ci PORTCR(256, 0xe6052100), 22288c2ecf20Sopenharmony_ci PORTCR(257, 0xe6052101), 22298c2ecf20Sopenharmony_ci PORTCR(258, 0xe6052102), 22308c2ecf20Sopenharmony_ci PORTCR(259, 0xe6052103), 22318c2ecf20Sopenharmony_ci PORTCR(260, 0xe6052104), 22328c2ecf20Sopenharmony_ci PORTCR(261, 0xe6052105), 22338c2ecf20Sopenharmony_ci PORTCR(262, 0xe6052106), 22348c2ecf20Sopenharmony_ci PORTCR(263, 0xe6052107), 22358c2ecf20Sopenharmony_ci PORTCR(264, 0xe6052108), 22368c2ecf20Sopenharmony_ci PORTCR(265, 0xe6052109), 22378c2ecf20Sopenharmony_ci PORTCR(266, 0xe605210A), 22388c2ecf20Sopenharmony_ci PORTCR(267, 0xe605210B), 22398c2ecf20Sopenharmony_ci PORTCR(268, 0xe605210C), 22408c2ecf20Sopenharmony_ci PORTCR(269, 0xe605210D), 22418c2ecf20Sopenharmony_ci PORTCR(270, 0xe605210E), 22428c2ecf20Sopenharmony_ci PORTCR(271, 0xe605210F), 22438c2ecf20Sopenharmony_ci PORTCR(272, 0xe6052110), 22448c2ecf20Sopenharmony_ci PORTCR(273, 0xe6052111), 22458c2ecf20Sopenharmony_ci PORTCR(274, 0xe6052112), 22468c2ecf20Sopenharmony_ci PORTCR(275, 0xe6052113), 22478c2ecf20Sopenharmony_ci PORTCR(276, 0xe6052114), 22488c2ecf20Sopenharmony_ci PORTCR(277, 0xe6052115), 22498c2ecf20Sopenharmony_ci PORTCR(278, 0xe6052116), 22508c2ecf20Sopenharmony_ci PORTCR(279, 0xe6052117), 22518c2ecf20Sopenharmony_ci PORTCR(280, 0xe6052118), 22528c2ecf20Sopenharmony_ci PORTCR(281, 0xe6052119), 22538c2ecf20Sopenharmony_ci PORTCR(282, 0xe605211A), 22548c2ecf20Sopenharmony_ci PORTCR(283, 0xe605211B), 22558c2ecf20Sopenharmony_ci PORTCR(288, 0xe6053120), 22568c2ecf20Sopenharmony_ci PORTCR(289, 0xe6053121), 22578c2ecf20Sopenharmony_ci PORTCR(290, 0xe6053122), 22588c2ecf20Sopenharmony_ci PORTCR(291, 0xe6053123), 22598c2ecf20Sopenharmony_ci PORTCR(292, 0xe6053124), 22608c2ecf20Sopenharmony_ci PORTCR(293, 0xe6053125), 22618c2ecf20Sopenharmony_ci PORTCR(294, 0xe6053126), 22628c2ecf20Sopenharmony_ci PORTCR(295, 0xe6053127), 22638c2ecf20Sopenharmony_ci PORTCR(296, 0xe6053128), 22648c2ecf20Sopenharmony_ci PORTCR(297, 0xe6053129), 22658c2ecf20Sopenharmony_ci PORTCR(298, 0xe605312A), 22668c2ecf20Sopenharmony_ci PORTCR(299, 0xe605312B), 22678c2ecf20Sopenharmony_ci PORTCR(300, 0xe605312C), 22688c2ecf20Sopenharmony_ci PORTCR(301, 0xe605312D), 22698c2ecf20Sopenharmony_ci PORTCR(302, 0xe605312E), 22708c2ecf20Sopenharmony_ci PORTCR(303, 0xe605312F), 22718c2ecf20Sopenharmony_ci PORTCR(304, 0xe6053130), 22728c2ecf20Sopenharmony_ci PORTCR(305, 0xe6053131), 22738c2ecf20Sopenharmony_ci PORTCR(306, 0xe6053132), 22748c2ecf20Sopenharmony_ci PORTCR(307, 0xe6053133), 22758c2ecf20Sopenharmony_ci PORTCR(308, 0xe6053134), 22768c2ecf20Sopenharmony_ci PORTCR(320, 0xe6053140), 22778c2ecf20Sopenharmony_ci PORTCR(321, 0xe6053141), 22788c2ecf20Sopenharmony_ci PORTCR(322, 0xe6053142), 22798c2ecf20Sopenharmony_ci PORTCR(323, 0xe6053143), 22808c2ecf20Sopenharmony_ci PORTCR(324, 0xe6053144), 22818c2ecf20Sopenharmony_ci PORTCR(325, 0xe6053145), 22828c2ecf20Sopenharmony_ci PORTCR(326, 0xe6053146), 22838c2ecf20Sopenharmony_ci PORTCR(327, 0xe6053147), 22848c2ecf20Sopenharmony_ci PORTCR(328, 0xe6053148), 22858c2ecf20Sopenharmony_ci PORTCR(329, 0xe6053149), 22868c2ecf20Sopenharmony_ci 22878c2ecf20Sopenharmony_ci { PINMUX_CFG_REG("MSEL1CR", 0xe605800c, 32, 1, GROUP( 22888c2ecf20Sopenharmony_ci MSEL1CR_31_0, MSEL1CR_31_1, 22898c2ecf20Sopenharmony_ci 0, 0, 22908c2ecf20Sopenharmony_ci 0, 0, 22918c2ecf20Sopenharmony_ci 0, 0, 22928c2ecf20Sopenharmony_ci MSEL1CR_27_0, MSEL1CR_27_1, 22938c2ecf20Sopenharmony_ci 0, 0, 22948c2ecf20Sopenharmony_ci MSEL1CR_25_0, MSEL1CR_25_1, 22958c2ecf20Sopenharmony_ci MSEL1CR_24_0, MSEL1CR_24_1, 22968c2ecf20Sopenharmony_ci 0, 0, 22978c2ecf20Sopenharmony_ci MSEL1CR_22_0, MSEL1CR_22_1, 22988c2ecf20Sopenharmony_ci MSEL1CR_21_0, MSEL1CR_21_1, 22998c2ecf20Sopenharmony_ci MSEL1CR_20_0, MSEL1CR_20_1, 23008c2ecf20Sopenharmony_ci MSEL1CR_19_0, MSEL1CR_19_1, 23018c2ecf20Sopenharmony_ci MSEL1CR_18_0, MSEL1CR_18_1, 23028c2ecf20Sopenharmony_ci MSEL1CR_17_0, MSEL1CR_17_1, 23038c2ecf20Sopenharmony_ci MSEL1CR_16_0, MSEL1CR_16_1, 23048c2ecf20Sopenharmony_ci MSEL1CR_15_0, MSEL1CR_15_1, 23058c2ecf20Sopenharmony_ci MSEL1CR_14_0, MSEL1CR_14_1, 23068c2ecf20Sopenharmony_ci MSEL1CR_13_0, MSEL1CR_13_1, 23078c2ecf20Sopenharmony_ci MSEL1CR_12_0, MSEL1CR_12_1, 23088c2ecf20Sopenharmony_ci MSEL1CR_11_0, MSEL1CR_11_1, 23098c2ecf20Sopenharmony_ci MSEL1CR_10_0, MSEL1CR_10_1, 23108c2ecf20Sopenharmony_ci MSEL1CR_09_0, MSEL1CR_09_1, 23118c2ecf20Sopenharmony_ci MSEL1CR_08_0, MSEL1CR_08_1, 23128c2ecf20Sopenharmony_ci MSEL1CR_07_0, MSEL1CR_07_1, 23138c2ecf20Sopenharmony_ci MSEL1CR_06_0, MSEL1CR_06_1, 23148c2ecf20Sopenharmony_ci MSEL1CR_05_0, MSEL1CR_05_1, 23158c2ecf20Sopenharmony_ci MSEL1CR_04_0, MSEL1CR_04_1, 23168c2ecf20Sopenharmony_ci MSEL1CR_03_0, MSEL1CR_03_1, 23178c2ecf20Sopenharmony_ci MSEL1CR_02_0, MSEL1CR_02_1, 23188c2ecf20Sopenharmony_ci MSEL1CR_01_0, MSEL1CR_01_1, 23198c2ecf20Sopenharmony_ci MSEL1CR_00_0, MSEL1CR_00_1, 23208c2ecf20Sopenharmony_ci )) 23218c2ecf20Sopenharmony_ci }, 23228c2ecf20Sopenharmony_ci { PINMUX_CFG_REG("MSEL3CR", 0xe6058020, 32, 1, GROUP( 23238c2ecf20Sopenharmony_ci MSEL3CR_31_0, MSEL3CR_31_1, 23248c2ecf20Sopenharmony_ci 0, 0, 23258c2ecf20Sopenharmony_ci 0, 0, 23268c2ecf20Sopenharmony_ci MSEL3CR_28_0, MSEL3CR_28_1, 23278c2ecf20Sopenharmony_ci MSEL3CR_27_0, MSEL3CR_27_1, 23288c2ecf20Sopenharmony_ci MSEL3CR_26_0, MSEL3CR_26_1, 23298c2ecf20Sopenharmony_ci 0, 0, 23308c2ecf20Sopenharmony_ci 0, 0, 23318c2ecf20Sopenharmony_ci MSEL3CR_23_0, MSEL3CR_23_1, 23328c2ecf20Sopenharmony_ci MSEL3CR_22_0, MSEL3CR_22_1, 23338c2ecf20Sopenharmony_ci MSEL3CR_21_0, MSEL3CR_21_1, 23348c2ecf20Sopenharmony_ci MSEL3CR_20_0, MSEL3CR_20_1, 23358c2ecf20Sopenharmony_ci MSEL3CR_19_0, MSEL3CR_19_1, 23368c2ecf20Sopenharmony_ci MSEL3CR_18_0, MSEL3CR_18_1, 23378c2ecf20Sopenharmony_ci MSEL3CR_17_0, MSEL3CR_17_1, 23388c2ecf20Sopenharmony_ci MSEL3CR_16_0, MSEL3CR_16_1, 23398c2ecf20Sopenharmony_ci MSEL3CR_15_0, MSEL3CR_15_1, 23408c2ecf20Sopenharmony_ci 0, 0, 23418c2ecf20Sopenharmony_ci 0, 0, 23428c2ecf20Sopenharmony_ci MSEL3CR_12_0, MSEL3CR_12_1, 23438c2ecf20Sopenharmony_ci MSEL3CR_11_0, MSEL3CR_11_1, 23448c2ecf20Sopenharmony_ci MSEL3CR_10_0, MSEL3CR_10_1, 23458c2ecf20Sopenharmony_ci MSEL3CR_09_0, MSEL3CR_09_1, 23468c2ecf20Sopenharmony_ci 0, 0, 23478c2ecf20Sopenharmony_ci 0, 0, 23488c2ecf20Sopenharmony_ci MSEL3CR_06_0, MSEL3CR_06_1, 23498c2ecf20Sopenharmony_ci 0, 0, 23508c2ecf20Sopenharmony_ci 0, 0, 23518c2ecf20Sopenharmony_ci MSEL3CR_03_0, MSEL3CR_03_1, 23528c2ecf20Sopenharmony_ci 0, 0, 23538c2ecf20Sopenharmony_ci MSEL3CR_01_0, MSEL3CR_01_1, 23548c2ecf20Sopenharmony_ci MSEL3CR_00_0, MSEL3CR_00_1, 23558c2ecf20Sopenharmony_ci )) 23568c2ecf20Sopenharmony_ci }, 23578c2ecf20Sopenharmony_ci { PINMUX_CFG_REG("MSEL4CR", 0xe6058024, 32, 1, GROUP( 23588c2ecf20Sopenharmony_ci 0, 0, 23598c2ecf20Sopenharmony_ci MSEL4CR_30_0, MSEL4CR_30_1, 23608c2ecf20Sopenharmony_ci MSEL4CR_29_0, MSEL4CR_29_1, 23618c2ecf20Sopenharmony_ci MSEL4CR_28_0, MSEL4CR_28_1, 23628c2ecf20Sopenharmony_ci MSEL4CR_27_0, MSEL4CR_27_1, 23638c2ecf20Sopenharmony_ci MSEL4CR_26_0, MSEL4CR_26_1, 23648c2ecf20Sopenharmony_ci MSEL4CR_25_0, MSEL4CR_25_1, 23658c2ecf20Sopenharmony_ci MSEL4CR_24_0, MSEL4CR_24_1, 23668c2ecf20Sopenharmony_ci MSEL4CR_23_0, MSEL4CR_23_1, 23678c2ecf20Sopenharmony_ci MSEL4CR_22_0, MSEL4CR_22_1, 23688c2ecf20Sopenharmony_ci MSEL4CR_21_0, MSEL4CR_21_1, 23698c2ecf20Sopenharmony_ci MSEL4CR_20_0, MSEL4CR_20_1, 23708c2ecf20Sopenharmony_ci MSEL4CR_19_0, MSEL4CR_19_1, 23718c2ecf20Sopenharmony_ci MSEL4CR_18_0, MSEL4CR_18_1, 23728c2ecf20Sopenharmony_ci MSEL4CR_17_0, MSEL4CR_17_1, 23738c2ecf20Sopenharmony_ci MSEL4CR_16_0, MSEL4CR_16_1, 23748c2ecf20Sopenharmony_ci MSEL4CR_15_0, MSEL4CR_15_1, 23758c2ecf20Sopenharmony_ci MSEL4CR_14_0, MSEL4CR_14_1, 23768c2ecf20Sopenharmony_ci MSEL4CR_13_0, MSEL4CR_13_1, 23778c2ecf20Sopenharmony_ci MSEL4CR_12_0, MSEL4CR_12_1, 23788c2ecf20Sopenharmony_ci MSEL4CR_11_0, MSEL4CR_11_1, 23798c2ecf20Sopenharmony_ci MSEL4CR_10_0, MSEL4CR_10_1, 23808c2ecf20Sopenharmony_ci MSEL4CR_09_0, MSEL4CR_09_1, 23818c2ecf20Sopenharmony_ci 0, 0, 23828c2ecf20Sopenharmony_ci MSEL4CR_07_0, MSEL4CR_07_1, 23838c2ecf20Sopenharmony_ci 0, 0, 23848c2ecf20Sopenharmony_ci 0, 0, 23858c2ecf20Sopenharmony_ci MSEL4CR_04_0, MSEL4CR_04_1, 23868c2ecf20Sopenharmony_ci 0, 0, 23878c2ecf20Sopenharmony_ci 0, 0, 23888c2ecf20Sopenharmony_ci MSEL4CR_01_0, MSEL4CR_01_1, 23898c2ecf20Sopenharmony_ci 0, 0, 23908c2ecf20Sopenharmony_ci )) 23918c2ecf20Sopenharmony_ci }, 23928c2ecf20Sopenharmony_ci { PINMUX_CFG_REG("MSEL5CR", 0xe6058028, 32, 1, GROUP( 23938c2ecf20Sopenharmony_ci MSEL5CR_31_0, MSEL5CR_31_1, 23948c2ecf20Sopenharmony_ci MSEL5CR_30_0, MSEL5CR_30_1, 23958c2ecf20Sopenharmony_ci MSEL5CR_29_0, MSEL5CR_29_1, 23968c2ecf20Sopenharmony_ci MSEL5CR_28_0, MSEL5CR_28_1, 23978c2ecf20Sopenharmony_ci MSEL5CR_27_0, MSEL5CR_27_1, 23988c2ecf20Sopenharmony_ci MSEL5CR_26_0, MSEL5CR_26_1, 23998c2ecf20Sopenharmony_ci MSEL5CR_25_0, MSEL5CR_25_1, 24008c2ecf20Sopenharmony_ci MSEL5CR_24_0, MSEL5CR_24_1, 24018c2ecf20Sopenharmony_ci MSEL5CR_23_0, MSEL5CR_23_1, 24028c2ecf20Sopenharmony_ci MSEL5CR_22_0, MSEL5CR_22_1, 24038c2ecf20Sopenharmony_ci MSEL5CR_21_0, MSEL5CR_21_1, 24048c2ecf20Sopenharmony_ci MSEL5CR_20_0, MSEL5CR_20_1, 24058c2ecf20Sopenharmony_ci MSEL5CR_19_0, MSEL5CR_19_1, 24068c2ecf20Sopenharmony_ci MSEL5CR_18_0, MSEL5CR_18_1, 24078c2ecf20Sopenharmony_ci MSEL5CR_17_0, MSEL5CR_17_1, 24088c2ecf20Sopenharmony_ci MSEL5CR_16_0, MSEL5CR_16_1, 24098c2ecf20Sopenharmony_ci MSEL5CR_15_0, MSEL5CR_15_1, 24108c2ecf20Sopenharmony_ci MSEL5CR_14_0, MSEL5CR_14_1, 24118c2ecf20Sopenharmony_ci MSEL5CR_13_0, MSEL5CR_13_1, 24128c2ecf20Sopenharmony_ci MSEL5CR_12_0, MSEL5CR_12_1, 24138c2ecf20Sopenharmony_ci MSEL5CR_11_0, MSEL5CR_11_1, 24148c2ecf20Sopenharmony_ci MSEL5CR_10_0, MSEL5CR_10_1, 24158c2ecf20Sopenharmony_ci MSEL5CR_09_0, MSEL5CR_09_1, 24168c2ecf20Sopenharmony_ci MSEL5CR_08_0, MSEL5CR_08_1, 24178c2ecf20Sopenharmony_ci MSEL5CR_07_0, MSEL5CR_07_1, 24188c2ecf20Sopenharmony_ci MSEL5CR_06_0, MSEL5CR_06_1, 24198c2ecf20Sopenharmony_ci 0, 0, 24208c2ecf20Sopenharmony_ci 0, 0, 24218c2ecf20Sopenharmony_ci 0, 0, 24228c2ecf20Sopenharmony_ci 0, 0, 24238c2ecf20Sopenharmony_ci 0, 0, 24248c2ecf20Sopenharmony_ci 0, 0, 24258c2ecf20Sopenharmony_ci )) 24268c2ecf20Sopenharmony_ci }, 24278c2ecf20Sopenharmony_ci { PINMUX_CFG_REG("MSEL8CR", 0xe6058034, 32, 1, GROUP( 24288c2ecf20Sopenharmony_ci 0, 0, 24298c2ecf20Sopenharmony_ci 0, 0, 24308c2ecf20Sopenharmony_ci 0, 0, 24318c2ecf20Sopenharmony_ci 0, 0, 24328c2ecf20Sopenharmony_ci 0, 0, 24338c2ecf20Sopenharmony_ci 0, 0, 24348c2ecf20Sopenharmony_ci 0, 0, 24358c2ecf20Sopenharmony_ci 0, 0, 24368c2ecf20Sopenharmony_ci 0, 0, 24378c2ecf20Sopenharmony_ci 0, 0, 24388c2ecf20Sopenharmony_ci 0, 0, 24398c2ecf20Sopenharmony_ci 0, 0, 24408c2ecf20Sopenharmony_ci 0, 0, 24418c2ecf20Sopenharmony_ci 0, 0, 24428c2ecf20Sopenharmony_ci 0, 0, 24438c2ecf20Sopenharmony_ci MSEL8CR_16_0, MSEL8CR_16_1, 24448c2ecf20Sopenharmony_ci 0, 0, 24458c2ecf20Sopenharmony_ci 0, 0, 24468c2ecf20Sopenharmony_ci 0, 0, 24478c2ecf20Sopenharmony_ci 0, 0, 24488c2ecf20Sopenharmony_ci 0, 0, 24498c2ecf20Sopenharmony_ci 0, 0, 24508c2ecf20Sopenharmony_ci 0, 0, 24518c2ecf20Sopenharmony_ci 0, 0, 24528c2ecf20Sopenharmony_ci 0, 0, 24538c2ecf20Sopenharmony_ci 0, 0, 24548c2ecf20Sopenharmony_ci 0, 0, 24558c2ecf20Sopenharmony_ci 0, 0, 24568c2ecf20Sopenharmony_ci 0, 0, 24578c2ecf20Sopenharmony_ci 0, 0, 24588c2ecf20Sopenharmony_ci MSEL8CR_01_0, MSEL8CR_01_1, 24598c2ecf20Sopenharmony_ci MSEL8CR_00_0, MSEL8CR_00_1, 24608c2ecf20Sopenharmony_ci )) 24618c2ecf20Sopenharmony_ci }, 24628c2ecf20Sopenharmony_ci { }, 24638c2ecf20Sopenharmony_ci}; 24648c2ecf20Sopenharmony_ci 24658c2ecf20Sopenharmony_cistatic const struct pinmux_data_reg pinmux_data_regs[] = { 24668c2ecf20Sopenharmony_ci 24678c2ecf20Sopenharmony_ci { PINMUX_DATA_REG("PORTL031_000DR", 0xe6054000, 32, GROUP( 24688c2ecf20Sopenharmony_ci 0, PORT30_DATA, PORT29_DATA, PORT28_DATA, 24698c2ecf20Sopenharmony_ci PORT27_DATA, PORT26_DATA, PORT25_DATA, PORT24_DATA, 24708c2ecf20Sopenharmony_ci PORT23_DATA, PORT22_DATA, PORT21_DATA, PORT20_DATA, 24718c2ecf20Sopenharmony_ci PORT19_DATA, PORT18_DATA, PORT17_DATA, PORT16_DATA, 24728c2ecf20Sopenharmony_ci PORT15_DATA, PORT14_DATA, PORT13_DATA, PORT12_DATA, 24738c2ecf20Sopenharmony_ci PORT11_DATA, PORT10_DATA, PORT9_DATA, PORT8_DATA, 24748c2ecf20Sopenharmony_ci PORT7_DATA, PORT6_DATA, PORT5_DATA, PORT4_DATA, 24758c2ecf20Sopenharmony_ci PORT3_DATA, PORT2_DATA, PORT1_DATA, PORT0_DATA, 24768c2ecf20Sopenharmony_ci )) 24778c2ecf20Sopenharmony_ci }, 24788c2ecf20Sopenharmony_ci { PINMUX_DATA_REG("PORTD063_032DR", 0xe6055000, 32, GROUP( 24798c2ecf20Sopenharmony_ci 0, 0, 0, 0, 24808c2ecf20Sopenharmony_ci 0, 0, 0, 0, 24818c2ecf20Sopenharmony_ci 0, 0, 0, 0, 24828c2ecf20Sopenharmony_ci 0, 0, 0, 0, 24838c2ecf20Sopenharmony_ci 0, 0, 0, 0, 24848c2ecf20Sopenharmony_ci 0, 0, 0, PORT40_DATA, 24858c2ecf20Sopenharmony_ci PORT39_DATA, PORT38_DATA, PORT37_DATA, PORT36_DATA, 24868c2ecf20Sopenharmony_ci PORT35_DATA, PORT34_DATA, PORT33_DATA, PORT32_DATA, 24878c2ecf20Sopenharmony_ci )) 24888c2ecf20Sopenharmony_ci }, 24898c2ecf20Sopenharmony_ci { PINMUX_DATA_REG("PORTL095_064DR", 0xe6054004, 32, GROUP( 24908c2ecf20Sopenharmony_ci 0, 0, 0, 0, 24918c2ecf20Sopenharmony_ci 0, 0, 0, 0, 24928c2ecf20Sopenharmony_ci 0, 0, PORT85_DATA, PORT84_DATA, 24938c2ecf20Sopenharmony_ci PORT83_DATA, PORT82_DATA, PORT81_DATA, PORT80_DATA, 24948c2ecf20Sopenharmony_ci PORT79_DATA, PORT78_DATA, PORT77_DATA, PORT76_DATA, 24958c2ecf20Sopenharmony_ci PORT75_DATA, PORT74_DATA, PORT73_DATA, PORT72_DATA, 24968c2ecf20Sopenharmony_ci PORT71_DATA, PORT70_DATA, PORT69_DATA, PORT68_DATA, 24978c2ecf20Sopenharmony_ci PORT67_DATA, PORT66_DATA, PORT65_DATA, PORT64_DATA, 24988c2ecf20Sopenharmony_ci )) 24998c2ecf20Sopenharmony_ci }, 25008c2ecf20Sopenharmony_ci { PINMUX_DATA_REG("PORTD127_096DR", 0xe6055004, 32, GROUP( 25018c2ecf20Sopenharmony_ci 0, PORT126_DATA, PORT125_DATA, PORT124_DATA, 25028c2ecf20Sopenharmony_ci PORT123_DATA, PORT122_DATA, PORT121_DATA, PORT120_DATA, 25038c2ecf20Sopenharmony_ci PORT119_DATA, PORT118_DATA, PORT117_DATA, PORT116_DATA, 25048c2ecf20Sopenharmony_ci PORT115_DATA, PORT114_DATA, PORT113_DATA, PORT112_DATA, 25058c2ecf20Sopenharmony_ci PORT111_DATA, PORT110_DATA, PORT109_DATA, PORT108_DATA, 25068c2ecf20Sopenharmony_ci PORT107_DATA, PORT106_DATA, PORT105_DATA, PORT104_DATA, 25078c2ecf20Sopenharmony_ci PORT103_DATA, PORT102_DATA, PORT101_DATA, PORT100_DATA, 25088c2ecf20Sopenharmony_ci PORT99_DATA, PORT98_DATA, PORT97_DATA, PORT96_DATA, 25098c2ecf20Sopenharmony_ci )) 25108c2ecf20Sopenharmony_ci }, 25118c2ecf20Sopenharmony_ci { PINMUX_DATA_REG("PORTD159_128DR", 0xe6055008, 32, GROUP( 25128c2ecf20Sopenharmony_ci 0, 0, 0, 0, 25138c2ecf20Sopenharmony_ci 0, 0, 0, 0, 25148c2ecf20Sopenharmony_ci 0, 0, 0, 0, 25158c2ecf20Sopenharmony_ci 0, 0, 0, 0, 25168c2ecf20Sopenharmony_ci 0, 0, 0, 0, 25178c2ecf20Sopenharmony_ci 0, 0, 0, 0, 25188c2ecf20Sopenharmony_ci 0, PORT134_DATA, PORT133_DATA, PORT132_DATA, 25198c2ecf20Sopenharmony_ci PORT131_DATA, PORT130_DATA, PORT129_DATA, PORT128_DATA, 25208c2ecf20Sopenharmony_ci )) 25218c2ecf20Sopenharmony_ci }, 25228c2ecf20Sopenharmony_ci { PINMUX_DATA_REG("PORTR191_160DR", 0xe6056000, 32, GROUP( 25238c2ecf20Sopenharmony_ci 0, 0, 0, 0, 25248c2ecf20Sopenharmony_ci 0, 0, 0, 0, 25258c2ecf20Sopenharmony_ci 0, 0, 0, 0, 25268c2ecf20Sopenharmony_ci 0, PORT178_DATA, PORT177_DATA, PORT176_DATA, 25278c2ecf20Sopenharmony_ci PORT175_DATA, PORT174_DATA, PORT173_DATA, PORT172_DATA, 25288c2ecf20Sopenharmony_ci PORT171_DATA, PORT170_DATA, PORT169_DATA, PORT168_DATA, 25298c2ecf20Sopenharmony_ci PORT167_DATA, PORT166_DATA, PORT165_DATA, PORT164_DATA, 25308c2ecf20Sopenharmony_ci PORT163_DATA, PORT162_DATA, PORT161_DATA, PORT160_DATA, 25318c2ecf20Sopenharmony_ci )) 25328c2ecf20Sopenharmony_ci }, 25338c2ecf20Sopenharmony_ci { PINMUX_DATA_REG("PORTR223_192DR", 0xe6056004, 32, GROUP( 25348c2ecf20Sopenharmony_ci 0, PORT222_DATA, PORT221_DATA, PORT220_DATA, 25358c2ecf20Sopenharmony_ci PORT219_DATA, PORT218_DATA, PORT217_DATA, PORT216_DATA, 25368c2ecf20Sopenharmony_ci PORT215_DATA, PORT214_DATA, PORT213_DATA, PORT212_DATA, 25378c2ecf20Sopenharmony_ci PORT211_DATA, PORT210_DATA, PORT209_DATA, PORT208_DATA, 25388c2ecf20Sopenharmony_ci PORT207_DATA, PORT206_DATA, PORT205_DATA, PORT204_DATA, 25398c2ecf20Sopenharmony_ci PORT203_DATA, PORT202_DATA, PORT201_DATA, PORT200_DATA, 25408c2ecf20Sopenharmony_ci PORT199_DATA, PORT198_DATA, PORT197_DATA, PORT196_DATA, 25418c2ecf20Sopenharmony_ci PORT195_DATA, PORT194_DATA, PORT193_DATA, PORT192_DATA, 25428c2ecf20Sopenharmony_ci )) 25438c2ecf20Sopenharmony_ci }, 25448c2ecf20Sopenharmony_ci { PINMUX_DATA_REG("PORTR255_224DR", 0xe6056008, 32, GROUP( 25458c2ecf20Sopenharmony_ci 0, 0, 0, 0, 25468c2ecf20Sopenharmony_ci 0, PORT250_DATA, PORT249_DATA, PORT248_DATA, 25478c2ecf20Sopenharmony_ci PORT247_DATA, PORT246_DATA, PORT245_DATA, PORT244_DATA, 25488c2ecf20Sopenharmony_ci PORT243_DATA, PORT242_DATA, PORT241_DATA, PORT240_DATA, 25498c2ecf20Sopenharmony_ci PORT239_DATA, PORT238_DATA, PORT237_DATA, PORT236_DATA, 25508c2ecf20Sopenharmony_ci PORT235_DATA, PORT234_DATA, PORT233_DATA, PORT232_DATA, 25518c2ecf20Sopenharmony_ci PORT231_DATA, PORT230_DATA, PORT229_DATA, PORT228_DATA, 25528c2ecf20Sopenharmony_ci PORT227_DATA, PORT226_DATA, PORT225_DATA, PORT224_DATA, 25538c2ecf20Sopenharmony_ci )) 25548c2ecf20Sopenharmony_ci }, 25558c2ecf20Sopenharmony_ci { PINMUX_DATA_REG("PORTR287_256DR", 0xe605600C, 32, GROUP( 25568c2ecf20Sopenharmony_ci 0, 0, 0, 0, 25578c2ecf20Sopenharmony_ci PORT283_DATA, PORT282_DATA, PORT281_DATA, PORT280_DATA, 25588c2ecf20Sopenharmony_ci PORT279_DATA, PORT278_DATA, PORT277_DATA, PORT276_DATA, 25598c2ecf20Sopenharmony_ci PORT275_DATA, PORT274_DATA, PORT273_DATA, PORT272_DATA, 25608c2ecf20Sopenharmony_ci PORT271_DATA, PORT270_DATA, PORT269_DATA, PORT268_DATA, 25618c2ecf20Sopenharmony_ci PORT267_DATA, PORT266_DATA, PORT265_DATA, PORT264_DATA, 25628c2ecf20Sopenharmony_ci PORT263_DATA, PORT262_DATA, PORT261_DATA, PORT260_DATA, 25638c2ecf20Sopenharmony_ci PORT259_DATA, PORT258_DATA, PORT257_DATA, PORT256_DATA, 25648c2ecf20Sopenharmony_ci )) 25658c2ecf20Sopenharmony_ci }, 25668c2ecf20Sopenharmony_ci { PINMUX_DATA_REG("PORTU319_288DR", 0xe6057000, 32, GROUP( 25678c2ecf20Sopenharmony_ci 0, 0, 0, 0, 25688c2ecf20Sopenharmony_ci 0, 0, 0, 0, 25698c2ecf20Sopenharmony_ci 0, 0, 0, PORT308_DATA, 25708c2ecf20Sopenharmony_ci PORT307_DATA, PORT306_DATA, PORT305_DATA, PORT304_DATA, 25718c2ecf20Sopenharmony_ci PORT303_DATA, PORT302_DATA, PORT301_DATA, PORT300_DATA, 25728c2ecf20Sopenharmony_ci PORT299_DATA, PORT298_DATA, PORT297_DATA, PORT296_DATA, 25738c2ecf20Sopenharmony_ci PORT295_DATA, PORT294_DATA, PORT293_DATA, PORT292_DATA, 25748c2ecf20Sopenharmony_ci PORT291_DATA, PORT290_DATA, PORT289_DATA, PORT288_DATA, 25758c2ecf20Sopenharmony_ci )) 25768c2ecf20Sopenharmony_ci }, 25778c2ecf20Sopenharmony_ci { PINMUX_DATA_REG("PORTU351_320DR", 0xe6057004, 32, GROUP( 25788c2ecf20Sopenharmony_ci 0, 0, 0, 0, 25798c2ecf20Sopenharmony_ci 0, 0, 0, 0, 25808c2ecf20Sopenharmony_ci 0, 0, 0, 0, 25818c2ecf20Sopenharmony_ci 0, 0, 0, 0, 25828c2ecf20Sopenharmony_ci 0, 0, 0, 0, 25838c2ecf20Sopenharmony_ci 0, 0, PORT329_DATA, PORT328_DATA, 25848c2ecf20Sopenharmony_ci PORT327_DATA, PORT326_DATA, PORT325_DATA, PORT324_DATA, 25858c2ecf20Sopenharmony_ci PORT323_DATA, PORT322_DATA, PORT321_DATA, PORT320_DATA, 25868c2ecf20Sopenharmony_ci )) 25878c2ecf20Sopenharmony_ci }, 25888c2ecf20Sopenharmony_ci { }, 25898c2ecf20Sopenharmony_ci}; 25908c2ecf20Sopenharmony_ci 25918c2ecf20Sopenharmony_cistatic const struct pinmux_irq pinmux_irqs[] = { 25928c2ecf20Sopenharmony_ci PINMUX_IRQ(0), /* IRQ0 */ 25938c2ecf20Sopenharmony_ci PINMUX_IRQ(1), /* IRQ1 */ 25948c2ecf20Sopenharmony_ci PINMUX_IRQ(2), /* IRQ2 */ 25958c2ecf20Sopenharmony_ci PINMUX_IRQ(3), /* IRQ3 */ 25968c2ecf20Sopenharmony_ci PINMUX_IRQ(4), /* IRQ4 */ 25978c2ecf20Sopenharmony_ci PINMUX_IRQ(5), /* IRQ5 */ 25988c2ecf20Sopenharmony_ci PINMUX_IRQ(6), /* IRQ6 */ 25998c2ecf20Sopenharmony_ci PINMUX_IRQ(7), /* IRQ7 */ 26008c2ecf20Sopenharmony_ci PINMUX_IRQ(8), /* IRQ8 */ 26018c2ecf20Sopenharmony_ci PINMUX_IRQ(9), /* IRQ9 */ 26028c2ecf20Sopenharmony_ci PINMUX_IRQ(10), /* IRQ10 */ 26038c2ecf20Sopenharmony_ci PINMUX_IRQ(11), /* IRQ11 */ 26048c2ecf20Sopenharmony_ci PINMUX_IRQ(12), /* IRQ12 */ 26058c2ecf20Sopenharmony_ci PINMUX_IRQ(13), /* IRQ13 */ 26068c2ecf20Sopenharmony_ci PINMUX_IRQ(14), /* IRQ14 */ 26078c2ecf20Sopenharmony_ci PINMUX_IRQ(15), /* IRQ15 */ 26088c2ecf20Sopenharmony_ci PINMUX_IRQ(320), /* IRQ16 */ 26098c2ecf20Sopenharmony_ci PINMUX_IRQ(321), /* IRQ17 */ 26108c2ecf20Sopenharmony_ci PINMUX_IRQ(85), /* IRQ18 */ 26118c2ecf20Sopenharmony_ci PINMUX_IRQ(84), /* IRQ19 */ 26128c2ecf20Sopenharmony_ci PINMUX_IRQ(160), /* IRQ20 */ 26138c2ecf20Sopenharmony_ci PINMUX_IRQ(161), /* IRQ21 */ 26148c2ecf20Sopenharmony_ci PINMUX_IRQ(162), /* IRQ22 */ 26158c2ecf20Sopenharmony_ci PINMUX_IRQ(163), /* IRQ23 */ 26168c2ecf20Sopenharmony_ci PINMUX_IRQ(175), /* IRQ24 */ 26178c2ecf20Sopenharmony_ci PINMUX_IRQ(176), /* IRQ25 */ 26188c2ecf20Sopenharmony_ci PINMUX_IRQ(177), /* IRQ26 */ 26198c2ecf20Sopenharmony_ci PINMUX_IRQ(178), /* IRQ27 */ 26208c2ecf20Sopenharmony_ci PINMUX_IRQ(322), /* IRQ28 */ 26218c2ecf20Sopenharmony_ci PINMUX_IRQ(323), /* IRQ29 */ 26228c2ecf20Sopenharmony_ci PINMUX_IRQ(324), /* IRQ30 */ 26238c2ecf20Sopenharmony_ci PINMUX_IRQ(192), /* IRQ31 */ 26248c2ecf20Sopenharmony_ci PINMUX_IRQ(193), /* IRQ32 */ 26258c2ecf20Sopenharmony_ci PINMUX_IRQ(194), /* IRQ33 */ 26268c2ecf20Sopenharmony_ci PINMUX_IRQ(195), /* IRQ34 */ 26278c2ecf20Sopenharmony_ci PINMUX_IRQ(196), /* IRQ35 */ 26288c2ecf20Sopenharmony_ci PINMUX_IRQ(197), /* IRQ36 */ 26298c2ecf20Sopenharmony_ci PINMUX_IRQ(198), /* IRQ37 */ 26308c2ecf20Sopenharmony_ci PINMUX_IRQ(199), /* IRQ38 */ 26318c2ecf20Sopenharmony_ci PINMUX_IRQ(200), /* IRQ39 */ 26328c2ecf20Sopenharmony_ci PINMUX_IRQ(66), /* IRQ40 */ 26338c2ecf20Sopenharmony_ci PINMUX_IRQ(102), /* IRQ41 */ 26348c2ecf20Sopenharmony_ci PINMUX_IRQ(103), /* IRQ42 */ 26358c2ecf20Sopenharmony_ci PINMUX_IRQ(109), /* IRQ43 */ 26368c2ecf20Sopenharmony_ci PINMUX_IRQ(110), /* IRQ44 */ 26378c2ecf20Sopenharmony_ci PINMUX_IRQ(111), /* IRQ45 */ 26388c2ecf20Sopenharmony_ci PINMUX_IRQ(112), /* IRQ46 */ 26398c2ecf20Sopenharmony_ci PINMUX_IRQ(113), /* IRQ47 */ 26408c2ecf20Sopenharmony_ci PINMUX_IRQ(114), /* IRQ48 */ 26418c2ecf20Sopenharmony_ci PINMUX_IRQ(115), /* IRQ49 */ 26428c2ecf20Sopenharmony_ci PINMUX_IRQ(301), /* IRQ50 */ 26438c2ecf20Sopenharmony_ci PINMUX_IRQ(290), /* IRQ51 */ 26448c2ecf20Sopenharmony_ci PINMUX_IRQ(296), /* IRQ52 */ 26458c2ecf20Sopenharmony_ci PINMUX_IRQ(325), /* IRQ53 */ 26468c2ecf20Sopenharmony_ci PINMUX_IRQ(326), /* IRQ54 */ 26478c2ecf20Sopenharmony_ci PINMUX_IRQ(327), /* IRQ55 */ 26488c2ecf20Sopenharmony_ci PINMUX_IRQ(328), /* IRQ56 */ 26498c2ecf20Sopenharmony_ci PINMUX_IRQ(329), /* IRQ57 */ 26508c2ecf20Sopenharmony_ci}; 26518c2ecf20Sopenharmony_ci 26528c2ecf20Sopenharmony_ci#define PORTCR_PULMD_OFF (0 << 6) 26538c2ecf20Sopenharmony_ci#define PORTCR_PULMD_DOWN (2 << 6) 26548c2ecf20Sopenharmony_ci#define PORTCR_PULMD_UP (3 << 6) 26558c2ecf20Sopenharmony_ci#define PORTCR_PULMD_MASK (3 << 6) 26568c2ecf20Sopenharmony_ci 26578c2ecf20Sopenharmony_cistatic const unsigned int r8a73a4_portcr_offsets[] = { 26588c2ecf20Sopenharmony_ci 0x00000000, 0x00001000, 0x00000000, 0x00001000, 26598c2ecf20Sopenharmony_ci 0x00001000, 0x00002000, 0x00002000, 0x00002000, 26608c2ecf20Sopenharmony_ci 0x00002000, 0x00003000, 0x00003000, 26618c2ecf20Sopenharmony_ci}; 26628c2ecf20Sopenharmony_ci 26638c2ecf20Sopenharmony_cistatic unsigned int r8a73a4_pinmux_get_bias(struct sh_pfc *pfc, 26648c2ecf20Sopenharmony_ci unsigned int pin) 26658c2ecf20Sopenharmony_ci{ 26668c2ecf20Sopenharmony_ci void __iomem *addr; 26678c2ecf20Sopenharmony_ci 26688c2ecf20Sopenharmony_ci addr = pfc->windows->virt + r8a73a4_portcr_offsets[pin >> 5] + pin; 26698c2ecf20Sopenharmony_ci 26708c2ecf20Sopenharmony_ci switch (ioread8(addr) & PORTCR_PULMD_MASK) { 26718c2ecf20Sopenharmony_ci case PORTCR_PULMD_UP: 26728c2ecf20Sopenharmony_ci return PIN_CONFIG_BIAS_PULL_UP; 26738c2ecf20Sopenharmony_ci case PORTCR_PULMD_DOWN: 26748c2ecf20Sopenharmony_ci return PIN_CONFIG_BIAS_PULL_DOWN; 26758c2ecf20Sopenharmony_ci case PORTCR_PULMD_OFF: 26768c2ecf20Sopenharmony_ci default: 26778c2ecf20Sopenharmony_ci return PIN_CONFIG_BIAS_DISABLE; 26788c2ecf20Sopenharmony_ci } 26798c2ecf20Sopenharmony_ci} 26808c2ecf20Sopenharmony_ci 26818c2ecf20Sopenharmony_cistatic void r8a73a4_pinmux_set_bias(struct sh_pfc *pfc, unsigned int pin, 26828c2ecf20Sopenharmony_ci unsigned int bias) 26838c2ecf20Sopenharmony_ci{ 26848c2ecf20Sopenharmony_ci void __iomem *addr; 26858c2ecf20Sopenharmony_ci u32 value; 26868c2ecf20Sopenharmony_ci 26878c2ecf20Sopenharmony_ci addr = pfc->windows->virt + r8a73a4_portcr_offsets[pin >> 5] + pin; 26888c2ecf20Sopenharmony_ci value = ioread8(addr) & ~PORTCR_PULMD_MASK; 26898c2ecf20Sopenharmony_ci 26908c2ecf20Sopenharmony_ci switch (bias) { 26918c2ecf20Sopenharmony_ci case PIN_CONFIG_BIAS_PULL_UP: 26928c2ecf20Sopenharmony_ci value |= PORTCR_PULMD_UP; 26938c2ecf20Sopenharmony_ci break; 26948c2ecf20Sopenharmony_ci case PIN_CONFIG_BIAS_PULL_DOWN: 26958c2ecf20Sopenharmony_ci value |= PORTCR_PULMD_DOWN; 26968c2ecf20Sopenharmony_ci break; 26978c2ecf20Sopenharmony_ci } 26988c2ecf20Sopenharmony_ci 26998c2ecf20Sopenharmony_ci iowrite8(value, addr); 27008c2ecf20Sopenharmony_ci} 27018c2ecf20Sopenharmony_ci 27028c2ecf20Sopenharmony_cistatic const struct sh_pfc_soc_operations r8a73a4_pfc_ops = { 27038c2ecf20Sopenharmony_ci .get_bias = r8a73a4_pinmux_get_bias, 27048c2ecf20Sopenharmony_ci .set_bias = r8a73a4_pinmux_set_bias, 27058c2ecf20Sopenharmony_ci}; 27068c2ecf20Sopenharmony_ci 27078c2ecf20Sopenharmony_ciconst struct sh_pfc_soc_info r8a73a4_pinmux_info = { 27088c2ecf20Sopenharmony_ci .name = "r8a73a4_pfc", 27098c2ecf20Sopenharmony_ci .ops = &r8a73a4_pfc_ops, 27108c2ecf20Sopenharmony_ci 27118c2ecf20Sopenharmony_ci .input = { PINMUX_INPUT_BEGIN, PINMUX_INPUT_END }, 27128c2ecf20Sopenharmony_ci .output = { PINMUX_OUTPUT_BEGIN, PINMUX_OUTPUT_END }, 27138c2ecf20Sopenharmony_ci .function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END }, 27148c2ecf20Sopenharmony_ci 27158c2ecf20Sopenharmony_ci .pins = pinmux_pins, 27168c2ecf20Sopenharmony_ci .nr_pins = ARRAY_SIZE(pinmux_pins), 27178c2ecf20Sopenharmony_ci 27188c2ecf20Sopenharmony_ci .groups = pinmux_groups, 27198c2ecf20Sopenharmony_ci .nr_groups = ARRAY_SIZE(pinmux_groups), 27208c2ecf20Sopenharmony_ci .functions = pinmux_functions, 27218c2ecf20Sopenharmony_ci .nr_functions = ARRAY_SIZE(pinmux_functions), 27228c2ecf20Sopenharmony_ci 27238c2ecf20Sopenharmony_ci .cfg_regs = pinmux_config_regs, 27248c2ecf20Sopenharmony_ci .data_regs = pinmux_data_regs, 27258c2ecf20Sopenharmony_ci 27268c2ecf20Sopenharmony_ci .pinmux_data = pinmux_data, 27278c2ecf20Sopenharmony_ci .pinmux_data_size = ARRAY_SIZE(pinmux_data), 27288c2ecf20Sopenharmony_ci 27298c2ecf20Sopenharmony_ci .gpio_irq = pinmux_irqs, 27308c2ecf20Sopenharmony_ci .gpio_irq_size = ARRAY_SIZE(pinmux_irqs), 27318c2ecf20Sopenharmony_ci}; 2732