d025f36a53c1c4b934a3a7277f1a3549d3a6056f
[openwrt/staging/chunkeey.git] / target / linux / mvebu / patches-4.19 / 546-arm64-dts-uDPU-SFP-cages-support-3W-modules.patch
1 From 1cb114a20854e34324a2cb308f23054ff8227ffa Mon Sep 17 00:00:00 2001
2 From: Russell King <rmk+kernel@armlinux.org.uk>
3 Date: Tue, 19 Nov 2019 22:48:50 +0000
4 Subject: [PATCH 659/660] arm64: dts: uDPU: SFP cages support 3W modules
5
6 The SFP cages are designed to support up to 3W modules, such as G.hn,
7 G.fast and MoCA modules. Although there is no way for such modules to
8 declare to software that they consume 3W, we document in DT that this
9 is the designed power level for these cages.
10
11 Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
12 ---
13 arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts | 2 ++
14 1 file changed, 2 insertions(+)
15
16 --- a/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts
17 +++ b/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts
18 @@ -69,6 +69,7 @@
19 mod-def0-gpio = <&gpiosb 3 GPIO_ACTIVE_LOW>;
20 tx-disable-gpio = <&gpiosb 4 GPIO_ACTIVE_HIGH>;
21 tx-fault-gpio = <&gpiosb 5 GPIO_ACTIVE_HIGH>;
22 + maximum-power-milliwatt = <3000>;
23 };
24
25 sfp_eth1: sfp-eth1 {
26 @@ -78,6 +79,7 @@
27 mod-def0-gpio = <&gpiosb 8 GPIO_ACTIVE_LOW>;
28 tx-disable-gpio = <&gpiosb 9 GPIO_ACTIVE_HIGH>;
29 tx-fault-gpio = <&gpiosb 10 GPIO_ACTIVE_HIGH>;
30 + maximum-power-milliwatt = <3000>;
31 };
32 };
33