summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Walleij2024-08-14 08:26:25 +0000
committerÁlvaro Fernández Rojas2024-08-14 09:29:40 +0000
commitfb2eabfd6b6e9e02dda659668fb91d5a02e9e652 (patch)
tree5f411161a0c246c90b3db5602f9b63026967e341
parentff553bd00c47fe5b21871bbac0538408154d85cd (diff)
downloadopenwrt-fb2eabfd6b6e9e02dda659668fb91d5a02e9e652.tar.gz
bmips: inteno-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 <newtwen@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r--target/linux/bmips/dts/bcm6328-inteno-xg6846.dts6
1 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/bmips/dts/bcm6328-inteno-xg6846.dts b/target/linux/bmips/dts/bcm6328-inteno-xg6846.dts
index 4079bfff17..94e57dcb0d 100644
--- a/target/linux/bmips/dts/bcm6328-inteno-xg6846.dts
+++ b/target/linux/bmips/dts/bcm6328-inteno-xg6846.dts
@@ -40,6 +40,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) */