summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/sun7i-a20-hummingbird.dts
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@bootlin.com>2019-06-06 21:21:09 +0200
committerMaxime Ripard <maxime.ripard@bootlin.com>2019-07-22 09:41:09 +0200
commit2a40d1b291138a7dce787b60f017d888b7d34349 (patch)
tree790dd594b646bdac64191a642f27142f22985971 /arch/arm/boot/dts/sun7i-a20-hummingbird.dts
parentLinus 5.3-rc1 (diff)
downloadlinux-2a40d1b291138a7dce787b60f017d888b7d34349.tar.xz
linux-2a40d1b291138a7dce787b60f017d888b7d34349.zip
ARM: dts: sunxi: Switch to the generic PHY properties
The DWMAC specific properties to manage the PHY have been superseeded by the generic PHY properties. Let's move to it. Reviewed-by: Andrew Lunn <andrew@lunn.ch> Tested-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Diffstat (limited to 'arch/arm/boot/dts/sun7i-a20-hummingbird.dts')
-rw-r--r--arch/arm/boot/dts/sun7i-a20-hummingbird.dts9
1 files changed, 4 insertions, 5 deletions
diff --git a/arch/arm/boot/dts/sun7i-a20-hummingbird.dts b/arch/arm/boot/dts/sun7i-a20-hummingbird.dts
index fd0153f65685..b01d91d025ec 100644
--- a/arch/arm/boot/dts/sun7i-a20-hummingbird.dts
+++ b/arch/arm/boot/dts/sun7i-a20-hummingbird.dts
@@ -103,15 +103,14 @@
phy = <&phy1>;
phy-mode = "rgmii";
phy-supply = <&reg_gmac_vdd>;
- /* phy reset config */
- snps,reset-gpio = <&pio 0 17 GPIO_ACTIVE_HIGH>; /* PA17 */
- snps,reset-active-low;
- /* wait 1s after reset, otherwise fail to read phy id */
- snps,reset-delays-us = <0 10000 1000000>;
status = "okay";
phy1: ethernet-phy@1 {
reg = <1>;
+ reset-gpios = <&pio 0 17 GPIO_ACTIVE_LOW>; /* PA17 */
+ reset-assert-us = <10000>;
+ /* wait 1s after reset, otherwise fail to read phy id */
+ reset-deassert-us = <1000000>;
};
};