TEW-691GR.dts 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. /dts-v1/;
  2. /include/ "rt3883.dtsi"
  3. / {
  4. compatible = "TEW-691GR", "ralink,rt3883-soc";
  5. model = "TRENDnet TEW-691GR";
  6. palmbus@10000000 {
  7. sysc@0 {
  8. ralink,pinmux = "uartlite";
  9. ralink,gpiomux = "i2c", "jtag";
  10. ralink,uartmux = "gpio";
  11. ralink,pcimux = "pci-fnc";
  12. ralink,wdtmux = <1>;
  13. };
  14. timer@100 {
  15. status = "okay";
  16. };
  17. gpio0: gpio@600 {
  18. status = "okay";
  19. };
  20. gpio1: gpio@638 {
  21. status = "okay";
  22. };
  23. };
  24. ethernet@10100000 {
  25. status = "okay";
  26. port@0 {
  27. phy-handle = <&phy0>;
  28. phy-mode = "rgmii";
  29. };
  30. mdio-bus {
  31. status = "okay";
  32. phy0: ethernet-phy@0 {
  33. reg = <0>;
  34. };
  35. };
  36. };
  37. wmac@10180000 {
  38. status = "okay";
  39. ralink,5ghz = <0>;
  40. };
  41. nor-flash@1c000000 {
  42. compatible = "cfi-flash";
  43. reg = <0x1c000000 0x800000>;
  44. bank-width = <2>;
  45. #address-cells = <1>;
  46. #size-cells = <1>;
  47. partition@0 {
  48. reg = <0x0 0x0030000>;
  49. label = "u-boot";
  50. read-only;
  51. };
  52. partition@30000 {
  53. reg = <0x00030000 0x00010000>;
  54. label = "u-boot-env";
  55. read-only;
  56. };
  57. partition@40000 {
  58. reg = <0x00040000 0x00010000>;
  59. label = "factory";
  60. read-only;
  61. };
  62. partition@50000 {
  63. reg = <0x00050000 0x007b0000>;
  64. label = "firmware";
  65. };
  66. };
  67. gpio-keys-polled {
  68. compatible = "gpio-keys-polled";
  69. #address-cells = <1>;
  70. #size-cells = <0>;
  71. poll-interval = <100>;
  72. reset {
  73. label = "reset";
  74. gpios = <&gpio0 10 1>;
  75. linux,code = <0x198>;
  76. };
  77. wps {
  78. label = "wps";
  79. gpios = <&gpio1 2 1>;
  80. linux,code = <0x211>;
  81. };
  82. rfkill {
  83. label = "rfkill";
  84. gpios = <&gpio0 0 1>;
  85. linux,code = <0xf7>;
  86. };
  87. };
  88. gpio-leds {
  89. compatible = "gpio-leds";
  90. wps {
  91. label = "trendnet:green:wps";
  92. gpios = <&gpio0 9 1>;
  93. };
  94. };
  95. };