qca9558_tplink_archer-d7-v1.dts 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
  2. /dts-v1/;
  3. #include "qca9558_tplink_archer-d7.dtsi"
  4. / {
  5. compatible = "tplink,archer-d7-v1", "qca,qca9558";
  6. model = "TP-Link Archer D7 v1";
  7. aliases {
  8. label-mac-device = &wmac;
  9. };
  10. };
  11. &spi {
  12. status = "okay";
  13. num-cs = <1>;
  14. flash@0 {
  15. compatible = "jedec,spi-nor";
  16. reg = <0>;
  17. spi-max-frequency = <25000000>;
  18. partitions {
  19. compatible = "fixed-partitions";
  20. #address-cells = <1>;
  21. #size-cells = <1>;
  22. partition@0 {
  23. label = "u-boot";
  24. reg = <0x000000 0x020000>;
  25. read-only;
  26. };
  27. partition@20000 {
  28. compatible = "tplink,firmware";
  29. label = "firmware";
  30. reg = <0x020000 0xf90000>;
  31. };
  32. partition@fb0000 {
  33. label = "radioDECT";
  34. reg = <0xfb0000 0x010000>;
  35. read-only;
  36. };
  37. partition@fc0000 {
  38. label = "config";
  39. reg = <0xfc0000 0x010000>;
  40. read-only;
  41. };
  42. romfs: partition@fd0000 {
  43. label = "romfs";
  44. reg = <0xfd0000 0x010000>;
  45. read-only;
  46. };
  47. partition@fe0000 {
  48. label = "rom";
  49. reg = <0xfe0000 0x010000>;
  50. read-only;
  51. };
  52. art: partition@ff0000 {
  53. label = "art";
  54. reg = <0xff0000 0x010000>;
  55. read-only;
  56. };
  57. };
  58. };
  59. };
  60. &eth0 {
  61. mtd-mac-address = <&romfs 0xf100>;
  62. mtd-mac-address-increment = <1>;
  63. };
  64. &eth1 {
  65. mtd-mac-address = <&romfs 0xf100>;
  66. };
  67. &wmac {
  68. mtd-cal-data = <&art 0x1000>;
  69. mtd-mac-address = <&romfs 0xf100>;
  70. };