1 From 63ff73593c2f5d3fc1cba479321d192caaca48aa Mon Sep 17 00:00:00 2001
2 From: Russell King <rmk+kernel@arm.linux.org.uk>
3 Date: Sat, 12 Sep 2015 18:43:39 +0100
4 Subject: [PATCH 738/744] 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.dts | 44 ++++++++-----------------------
11 1 file changed, 11 insertions(+), 33 deletions(-)
13 --- a/arch/arm/boot/dts/armada-388-clearfog.dts
14 +++ b/arch/arm/boot/dts/armada-388-clearfog.dts
19 + managed = "in-band-status";
21 buffer-manager = <&bm>;
35 line-name = "m.2 devslp";
38 - /* SFP loss of signal */
40 - gpios = <12 GPIO_ACTIVE_HIGH>;
42 - line-name = "sfp-los";
45 - /* SFP laser fault */
47 - gpios = <13 GPIO_ACTIVE_HIGH>;
49 - line-name = "sfp-tx-fault";
52 - /* SFP transmit disable */
54 - gpios = <14 GPIO_ACTIVE_HIGH>;
56 - line-name = "sfp-tx-disable";
59 - /* SFP module present */
61 - gpios = <15 GPIO_ACTIVE_LOW>;
63 - line-name = "sfp-mod-def0";
67 /* The MCP3021 is 100kHz clock only */
73 + compatible = "sff,sfp";
75 + los-gpio = <&expander0 12 GPIO_ACTIVE_HIGH>;
76 + moddef0-gpio = <&expander0 15 GPIO_ACTIVE_LOW>;
77 + sfp,ethernet = <ð2>;
78 + tx-disable-gpio = <&expander0 14 GPIO_ACTIVE_HIGH>;
79 + tx-fault-gpio = <&expander0 13 GPIO_ACTIVE_HIGH>;
83 compatible = "marvell,dsa";
84 dsa,ethernet = <ð1>;