ARM: dts: imx6: RDU2: Add Switch EEPROM
authorAndrew Lunn <andrew@lunn.ch>
Mon, 17 Jul 2017 20:25:02 +0000 (22:25 +0200)
committerShawn Guo <shawnguo@kernel.org>
Tue, 25 Jul 2017 09:05:22 +0000 (17:05 +0800)
The Marvell switch has an EEPROM connected to it. List the size in DT,
in order to enable access to it via ethtool.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Tested-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/imx6qdl-zii-rdu2.dtsi

index add53277379dbd1dceb90dcad8dcb0be989d8c79..d67bf81524a289a1888159dc8d8d80f218d728a1 100644 (file)
                        #size-cells = <0>;
                        reg = <0>;
                        dsa,member = <0 0>;
+                       eeprom-length = <512>;
 
                        ports {
                                #address-cells = <1>;