arm64: dts: marvell: clearfog-gt-8k: set SFP power limit
authorBaruch Siach <baruch@tkos.co.il>
Mon, 20 May 2019 04:08:21 +0000 (07:08 +0300)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Mon, 3 Jun 2019 14:19:40 +0000 (16:19 +0200)
The Clearfog GT-8K board is capable of supplying power up to 2W to SFP
modules. Make that explicit in the device-tree. Without this property
current kernel does not allow SFP modules that require more than 1W.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts

index 9143aa1..f275d94 100644 (file)
@@ -63,6 +63,7 @@
                tx-disable-gpio = <&cp1_gpio1 29 GPIO_ACTIVE_HIGH>;
                pinctrl-names = "default";
                pinctrl-0 = <&cp0_sfp_present_pins &cp1_sfp_tx_disable_pins>;
+               maximum-power-milliwatt = <2000>;
        };
 
        leds {