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

Chris Healy cphealy at gmail.com
Thu Nov 9 16:02:13 PST 2017


Reviewed-by: Chris Healy <cphealy at gmail.com>

On Thu, Nov 9, 2017 at 3: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>;
>                                 interrupt-parent = <&gpio0>;
>                                 interrupts = <27 IRQ_TYPE_LEVEL_LOW>;
>                                 interrupt-controller;
> @@ -170,7 +170,7 @@
>                                 #size-cells = <0>;
>                                 reg = <0>;
>                                 dsa,member = <0 1>;
> -                               eeprom-length = <512>;
> +                               eeprom-length = <65536>;
>                                 interrupt-parent = <&gpio0>;
>                                 interrupts = <26 IRQ_TYPE_LEVEL_LOW>;
>                                 interrupt-controller;
> --
> 2.15.0
>



More information about the linux-arm-kernel mailing list