ARM: dts: vf610-zii-dev-rev-c: Expose fiber EEPROM modules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



EEPROM on fiber optic modules present on Rev C ZII VF610 Dev board
can be exposed as AT24 compatible devices. Add corresponding DT nodes
needed for that.

Signed-off-by: Chris Healy <cphealy@xxxxxxxxx>
---
diff --git a/arch/arm/dts/vf610-zii-dev-rev-c.dts
b/arch/arm/dts/vf610-zii-dev-rev-c.dts
index 62c70c890..2b2ac6064 100644
--- a/arch/arm/dts/vf610-zii-dev-rev-c.dts
+++ b/arch/arm/dts/vf610-zii-dev-rev-c.dts
@@ -17,6 +17,8 @@
                 */
                switch0-eeprom = &switch0;
                switch1-eeprom = &switch1;
+               fiber-eeprom0 = &fiber_eeprom0;
+               fiber-eeprom1 = &fiber_eeprom1;
        };
 };

@@ -31,3 +33,19 @@
                };
        };
 };
+
+&sff2_i2c {
+       fiber_eeprom0: eeprom@50 {
+               compatible = "atmel,24c04";
+               reg = <0x50>;
+               label = "fiber0";
+       };
+};
+
+&sff3_i2c {
+       fiber_eeprom1: eeprom@50 {
+               compatible = "atmel,24c04";
+               reg = <0x50>;
+               label = "fiber1";
+       };
+};

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux