AWM003-EVB.dts 1017 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. /dts-v1/;
  2. /include/ "AWM002-8M.dtsi"
  3. / {
  4. compatible = "AWM003", "ralink,rt5350-soc";
  5. model = "AsiaRF AWM003 EVB";
  6. memory@0 {
  7. device_type = "memory";
  8. reg = <0x0 0x4000000>;
  9. };
  10. palmbus@10000000 {
  11. spi@b00 {
  12. m25p80@0 {
  13. compatible = "mx25l6405d";
  14. linux,modalias = "m25p80", "mx25l6405d";
  15. };
  16. };
  17. };
  18. ethernet@10100000 {
  19. mtd-mac-address = <&factory 0x28>;
  20. };
  21. wmac@10180000 {
  22. ralink,mtd-eeprom = <&factory 0>;
  23. };
  24. gpio-leds {
  25. compatible = "gpio-leds";
  26. tx {
  27. label = "awm002-evb:green:tx";
  28. gpios = <&gpio0 15 1>;
  29. };
  30. rx {
  31. label = "awm002-evb:green:rx";
  32. gpios = <&gpio0 16 1>;
  33. };
  34. wps {
  35. label = "awm002-evb:green:wps";
  36. gpios = <&gpio0 21 1>;
  37. };
  38. };
  39. gpio-keys-polled {
  40. compatible = "gpio-keys-polled";
  41. #address-cells = <1>;
  42. #size-cells = <0>;
  43. poll-interval = <20>;
  44. reset_wps {
  45. label = "reset_wps";
  46. gpios = <&gpio0 0 1>;
  47. linux,code = <0x198>;
  48. };
  49. mode {
  50. label = "mode";
  51. gpios = <&gpio0 20 1>;
  52. linux,code = <0x32>;
  53. };
  54. };
  55. };