DIR-810L.dts 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. /dts-v1/;
  2. /include/ "mt7620a.dtsi"
  3. / {
  4. compatible = "dlink,dir-810l", "ralink,mt7620a-soc";
  5. model = "D-Link DIR-810L";
  6. palmbus@10000000 {
  7. spi@b00 {
  8. status = "okay";
  9. m25p80@0 {
  10. #address-cells = <1>;
  11. #size-cells = <1>;
  12. compatible = "mx25l6405d";
  13. reg = <0 0>;
  14. linux,modalias = "m25p80";
  15. spi-max-frequency = <10000000>;
  16. partition@0 {
  17. label = "u-boot";
  18. reg = <0x0 0x30000>;
  19. read-only;
  20. };
  21. partition@30000 {
  22. label = "u-boot-env";
  23. reg = <0x30000 0x10000>;
  24. read-only;
  25. };
  26. factory: partition@40000 {
  27. label = "factory";
  28. reg = <0x40000 0x10000>;
  29. read-only;
  30. };
  31. factory5g: partition@50000 {
  32. label = "factory5g";
  33. reg = <0x50000 0x10000>;
  34. read-only;
  35. };
  36. partition@60000 {
  37. label = "Wolf_Config";
  38. reg = <0x60000 0x10000>;
  39. read-only;
  40. };
  41. partition@70000 {
  42. label = "MyDlink";
  43. reg = <0x70000 0x80000>;
  44. read-only;
  45. };
  46. partition@e0000 {
  47. label = "Jffs2";
  48. reg = <0xe0000 0x80000>;
  49. read-only;
  50. };
  51. partition@170000 {
  52. label = "firmware";
  53. reg = <0x170000 0x690000>;
  54. };
  55. };
  56. };
  57. };
  58. pinctrl {
  59. state_default: pinctrl0 {
  60. gpio {
  61. ralink,group = "mdio", "rgmii1", "i2c", "wled", "uartf";
  62. ralink,function = "gpio";
  63. };
  64. };
  65. };
  66. ethernet@10100000 {
  67. mtd-mac-address = <&factory 0x28>;
  68. ralink,port-map = "llllw";
  69. };
  70. gsw@10110000 {
  71. ralink,port4 = "ephy";
  72. pinctrl-names = "default";
  73. pinctrl-0 = <&ephy_pins>;
  74. };
  75. pcie@10140000 {
  76. status = "okay";
  77. };
  78. gpio-keys-polled {
  79. compatible = "gpio-keys-polled";
  80. #address-cells = <1>;
  81. #size-cells = <0>;
  82. poll-interval = <20>;
  83. reset {
  84. label = "reset";
  85. gpios = <&gpio0 1 1>;
  86. linux,code = <0x100>;
  87. };
  88. wps {
  89. label = "wps";
  90. gpios = <&gpio0 2 1>;
  91. linux,code = <0x100>;
  92. };
  93. };
  94. gpio-leds {
  95. compatible = "gpio-leds";
  96. power {
  97. label = "dlink:green:power";
  98. gpios = <&gpio0 9 0>;
  99. };
  100. internet {
  101. label = "asus:yellow:internet";
  102. gpios = <&gpio0 12 0>;
  103. };
  104. status {
  105. label = "asus:internet:status";
  106. gpios = <&gpio0 13 0>;
  107. };
  108. };
  109. };