1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  * Copyright (c) 2015 Zhang, Keguang <keguang.zhang@gmail.com>
4  *
5  * Loongson 1 NAND platform support.
6  */
7 
8 #ifndef __ASM_MACH_LOONGSON32_DMA_H
9 #define __ASM_MACH_LOONGSON32_DMA_H
10 
11 #define LS1X_DMA_CHANNEL0	0
12 #define LS1X_DMA_CHANNEL1	1
13 #define LS1X_DMA_CHANNEL2	2
14 
15 struct plat_ls1x_dma {
16 	int nr_channels;
17 };
18 
19 extern struct plat_ls1x_dma ls1b_dma_pdata;
20 
21 #endif /* __ASM_MACH_LOONGSON32_DMA_H */
22