WL-351.dts 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. /dts-v1/;
  2. /include/ "rt3050.dtsi"
  3. / {
  4. compatible = "WL-351", "ralink,rt3052-soc";
  5. model = "Sitecom WL-351 v1 002";
  6. palmbus@10000000 {
  7. sysc@0 {
  8. ralink,pinmux = "uartlite", "jtag", "sdram", "rgmii";
  9. ralink,gpiomux = "i2c", "spi", "mdio";
  10. ralink,uartmux = "gpio";
  11. ralink,wdtmux = <1>;
  12. };
  13. gpio0: gpio@600 {
  14. status = "okay";
  15. };
  16. };
  17. cfi@1f000000 {
  18. compatible = "cfi-flash";
  19. reg = <0x1f000000 0x800000>;
  20. bank-width = <2>;
  21. device-width = <2>;
  22. #address-cells = <1>;
  23. #size-cells = <1>;
  24. partition@0 {
  25. label = "u-boot";
  26. reg = <0x0 0x30000>;
  27. read-only;
  28. };
  29. partition@30000 {
  30. label = "u-boot-env";
  31. reg = <0x30000 0x10000>;
  32. read-only;
  33. };
  34. factory: partition@40000 {
  35. label = "factory";
  36. reg = <0x40000 0x10000>;
  37. read-only;
  38. };
  39. partition@50000 {
  40. label = "firmware";
  41. reg = <0x50000 0x3b0000>;
  42. };
  43. };
  44. ethernet@10100000 {
  45. status = "okay";
  46. };
  47. esw@10110000 {
  48. status = "okay";
  49. ralink,portmap = <0x3f>;
  50. ralink,fct2 = <0x0002500c>;
  51. /*
  52. * ext phy base addr 31, rx/tx clock skew 0,
  53. * turbo mii off, rgmi 3.3v off, port 5 polling off
  54. * port5: enabled, gige, full-duplex, rx/tx-flow-control
  55. * port6: enabled, gige, full-duplex, rx/tx-flow-control
  56. */
  57. ralink,fpa2 = <0x1f003fff>;
  58. };
  59. wmac@10180000 {
  60. status = "okay";
  61. };
  62. otg@101c0000 {
  63. status = "okay";
  64. };
  65. gpio-leds {
  66. compatible = "gpio-leds";
  67. power {
  68. label = "wl-351:amber:power";
  69. gpios = <&gpio0 8 1>;
  70. };
  71. unpopulated {
  72. label = "wl-351:amber:unpopulated";
  73. gpios = <&gpio0 12 1>;
  74. };
  75. unpopulated2 {
  76. label = "wl-351:blue:unpopulated";
  77. gpios = <&gpio0 13 1>;
  78. };
  79. };
  80. gpio-keys-polled {
  81. compatible = "gpio-keys-polled";
  82. #address-cells = <1>;
  83. #size-cells = <0>;
  84. poll-interval = <20>;
  85. reset {
  86. label = "reset";
  87. gpios = <&gpio0 10 1>;
  88. linux,code = <0x198>;
  89. };
  90. wps {
  91. label = "wps";
  92. gpios = <&gpio0 0 1>;
  93. linux,code = <0x211>;
  94. };
  95. };
  96. rtl8366rb {
  97. compatible = "rtl8367rb";
  98. gpio-sda = <&gpio0 1 0>;
  99. gpio-sck = <&gpio0 2 0>;
  100. };
  101. };