mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-26 16:51:48 +00:00
74 lines
1.7 KiB
Diff
74 lines
1.7 KiB
Diff
diff --git a/arch/arm/boot/dts/armada-388-clearfog.dts b/arch/arm/boot/dts/armada-388-clearfog.dts
|
|
index bfc9ecc..99a3acf
|
|
--- a/arch/arm/boot/dts/armada-388-clearfog.dts
|
|
+++ b/arch/arm/boot/dts/armada-388-clearfog.dts
|
|
@@ -77,16 +77,12 @@
|
|
soc {
|
|
internal-regs {
|
|
ethernet@30000 {
|
|
+ managed = "in-band-status";
|
|
phy-mode = "sgmii";
|
|
buffer-manager = <&bm>;
|
|
bm,pool-long = <2>;
|
|
bm,pool-short = <1>;
|
|
status = "okay";
|
|
-
|
|
- fixed-link {
|
|
- speed = <1000>;
|
|
- full-duplex;
|
|
- };
|
|
};
|
|
|
|
ethernet@34000 {
|
|
@@ -183,34 +179,6 @@
|
|
output-low;
|
|
line-name = "m.2 devslp";
|
|
};
|
|
- sfp_los {
|
|
- /* SFP loss of signal */
|
|
- gpio-hog;
|
|
- gpios = <12 GPIO_ACTIVE_HIGH>;
|
|
- input;
|
|
- line-name = "sfp-los";
|
|
- };
|
|
- sfp_tx_fault {
|
|
- /* SFP laser fault */
|
|
- gpio-hog;
|
|
- gpios = <13 GPIO_ACTIVE_HIGH>;
|
|
- input;
|
|
- line-name = "sfp-tx-fault";
|
|
- };
|
|
- sfp_tx_disable {
|
|
- /* SFP transmit disable */
|
|
- gpio-hog;
|
|
- gpios = <14 GPIO_ACTIVE_HIGH>;
|
|
- output-low;
|
|
- line-name = "sfp-tx-disable";
|
|
- };
|
|
- sfp_mod_def0 {
|
|
- /* SFP module present */
|
|
- gpio-hog;
|
|
- gpios = <15 GPIO_ACTIVE_LOW>;
|
|
- input;
|
|
- line-name = "sfp-mod-def0";
|
|
- };
|
|
};
|
|
|
|
/* The MCP3021 is 100kHz clock only */
|
|
@@ -390,6 +358,16 @@
|
|
};
|
|
};
|
|
|
|
+ sfp: sfp {
|
|
+ compatible = "sff,sfp";
|
|
+ i2c-bus = <&i2c1>;
|
|
+ los-gpio = <&expander0 12 GPIO_ACTIVE_HIGH>;
|
|
+ moddef0-gpio = <&expander0 15 GPIO_ACTIVE_LOW>;
|
|
+ sfp,ethernet = <ð2>;
|
|
+ tx-disable-gpio = <&expander0 14 GPIO_ACTIVE_HIGH>;
|
|
+ tx-fault-gpio = <&expander0 13 GPIO_ACTIVE_HIGH>;
|
|
+ };
|
|
+
|
|
dsa@0 {
|
|
compatible = "marvell,dsa";
|
|
dsa,ethernet = <ð1>;
|