WNCE2001.dts 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. /dts-v1/;
  2. /include/ "rt3050.dtsi"
  3. / {
  4. compatible = "WNCE2001", "ralink,rt3052-soc";
  5. model = "Netgear WNCE2001";
  6. chosen {
  7. bootargs = "console=ttyS0,115200";
  8. };
  9. palmbus@10000000 {
  10. spi@b00 {
  11. status = "okay";
  12. m25p80@0 {
  13. #address-cells = <1>;
  14. #size-cells = <1>;
  15. compatible = "mx25l3205d";
  16. reg = <0 0>;
  17. linux,modalias = "m25p80", "mx25l3205d";
  18. spi-max-frequency = <10000000>;
  19. partition@0 {
  20. label = "u-boot";
  21. reg = <0x0 0x30000>;
  22. read-only;
  23. };
  24. factory: partition@30000 {
  25. label = "factory";
  26. reg = <0x30000 0x10000>;
  27. read-only;
  28. };
  29. partition@40000 {
  30. label = "config";
  31. reg = <0x40000 0x20000>;
  32. read-only;
  33. };
  34. partition@60000 {
  35. label = "language";
  36. reg = <0x60000 0x30000>;
  37. read-only;
  38. };
  39. partition@90000 {
  40. label = "pot";
  41. reg = <0x90000 0x10000>;
  42. read-only;
  43. };
  44. partition@a0000 {
  45. label = "checksum";
  46. reg = <0xa0000 0x10000>;
  47. };
  48. partition@b0000 {
  49. label = "firmware";
  50. reg = <0xb0000 0x350000>;
  51. };
  52. };
  53. };
  54. };
  55. pinctrl {
  56. state_default: pinctrl0 {
  57. gpio {
  58. ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
  59. ralink,function = "gpio";
  60. };
  61. };
  62. };
  63. ethernet@10100000 {
  64. mtd-mac-address = <&factory 0x28>;
  65. };
  66. gpio-leds {
  67. compatible = "gpio-leds";
  68. power-green {
  69. label = "netgear:green:power";
  70. gpios = <&gpio0 8 1>;
  71. };
  72. power-red {
  73. label = "netgear:red:power";
  74. gpios = <&gpio0 9 1>;
  75. };
  76. wlan-green {
  77. label = "netgear:green:wlan";
  78. gpios = <&gpio0 12 0>;
  79. };
  80. wlan-red {
  81. label = "netgear:red:wlan";
  82. gpios = <&gpio0 13 0>;
  83. };
  84. };
  85. gpio-keys-polled {
  86. compatible = "gpio-keys-polled";
  87. #address-cells = <1>;
  88. #size-cells = <0>;
  89. poll-interval = <20>;
  90. reset {
  91. label = "reset";
  92. gpios = <&gpio0 10 1>;
  93. linux,code = <0x198>;
  94. };
  95. wps {
  96. label = "wps";
  97. gpios = <&gpio0 0 1>;
  98. linux,code = <0x211>;
  99. };
  100. rt {
  101. label = "rt";
  102. gpios = <&gpio0 11 1>;
  103. linux,code = <0x100>;
  104. };
  105. ap {
  106. label = "ap";
  107. gpios = <&gpio0 7 1>;
  108. linux,code = <0x101>;
  109. };
  110. };
  111. };