2
0

020-arm64-dts-mt7986-define-3W-max-power-to-both-SFP-on-.patch 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  1. From f8ed4088ed9c61ae92193da6130d04c37e7b19f2 Mon Sep 17 00:00:00 2001
  2. From: Frank Wunderlich <[email protected]>
  3. Date: Sun, 20 Aug 2023 17:31:33 +0200
  4. Subject: [PATCH 20/22] arm64: dts: mt7986: define 3W max power to both SFP on
  5. BPI-R3
  6. All SFP power supplies are connected to the system VDD33 which is 3v3/8A.
  7. Set 3A per SFP slot to allow SFPs work which need more power than the
  8. default 1W.
  9. Fixes: 8e01fb15b815 ("arm64: dts: mt7986: add Bananapi R3")
  10. Signed-off-by: Frank Wunderlich <[email protected]>
  11. ---
  12. arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts | 2 ++
  13. 1 file changed, 2 insertions(+)
  14. --- a/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts
  15. +++ b/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts
  16. @@ -126,6 +126,7 @@
  17. compatible = "sff,sfp";
  18. i2c-bus = <&i2c_sfp1>;
  19. los-gpios = <&pio 46 GPIO_ACTIVE_HIGH>;
  20. + maximum-power-milliwatt = <3000>;
  21. mod-def0-gpios = <&pio 49 GPIO_ACTIVE_LOW>;
  22. tx-disable-gpios = <&pio 20 GPIO_ACTIVE_HIGH>;
  23. tx-fault-gpios = <&pio 7 GPIO_ACTIVE_HIGH>;
  24. @@ -137,6 +138,7 @@
  25. i2c-bus = <&i2c_sfp2>;
  26. los-gpios = <&pio 31 GPIO_ACTIVE_HIGH>;
  27. mod-def0-gpios = <&pio 47 GPIO_ACTIVE_LOW>;
  28. + maximum-power-milliwatt = <3000>;
  29. tx-disable-gpios = <&pio 15 GPIO_ACTIVE_HIGH>;
  30. tx-fault-gpios = <&pio 48 GPIO_ACTIVE_HIGH>;
  31. };