David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 2 | /* |
| 3 | * This header provides macros for Atmel Flexcom DT bindings. |
| 4 | * |
| 5 | * Copyright (C) 2015 Cyrille Pitchen <cyrille.pitchen@atmel.com> |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | #ifndef __DT_BINDINGS_ATMEL_FLEXCOM_H__ |
| 9 | #define __DT_BINDINGS_ATMEL_FLEXCOM_H__ |
| 10 | |
| 11 | #define ATMEL_FLEXCOM_MODE_USART 1 |
| 12 | #define ATMEL_FLEXCOM_MODE_SPI 2 |
| 13 | #define ATMEL_FLEXCOM_MODE_TWI 3 |
| 14 | |
| 15 | #endif /* __DT_BINDINGS_ATMEL_FLEXCOM_H__ */ |