diff mbox series

[1/2] bmips: intento-xg6846: Add EEPROM node

Message ID 20240627-xg6846-fixes-v1-1-b72e08d1c966@linaro.org
State Superseded, archived
Delegated to: Linus Walleij
Headers show
Series bmips: xg6846: Fixes | expand

Commit Message

Linus Walleij June 27, 2024, 9:38 p.m. UTC
For some troublesome devices it is necessary to obtain direct access
to the SFP module EEPROM so define it in the device tree.

Suggested-by: Paul Donald <newtwen@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
 target/linux/bmips/dts/bcm6328-inteno-xg6846.dts | 6 ++++++
 1 file changed, 6 insertions(+)
diff mbox series

Patch

diff --git a/target/linux/bmips/dts/bcm6328-inteno-xg6846.dts b/target/linux/bmips/dts/bcm6328-inteno-xg6846.dts
index 72f85a53ca7c..9044f17c4f59 100644
--- a/target/linux/bmips/dts/bcm6328-inteno-xg6846.dts
+++ b/target/linux/bmips/dts/bcm6328-inteno-xg6846.dts
@@ -49,6 +49,12 @@ 
 		scl-gpios = <&gpio 19 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
 		#address-cells = <1>;
 		#size-cells = <0>;
+
+		sfp_eeprom: eeprom@50 {
+			compatible = "atmel,24c02";
+			reg = <0x50>;
+			read-only;
+		};
 	};
 
 	/* This I2C bus is used for the external CATV connector (usually unused) */