Re: [PATCH v3 8/9] ARM64: dts: amlogic: add the ethernet TX delay configuration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 01/20/2017 04:22 PM, Martin Blumenstingl wrote:
> 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@xxxxxxxxxxxxxx>
> ---
>  arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts    | 2 ++
>  arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts        | 2 ++
>  arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi   | 2 ++
>  arch/arm64/boot/dts/amlogic/meson-gxbb-wetek-hub.dts   | 2 ++
>  arch/arm64/boot/dts/amlogic/meson-gxbb-wetek-play2.dts | 2 ++
>  arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts   | 2 ++
>  arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts    | 2 ++
>  arch/arm64/boot/dts/amlogic/meson-gxm-q200.dts         | 2 ++
>  8 files changed, 16 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts
> index 6b5579522587..e63ed98d6c25 100644
> --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts
> +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts
> @@ -154,6 +154,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;
> diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts
> index fa0f84cfeaa9..6c7e914e9bd9 100644
> --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts
> +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts
> @@ -58,6 +58,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;
> diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi
> index 358ab5159bd5..4301ad860a76 100644
> --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi
> +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi
> @@ -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;
> diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek-hub.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek-hub.dts
> index 47fe4e444f33..f6d8c70a26a2 100644
> --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek-hub.dts
> +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek-hub.dts
> @@ -72,6 +72,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;
> diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek-play2.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek-play2.dts
> index 9a8e2f492b97..1a222ce60a30 100644
> --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek-play2.dts
> +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek-play2.dts
> @@ -94,6 +94,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;
> diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts b/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts
> index f66939cacd37..7663d6775823 100644
> --- a/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts
> +++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts
> @@ -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>;
> diff --git a/arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts b/arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts
> index 5a337d339df1..a0bc746adb42 100644
> --- a/arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts
> +++ b/arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts
> @@ -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;
> diff --git a/arch/arm64/boot/dts/amlogic/meson-gxm-q200.dts b/arch/arm64/boot/dts/amlogic/meson-gxm-q200.dts
> index 5dbc66088355..e6ac39b712b7 100644
> --- a/arch/arm64/boot/dts/amlogic/meson-gxm-q200.dts
> +++ b/arch/arm64/boot/dts/amlogic/meson-gxm-q200.dts
> @@ -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>;
> 

On :
- Odroid-C2 rev 0.2
- P200
- Wetek Play 2
- Amlogic P230
- Nexbox A1
Tested-by: Neil Armstrong <narmstrong@xxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux