WL341V3.dts 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. /dts-v1/;
  2. /include/ "rt3050.dtsi"
  3. / {
  4. compatible = "WL341V3", "ralink,rt3052-soc";
  5. model = "Sitecom WL-341 v3";
  6. cfi@1f000000 {
  7. compatible = "cfi-flash";
  8. reg = <0x1f000000 0x800000>;
  9. bank-width = <2>;
  10. device-width = <2>;
  11. #address-cells = <1>;
  12. #size-cells = <1>;
  13. partition@0 {
  14. label = "u-boot";
  15. reg = <0x0 0x20000>;
  16. read-only;
  17. };
  18. boardnvram: partition@20000 {
  19. label = "board-nvram";
  20. reg = <0x20000 0x10000>;
  21. read-only;
  22. };
  23. partition@30000 {
  24. label = "u-boot-env";
  25. reg = <0x30000 0x10000>;
  26. read-only;
  27. };
  28. partition@40000 {
  29. label = "firmware";
  30. reg = <0x40000 0x3b0000>;
  31. };
  32. };
  33. pinctrl {
  34. state_default: pinctrl0 {
  35. gpio {
  36. ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
  37. ralink,function = "gpio";
  38. };
  39. };
  40. };
  41. ethernet@10100000 {
  42. mtd-mac-address = <&boardnvram 0xffa0>;
  43. };
  44. esw@10110000 {
  45. ralink,portmap = <0x3e>;
  46. };
  47. wmac@10180000 {
  48. ralink,mtd-eeprom = <&boardnvram 0xfd70>;
  49. };
  50. gpio-leds {
  51. compatible = "gpio-leds";
  52. first {
  53. label = "wl341v3:amber:first";
  54. gpios = <&gpio0 9 1>;
  55. };
  56. first2 {
  57. label = "wl341v3:blue:first";
  58. gpios = <&gpio0 13 1>;
  59. };
  60. third {
  61. label = "wl341v3:amber:third";
  62. gpios = <&gpio0 11 1>;
  63. };
  64. third2 {
  65. label = "wl341v3:blue:third";
  66. gpios = <&gpio0 14 1>;
  67. };
  68. fourth {
  69. label = "wl341v3:blue:fourth";
  70. gpios = <&gpio0 10 1>;
  71. };
  72. fifth {
  73. label = "wl341v3:amber:fifth";
  74. gpios = <&gpio0 12 1>;
  75. };
  76. fifth2 {
  77. label = "wl341v3:blue:fifth";
  78. gpios = <&gpio0 8 1>;
  79. };
  80. };
  81. gpio-keys-polled {
  82. compatible = "gpio-keys-polled";
  83. #address-cells = <1>;
  84. #size-cells = <0>;
  85. poll-interval = <20>;
  86. reset {
  87. label = "reset";
  88. gpios = <&gpio0 7 1>;
  89. linux,code = <0x198>;
  90. };
  91. wps {
  92. label = "wps";
  93. gpios = <&gpio0 5 1>;
  94. linux,code = <0x211>;
  95. };
  96. };
  97. otg@101c0000 {
  98. status = "okay";
  99. };
  100. };