summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2017-12-19 11:12:15 +0000
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2022-06-21 10:58:03 +0100
commit6b9b15b38da4edae4c7e2fba0af85c803f45b0fa (patch)
tree5cd889b402d39edefb5d3d2b712fdfb243581610
parent775eb3f765aedf53e7011b24656851a3f03acaa1 (diff)
ARM: dts: vf610-zii-dev-rev-b: add support for SFF modules
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
-rw-r--r--arch/arm/boot/dts/vf610-zii-dev-rev-b.dts69
1 files changed, 31 insertions, 38 deletions
diff --git a/arch/arm/boot/dts/vf610-zii-dev-rev-b.dts b/arch/arm/boot/dts/vf610-zii-dev-rev-b.dts
index 6cc468e891e3..9a9ef44b64fb 100644
--- a/arch/arm/boot/dts/vf610-zii-dev-rev-b.dts
+++ b/arch/arm/boot/dts/vf610-zii-dev-rev-b.dts
@@ -230,25 +230,13 @@
port@3 {
reg = <3>;
label = "optical3";
-
- fixed-link {
- speed = <1000>;
- full-duplex;
- link-gpios = <&gpio6 2
- GPIO_ACTIVE_HIGH>;
- };
+ sfp = <&opt_p3>;
};
port@4 {
reg = <4>;
label = "optical4";
-
- fixed-link {
- speed = <1000>;
- full-duplex;
- link-gpios = <&gpio6 3
- GPIO_ACTIVE_HIGH>;
- };
+ sfp = <&opt_p4>;
};
switch2port9: port@9 {
@@ -328,6 +316,31 @@
select-gpios = <&gpio4 4 GPIO_ACTIVE_HIGH>;
};
};
+
+ opt_p2: sff0 {
+ compatible = "sff,sff";
+ i2c-bus = <&opt_p2_i2c>;
+ los-gpios = <&gpio6 1 GPIO_ACTIVE_HIGH>;
+ };
+
+ opt_p1: sff1 {
+ compatible = "sff,sff";
+ i2c-bus = <&opt_p1_i2c>;
+ los-gpios = <&gpio6 0 GPIO_ACTIVE_HIGH>;
+ status = "disabled";
+ };
+
+ opt_p4: sff2 {
+ compatible = "sff,sff";
+ i2c-bus = <&opt_p4_i2c>;
+ los-gpios = <&gpio6 3 GPIO_ACTIVE_HIGH>;
+ };
+
+ opt_p3: sff3 {
+ compatible = "sff,sff";
+ i2c-bus = <&opt_p3_i2c>;
+ los-gpios = <&gpio6 2 GPIO_ACTIVE_HIGH>;
+ };
};
&i2c0 {
@@ -362,48 +375,28 @@
reg = <0x70>;
reset-gpios = <&gpio3 23 GPIO_ACTIVE_LOW>;
- i2c@0 {
+ opt_p2_i2c: i2c@0 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0>;
-
- sfp1: eeprom@50 {
- compatible = "atmel,24c02";
- reg = <0x50>;
- };
};
- i2c@1 {
+ opt_p1_i2c: i2c@1 {
#address-cells = <1>;
#size-cells = <0>;
reg = <1>;
-
- sfp2: eeprom@50 {
- compatible = "atmel,24c02";
- reg = <0x50>;
- };
};
- i2c@2 {
+ opt_p4_i2c: i2c@2 {
#address-cells = <1>;
#size-cells = <0>;
reg = <2>;
-
- sfp3: eeprom@50 {
- compatible = "atmel,24c02";
- reg = <0x50>;
- };
};
- i2c@3 {
+ opt_p3_i2c: i2c@3 {
#address-cells = <1>;
#size-cells = <0>;
reg = <3>;
-
- sfp4: eeprom@50 {
- compatible = "atmel,24c02";
- reg = <0x50>;
- };
};
i2c@4 {