ARM: dts: vf610-zii: Add switch eeprom-length properties
authorAndrew Lunn <andrew@lunn.ch>
Thu, 25 May 2017 23:44:44 +0000 (01:44 +0200)
committerShawn Guo <shawnguo@kernel.org>
Sat, 27 May 2017 08:09:30 +0000 (16:09 +0800)
Two of the Ethernet switches on this board have EEPROMs connected.
Add the eeprom-length property to the device tree, making it possible
to access the EEPROM using ethtool -e.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/vf610-zii-dev-rev-b.dts

index 37f95427616f28697f7bbbedd5ef8ba758d3e514..acdf12ad0622101bd934262176f1e6dedfe2920d 100644 (file)
@@ -78,6 +78,7 @@
                                interrupts = <27 IRQ_TYPE_LEVEL_LOW>;
                                interrupt-controller;
                                #interrupt-cells = <2>;
+                               eeprom-length = <512>;
 
                                ports {
                                        #address-cells = <1>;
                                interrupts = <26 IRQ_TYPE_LEVEL_LOW>;
                                interrupt-controller;
                                #interrupt-cells = <2>;
+                               eeprom-length = <512>;
 
                                ports {
                                        #address-cells = <1>;