AWM002-EVB-4M.dts 766 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /dts-v1/;
  2. /include/ "AWM002-4M.dtsi"
  3. / {
  4. model = "AsiaRF AWM002 EVB";
  5. ethernet@10100000 {
  6. mtd-mac-address = <&factory 0x28>;
  7. };
  8. wmac@10180000 {
  9. ralink,mtd-eeprom = <&factory 0>;
  10. };
  11. gpio-leds {
  12. compatible = "gpio-leds";
  13. tx {
  14. label = "awm002-evb:green:tx";
  15. gpios = <&gpio0 15 1>;
  16. };
  17. rx {
  18. label = "awm002-evb:green:rx";
  19. gpios = <&gpio0 16 1>;
  20. };
  21. wps {
  22. label = "awm002-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 = <0x198>;
  35. };
  36. mode {
  37. label = "mode";
  38. gpios = <&gpio0 20 1>;
  39. linux,code = <0x32>;
  40. };
  41. };
  42. };