ipq40xx: disable nodes instead of deleting them
There is no reason to delete the DT PHY nodes as you can just disable them. Signed-off-by: Robert Marko <robert.marko@sartura.hr>
This commit is contained in:
		 Robert Marko
					Robert Marko
				
			
				
					committed by
					
						 David Bauer
						David Bauer
					
				
			
			
				
	
			
			
			 David Bauer
						David Bauer
					
				
			
						parent
						
							378d1a6569
						
					
				
				
					commit
					ccd08ef912
				
			| @@ -24,9 +24,6 @@ | |||||||
| 			pinctrl-names = "default"; | 			pinctrl-names = "default"; | ||||||
| 			reset-gpios = <&tlmm 59 GPIO_ACTIVE_LOW>; | 			reset-gpios = <&tlmm 59 GPIO_ACTIVE_LOW>; | ||||||
| 			reset-delay-us = <2000>; | 			reset-delay-us = <2000>; | ||||||
|  |  | ||||||
| 			/delete-node/ ethernet-phy@0; |  | ||||||
| 			/delete-node/ ethernet-phy@1; |  | ||||||
| 		}; | 		}; | ||||||
|  |  | ||||||
| 		crypto@8e3a000 { | 		crypto@8e3a000 { | ||||||
| @@ -152,6 +149,14 @@ | |||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
| }; | }; | ||||||
|  |  | ||||||
|  | ðphy0 { | ||||||
|  | 	status = "disabled"; | ||||||
|  | }; | ||||||
|  |  | ||||||
|  | ðphy1 { | ||||||
|  | 	status = "disabled"; | ||||||
|  | }; | ||||||
|  |  | ||||||
| &wifi0 { | &wifi0 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
| 	qcom,ath10k-calibration-variant = "devolo,magic-2-wifi-next"; | 	qcom,ath10k-calibration-variant = "devolo,magic-2-wifi-next"; | ||||||
|   | |||||||
| @@ -47,10 +47,6 @@ | |||||||
|  |  | ||||||
| 		mdio@90000 { | 		mdio@90000 { | ||||||
| 			status = "okay"; | 			status = "okay"; | ||||||
|  |  | ||||||
| 			/delete-node/ ethernet-phy@0; |  | ||||||
| 			/delete-node/ ethernet-phy@1; |  | ||||||
| 			/delete-node/ ethernet-phy@3; |  | ||||||
| 		}; | 		}; | ||||||
|  |  | ||||||
| 		tcsr@1949000 { | 		tcsr@1949000 { | ||||||
| @@ -256,6 +252,18 @@ | |||||||
| 	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"; | ||||||
|   | |||||||
| @@ -26,12 +26,6 @@ | |||||||
| 			status = "okay"; | 			status = "okay"; | ||||||
| 			pinctrl-0 = <&mdio_pins>; | 			pinctrl-0 = <&mdio_pins>; | ||||||
| 			pinctrl-names = "default"; | 			pinctrl-names = "default"; | ||||||
|  |  | ||||||
| 			/delete-node/ ethernet-phy@1; |  | ||||||
| 			/delete-node/ ethernet-phy@2; |  | ||||||
| 			/delete-node/ ethernet-phy@3; |  | ||||||
| 			/delete-node/ ethernet-phy@4; |  | ||||||
| 			/delete-node/ psgmii-phy@5; |  | ||||||
| 		}; | 		}; | ||||||
|  |  | ||||||
| 		tcsr@1949000 { | 		tcsr@1949000 { | ||||||
| @@ -243,6 +237,30 @@ | |||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
| }; | }; | ||||||
|  |  | ||||||
|  | ðphy0 { | ||||||
|  | 	status = "disabled"; | ||||||
|  | }; | ||||||
|  |  | ||||||
|  | ðphy1 { | ||||||
|  | 	status = "disabled"; | ||||||
|  | }; | ||||||
|  |  | ||||||
|  | ðphy2 { | ||||||
|  | 	status = "disabled"; | ||||||
|  | }; | ||||||
|  |  | ||||||
|  | ðphy3 { | ||||||
|  | 	status = "disabled"; | ||||||
|  | }; | ||||||
|  |  | ||||||
|  | ðphy4 { | ||||||
|  | 	status = "disabled"; | ||||||
|  | }; | ||||||
|  |  | ||||||
|  | &psgmiiphy { | ||||||
|  | 	status = "disabled"; | ||||||
|  | }; | ||||||
|  |  | ||||||
| &wifi0 { | &wifi0 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
| 	qcom,ath10k-calibration-variant = "AVM-FRITZRepeater-1200"; | 	qcom,ath10k-calibration-variant = "AVM-FRITZRepeater-1200"; | ||||||
|   | |||||||
| @@ -47,12 +47,6 @@ | |||||||
|  |  | ||||||
| 		mdio@90000 { | 		mdio@90000 { | ||||||
| 			status = "okay"; | 			status = "okay"; | ||||||
|  |  | ||||||
| 			/delete-node/ ethernet-phy@1; |  | ||||||
| 			/delete-node/ ethernet-phy@2; |  | ||||||
| 			/delete-node/ ethernet-phy@3; |  | ||||||
| 			/delete-node/ ethernet-phy@4; |  | ||||||
| 			/delete-node/ psgmii-phy@5; |  | ||||||
| 		}; | 		}; | ||||||
|  |  | ||||||
| 		counter@4a1000 { | 		counter@4a1000 { | ||||||
| @@ -247,3 +241,23 @@ | |||||||
| 		}; | 		}; | ||||||
| 	}; | 	}; | ||||||
| }; | }; | ||||||
|  |  | ||||||
|  | ðphy1 { | ||||||
|  | 	status = "disabled"; | ||||||
|  | }; | ||||||
|  |  | ||||||
|  | ðphy2 { | ||||||
|  | 	status = "disabled"; | ||||||
|  | }; | ||||||
|  |  | ||||||
|  | ðphy3 { | ||||||
|  | 	status = "disabled"; | ||||||
|  | }; | ||||||
|  |  | ||||||
|  | ðphy4 { | ||||||
|  | 	status = "disabled"; | ||||||
|  | }; | ||||||
|  |  | ||||||
|  | &psgmiiphy { | ||||||
|  | 	status = "disabled"; | ||||||
|  | }; | ||||||
|   | |||||||
| @@ -21,13 +21,6 @@ | |||||||
| 			pinctrl-0 = <&mdio_pins>; | 			pinctrl-0 = <&mdio_pins>; | ||||||
| 			pinctrl-names = "default"; | 			pinctrl-names = "default"; | ||||||
|  |  | ||||||
| 			/delete-node/ ethernet-phy@0; |  | ||||||
| 			/delete-node/ ethernet-phy@1; |  | ||||||
| 			/delete-node/ ethernet-phy@2; |  | ||||||
| 			/delete-node/ ethernet-phy@3; |  | ||||||
| 			/delete-node/ ethernet-phy@4; |  | ||||||
| 			/delete-node/ psgmii-phy@5; |  | ||||||
|  |  | ||||||
| 			ethernet-phy@5 { | 			ethernet-phy@5 { | ||||||
| 				reg = <0x5>; | 				reg = <0x5>; | ||||||
| 			}; | 			}; | ||||||
| @@ -221,6 +214,30 @@ | |||||||
| 	}; | 	}; | ||||||
| }; | }; | ||||||
|  |  | ||||||
|  | ðphy0 { | ||||||
|  | 	status = "disabled"; | ||||||
|  | }; | ||||||
|  |  | ||||||
|  | ðphy1 { | ||||||
|  | 	status = "disabled"; | ||||||
|  | }; | ||||||
|  |  | ||||||
|  | ðphy2 { | ||||||
|  | 	status = "disabled"; | ||||||
|  | }; | ||||||
|  |  | ||||||
|  | ðphy3 { | ||||||
|  | 	status = "disabled"; | ||||||
|  | }; | ||||||
|  |  | ||||||
|  | ðphy4 { | ||||||
|  | 	status = "disabled"; | ||||||
|  | }; | ||||||
|  |  | ||||||
|  | &psgmiiphy { | ||||||
|  | 	status = "disabled"; | ||||||
|  | }; | ||||||
|  |  | ||||||
| &wifi0 { | &wifi0 { | ||||||
| 	status = "okay"; | 	status = "okay"; | ||||||
| 	nvmem-cell-names = "pre-calibration", "mac-address"; | 	nvmem-cell-names = "pre-calibration", "mac-address"; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user