mirror of
				https://github.com/immortalwrt/immortalwrt.git
				synced 2025-10-30 07:49:55 +08:00 
			
		
		
		
	 7afc2da3fc
			
		
	
	7afc2da3fc
	
	
	
		
			
			Add pending patch for USB support on AN7581 SoC. This is also required to make operational the 3rd PCIe line that use the USB2 Serdes for PCIe operations. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
		
			
				
	
	
		
			36 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
| From 39537b6b334dfac001aba395229adb9318627463 Mon Sep 17 00:00:00 2001
 | |
| From: Christian Marangi <ansuelsmth@gmail.com>
 | |
| Date: Tue, 28 Oct 2025 12:09:57 +0100
 | |
| Subject: [PATCH 04/10] dt-bindings: soc: Add bindings for Airoha SCU Serdes
 | |
|  lines
 | |
| 
 | |
| The Airoha AN7581 SoC have can configure the SCU serdes lines for
 | |
| multiple purpose. For example the Serdes for the USB1 port can be both
 | |
| used for USB 3.0 operation or for Ethernet. Or the USB2 serdes can both
 | |
| used for USB 3.0 operation or for PCIe.
 | |
| 
 | |
| Add bindings to permit correct reference of the different ports in DT,
 | |
| mostly to differenciate the different supported modes internally to the
 | |
| drivers.
 | |
| 
 | |
| Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
 | |
| ---
 | |
|  include/dt-bindings/soc/airoha,scu-ssr.h | 11 +++++++++++
 | |
|  1 file changed, 11 insertions(+)
 | |
|  create mode 100644 include/dt-bindings/soc/airoha,scu-ssr.h
 | |
| 
 | |
| --- /dev/null
 | |
| +++ b/include/dt-bindings/soc/airoha,scu-ssr.h
 | |
| @@ -0,0 +1,11 @@
 | |
| +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
 | |
| +
 | |
| +#ifndef __DT_BINDINGS_AIROHA_SCU_SSR_H
 | |
| +#define __DT_BINDINGS_AIROHA_SCU_SSR_H
 | |
| +
 | |
| +#define AIROHA_SCU_SERDES_WIFI1		0
 | |
| +#define AIROHA_SCU_SERDES_WIFI2		1
 | |
| +#define AIROHA_SCU_SERDES_USB1		2
 | |
| +#define AIROHA_SCU_SERDES_USB2		3
 | |
| +
 | |
| +#endif /* __DT_BINDINGS_AIROHA_SCU_SSR_H */
 |