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>2024-04-16 16:52:24 +0100
commit560b7eef6d1014d301c2bc42805b881b5158741a (patch)
tree9000d16012f6afd5abdaef27f060012709085f08
parent66e6b4582975d8683ec460071bdd0f2eaf3bcb9e (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/nxp/vf/vf610-zii-dev-rev-b.dts69
1 files changed, 31 insertions, 38 deletions
diff --git a/arch/arm/boot/dts/nxp/vf/vf610-zii-dev-rev-b.dts b/arch/arm/boot/dts/nxp/vf/vf610-zii-dev-rev-b.dts
index b015413240ae..b0257b483fe8 100644
--- a/arch/arm/boot/dts/nxp/vf/vf610-zii-dev-rev-b.dts
+++ b/arch/arm/boot/dts/nxp/vf/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 {
@@ -363,48 +376,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 {