mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 08:51:13 +00:00
35 lines
1.3 KiB
Diff
35 lines
1.3 KiB
Diff
|
From f8ed4088ed9c61ae92193da6130d04c37e7b19f2 Mon Sep 17 00:00:00 2001
|
||
|
From: Frank Wunderlich <frank-w@public-files.de>
|
||
|
Date: Sun, 20 Aug 2023 17:31:33 +0200
|
||
|
Subject: [PATCH 20/22] arm64: dts: mt7986: define 3W max power to both SFP on
|
||
|
BPI-R3
|
||
|
|
||
|
All SFP power supplies are connected to the system VDD33 which is 3v3/8A.
|
||
|
Set 3A per SFP slot to allow SFPs work which need more power than the
|
||
|
default 1W.
|
||
|
|
||
|
Fixes: 8e01fb15b815 ("arm64: dts: mt7986: add Bananapi R3")
|
||
|
Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
|
||
|
---
|
||
|
arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts | 2 ++
|
||
|
1 file changed, 2 insertions(+)
|
||
|
|
||
|
--- a/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts
|
||
|
+++ b/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts
|
||
|
@@ -126,6 +126,7 @@
|
||
|
compatible = "sff,sfp";
|
||
|
i2c-bus = <&i2c_sfp1>;
|
||
|
los-gpios = <&pio 46 GPIO_ACTIVE_HIGH>;
|
||
|
+ maximum-power-milliwatt = <3000>;
|
||
|
mod-def0-gpios = <&pio 49 GPIO_ACTIVE_LOW>;
|
||
|
tx-disable-gpios = <&pio 20 GPIO_ACTIVE_HIGH>;
|
||
|
tx-fault-gpios = <&pio 7 GPIO_ACTIVE_HIGH>;
|
||
|
@@ -137,6 +138,7 @@
|
||
|
i2c-bus = <&i2c_sfp2>;
|
||
|
los-gpios = <&pio 31 GPIO_ACTIVE_HIGH>;
|
||
|
mod-def0-gpios = <&pio 47 GPIO_ACTIVE_LOW>;
|
||
|
+ maximum-power-milliwatt = <3000>;
|
||
|
tx-disable-gpios = <&pio 15 GPIO_ACTIVE_HIGH>;
|
||
|
tx-fault-gpios = <&pio 48 GPIO_ACTIVE_HIGH>;
|
||
|
};
|