mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 22:23:27 +00:00
46678fbdca
Update the uDPU kernel support, fixing a number of issues: * make ethernet work again by adding comphy definitions * slow the I2C bus to give it more chance of actually working * the SFP cages are designed to support up to 3W modules, which would be prevented from initialising without this patch. Signed-off-by: Russell King <linux@armlinux.org.uk> [jonas.gorski: rename to mvebu, refresh patches] Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
34 lines
1.2 KiB
Diff
34 lines
1.2 KiB
Diff
From 1cb114a20854e34324a2cb308f23054ff8227ffa Mon Sep 17 00:00:00 2001
|
|
From: Russell King <rmk+kernel@armlinux.org.uk>
|
|
Date: Tue, 19 Nov 2019 22:48:50 +0000
|
|
Subject: [PATCH 659/660] arm64: dts: uDPU: SFP cages support 3W modules
|
|
|
|
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>
|
|
---
|
|
arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
--- a/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts
|
|
+++ b/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts
|
|
@@ -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>;
|
|
};
|
|
};
|
|
|