22 lines
551 B
C
22 lines
551 B
C
/*
|
|
* Copyright (c) 2018, Diego Sueiro
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_RDC_IMX_RDC_H_
|
|
#define ZEPHYR_INCLUDE_DT_BINDINGS_RDC_IMX_RDC_H_
|
|
|
|
#define A7_DOMAIN_ID 0
|
|
#define A9_DOMAIN_ID 0
|
|
#define M4_DOMAIN_ID 1
|
|
|
|
#define RDC_DOMAIN_PERM_NONE (0x0)
|
|
#define RDC_DOMAIN_PERM_W (0x1)
|
|
#define RDC_DOMAIN_PERM_R (0x2)
|
|
#define RDC_DOMAIN_PERM_RW (RDC_DOMAIN_PERM_W|RDC_DOMAIN_PERM_R)
|
|
|
|
#define RDC_DOMAIN_PERM(domain, perm) (perm << (domain * 2))
|
|
|
|
#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_RDC_IMX_RDC_H_ */
|