18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ci#ifndef __DT_BINDINGS_DMA_DW_DMAC_H__
48c2ecf20Sopenharmony_ci#define __DT_BINDINGS_DMA_DW_DMAC_H__
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ci/*
78c2ecf20Sopenharmony_ci * Protection Control bits provide protection against illegal transactions.
88c2ecf20Sopenharmony_ci * The protection bits[0:2] are one-to-one mapped to AHB HPROT[3:1] signals.
98c2ecf20Sopenharmony_ci */
108c2ecf20Sopenharmony_ci#define DW_DMAC_HPROT1_PRIVILEGED_MODE	(1 << 0)	/* Privileged Mode */
118c2ecf20Sopenharmony_ci#define DW_DMAC_HPROT2_BUFFERABLE	(1 << 1)	/* DMA is bufferable */
128c2ecf20Sopenharmony_ci#define DW_DMAC_HPROT3_CACHEABLE	(1 << 2)	/* DMA is cacheable */
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ci#endif /* __DT_BINDINGS_DMA_DW_DMAC_H__ */
15