ar9344_dlink_dir-825-c1.dts 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
  2. /dts-v1/;
  3. #include "ar9344_dlink_dir-8x5.dtsi"
  4. / {
  5. model = "D-LINK DIR-825 C1";
  6. compatible = "dlink,dir-825-c1", "qca,ar9344";
  7. aliases {
  8. led-boot = &orange_power;
  9. led-failsafe = &orange_power;
  10. led-running = &blue_power;
  11. led-upgrade = &orange_power;
  12. serial0 = &uart;
  13. };
  14. leds {
  15. compatible = "gpio-leds";
  16. pinctrl-names = "default";
  17. pinctrl-0 = <&enable_gpio_11>;
  18. blue_power: blue_power {
  19. label = "d-link:blue:power";
  20. gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
  21. };
  22. blue_usb {
  23. label = "d-link:blue:usb";
  24. gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
  25. linux,default-trigger = "usbport";
  26. trigger-sources = <&hub_port1>;
  27. };
  28. blue_wan {
  29. label = "d-link:blue:wan";
  30. gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
  31. };
  32. blue_wlan2g {
  33. label = "d-link:blue:wlan2g";
  34. gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
  35. linux,default-trigger = "phy0tpt";
  36. };
  37. blue_wps {
  38. label = "d-link:blue:wps";
  39. gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
  40. };
  41. orange_power: orange_power {
  42. label = "d-link:orange:power";
  43. gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
  44. };
  45. orange_wan {
  46. label = "d-link:orange:wan";
  47. gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
  48. };
  49. };
  50. leds-ath9k {
  51. compatible = "gpio-leds";
  52. blue_wlan5g {
  53. label = "d-link:blue:wlan5g";
  54. gpios = <&ath9k 0 GPIO_ACTIVE_LOW>;
  55. linux,default-trigger = "phy1tpt";
  56. };
  57. };
  58. };
  59. &pinmux {
  60. enable_gpio_11: pinmux_enable_gpio_11 {
  61. pinctrl-single,bits = <0x8 0x0 0xff000000>;
  62. };
  63. };