405-dts-mt7623n-bpi-r2-fix-leds.patch 596 B

12345678910111213141516171819202122232425
  1. --- a/arch/arm/dts/mt7623n-bananapi-bpi-r2.dts
  2. +++ b/arch/arm/dts/mt7623n-bananapi-bpi-r2.dts
  3. @@ -51,19 +51,19 @@
  4. blue {
  5. label = "bpi-r2:pio:blue";
  6. - gpios = <&gpio 241 GPIO_ACTIVE_HIGH>;
  7. + gpios = <&gpio 240 GPIO_ACTIVE_LOW>;
  8. default-state = "off";
  9. };
  10. green {
  11. label = "bpi-r2:pio:green";
  12. - gpios = <&gpio 240 GPIO_ACTIVE_HIGH>;
  13. + gpios = <&gpio 241 GPIO_ACTIVE_LOW>;
  14. default-state = "off";
  15. };
  16. red {
  17. label = "bpi-r2:pio:red";
  18. - gpios = <&gpio 239 GPIO_ACTIVE_HIGH>;
  19. + gpios = <&gpio 239 GPIO_ACTIVE_LOW>;
  20. default-state = "off";
  21. };
  22. };