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 {
};
&emac {
phy = <&phy1>;
phy-handle = <&phy1>;
status = "okay";
};
......
......@@ -68,7 +68,7 @@ &ehci1 {
};
&emac {
phy = <&phy1>;
phy-handle = <&phy1>;
status = "okay";
};
......
......@@ -114,7 +114,7 @@ &ehci1 {
};
&emac {
phy = <&phy1>;
phy-handle = <&phy1>;
status = "okay";
};
......
......@@ -80,7 +80,7 @@ &ehci1 {
};
&emac {
phy = <&phy0>;
phy-handle = <&phy0>;
status = "okay";
};
......
......@@ -58,7 +58,7 @@ &ahci {
&emac {
pinctrl-names = "default";
pinctrl-0 = <&emac_pins>;
phy = <&phy1>;
phy-handle = <&phy1>;
status = "okay";
};
......
......@@ -94,7 +94,7 @@ &ehci1 {
};
&emac {
phy = <&phy1>;
phy-handle = <&phy1>;
status = "okay";
};
......
......@@ -105,7 +105,7 @@ &emac_sram {
};
&emac {
phy = <&phy1>;
phy-handle = <&phy1>;
status = "okay";
};
......
......@@ -112,7 +112,7 @@ &ehci1 {
};
&emac {
phy = <&phy1>;
phy-handle = <&phy1>;
status = "okay";
};
......
......@@ -110,7 +110,7 @@ &ehci1 {
};
&emac {
phy = <&phy1>;
phy-handle = <&phy1>;
status = "okay";
};
......
......@@ -98,7 +98,7 @@ &ehci0 {
&emac {
pinctrl-names = "default";
pinctrl-0 = <&emac_pa_pins>;
phy = <&phy1>;
phy-handle = <&phy1>;
status = "okay";
};
......
......@@ -91,7 +91,7 @@ &ehci0 {
&emac {
pinctrl-names = "default";
pinctrl-0 = <&emac_pd_pins>;
phy = <&phy1>;
phy-handle = <&phy1>;
status = "okay";
};
......
......@@ -76,7 +76,7 @@ &ehci1 {
&gmac {
pinctrl-names = "default";
pinctrl-0 = <&gmac_rgmii_pins>;
phy = <&phy1>;
phy-handle = <&phy1>;
phy-mode = "rgmii";
status = "okay";
......
......@@ -153,7 +153,7 @@ &ehci0 {
&gmac {
pinctrl-names = "default";
pinctrl-0 = <&gmac_rgmii_pins>;
phy = <&phy1>;
phy-handle = <&phy1>;
phy-mode = "rgmii";
status = "okay";
......
......@@ -117,7 +117,7 @@ &ehci1 {
&gmac {
pinctrl-names = "default";
pinctrl-0 = <&gmac_mii_pins>;
phy = <&phy1>;
phy-handle = <&phy1>;
phy-mode = "mii";
status = "okay";
......
......@@ -84,7 +84,7 @@ &ehci1 {
&gmac {
pinctrl-names = "default";
pinctrl-0 = <&gmac_mii_pins>;
phy = <&phy1>;
phy-handle = <&phy1>;
phy-mode = "mii";
phy-supply = <&reg_dldo1>;
status = "okay";
......
......@@ -84,7 +84,7 @@ &ehci1 {
&gmac {
pinctrl-names = "default";
pinctrl-0 = <&gmac_mii_pins>;
phy = <&phy1>;
phy-handle = <&phy1>;
phy-mode = "mii";
phy-supply = <&reg_dldo1>;
status = "okay";
......
......@@ -67,7 +67,7 @@ &ehci1 {
&gmac {
pinctrl-names = "default";
pinctrl-0 = <&gmac_mii_pins>;
phy = <&phy1>;
phy-handle = <&phy1>;
phy-mode = "mii";
status = "okay";
phy1: ethernet-phy@1 {
......
......@@ -115,7 +115,7 @@ &ehci1 {
&gmac {
pinctrl-names = "default";
pinctrl-0 = <&gmac_mii_pins>;
phy = <&phy1>;
phy-handle = <&phy1>;
phy-mode = "mii";
phy-supply = <&reg_dldo1>;
status = "okay";
......
......@@ -92,7 +92,7 @@ &ehci0 {
&gmac {
pinctrl-names = "default";
pinctrl-0 = <&gmac_rgmii_pins>;
phy = <&phy1>;
phy-handle = <&phy1>;
phy-mode = "rgmii";
phy-supply = <&reg_dldo1>;
status = "okay";
......
......@@ -129,7 +129,7 @@ &ehci1 {
&gmac {
pinctrl-names = "default";
pinctrl-0 = <&gmac_rgmii_pins>;
phy = <&phy1>;
phy-handle = <&phy1>;
phy-mode = "rgmii";
phy-supply = <&reg_gmac_3v3>;
status = "okay";
......
......@@ -131,7 +131,7 @@ &ehci1 {
&gmac {
pinctrl-names = "default";
pinctrl-0 = <&gmac_rgmii_pins>;
phy = <&phy1>;
phy-handle = <&phy1>;
phy-mode = "rgmii";
phy-supply = <&reg_gmac_3v3>;
status = "okay";
......
......@@ -109,7 +109,7 @@ &ehci1 {
&gmac {
pinctrl-names = "default";
pinctrl-0 = <&gmac_rgmii_pins>;
phy = <&phy1>;
phy-handle = <&phy1>;
phy-mode = "rgmii";
phy-supply = <&reg_gmac_3v3>;
status = "okay";
......
......@@ -115,7 +115,7 @@ &ehci1 {
&gmac {
pinctrl-names = "default";
pinctrl-0 = <&gmac_mii_pins>;
phy = <&phy1>;
phy-handle = <&phy1>;
phy-mode = "mii";
status = "okay";
......
......@@ -150,7 +150,7 @@ &ehci1 {
&gmac {
pinctrl-names = "default";
pinctrl-0 = <&gmac_rgmii_pins>;
phy = <&phy1>;
phy-handle = <&phy1>;
phy-mode = "rgmii";
status = "okay";
......
......@@ -100,7 +100,7 @@ &ehci1 {
&gmac {
pinctrl-names = "default";
pinctrl-0 = <&gmac_rgmii_pins>;
phy = <&phy1>;
phy-handle = <&phy1>;
phy-mode = "rgmii";
phy-supply = <&reg_gmac_vdd>;
status = "okay";
......
......@@ -115,7 +115,7 @@ &ehci1 {
&gmac {
pinctrl-names = "default";
pinctrl-0 = <&gmac_mii_pins>;
phy = <&phy1>;
phy-handle = <&phy1>;
phy-mode = "mii";
phy-supply = <&reg_gmac_3v3>;
status = "okay";
......
......@@ -76,7 +76,7 @@ &ehci1 {
&gmac {
pinctrl-names = "default";
pinctrl-0 = <&gmac_mii_pins>;
phy = <&phy1>;
phy-handle = <&phy1>;
phy-mode = "mii";
status = "okay";
......
......@@ -97,7 +97,7 @@ &codec {
&gmac {
pinctrl-names = "default";
pinctrl-0 = <&gmac_mii_pins>;
phy = <&phy1>;
phy-handle = <&phy1>;
phy-mode = "mii";
status = "okay";
......
......@@ -82,7 +82,7 @@ &ehci1 {
&gmac {
pinctrl-names = "default";
pinctrl-0 = <&gmac_mii_pins>;
phy = <&phy1>;
phy-handle = <&phy1>;
phy-mode = "mii";
status = "okay";
......
......@@ -111,7 +111,7 @@ &codec {
&gmac {
pinctrl-names = "default";
pinctrl-0 = <&gmac_rgmii_pins>;
phy = <&phy1>;
phy-handle = <&phy1>;
phy-mode = "rgmii";
status = "okay";
......
......@@ -105,7 +105,7 @@ &ehci1 {
&gmac {
pinctrl-names = "default";
pinctrl-0 = <&gmac_rgmii_pins>;
phy = <&phy3>;
phy-handle = <&phy3>;
phy-mode = "rgmii";
phy-supply = <&reg_vcc3v3>;
status = "okay";
......
......@@ -106,7 +106,7 @@ &ehci1 {
&gmac {
pinctrl-names = "default";
pinctrl-0 = <&gmac_mii_pins>;
phy = <&phy1>;
phy-handle = <&phy1>;
phy-mode = "mii";
status = "okay";
......
......@@ -111,7 +111,7 @@ &ehci1 {
&gmac {
pinctrl-names = "default";
pinctrl-0 = <&gmac_rgmii_pins>;
phy = <&phy1>;
phy-handle = <&phy1>;
phy-mode = "rgmii";
status = "okay";
......
......@@ -118,7 +118,7 @@ &ehci1 {
&gmac {
pinctrl-names = "default";
pinctrl-0 = <&gmac_mii_pins>, <&gmac_txerr>;
phy = <&phy1>;
phy-handle = <&phy1>;
phy-mode = "mii";
status = "okay";
......
......@@ -120,7 +120,7 @@ &ehci1 {
&gmac {
pinctrl-names = "default";
pinctrl-0 = <&gmac_rgmii_pins>;
phy = <&phy1>;
phy-handle = <&phy1>;
phy-mode = "rgmii";
phy-supply = <&reg_gmac_3v3>;
status = "okay";
......
......@@ -96,7 +96,7 @@ &ehci1 {
&gmac {
pinctrl-names = "default";
pinctrl-0 = <&gmac_rgmii_pins>;
phy = <&phy1>;
phy-handle = <&phy1>;
phy-mode = "rgmii";
phy-supply = <&reg_gmac_3v3>;
status = "okay";
......
......@@ -114,7 +114,7 @@ &ehci1 {
&gmac {
pinctrl-names = "default";
pinctrl-0 = <&gmac_rgmii_pins>;
phy = <&phy1>;
phy-handle = <&phy1>;
phy-mode = "rgmii";
status = "okay";
......
......@@ -122,7 +122,7 @@ &ehci1 {
&gmac {
pinctrl-names = "default";
pinctrl-0 = <&gmac_mii_pins>;
phy = <&phy1>;
phy-handle = <&phy1>;
phy-mode = "mii";
status = "okay";
......
......@@ -81,7 +81,7 @@ &ehci1 {
&gmac {
pinctrl-names = "default";
pinctrl-0 = <&gmac_rgmii_pins>;
phy = <&phy1>;
phy-handle = <&phy1>;
phy-mode = "rgmii";
status = "okay";
......
......@@ -128,7 +128,7 @@ &de {
&gmac {
pinctrl-names = "default";
pinctrl-0 = <&gmac_rgmii_pins>;
phy = <&phy1>;
phy-handle = <&phy1>;
phy-mode = "rgmii";
phy-supply = <&reg_cldo1>;
status = "okay";
......
......@@ -123,7 +123,7 @@ &ehci2 {
&gmac {
pinctrl-names = "default";
pinctrl-0 = <&gmac_rgmii_pins>;
phy = <&phy1>;
phy-handle = <&phy1>;
phy-mode = "rgmii";
phy-supply = <&reg_cldo1>;
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