Commit de332de2 authored by Maxime Ripard's avatar Maxime Ripard

ARM: dts: sunxi: Switch from phy to phy-handle

The phy device tree property has been deprecated in favor of phy-handle,
let's replace it.
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@bootlin.com>
parent 2a40d1b2
...@@ -125,7 +125,7 @@ &ehci1 { ...@@ -125,7 +125,7 @@ &ehci1 {
}; };
&emac { &emac {
phy = <&phy1>; phy-handle = <&phy1>;
status = "okay"; status = "okay";
}; };
......
...@@ -68,7 +68,7 @@ &ehci1 { ...@@ -68,7 +68,7 @@ &ehci1 {
}; };
&emac { &emac {
phy = <&phy1>; phy-handle = <&phy1>;
status = "okay"; status = "okay";
}; };
......
...@@ -114,7 +114,7 @@ &ehci1 { ...@@ -114,7 +114,7 @@ &ehci1 {
}; };
&emac { &emac {
phy = <&phy1>; phy-handle = <&phy1>;
status = "okay"; status = "okay";
}; };
......
...@@ -80,7 +80,7 @@ &ehci1 { ...@@ -80,7 +80,7 @@ &ehci1 {
}; };
&emac { &emac {
phy = <&phy0>; phy-handle = <&phy0>;
status = "okay"; status = "okay";
}; };
......
...@@ -58,7 +58,7 @@ &ahci { ...@@ -58,7 +58,7 @@ &ahci {
&emac { &emac {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&emac_pins>; pinctrl-0 = <&emac_pins>;
phy = <&phy1>; phy-handle = <&phy1>;
status = "okay"; status = "okay";
}; };
......
...@@ -94,7 +94,7 @@ &ehci1 { ...@@ -94,7 +94,7 @@ &ehci1 {
}; };
&emac { &emac {
phy = <&phy1>; phy-handle = <&phy1>;
status = "okay"; status = "okay";
}; };
......
...@@ -105,7 +105,7 @@ &emac_sram { ...@@ -105,7 +105,7 @@ &emac_sram {
}; };
&emac { &emac {
phy = <&phy1>; phy-handle = <&phy1>;
status = "okay"; status = "okay";
}; };
......
...@@ -112,7 +112,7 @@ &ehci1 { ...@@ -112,7 +112,7 @@ &ehci1 {
}; };
&emac { &emac {
phy = <&phy1>; phy-handle = <&phy1>;
status = "okay"; status = "okay";
}; };
......
...@@ -110,7 +110,7 @@ &ehci1 { ...@@ -110,7 +110,7 @@ &ehci1 {
}; };
&emac { &emac {
phy = <&phy1>; phy-handle = <&phy1>;
status = "okay"; status = "okay";
}; };
......
...@@ -98,7 +98,7 @@ &ehci0 { ...@@ -98,7 +98,7 @@ &ehci0 {
&emac { &emac {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&emac_pa_pins>; pinctrl-0 = <&emac_pa_pins>;
phy = <&phy1>; phy-handle = <&phy1>;
status = "okay"; status = "okay";
}; };
......
...@@ -91,7 +91,7 @@ &ehci0 { ...@@ -91,7 +91,7 @@ &ehci0 {
&emac { &emac {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&emac_pd_pins>; pinctrl-0 = <&emac_pd_pins>;
phy = <&phy1>; phy-handle = <&phy1>;
status = "okay"; status = "okay";
}; };
......
...@@ -76,7 +76,7 @@ &ehci1 { ...@@ -76,7 +76,7 @@ &ehci1 {
&gmac { &gmac {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&gmac_rgmii_pins>; pinctrl-0 = <&gmac_rgmii_pins>;
phy = <&phy1>; phy-handle = <&phy1>;
phy-mode = "rgmii"; phy-mode = "rgmii";
status = "okay"; status = "okay";
......
...@@ -153,7 +153,7 @@ &ehci0 { ...@@ -153,7 +153,7 @@ &ehci0 {
&gmac { &gmac {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&gmac_rgmii_pins>; pinctrl-0 = <&gmac_rgmii_pins>;
phy = <&phy1>; phy-handle = <&phy1>;
phy-mode = "rgmii"; phy-mode = "rgmii";
status = "okay"; status = "okay";
......
...@@ -117,7 +117,7 @@ &ehci1 { ...@@ -117,7 +117,7 @@ &ehci1 {
&gmac { &gmac {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&gmac_mii_pins>; pinctrl-0 = <&gmac_mii_pins>;
phy = <&phy1>; phy-handle = <&phy1>;
phy-mode = "mii"; phy-mode = "mii";
status = "okay"; status = "okay";
......
...@@ -84,7 +84,7 @@ &ehci1 { ...@@ -84,7 +84,7 @@ &ehci1 {
&gmac { &gmac {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&gmac_mii_pins>; pinctrl-0 = <&gmac_mii_pins>;
phy = <&phy1>; phy-handle = <&phy1>;
phy-mode = "mii"; phy-mode = "mii";
phy-supply = <&reg_dldo1>; phy-supply = <&reg_dldo1>;
status = "okay"; status = "okay";
......
...@@ -84,7 +84,7 @@ &ehci1 { ...@@ -84,7 +84,7 @@ &ehci1 {
&gmac { &gmac {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&gmac_mii_pins>; pinctrl-0 = <&gmac_mii_pins>;
phy = <&phy1>; phy-handle = <&phy1>;
phy-mode = "mii"; phy-mode = "mii";
phy-supply = <&reg_dldo1>; phy-supply = <&reg_dldo1>;
status = "okay"; status = "okay";
......
...@@ -67,7 +67,7 @@ &ehci1 { ...@@ -67,7 +67,7 @@ &ehci1 {
&gmac { &gmac {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&gmac_mii_pins>; pinctrl-0 = <&gmac_mii_pins>;
phy = <&phy1>; phy-handle = <&phy1>;
phy-mode = "mii"; phy-mode = "mii";
status = "okay"; status = "okay";
phy1: ethernet-phy@1 { phy1: ethernet-phy@1 {
......
...@@ -115,7 +115,7 @@ &ehci1 { ...@@ -115,7 +115,7 @@ &ehci1 {
&gmac { &gmac {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&gmac_mii_pins>; pinctrl-0 = <&gmac_mii_pins>;
phy = <&phy1>; phy-handle = <&phy1>;
phy-mode = "mii"; phy-mode = "mii";
phy-supply = <&reg_dldo1>; phy-supply = <&reg_dldo1>;
status = "okay"; status = "okay";
......
...@@ -92,7 +92,7 @@ &ehci0 { ...@@ -92,7 +92,7 @@ &ehci0 {
&gmac { &gmac {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&gmac_rgmii_pins>; pinctrl-0 = <&gmac_rgmii_pins>;
phy = <&phy1>; phy-handle = <&phy1>;
phy-mode = "rgmii"; phy-mode = "rgmii";
phy-supply = <&reg_dldo1>; phy-supply = <&reg_dldo1>;
status = "okay"; status = "okay";
......
...@@ -129,7 +129,7 @@ &ehci1 { ...@@ -129,7 +129,7 @@ &ehci1 {
&gmac { &gmac {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&gmac_rgmii_pins>; pinctrl-0 = <&gmac_rgmii_pins>;
phy = <&phy1>; phy-handle = <&phy1>;
phy-mode = "rgmii"; phy-mode = "rgmii";
phy-supply = <&reg_gmac_3v3>; phy-supply = <&reg_gmac_3v3>;
status = "okay"; status = "okay";
......
...@@ -131,7 +131,7 @@ &ehci1 { ...@@ -131,7 +131,7 @@ &ehci1 {
&gmac { &gmac {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&gmac_rgmii_pins>; pinctrl-0 = <&gmac_rgmii_pins>;
phy = <&phy1>; phy-handle = <&phy1>;
phy-mode = "rgmii"; phy-mode = "rgmii";
phy-supply = <&reg_gmac_3v3>; phy-supply = <&reg_gmac_3v3>;
status = "okay"; status = "okay";
......
...@@ -109,7 +109,7 @@ &ehci1 { ...@@ -109,7 +109,7 @@ &ehci1 {
&gmac { &gmac {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&gmac_rgmii_pins>; pinctrl-0 = <&gmac_rgmii_pins>;
phy = <&phy1>; phy-handle = <&phy1>;
phy-mode = "rgmii"; phy-mode = "rgmii";
phy-supply = <&reg_gmac_3v3>; phy-supply = <&reg_gmac_3v3>;
status = "okay"; status = "okay";
......
...@@ -115,7 +115,7 @@ &ehci1 { ...@@ -115,7 +115,7 @@ &ehci1 {
&gmac { &gmac {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&gmac_mii_pins>; pinctrl-0 = <&gmac_mii_pins>;
phy = <&phy1>; phy-handle = <&phy1>;
phy-mode = "mii"; phy-mode = "mii";
status = "okay"; status = "okay";
......
...@@ -150,7 +150,7 @@ &ehci1 { ...@@ -150,7 +150,7 @@ &ehci1 {
&gmac { &gmac {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&gmac_rgmii_pins>; pinctrl-0 = <&gmac_rgmii_pins>;
phy = <&phy1>; phy-handle = <&phy1>;
phy-mode = "rgmii"; phy-mode = "rgmii";
status = "okay"; status = "okay";
......
...@@ -100,7 +100,7 @@ &ehci1 { ...@@ -100,7 +100,7 @@ &ehci1 {
&gmac { &gmac {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&gmac_rgmii_pins>; pinctrl-0 = <&gmac_rgmii_pins>;
phy = <&phy1>; phy-handle = <&phy1>;
phy-mode = "rgmii"; phy-mode = "rgmii";
phy-supply = <&reg_gmac_vdd>; phy-supply = <&reg_gmac_vdd>;
status = "okay"; status = "okay";
......
...@@ -115,7 +115,7 @@ &ehci1 { ...@@ -115,7 +115,7 @@ &ehci1 {
&gmac { &gmac {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&gmac_mii_pins>; pinctrl-0 = <&gmac_mii_pins>;
phy = <&phy1>; phy-handle = <&phy1>;
phy-mode = "mii"; phy-mode = "mii";
phy-supply = <&reg_gmac_3v3>; phy-supply = <&reg_gmac_3v3>;
status = "okay"; status = "okay";
......
...@@ -76,7 +76,7 @@ &ehci1 { ...@@ -76,7 +76,7 @@ &ehci1 {
&gmac { &gmac {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&gmac_mii_pins>; pinctrl-0 = <&gmac_mii_pins>;
phy = <&phy1>; phy-handle = <&phy1>;
phy-mode = "mii"; phy-mode = "mii";
status = "okay"; status = "okay";
......
...@@ -97,7 +97,7 @@ &codec { ...@@ -97,7 +97,7 @@ &codec {
&gmac { &gmac {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&gmac_mii_pins>; pinctrl-0 = <&gmac_mii_pins>;
phy = <&phy1>; phy-handle = <&phy1>;
phy-mode = "mii"; phy-mode = "mii";
status = "okay"; status = "okay";
......
...@@ -82,7 +82,7 @@ &ehci1 { ...@@ -82,7 +82,7 @@ &ehci1 {
&gmac { &gmac {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&gmac_mii_pins>; pinctrl-0 = <&gmac_mii_pins>;
phy = <&phy1>; phy-handle = <&phy1>;
phy-mode = "mii"; phy-mode = "mii";
status = "okay"; status = "okay";
......
...@@ -111,7 +111,7 @@ &codec { ...@@ -111,7 +111,7 @@ &codec {
&gmac { &gmac {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&gmac_rgmii_pins>; pinctrl-0 = <&gmac_rgmii_pins>;
phy = <&phy1>; phy-handle = <&phy1>;
phy-mode = "rgmii"; phy-mode = "rgmii";
status = "okay"; status = "okay";
......
...@@ -105,7 +105,7 @@ &ehci1 { ...@@ -105,7 +105,7 @@ &ehci1 {
&gmac { &gmac {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&gmac_rgmii_pins>; pinctrl-0 = <&gmac_rgmii_pins>;
phy = <&phy3>; phy-handle = <&phy3>;
phy-mode = "rgmii"; phy-mode = "rgmii";
phy-supply = <&reg_vcc3v3>; phy-supply = <&reg_vcc3v3>;
status = "okay"; status = "okay";
......
...@@ -106,7 +106,7 @@ &ehci1 { ...@@ -106,7 +106,7 @@ &ehci1 {
&gmac { &gmac {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&gmac_mii_pins>; pinctrl-0 = <&gmac_mii_pins>;
phy = <&phy1>; phy-handle = <&phy1>;
phy-mode = "mii"; phy-mode = "mii";
status = "okay"; status = "okay";
......
...@@ -111,7 +111,7 @@ &ehci1 { ...@@ -111,7 +111,7 @@ &ehci1 {
&gmac { &gmac {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&gmac_rgmii_pins>; pinctrl-0 = <&gmac_rgmii_pins>;
phy = <&phy1>; phy-handle = <&phy1>;
phy-mode = "rgmii"; phy-mode = "rgmii";
status = "okay"; status = "okay";
......
...@@ -118,7 +118,7 @@ &ehci1 { ...@@ -118,7 +118,7 @@ &ehci1 {
&gmac { &gmac {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&gmac_mii_pins>, <&gmac_txerr>; pinctrl-0 = <&gmac_mii_pins>, <&gmac_txerr>;
phy = <&phy1>; phy-handle = <&phy1>;
phy-mode = "mii"; phy-mode = "mii";
status = "okay"; status = "okay";
......
...@@ -120,7 +120,7 @@ &ehci1 { ...@@ -120,7 +120,7 @@ &ehci1 {
&gmac { &gmac {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&gmac_rgmii_pins>; pinctrl-0 = <&gmac_rgmii_pins>;
phy = <&phy1>; phy-handle = <&phy1>;
phy-mode = "rgmii"; phy-mode = "rgmii";
phy-supply = <&reg_gmac_3v3>; phy-supply = <&reg_gmac_3v3>;
status = "okay"; status = "okay";
......
...@@ -96,7 +96,7 @@ &ehci1 { ...@@ -96,7 +96,7 @@ &ehci1 {
&gmac { &gmac {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&gmac_rgmii_pins>; pinctrl-0 = <&gmac_rgmii_pins>;
phy = <&phy1>; phy-handle = <&phy1>;
phy-mode = "rgmii"; phy-mode = "rgmii";
phy-supply = <&reg_gmac_3v3>; phy-supply = <&reg_gmac_3v3>;
status = "okay"; status = "okay";
......
...@@ -114,7 +114,7 @@ &ehci1 { ...@@ -114,7 +114,7 @@ &ehci1 {
&gmac { &gmac {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&gmac_rgmii_pins>; pinctrl-0 = <&gmac_rgmii_pins>;
phy = <&phy1>; phy-handle = <&phy1>;
phy-mode = "rgmii"; phy-mode = "rgmii";
status = "okay"; status = "okay";
......
...@@ -122,7 +122,7 @@ &ehci1 { ...@@ -122,7 +122,7 @@ &ehci1 {
&gmac { &gmac {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&gmac_mii_pins>; pinctrl-0 = <&gmac_mii_pins>;
phy = <&phy1>; phy-handle = <&phy1>;
phy-mode = "mii"; phy-mode = "mii";
status = "okay"; status = "okay";
......
...@@ -81,7 +81,7 @@ &ehci1 { ...@@ -81,7 +81,7 @@ &ehci1 {
&gmac { &gmac {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&gmac_rgmii_pins>; pinctrl-0 = <&gmac_rgmii_pins>;
phy = <&phy1>; phy-handle = <&phy1>;
phy-mode = "rgmii"; phy-mode = "rgmii";
status = "okay"; status = "okay";
......
...@@ -128,7 +128,7 @@ &de { ...@@ -128,7 +128,7 @@ &de {
&gmac { &gmac {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&gmac_rgmii_pins>; pinctrl-0 = <&gmac_rgmii_pins>;
phy = <&phy1>; phy-handle = <&phy1>;
phy-mode = "rgmii"; phy-mode = "rgmii";
phy-supply = <&reg_cldo1>; phy-supply = <&reg_cldo1>;
status = "okay"; status = "okay";
......
...@@ -123,7 +123,7 @@ &ehci2 { ...@@ -123,7 +123,7 @@ &ehci2 {
&gmac { &gmac {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&gmac_rgmii_pins>; pinctrl-0 = <&gmac_rgmii_pins>;
phy = <&phy1>; phy-handle = <&phy1>;
phy-mode = "rgmii"; phy-mode = "rgmii";
phy-supply = <&reg_cldo1>; phy-supply = <&reg_cldo1>;
status = "okay"; status = "okay";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment