ARV7518PW.dts 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  1. /dts-v1/;
  2. /include/ "danube.dtsi"
  3. / {
  4. model = "ARV7518PW - Astoria Networks";
  5. chosen {
  6. bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
  7. };
  8. memory@0 {
  9. reg = <0x0 0x4000000>;
  10. };
  11. sram@1F000000 {
  12. vmmc@107000 {
  13. status = "okay";
  14. };
  15. };
  16. fpi@10000000 {
  17. localbus@0 {
  18. nor-boot@0 {
  19. compatible = "lantiq,nor";
  20. bank-width = <2>;
  21. reg = <0 0x0 0x2000000>;
  22. #address-cells = <1>;
  23. #size-cells = <1>;
  24. partition@0 {
  25. label = "uboot";
  26. reg = <0x00000 0x10000>;
  27. read-only;
  28. };
  29. partition@10000 {
  30. label = "uboot_env";
  31. reg = <0x10000 0x10000>;
  32. };
  33. partition@20000 {
  34. label = "firmware";
  35. reg = <0x20000 0x7d0000>;
  36. };
  37. partition@400000 {
  38. label = "boardconfig";
  39. reg = <0x7f0000 0x10000>;
  40. read-only;
  41. };
  42. };
  43. gpiomm: gpiomm@4000000 {
  44. compatible = "lantiq,gpio-mm";
  45. reg = <1 0x0 0x10 >;
  46. #address-cells = <1>;
  47. #size-cells = <1>;
  48. #gpio-cells = <2>;
  49. gpio-controller;
  50. lantiq,shadow = <0x0>;
  51. };
  52. mac_addr {
  53. compatible = "lantiq,eth-mac";
  54. reg = <0 0x7f0016 0x6>;
  55. mac-increment = <2>;
  56. };
  57. ath9k_eep {
  58. compatible = "ath9k,eeprom";
  59. reg = <0 0x7f0400 0x1000
  60. 0 0x7f0016 0x6>;
  61. ath,mac-increment = <1>;
  62. ath,pci-slot = <14>;
  63. ath,eep-endian;
  64. };
  65. };
  66. gpio: pinmux@E100B10 {
  67. pinctrl-names = "default";
  68. pinctrl-0 = <&state_default>;
  69. state_default: pinmux {
  70. ebu {
  71. lantiq,groups = "ebu cs1";
  72. lantiq,function = "ebu";
  73. };
  74. pci_in {
  75. lantiq,groups = "req1";
  76. lantiq,function = "pci";
  77. lantiq,open-drain = <1>;
  78. lantiq,pull = <2>;
  79. lantiq,output = <0>;
  80. };
  81. pci_out {
  82. lantiq,groups = "gnt1";
  83. lantiq,function = "pci";
  84. lantiq,pull = <0>;
  85. lantiq,output = <1>;
  86. };
  87. pci_rst {
  88. lantiq,pins = "io21";
  89. lantiq,pull = <2>;
  90. lantiq,output = <1>;
  91. };
  92. leds {
  93. lantiq,pins = "io2", "io4", "io5", "io6", "io7", "io8", "io19";
  94. lantiq,output = <1>;
  95. };
  96. keys {
  97. lantiq,pins = "io28", "io30";
  98. lantiq,output = <0>;
  99. lantiq,pull = <2>;
  100. lantiq,open-drain = <1>;
  101. };
  102. };
  103. };
  104. etop@E180000 {
  105. phy-mode = "mii";
  106. };
  107. ifxhcd@E101000 {
  108. status = "okay";
  109. gpios = <&gpio 14 0>;
  110. };
  111. pci@E105400 {
  112. status = "okay";
  113. lantiq,external-clock;
  114. gpio-reset = <&gpio 21 0>;
  115. req-mask = <0xf>;
  116. };
  117. };
  118. /*
  119. #define SWITCH_RESET 13
  120. */
  121. gpio-keys-polled {
  122. compatible = "gpio-keys-polled";
  123. #address-cells = <1>;
  124. #size-cells = <0>;
  125. poll-interval = <100>;
  126. rfkill {
  127. label = "rfkill";
  128. gpios = <&gpio 28 1>;
  129. linux,code = <0xf7>;
  130. };
  131. reset {
  132. label = "reset";
  133. gpios = <&gpio 30 1>;
  134. linux,code = <0x198>;
  135. };
  136. };
  137. gpio-leds {
  138. compatible = "gpio-leds";
  139. power {
  140. label = "power";
  141. gpios = <&gpio 2 1>;
  142. };
  143. dsl {
  144. label = "dsl";
  145. gpios = <&gpio 4 1>;
  146. };
  147. online {
  148. label = "online";
  149. gpios = <&gpio 5 1>;
  150. };
  151. wifi {
  152. label = "wifi";
  153. gpios = <&gpio 6 1>;
  154. };
  155. power2 {
  156. label = "power2";
  157. gpios = <&gpio 7 1>;
  158. };
  159. online2 {
  160. label = "online2";
  161. gpios = <&gpio 8 1>;
  162. };
  163. usb {
  164. label = "usb";
  165. gpios = <&gpio 19 1>;
  166. };
  167. voice {
  168. label = "voice";
  169. gpios = <&gpiomm 0 1>;
  170. };
  171. fxs1 {
  172. label = "fxs1";
  173. gpios = <&gpiomm 1 1>;
  174. };
  175. fxs2 {
  176. label = "fxs2";
  177. gpios = <&gpiomm 2 1>;
  178. };
  179. fxo {
  180. label = "fxo";
  181. gpios = <&gpiomm 3 1>;
  182. };
  183. wps {
  184. label = "wps";
  185. gpios = <&gpiomm 4 1>;
  186. };
  187. wps2 {
  188. label = "wps2";
  189. gpios = <&gpiomm 5 1>;
  190. };
  191. wps3 {
  192. label = "wps3";
  193. gpios = <&gpiomm 6 1>;
  194. };
  195. };
  196. };