1
0

AWM003-EVB.dts 951 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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. };
  46. &ethernet {
  47. mtd-mac-address = <&factory 0x28>;
  48. };
  49. &wmac {
  50. ralink,mtd-eeprom = <&factory 0>;
  51. };