qcom-ipq4018-ap120c-ac.dts 760 B

12345678910111213141516171819202122232425262728293031323334
  1. // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
  2. #include <dt-bindings/leds/common.h>
  3. #include "qcom-ipq4018-ap120c-ac.dtsi"
  4. / {
  5. leds {
  6. compatible = "gpio-leds";
  7. status: status {
  8. label = "ap120c-ac:blue:status";
  9. function = LED_FUNCTION_STATUS;
  10. color = <LED_COLOR_ID_BLUE>;
  11. gpios = <&tlmm 5 GPIO_ACTIVE_LOW>;
  12. default-state = "keep";
  13. };
  14. wlan2g {
  15. label = "ap120c-ac:green:wlan2g";
  16. function = LED_FUNCTION_WLAN;
  17. color = <LED_COLOR_ID_GREEN>;
  18. gpios = <&tlmm 3 GPIO_ACTIVE_HIGH>;
  19. linux,default-trigger = "phy0tpt";
  20. };
  21. wlan5g {
  22. label = "ap120c-ac:red:wlan5g";
  23. function = LED_FUNCTION_WLAN;
  24. color = <LED_COLOR_ID_RED>;
  25. gpios = <&tlmm 2 GPIO_ACTIVE_HIGH>;
  26. linux,default-trigger = "phy1tpt";
  27. };
  28. };
  29. };