qcom-ipq4019-mr8300.dts 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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 MR8300 (Dallas)";
  6. compatible = "linksys,mr8300", "qcom,ipq4019";
  7. aliases {
  8. led-boot = &led_blue;
  9. led-failsafe = &led_red;
  10. led-running = &led_blue;
  11. led-upgrade = &led_amber;
  12. serial0 = &blsp1_uart1;
  13. };
  14. // Top panel LEDs, above Linksys logo
  15. leds {
  16. compatible = "gpio-leds";
  17. led_red: red {
  18. function = LED_FUNCTION_ALARM;
  19. color = <LED_COLOR_ID_RED>;
  20. gpios = <&tlmm 47 GPIO_ACTIVE_HIGH>;
  21. };
  22. led_amber: amber {
  23. function = LED_FUNCTION_PROGRAMMING;
  24. color = <LED_COLOR_ID_AMBER>;
  25. gpios = <&tlmm 22 GPIO_ACTIVE_HIGH>;
  26. panic-indicator;
  27. };
  28. led_blue: blue {
  29. function = LED_FUNCTION_POWER;
  30. color = <LED_COLOR_ID_BLUE>;
  31. gpios = <&tlmm 46 GPIO_ACTIVE_HIGH>;
  32. };
  33. // On back panel, above USB socket
  34. led_usb: usb {
  35. function = LED_FUNCTION_USB;
  36. color = <LED_COLOR_ID_GREEN>;
  37. gpios = <&tlmm 61 GPIO_ACTIVE_LOW>;
  38. trigger-sources = <&usb3_port1>, <&usb3_port2>,
  39. <&usb2_port1>;
  40. linux,default-trigger = "usbport";
  41. };
  42. };
  43. keys {
  44. compatible = "gpio-keys";
  45. reset {
  46. label = "reset";
  47. linux,code = <KEY_RESTART>;
  48. gpios = <&tlmm 50 GPIO_ACTIVE_LOW>;
  49. };
  50. wps {
  51. label = "wps";
  52. linux,code = <KEY_WPS_BUTTON>;
  53. gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
  54. };
  55. };
  56. };
  57. &wifi0 {
  58. status = "okay";
  59. qcom,ath10k-calibration-variant = "linksys-mr8300-v0-fcc";
  60. };
  61. &wifi1 {
  62. status = "okay";
  63. ieee80211-freq-limit = <5170000 5330000>;
  64. qcom,ath10k-calibration-variant = "linksys-mr8300-v0-fcc";
  65. };
  66. &wifi2 {
  67. status = "okay";
  68. ieee80211-freq-limit = <5490000 5835000>;
  69. qcom,ath10k-calibration-variant = "linksys-mr8300-v0-fcc";
  70. };