[openwrt/openwrt] mvebu: fix SFP insert detection GPIO name on 4.14
LEDE Commits
lede-commits at lists.infradead.org
Sun Feb 25 14:25:16 PST 2018
jogo pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/39f8751cdc9fe383f5c8ed7ced75da3e0b6eb6a6
commit 39f8751cdc9fe383f5c8ed7ced75da3e0b6eb6a6
Author: Jonas Gorski <jonas.gorski at gmail.com>
AuthorDate: Sun Feb 25 22:52:41 2018 +0100
mvebu: fix SFP insert detection GPIO name on 4.14
When SFP support was accepted upstream, the expected GPIO names were
slightly changed, breaking SFP insert detection. Update the DTS file to
the expected name to make SFP work again.
Fixes: 4ccad922293a ("mvebu: Add support for kernel 4.14")
Signed-off-by: Jonas Gorski <jonas.gorski at gmail.com>
---
.../414-ARM-dts-armada388-clearfog-add-SFP-module-support.patch | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/linux/mvebu/patches-4.14/414-ARM-dts-armada388-clearfog-add-SFP-module-support.patch b/target/linux/mvebu/patches-4.14/414-ARM-dts-armada388-clearfog-add-SFP-module-support.patch
index 38c6f42..52ddcb6 100644
--- a/target/linux/mvebu/patches-4.14/414-ARM-dts-armada388-clearfog-add-SFP-module-support.patch
+++ b/target/linux/mvebu/patches-4.14/414-ARM-dts-armada388-clearfog-add-SFP-module-support.patch
@@ -21,7 +21,7 @@ Signed-off-by: Russell King <rmk+kernel at arm.linux.org.uk>
+ compatible = "sff,sfp";
+ i2c-bus = <&i2c1>;
+ los-gpio = <&expander0 12 GPIO_ACTIVE_HIGH>;
-+ moddef0-gpio = <&expander0 15 GPIO_ACTIVE_LOW>;
++ mod-def0-gpio = <&expander0 15 GPIO_ACTIVE_LOW>;
+ tx-disable-gpio = <&expander0 14 GPIO_ACTIVE_HIGH>;
+ tx-fault-gpio = <&expander0 13 GPIO_ACTIVE_HIGH>;
+ };
More information about the lede-commits
mailing list