162306a36Sopenharmony_ci#ifndef __DT_BINDINGS_DMA_JZ4780_DMA_H__
262306a36Sopenharmony_ci#define __DT_BINDINGS_DMA_JZ4780_DMA_H__
362306a36Sopenharmony_ci
462306a36Sopenharmony_ci/*
562306a36Sopenharmony_ci * Request type numbers for the JZ4780 DMA controller (written to the DRTn
662306a36Sopenharmony_ci * register for the channel).
762306a36Sopenharmony_ci */
862306a36Sopenharmony_ci#define JZ4780_DMA_I2S1_TX	0x4
962306a36Sopenharmony_ci#define JZ4780_DMA_I2S1_RX	0x5
1062306a36Sopenharmony_ci#define JZ4780_DMA_I2S0_TX	0x6
1162306a36Sopenharmony_ci#define JZ4780_DMA_I2S0_RX	0x7
1262306a36Sopenharmony_ci#define JZ4780_DMA_AUTO		0x8
1362306a36Sopenharmony_ci#define JZ4780_DMA_SADC_RX	0x9
1462306a36Sopenharmony_ci#define JZ4780_DMA_UART4_TX	0xc
1562306a36Sopenharmony_ci#define JZ4780_DMA_UART4_RX	0xd
1662306a36Sopenharmony_ci#define JZ4780_DMA_UART3_TX	0xe
1762306a36Sopenharmony_ci#define JZ4780_DMA_UART3_RX	0xf
1862306a36Sopenharmony_ci#define JZ4780_DMA_UART2_TX	0x10
1962306a36Sopenharmony_ci#define JZ4780_DMA_UART2_RX	0x11
2062306a36Sopenharmony_ci#define JZ4780_DMA_UART1_TX	0x12
2162306a36Sopenharmony_ci#define JZ4780_DMA_UART1_RX	0x13
2262306a36Sopenharmony_ci#define JZ4780_DMA_UART0_TX	0x14
2362306a36Sopenharmony_ci#define JZ4780_DMA_UART0_RX	0x15
2462306a36Sopenharmony_ci#define JZ4780_DMA_SSI0_TX	0x16
2562306a36Sopenharmony_ci#define JZ4780_DMA_SSI0_RX	0x17
2662306a36Sopenharmony_ci#define JZ4780_DMA_SSI1_TX	0x18
2762306a36Sopenharmony_ci#define JZ4780_DMA_SSI1_RX	0x19
2862306a36Sopenharmony_ci#define JZ4780_DMA_MSC0_TX	0x1a
2962306a36Sopenharmony_ci#define JZ4780_DMA_MSC0_RX	0x1b
3062306a36Sopenharmony_ci#define JZ4780_DMA_MSC1_TX	0x1c
3162306a36Sopenharmony_ci#define JZ4780_DMA_MSC1_RX	0x1d
3262306a36Sopenharmony_ci#define JZ4780_DMA_MSC2_TX	0x1e
3362306a36Sopenharmony_ci#define JZ4780_DMA_MSC2_RX	0x1f
3462306a36Sopenharmony_ci#define JZ4780_DMA_PCM0_TX	0x20
3562306a36Sopenharmony_ci#define JZ4780_DMA_PCM0_RX	0x21
3662306a36Sopenharmony_ci#define JZ4780_DMA_SMB0_TX	0x24
3762306a36Sopenharmony_ci#define JZ4780_DMA_SMB0_RX	0x25
3862306a36Sopenharmony_ci#define JZ4780_DMA_SMB1_TX	0x26
3962306a36Sopenharmony_ci#define JZ4780_DMA_SMB1_RX	0x27
4062306a36Sopenharmony_ci#define JZ4780_DMA_SMB2_TX	0x28
4162306a36Sopenharmony_ci#define JZ4780_DMA_SMB2_RX	0x29
4262306a36Sopenharmony_ci#define JZ4780_DMA_SMB3_TX	0x2a
4362306a36Sopenharmony_ci#define JZ4780_DMA_SMB3_RX	0x2b
4462306a36Sopenharmony_ci#define JZ4780_DMA_SMB4_TX	0x2c
4562306a36Sopenharmony_ci#define JZ4780_DMA_SMB4_RX	0x2d
4662306a36Sopenharmony_ci#define JZ4780_DMA_DES_TX	0x2e
4762306a36Sopenharmony_ci#define JZ4780_DMA_DES_RX	0x2f
4862306a36Sopenharmony_ci
4962306a36Sopenharmony_ci#endif /* __DT_BINDINGS_DMA_JZ4780_DMA_H__ */
50