DIR-860L-B1.dts 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. /dts-v1/;
  2. /include/ "mt7621.dtsi"
  3. / {
  4. compatible = "ralink,mt7621-eval-board", "ralink,mt7621-soc";
  5. model = "D-Link DIR-860L B1";
  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 = "mx25l12805d";
  20. reg = <0 0>;
  21. linux,modalias = "m25p80";
  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 0x4000>;
  31. read-only;
  32. };
  33. radio: partition@34000 {
  34. label = "radio";
  35. reg = <0x34000 0x4000>;
  36. read-only;
  37. };
  38. factory: partition@38000 {
  39. label = "factory";
  40. reg = <0x38000 0x8000>;
  41. read-only;
  42. };
  43. partition@40000 {
  44. label = "defaults";
  45. reg = <0x40000 0x10000>;
  46. read-only;
  47. };
  48. partition@50000 {
  49. label = "firmware";
  50. reg = <0x50000 0xfb0000>;
  51. };
  52. };
  53. };
  54. };
  55. pcie@1e140000 {
  56. status = "okay";
  57. pcie0 {
  58. mt76@0,0 {
  59. reg = <0x0000 0 0 0 0>;
  60. device_type = "pci";
  61. mediatek,mtd-eeprom = <&radio 0x2000>;
  62. mediatek,2ghz = <0>;
  63. };
  64. };
  65. pcie1 {
  66. mt76@1,0 {
  67. reg = <0x0000 0 0 0 0>;
  68. device_type = "pci";
  69. mediatek,mtd-eeprom = <&radio 0>;
  70. mediatek,5ghz = <0>;
  71. };
  72. };
  73. };
  74. pinctrl {
  75. state_default: pinctrl0 {
  76. gpio {
  77. ralink,group = "i2c", "uart2", "uart3", "rgmii2", "sdhci";
  78. ralink,function = "gpio";
  79. };
  80. };
  81. };
  82. gpio-leds {
  83. compatible = "gpio-leds";
  84. };
  85. gpio-keys-polled {
  86. compatible = "gpio-keys-polled";
  87. #address-cells = <1>;
  88. #size-cells = <0>;
  89. poll-interval = <20>;
  90. };
  91. };