ipq40xx: convert Buffalo WTR-M2133HP to DSA
This commit convert WTR-M2133HP to DSA setup. Signed-off-by: Yanase Yuki <dev@zpc.sakura.ne.jp>
This commit is contained in:
		 Yanase Yuki
					Yanase Yuki
				
			
				
					committed by
					
						 Christian Lamparter
						Christian Lamparter
					
				
			
			
				
	
			
			
			 Christian Lamparter
						Christian Lamparter
					
				
			
						parent
						
							6f607ba043
						
					
				
				
					commit
					edb3a4162c
				
			| @@ -82,6 +82,7 @@ ipq40xx_setup_interfaces() | |||||||
| 		ucidef_set_interface_lan "sw-eth1 sw-eth2" | 		ucidef_set_interface_lan "sw-eth1 sw-eth2" | ||||||
| 		;; | 		;; | ||||||
| 	aruba,ap-303h|\ | 	aruba,ap-303h|\ | ||||||
|  | 	buffalo,wtr-m2133hp|\ | ||||||
| 	ezviz,cs-w3-wd1200g-eup|\ | 	ezviz,cs-w3-wd1200g-eup|\ | ||||||
| 	netgear,rbr50|\ | 	netgear,rbr50|\ | ||||||
| 	netgear,rbs50|\ | 	netgear,rbs50|\ | ||||||
|   | |||||||
| @@ -417,6 +417,35 @@ | |||||||
| 	qcom,ath10k-calibration-variant = "Buffalo-WTR-M2133HP"; | 	qcom,ath10k-calibration-variant = "Buffalo-WTR-M2133HP"; | ||||||
| }; | }; | ||||||
|  |  | ||||||
|  | &switch { | ||||||
|  | 	status = "okay"; | ||||||
|  | }; | ||||||
|  |  | ||||||
|  | &swport2 { | ||||||
|  | 	status = "okay"; | ||||||
|  | 	label = "lan3"; | ||||||
|  | }; | ||||||
|  |  | ||||||
|  | &swport3 { | ||||||
|  | 	status = "okay"; | ||||||
|  | 	label = "lan2"; | ||||||
|  | }; | ||||||
|  |  | ||||||
|  | &swport4 { | ||||||
|  | 	status = "okay"; | ||||||
|  | 	label = "lan1"; | ||||||
|  | }; | ||||||
|  |  | ||||||
|  | &swport5 { | ||||||
|  | 	status = "okay"; | ||||||
|  | }; | ||||||
|  |  | ||||||
|  | &gmac { | ||||||
|  | 	status = "okay"; | ||||||
|  | 	nvmem-cell-names = "mac-address"; | ||||||
|  | 	nvmem-cells = <&macaddr_orgdata_20>; | ||||||
|  | }; | ||||||
|  |  | ||||||
| &mdio { | &mdio { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
| 	pinctrl-0 = <&mdio_pins>; | 	pinctrl-0 = <&mdio_pins>; | ||||||
|   | |||||||
| @@ -305,8 +305,7 @@ define Device/buffalo_wtr-m2133hp | |||||||
| 	BLOCKSIZE := 128k | 	BLOCKSIZE := 128k | ||||||
| 	PAGESIZE := 2048 | 	PAGESIZE := 2048 | ||||||
| endef | endef | ||||||
| # Missing DSA Setup | TARGET_DEVICES += buffalo_wtr-m2133hp | ||||||
| #TARGET_DEVICES += buffalo_wtr-m2133hp |  | ||||||
|  |  | ||||||
| define Device/cellc_rtl30vw | define Device/cellc_rtl30vw | ||||||
| 	KERNEL_SUFFIX := -zImage.itb | 	KERNEL_SUFFIX := -zImage.itb | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user