mt7622-reyee-ax3200-e5.dts 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
  2. /dts-v1/;
  3. #include <dt-bindings/input/input.h>
  4. #include <dt-bindings/gpio/gpio.h>
  5. #include "mt7622-ruijie-rg-ew3200.dtsi"
  6. / {
  7. model = "reyee AX3200 E5";
  8. compatible = "reyee,ax3200-e5", "mediatek,mt7622";
  9. };
  10. &nor_flash {
  11. status = "okay";
  12. pinctrl-names = "default";
  13. pinctrl-0 = <&spi_nor_pins>;
  14. flash@0 {
  15. compatible = "jedec,spi-nor";
  16. reg = <0>;
  17. spi-max-frequency = <50000000>;
  18. partitions {
  19. compatible = "fixed-partitions";
  20. #address-cells = <1>;
  21. #size-cells = <1>;
  22. partition@0 {
  23. label = "Preloader";
  24. reg = <0x0 0x20000>;
  25. read-only;
  26. };
  27. partition@20000 {
  28. label = "ATF";
  29. reg = <0x20000 0x30000>;
  30. read-only;
  31. };
  32. partition@30000 {
  33. label = "u-boot";
  34. reg = <0x30000 0x80000>;
  35. read-only;
  36. };
  37. partition@80000 {
  38. label = "u-boot-env";
  39. reg = <0x80000 0x90000>;
  40. };
  41. factory: partition@90000 {
  42. label = "Factory";
  43. reg = <0x90000 0xd0000>;
  44. read-only;
  45. };
  46. partition@d0000 {
  47. label = "product_info";
  48. reg = <0xd0000 0xe0000>;
  49. read-only;
  50. };
  51. partition@e0000 {
  52. label = "kdump";
  53. reg = <0xe0000 0xf0000>;
  54. read-only;
  55. };
  56. partition@f0000 {
  57. compatible = "denx,fit";
  58. label = "firmware";
  59. reg = <0xf0000 0x1000000>;
  60. };
  61. };
  62. };
  63. };
  64. &wmac {
  65. status = "okay";
  66. pinctrl-names = "default";
  67. pinctrl-0 = <&epa_elna_pins>;
  68. mediatek,mtd-eeprom = <&factory 0x0>;
  69. };
  70. &slot0 {
  71. wifi@0,0 {
  72. compatible = "mediatek,mt76";
  73. reg = <0x0000 0 0 0 0>;
  74. mediatek,mtd-eeprom = <&factory 0x5000>;
  75. ieee80211-freq-limit = <5000000 6000000>;
  76. mediatek,disable-radar-background;
  77. };
  78. };