2
0

AWM003-EVB.dts 993 B

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