ar7241_ubnt_xm_outdoor.dtsi 617 B

123456789101112131415161718192021222324252627282930313233343536
  1. // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
  2. #include <dt-bindings/gpio/gpio.h>
  3. #include <dt-bindings/input/input.h>
  4. #include "ar7241_ubnt_xm.dtsi"
  5. / {
  6. aliases {
  7. led-boot = &link4;
  8. led-failsafe = &link4;
  9. };
  10. leds {
  11. compatible = "gpio-leds";
  12. link1 {
  13. label = "ubnt:red:link1";
  14. gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
  15. };
  16. link2 {
  17. label = "ubnt:orange:link2";
  18. gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
  19. };
  20. link3 {
  21. label = "ubnt:green:link3";
  22. gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
  23. };
  24. link4: link4 {
  25. label = "ubnt:green:link4";
  26. gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
  27. };
  28. };
  29. };