162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * linux/arch/arm/mach-mv78xx0/mpp.h -- Multi Purpose Pins 462306a36Sopenharmony_ci * 562306a36Sopenharmony_ci * sebastien requiem <sebastien@requiem.fr> 662306a36Sopenharmony_ci */ 762306a36Sopenharmony_ci 862306a36Sopenharmony_ci#ifndef __MV78X00_MPP_H 962306a36Sopenharmony_ci#define __MV78X00_MPP_H 1062306a36Sopenharmony_ci 1162306a36Sopenharmony_ci#define MPP(_num, _sel, _in, _out, _78100_A0) (\ 1262306a36Sopenharmony_ci /* MPP number */ ((_num) & 0xff) | \ 1362306a36Sopenharmony_ci /* MPP select value */ (((_sel) & 0xf) << 8) | \ 1462306a36Sopenharmony_ci /* may be input signal */ ((!!(_in)) << 12) | \ 1562306a36Sopenharmony_ci /* may be output signal */ ((!!(_out)) << 13) | \ 1662306a36Sopenharmony_ci /* available on A0 */ ((!!(_78100_A0)) << 14)) 1762306a36Sopenharmony_ci 1862306a36Sopenharmony_ci /* num sel i o 78100_A0 */ 1962306a36Sopenharmony_ci 2062306a36Sopenharmony_ci#define MPP_78100_A0_MASK MPP(0, 0x0, 0, 0, 1) 2162306a36Sopenharmony_ci 2262306a36Sopenharmony_ci#define MPP0_GPIO MPP(0, 0x0, 1, 1, 1) 2362306a36Sopenharmony_ci#define MPP0_GE0_COL MPP(0, 0x1, 0, 0, 1) 2462306a36Sopenharmony_ci#define MPP0_GE1_TXCLK MPP(0, 0x2, 0, 0, 1) 2562306a36Sopenharmony_ci#define MPP0_UNUSED MPP(0, 0x3, 0, 0, 1) 2662306a36Sopenharmony_ci 2762306a36Sopenharmony_ci#define MPP1_GPIO MPP(1, 0x0, 1, 1, 1) 2862306a36Sopenharmony_ci#define MPP1_GE0_RXERR MPP(1, 0x1, 0, 0, 1) 2962306a36Sopenharmony_ci#define MPP1_GE1_TXCTL MPP(1, 0x2, 0, 0, 1) 3062306a36Sopenharmony_ci#define MPP1_UNUSED MPP(1, 0x3, 0, 0, 1) 3162306a36Sopenharmony_ci 3262306a36Sopenharmony_ci#define MPP2_GPIO MPP(2, 0x0, 1, 1, 1) 3362306a36Sopenharmony_ci#define MPP2_GE0_CRS MPP(2, 0x1, 0, 0, 1) 3462306a36Sopenharmony_ci#define MPP2_GE1_RXCTL MPP(2, 0x2, 0, 0, 1) 3562306a36Sopenharmony_ci#define MPP2_UNUSED MPP(2, 0x3, 0, 0, 1) 3662306a36Sopenharmony_ci 3762306a36Sopenharmony_ci#define MPP3_GPIO MPP(3, 0x0, 1, 1, 1) 3862306a36Sopenharmony_ci#define MPP3_GE0_TXERR MPP(3, 0x1, 0, 0, 1) 3962306a36Sopenharmony_ci#define MPP3_GE1_RXCLK MPP(3, 0x2, 0, 0, 1) 4062306a36Sopenharmony_ci#define MPP3_UNUSED MPP(3, 0x3, 0, 0, 1) 4162306a36Sopenharmony_ci 4262306a36Sopenharmony_ci#define MPP4_GPIO MPP(4, 0x0, 1, 1, 1) 4362306a36Sopenharmony_ci#define MPP4_GE0_TXD4 MPP(4, 0x1, 0, 0, 1) 4462306a36Sopenharmony_ci#define MPP4_GE1_TXD0 MPP(4, 0x2, 0, 0, 1) 4562306a36Sopenharmony_ci#define MPP4_UNUSED MPP(4, 0x3, 0, 0, 1) 4662306a36Sopenharmony_ci 4762306a36Sopenharmony_ci#define MPP5_GPIO MPP(5, 0x0, 1, 1, 1) 4862306a36Sopenharmony_ci#define MPP5_GE0_TXD5 MPP(5, 0x1, 0, 0, 1) 4962306a36Sopenharmony_ci#define MPP5_GE1_TXD1 MPP(5, 0x2, 0, 0, 1) 5062306a36Sopenharmony_ci#define MPP5_UNUSED MPP(5, 0x3, 0, 0, 1) 5162306a36Sopenharmony_ci 5262306a36Sopenharmony_ci#define MPP6_GPIO MPP(6, 0x0, 1, 1, 1) 5362306a36Sopenharmony_ci#define MPP6_GE0_TXD6 MPP(6, 0x1, 0, 0, 1) 5462306a36Sopenharmony_ci#define MPP6_GE1_TXD2 MPP(6, 0x2, 0, 0, 1) 5562306a36Sopenharmony_ci#define MPP6_UNUSED MPP(6, 0x3, 0, 0, 1) 5662306a36Sopenharmony_ci 5762306a36Sopenharmony_ci#define MPP7_GPIO MPP(7, 0x0, 1, 1, 1) 5862306a36Sopenharmony_ci#define MPP7_GE0_TXD7 MPP(7, 0x1, 0, 0, 1) 5962306a36Sopenharmony_ci#define MPP7_GE1_TXD3 MPP(7, 0x2, 0, 0, 1) 6062306a36Sopenharmony_ci#define MPP7_UNUSED MPP(7, 0x3, 0, 0, 1) 6162306a36Sopenharmony_ci 6262306a36Sopenharmony_ci#define MPP8_GPIO MPP(8, 0x0, 1, 1, 1) 6362306a36Sopenharmony_ci#define MPP8_GE0_RXD4 MPP(8, 0x1, 0, 0, 1) 6462306a36Sopenharmony_ci#define MPP8_GE1_RXD0 MPP(8, 0x2, 0, 0, 1) 6562306a36Sopenharmony_ci#define MPP8_UNUSED MPP(8, 0x3, 0, 0, 1) 6662306a36Sopenharmony_ci 6762306a36Sopenharmony_ci#define MPP9_GPIO MPP(9, 0x0, 1, 1, 1) 6862306a36Sopenharmony_ci#define MPP9_GE0_RXD5 MPP(9, 0x1, 0, 0, 1) 6962306a36Sopenharmony_ci#define MPP9_GE1_RXD1 MPP(9, 0x2, 0, 0, 1) 7062306a36Sopenharmony_ci#define MPP9_UNUSED MPP(9, 0x3, 0, 0, 1) 7162306a36Sopenharmony_ci 7262306a36Sopenharmony_ci#define MPP10_GPIO MPP(10, 0x0, 1, 1, 1) 7362306a36Sopenharmony_ci#define MPP10_GE0_RXD6 MPP(10, 0x1, 0, 0, 1) 7462306a36Sopenharmony_ci#define MPP10_GE1_RXD2 MPP(10, 0x2, 0, 0, 1) 7562306a36Sopenharmony_ci#define MPP10_UNUSED MPP(10, 0x3, 0, 0, 1) 7662306a36Sopenharmony_ci 7762306a36Sopenharmony_ci#define MPP11_GPIO MPP(11, 0x0, 1, 1, 1) 7862306a36Sopenharmony_ci#define MPP11_GE0_RXD7 MPP(11, 0x1, 0, 0, 1) 7962306a36Sopenharmony_ci#define MPP11_GE1_RXD3 MPP(11, 0x2, 0, 0, 1) 8062306a36Sopenharmony_ci#define MPP11_UNUSED MPP(11, 0x3, 0, 0, 1) 8162306a36Sopenharmony_ci 8262306a36Sopenharmony_ci#define MPP12_GPIO MPP(12, 0x0, 1, 1, 1) 8362306a36Sopenharmony_ci#define MPP12_M_BB MPP(12, 0x3, 0, 0, 1) 8462306a36Sopenharmony_ci#define MPP12_UA0_CTSn MPP(12, 0x4, 0, 0, 1) 8562306a36Sopenharmony_ci#define MPP12_NAND_FLASH_REn0 MPP(12, 0x5, 0, 0, 1) 8662306a36Sopenharmony_ci#define MPP12_TDM0_SCSn MPP(12, 0X6, 0, 0, 1) 8762306a36Sopenharmony_ci#define MPP12_UNUSED MPP(12, 0x1, 0, 0, 1) 8862306a36Sopenharmony_ci 8962306a36Sopenharmony_ci#define MPP13_GPIO MPP(13, 0x0, 1, 1, 1) 9062306a36Sopenharmony_ci#define MPP13_SYSRST_OUTn MPP(13, 0x3, 0, 0, 1) 9162306a36Sopenharmony_ci#define MPP13_UA0_RTSn MPP(13, 0x4, 0, 0, 1) 9262306a36Sopenharmony_ci#define MPP13_NAN_FLASH_WEn0 MPP(13, 0x5, 0, 0, 1) 9362306a36Sopenharmony_ci#define MPP13_TDM_SCLK MPP(13, 0x6, 0, 0, 1) 9462306a36Sopenharmony_ci#define MPP13_UNUSED MPP(13, 0x1, 0, 0, 1) 9562306a36Sopenharmony_ci 9662306a36Sopenharmony_ci#define MPP14_GPIO MPP(14, 0x0, 1, 1, 1) 9762306a36Sopenharmony_ci#define MPP14_SATA1_ACTn MPP(14, 0x3, 0, 0, 1) 9862306a36Sopenharmony_ci#define MPP14_UA1_CTSn MPP(14, 0x4, 0, 0, 1) 9962306a36Sopenharmony_ci#define MPP14_NAND_FLASH_REn1 MPP(14, 0x5, 0, 0, 1) 10062306a36Sopenharmony_ci#define MPP14_TDM_SMOSI MPP(14, 0x6, 0, 0, 1) 10162306a36Sopenharmony_ci#define MPP14_UNUSED MPP(14, 0x1, 0, 0, 1) 10262306a36Sopenharmony_ci 10362306a36Sopenharmony_ci#define MPP15_GPIO MPP(15, 0x0, 1, 1, 1) 10462306a36Sopenharmony_ci#define MPP15_SATA0_ACTn MPP(15, 0x3, 0, 0, 1) 10562306a36Sopenharmony_ci#define MPP15_UA1_RTSn MPP(15, 0x4, 0, 0, 1) 10662306a36Sopenharmony_ci#define MPP15_NAND_FLASH_WEn1 MPP(15, 0x5, 0, 0, 1) 10762306a36Sopenharmony_ci#define MPP15_TDM_SMISO MPP(15, 0x6, 0, 0, 1) 10862306a36Sopenharmony_ci#define MPP15_UNUSED MPP(15, 0x1, 0, 0, 1) 10962306a36Sopenharmony_ci 11062306a36Sopenharmony_ci#define MPP16_GPIO MPP(16, 0x0, 1, 1, 1) 11162306a36Sopenharmony_ci#define MPP16_SATA1_PRESENTn MPP(16, 0x3, 0, 0, 1) 11262306a36Sopenharmony_ci#define MPP16_UA2_TXD MPP(16, 0x4, 0, 0, 1) 11362306a36Sopenharmony_ci#define MPP16_NAND_FLASH_REn3 MPP(16, 0x5, 0, 0, 1) 11462306a36Sopenharmony_ci#define MPP16_TDM_INTn MPP(16, 0x6, 0, 0, 1) 11562306a36Sopenharmony_ci#define MPP16_UNUSED MPP(16, 0x1, 0, 0, 1) 11662306a36Sopenharmony_ci 11762306a36Sopenharmony_ci 11862306a36Sopenharmony_ci#define MPP17_GPIO MPP(17, 0x0, 1, 1, 1) 11962306a36Sopenharmony_ci#define MPP17_SATA0_PRESENTn MPP(17, 0x3, 0, 0, 1) 12062306a36Sopenharmony_ci#define MPP17_UA2_RXD MPP(17, 0x4, 0, 0, 1) 12162306a36Sopenharmony_ci#define MPP17_NAND_FLASH_WEn3 MPP(17, 0x5, 0, 0, 1) 12262306a36Sopenharmony_ci#define MPP17_TDM_RSTn MPP(17, 0x6, 0, 0, 1) 12362306a36Sopenharmony_ci#define MPP17_UNUSED MPP(17, 0x1, 0, 0, 1) 12462306a36Sopenharmony_ci 12562306a36Sopenharmony_ci 12662306a36Sopenharmony_ci#define MPP18_GPIO MPP(18, 0x0, 1, 1, 1) 12762306a36Sopenharmony_ci#define MPP18_UA0_CTSn MPP(18, 0x4, 0, 0, 1) 12862306a36Sopenharmony_ci#define MPP18_BOOT_FLASH_REn MPP(18, 0x5, 0, 0, 1) 12962306a36Sopenharmony_ci#define MPP18_UNUSED MPP(18, 0x1, 0, 0, 1) 13062306a36Sopenharmony_ci 13162306a36Sopenharmony_ci 13262306a36Sopenharmony_ci 13362306a36Sopenharmony_ci#define MPP19_GPIO MPP(19, 0x0, 1, 1, 1) 13462306a36Sopenharmony_ci#define MPP19_UA0_CTSn MPP(19, 0x4, 0, 0, 1) 13562306a36Sopenharmony_ci#define MPP19_BOOT_FLASH_WEn MPP(19, 0x5, 0, 0, 1) 13662306a36Sopenharmony_ci#define MPP19_UNUSED MPP(19, 0x1, 0, 0, 1) 13762306a36Sopenharmony_ci 13862306a36Sopenharmony_ci 13962306a36Sopenharmony_ci#define MPP20_GPIO MPP(20, 0x0, 1, 1, 1) 14062306a36Sopenharmony_ci#define MPP20_UA1_CTSs MPP(20, 0x4, 0, 0, 1) 14162306a36Sopenharmony_ci#define MPP20_TDM_PCLK MPP(20, 0x6, 0, 0, 0) 14262306a36Sopenharmony_ci#define MPP20_UNUSED MPP(20, 0x1, 0, 0, 1) 14362306a36Sopenharmony_ci 14462306a36Sopenharmony_ci 14562306a36Sopenharmony_ci 14662306a36Sopenharmony_ci#define MPP21_GPIO MPP(21, 0x0, 1, 1, 1) 14762306a36Sopenharmony_ci#define MPP21_UA1_CTSs MPP(21, 0x4, 0, 0, 1) 14862306a36Sopenharmony_ci#define MPP21_TDM_FSYNC MPP(21, 0x6, 0, 0, 0) 14962306a36Sopenharmony_ci#define MPP21_UNUSED MPP(21, 0x1, 0, 0, 1) 15062306a36Sopenharmony_ci 15162306a36Sopenharmony_ci 15262306a36Sopenharmony_ci 15362306a36Sopenharmony_ci#define MPP22_GPIO MPP(22, 0x0, 1, 1, 1) 15462306a36Sopenharmony_ci#define MPP22_UA3_TDX MPP(22, 0x4, 0, 0, 1) 15562306a36Sopenharmony_ci#define MPP22_NAND_FLASH_REn2 MPP(22, 0x5, 0, 0, 1) 15662306a36Sopenharmony_ci#define MPP22_TDM_DRX MPP(22, 0x6, 0, 0, 1) 15762306a36Sopenharmony_ci#define MPP22_UNUSED MPP(22, 0x1, 0, 0, 1) 15862306a36Sopenharmony_ci 15962306a36Sopenharmony_ci 16062306a36Sopenharmony_ci 16162306a36Sopenharmony_ci#define MPP23_GPIO MPP(23, 0x0, 1, 1, 1) 16262306a36Sopenharmony_ci#define MPP23_UA3_RDX MPP(23, 0x4, 0, 0, 1) 16362306a36Sopenharmony_ci#define MPP23_NAND_FLASH_WEn2 MPP(23, 0x5, 0, 0, 1) 16462306a36Sopenharmony_ci#define MPP23_TDM_DTX MPP(23, 0x6, 0, 0, 1) 16562306a36Sopenharmony_ci#define MPP23_UNUSED MPP(23, 0x1, 0, 0, 1) 16662306a36Sopenharmony_ci 16762306a36Sopenharmony_ci 16862306a36Sopenharmony_ci#define MPP24_GPIO MPP(24, 0x0, 1, 1, 1) 16962306a36Sopenharmony_ci#define MPP24_UA2_TXD MPP(24, 0x4, 0, 0, 1) 17062306a36Sopenharmony_ci#define MPP24_TDM_INTn MPP(24, 0x6, 0, 0, 1) 17162306a36Sopenharmony_ci#define MPP24_UNUSED MPP(24, 0x1, 0, 0, 1) 17262306a36Sopenharmony_ci 17362306a36Sopenharmony_ci 17462306a36Sopenharmony_ci#define MPP25_GPIO MPP(25, 0x0, 1, 1, 1) 17562306a36Sopenharmony_ci#define MPP25_UA2_RXD MPP(25, 0x4, 0, 0, 1) 17662306a36Sopenharmony_ci#define MPP25_TDM_RSTn MPP(25, 0x6, 0, 0, 1) 17762306a36Sopenharmony_ci#define MPP25_UNUSED MPP(25, 0x1, 0, 0, 1) 17862306a36Sopenharmony_ci 17962306a36Sopenharmony_ci 18062306a36Sopenharmony_ci#define MPP26_GPIO MPP(26, 0x0, 1, 1, 1) 18162306a36Sopenharmony_ci#define MPP26_UA2_CTSn MPP(26, 0x4, 0, 0, 1) 18262306a36Sopenharmony_ci#define MPP26_TDM_PCLK MPP(26, 0x6, 0, 0, 1) 18362306a36Sopenharmony_ci#define MPP26_UNUSED MPP(26, 0x1, 0, 0, 1) 18462306a36Sopenharmony_ci 18562306a36Sopenharmony_ci 18662306a36Sopenharmony_ci#define MPP27_GPIO MPP(27, 0x0, 1, 1, 1) 18762306a36Sopenharmony_ci#define MPP27_UA2_RTSn MPP(27, 0x4, 0, 0, 1) 18862306a36Sopenharmony_ci#define MPP27_TDM_FSYNC MPP(27, 0x6, 0, 0, 1) 18962306a36Sopenharmony_ci#define MPP27_UNUSED MPP(27, 0x1, 0, 0, 1) 19062306a36Sopenharmony_ci 19162306a36Sopenharmony_ci 19262306a36Sopenharmony_ci#define MPP28_GPIO MPP(28, 0x0, 1, 1, 1) 19362306a36Sopenharmony_ci#define MPP28_UA3_TXD MPP(28, 0x4, 0, 0, 1) 19462306a36Sopenharmony_ci#define MPP28_TDM_DRX MPP(28, 0x6, 0, 0, 1) 19562306a36Sopenharmony_ci#define MPP28_UNUSED MPP(28, 0x1, 0, 0, 1) 19662306a36Sopenharmony_ci 19762306a36Sopenharmony_ci#define MPP29_GPIO MPP(29, 0x0, 1, 1, 1) 19862306a36Sopenharmony_ci#define MPP29_UA3_RXD MPP(29, 0x4, 0, 0, 1) 19962306a36Sopenharmony_ci#define MPP29_SYSRST_OUTn MPP(29, 0x5, 0, 0, 1) 20062306a36Sopenharmony_ci#define MPP29_TDM_DTX MPP(29, 0x6, 0, 0, 1) 20162306a36Sopenharmony_ci#define MPP29_UNUSED MPP(29, 0x1, 0, 0, 1) 20262306a36Sopenharmony_ci 20362306a36Sopenharmony_ci#define MPP30_GPIO MPP(30, 0x0, 1, 1, 1) 20462306a36Sopenharmony_ci#define MPP30_UA3_CTSn MPP(30, 0x4, 0, 0, 1) 20562306a36Sopenharmony_ci#define MPP30_UNUSED MPP(30, 0x1, 0, 0, 1) 20662306a36Sopenharmony_ci 20762306a36Sopenharmony_ci#define MPP31_GPIO MPP(31, 0x0, 1, 1, 1) 20862306a36Sopenharmony_ci#define MPP31_UA3_RTSn MPP(31, 0x4, 0, 0, 1) 20962306a36Sopenharmony_ci#define MPP31_TDM1_SCSn MPP(31, 0x6, 0, 0, 1) 21062306a36Sopenharmony_ci#define MPP31_UNUSED MPP(31, 0x1, 0, 0, 1) 21162306a36Sopenharmony_ci 21262306a36Sopenharmony_ci 21362306a36Sopenharmony_ci#define MPP32_GPIO MPP(32, 0x1, 1, 1, 1) 21462306a36Sopenharmony_ci#define MPP32_UA3_TDX MPP(32, 0x4, 0, 0, 1) 21562306a36Sopenharmony_ci#define MPP32_SYSRST_OUTn MPP(32, 0x5, 0, 0, 1) 21662306a36Sopenharmony_ci#define MPP32_TDM0_RXQ MPP(32, 0x6, 0, 0, 1) 21762306a36Sopenharmony_ci#define MPP32_UNUSED MPP(32, 0x3, 0, 0, 1) 21862306a36Sopenharmony_ci 21962306a36Sopenharmony_ci 22062306a36Sopenharmony_ci#define MPP33_GPIO MPP(33, 0x1, 1, 1, 1) 22162306a36Sopenharmony_ci#define MPP33_UA3_RDX MPP(33, 0x4, 0, 0, 1) 22262306a36Sopenharmony_ci#define MPP33_TDM0_TXQ MPP(33, 0x6, 0, 0, 1) 22362306a36Sopenharmony_ci#define MPP33_UNUSED MPP(33, 0x3, 0, 0, 1) 22462306a36Sopenharmony_ci 22562306a36Sopenharmony_ci 22662306a36Sopenharmony_ci 22762306a36Sopenharmony_ci#define MPP34_GPIO MPP(34, 0x1, 1, 1, 1) 22862306a36Sopenharmony_ci#define MPP34_UA2_TDX MPP(34, 0x4, 0, 0, 1) 22962306a36Sopenharmony_ci#define MPP34_TDM1_RXQ MPP(34, 0x6, 0, 0, 1) 23062306a36Sopenharmony_ci#define MPP34_UNUSED MPP(34, 0x3, 0, 0, 1) 23162306a36Sopenharmony_ci 23262306a36Sopenharmony_ci 23362306a36Sopenharmony_ci 23462306a36Sopenharmony_ci#define MPP35_GPIO MPP(35, 0x1, 1, 1, 1) 23562306a36Sopenharmony_ci#define MPP35_UA2_RDX MPP(35, 0x4, 0, 0, 1) 23662306a36Sopenharmony_ci#define MPP35_TDM1_TXQ MPP(35, 0x6, 0, 0, 1) 23762306a36Sopenharmony_ci#define MPP35_UNUSED MPP(35, 0x3, 0, 0, 1) 23862306a36Sopenharmony_ci 23962306a36Sopenharmony_ci#define MPP36_GPIO MPP(36, 0x1, 1, 1, 1) 24062306a36Sopenharmony_ci#define MPP36_UA0_CTSn MPP(36, 0x2, 0, 0, 1) 24162306a36Sopenharmony_ci#define MPP36_UA2_TDX MPP(36, 0x4, 0, 0, 1) 24262306a36Sopenharmony_ci#define MPP36_TDM0_SCSn MPP(36, 0x6, 0, 0, 1) 24362306a36Sopenharmony_ci#define MPP36_UNUSED MPP(36, 0x3, 0, 0, 1) 24462306a36Sopenharmony_ci 24562306a36Sopenharmony_ci 24662306a36Sopenharmony_ci#define MPP37_GPIO MPP(37, 0x1, 1, 1, 1) 24762306a36Sopenharmony_ci#define MPP37_UA0_RTSn MPP(37, 0x2, 0, 0, 1) 24862306a36Sopenharmony_ci#define MPP37_UA2_RXD MPP(37, 0x4, 0, 0, 1) 24962306a36Sopenharmony_ci#define MPP37_SYSRST_OUTn MPP(37, 0x5, 0, 0, 1) 25062306a36Sopenharmony_ci#define MPP37_TDM_SCLK MPP(37, 0x6, 0, 0, 1) 25162306a36Sopenharmony_ci#define MPP37_UNUSED MPP(37, 0x3, 0, 0, 1) 25262306a36Sopenharmony_ci 25362306a36Sopenharmony_ci 25462306a36Sopenharmony_ci 25562306a36Sopenharmony_ci 25662306a36Sopenharmony_ci#define MPP38_GPIO MPP(38, 0x1, 1, 1, 1) 25762306a36Sopenharmony_ci#define MPP38_UA1_CTSn MPP(38, 0x2, 0, 0, 1) 25862306a36Sopenharmony_ci#define MPP38_UA3_TXD MPP(38, 0x4, 0, 0, 1) 25962306a36Sopenharmony_ci#define MPP38_SYSRST_OUTn MPP(38, 0x5, 0, 0, 1) 26062306a36Sopenharmony_ci#define MPP38_TDM_SMOSI MPP(38, 0x6, 0, 0, 1) 26162306a36Sopenharmony_ci#define MPP38_UNUSED MPP(38, 0x3, 0, 0, 1) 26262306a36Sopenharmony_ci 26362306a36Sopenharmony_ci 26462306a36Sopenharmony_ci 26562306a36Sopenharmony_ci 26662306a36Sopenharmony_ci#define MPP39_GPIO MPP(39, 0x1, 1, 1, 1) 26762306a36Sopenharmony_ci#define MPP39_UA1_RTSn MPP(39, 0x2, 0, 0, 1) 26862306a36Sopenharmony_ci#define MPP39_UA3_RXD MPP(39, 0x4, 0, 0, 1) 26962306a36Sopenharmony_ci#define MPP39_SYSRST_OUTn MPP(39, 0x5, 0, 0, 1) 27062306a36Sopenharmony_ci#define MPP39_TDM_SMISO MPP(39, 0x6, 0, 0, 1) 27162306a36Sopenharmony_ci#define MPP39_UNUSED MPP(39, 0x3, 0, 0, 1) 27262306a36Sopenharmony_ci 27362306a36Sopenharmony_ci 27462306a36Sopenharmony_ci 27562306a36Sopenharmony_ci#define MPP40_GPIO MPP(40, 0x1, 1, 1, 1) 27662306a36Sopenharmony_ci#define MPP40_TDM_INTn MPP(40, 0x6, 0, 0, 1) 27762306a36Sopenharmony_ci#define MPP40_UNUSED MPP(40, 0x0, 0, 0, 1) 27862306a36Sopenharmony_ci 27962306a36Sopenharmony_ci 28062306a36Sopenharmony_ci 28162306a36Sopenharmony_ci#define MPP41_GPIO MPP(41, 0x1, 1, 1, 1) 28262306a36Sopenharmony_ci#define MPP41_TDM_RSTn MPP(41, 0x6, 0, 0, 1) 28362306a36Sopenharmony_ci#define MPP41_UNUSED MPP(41, 0x0, 0, 0, 1) 28462306a36Sopenharmony_ci 28562306a36Sopenharmony_ci 28662306a36Sopenharmony_ci 28762306a36Sopenharmony_ci#define MPP42_GPIO MPP(42, 0x1, 1, 1, 1) 28862306a36Sopenharmony_ci#define MPP42_TDM_PCLK MPP(42, 0x6, 0, 0, 1) 28962306a36Sopenharmony_ci#define MPP42_UNUSED MPP(42, 0x0, 0, 0, 1) 29062306a36Sopenharmony_ci 29162306a36Sopenharmony_ci 29262306a36Sopenharmony_ci 29362306a36Sopenharmony_ci#define MPP43_GPIO MPP(43, 0x1, 1, 1, 1) 29462306a36Sopenharmony_ci#define MPP43_TDM_FSYNC MPP(43, 0x6, 0, 0, 1) 29562306a36Sopenharmony_ci#define MPP43_UNUSED MPP(43, 0x0, 0, 0, 1) 29662306a36Sopenharmony_ci 29762306a36Sopenharmony_ci 29862306a36Sopenharmony_ci 29962306a36Sopenharmony_ci#define MPP44_GPIO MPP(44, 0x1, 1, 1, 1) 30062306a36Sopenharmony_ci#define MPP44_TDM_DRX MPP(44, 0x6, 0, 0, 1) 30162306a36Sopenharmony_ci#define MPP44_UNUSED MPP(44, 0x0, 0, 0, 1) 30262306a36Sopenharmony_ci 30362306a36Sopenharmony_ci 30462306a36Sopenharmony_ci 30562306a36Sopenharmony_ci#define MPP45_GPIO MPP(45, 0x1, 1, 1, 1) 30662306a36Sopenharmony_ci#define MPP45_SATA0_ACTn MPP(45, 0x3, 0, 0, 1) 30762306a36Sopenharmony_ci#define MPP45_TDM_DRX MPP(45, 0x6, 0, 0, 1) 30862306a36Sopenharmony_ci#define MPP45_UNUSED MPP(45, 0x0, 0, 0, 1) 30962306a36Sopenharmony_ci 31062306a36Sopenharmony_ci 31162306a36Sopenharmony_ci#define MPP46_GPIO MPP(46, 0x1, 1, 1, 1) 31262306a36Sopenharmony_ci#define MPP46_TDM_SCSn MPP(46, 0x6, 0, 0, 1) 31362306a36Sopenharmony_ci#define MPP46_UNUSED MPP(46, 0x0, 0, 0, 1) 31462306a36Sopenharmony_ci 31562306a36Sopenharmony_ci 31662306a36Sopenharmony_ci#define MPP47_GPIO MPP(47, 0x1, 1, 1, 1) 31762306a36Sopenharmony_ci#define MPP47_UNUSED MPP(47, 0x0, 0, 0, 1) 31862306a36Sopenharmony_ci 31962306a36Sopenharmony_ci 32062306a36Sopenharmony_ci 32162306a36Sopenharmony_ci#define MPP48_GPIO MPP(48, 0x1, 1, 1, 1) 32262306a36Sopenharmony_ci#define MPP48_SATA1_ACTn MPP(48, 0x3, 0, 0, 1) 32362306a36Sopenharmony_ci#define MPP48_UNUSED MPP(48, 0x2, 0, 0, 1) 32462306a36Sopenharmony_ci 32562306a36Sopenharmony_ci 32662306a36Sopenharmony_ci 32762306a36Sopenharmony_ci#define MPP49_GPIO MPP(49, 0x1, 1, 1, 1) 32862306a36Sopenharmony_ci#define MPP49_SATA0_ACTn MPP(49, 0x3, 0, 0, 1) 32962306a36Sopenharmony_ci#define MPP49_M_BB MPP(49, 0x4, 0, 0, 1) 33062306a36Sopenharmony_ci#define MPP49_UNUSED MPP(49, 0x2, 0, 0, 1) 33162306a36Sopenharmony_ci 33262306a36Sopenharmony_ci 33362306a36Sopenharmony_ci#define MPP_MAX 49 33462306a36Sopenharmony_ci 33562306a36Sopenharmony_civoid mv78xx0_mpp_conf(unsigned int *mpp_list); 33662306a36Sopenharmony_ci 33762306a36Sopenharmony_ci#endif 338