ASL26555-16M.dts 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. /dts-v1/;
  2. /include/ "rt3050.dtsi"
  3. / {
  4. compatible = "ASL26555", "ralink,rt3050-soc";
  5. model = "Alpha ASL26555";
  6. palmbus@10000000 {
  7. gpio0: gpio@600 {
  8. status = "okay";
  9. };
  10. spi@b00 {
  11. status = "okay";
  12. m25p80@0 {
  13. #address-cells = <1>;
  14. #size-cells = <1>;
  15. compatible = "s25sl12801";
  16. reg = <0 0>;
  17. linux,modalias = "m25p80", "s25sl12801";
  18. spi-max-frequency = <10000000>;
  19. partition@0 {
  20. label = "uboot";
  21. reg = <0x0 0x30000>;
  22. read-only;
  23. };
  24. partition@30000 {
  25. label = "uboot-env";
  26. reg = <0x30000 0x10000>;
  27. read-only;
  28. };
  29. partition@40000 {
  30. label = "factory";
  31. reg = <0x40000 0x10000>;
  32. read-only;
  33. };
  34. partition@50000 {
  35. label = "firmware";
  36. reg = <0x50000 0xf80000>;
  37. };
  38. partition@fd0000 {
  39. label = "cert";
  40. reg = <0xfd0000 0x10000>;
  41. read-only;
  42. };
  43. partition@fe0000 {
  44. label = "langpack";
  45. reg = <0xfe0000 0x10000>;
  46. read-only;
  47. };
  48. devdata: partition@ff0000 {
  49. label = "devdata";
  50. reg = <0xff0000 0x10000>;
  51. read-only;
  52. };
  53. };
  54. };
  55. };
  56. pinctrl {
  57. state_default: pinctrl0 {
  58. gpio {
  59. ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
  60. ralink,function = "gpio";
  61. };
  62. };
  63. };
  64. ethernet@10100000 {
  65. mtd-mac-address = <&devdata 0x4004>;
  66. };
  67. esw@10110000 {
  68. ralink,portmap = <0x1e>;
  69. };
  70. wmac@10180000 {
  71. ralink,mtd-eeprom = <&devdata 0x4000>;
  72. };
  73. otg@101c0000 {
  74. status = "okay";
  75. };
  76. gpio-keys-polled {
  77. compatible = "gpio-keys-polled";
  78. #address-cells = <1>;
  79. #size-cells = <0>;
  80. poll-interval = <20>;
  81. reset {
  82. label = "reset";
  83. gpios = <&gpio0 10 0>;
  84. linux,code = <0x198>;
  85. };
  86. wps {
  87. label = "wps";
  88. gpios = <&gpio0 12 0>;
  89. linux,code = <0x211>;
  90. };
  91. };
  92. gpio-leds {
  93. compatible = "gpio-leds";
  94. eth {
  95. label = "asl26555:green:eth";
  96. gpios = <&gpio0 0 1>;
  97. };
  98. wan-red {
  99. label = "asl26555:red:wan";
  100. gpios = <&gpio0 1 0>;
  101. };
  102. wan-green {
  103. label = "asl26555:green:wan";
  104. gpios = <&gpio0 2 0>;
  105. };
  106. wlan {
  107. label = "asl26555:green:wlan";
  108. gpios = <&gpio0 7 0>;
  109. };
  110. power-green {
  111. label = "asl26555:green:power";
  112. gpios = <&gpio0 8 0>;
  113. };
  114. power-red {
  115. label = "asl26555:red:power";
  116. gpios = <&gpio0 9 0>;
  117. };
  118. 3g-green {
  119. label = "asl26555:green:3g";
  120. gpios = <&gpio0 14 1>;
  121. };
  122. 3g-red {
  123. label = "asl26555:red:3g";
  124. gpios = <&gpio0 17 1>;
  125. };
  126. };
  127. };