[openwrt/openwrt] mediatek: bpi-r3: allow up to 3W per SFP module

LEDE Commits lede-commits at lists.infradead.org
Thu Apr 20 03:41:15 PDT 2023


dangole pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/929634c4dedc744f7e5df3bd16f59054c7fc6e82

commit 929634c4dedc744f7e5df3bd16f59054c7fc6e82
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Tue Apr 18 19:09:01 2023 +0100

    mediatek: bpi-r3: allow up to 3W per SFP module
    
    According to SinoVoip up to 3A @ 3.3V are available for both
    SFP modules together. Raise energy limit from 1W (default) to 3W,
    however, be aware that using modules consuming more than 1W will
    require active cooling!
    
    Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
 target/linux/mediatek/dts/mt7986a-bananapi-bpi-r3.dts | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/target/linux/mediatek/dts/mt7986a-bananapi-bpi-r3.dts b/target/linux/mediatek/dts/mt7986a-bananapi-bpi-r3.dts
index 4d118b0fbc..bcd682fee0 100644
--- a/target/linux/mediatek/dts/mt7986a-bananapi-bpi-r3.dts
+++ b/target/linux/mediatek/dts/mt7986a-bananapi-bpi-r3.dts
@@ -120,6 +120,7 @@
 		mod-def0-gpios = <&pio 49 GPIO_ACTIVE_LOW>;
 		tx-disable-gpios = <&pio 20 GPIO_ACTIVE_HIGH>;
 		tx-fault-gpios = <&pio 7 GPIO_ACTIVE_HIGH>;
+		maximum-power-milliwatt = <3000>;
 	};
 
 	/* SFP2 cage (LAN) */
@@ -139,6 +140,7 @@
 		mod-def0-gpios = <&pio 47 GPIO_ACTIVE_LOW>;
 		tx-disable-gpios = <&pio 15 GPIO_ACTIVE_HIGH>;
 		tx-fault-gpios = <&pio 48 GPIO_ACTIVE_HIGH>;
+		maximum-power-milliwatt = <3000>;
 	};
 };
 




More information about the lede-commits mailing list