mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-27 13:33:40 +00:00
0d58dafd64
Add dt-bindings include file for Atmel Flexcom hardware block. This file is copied from Linux kernel. It is used in devicetrees from Linux. Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
15 lines
413 B
C
15 lines
413 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* This header provides macros for Atmel Flexcom DT bindings.
|
|
*
|
|
* Copyright (C) 2015 Cyrille Pitchen <cyrille.pitchen@atmel.com>
|
|
*/
|
|
|
|
#ifndef __DT_BINDINGS_ATMEL_FLEXCOM_H__
|
|
#define __DT_BINDINGS_ATMEL_FLEXCOM_H__
|
|
|
|
#define ATMEL_FLEXCOM_MODE_USART 1
|
|
#define ATMEL_FLEXCOM_MODE_SPI 2
|
|
#define ATMEL_FLEXCOM_MODE_TWI 3
|
|
|
|
#endif /* __DT_BINDINGS_ATMEL_FLEXCOM_H__ */
|