RT-N10-PLUS.dts 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. /dts-v1/;
  2. #include "rt3050.dtsi"
  3. #include <dt-bindings/input/input.h>
  4. / {
  5. compatible = "RT-N10-PLUS", "ralink,rt3050-soc";
  6. model = "Asus RT-N10+";
  7. cfi@1f000000 {
  8. compatible = "cfi-flash";
  9. reg = <0x1f000000 0x800000>;
  10. bank-width = <2>;
  11. device-width = <2>;
  12. #address-cells = <1>;
  13. #size-cells = <1>;
  14. partition@0 {
  15. label = "u-boot";
  16. reg = <0x0 0x30000>;
  17. read-only;
  18. };
  19. partition@30000 {
  20. label = "devdata";
  21. reg = <0x30000 0x10000>;
  22. read-only;
  23. };
  24. devconf: partition@40000 {
  25. label = "devconf";
  26. reg = <0x40000 0x10000>;
  27. read-only;
  28. };
  29. partition@50000 {
  30. label = "firmware";
  31. reg = <0x50000 0x3b0000>;
  32. };
  33. };
  34. gpio-leds {
  35. compatible = "gpio-leds";
  36. wps {
  37. label = "rt-n10-plus:green:wps";
  38. gpios = <&gpio0 14 1>;
  39. };
  40. };
  41. gpio-keys-polled {
  42. compatible = "gpio-keys-polled";
  43. #address-cells = <1>;
  44. #size-cells = <0>;
  45. poll-interval = <20>;
  46. reset {
  47. label = "reset";
  48. gpios = <&gpio0 10 1>;
  49. linux,code = <KEY_RESTART>;
  50. };
  51. wps {
  52. label = "wps";
  53. gpios = <&gpio0 0 1>;
  54. linux,code = <KEY_WPS_BUTTON>;
  55. };
  56. };
  57. };
  58. &ethernet {
  59. mtd-mac-address = <&devconf 0x4>;
  60. };
  61. &esw {
  62. mediatek,portmap = <0x3e>;
  63. };
  64. &wmac {
  65. ralink,mtd-eeprom = <&devconf 0>;
  66. };