014-v6.5-arm64-dts-mt7986-set-Wifi-Leds-low-active-for-BPI-R3.patch 991 B

123456789101112131415161718192021222324252627
  1. From ccdda5714446db8690505371442f7807f5d7c6fc Mon Sep 17 00:00:00 2001
  2. From: Frank Wunderlich <[email protected]>
  3. Date: Sun, 5 Feb 2023 18:48:33 +0100
  4. Subject: [PATCH 14/19] arm64: dts: mt7986: set Wifi Leds low-active for BPI-R3
  5. Leds for Wifi are low-active, so add property to devicetree.
  6. Signed-off-by: Frank Wunderlich <[email protected]>
  7. Reviewed-by: AngeloGioacchino Del Regno <[email protected]>
  8. Link: https://lore.kernel.org/r/[email protected]
  9. Signed-off-by: Matthias Brugger <[email protected]>
  10. ---
  11. arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts | 4 ++++
  12. 1 file changed, 4 insertions(+)
  13. --- a/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts
  14. +++ b/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts
  15. @@ -460,5 +460,9 @@
  16. pinctrl-names = "default", "dbdc";
  17. pinctrl-0 = <&wf_2g_5g_pins>, <&wf_led_pins>;
  18. pinctrl-1 = <&wf_dbdc_pins>, <&wf_led_pins>;
  19. +
  20. + led {
  21. + led-active-low;
  22. + };
  23. };