mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-31 12:08:19 +00:00 
			
		
		
		
	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>
		
			
				
	
	
		
			16 lines
		
	
	
		
			413 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			16 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__ */
 |