commit | 46cc267a2e9c597bd02053d8f5bd4db52e9cc926 | [log] [tgz] |
---|---|---|
author | developer <developer@mediatek.com> | Mon Jan 09 10:17:40 2023 +0800 |
committer | developer <developer@mediatek.com> | Tue Jan 10 16:03:03 2023 +0800 |
tree | c2ad86d117573e2e33491c4ac187e823f4be6214 | |
parent | 69b0f4212f03c4c249f80f89bba8aa1be1adb5e7 [diff] |
[][kernel][mt7988][eth][Add maximum power definition for SFP+] [Description] Add maximum power definition for SFP+. If without this patch, SFP framework cannot enable high power mode for high power modules. [Release-log] N/A Change-Id: I89e6f1a813dad24dd727c85c2ac3feddefa7165a Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/7020870
diff --git a/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7988a-gsw-10g-sfp-spim-nand.dts b/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7988a-gsw-10g-sfp-spim-nand.dts index bd6a96f..d6c7237 100644 --- a/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7988a-gsw-10g-sfp-spim-nand.dts +++ b/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7988a-gsw-10g-sfp-spim-nand.dts
@@ -83,6 +83,7 @@ i2c-bus = <&i2c1>; mod-def0-gpios = <&pio 35 1>; tx-disable-gpios = <&pio 29 0>; + maximum-power-milliwatt = <3000>; }; sfp_esp1: sfp@1 { @@ -90,6 +91,7 @@ i2c-bus = <&i2c2>; mod-def0-gpios = <&pio 82 1>; tx-disable-gpios = <&pio 36 0>; + maximum-power-milliwatt = <3000>; }; };