From f11e2c456d6b4cf812b3846da139ec51a2b8eb8b Mon Sep 17 00:00:00 2001 From: Linus Walleij Date: Thu, 25 Apr 2024 22:31:21 +0200 Subject: [PATCH] bmips: intento-xg6846: Add EEPROM node 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 Signed-off-by: Linus Walleij --- target/linux/bmips/dts/bcm6328-inteno-xg6846.dts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/target/linux/bmips/dts/bcm6328-inteno-xg6846.dts b/target/linux/bmips/dts/bcm6328-inteno-xg6846.dts index 775afa2560..85f22e341d 100644 --- a/target/linux/bmips/dts/bcm6328-inteno-xg6846.dts +++ b/target/linux/bmips/dts/bcm6328-inteno-xg6846.dts @@ -50,6 +50,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) */ -- 2.30.2