Etienne Carriere | e5bed89 | 2019-12-08 08:15:15 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2017-2020, STMicroelectronics - All Rights Reserved |
| 3 | * |
| 4 | * SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause |
| 5 | */ |
| 6 | |
| 7 | #ifndef _DT_BINDINGS_STM32_ETZPC_H |
| 8 | #define _DT_BINDINGS_STM32_ETZPC_H |
| 9 | |
| 10 | /* DECPROT modes */ |
| 11 | #define DECPROT_S_RW 0x0 |
| 12 | #define DECPROT_NS_R_S_W 0x1 |
| 13 | #define DECPROT_MCU_ISOLATION 0x2 |
| 14 | #define DECPROT_NS_RW 0x3 |
| 15 | |
| 16 | /* DECPROT lock */ |
| 17 | #define DECPROT_UNLOCK 0x0 |
| 18 | #define DECPROT_LOCK 0x1 |
| 19 | |
| 20 | #endif /* _DT_BINDINGS_STM32_ETZPC_H */ |