AWM002.dtsi 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. #include "rt5350.dtsi"
  2. / {
  3. compatible = "AWM002", "ralink,rt5350-soc";
  4. model = "AsiaRF AWM002";
  5. gpio-leds {
  6. compatible = "gpio-leds";
  7. ld1 {
  8. label = "awm002:green:ld1";
  9. gpios = <&gpio0 0 1>;
  10. };
  11. ld2 {
  12. label = "awm002:green:ld2";
  13. gpios = <&gpio0 1 1>;
  14. };
  15. };
  16. };
  17. &spi0 {
  18. status = "okay";
  19. m25p80: m25p80@0 {
  20. #address-cells = <1>;
  21. #size-cells = <1>;
  22. reg = <0>;
  23. compatible = "jedec,spi-nor";
  24. spi-max-frequency = <10000000>;
  25. partition@0 {
  26. label = "u-boot";
  27. reg = <0x0 0x30000>;
  28. read-only;
  29. };
  30. partition@30000 {
  31. label = "u-boot-env";
  32. reg = <0x30000 0x10000>;
  33. read-only;
  34. };
  35. factory: partition@40000 {
  36. label = "factory";
  37. reg = <0x40000 0x10000>;
  38. read-only;
  39. };
  40. partition@50000 {
  41. label = "firmware";
  42. reg = <0x50000 0x1fb0000>;
  43. };
  44. };
  45. };
  46. &pinctrl {
  47. state_default: pinctrl0 {
  48. gpio {
  49. ralink,group = "i2c", "jtag";
  50. ralink,function = "gpio";
  51. };
  52. };
  53. };
  54. &esw {
  55. mediatek,portmap = <0x3f>;
  56. };
  57. &ehci {
  58. status = "okay";
  59. };
  60. &ohci {
  61. status = "okay";
  62. };