arm64: dts: uDPU: SFP cages support 3W modules
authorRussell King <rmk+kernel@armlinux.org.uk>
Tue, 19 Nov 2019 22:53:04 +0000 (22:53 +0000)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Mon, 9 Dec 2019 14:30:59 +0000 (15:30 +0100)
The SFP cages are designed to support up to 3W modules, such as G.hn,
G.fast and MoCA modules. Although there is no way for such modules to
declare to software that they consume 3W, we document in DT that this
is the designed power level for these cages.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts

index 2ac1d9a..7eb6c17 100644 (file)
@@ -69,6 +69,7 @@
                mod-def0-gpio = <&gpiosb 3 GPIO_ACTIVE_LOW>;
                tx-disable-gpio = <&gpiosb 4 GPIO_ACTIVE_HIGH>;
                tx-fault-gpio = <&gpiosb 5 GPIO_ACTIVE_HIGH>;
+               maximum-power-milliwatt = <3000>;
        };
 
        sfp_eth1: sfp-eth1 {
@@ -78,6 +79,7 @@
                mod-def0-gpio = <&gpiosb 8 GPIO_ACTIVE_LOW>;
                tx-disable-gpio = <&gpiosb 9 GPIO_ACTIVE_HIGH>;
                tx-fault-gpio = <&gpiosb 10 GPIO_ACTIVE_HIGH>;
+               maximum-power-milliwatt = <3000>;
        };
 };