qca9558_tplink_archer-c7-v1.dts 799 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
  2. /dts-v1/;
  3. #include <dt-bindings/gpio/gpio.h>
  4. #include <dt-bindings/input/input.h>
  5. #include "qca9558_tplink_archer-c7.dtsi"
  6. / {
  7. compatible = "tplink,archer-c7-v1", "qca,qca9558";
  8. model = "TP-Link Archer C7 v1";
  9. };
  10. &gpio_keys {
  11. rfkill {
  12. gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
  13. linux,code = <KEY_RFKILL>;
  14. linux,input-type = <EV_SW>;
  15. debounce-interval = <60>;
  16. };
  17. };
  18. &gpio_leds {
  19. wlan5g {
  20. label = "tp-link:green:wlan5g";
  21. gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
  22. linux,default-trigger = "phy0tpt";
  23. };
  24. };
  25. &mtdparts {
  26. uboot: u-boot@0 {
  27. reg = <0x000000 0x020000>;
  28. read-only;
  29. };
  30. firmware@20000 {
  31. compatible = "tplink,firmware";
  32. reg = <0x020000 0x7d0000>;
  33. };
  34. art: art@7f0000 {
  35. reg = <0x7f0000 0x010000>;
  36. read-only;
  37. };
  38. };