Skip to content

Commit

Permalink
ARM64: dts: meson-gxbb-odroidc2: add the ethernet PHY's reset GPIO
Browse files Browse the repository at this point in the history
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: Martin Blumenstingl <[email protected]>
Tested-by: Neil Armstrong <[email protected]>
Reviewed-by: Jerome Brunet <[email protected]>
Signed-off-by: Kevin Hilman <[email protected]>
  • Loading branch information
xdarklight authored and khilman committed Mar 6, 2017
1 parent c1ae3cf commit b6ff272
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,11 @@
pinctrl-0 = <&eth_rgmii_pins>;
pinctrl-names = "default";
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 {
compatible = "snps,dwmac-mdio";
Expand Down

0 comments on commit b6ff272

Please sign in to comment.