18c2ecf20Sopenharmony_ci#ifndef __DT_BINDINGS_DMA_JZ4780_DMA_H__
28c2ecf20Sopenharmony_ci#define __DT_BINDINGS_DMA_JZ4780_DMA_H__
38c2ecf20Sopenharmony_ci
48c2ecf20Sopenharmony_ci/*
58c2ecf20Sopenharmony_ci * Request type numbers for the JZ4780 DMA controller (written to the DRTn
68c2ecf20Sopenharmony_ci * register for the channel).
78c2ecf20Sopenharmony_ci */
88c2ecf20Sopenharmony_ci#define JZ4780_DMA_I2S1_TX	0x4
98c2ecf20Sopenharmony_ci#define JZ4780_DMA_I2S1_RX	0x5
108c2ecf20Sopenharmony_ci#define JZ4780_DMA_I2S0_TX	0x6
118c2ecf20Sopenharmony_ci#define JZ4780_DMA_I2S0_RX	0x7
128c2ecf20Sopenharmony_ci#define JZ4780_DMA_AUTO		0x8
138c2ecf20Sopenharmony_ci#define JZ4780_DMA_SADC_RX	0x9
148c2ecf20Sopenharmony_ci#define JZ4780_DMA_UART4_TX	0xc
158c2ecf20Sopenharmony_ci#define JZ4780_DMA_UART4_RX	0xd
168c2ecf20Sopenharmony_ci#define JZ4780_DMA_UART3_TX	0xe
178c2ecf20Sopenharmony_ci#define JZ4780_DMA_UART3_RX	0xf
188c2ecf20Sopenharmony_ci#define JZ4780_DMA_UART2_TX	0x10
198c2ecf20Sopenharmony_ci#define JZ4780_DMA_UART2_RX	0x11
208c2ecf20Sopenharmony_ci#define JZ4780_DMA_UART1_TX	0x12
218c2ecf20Sopenharmony_ci#define JZ4780_DMA_UART1_RX	0x13
228c2ecf20Sopenharmony_ci#define JZ4780_DMA_UART0_TX	0x14
238c2ecf20Sopenharmony_ci#define JZ4780_DMA_UART0_RX	0x15
248c2ecf20Sopenharmony_ci#define JZ4780_DMA_SSI0_TX	0x16
258c2ecf20Sopenharmony_ci#define JZ4780_DMA_SSI0_RX	0x17
268c2ecf20Sopenharmony_ci#define JZ4780_DMA_SSI1_TX	0x18
278c2ecf20Sopenharmony_ci#define JZ4780_DMA_SSI1_RX	0x19
288c2ecf20Sopenharmony_ci#define JZ4780_DMA_MSC0_TX	0x1a
298c2ecf20Sopenharmony_ci#define JZ4780_DMA_MSC0_RX	0x1b
308c2ecf20Sopenharmony_ci#define JZ4780_DMA_MSC1_TX	0x1c
318c2ecf20Sopenharmony_ci#define JZ4780_DMA_MSC1_RX	0x1d
328c2ecf20Sopenharmony_ci#define JZ4780_DMA_MSC2_TX	0x1e
338c2ecf20Sopenharmony_ci#define JZ4780_DMA_MSC2_RX	0x1f
348c2ecf20Sopenharmony_ci#define JZ4780_DMA_PCM0_TX	0x20
358c2ecf20Sopenharmony_ci#define JZ4780_DMA_PCM0_RX	0x21
368c2ecf20Sopenharmony_ci#define JZ4780_DMA_SMB0_TX	0x24
378c2ecf20Sopenharmony_ci#define JZ4780_DMA_SMB0_RX	0x25
388c2ecf20Sopenharmony_ci#define JZ4780_DMA_SMB1_TX	0x26
398c2ecf20Sopenharmony_ci#define JZ4780_DMA_SMB1_RX	0x27
408c2ecf20Sopenharmony_ci#define JZ4780_DMA_SMB2_TX	0x28
418c2ecf20Sopenharmony_ci#define JZ4780_DMA_SMB2_RX	0x29
428c2ecf20Sopenharmony_ci#define JZ4780_DMA_SMB3_TX	0x2a
438c2ecf20Sopenharmony_ci#define JZ4780_DMA_SMB3_RX	0x2b
448c2ecf20Sopenharmony_ci#define JZ4780_DMA_SMB4_TX	0x2c
458c2ecf20Sopenharmony_ci#define JZ4780_DMA_SMB4_RX	0x2d
468c2ecf20Sopenharmony_ci#define JZ4780_DMA_DES_TX	0x2e
478c2ecf20Sopenharmony_ci#define JZ4780_DMA_DES_RX	0x2f
488c2ecf20Sopenharmony_ci
498c2ecf20Sopenharmony_ci#endif /* __DT_BINDINGS_DMA_JZ4780_DMA_H__ */
50