WL_330N3G.dts 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. /dts-v1/;
  2. /include/ "rt3050.dtsi"
  3. / {
  4. compatible = "WL_330N3G", "ralink,rt3050-soc";
  5. model = "Asus WL-330N3G";
  6. palmbus@10000000 {
  7. sysc@0 {
  8. ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
  9. ralink,uartmux = "gpio";
  10. ralink,wdtmux = <1>;
  11. };
  12. gpio0: gpio@600 {
  13. status = "okay";
  14. };
  15. spi@b00 {
  16. status = "okay";
  17. m25p80@0 {
  18. #address-cells = <1>;
  19. #size-cells = <1>;
  20. compatible = "mx25l3205d";
  21. reg = <0 0>;
  22. linux,modalias = "m25p80", "mx25l3205d";
  23. spi-max-frequency = <10000000>;
  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. };
  45. };
  46. ethernet@10100000 {
  47. status = "okay";
  48. };
  49. esw@10110000 {
  50. status = "okay";
  51. ralink,portmap = <0x3e>;
  52. };
  53. gpio-leds {
  54. compatible = "gpio-leds";
  55. 3g {
  56. label = "asus:blue:3g";
  57. gpios = <&gpio0 9 1>;
  58. };
  59. 3g2 {
  60. label = "asus:red:3g";
  61. gpios = <&gpio0 13 1>;
  62. };
  63. power {
  64. label = "asus:blue:power";
  65. gpios = <&gpio0 11 1>;
  66. };
  67. };
  68. gpio-keys-polled {
  69. compatible = "gpio-keys-polled";
  70. #address-cells = <1>;
  71. #size-cells = <0>;
  72. poll-interval = <20>;
  73. reset {
  74. label = "reset";
  75. gpios = <&gpio0 10 1>;
  76. linux,code = <0x198>;
  77. };
  78. wps {
  79. label = "wps";
  80. gpios = <&gpio0 0 1>;
  81. linux,code = <0x198>;
  82. };
  83. };
  84. wmac@10180000 {
  85. status = "okay";
  86. };
  87. otg@101c0000 {
  88. status = "okay";
  89. };
  90. };