mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-25 18:18:19 +01:00 
			
		
		
		
	Add ethernet nodes for Serval SoCs family. There are 2 pcb in this family: pcb105 and pcb106. Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
		
			
				
	
	
		
			20 lines
		
	
	
		
			439 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			439 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
 | |
| /*
 | |
|  * Copyright (c) 2018 Microsemi Corporation
 | |
|  */
 | |
| 
 | |
| #ifndef _SERVAL_DATA_H_
 | |
| #define _SERVAL_DATA_H_
 | |
| 
 | |
| #define SERDES1G(x)     (x)
 | |
| #define SERDES1G_MAX    SERDES1G(9)
 | |
| #define SERDES6G(x)     (SERDES1G_MAX + 1 + (x))
 | |
| #define SERDES6G_MAX    SERDES6G(11)
 | |
| #define SERDES_MAX      (SERDES6G_MAX + 1)
 | |
| 
 | |
| /* similar with phy_interface_t */
 | |
| #define PHY_MODE_SGMII  2
 | |
| #define PHY_MODE_QSGMII 4
 | |
| 
 | |
| #endif
 |