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 9143aa13ceb1180e8c2563ac186fcfe7216b94a2..f275d9420d5be9c68fb003a37b56f9c8270145bb 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 {