ar9344_mikrotik_routerboard-911-lite.dts 848 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
  2. #include <dt-bindings/leds/common.h>
  3. #include "ar9344_mikrotik_routerboard.dtsi"
  4. #include "ar9344_mikrotik_routerboard-16m-nor.dtsi"
  5. / {
  6. model = "MikroTik RouterBOARD 911-2Hn/5Hn (Lite2/Lite5)";
  7. compatible = "mikrotik,routerboard-911-lite", "qca,ar9344";
  8. };
  9. &leds {
  10. pinctrl-names = "default";
  11. pinctrl-0 = <&enable_gpio_20>;
  12. lan {
  13. function = LED_FUNCTION_LAN;
  14. color = <LED_COLOR_ID_GREEN>;
  15. gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
  16. };
  17. power {
  18. function = LED_FUNCTION_POWER;
  19. color = <LED_COLOR_ID_GREEN>;
  20. gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
  21. default-state = "on";
  22. };
  23. led_user: user {
  24. label = "green:user";
  25. gpios = <&gpio 3 (GPIO_ACTIVE_LOW|GPIO_OPEN_DRAIN)>;
  26. };
  27. };
  28. &pinmux {
  29. enable_gpio_20: pinmux_gpio_out_function5 {
  30. pinctrl-single,bits = <0x14 0x0 0xff>;
  31. };
  32. };