mirror of
				https://github.com/Telecominfraproject/wlan-ap.git
				synced 2025-10-29 17:42:41 +00:00 
			
		
		
		
	mediatek-sdk: Support AN8801SB PHY for EAP112
Signed-off-by: Sebastian Huang <sebastian_huang@accton.com>
This commit is contained in:
		 Sebastian Huang
					Sebastian Huang
				
			
				
					committed by
					
						 John Crispin
						John Crispin
					
				
			
			
				
	
			
			
			 John Crispin
						John Crispin
					
				
			
						parent
						
							6ed93db422
						
					
				
				
					commit
					5c892e7a0c
				
			| @@ -169,7 +169,8 @@ | ||||
| 		compatible = "mediatek,eth-mac"; | ||||
| 		reg = <0>; | ||||
| 		phy-mode = "sgmii"; | ||||
| 		phy-handle = <&phy1>;      // add phy handler | ||||
| 		phy-handle = <&phy30>; | ||||
| 		phy-handle2 = <&phy1>; | ||||
| 		mtd-mac-address = <&factory 0x24>; | ||||
| 	}; | ||||
|  | ||||
| @@ -193,6 +194,16 @@ | ||||
| 			nvmem-cell-names = "phy-cal-data"; | ||||
| 		}; | ||||
|  | ||||
| 		phy30: ethernet-phy@30 { // AN8801SB | ||||
| 			compatible = "ethernet-phy-idc0ff.0421"; | ||||
| 			reg = <30>; //0x1e | ||||
| 			phy-mode = "sgmii"; | ||||
| 			full-duplex; | ||||
| 			pause; | ||||
| 			airoha,surge = <0>; | ||||
| 			airoha,polarity = <2>; | ||||
| 		}; | ||||
|  | ||||
| 		phy1: ethernet-phy@1 { | ||||
| 			compatible = "ethernet-phy-id03a2.9471"; | ||||
| 			reg = <24>;            // set phy address to 0x18 | ||||
| @@ -201,7 +212,6 @@ | ||||
| 			reset-deassert-us = <20000>; | ||||
| 			phy-mode = "sgmii"; | ||||
| 		}; | ||||
|  | ||||
| 	}; | ||||
| }; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user