Re: [PATCH v2 3/3] ARM: zynq: DT: Use the zynq binding with macb

From: SÃren Brinkmann
Date: Mon May 25 2015 - 15:30:18 EST


On Fri, 2015-05-22 at 09:22AM -0500, Nathan Sullivan wrote:
> Use the new zynq binding for macb ethernet, since it will disable half
> duplex gigabit like the Zynq TRM says to do.
>
> Signed-off-by: Nathan Sullivan <nathan.sullivan@xxxxxx>
> ---
> arch/arm/boot/dts/zynq-7000.dtsi | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/boot/dts/zynq-7000.dtsi b/arch/arm/boot/dts/zynq-7000.dtsi
> index a5cd2ed..9ea54b3 100644
> --- a/arch/arm/boot/dts/zynq-7000.dtsi
> +++ b/arch/arm/boot/dts/zynq-7000.dtsi
> @@ -193,7 +193,7 @@
> };
>
> gem0: ethernet@e000b000 {
> - compatible = "cdns,gem";
> + compatible = "cdns,zynq-gem";

Please, prepend the new string to the compatible list. Don't just
replace it like this.

> reg = <0xe000b000 0x1000>;
> status = "disabled";
> interrupts = <0 22 4>;
> @@ -204,7 +204,7 @@
> };
>
> gem1: ethernet@e000c000 {
> - compatible = "cdns,gem";
> + compatible = "cdns,zynq-gem";

ditto

SÃren
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/