1 From 74fa68669c88f73bceff523cb764297b7d1e132b Mon Sep 17 00:00:00 2001
2 From: Russell King <rmk+kernel@arm.linux.org.uk>
3 Date: Tue, 29 Nov 2016 10:13:44 +0000
4 Subject: ARM: dts: armada388-clearfog: add SFP module support
6 Add SFP module support for Clearfog using the SFP phylink support.
8 Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
10 arch/arm/boot/dts/armada-388-clearfog.dtsi | 44 ++++++++----------------------
11 1 file changed, 11 insertions(+), 33 deletions(-)
13 --- a/arch/arm/boot/dts/armada-388-clearfog.dtsi
14 +++ b/arch/arm/boot/dts/armada-388-clearfog.dtsi
21 + compatible = "sff,sfp";
23 + los-gpio = <&expander0 12 GPIO_ACTIVE_HIGH>;
24 + mod-def0-gpio = <&expander0 15 GPIO_ACTIVE_LOW>;
25 + tx-disable-gpio = <&expander0 14 GPIO_ACTIVE_HIGH>;
26 + tx-fault-gpio = <&expander0 13 GPIO_ACTIVE_HIGH>;
34 buffer-manager = <&bm>;
35 + managed = "in-band-status";
49 line-name = "m.2 devslp";
52 - /* SFP loss of signal */
54 - gpios = <12 GPIO_ACTIVE_HIGH>;
56 - line-name = "sfp-los";
59 - /* SFP laser fault */
61 - gpios = <13 GPIO_ACTIVE_HIGH>;
63 - line-name = "sfp-tx-fault";
66 - /* SFP transmit disable */
68 - gpios = <14 GPIO_ACTIVE_HIGH>;
70 - line-name = "sfp-tx-disable";
73 - /* SFP module present */
75 - gpios = <15 GPIO_ACTIVE_LOW>;
77 - line-name = "sfp-mod-def0";
81 /* The MCP3021 supports standard and fast modes */