ARM: dts: vf610-zii-dev-c: Fix switch EEPROM size
authorAndrew Lunn <andrew@lunn.ch>
Thu, 9 Nov 2017 23:48:56 +0000 (00:48 +0100)
committerShawn Guo <shawnguo@kernel.org>
Tue, 26 Dec 2017 08:15:44 +0000 (16:15 +0800)
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@gmail.com>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Chris Healy <cphealy@gmail.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/vf610-zii-dev-rev-c.dts

index fbb3758ca2e3e77d4a65e47bb9229429305a0015..98a7e71d7db5224c08e0da89d544c7a2685dfd70 100644 (file)
@@ -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;
                                #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;