ipq8072-eap620hd-v1.dts 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. // SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause
  2. /dts-v1/;
  3. #include "ipq8074.dtsi"
  4. #include "ipq8074-hk-cpu.dtsi"
  5. #include "ipq8074-ess.dtsi"
  6. #include <dt-bindings/leds/common.h>
  7. #include <dt-bindings/input/input.h>
  8. #include <dt-bindings/gpio/gpio.h>
  9. / {
  10. model = "TP-Link EAP620 HD v1";
  11. compatible = "tplink,eap620hd-v1", "qcom,ipq8074";
  12. aliases {
  13. serial0 = &blsp1_uart5;
  14. led-boot = &led_status_blue;
  15. led-failsafe = &led_status_blue;
  16. led-running = &led_status_blue;
  17. led-upgrade = &led_status_blue;
  18. };
  19. chosen {
  20. stdout-path = "serial0,115200n8";
  21. bootargs-append = " root=/dev/ubiblock0_1";
  22. };
  23. keys {
  24. compatible = "gpio-keys";
  25. reset {
  26. label = "reset";
  27. gpios = <&tlmm 50 GPIO_ACTIVE_LOW>;
  28. linux,code = <KEY_RESTART>;
  29. };
  30. };
  31. leds {
  32. compatible = "gpio-leds";
  33. led_status_blue: status-blue {
  34. function = LED_FUNCTION_STATUS;
  35. gpios = <&tlmm 42 GPIO_ACTIVE_HIGH>;
  36. color = <LED_COLOR_ID_BLUE>;
  37. };
  38. };
  39. };
  40. &blsp1_uart5 {
  41. status = "okay";
  42. };
  43. &tlmm {
  44. mdio_pins: mdio-pins {
  45. mdc {
  46. pins = "gpio68";
  47. function = "mdc";
  48. drive-strength = <8>;
  49. bias-pull-up;
  50. };
  51. mdio {
  52. pins = "gpio69";
  53. function = "mdio";
  54. drive-strength = <8>;
  55. bias-pull-up;
  56. };
  57. };
  58. };
  59. &mdio {
  60. status = "okay";
  61. pinctrl-0 = <&mdio_pins>;
  62. pinctrl-names = "default";
  63. reset-gpios = <&tlmm 37 GPIO_ACTIVE_LOW>;
  64. ar8031: ethernet-phy@4 {
  65. compatible = "ethernet-phy-ieee802.3-c22";
  66. reg = <4>;
  67. };
  68. };
  69. &dp6 {
  70. status = "okay";
  71. phy-handle = <&ar8031>;
  72. label = "lan";
  73. };
  74. &switch {
  75. status = "okay";
  76. switch_lan_bmp = <ESS_PORT6>;
  77. switch_mac_mode2 = <MAC_MODE_SGMII_CHANNEL0>;
  78. qcom,port_phyinfo {
  79. port@6 {
  80. phy_address = <4>;
  81. port_id = <6>;
  82. };
  83. };
  84. };
  85. &edma {
  86. status = "okay";
  87. };
  88. &prng {
  89. status = "okay";
  90. };
  91. &cryptobam {
  92. status = "okay";
  93. };
  94. &crypto {
  95. status = "okay";
  96. };
  97. &qpic_bam {
  98. status = "okay";
  99. };
  100. &qpic_nand {
  101. status = "okay";
  102. nand@0 {
  103. reg = <0>;
  104. nand-ecc-strength = <4>;
  105. nand-ecc-step-size = <512>;
  106. nand-bus-width = <8>;
  107. partitions {
  108. compatible = "qcom,smem-part";
  109. };
  110. };
  111. };
  112. &wifi {
  113. status = "okay";
  114. qcom,ath11k-calibration-variant = "TP-Link-EAP620-HD-v1";
  115. };