AWM002-EVB-8M.dts 748 B

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