TEW-691GR.dts 1.6 KB

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