AWM002.dtsi 1.1 KB

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