162306a36Sopenharmony_ci/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ 262306a36Sopenharmony_ci 362306a36Sopenharmony_ci#ifndef __DT_BINDINGS_DMA_DW_DMAC_H__ 462306a36Sopenharmony_ci#define __DT_BINDINGS_DMA_DW_DMAC_H__ 562306a36Sopenharmony_ci 662306a36Sopenharmony_ci/* 762306a36Sopenharmony_ci * Protection Control bits provide protection against illegal transactions. 862306a36Sopenharmony_ci * The protection bits[0:2] are one-to-one mapped to AHB HPROT[3:1] signals. 962306a36Sopenharmony_ci */ 1062306a36Sopenharmony_ci#define DW_DMAC_HPROT1_PRIVILEGED_MODE (1 << 0) /* Privileged Mode */ 1162306a36Sopenharmony_ci#define DW_DMAC_HPROT2_BUFFERABLE (1 << 1) /* DMA is bufferable */ 1262306a36Sopenharmony_ci#define DW_DMAC_HPROT3_CACHEABLE (1 << 2) /* DMA is cacheable */ 1362306a36Sopenharmony_ci 1462306a36Sopenharmony_ci#endif /* __DT_BINDINGS_DMA_DW_DMAC_H__ */ 15