[PATCH] ARM: dts: vf610-zii-dev-c: Fix switch EEPROM size

Fabio Estevam festevam at gmail.com
Thu Nov 9 16:18:35 PST 2017


Hi Andrew,

On Thu, Nov 9, 2017 at 9:48 PM, Andrew Lunn <andrew at lunn.ch> wrote:
> The two Ethernet switches have an AT24C512 each. This is a 64K device,
> not 512 bytes as currently listed in the device tree.
>
> Reported-by: Chris Healy <cphealy at gmail.com>
> Signed-off-by: Andrew Lunn <andrew at lunn.ch>
> ---
>  arch/arm/boot/dts/vf610-zii-dev-rev-c.dts | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/boot/dts/vf610-zii-dev-rev-c.dts b/arch/arm/boot/dts/vf610-zii-dev-rev-c.dts
> index db3b408ea55a..0c557a9e7e17 100644
> --- a/arch/arm/boot/dts/vf610-zii-dev-rev-c.dts
> +++ b/arch/arm/boot/dts/vf610-zii-dev-rev-c.dts
> @@ -73,7 +73,7 @@
>                                 #size-cells = <0>;
>                                 reg = <0>;
>                                 dsa,member = <0 0>;
> -                               eeprom-length = <512>;
> +                               eeprom-length = <65536>;

vf610-zii-dev-rev-b.dts also uses 512.

Should it be also changed or is it correct for the rev-b?



More information about the linux-arm-kernel mailing list