qcom-ipq4019-ea8300.dts 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
  2. #include <dt-bindings/leds/common.h>
  3. #include "qcom-ipq4019-xx8300.dtsi"
  4. / {
  5. model = "Linksys EA8300 (Dallas)";
  6. compatible = "linksys,ea8300", "qcom,ipq4019";
  7. aliases {
  8. led-boot = &led_wps_amber;
  9. led-failsafe = &led_wps;
  10. led-running = &led_linksys;
  11. led-upgrade = &led_world;
  12. serial0 = &blsp1_uart1;
  13. };
  14. leds {
  15. compatible = "gpio-leds";
  16. // Retain node names from running OEM on EA8300
  17. // Front panel LEDs, top to bottom
  18. led_plug: diag {
  19. label = "amber:plug";
  20. gpios = <&tlmm 47 GPIO_ACTIVE_HIGH>;
  21. };
  22. led_world: internet {
  23. label = "amber:world";
  24. gpios = <&tlmm 49 GPIO_ACTIVE_HIGH>;
  25. };
  26. led_wps: wps {
  27. function = LED_FUNCTION_WPS;
  28. color = <LED_COLOR_ID_WHITE>;
  29. gpios = <&tlmm 46 GPIO_ACTIVE_HIGH>;
  30. };
  31. led_wps_amber: wps_amber {
  32. function = LED_FUNCTION_WPS;
  33. color = <LED_COLOR_ID_AMBER>;
  34. gpios = <&tlmm 22 GPIO_ACTIVE_HIGH>;
  35. panic-indicator;
  36. };
  37. led_linksys: pwr {
  38. label = "white:linksys";
  39. gpios = <&tlmm 45 GPIO_ACTIVE_HIGH>;
  40. };
  41. // On back panel, above USB socket
  42. led_usb: usb {
  43. function = LED_FUNCTION_USB;
  44. color = <LED_COLOR_ID_GREEN>;
  45. gpios = <&tlmm 61 GPIO_ACTIVE_LOW>;
  46. trigger-sources = <&usb3_port1>, <&usb3_port2>,
  47. <&usb2_port1>;
  48. linux,default-trigger = "usbport";
  49. };
  50. };
  51. keys {
  52. compatible = "gpio-keys";
  53. reset {
  54. label = "reset";
  55. linux,code = <KEY_RESTART>;
  56. gpios = <&tlmm 50 GPIO_ACTIVE_LOW>;
  57. };
  58. wps {
  59. label = "wps";
  60. linux,code = <KEY_WPS_BUTTON>;
  61. gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
  62. };
  63. };
  64. };
  65. &wifi0 {
  66. status = "okay";
  67. qcom,ath10k-calibration-variant = "linksys-ea8300-fcc";
  68. };
  69. &wifi1 {
  70. status = "okay";
  71. ieee80211-freq-limit = <5170000 5330000>;
  72. qcom,ath10k-calibration-variant = "linksys-ea8300-fcc";
  73. };
  74. &wifi2 {
  75. status = "okay";
  76. ieee80211-freq-limit = <5490000 5835000>;
  77. qcom,ath10k-calibration-variant = "linksys-ea8300-fcc";
  78. };