qcom-ipq4019-mr8300.dts 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
  2. #include "qcom-ipq4019-xx8300.dtsi"
  3. / {
  4. model = "Linksys MR8300 (Dallas)";
  5. compatible = "linksys,mr8300", "qcom,ipq4019";
  6. aliases {
  7. led-boot = &led_blue;
  8. led-failsafe = &led_red;
  9. led-running = &led_blue;
  10. led-upgrade = &led_amber;
  11. serial0 = &blsp1_uart1;
  12. };
  13. // Top panel LEDs, above Linksys logo
  14. leds {
  15. compatible = "gpio-leds";
  16. led_red: red {
  17. label = "red:alarm";
  18. gpios = <&tlmm 47 GPIO_ACTIVE_HIGH>;
  19. };
  20. led_amber: amber {
  21. label = "amber:programming";
  22. gpios = <&tlmm 22 GPIO_ACTIVE_HIGH>;
  23. panic-indicator;
  24. };
  25. led_blue: blue {
  26. label = "blue:power";
  27. gpios = <&tlmm 46 GPIO_ACTIVE_HIGH>;
  28. };
  29. // On back panel, above USB socket
  30. led_usb: usb {
  31. label = "green:usb";
  32. gpios = <&tlmm 61 GPIO_ACTIVE_LOW>;
  33. trigger-sources = <&usb3_port1>, <&usb3_port2>,
  34. <&usb2_port1>;
  35. linux,default-trigger = "usbport";
  36. };
  37. };
  38. keys {
  39. compatible = "gpio-keys";
  40. reset {
  41. label = "reset";
  42. linux,code = <KEY_RESTART>;
  43. gpios = <&tlmm 50 GPIO_ACTIVE_LOW>;
  44. };
  45. wps {
  46. label = "wps";
  47. linux,code = <KEY_WPS_BUTTON>;
  48. gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
  49. };
  50. };
  51. };
  52. &wifi0 {
  53. status = "okay";
  54. qcom,ath10k-calibration-variant = "linksys-mr8300-v0-fcc";
  55. };
  56. &wifi1 {
  57. status = "okay";
  58. ieee80211-freq-limit = <5170000 5330000>;
  59. qcom,ath10k-calibration-variant = "linksys-mr8300-v0-fcc";
  60. };
  61. &wifi2 {
  62. status = "okay";
  63. ieee80211-freq-limit = <5490000 5835000>;
  64. qcom,ath10k-calibration-variant = "linksys-mr8300-v0-fcc";
  65. };