brintos

brintos / linux-shallow public Read only

0
0
Text · 1.6 KiB · db2cd48 Raw
55 lines · c
1/* SPDX-License-Identifier: GPL-2.0-only */2/*3 * This header provides macros for X2000 DMA bindings.4 *5 * Copyright (c) 2020 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>6 */7 8#ifndef __DT_BINDINGS_DMA_X2000_DMA_H__9#define __DT_BINDINGS_DMA_X2000_DMA_H__10 11/*12 * Request type numbers for the X2000 DMA controller (written to the DRTn13 * register for the channel).14 */15#define X2000_DMA_AUTO		0x816#define X2000_DMA_UART5_TX	0xa17#define X2000_DMA_UART5_RX	0xb18#define X2000_DMA_UART4_TX	0xc19#define X2000_DMA_UART4_RX	0xd20#define X2000_DMA_UART3_TX	0xe21#define X2000_DMA_UART3_RX	0xf22#define X2000_DMA_UART2_TX	0x1023#define X2000_DMA_UART2_RX	0x1124#define X2000_DMA_UART1_TX	0x1225#define X2000_DMA_UART1_RX	0x1326#define X2000_DMA_UART0_TX	0x1427#define X2000_DMA_UART0_RX	0x1528#define X2000_DMA_SSI0_TX	0x1629#define X2000_DMA_SSI0_RX	0x1730#define X2000_DMA_SSI1_TX	0x1831#define X2000_DMA_SSI1_RX	0x1932#define X2000_DMA_I2C0_TX	0x2433#define X2000_DMA_I2C0_RX	0x2534#define X2000_DMA_I2C1_TX	0x2635#define X2000_DMA_I2C1_RX	0x2736#define X2000_DMA_I2C2_TX	0x2837#define X2000_DMA_I2C2_RX	0x2938#define X2000_DMA_I2C3_TX	0x2a39#define X2000_DMA_I2C3_RX	0x2b40#define X2000_DMA_I2C4_TX	0x2c41#define X2000_DMA_I2C4_RX	0x2d42#define X2000_DMA_I2C5_TX	0x2e43#define X2000_DMA_I2C5_RX	0x2f44#define X2000_DMA_UART6_TX	0x3045#define X2000_DMA_UART6_RX	0x3146#define X2000_DMA_UART7_TX	0x3247#define X2000_DMA_UART7_RX	0x3348#define X2000_DMA_UART8_TX	0x3449#define X2000_DMA_UART8_RX	0x3550#define X2000_DMA_UART9_TX	0x3651#define X2000_DMA_UART9_RX	0x3752#define X2000_DMA_SADC_RX	0x3853 54#endif /* __DT_BINDINGS_DMA_X2000_DMA_H__ */55