RT-N10-PLUS.dts 1.2 KB

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