diff options
author | Martin Blumenstingl <martin.blumenstingl@googlemail.com> | 2017-02-19 22:41:44 +0100 |
---|---|---|
committer | Kevin Hilman <khilman@baylibre.com> | 2017-03-06 09:55:54 -0800 |
commit | 67d49f3066649b423d788a2b84cfeb83af7f3a59 (patch) | |
tree | 9d44b1bc357d47ec1125b44999459eada7021de6 /arch/arm64/boot | |
parent | 1220b29749d4e2afb2213a652a237b9669382852 (diff) | |
download | linux-stable-67d49f3066649b423d788a2b84cfeb83af7f3a59.tar.gz linux-stable-67d49f3066649b423d788a2b84cfeb83af7f3a59.tar.bz2 linux-stable-67d49f3066649b423d788a2b84cfeb83af7f3a59.zip |
ARM64: dts: meson-gxbb-nexbox-a95x: 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 specify the phy-handle of the ethmac node to make the
PHY configuration similar to the one we have on GXL devices. This will
allow us to specify OF-properties for the PHY itself.
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Tested-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Diffstat (limited to 'arch/arm64/boot')
-rw-r--r-- | arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts index 4cbd626a9e88..dbfa441f479e 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts @@ -164,7 +164,24 @@ status = "okay"; pinctrl-0 = <ð_rmii_pins>; pinctrl-names = "default"; + + phy-handle = <ð_phy0>; phy-mode = "rmii"; + + snps,reset-gpio = <&gpio GPIOZ_14 0>; + snps,reset-delays-us = <0 10000 1000000>; + snps,reset-active-low; + + mdio { + compatible = "snps,dwmac-mdio"; + #address-cells = <1>; + #size-cells = <0>; + + eth_phy0: ethernet-phy@0 { + /* IC Plus IP101GR (0x02430c54) */ + reg = <0>; + }; + }; }; &ir { |