ipq40xx: luma_wrtq-329acn: convert to DSA
Convert luma_wrtq-329acn device to DSA and enable it. Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com> Reviewed-by: Robert Marko <robimarko@gmail.com> [ improve commit description ] Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This commit is contained in:
		 Tomasz Maciej Nowak
					Tomasz Maciej Nowak
				
			
				
					committed by
					
						 Christian Marangi
						Christian Marangi
					
				
			
			
				
	
			
			
			 Christian Marangi
						Christian Marangi
					
				
			
						parent
						
							7df959449c
						
					
				
				
					commit
					70d9193b51
				
			| @@ -30,6 +30,7 @@ ipq40xx_setup_interfaces() | |||||||
| 	cilab,meshpoint-one|\ | 	cilab,meshpoint-one|\ | ||||||
| 	edgecore,ecw5211|\ | 	edgecore,ecw5211|\ | ||||||
| 	glinet,gl-b2200|\ | 	glinet,gl-b2200|\ | ||||||
|  | 	luma,wrtq-329acn|\ | ||||||
| 	mikrotik,cap-ac|\ | 	mikrotik,cap-ac|\ | ||||||
| 	netgear,wac510) | 	netgear,wac510) | ||||||
| 		ucidef_set_interfaces_lan_wan "lan" "wan" | 		ucidef_set_interfaces_lan_wan "lan" "wan" | ||||||
|   | |||||||
| @@ -45,10 +45,6 @@ | |||||||
| 			status = "okay"; | 			status = "okay"; | ||||||
| 		}; | 		}; | ||||||
|  |  | ||||||
| 		mdio@90000 { |  | ||||||
| 			status = "okay"; |  | ||||||
| 		}; |  | ||||||
|  |  | ||||||
| 		tcsr@1949000 { | 		tcsr@1949000 { | ||||||
| 			compatible = "qcom,tcsr"; | 			compatible = "qcom,tcsr"; | ||||||
| 			reg = <0x1949000 0x100>; | 			reg = <0x1949000 0x100>; | ||||||
| @@ -213,6 +209,45 @@ | |||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
| }; | }; | ||||||
|  |  | ||||||
|  | &gmac { | ||||||
|  | 	status = "okay"; | ||||||
|  | }; | ||||||
|  |  | ||||||
|  | ðphy0 { | ||||||
|  | 	status = "disabled"; | ||||||
|  | }; | ||||||
|  |  | ||||||
|  | ðphy1 { | ||||||
|  | 	status = "disabled"; | ||||||
|  | }; | ||||||
|  |  | ||||||
|  | ðphy3 { | ||||||
|  | 	status = "disabled"; | ||||||
|  | }; | ||||||
|  |  | ||||||
|  | &mdio { | ||||||
|  | 	status = "okay"; | ||||||
|  | }; | ||||||
|  |  | ||||||
|  | &switch { | ||||||
|  | 	status = "okay"; | ||||||
|  | }; | ||||||
|  |  | ||||||
|  | &swport3 { | ||||||
|  | 	status = "okay"; | ||||||
|  |  | ||||||
|  | 	label = "lan"; | ||||||
|  | 	nvmem-cell-names = "mac-address"; | ||||||
|  | 	nvmem-cells = <&macaddr_art_6>; | ||||||
|  | }; | ||||||
|  |  | ||||||
|  | &swport5 { | ||||||
|  | 	status = "okay"; | ||||||
|  |  | ||||||
|  | 	nvmem-cell-names = "mac-address"; | ||||||
|  | 	nvmem-cells = <&macaddr_art_0>; | ||||||
|  | }; | ||||||
|  |  | ||||||
| &tlmm { | &tlmm { | ||||||
| 	serial0_pins: serial0_pinmux { | 	serial0_pins: serial0_pinmux { | ||||||
| 		mux { | 		mux { | ||||||
| @@ -252,18 +287,6 @@ | |||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
| }; | }; | ||||||
|  |  | ||||||
| ðphy0 { |  | ||||||
| 	status = "disabled"; |  | ||||||
| }; |  | ||||||
|  |  | ||||||
| ðphy1 { |  | ||||||
| 	status = "disabled"; |  | ||||||
| }; |  | ||||||
|  |  | ||||||
| ðphy3 { |  | ||||||
| 	status = "disabled"; |  | ||||||
| }; |  | ||||||
|  |  | ||||||
| &wifi0 { | &wifi0 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
| 	nvmem-cell-names = "pre-calibration"; | 	nvmem-cell-names = "pre-calibration"; | ||||||
|   | |||||||
| @@ -727,8 +727,7 @@ define Device/luma_wrtq-329acn | |||||||
| 	BLOCKSIZE := 128k | 	BLOCKSIZE := 128k | ||||||
| 	PAGESIZE := 2048 | 	PAGESIZE := 2048 | ||||||
| endef | endef | ||||||
| # Missing DSA Setup | TARGET_DEVICES += luma_wrtq-329acn | ||||||
| #TARGET_DEVICES += luma_wrtq-329acn |  | ||||||
|  |  | ||||||
| define Device/meraki_mr33 | define Device/meraki_mr33 | ||||||
| 	$(call Device/FitImage) | 	$(call Device/FitImage) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user