RE6500.dts 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. /dts-v1/;
  2. /include/ "mt7621.dtsi"
  3. / {
  4. compatible = "mediatek,mt7621-eval-board", "mediatek,mt7621-soc";
  5. model = "Linksys RE6500";
  6. memory@0 {
  7. device_type = "memory";
  8. reg = <0x0 0x8000000>;
  9. };
  10. chosen {
  11. bootargs = "console=ttyS0,57600";
  12. };
  13. palmbus@1E000000 {
  14. spi@b00 {
  15. status = "okay";
  16. m25p80@0 {
  17. #address-cells = <1>;
  18. #size-cells = <1>;
  19. compatible = "mx25l6405d";
  20. reg = <0 0>;
  21. linux,modalias = "m25p80", "en25q64";
  22. spi-max-frequency = <10000000>;
  23. partition@0 {
  24. label = "u-boot";
  25. reg = <0x0 0x30000>;
  26. read-only;
  27. };
  28. partition@30000 {
  29. label = "u-boot-env";
  30. reg = <0x30000 0x10000>;
  31. read-only;
  32. };
  33. factory: partition@40000 {
  34. label = "factory";
  35. reg = <0x40000 0x10000>;
  36. read-only;
  37. };
  38. partition@50000 {
  39. label = "firmware";
  40. reg = <0x50000 0xfb0000>;
  41. };
  42. };
  43. };
  44. };
  45. pinctrl {
  46. state_default: pinctrl0 {
  47. gpio {
  48. ralink,group = "i2c", "uart2", "uart3", "rgmii2";
  49. ralink,function = "gpio";
  50. };
  51. };
  52. };
  53. pcie@1e140000 {
  54. status = "okay";
  55. pcie0 {
  56. mt76@0,0 {
  57. reg = <0x0000 0 0 0 0>;
  58. device_type = "pci";
  59. mediatek,mtd-eeprom = <&factory 0x0000>;
  60. mediatek,2ghz = <0>;
  61. };
  62. };
  63. pcie1 {
  64. mt76@1,0 {
  65. reg = <0x0000 0 0 0 0>;
  66. device_type = "pci";
  67. mediatek,mtd-eeprom = <&factory 0x8000>;
  68. mediatek,5ghz = <0>;
  69. };
  70. };
  71. };
  72. gpio-leds {
  73. compatible = "gpio-leds";
  74. wifi {
  75. label = "linksys:orange:wifi";
  76. gpios = <&gpio0 0 1>;
  77. };
  78. power {
  79. label = "linksys:white:power";
  80. gpios = <&gpio0 9 1>;
  81. };
  82. };
  83. gpio-keys-polled {
  84. compatible = "gpio-keys-polled";
  85. #address-cells = <1>;
  86. #size-cells = <0>;
  87. poll-interval = <20>;
  88. wps {
  89. label = "wps";
  90. gpios = <&gpio0 10 1>;
  91. linux,code = <0x211>;
  92. };
  93. reset {
  94. label = "reset";
  95. gpios = <&gpio0 11 0>;
  96. linux,code = <0x198>;
  97. };
  98. };
  99. };