ARM: dts: vf610-zii: Add switch eeprom-length properties

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>
This commit is contained in:
Andrew Lunn 2017-05-26 01:44:44 +02:00 committed by Shawn Guo
parent 8b7be72b1f
commit 925b865f88

View File

@ -78,6 +78,7 @@ switch0: switch@0 {
interrupts = <27 IRQ_TYPE_LEVEL_LOW>;
interrupt-controller;
#interrupt-cells = <2>;
eeprom-length = <512>;
ports {
#address-cells = <1>;
@ -163,6 +164,7 @@ switch1: switch@0 {
interrupts = <26 IRQ_TYPE_LEVEL_LOW>;
interrupt-controller;
#interrupt-cells = <2>;
eeprom-length = <512>;
ports {
#address-cells = <1>;