162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 OR MIT */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * Copyright (C) 2022 Emil Renner Berthing <kernel@esmil.dk> 462306a36Sopenharmony_ci * Copyright (C) 2022 StarFive Technology Co., Ltd. 562306a36Sopenharmony_ci */ 662306a36Sopenharmony_ci 762306a36Sopenharmony_ci#ifndef __JH7110_PINFUNC_H__ 862306a36Sopenharmony_ci#define __JH7110_PINFUNC_H__ 962306a36Sopenharmony_ci 1062306a36Sopenharmony_ci/* 1162306a36Sopenharmony_ci * mux bits: 1262306a36Sopenharmony_ci * | 31 - 24 | 23 - 16 | 15 - 10 | 9 - 8 | 7 - 0 | 1362306a36Sopenharmony_ci * | din | dout | doen | function | gpio nr | 1462306a36Sopenharmony_ci * 1562306a36Sopenharmony_ci * dout: output signal 1662306a36Sopenharmony_ci * doen: output enable signal 1762306a36Sopenharmony_ci * din: optional input signal, 0xff = none 1862306a36Sopenharmony_ci * function: function selector 1962306a36Sopenharmony_ci * gpio nr: gpio number, 0 - 63 2062306a36Sopenharmony_ci */ 2162306a36Sopenharmony_ci#define GPIOMUX(n, dout, doen, din) ( \ 2262306a36Sopenharmony_ci (((din) & 0xff) << 24) | \ 2362306a36Sopenharmony_ci (((dout) & 0xff) << 16) | \ 2462306a36Sopenharmony_ci (((doen) & 0x3f) << 10) | \ 2562306a36Sopenharmony_ci ((n) & 0x3f)) 2662306a36Sopenharmony_ci 2762306a36Sopenharmony_ci#define PINMUX(n, func) ((1 << 10) | (((func) & 0x3) << 8) | ((n) & 0xff)) 2862306a36Sopenharmony_ci 2962306a36Sopenharmony_ci/* sys_iomux dout */ 3062306a36Sopenharmony_ci#define GPOUT_LOW 0 3162306a36Sopenharmony_ci#define GPOUT_HIGH 1 3262306a36Sopenharmony_ci#define GPOUT_SYS_WAVE511_UART_TX 2 3362306a36Sopenharmony_ci#define GPOUT_SYS_CAN0_STBY 3 3462306a36Sopenharmony_ci#define GPOUT_SYS_CAN0_TST_NEXT_BIT 4 3562306a36Sopenharmony_ci#define GPOUT_SYS_CAN0_TST_SAMPLE_POINT 5 3662306a36Sopenharmony_ci#define GPOUT_SYS_CAN0_TXD 6 3762306a36Sopenharmony_ci#define GPOUT_SYS_USB_DRIVE_VBUS 7 3862306a36Sopenharmony_ci#define GPOUT_SYS_QSPI_CS1 8 3962306a36Sopenharmony_ci#define GPOUT_SYS_SPDIF 9 4062306a36Sopenharmony_ci#define GPOUT_SYS_HDMI_CEC_SDA 10 4162306a36Sopenharmony_ci#define GPOUT_SYS_HDMI_DDC_SCL 11 4262306a36Sopenharmony_ci#define GPOUT_SYS_HDMI_DDC_SDA 12 4362306a36Sopenharmony_ci#define GPOUT_SYS_WATCHDOG 13 4462306a36Sopenharmony_ci#define GPOUT_SYS_I2C0_CLK 14 4562306a36Sopenharmony_ci#define GPOUT_SYS_I2C0_DATA 15 4662306a36Sopenharmony_ci#define GPOUT_SYS_SDIO0_BACK_END_POWER 16 4762306a36Sopenharmony_ci#define GPOUT_SYS_SDIO0_CARD_POWER_EN 17 4862306a36Sopenharmony_ci#define GPOUT_SYS_SDIO0_CCMD_OD_PULLUP_EN 18 4962306a36Sopenharmony_ci#define GPOUT_SYS_SDIO0_RST 19 5062306a36Sopenharmony_ci#define GPOUT_SYS_UART0_TX 20 5162306a36Sopenharmony_ci#define GPOUT_SYS_HIFI4_JTAG_TDO 21 5262306a36Sopenharmony_ci#define GPOUT_SYS_JTAG_TDO 22 5362306a36Sopenharmony_ci#define GPOUT_SYS_PDM_MCLK 23 5462306a36Sopenharmony_ci#define GPOUT_SYS_PWM_CHANNEL0 24 5562306a36Sopenharmony_ci#define GPOUT_SYS_PWM_CHANNEL1 25 5662306a36Sopenharmony_ci#define GPOUT_SYS_PWM_CHANNEL2 26 5762306a36Sopenharmony_ci#define GPOUT_SYS_PWM_CHANNEL3 27 5862306a36Sopenharmony_ci#define GPOUT_SYS_PWMDAC_LEFT 28 5962306a36Sopenharmony_ci#define GPOUT_SYS_PWMDAC_RIGHT 29 6062306a36Sopenharmony_ci#define GPOUT_SYS_SPI0_CLK 30 6162306a36Sopenharmony_ci#define GPOUT_SYS_SPI0_FSS 31 6262306a36Sopenharmony_ci#define GPOUT_SYS_SPI0_TXD 32 6362306a36Sopenharmony_ci#define GPOUT_SYS_GMAC_PHYCLK 33 6462306a36Sopenharmony_ci#define GPOUT_SYS_I2SRX_BCLK 34 6562306a36Sopenharmony_ci#define GPOUT_SYS_I2SRX_LRCK 35 6662306a36Sopenharmony_ci#define GPOUT_SYS_I2STX0_BCLK 36 6762306a36Sopenharmony_ci#define GPOUT_SYS_I2STX0_LRCK 37 6862306a36Sopenharmony_ci#define GPOUT_SYS_MCLK 38 6962306a36Sopenharmony_ci#define GPOUT_SYS_TDM_CLK 39 7062306a36Sopenharmony_ci#define GPOUT_SYS_TDM_SYNC 40 7162306a36Sopenharmony_ci#define GPOUT_SYS_TDM_TXD 41 7262306a36Sopenharmony_ci#define GPOUT_SYS_TRACE_DATA0 42 7362306a36Sopenharmony_ci#define GPOUT_SYS_TRACE_DATA1 43 7462306a36Sopenharmony_ci#define GPOUT_SYS_TRACE_DATA2 44 7562306a36Sopenharmony_ci#define GPOUT_SYS_TRACE_DATA3 45 7662306a36Sopenharmony_ci#define GPOUT_SYS_TRACE_REF 46 7762306a36Sopenharmony_ci#define GPOUT_SYS_CAN1_STBY 47 7862306a36Sopenharmony_ci#define GPOUT_SYS_CAN1_TST_NEXT_BIT 48 7962306a36Sopenharmony_ci#define GPOUT_SYS_CAN1_TST_SAMPLE_POINT 49 8062306a36Sopenharmony_ci#define GPOUT_SYS_CAN1_TXD 50 8162306a36Sopenharmony_ci#define GPOUT_SYS_I2C1_CLK 51 8262306a36Sopenharmony_ci#define GPOUT_SYS_I2C1_DATA 52 8362306a36Sopenharmony_ci#define GPOUT_SYS_SDIO1_BACK_END_POWER 53 8462306a36Sopenharmony_ci#define GPOUT_SYS_SDIO1_CARD_POWER_EN 54 8562306a36Sopenharmony_ci#define GPOUT_SYS_SDIO1_CLK 55 8662306a36Sopenharmony_ci#define GPOUT_SYS_SDIO1_CMD_OD_PULLUP_EN 56 8762306a36Sopenharmony_ci#define GPOUT_SYS_SDIO1_CMD 57 8862306a36Sopenharmony_ci#define GPOUT_SYS_SDIO1_DATA0 58 8962306a36Sopenharmony_ci#define GPOUT_SYS_SDIO1_DATA1 59 9062306a36Sopenharmony_ci#define GPOUT_SYS_SDIO1_DATA2 60 9162306a36Sopenharmony_ci#define GPOUT_SYS_SDIO1_DATA3 61 9262306a36Sopenharmony_ci#define GPOUT_SYS_SDIO1_DATA4 63 9362306a36Sopenharmony_ci#define GPOUT_SYS_SDIO1_DATA5 63 9462306a36Sopenharmony_ci#define GPOUT_SYS_SDIO1_DATA6 64 9562306a36Sopenharmony_ci#define GPOUT_SYS_SDIO1_DATA7 65 9662306a36Sopenharmony_ci#define GPOUT_SYS_SDIO1_RST 66 9762306a36Sopenharmony_ci#define GPOUT_SYS_UART1_RTS 67 9862306a36Sopenharmony_ci#define GPOUT_SYS_UART1_TX 68 9962306a36Sopenharmony_ci#define GPOUT_SYS_I2STX1_SDO0 69 10062306a36Sopenharmony_ci#define GPOUT_SYS_I2STX1_SDO1 70 10162306a36Sopenharmony_ci#define GPOUT_SYS_I2STX1_SDO2 71 10262306a36Sopenharmony_ci#define GPOUT_SYS_I2STX1_SDO3 72 10362306a36Sopenharmony_ci#define GPOUT_SYS_SPI1_CLK 73 10462306a36Sopenharmony_ci#define GPOUT_SYS_SPI1_FSS 74 10562306a36Sopenharmony_ci#define GPOUT_SYS_SPI1_TXD 75 10662306a36Sopenharmony_ci#define GPOUT_SYS_I2C2_CLK 76 10762306a36Sopenharmony_ci#define GPOUT_SYS_I2C2_DATA 77 10862306a36Sopenharmony_ci#define GPOUT_SYS_UART2_RTS 78 10962306a36Sopenharmony_ci#define GPOUT_SYS_UART2_TX 79 11062306a36Sopenharmony_ci#define GPOUT_SYS_SPI2_CLK 80 11162306a36Sopenharmony_ci#define GPOUT_SYS_SPI2_FSS 81 11262306a36Sopenharmony_ci#define GPOUT_SYS_SPI2_TXD 82 11362306a36Sopenharmony_ci#define GPOUT_SYS_I2C3_CLK 83 11462306a36Sopenharmony_ci#define GPOUT_SYS_I2C3_DATA 84 11562306a36Sopenharmony_ci#define GPOUT_SYS_UART3_TX 85 11662306a36Sopenharmony_ci#define GPOUT_SYS_SPI3_CLK 86 11762306a36Sopenharmony_ci#define GPOUT_SYS_SPI3_FSS 87 11862306a36Sopenharmony_ci#define GPOUT_SYS_SPI3_TXD 88 11962306a36Sopenharmony_ci#define GPOUT_SYS_I2C4_CLK 89 12062306a36Sopenharmony_ci#define GPOUT_SYS_I2C4_DATA 90 12162306a36Sopenharmony_ci#define GPOUT_SYS_UART4_RTS 91 12262306a36Sopenharmony_ci#define GPOUT_SYS_UART4_TX 92 12362306a36Sopenharmony_ci#define GPOUT_SYS_SPI4_CLK 93 12462306a36Sopenharmony_ci#define GPOUT_SYS_SPI4_FSS 94 12562306a36Sopenharmony_ci#define GPOUT_SYS_SPI4_TXD 95 12662306a36Sopenharmony_ci#define GPOUT_SYS_I2C5_CLK 96 12762306a36Sopenharmony_ci#define GPOUT_SYS_I2C5_DATA 97 12862306a36Sopenharmony_ci#define GPOUT_SYS_UART5_RTS 98 12962306a36Sopenharmony_ci#define GPOUT_SYS_UART5_TX 99 13062306a36Sopenharmony_ci#define GPOUT_SYS_SPI5_CLK 100 13162306a36Sopenharmony_ci#define GPOUT_SYS_SPI5_FSS 101 13262306a36Sopenharmony_ci#define GPOUT_SYS_SPI5_TXD 102 13362306a36Sopenharmony_ci#define GPOUT_SYS_I2C6_CLK 103 13462306a36Sopenharmony_ci#define GPOUT_SYS_I2C6_DATA 104 13562306a36Sopenharmony_ci#define GPOUT_SYS_SPI6_CLK 105 13662306a36Sopenharmony_ci#define GPOUT_SYS_SPI6_FSS 106 13762306a36Sopenharmony_ci#define GPOUT_SYS_SPI6_TXD 107 13862306a36Sopenharmony_ci 13962306a36Sopenharmony_ci/* aon_iomux dout */ 14062306a36Sopenharmony_ci#define GPOUT_AON_CLK_32K_OUT 2 14162306a36Sopenharmony_ci#define GPOUT_AON_PTC0_PWM4 3 14262306a36Sopenharmony_ci#define GPOUT_AON_PTC0_PWM5 4 14362306a36Sopenharmony_ci#define GPOUT_AON_PTC0_PWM6 5 14462306a36Sopenharmony_ci#define GPOUT_AON_PTC0_PWM7 6 14562306a36Sopenharmony_ci#define GPOUT_AON_CLK_GCLK0 7 14662306a36Sopenharmony_ci#define GPOUT_AON_CLK_GCLK1 8 14762306a36Sopenharmony_ci#define GPOUT_AON_CLK_GCLK2 9 14862306a36Sopenharmony_ci 14962306a36Sopenharmony_ci/* sys_iomux doen */ 15062306a36Sopenharmony_ci#define GPOEN_ENABLE 0 15162306a36Sopenharmony_ci#define GPOEN_DISABLE 1 15262306a36Sopenharmony_ci#define GPOEN_SYS_HDMI_CEC_SDA 2 15362306a36Sopenharmony_ci#define GPOEN_SYS_HDMI_DDC_SCL 3 15462306a36Sopenharmony_ci#define GPOEN_SYS_HDMI_DDC_SDA 4 15562306a36Sopenharmony_ci#define GPOEN_SYS_I2C0_CLK 5 15662306a36Sopenharmony_ci#define GPOEN_SYS_I2C0_DATA 6 15762306a36Sopenharmony_ci#define GPOEN_SYS_HIFI4_JTAG_TDO 7 15862306a36Sopenharmony_ci#define GPOEN_SYS_JTAG_TDO 8 15962306a36Sopenharmony_ci#define GPOEN_SYS_PWM0_CHANNEL0 9 16062306a36Sopenharmony_ci#define GPOEN_SYS_PWM0_CHANNEL1 10 16162306a36Sopenharmony_ci#define GPOEN_SYS_PWM0_CHANNEL2 11 16262306a36Sopenharmony_ci#define GPOEN_SYS_PWM0_CHANNEL3 12 16362306a36Sopenharmony_ci#define GPOEN_SYS_SPI0_NSSPCTL 13 16462306a36Sopenharmony_ci#define GPOEN_SYS_SPI0_NSSP 14 16562306a36Sopenharmony_ci#define GPOEN_SYS_TDM_SYNC 15 16662306a36Sopenharmony_ci#define GPOEN_SYS_TDM_TXD 16 16762306a36Sopenharmony_ci#define GPOEN_SYS_I2C1_CLK 17 16862306a36Sopenharmony_ci#define GPOEN_SYS_I2C1_DATA 18 16962306a36Sopenharmony_ci#define GPOEN_SYS_SDIO1_CMD 19 17062306a36Sopenharmony_ci#define GPOEN_SYS_SDIO1_DATA0 20 17162306a36Sopenharmony_ci#define GPOEN_SYS_SDIO1_DATA1 21 17262306a36Sopenharmony_ci#define GPOEN_SYS_SDIO1_DATA2 22 17362306a36Sopenharmony_ci#define GPOEN_SYS_SDIO1_DATA3 23 17462306a36Sopenharmony_ci#define GPOEN_SYS_SDIO1_DATA4 24 17562306a36Sopenharmony_ci#define GPOEN_SYS_SDIO1_DATA5 25 17662306a36Sopenharmony_ci#define GPOEN_SYS_SDIO1_DATA6 26 17762306a36Sopenharmony_ci#define GPOEN_SYS_SDIO1_DATA7 27 17862306a36Sopenharmony_ci#define GPOEN_SYS_SPI1_NSSPCTL 28 17962306a36Sopenharmony_ci#define GPOEN_SYS_SPI1_NSSP 29 18062306a36Sopenharmony_ci#define GPOEN_SYS_I2C2_CLK 30 18162306a36Sopenharmony_ci#define GPOEN_SYS_I2C2_DATA 31 18262306a36Sopenharmony_ci#define GPOEN_SYS_SPI2_NSSPCTL 32 18362306a36Sopenharmony_ci#define GPOEN_SYS_SPI2_NSSP 33 18462306a36Sopenharmony_ci#define GPOEN_SYS_I2C3_CLK 34 18562306a36Sopenharmony_ci#define GPOEN_SYS_I2C3_DATA 35 18662306a36Sopenharmony_ci#define GPOEN_SYS_SPI3_NSSPCTL 36 18762306a36Sopenharmony_ci#define GPOEN_SYS_SPI3_NSSP 37 18862306a36Sopenharmony_ci#define GPOEN_SYS_I2C4_CLK 38 18962306a36Sopenharmony_ci#define GPOEN_SYS_I2C4_DATA 39 19062306a36Sopenharmony_ci#define GPOEN_SYS_SPI4_NSSPCTL 40 19162306a36Sopenharmony_ci#define GPOEN_SYS_SPI4_NSSP 41 19262306a36Sopenharmony_ci#define GPOEN_SYS_I2C5_CLK 42 19362306a36Sopenharmony_ci#define GPOEN_SYS_I2C5_DATA 43 19462306a36Sopenharmony_ci#define GPOEN_SYS_SPI5_NSSPCTL 44 19562306a36Sopenharmony_ci#define GPOEN_SYS_SPI5_NSSP 45 19662306a36Sopenharmony_ci#define GPOEN_SYS_I2C6_CLK 46 19762306a36Sopenharmony_ci#define GPOEN_SYS_I2C6_DATA 47 19862306a36Sopenharmony_ci#define GPOEN_SYS_SPI6_NSSPCTL 48 19962306a36Sopenharmony_ci#define GPOEN_SYS_SPI6_NSSP 49 20062306a36Sopenharmony_ci 20162306a36Sopenharmony_ci/* aon_iomux doen */ 20262306a36Sopenharmony_ci#define GPOEN_AON_PTC0_OE_N_4 2 20362306a36Sopenharmony_ci#define GPOEN_AON_PTC0_OE_N_5 3 20462306a36Sopenharmony_ci#define GPOEN_AON_PTC0_OE_N_6 4 20562306a36Sopenharmony_ci#define GPOEN_AON_PTC0_OE_N_7 5 20662306a36Sopenharmony_ci 20762306a36Sopenharmony_ci/* sys_iomux gin */ 20862306a36Sopenharmony_ci#define GPI_NONE 255 20962306a36Sopenharmony_ci 21062306a36Sopenharmony_ci#define GPI_SYS_WAVE511_UART_RX 0 21162306a36Sopenharmony_ci#define GPI_SYS_CAN0_RXD 1 21262306a36Sopenharmony_ci#define GPI_SYS_USB_OVERCURRENT 2 21362306a36Sopenharmony_ci#define GPI_SYS_SPDIF 3 21462306a36Sopenharmony_ci#define GPI_SYS_JTAG_RST 4 21562306a36Sopenharmony_ci#define GPI_SYS_HDMI_CEC_SDA 5 21662306a36Sopenharmony_ci#define GPI_SYS_HDMI_DDC_SCL 6 21762306a36Sopenharmony_ci#define GPI_SYS_HDMI_DDC_SDA 7 21862306a36Sopenharmony_ci#define GPI_SYS_HDMI_HPD 8 21962306a36Sopenharmony_ci#define GPI_SYS_I2C0_CLK 9 22062306a36Sopenharmony_ci#define GPI_SYS_I2C0_DATA 10 22162306a36Sopenharmony_ci#define GPI_SYS_SDIO0_CD 11 22262306a36Sopenharmony_ci#define GPI_SYS_SDIO0_INT 12 22362306a36Sopenharmony_ci#define GPI_SYS_SDIO0_WP 13 22462306a36Sopenharmony_ci#define GPI_SYS_UART0_RX 14 22562306a36Sopenharmony_ci#define GPI_SYS_HIFI4_JTAG_TCK 15 22662306a36Sopenharmony_ci#define GPI_SYS_HIFI4_JTAG_TDI 16 22762306a36Sopenharmony_ci#define GPI_SYS_HIFI4_JTAG_TMS 17 22862306a36Sopenharmony_ci#define GPI_SYS_HIFI4_JTAG_RST 18 22962306a36Sopenharmony_ci#define GPI_SYS_JTAG_TDI 19 23062306a36Sopenharmony_ci#define GPI_SYS_JTAG_TMS 20 23162306a36Sopenharmony_ci#define GPI_SYS_PDM_DMIC0 21 23262306a36Sopenharmony_ci#define GPI_SYS_PDM_DMIC1 22 23362306a36Sopenharmony_ci#define GPI_SYS_I2SRX_SDIN0 23 23462306a36Sopenharmony_ci#define GPI_SYS_I2SRX_SDIN1 24 23562306a36Sopenharmony_ci#define GPI_SYS_I2SRX_SDIN2 25 23662306a36Sopenharmony_ci#define GPI_SYS_SPI0_CLK 26 23762306a36Sopenharmony_ci#define GPI_SYS_SPI0_FSS 27 23862306a36Sopenharmony_ci#define GPI_SYS_SPI0_RXD 28 23962306a36Sopenharmony_ci#define GPI_SYS_JTAG_TCK 29 24062306a36Sopenharmony_ci#define GPI_SYS_MCLK_EXT 30 24162306a36Sopenharmony_ci#define GPI_SYS_I2SRX_BCLK 31 24262306a36Sopenharmony_ci#define GPI_SYS_I2SRX_LRCK 32 24362306a36Sopenharmony_ci#define GPI_SYS_I2STX0_BCLK 33 24462306a36Sopenharmony_ci#define GPI_SYS_I2STX0_LRCK 34 24562306a36Sopenharmony_ci#define GPI_SYS_TDM_CLK 35 24662306a36Sopenharmony_ci#define GPI_SYS_TDM_RXD 36 24762306a36Sopenharmony_ci#define GPI_SYS_TDM_SYNC 37 24862306a36Sopenharmony_ci#define GPI_SYS_CAN1_RXD 38 24962306a36Sopenharmony_ci#define GPI_SYS_I2C1_CLK 39 25062306a36Sopenharmony_ci#define GPI_SYS_I2C1_DATA 40 25162306a36Sopenharmony_ci#define GPI_SYS_SDIO1_CD 41 25262306a36Sopenharmony_ci#define GPI_SYS_SDIO1_INT 42 25362306a36Sopenharmony_ci#define GPI_SYS_SDIO1_WP 43 25462306a36Sopenharmony_ci#define GPI_SYS_SDIO1_CMD 44 25562306a36Sopenharmony_ci#define GPI_SYS_SDIO1_DATA0 45 25662306a36Sopenharmony_ci#define GPI_SYS_SDIO1_DATA1 46 25762306a36Sopenharmony_ci#define GPI_SYS_SDIO1_DATA2 47 25862306a36Sopenharmony_ci#define GPI_SYS_SDIO1_DATA3 48 25962306a36Sopenharmony_ci#define GPI_SYS_SDIO1_DATA4 49 26062306a36Sopenharmony_ci#define GPI_SYS_SDIO1_DATA5 50 26162306a36Sopenharmony_ci#define GPI_SYS_SDIO1_DATA6 51 26262306a36Sopenharmony_ci#define GPI_SYS_SDIO1_DATA7 52 26362306a36Sopenharmony_ci#define GPI_SYS_SDIO1_STRB 53 26462306a36Sopenharmony_ci#define GPI_SYS_UART1_CTS 54 26562306a36Sopenharmony_ci#define GPI_SYS_UART1_RX 55 26662306a36Sopenharmony_ci#define GPI_SYS_SPI1_CLK 56 26762306a36Sopenharmony_ci#define GPI_SYS_SPI1_FSS 57 26862306a36Sopenharmony_ci#define GPI_SYS_SPI1_RXD 58 26962306a36Sopenharmony_ci#define GPI_SYS_I2C2_CLK 59 27062306a36Sopenharmony_ci#define GPI_SYS_I2C2_DATA 60 27162306a36Sopenharmony_ci#define GPI_SYS_UART2_CTS 61 27262306a36Sopenharmony_ci#define GPI_SYS_UART2_RX 62 27362306a36Sopenharmony_ci#define GPI_SYS_SPI2_CLK 63 27462306a36Sopenharmony_ci#define GPI_SYS_SPI2_FSS 64 27562306a36Sopenharmony_ci#define GPI_SYS_SPI2_RXD 65 27662306a36Sopenharmony_ci#define GPI_SYS_I2C3_CLK 66 27762306a36Sopenharmony_ci#define GPI_SYS_I2C3_DATA 67 27862306a36Sopenharmony_ci#define GPI_SYS_UART3_RX 68 27962306a36Sopenharmony_ci#define GPI_SYS_SPI3_CLK 69 28062306a36Sopenharmony_ci#define GPI_SYS_SPI3_FSS 70 28162306a36Sopenharmony_ci#define GPI_SYS_SPI3_RXD 71 28262306a36Sopenharmony_ci#define GPI_SYS_I2C4_CLK 72 28362306a36Sopenharmony_ci#define GPI_SYS_I2C4_DATA 73 28462306a36Sopenharmony_ci#define GPI_SYS_UART4_CTS 74 28562306a36Sopenharmony_ci#define GPI_SYS_UART4_RX 75 28662306a36Sopenharmony_ci#define GPI_SYS_SPI4_CLK 76 28762306a36Sopenharmony_ci#define GPI_SYS_SPI4_FSS 77 28862306a36Sopenharmony_ci#define GPI_SYS_SPI4_RXD 78 28962306a36Sopenharmony_ci#define GPI_SYS_I2C5_CLK 79 29062306a36Sopenharmony_ci#define GPI_SYS_I2C5_DATA 80 29162306a36Sopenharmony_ci#define GPI_SYS_UART5_CTS 81 29262306a36Sopenharmony_ci#define GPI_SYS_UART5_RX 82 29362306a36Sopenharmony_ci#define GPI_SYS_SPI5_CLK 83 29462306a36Sopenharmony_ci#define GPI_SYS_SPI5_FSS 84 29562306a36Sopenharmony_ci#define GPI_SYS_SPI5_RXD 85 29662306a36Sopenharmony_ci#define GPI_SYS_I2C6_CLK 86 29762306a36Sopenharmony_ci#define GPI_SYS_I2C6_DATA 87 29862306a36Sopenharmony_ci#define GPI_SYS_SPI6_CLK 88 29962306a36Sopenharmony_ci#define GPI_SYS_SPI6_FSS 89 30062306a36Sopenharmony_ci#define GPI_SYS_SPI6_RXD 90 30162306a36Sopenharmony_ci 30262306a36Sopenharmony_ci/* aon_iomux gin */ 30362306a36Sopenharmony_ci#define GPI_AON_PMU_GPIO_WAKEUP_0 0 30462306a36Sopenharmony_ci#define GPI_AON_PMU_GPIO_WAKEUP_1 1 30562306a36Sopenharmony_ci#define GPI_AON_PMU_GPIO_WAKEUP_2 2 30662306a36Sopenharmony_ci#define GPI_AON_PMU_GPIO_WAKEUP_3 3 30762306a36Sopenharmony_ci 30862306a36Sopenharmony_ci#endif 309