ASL26555-8M.dts 2.3 KB

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