dt-bindings: Add binding for atmel-usart in SPI mode
This patch moves the bindings for serial from serial/atmel-usart.txt to mfd/atmel-usart.txt and adds bindings for USART in SPI mode. Signed-off-by: Radu Pirea <radu.pirea@microchip.com> Reviewed-by: Rob Herring <robh@kernel.org> Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
This commit is contained in:
17
include/dt-bindings/mfd/at91-usart.h
Normal file
17
include/dt-bindings/mfd/at91-usart.h
Normal file
@@ -0,0 +1,17 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/*
|
||||
* This header provides macros for AT91 USART DT bindings.
|
||||
*
|
||||
* Copyright (C) 2018 Microchip Technology
|
||||
*
|
||||
* Author: Radu Pirea <radu.pirea@microchip.com>
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __DT_BINDINGS_AT91_USART_H__
|
||||
#define __DT_BINDINGS_AT91_USART_H__
|
||||
|
||||
#define AT91_USART_MODE_SERIAL 0
|
||||
#define AT91_USART_MODE_SPI 1
|
||||
|
||||
#endif /* __DT_BINDINGS_AT91_USART_H__ */
|
Reference in New Issue
Block a user