forked from luck/tmp_suning_uos_patched
a785ce4c6d
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>
18 lines
388 B
C
18 lines
388 B
C
/* 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__ */
|