2
0

AWM002-EVB-8M.dts 798 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. /dts-v1/;
  2. #include "AWM002-8M.dtsi"
  3. #include <dt-bindings/input/input.h>
  4. / {
  5. model = "AsiaRF AWM002 EVB (8M)";
  6. gpio-leds {
  7. compatible = "gpio-leds";
  8. tx {
  9. label = "awm002-evb:green:tx";
  10. gpios = <&gpio0 15 1>;
  11. };
  12. rx {
  13. label = "awm002-evb:green:rx";
  14. gpios = <&gpio0 16 1>;
  15. };
  16. wps {
  17. label = "awm002-evb:green:wps";
  18. gpios = <&gpio0 21 1>;
  19. };
  20. };
  21. gpio-keys-polled {
  22. compatible = "gpio-keys-polled";
  23. #address-cells = <1>;
  24. #size-cells = <0>;
  25. poll-interval = <20>;
  26. reset_wps {
  27. label = "reset_wps";
  28. gpios = <&gpio0 0 1>;
  29. linux,code = <KEY_RESTART>;
  30. };
  31. mode {
  32. label = "mode";
  33. gpios = <&gpio0 20 1>;
  34. linux,code = <BTN_0>;
  35. };
  36. };
  37. };
  38. &ethernet {
  39. mtd-mac-address = <&factory 0x28>;
  40. };
  41. &wmac {
  42. ralink,mtd-eeprom = <&factory 0>;
  43. };