clearfog: I2C translation
Change-Id: Ibc5dc1cdf60c0d83d4569f26d575ed309ee9766b
diff --git a/board/czechlight/clearfog/sdn-roadm-clearfog.dtsi b/board/czechlight/clearfog/sdn-roadm-clearfog.dtsi
index f6e0a6f..66bd340 100644
--- a/board/czechlight/clearfog/sdn-roadm-clearfog.dtsi
+++ b/board/czechlight/clearfog/sdn-roadm-clearfog.dtsi
@@ -144,7 +144,11 @@
gpio-hog;
gpios = <6 GPIO_ACTIVE_HIGH>;
//output-low; // XOR byte 0b0001111
+#ifdef IFACE_V_1_0
output-high; // XOR byte 0b1101111
+#else
+ output-high; // XOR byte 0b1001111
+#endif
line-name = "I2C XOR high";
};
@@ -223,6 +227,13 @@
"EDFA2_ST1_OUT_GAIN_A",
"EDFA2_PUMP_TEMP_A";
};
+
+ i2c_xor_ready {
+ gpio-hog;
+ gpios = <6 GPIO_ACTIVE_HIGH>;
+ input;
+ line-name = "I2C XOR ready";
+ };
};
spidev@3 {