TEW-692GR.dts 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. /dts-v1/;
  2. /include/ "rt3883.dtsi"
  3. / {
  4. compatible = "TEW-692GR", "ralink,rt3883-soc";
  5. model = "TRENDnet TEW-692GR";
  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. status = "okay";
  21. mtd-mac-address = <&factory 0x28>;
  22. port@0 {
  23. phy-handle = <&phy0>;
  24. phy-mode = "rgmii";
  25. };
  26. mdio-bus {
  27. status = "okay";
  28. phy0: ethernet-phy@0 {
  29. reg = <0>;
  30. };
  31. };
  32. };
  33. pci@10140000 {
  34. status = "okay";
  35. pinctrl-names = "default";
  36. pinctrl-0 = <&pci_pins>;
  37. pci_pins: pci {
  38. pci {
  39. ralink,group = "pci";
  40. ralink,function = "pci-fnc";
  41. };
  42. };
  43. host-bridge {
  44. pci-bridge@1 {
  45. status = "okay";
  46. };
  47. };
  48. };
  49. wmac@10180000 {
  50. ralink,5ghz = <0>;
  51. };
  52. nor-flash@1c000000 {
  53. compatible = "cfi-flash";
  54. reg = <0x1c000000 0x800000>;
  55. bank-width = <2>;
  56. #address-cells = <1>;
  57. #size-cells = <1>;
  58. partition@0 {
  59. reg = <0x0 0x0030000>;
  60. label = "u-boot";
  61. read-only;
  62. };
  63. partition@30000 {
  64. reg = <0x00030000 0x00010000>;
  65. label = "u-boot-env";
  66. read-only;
  67. };
  68. factory: partition@40000 {
  69. reg = <0x00040000 0x00010000>;
  70. label = "factory";
  71. read-only;
  72. };
  73. partition@50000 {
  74. reg = <0x00050000 0x007b0000>;
  75. label = "firmware";
  76. };
  77. };
  78. gpio-keys-polled {
  79. compatible = "gpio-keys-polled";
  80. #address-cells = <1>;
  81. #size-cells = <0>;
  82. poll-interval = <100>;
  83. reset {
  84. label = "reset";
  85. gpios = <&gpio0 10 1>;
  86. linux,code = <0x198>;
  87. };
  88. wps {
  89. label = "wps";
  90. gpios = <&gpio1 2 1>;
  91. linux,code = <0x211>;
  92. };
  93. };
  94. gpio-leds {
  95. compatible = "gpio-leds";
  96. wps {
  97. label = "trendnet:orange:wps";
  98. gpios = <&gpio0 9 1>;
  99. };
  100. wps2 {
  101. label = "trendnet:green:wps";
  102. gpios = <&gpio1 4 1>;
  103. };
  104. };
  105. };