From: Jonas Gorski Date: Sun, 25 Feb 2018 21:52:41 +0000 (+0100) Subject: mvebu: fix SFP insert detection GPIO name on 4.14 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=39f8751cdc9fe383f5c8ed7ced75da3e0b6eb6a6;p=openwrt%2Fstaging%2Flynxis.git 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 --- 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 38c6f421eb..52ddcb6063 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 + 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>; + };