Skip to content

Commit

Permalink
ARM64: dts: amlogic: add the ethernet TX delay configuration
Browse files Browse the repository at this point in the history
This adds the amlogic,tx-delay-ns property with the old (hardcoded)
default value of 2ns to all boards which are using an RGMII ethernet
PHY.

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 23edd1b commit 093d23d
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,8 @@
snps,reset-delays-us = <0 10000 1000000>;
snps,reset-active-low;

amlogic,tx-delay-ns = <2>;

mdio {
compatible = "snps,dwmac-mdio";
#address-cells = <1>;
Expand Down
2 changes: 2 additions & 0 deletions arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@
phy-handle = <&eth_phy0>;
phy-mode = "rgmii";

amlogic,tx-delay-ns = <2>;

snps,reset-gpio = <&gpio GPIOZ_14 0>;
snps,reset-delays-us = <0 10000 1000000>;
snps,reset-active-low;
Expand Down
2 changes: 2 additions & 0 deletions arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,8 @@
phy-handle = <&eth_phy0>;
phy-mode = "rgmii";

amlogic,tx-delay-ns = <2>;

snps,reset-gpio = <&gpio GPIOZ_14 0>;
snps,reset-delays-us = <0 10000 1000000>;
snps,reset-active-low;
Expand Down
2 changes: 2 additions & 0 deletions arch/arm64/boot/dts/amlogic/meson-gxbb-wetek-hub.dts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@
phy-handle = <&eth_phy0>;
phy-mode = "rgmii";

amlogic,tx-delay-ns = <2>;

snps,reset-gpio = <&gpio GPIOZ_14 0>;
snps,reset-delays-us = <0 10000 1000000>;
snps,reset-active-low;
Expand Down
2 changes: 2 additions & 0 deletions arch/arm64/boot/dts/amlogic/meson-gxbb-wetek-play2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@
phy-handle = <&eth_phy0>;
phy-mode = "rgmii";

amlogic,tx-delay-ns = <2>;

snps,reset-gpio = <&gpio GPIOZ_14 0>;
snps,reset-delays-us = <0 10000 1000000>;
snps,reset-active-low;
Expand Down
2 changes: 2 additions & 0 deletions arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@
/* Select external PHY by default */
phy-handle = <&external_phy>;

amlogic,tx-delay-ns = <2>;

/* External PHY reset is shared with internal PHY Led signals */
snps,reset-gpio = <&gpio GPIOZ_14 0>;
snps,reset-delays-us = <0 10000 1000000>;
Expand Down
2 changes: 2 additions & 0 deletions arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,8 @@
/* Select external PHY by default */
phy-handle = <&external_phy>;

amlogic,tx-delay-ns = <2>;

snps,reset-gpio = <&gpio GPIOZ_14 0>;
snps,reset-delays-us = <0 10000 1000000>;
snps,reset-active-low;
Expand Down
2 changes: 2 additions & 0 deletions arch/arm64/boot/dts/amlogic/meson-gxm-q200.dts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@
/* Select external PHY by default */
phy-handle = <&external_phy>;

amlogic,tx-delay-ns = <2>;

/* External PHY reset is shared with internal PHY Led signals */
snps,reset-gpio = <&gpio GPIOZ_14 0>;
snps,reset-delays-us = <0 10000 1000000>;
Expand Down

0 comments on commit 093d23d

Please sign in to comment.