Advertisement
Guest User

Untitled

a guest
Jan 3rd, 2025
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.40 KB | None | 0 0
  1. diff --git a/target/linux/ath79/dts/ar9344_tplink_tl-wdr3600-16m.dts b/target/linux/ath79/dts/ar9344_tplink_tl-wdr3600-16m.dts
  2. new file mode 100644
  3. index 000000000000..b7d5dadcd03e
  4. --- /dev/null
  5. +++ b/target/linux/ath79/dts/ar9344_tplink_tl-wdr3600-16m.dts
  6. @@ -0,0 +1,29 @@
  7. +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
  8. +
  9. +#include "ar9344_tplink_tl-wdr4300.dtsi"
  10. +
  11. +/ {
  12. + model = "TP-Link TL-WDR3600 16M";
  13. + compatible = "tplink,tl-wdr3600-16m", "qca,ar9344";
  14. +};
  15. +
  16. +&spi {
  17. + status = "okay";
  18. +
  19. + flash@0 {
  20. + partitions {
  21. + partition@20000 {
  22. + compatible = "tplink,firmware";
  23. + label = "firmware";
  24. + reg = <0x020000 0xfd0000>;
  25. + };
  26. +
  27. + art: partition@7f0000 {
  28. + label = "art";
  29. + reg = <0xff0000 0x010000>;
  30. + read-only;
  31. + };
  32. + };
  33. + };
  34. +};
  35. +
  36. diff --git a/target/linux/ath79/generic/base-files/etc/board.d/02_network b/target/linux/ath79/generic/base-files/etc/board.d/02_network
  37. index e987d754f0ac..7577a9660334 100644
  38. --- a/target/linux/ath79/generic/base-files/etc/board.d/02_network
  39. +++ b/target/linux/ath79/generic/base-files/etc/board.d/02_network
  40. @@ -429,6 +429,7 @@ ath79_setup_interfaces()
  41. tplink,archer-c7-v4|\
  42. tplink,archer-c7-v5|\
  43. tplink,tl-wdr3600-v1|\
  44. + tplink,tl-wdr3600-16m|\
  45. tplink,tl-wdr4300-v1|\
  46. tplink,tl-wdr4300-v1-il|\
  47. tplink,tl-wdr4310-v1)
  48. diff --git a/target/linux/ath79/image/generic-tp-link.mk b/target/linux/ath79/image/generic-tp-link.mk
  49. index c42338db7832..fcc581b998fb 100644
  50. --- a/target/linux/ath79/image/generic-tp-link.mk
  51. +++ b/target/linux/ath79/image/generic-tp-link.mk
  52. @@ -645,6 +645,17 @@ define Device/tplink_tl-wdr3600-v1
  53. endef
  54. TARGET_DEVICES += tplink_tl-wdr3600-v1
  55.  
  56. +define Device/tplink_tl-wdr3600-16m
  57. + $(Device/tplink-16mlzma)
  58. + SOC := ar9344
  59. + DEVICE_MODEL := TL-WDR3600
  60. + DEVICE_VARIANT := 16M
  61. + DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport
  62. + TPLINK_HWID := 0x36000001
  63. + SUPPORTED_DEVICES += tl-wdr3600-16m
  64. +endef
  65. +TARGET_DEVICES += tplink_tl-wdr3600-16m
  66. +
  67. define Device/tplink_tl-wdr4300-v1
  68. $(Device/tplink-8mlzma)
  69. SOC := ar9344
  70.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement