Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b6ff2721 authored by Martin Blumenstingl's avatar Martin Blumenstingl Committed by Kevin Hilman
Browse files

ARM64: dts: meson-gxbb-odroidc2: add the ethernet PHY's reset GPIO



This resets the ethernet PHY during boot to get the PHY into a "clean"
state. While here also explicitly specify the phy-mode instead of
relying on the default-value from meson-gx.dtsi.

Signed-off-by: default avatarMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Tested-by: default avatarNeil Armstrong <narmstrong@baylibre.com>
Reviewed-by: default avatarJerome Brunet <jbrunet@baylibre.com>
Signed-off-by: default avatarKevin Hilman <khilman@baylibre.com>
parent c1ae3cfa
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -152,6 +152,11 @@
	pinctrl-0 = <&eth_rgmii_pins>;
	pinctrl-0 = <&eth_rgmii_pins>;
	pinctrl-names = "default";
	pinctrl-names = "default";
	phy-handle = <&eth_phy0>;
	phy-handle = <&eth_phy0>;
	phy-mode = "rgmii";

	snps,reset-gpio = <&gpio GPIOZ_14 0>;
	snps,reset-delays-us = <0 10000 1000000>;
	snps,reset-active-low;


	mdio {
	mdio {
		compatible = "snps,dwmac-mdio";
		compatible = "snps,dwmac-mdio";