Path: blob/main/sys/contrib/device-tree/include/dt-bindings/dma/x2000-dma.h
48406 views
/* SPDX-License-Identifier: GPL-2.0-only */1/*2* This header provides macros for X2000 DMA bindings.3*4* Copyright (c) 2020 周琰杰 (Zhou Yanjie) <[email protected]>5*/67#ifndef __DT_BINDINGS_DMA_X2000_DMA_H__8#define __DT_BINDINGS_DMA_X2000_DMA_H__910/*11* Request type numbers for the X2000 DMA controller (written to the DRTn12* register for the channel).13*/14#define X2000_DMA_AUTO 0x815#define X2000_DMA_UART5_TX 0xa16#define X2000_DMA_UART5_RX 0xb17#define X2000_DMA_UART4_TX 0xc18#define X2000_DMA_UART4_RX 0xd19#define X2000_DMA_UART3_TX 0xe20#define X2000_DMA_UART3_RX 0xf21#define X2000_DMA_UART2_TX 0x1022#define X2000_DMA_UART2_RX 0x1123#define X2000_DMA_UART1_TX 0x1224#define X2000_DMA_UART1_RX 0x1325#define X2000_DMA_UART0_TX 0x1426#define X2000_DMA_UART0_RX 0x1527#define X2000_DMA_SSI0_TX 0x1628#define X2000_DMA_SSI0_RX 0x1729#define X2000_DMA_SSI1_TX 0x1830#define X2000_DMA_SSI1_RX 0x1931#define X2000_DMA_I2C0_TX 0x2432#define X2000_DMA_I2C0_RX 0x2533#define X2000_DMA_I2C1_TX 0x2634#define X2000_DMA_I2C1_RX 0x2735#define X2000_DMA_I2C2_TX 0x2836#define X2000_DMA_I2C2_RX 0x2937#define X2000_DMA_I2C3_TX 0x2a38#define X2000_DMA_I2C3_RX 0x2b39#define X2000_DMA_I2C4_TX 0x2c40#define X2000_DMA_I2C4_RX 0x2d41#define X2000_DMA_I2C5_TX 0x2e42#define X2000_DMA_I2C5_RX 0x2f43#define X2000_DMA_UART6_TX 0x3044#define X2000_DMA_UART6_RX 0x3145#define X2000_DMA_UART7_TX 0x3246#define X2000_DMA_UART7_RX 0x3347#define X2000_DMA_UART8_TX 0x3448#define X2000_DMA_UART8_RX 0x3549#define X2000_DMA_UART9_TX 0x3650#define X2000_DMA_UART9_RX 0x3751#define X2000_DMA_SADC_RX 0x385253#endif /* __DT_BINDINGS_DMA_X2000_DMA_H__ */545556