mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-21 09:42:09 +00:00
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>
This commit is contained in:
parent
ff553bd00c
commit
fb2eabfd6b
@ -40,6 +40,12 @@
|
|||||||
scl-gpios = <&gpio 19 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
|
scl-gpios = <&gpio 19 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <0>;
|
#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) */
|
/* This I2C bus is used for the external CATV connector (usually unused) */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user