From: Andrew Lunn Date: Thu, 25 May 2017 23:44:44 +0000 (+0200) Subject: ARM: dts: vf610-zii: Add switch eeprom-length properties X-Git-Tag: v4.13-rc1~168^2~5^2~19 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=925b865f88182e47891cb9b9eb27db4e5a86fc6f;p=karo-tx-linux.git 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 Signed-off-by: Shawn Guo --- 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>;