WNCE2001.dts 2.2 KB

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