Home | History | Annotate | Line # | Download | only in dma
      1 /*	$NetBSD: x1000-dma.h,v 1.1.1.1 2020/01/03 14:33:03 skrll Exp $	*/
      2 
      3 /* SPDX-License-Identifier: GPL-2.0-only */
      4 /*
      5  * This header provides macros for X1000 DMA bindings.
      6  *
      7  * Copyright (c) 2019 Zhou Yanjie <zhouyanjie (at) zoho.com>
      8  */
      9 
     10 #ifndef __DT_BINDINGS_DMA_X1000_DMA_H__
     11 #define __DT_BINDINGS_DMA_X1000_DMA_H__
     12 
     13 /*
     14  * Request type numbers for the X1000 DMA controller (written to the DRTn
     15  * register for the channel).
     16  */
     17 #define X1000_DMA_DMIC_RX	0x5
     18 #define X1000_DMA_I2S0_TX	0x6
     19 #define X1000_DMA_I2S0_RX	0x7
     20 #define X1000_DMA_AUTO		0x8
     21 #define X1000_DMA_UART2_TX	0x10
     22 #define X1000_DMA_UART2_RX	0x11
     23 #define X1000_DMA_UART1_TX	0x12
     24 #define X1000_DMA_UART1_RX	0x13
     25 #define X1000_DMA_UART0_TX	0x14
     26 #define X1000_DMA_UART0_RX	0x15
     27 #define X1000_DMA_SSI0_TX	0x16
     28 #define X1000_DMA_SSI0_RX	0x17
     29 #define X1000_DMA_MSC0_TX	0x1a
     30 #define X1000_DMA_MSC0_RX	0x1b
     31 #define X1000_DMA_MSC1_TX	0x1c
     32 #define X1000_DMA_MSC1_RX	0x1d
     33 #define X1000_DMA_PCM0_TX	0x20
     34 #define X1000_DMA_PCM0_RX	0x21
     35 #define X1000_DMA_SMB0_TX	0x24
     36 #define X1000_DMA_SMB0_RX	0x25
     37 #define X1000_DMA_SMB1_TX	0x26
     38 #define X1000_DMA_SMB1_RX	0x27
     39 #define X1000_DMA_SMB2_TX	0x28
     40 #define X1000_DMA_SMB2_RX	0x29
     41 
     42 #endif /* __DT_BINDINGS_DMA_X1000_DMA_H__ */
     43