kernel: rtl8367: use realtek,extif property
Use realtek,extif property instead of realtek,extif0 and realtek,extif1 by extending it with the cpu_port parameter. The extif number is automatically calculated based on cpu_port. Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/15749 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
		
				
					committed by
					
						
						Hauke Mehrtens
					
				
			
			
				
	
			
			
			
						parent
						
							d604b2699b
						
					
				
				
					commit
					343f4f3c54
				
			@@ -78,7 +78,7 @@
 | 
			
		||||
		compatible = "realtek,rtl8367";
 | 
			
		||||
		gpio-sda = <&gpio 1 GPIO_ACTIVE_HIGH>;
 | 
			
		||||
		gpio-sck = <&gpio 6 GPIO_ACTIVE_HIGH>;
 | 
			
		||||
		realtek,extif0 = <1 0 1 1 1 1 1 1 2>;
 | 
			
		||||
		realtek,extif = <9 1 0 1 1 1 1 1 1 2>;
 | 
			
		||||
 | 
			
		||||
		mdio-bus {
 | 
			
		||||
			#address-cells = <1>;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user