162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci#ifndef __ASM_SH7723_H__
362306a36Sopenharmony_ci#define __ASM_SH7723_H__
462306a36Sopenharmony_ci
562306a36Sopenharmony_ci/* Boot Mode Pins:
662306a36Sopenharmony_ci *
762306a36Sopenharmony_ci * MD0: CPG - Clock Mode 0->3
862306a36Sopenharmony_ci * MD1: CPG - Clock Mode 0->3
962306a36Sopenharmony_ci * MD2: CPG - Reserved (L: Normal operation)
1062306a36Sopenharmony_ci * MD3: BSC - Area0 Bus Width (16/32-bit) [CS0BCR.9,10]
1162306a36Sopenharmony_ci * MD5: BSC - Endian Mode (L: Big, H: Little) [CMNCR.3]
1262306a36Sopenharmony_ci * MD8: Test Mode
1362306a36Sopenharmony_ci */
1462306a36Sopenharmony_ci
1562306a36Sopenharmony_ci/* Pin Function Controller:
1662306a36Sopenharmony_ci * GPIO_FN_xx - GPIO used to select pin function
1762306a36Sopenharmony_ci * GPIO_Pxx - GPIO mapped to real I/O pin on CPU
1862306a36Sopenharmony_ci */
1962306a36Sopenharmony_cienum {
2062306a36Sopenharmony_ci	/* PTA */
2162306a36Sopenharmony_ci	GPIO_PTA7, GPIO_PTA6, GPIO_PTA5, GPIO_PTA4,
2262306a36Sopenharmony_ci	GPIO_PTA3, GPIO_PTA2, GPIO_PTA1, GPIO_PTA0,
2362306a36Sopenharmony_ci
2462306a36Sopenharmony_ci	/* PTB */
2562306a36Sopenharmony_ci	GPIO_PTB7, GPIO_PTB6, GPIO_PTB5, GPIO_PTB4,
2662306a36Sopenharmony_ci	GPIO_PTB3, GPIO_PTB2, GPIO_PTB1, GPIO_PTB0,
2762306a36Sopenharmony_ci
2862306a36Sopenharmony_ci	/* PTC */
2962306a36Sopenharmony_ci	GPIO_PTC7, GPIO_PTC6, GPIO_PTC5, GPIO_PTC4,
3062306a36Sopenharmony_ci	GPIO_PTC3, GPIO_PTC2, GPIO_PTC1, GPIO_PTC0,
3162306a36Sopenharmony_ci
3262306a36Sopenharmony_ci	/* PTD */
3362306a36Sopenharmony_ci	GPIO_PTD7, GPIO_PTD6, GPIO_PTD5, GPIO_PTD4,
3462306a36Sopenharmony_ci	GPIO_PTD3, GPIO_PTD2, GPIO_PTD1, GPIO_PTD0,
3562306a36Sopenharmony_ci
3662306a36Sopenharmony_ci	/* PTE */
3762306a36Sopenharmony_ci	GPIO_PTE5, GPIO_PTE4, GPIO_PTE3, GPIO_PTE2,
3862306a36Sopenharmony_ci	GPIO_PTE1, GPIO_PTE0,
3962306a36Sopenharmony_ci
4062306a36Sopenharmony_ci	/* PTF */
4162306a36Sopenharmony_ci	GPIO_PTF7, GPIO_PTF6, GPIO_PTF5, GPIO_PTF4,
4262306a36Sopenharmony_ci	GPIO_PTF3, GPIO_PTF2, GPIO_PTF1, GPIO_PTF0,
4362306a36Sopenharmony_ci
4462306a36Sopenharmony_ci	/* PTG */
4562306a36Sopenharmony_ci	GPIO_PTG5, GPIO_PTG4, GPIO_PTG3, GPIO_PTG2,
4662306a36Sopenharmony_ci	GPIO_PTG1, GPIO_PTG0,
4762306a36Sopenharmony_ci
4862306a36Sopenharmony_ci	/* PTH */
4962306a36Sopenharmony_ci	GPIO_PTH7, GPIO_PTH6, GPIO_PTH5, GPIO_PTH4,
5062306a36Sopenharmony_ci	GPIO_PTH3, GPIO_PTH2, GPIO_PTH1, GPIO_PTH0,
5162306a36Sopenharmony_ci
5262306a36Sopenharmony_ci	/* PTJ */
5362306a36Sopenharmony_ci	GPIO_PTJ7, GPIO_PTJ5, GPIO_PTJ3, GPIO_PTJ2,
5462306a36Sopenharmony_ci	GPIO_PTJ1, GPIO_PTJ0,
5562306a36Sopenharmony_ci
5662306a36Sopenharmony_ci	/* PTK */
5762306a36Sopenharmony_ci	GPIO_PTK7, GPIO_PTK6, GPIO_PTK5, GPIO_PTK4,
5862306a36Sopenharmony_ci	GPIO_PTK3, GPIO_PTK2, GPIO_PTK1, GPIO_PTK0,
5962306a36Sopenharmony_ci
6062306a36Sopenharmony_ci	/* PTL */
6162306a36Sopenharmony_ci	GPIO_PTL7, GPIO_PTL6, GPIO_PTL5, GPIO_PTL4,
6262306a36Sopenharmony_ci	GPIO_PTL3, GPIO_PTL2, GPIO_PTL1, GPIO_PTL0,
6362306a36Sopenharmony_ci
6462306a36Sopenharmony_ci	/* PTM */
6562306a36Sopenharmony_ci	GPIO_PTM7, GPIO_PTM6, GPIO_PTM5, GPIO_PTM4,
6662306a36Sopenharmony_ci	GPIO_PTM3, GPIO_PTM2, GPIO_PTM1, GPIO_PTM0,
6762306a36Sopenharmony_ci
6862306a36Sopenharmony_ci	/* PTN */
6962306a36Sopenharmony_ci	GPIO_PTN7, GPIO_PTN6, GPIO_PTN5, GPIO_PTN4,
7062306a36Sopenharmony_ci	GPIO_PTN3, GPIO_PTN2, GPIO_PTN1, GPIO_PTN0,
7162306a36Sopenharmony_ci
7262306a36Sopenharmony_ci	/* PTQ */
7362306a36Sopenharmony_ci	GPIO_PTQ3, GPIO_PTQ2, GPIO_PTQ1, GPIO_PTQ0,
7462306a36Sopenharmony_ci
7562306a36Sopenharmony_ci	/* PTR */
7662306a36Sopenharmony_ci	GPIO_PTR7, GPIO_PTR6, GPIO_PTR5, GPIO_PTR4,
7762306a36Sopenharmony_ci	GPIO_PTR3, GPIO_PTR2, GPIO_PTR1, GPIO_PTR0,
7862306a36Sopenharmony_ci
7962306a36Sopenharmony_ci	/* PTS */
8062306a36Sopenharmony_ci	GPIO_PTS7, GPIO_PTS6, GPIO_PTS5, GPIO_PTS4,
8162306a36Sopenharmony_ci	GPIO_PTS3, GPIO_PTS2, GPIO_PTS1, GPIO_PTS0,
8262306a36Sopenharmony_ci
8362306a36Sopenharmony_ci	/* PTT */
8462306a36Sopenharmony_ci	GPIO_PTT5, GPIO_PTT4, GPIO_PTT3, GPIO_PTT2,
8562306a36Sopenharmony_ci	GPIO_PTT1, GPIO_PTT0,
8662306a36Sopenharmony_ci
8762306a36Sopenharmony_ci	/* PTU */
8862306a36Sopenharmony_ci	GPIO_PTU5, GPIO_PTU4, GPIO_PTU3, GPIO_PTU2,
8962306a36Sopenharmony_ci	GPIO_PTU1, GPIO_PTU0,
9062306a36Sopenharmony_ci
9162306a36Sopenharmony_ci	/* PTV */
9262306a36Sopenharmony_ci	GPIO_PTV7, GPIO_PTV6, GPIO_PTV5, GPIO_PTV4,
9362306a36Sopenharmony_ci	GPIO_PTV3, GPIO_PTV2, GPIO_PTV1, GPIO_PTV0,
9462306a36Sopenharmony_ci
9562306a36Sopenharmony_ci	/* PTW */
9662306a36Sopenharmony_ci	GPIO_PTW7, GPIO_PTW6, GPIO_PTW5, GPIO_PTW4,
9762306a36Sopenharmony_ci	GPIO_PTW3, GPIO_PTW2, GPIO_PTW1, GPIO_PTW0,
9862306a36Sopenharmony_ci
9962306a36Sopenharmony_ci	/* PTX */
10062306a36Sopenharmony_ci	GPIO_PTX7, GPIO_PTX6, GPIO_PTX5, GPIO_PTX4,
10162306a36Sopenharmony_ci	GPIO_PTX3, GPIO_PTX2, GPIO_PTX1, GPIO_PTX0,
10262306a36Sopenharmony_ci
10362306a36Sopenharmony_ci	/* PTY */
10462306a36Sopenharmony_ci	GPIO_PTY7, GPIO_PTY6, GPIO_PTY5, GPIO_PTY4,
10562306a36Sopenharmony_ci	GPIO_PTY3, GPIO_PTY2, GPIO_PTY1, GPIO_PTY0,
10662306a36Sopenharmony_ci
10762306a36Sopenharmony_ci	/* PTZ */
10862306a36Sopenharmony_ci	GPIO_PTZ7, GPIO_PTZ6, GPIO_PTZ5, GPIO_PTZ4,
10962306a36Sopenharmony_ci	GPIO_PTZ3, GPIO_PTZ2, GPIO_PTZ1, GPIO_PTZ0,
11062306a36Sopenharmony_ci
11162306a36Sopenharmony_ci	/* SCIF0 (SCIF: 3 pin PTT/PTU) */
11262306a36Sopenharmony_ci	GPIO_FN_SCIF0_PTT_TXD, GPIO_FN_SCIF0_PTT_RXD, GPIO_FN_SCIF0_PTT_SCK,
11362306a36Sopenharmony_ci	GPIO_FN_SCIF0_PTU_TXD, GPIO_FN_SCIF0_PTU_RXD, GPIO_FN_SCIF0_PTU_SCK,
11462306a36Sopenharmony_ci
11562306a36Sopenharmony_ci	/* SCIF1 (SCIF: 3 pin PTS/PTV) */
11662306a36Sopenharmony_ci	GPIO_FN_SCIF1_PTS_TXD, GPIO_FN_SCIF1_PTS_RXD, GPIO_FN_SCIF1_PTS_SCK,
11762306a36Sopenharmony_ci	GPIO_FN_SCIF1_PTV_TXD, GPIO_FN_SCIF1_PTV_RXD, GPIO_FN_SCIF1_PTV_SCK,
11862306a36Sopenharmony_ci
11962306a36Sopenharmony_ci	/* SCIF2 (SCIF: 3 pin PTT/PTU) */
12062306a36Sopenharmony_ci	GPIO_FN_SCIF2_PTT_TXD, GPIO_FN_SCIF2_PTT_RXD, GPIO_FN_SCIF2_PTT_SCK,
12162306a36Sopenharmony_ci	GPIO_FN_SCIF2_PTU_TXD, GPIO_FN_SCIF2_PTU_RXD, GPIO_FN_SCIF2_PTU_SCK,
12262306a36Sopenharmony_ci
12362306a36Sopenharmony_ci	/* SCIF3 (SCIFA: 5 pin PTS/PTV) */
12462306a36Sopenharmony_ci	GPIO_FN_SCIF3_PTS_TXD, GPIO_FN_SCIF3_PTS_RXD, GPIO_FN_SCIF3_PTS_SCK,
12562306a36Sopenharmony_ci	GPIO_FN_SCIF3_PTS_RTS, GPIO_FN_SCIF3_PTS_CTS,
12662306a36Sopenharmony_ci	GPIO_FN_SCIF3_PTV_TXD, GPIO_FN_SCIF3_PTV_RXD, GPIO_FN_SCIF3_PTV_SCK,
12762306a36Sopenharmony_ci	GPIO_FN_SCIF3_PTV_RTS, GPIO_FN_SCIF3_PTV_CTS,
12862306a36Sopenharmony_ci
12962306a36Sopenharmony_ci	/* SCIF4 (SCIFA: 3 pin PTE/PTN) */
13062306a36Sopenharmony_ci	GPIO_FN_SCIF4_PTE_TXD, GPIO_FN_SCIF4_PTE_RXD, GPIO_FN_SCIF4_PTE_SCK,
13162306a36Sopenharmony_ci	GPIO_FN_SCIF4_PTN_TXD, GPIO_FN_SCIF4_PTN_RXD, GPIO_FN_SCIF4_PTN_SCK,
13262306a36Sopenharmony_ci
13362306a36Sopenharmony_ci	/* SCIF5 (SCIFA: 3 pin PTE/PTN) */
13462306a36Sopenharmony_ci	GPIO_FN_SCIF5_PTE_TXD, GPIO_FN_SCIF5_PTE_RXD, GPIO_FN_SCIF5_PTE_SCK,
13562306a36Sopenharmony_ci	GPIO_FN_SCIF5_PTN_TXD, GPIO_FN_SCIF5_PTN_RXD, GPIO_FN_SCIF5_PTN_SCK,
13662306a36Sopenharmony_ci
13762306a36Sopenharmony_ci	/* CEU */
13862306a36Sopenharmony_ci	GPIO_FN_VIO_D15, GPIO_FN_VIO_D14, GPIO_FN_VIO_D13, GPIO_FN_VIO_D12,
13962306a36Sopenharmony_ci	GPIO_FN_VIO_D11, GPIO_FN_VIO_D10, GPIO_FN_VIO_D9, GPIO_FN_VIO_D8,
14062306a36Sopenharmony_ci	GPIO_FN_VIO_D7, GPIO_FN_VIO_D6, GPIO_FN_VIO_D5, GPIO_FN_VIO_D4,
14162306a36Sopenharmony_ci	GPIO_FN_VIO_D3, GPIO_FN_VIO_D2, GPIO_FN_VIO_D1, GPIO_FN_VIO_D0,
14262306a36Sopenharmony_ci	GPIO_FN_VIO_FLD, GPIO_FN_VIO_CKO,
14362306a36Sopenharmony_ci	GPIO_FN_VIO_VD1, GPIO_FN_VIO_HD1, GPIO_FN_VIO_CLK1,
14462306a36Sopenharmony_ci	GPIO_FN_VIO_VD2, GPIO_FN_VIO_HD2, GPIO_FN_VIO_CLK2,
14562306a36Sopenharmony_ci
14662306a36Sopenharmony_ci	/* LCDC */
14762306a36Sopenharmony_ci	GPIO_FN_LCDD23, GPIO_FN_LCDD22, GPIO_FN_LCDD21, GPIO_FN_LCDD20,
14862306a36Sopenharmony_ci	GPIO_FN_LCDD19, GPIO_FN_LCDD18, GPIO_FN_LCDD17, GPIO_FN_LCDD16,
14962306a36Sopenharmony_ci	GPIO_FN_LCDD15, GPIO_FN_LCDD14, GPIO_FN_LCDD13, GPIO_FN_LCDD12,
15062306a36Sopenharmony_ci	GPIO_FN_LCDD11, GPIO_FN_LCDD10, GPIO_FN_LCDD9, GPIO_FN_LCDD8,
15162306a36Sopenharmony_ci	GPIO_FN_LCDD7, GPIO_FN_LCDD6, GPIO_FN_LCDD5, GPIO_FN_LCDD4,
15262306a36Sopenharmony_ci	GPIO_FN_LCDD3, GPIO_FN_LCDD2, GPIO_FN_LCDD1, GPIO_FN_LCDD0,
15362306a36Sopenharmony_ci	GPIO_FN_LCDLCLK_PTR, GPIO_FN_LCDLCLK_PTW,
15462306a36Sopenharmony_ci	/* Main LCD */
15562306a36Sopenharmony_ci	GPIO_FN_LCDDON, GPIO_FN_LCDVCPWC, GPIO_FN_LCDVEPWC, GPIO_FN_LCDVSYN,
15662306a36Sopenharmony_ci	/* Main LCD - RGB Mode */
15762306a36Sopenharmony_ci	GPIO_FN_LCDDCK, GPIO_FN_LCDHSYN, GPIO_FN_LCDDISP,
15862306a36Sopenharmony_ci	/* Main LCD - SYS Mode */
15962306a36Sopenharmony_ci	GPIO_FN_LCDRS, GPIO_FN_LCDCS, GPIO_FN_LCDWR, GPIO_FN_LCDRD,
16062306a36Sopenharmony_ci
16162306a36Sopenharmony_ci	/* IRQ */
16262306a36Sopenharmony_ci	GPIO_FN_IRQ0, GPIO_FN_IRQ1, GPIO_FN_IRQ2, GPIO_FN_IRQ3,
16362306a36Sopenharmony_ci	GPIO_FN_IRQ4, GPIO_FN_IRQ5, GPIO_FN_IRQ6, GPIO_FN_IRQ7,
16462306a36Sopenharmony_ci
16562306a36Sopenharmony_ci	/* AUD */
16662306a36Sopenharmony_ci	GPIO_FN_AUDATA3, GPIO_FN_AUDATA2, GPIO_FN_AUDATA1, GPIO_FN_AUDATA0,
16762306a36Sopenharmony_ci	GPIO_FN_AUDCK, GPIO_FN_AUDSYNC,
16862306a36Sopenharmony_ci
16962306a36Sopenharmony_ci	/* SDHI0 (PTD) */
17062306a36Sopenharmony_ci	GPIO_FN_SDHI0CD_PTD, GPIO_FN_SDHI0WP_PTD,
17162306a36Sopenharmony_ci	GPIO_FN_SDHI0D3_PTD, GPIO_FN_SDHI0D2_PTD,
17262306a36Sopenharmony_ci	GPIO_FN_SDHI0D1_PTD, GPIO_FN_SDHI0D0_PTD,
17362306a36Sopenharmony_ci	GPIO_FN_SDHI0CMD_PTD, GPIO_FN_SDHI0CLK_PTD,
17462306a36Sopenharmony_ci
17562306a36Sopenharmony_ci	/* SDHI0 (PTS) */
17662306a36Sopenharmony_ci	GPIO_FN_SDHI0CD_PTS, GPIO_FN_SDHI0WP_PTS,
17762306a36Sopenharmony_ci	GPIO_FN_SDHI0D3_PTS, GPIO_FN_SDHI0D2_PTS,
17862306a36Sopenharmony_ci	GPIO_FN_SDHI0D1_PTS, GPIO_FN_SDHI0D0_PTS,
17962306a36Sopenharmony_ci	GPIO_FN_SDHI0CMD_PTS, GPIO_FN_SDHI0CLK_PTS,
18062306a36Sopenharmony_ci
18162306a36Sopenharmony_ci	/* SDHI1 */
18262306a36Sopenharmony_ci	GPIO_FN_SDHI1CD, GPIO_FN_SDHI1WP, GPIO_FN_SDHI1D3, GPIO_FN_SDHI1D2,
18362306a36Sopenharmony_ci	GPIO_FN_SDHI1D1, GPIO_FN_SDHI1D0, GPIO_FN_SDHI1CMD, GPIO_FN_SDHI1CLK,
18462306a36Sopenharmony_ci
18562306a36Sopenharmony_ci	/* SIUA */
18662306a36Sopenharmony_ci	GPIO_FN_SIUAFCK, GPIO_FN_SIUAILR, GPIO_FN_SIUAIBT, GPIO_FN_SIUAISLD,
18762306a36Sopenharmony_ci	GPIO_FN_SIUAOLR, GPIO_FN_SIUAOBT, GPIO_FN_SIUAOSLD, GPIO_FN_SIUAMCK,
18862306a36Sopenharmony_ci	GPIO_FN_SIUAISPD, GPIO_FN_SIUAOSPD,
18962306a36Sopenharmony_ci
19062306a36Sopenharmony_ci	/* SIUB */
19162306a36Sopenharmony_ci	GPIO_FN_SIUBFCK, GPIO_FN_SIUBILR, GPIO_FN_SIUBIBT, GPIO_FN_SIUBISLD,
19262306a36Sopenharmony_ci	GPIO_FN_SIUBOLR, GPIO_FN_SIUBOBT, GPIO_FN_SIUBOSLD, GPIO_FN_SIUBMCK,
19362306a36Sopenharmony_ci
19462306a36Sopenharmony_ci	/* IRDA */
19562306a36Sopenharmony_ci	GPIO_FN_IRDA_IN, GPIO_FN_IRDA_OUT,
19662306a36Sopenharmony_ci
19762306a36Sopenharmony_ci	/* VOU */
19862306a36Sopenharmony_ci	GPIO_FN_DV_CLKI, GPIO_FN_DV_CLK, GPIO_FN_DV_HSYNC, GPIO_FN_DV_VSYNC,
19962306a36Sopenharmony_ci	GPIO_FN_DV_D15, GPIO_FN_DV_D14, GPIO_FN_DV_D13, GPIO_FN_DV_D12,
20062306a36Sopenharmony_ci	GPIO_FN_DV_D11, GPIO_FN_DV_D10, GPIO_FN_DV_D9, GPIO_FN_DV_D8,
20162306a36Sopenharmony_ci	GPIO_FN_DV_D7, GPIO_FN_DV_D6, GPIO_FN_DV_D5, GPIO_FN_DV_D4,
20262306a36Sopenharmony_ci	GPIO_FN_DV_D3, GPIO_FN_DV_D2, GPIO_FN_DV_D1, GPIO_FN_DV_D0,
20362306a36Sopenharmony_ci
20462306a36Sopenharmony_ci	/* KEYSC */
20562306a36Sopenharmony_ci	GPIO_FN_KEYIN0, GPIO_FN_KEYIN1, GPIO_FN_KEYIN2, GPIO_FN_KEYIN3,
20662306a36Sopenharmony_ci	GPIO_FN_KEYIN4, GPIO_FN_KEYOUT0, GPIO_FN_KEYOUT1, GPIO_FN_KEYOUT2,
20762306a36Sopenharmony_ci	GPIO_FN_KEYOUT3, GPIO_FN_KEYOUT4_IN6, GPIO_FN_KEYOUT5_IN5,
20862306a36Sopenharmony_ci
20962306a36Sopenharmony_ci	/* MSIOF0 (PTF) */
21062306a36Sopenharmony_ci	GPIO_FN_MSIOF0_PTF_TXD, GPIO_FN_MSIOF0_PTF_RXD, GPIO_FN_MSIOF0_PTF_MCK,
21162306a36Sopenharmony_ci	GPIO_FN_MSIOF0_PTF_TSYNC, GPIO_FN_MSIOF0_PTF_TSCK,
21262306a36Sopenharmony_ci	GPIO_FN_MSIOF0_PTF_RSYNC, GPIO_FN_MSIOF0_PTF_RSCK,
21362306a36Sopenharmony_ci	GPIO_FN_MSIOF0_PTF_SS1, GPIO_FN_MSIOF0_PTF_SS2,
21462306a36Sopenharmony_ci
21562306a36Sopenharmony_ci	/* MSIOF0 (PTT+PTX) */
21662306a36Sopenharmony_ci	GPIO_FN_MSIOF0_PTT_TXD, GPIO_FN_MSIOF0_PTT_RXD, GPIO_FN_MSIOF0_PTX_MCK,
21762306a36Sopenharmony_ci	GPIO_FN_MSIOF0_PTT_TSYNC, GPIO_FN_MSIOF0_PTT_TSCK,
21862306a36Sopenharmony_ci	GPIO_FN_MSIOF0_PTT_RSYNC, GPIO_FN_MSIOF0_PTT_RSCK,
21962306a36Sopenharmony_ci	GPIO_FN_MSIOF0_PTT_SS1, GPIO_FN_MSIOF0_PTT_SS2,
22062306a36Sopenharmony_ci
22162306a36Sopenharmony_ci	/* MSIOF1 */
22262306a36Sopenharmony_ci	GPIO_FN_MSIOF1_TXD, GPIO_FN_MSIOF1_RXD, GPIO_FN_MSIOF1_MCK,
22362306a36Sopenharmony_ci	GPIO_FN_MSIOF1_TSYNC, GPIO_FN_MSIOF1_TSCK,
22462306a36Sopenharmony_ci	GPIO_FN_MSIOF1_RSYNC, GPIO_FN_MSIOF1_RSCK,
22562306a36Sopenharmony_ci	GPIO_FN_MSIOF1_SS1, GPIO_FN_MSIOF1_SS2,
22662306a36Sopenharmony_ci
22762306a36Sopenharmony_ci	/* TSIF */
22862306a36Sopenharmony_ci	GPIO_FN_TS0_SDAT, GPIO_FN_TS0_SCK, GPIO_FN_TS0_SDEN, GPIO_FN_TS0_SPSYNC,
22962306a36Sopenharmony_ci
23062306a36Sopenharmony_ci	/* FLCTL */
23162306a36Sopenharmony_ci	GPIO_FN_FCE, GPIO_FN_NAF7, GPIO_FN_NAF6, GPIO_FN_NAF5, GPIO_FN_NAF4,
23262306a36Sopenharmony_ci	GPIO_FN_NAF3, GPIO_FN_NAF2, GPIO_FN_NAF1, GPIO_FN_NAF0, GPIO_FN_FCDE,
23362306a36Sopenharmony_ci	GPIO_FN_FOE, GPIO_FN_FSC, GPIO_FN_FWE, GPIO_FN_FRB,
23462306a36Sopenharmony_ci
23562306a36Sopenharmony_ci	/* DMAC */
23662306a36Sopenharmony_ci	GPIO_FN_DACK1, GPIO_FN_DREQ1, GPIO_FN_DACK0, GPIO_FN_DREQ0,
23762306a36Sopenharmony_ci
23862306a36Sopenharmony_ci	/* ADC */
23962306a36Sopenharmony_ci	GPIO_FN_AN3, GPIO_FN_AN2, GPIO_FN_AN1, GPIO_FN_AN0, GPIO_FN_ADTRG,
24062306a36Sopenharmony_ci
24162306a36Sopenharmony_ci	/* CPG */
24262306a36Sopenharmony_ci	GPIO_FN_STATUS0, GPIO_FN_PDSTATUS,
24362306a36Sopenharmony_ci
24462306a36Sopenharmony_ci	/* TPU */
24562306a36Sopenharmony_ci	GPIO_FN_TPUTO3, GPIO_FN_TPUTO2, GPIO_FN_TPUTO1, GPIO_FN_TPUTO0,
24662306a36Sopenharmony_ci
24762306a36Sopenharmony_ci	/* BSC */
24862306a36Sopenharmony_ci	GPIO_FN_D31, GPIO_FN_D30, GPIO_FN_D29, GPIO_FN_D28,
24962306a36Sopenharmony_ci	GPIO_FN_D27, GPIO_FN_D26, GPIO_FN_D25, GPIO_FN_D24,
25062306a36Sopenharmony_ci	GPIO_FN_D23, GPIO_FN_D22, GPIO_FN_D21, GPIO_FN_D20,
25162306a36Sopenharmony_ci	GPIO_FN_D19, GPIO_FN_D18, GPIO_FN_D17, GPIO_FN_D16,
25262306a36Sopenharmony_ci	GPIO_FN_IOIS16, GPIO_FN_WAIT, GPIO_FN_BS,
25362306a36Sopenharmony_ci	GPIO_FN_A25, GPIO_FN_A24, GPIO_FN_A23, GPIO_FN_A22,
25462306a36Sopenharmony_ci	GPIO_FN_CS6B_CE1B, GPIO_FN_CS6A_CE2B,
25562306a36Sopenharmony_ci	GPIO_FN_CS5B_CE1A, GPIO_FN_CS5A_CE2A,
25662306a36Sopenharmony_ci	GPIO_FN_WE3_ICIOWR, GPIO_FN_WE2_ICIORD,
25762306a36Sopenharmony_ci
25862306a36Sopenharmony_ci	/* ATAPI */
25962306a36Sopenharmony_ci	GPIO_FN_IDED15, GPIO_FN_IDED14, GPIO_FN_IDED13, GPIO_FN_IDED12,
26062306a36Sopenharmony_ci	GPIO_FN_IDED11, GPIO_FN_IDED10, GPIO_FN_IDED9, GPIO_FN_IDED8,
26162306a36Sopenharmony_ci	GPIO_FN_IDED7, GPIO_FN_IDED6, GPIO_FN_IDED5, GPIO_FN_IDED4,
26262306a36Sopenharmony_ci	GPIO_FN_IDED3, GPIO_FN_IDED2, GPIO_FN_IDED1, GPIO_FN_IDED0,
26362306a36Sopenharmony_ci	GPIO_FN_DIRECTION, GPIO_FN_EXBUF_ENB, GPIO_FN_IDERST, GPIO_FN_IODACK,
26462306a36Sopenharmony_ci	GPIO_FN_IODREQ, GPIO_FN_IDEIORDY, GPIO_FN_IDEINT, GPIO_FN_IDEIOWR,
26562306a36Sopenharmony_ci	GPIO_FN_IDEIORD, GPIO_FN_IDECS1, GPIO_FN_IDECS0, GPIO_FN_IDEA2,
26662306a36Sopenharmony_ci	GPIO_FN_IDEA1, GPIO_FN_IDEA0,
26762306a36Sopenharmony_ci};
26862306a36Sopenharmony_ci
26962306a36Sopenharmony_cienum {
27062306a36Sopenharmony_ci	HWBLK_TLB, HWBLK_IC, HWBLK_OC, HWBLK_L2C, HWBLK_ILMEM, HWBLK_FPU,
27162306a36Sopenharmony_ci	HWBLK_INTC, HWBLK_DMAC0, HWBLK_SHYWAY,
27262306a36Sopenharmony_ci	HWBLK_HUDI, HWBLK_UBC,
27362306a36Sopenharmony_ci	HWBLK_TMU0, HWBLK_CMT, HWBLK_RWDT, HWBLK_DMAC1, HWBLK_TMU1,
27462306a36Sopenharmony_ci	HWBLK_FLCTL,
27562306a36Sopenharmony_ci	HWBLK_SCIF0, HWBLK_SCIF1, HWBLK_SCIF2,
27662306a36Sopenharmony_ci	HWBLK_SCIF3, HWBLK_SCIF4, HWBLK_SCIF5,
27762306a36Sopenharmony_ci	HWBLK_MSIOF0, HWBLK_MSIOF1, HWBLK_MERAM, HWBLK_IIC, HWBLK_RTC,
27862306a36Sopenharmony_ci	HWBLK_ATAPI, HWBLK_ADC, HWBLK_TPU, HWBLK_IRDA, HWBLK_TSIF, HWBLK_ICB,
27962306a36Sopenharmony_ci	HWBLK_SDHI0, HWBLK_SDHI1, HWBLK_KEYSC, HWBLK_USB,
28062306a36Sopenharmony_ci	HWBLK_2DG, HWBLK_SIU, HWBLK_VEU2H1, HWBLK_VOU, HWBLK_BEU, HWBLK_CEU,
28162306a36Sopenharmony_ci	HWBLK_VEU2H0, HWBLK_VPU, HWBLK_LCDC,
28262306a36Sopenharmony_ci	HWBLK_NR,
28362306a36Sopenharmony_ci};
28462306a36Sopenharmony_ci
28562306a36Sopenharmony_ci#endif /* __ASM_SH7723_H__ */
286