ASL26555-16M.dts 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  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. factory: 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. 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 = <&factory 0x4004>;
  66. };
  67. esw@10110000 {
  68. ralink,portmap = <0x1e>;
  69. };
  70. otg@101c0000 {
  71. status = "okay";
  72. };
  73. gpio-keys-polled {
  74. compatible = "gpio-keys-polled";
  75. #address-cells = <1>;
  76. #size-cells = <0>;
  77. poll-interval = <20>;
  78. reset {
  79. label = "reset";
  80. gpios = <&gpio0 10 0>;
  81. linux,code = <0x198>;
  82. };
  83. wps {
  84. label = "wps";
  85. gpios = <&gpio0 12 0>;
  86. linux,code = <0x211>;
  87. };
  88. };
  89. gpio-leds {
  90. compatible = "gpio-leds";
  91. eth {
  92. label = "asl26555:green:eth";
  93. gpios = <&gpio0 0 1>;
  94. };
  95. wan-red {
  96. label = "asl26555:red:wan";
  97. gpios = <&gpio0 1 0>;
  98. };
  99. wan-green {
  100. label = "asl26555:green:wan";
  101. gpios = <&gpio0 2 0>;
  102. };
  103. wlan {
  104. label = "asl26555:green:wlan";
  105. gpios = <&gpio0 7 0>;
  106. };
  107. power-green {
  108. label = "asl26555:green:power";
  109. gpios = <&gpio0 8 0>;
  110. };
  111. power-red {
  112. label = "asl26555:red:power";
  113. gpios = <&gpio0 9 0>;
  114. };
  115. 3g-green {
  116. label = "asl26555:green:3g";
  117. gpios = <&gpio0 14 1>;
  118. };
  119. 3g-red {
  120. label = "asl26555:red:3g";
  121. gpios = <&gpio0 17 1>;
  122. };
  123. };
  124. };