ARV7510PW22.dts 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  1. /dts-v1/;
  2. #include "danube.dtsi"
  3. #include <dt-bindings/input/input.h>
  4. / {
  5. model = "ARV7510PW22 - Astoria Networks";
  6. chosen {
  7. bootargs = "console=ttyLTQ0,115200";
  8. };
  9. aliases {
  10. led-boot = &power;
  11. led-failsafe = &power;
  12. led-running = &power;
  13. led-internet = &internet;
  14. led-usb = &umts;
  15. led-wifi = &wlan;
  16. };
  17. memory@0 {
  18. reg = <0x0 0x4000000>;
  19. };
  20. sram@1F000000 {
  21. vmmc@107000 {
  22. status = "okay";
  23. gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
  24. };
  25. };
  26. fpi@10000000 {
  27. localbus@0 {
  28. nor-boot@0 {
  29. compatible = "lantiq,nor";
  30. bank-width = <2>;
  31. reg = <0 0x0 0x1000000>;
  32. #address-cells = <1>;
  33. #size-cells = <1>;
  34. partitions {
  35. compatible = "fixed-partitions";
  36. #address-cells = <1>;
  37. #size-cells = <1>;
  38. partition@0 {
  39. label = "uboot";
  40. reg = <0x00000 0x40000>;
  41. read-only;
  42. };
  43. partition@40000 {
  44. label = "uboot_env";
  45. reg = <0x40000 0x20000>;
  46. read-only;
  47. };
  48. partition@60000 {
  49. label = "firmware";
  50. reg = <0x60000 0xf80000>;
  51. };
  52. boardconfig: partition@fe0000 {
  53. label = "board_config";
  54. reg = <0xfe0000 0x20000>;
  55. read-only;
  56. };
  57. };
  58. };
  59. };
  60. gpio: pinmux@E100B10 {
  61. pinctrl-names = "default";
  62. pinctrl-0 = <&state_default>;
  63. state_default: pinmux {
  64. exin {
  65. lantiq,groups = "exin1";
  66. lantiq,function = "exin";
  67. lantiq,pull = <2>;
  68. lantiq,output = <0>;
  69. };
  70. pci_in {
  71. lantiq,groups = "req1", "req2";
  72. lantiq,function = "pci";
  73. lantiq,open-drain = <1>;
  74. lantiq,pull = <2>;
  75. lantiq,output = <0>;
  76. };
  77. pci_out {
  78. lantiq,groups = "gnt1";
  79. lantiq,function = "pci";
  80. lantiq,output = <1>;
  81. };
  82. pci_rst {
  83. lantiq,pins = "io21";
  84. lantiq,pull = <2>;
  85. lantiq,output = <1>;
  86. };
  87. pins_out {
  88. lantiq,pins = "io2", "io4", "io8", "io9", "io10", "io15", "io20";
  89. lantiq,output = <1>;
  90. };
  91. pins_in {
  92. lantiq,pins = "io11", "io12", "io28";
  93. lantiq,open-drain = <1>;
  94. lantiq,pull = <2>;
  95. lantiq,output = <0>;
  96. };
  97. };
  98. };
  99. ifxhcd@E101000 {
  100. status = "okay";
  101. gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
  102. };
  103. etop@E180000 {
  104. /* Switch reset 19 */
  105. phy-mode = "mii";
  106. mtd-mac-address = <&boardconfig 0x16>;
  107. };
  108. };
  109. gpio-keys-polled {
  110. compatible = "gpio-keys-polled";
  111. #address-cells = <1>;
  112. #size-cells = <0>;
  113. poll-interval = <100>;
  114. rfkill {
  115. label = "rfkill";
  116. gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
  117. linux,code = <KEY_RFKILL>;
  118. };
  119. restart {
  120. label = "restart";
  121. gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
  122. linux,code = <KEY_POWER>;
  123. };
  124. reset {
  125. label = "reset";
  126. gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
  127. linux,code = <KEY_RESTART>;
  128. };
  129. };
  130. gpio-leds {
  131. compatible = "gpio-leds";
  132. power: power {
  133. label = "power";
  134. gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
  135. default-state = "keep";
  136. };
  137. internet: internet {
  138. label = "internet";
  139. gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
  140. };
  141. wlan: wlan {
  142. label = "wlan";
  143. gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
  144. };
  145. umts: 3g {
  146. label = "3g";
  147. gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
  148. };
  149. message {
  150. label = "message";
  151. gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
  152. };
  153. };
  154. };
  155. &pci0 {
  156. status = "okay";
  157. lantiq,external-clock;
  158. interrupt-map = <
  159. 0x7000 0 0 1 &icu0 30
  160. 0x7800 0 0 1 &icu0 135
  161. 0x7800 0 0 2 &icu0 135
  162. 0x7800 0 0 3 &icu0 135
  163. >;
  164. gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
  165. req-mask = <0x3>;
  166. wifi@1814,3592 {
  167. compatible = "pci1814,3592";
  168. reg = <0x7000 0 0 0 0>;
  169. ralink,mtd-eeprom = <&boardconfig 0x410>;
  170. ralink,mtd-eeprom-swap;
  171. };
  172. };