summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2017-05-26 01:44:44 +0200
committerShawn Guo <shawnguo@kernel.org>2017-05-27 10:09:30 +0200
commit925b865f88182e47891cb9b9eb27db4e5a86fc6f (patch)
tree4e513d2e4f3cdc979bd7a9715c787979c19fe5fe
parentARM: dts: tx6: Remove 'enable-active-low' property (diff)
downloadlinux-925b865f88182e47891cb9b9eb27db4e5a86fc6f.tar.xz
linux-925b865f88182e47891cb9b9eb27db4e5a86fc6f.zip
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>
-rw-r--r--arch/arm/boot/dts/vf610-zii-dev-rev-b.dts2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/vf610-zii-dev-rev-b.dts b/arch/arm/boot/dts/vf610-zii-dev-rev-b.dts
index 37f95427616f..acdf12ad0622 100644
--- a/arch/arm/boot/dts/vf610-zii-dev-rev-b.dts
+++ b/arch/arm/boot/dts/vf610-zii-dev-rev-b.dts
@@ -78,6 +78,7 @@
interrupts = <27 IRQ_TYPE_LEVEL_LOW>;
interrupt-controller;
#interrupt-cells = <2>;
+ eeprom-length = <512>;
ports {
#address-cells = <1>;
@@ -163,6 +164,7 @@
interrupts = <26 IRQ_TYPE_LEVEL_LOW>;
interrupt-controller;
#interrupt-cells = <2>;
+ eeprom-length = <512>;
ports {
#address-cells = <1>;