AWM003-EVB.dts 948 B

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