A5-V11.dts 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. /dts-v1/;
  2. /include/ "rt5350.dtsi"
  3. / {
  4. compatible = "A5-V11", "ralink,rt5350-soc";
  5. model = "A5-V11";
  6. palmbus@10000000 {
  7. spi@b00 {
  8. status = "okay";
  9. m25p80@0 {
  10. #address-cells = <1>;
  11. #size-cells = <1>;
  12. compatible = "pm25lq032";
  13. reg = <0 0>;
  14. linux,modalias = "m25p80", "pm25lq032";
  15. spi-max-frequency = <10000000>;
  16. partition@0 {
  17. label = "u-boot";
  18. reg = <0x0 0x30000>;
  19. read-only;
  20. };
  21. partition@30000 {
  22. label = "u-boot-env";
  23. reg = <0x30000 0x10000>;
  24. read-only;
  25. };
  26. factory: partition@40000 {
  27. label = "factory";
  28. reg = <0x40000 0x10000>;
  29. read-only;
  30. };
  31. partition@50000 {
  32. label = "firmware";
  33. reg = <0x50000 0x3b0000>;
  34. };
  35. };
  36. };
  37. gpio1: gpio@660 {
  38. status = "okay";
  39. };
  40. };
  41. pinctrl {
  42. state_default: pinctrl0 {
  43. gpio {
  44. ralink,group = "i2c", "jtag", "uartf", "led";
  45. ralink,function = "gpio";
  46. };
  47. };
  48. };
  49. ethernet@10100000 {
  50. mtd-mac-address = <&factory 0x4>;
  51. };
  52. esw@10110000 {
  53. ralink,portmap = <0x2f>;
  54. };
  55. wmac@10180000 {
  56. ralink,mtd-eeprom = <&factory 0>;
  57. };
  58. ehci@101c0000 {
  59. status = "okay";
  60. };
  61. ohci@101c1000 {
  62. status = "okay";
  63. };
  64. gpio-leds {
  65. compatible = "gpio-leds";
  66. system {
  67. label = "a5-v11:blue:system";
  68. gpios = <&gpio0 20 1>;
  69. };
  70. power {
  71. label = "a5-v11:red:power";
  72. gpios = <&gpio0 17 1>;
  73. };
  74. };
  75. gpio-keys-polled {
  76. compatible = "gpio-keys-polled";
  77. #address-cells = <1>;
  78. #size-cells = <0>;
  79. poll-interval = <20>;
  80. reset {
  81. label = "reset";
  82. gpios = <&gpio0 0 1>;
  83. linux,code = <0x198>;
  84. };
  85. };
  86. gpio_export {
  87. compatible = "gpio-export";
  88. #size-cells = <0>;
  89. usb {
  90. gpio-export,name = "usb";
  91. gpio-export,output = <1>;
  92. gpios = <&gpio0 7 0>;
  93. };
  94. root_hub {
  95. gpio-export,name = "root_hub";
  96. gpio-export,output = <1>;
  97. gpios = <&gpio0 12 0>;
  98. };
  99. };
  100. };