]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
ARM64: dts: amlogic: add the ethernet TX delay configuration
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sun, 19 Feb 2017 21:41:48 +0000 (22:41 +0100)
committerKevin Hilman <khilman@baylibre.com>
Mon, 6 Mar 2017 17:55:56 +0000 (09:55 -0800)
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 <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>
arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts
arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts
arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi
arch/arm64/boot/dts/amlogic/meson-gxbb-wetek-hub.dts
arch/arm64/boot/dts/amlogic/meson-gxbb-wetek-play2.dts
arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts
arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts
arch/arm64/boot/dts/amlogic/meson-gxm-q200.dts

index 6b557952258732eddd8509e983b86b9044e5d85f..c80d3a913907804519197c7a4a45498572eaba55 100644 (file)
        snps,reset-delays-us = <0 10000 1000000>;
        snps,reset-active-low;
 
+       amlogic,tx-delay-ns = <2>;
+
        mdio {
                compatible = "snps,dwmac-mdio";
                #address-cells = <1>;
index acb035d119d7a869b13686f0f2a05893361560f9..2054a474e0a91dc58a883a9b4a563e32bcd9e32d 100644 (file)
        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;
index aa571970c5e977776f59933fa90fece787a44309..aefa66dff72dc52042a01753d28734798cf75866 100644 (file)
        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;
index 50eb8f06d35bdcaf7c967ff352f86aa9faa366e3..f057fb48fee5563d2f9e0a3ba38a6753c559b922 100644 (file)
@@ -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;
index ee86af9287223a3058c54d812553a442a84ed43f..743acb5f5d06353e010c857ba5c3efd6489d26b2 100644 (file)
@@ -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;
index f66939cacd3713bf9b3bc290c74220128ba09d6a..7663d6775823b6d16e38d404ac731ac369c2b7ca 100644 (file)
@@ -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>;
index 5a337d339df1d58b984ab575ba88b07a03a067c2..a0bc746adb4284e3c56722c9dacda13c779d5059 100644 (file)
        /* 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;
index 5dbc660883553a1ddfb80b6cb951f08f3f895a1b..e6ac39b712b78397f7b631dfa7f676f0da039324 100644 (file)
@@ -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>;