mediatek: bpi-r3: allow up to 3W per SFP module
authorDaniel Golle <daniel@makrotopia.org>
Tue, 18 Apr 2023 18:09:01 +0000 (19:09 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 20 Apr 2023 00:03:56 +0000 (01:03 +0100)
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@makrotopia.org>
target/linux/mediatek/dts/mt7986a-bananapi-bpi-r3.dts

index 4d118b0fbc1d11fe288cd1afc8432f79d4e11db1..bcd682fee0f1536018ac644dd190a01fabc82326 100644 (file)
                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) */
                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>;
        };
 };