mt7622-ruijie-rg-ew3200gx-pro.dts 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
  2. /dts-v1/;
  3. #include "mt7622-ruijie-rg-ew3200.dtsi"
  4. / {
  5. model = "Ruijie RG-EW3200GX PRO";
  6. compatible = "ruijie,rg-ew3200gx-pro", "mediatek,mt7622";
  7. };
  8. &nor_flash {
  9. status = "okay";
  10. pinctrl-names = "default";
  11. pinctrl-0 = <&spi_nor_pins>;
  12. flash@0 {
  13. compatible = "jedec,spi-nor";
  14. reg = <0>;
  15. spi-max-frequency = <50000000>;
  16. partitions {
  17. compatible = "fixed-partitions";
  18. #address-cells = <1>;
  19. #size-cells = <1>;
  20. partition@0 {
  21. label = "Preloader";
  22. reg = <0x0 0x40000>;
  23. read-only;
  24. };
  25. partition@40000 {
  26. label = "ATF";
  27. reg = <0x40000 0x20000>;
  28. read-only;
  29. };
  30. partition@60000 {
  31. label = "u-boot";
  32. reg = <0x60000 0x50000>;
  33. read-only;
  34. };
  35. partition@B0000 {
  36. label = "u-boot-env";
  37. reg = <0xb0000 0x20000>;
  38. };
  39. factory: partition@D0000 {
  40. label = "Factory";
  41. reg = <0xd0000 0x80000>;
  42. read-only;
  43. };
  44. partition@150000 {
  45. label = "product_info";
  46. reg = <0x150000 0x10000>;
  47. read-only;
  48. };
  49. partition@160000 {
  50. label = "kdump";
  51. reg = <0x160000 0x10000>;
  52. read-only;
  53. };
  54. partition@170000 {
  55. compatible = "denx,fit";
  56. label = "firmware";
  57. reg = <0x170000 0xe90000>;
  58. };
  59. };
  60. };
  61. };
  62. &wmac {
  63. status = "okay";
  64. pinctrl-names = "default";
  65. pinctrl-0 = <&epa_elna_pins>;
  66. mediatek,mtd-eeprom = <&factory 0x0>;
  67. };
  68. &slot0 {
  69. wifi@0,0 {
  70. compatible = "mediatek,mt76";
  71. reg = <0x0000 0 0 0 0>;
  72. mediatek,mtd-eeprom = <&factory 0x5000>;
  73. ieee80211-freq-limit = <5000000 6000000>;
  74. mediatek,disable-radar-background;
  75. };
  76. };