Commit 5bf5e083 authored by Josua Mayer's avatar Josua Mayer

lx2162-clearfog: fix upper 25G sfp connector modabs gpio

parent 825e6180
From 312efec66665738375e50b4521a0f0c151ce6d88 Mon Sep 17 00:00:00 2001
From: Josua Mayer <josua@solid-run.com>
Date: Thu, 20 Apr 2023 17:05:54 +0300
Subject: [PATCH] arm64: dts: lx2162-clearfog: fix sfp-bt gpio number
Signed-off-by: Josua Mayer <josua@solid-run.com>
---
arch/arm64/boot/dts/freescale/fsl-lx2162a-clearfog.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2162a-clearfog.dts b/arch/arm64/boot/dts/freescale/fsl-lx2162a-clearfog.dts
index 25975bb64f12..9323c0fc8937 100644
--- a/arch/arm64/boot/dts/freescale/fsl-lx2162a-clearfog.dts
+++ b/arch/arm64/boot/dts/freescale/fsl-lx2162a-clearfog.dts
@@ -62,7 +62,7 @@ sfp_ab: sfp-ab {
sfp_bt: sfp-bt {
compatible = "sff,sfp";
i2c-bus = <&sfp_i2c2>;
- mod-def0-gpio = <&gpio2 0 GPIO_ACTIVE_LOW>; /* PROC_IRQ0 */
+ mod-def0-gpio = <&gpio2 10 GPIO_ACTIVE_LOW>; /* PROC_IRQ10 */
maximum-power-milliwatt = <2000>;
};
--
2.35.3
From c7d38cec3c69d34595a460484f3c9a5b455e355f Mon Sep 17 00:00:00 2001
From: Josua Mayer <josua@solid-run.com>
Date: Thu, 20 Apr 2023 17:00:51 +0300
Subject: [PATCH] lx2162som: clearfog: fix pinmux comments on sfp gpio
assignment
Signed-off-by: Josua Mayer <josua@solid-run.com>
---
lx2160acex7/configs/lx2162a_clearfog.rcwi | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/lx2160acex7/configs/lx2162a_clearfog.rcwi b/lx2160acex7/configs/lx2162a_clearfog.rcwi
index 9dbae6e..b8a6cd1 100644
--- a/lx2160acex7/configs/lx2162a_clearfog.rcwi
+++ b/lx2160acex7/configs/lx2162a_clearfog.rcwi
@@ -6,23 +6,23 @@ IIC6_PMUX=0
/*
* Configure GPIOs:
- * EVT0_B: GPIO3_DAT12 (SFP 25 upper LOS)
+ * EVT0_B: GPIO3_DAT12
* EVT1_B: GPIO3_DAT13 (SFP 25 upper LED)
* EVT2_B: GPIO3_DAT14 (SFP 25 lower LED)
- * EVT3_B: GPIO3_DAT15 (SFP 25 lower LOS)
- * EVT4_B: GPIO3_DAT16 (SFP 10 lower LOS)
+ * EVT3_B: GPIO3_DAT15 (SFP 25 lower MODABS)
+ * EVT4_B: GPIO3_DAT16 (SFP 10 upper MODABS)
* PROC_IRQ0: GPIO3_DAT00
- * PROC_IRQ1: GPIO3_DAT01 (SFP 10 upper LOS)
+ * PROC_IRQ1: GPIO3_DAT01 (SFP 10 lower MODABS)
* PROC_IRQ2: GPIO3_DAT02
* PROC_IRQ3: GPIO3_DAT03
* PROC_IRQ4: GPIO3_DAT04
- * PROC_IRQ5: GPIO3_DAT05 (SFP 10 lower LED)
+ * PROC_IRQ5: GPIO3_DAT05 (SFP 10 upper LED)
* PROC_IRQ6: GPIO3_DAT06
* PROC_IRQ7: GPIO3_DAT07
* PROC_IRQ8: GPIO3_DAT08
* PROC_IRQ9: GPIO3_DAT09
- * PROC_IRQ10: GPIO3_DAT10
- * PROC_IRQ11: GPIO3_DAT11 (SFP 10 upper LED)
+ * PROC_IRQ10: GPIO3_DAT10 (SFP 25 upper MODABS)
+ * PROC_IRQ11: GPIO3_DAT11 (SFP 10 lower LED)
*/
EVT20_PMUX=1
EVT43_PMUX=1
--
2.35.3
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment