ARV752DPW22.dts 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  1. /dts-v1/;
  2. /include/ "danube.dtsi"
  3. / {
  4. model = "ARV752DPW22 - Arcor 803";
  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. gpios = <&gpiomm 1 0>;
  15. };
  16. };
  17. fpi@10000000 {
  18. localbus@0 {
  19. nor-boot@0 {
  20. compatible = "lantiq,nor";
  21. bank-width = <2>;
  22. reg = <0 0x0 0x800000>;
  23. #address-cells = <1>;
  24. #size-cells = <1>;
  25. partition@0 {
  26. label = "uboot";
  27. reg = <0x00000 0x30000>;
  28. read-only;
  29. };
  30. partition@10000 {
  31. label = "uboot_env";
  32. reg = <0x30000 0x10000>;
  33. read-only;
  34. };
  35. partition@20000 {
  36. label = "firmware";
  37. reg = <0x40000 0x7b0000>;
  38. };
  39. partition@7f0000 {
  40. label = "board_config";
  41. reg = <0x7f0000 0x10000>;
  42. read-only;
  43. };
  44. };
  45. mac_addr {
  46. compatible = "lantiq,eth-mac";
  47. reg = <0 0x7f0016 0x6>;
  48. mac-increment = <2>;
  49. };
  50. gpiomm: gpiomm@4000000 {
  51. compatible = "lantiq,gpio-mm";
  52. reg = <1 0x0 0x10 >;
  53. #address-cells = <1>;
  54. #size-cells = <1>;
  55. #gpio-cells = <2>;
  56. gpio-controller;
  57. lantiq,shadow = <3>;
  58. };
  59. };
  60. gpio: pinmux@E100B10 {
  61. pinctrl-names = "default";
  62. pinctrl-0 = <&state_default>;
  63. state_default: pinmux {
  64. ebu {
  65. lantiq,groups = "ebu cs1";
  66. lantiq,function = "ebu";
  67. };
  68. exin {
  69. lantiq,groups = "exin1";
  70. lantiq,function = "exin";
  71. lantiq,pull = <2>;
  72. lantiq,output = <0>;
  73. };
  74. pci_in {
  75. lantiq,groups = "req1";
  76. lantiq,function = "pci";
  77. lantiq,pull = <2>;
  78. lantiq,output = <0>;
  79. };
  80. pci_out {
  81. lantiq,groups = "gnt1";
  82. lantiq,function = "pci";
  83. lantiq,open-drain = <1>;
  84. lantiq,output = <1>;
  85. };
  86. pci_rst {
  87. lantiq,pins = "io21";
  88. lantiq,open-drain = <1>;
  89. lantiq,output = <1>;
  90. };
  91. leds {
  92. lantiq,pins = "io3", "io5", "io6", "io8";
  93. lantiq,open-drain = <1>;
  94. lantiq,output = <1>;
  95. };
  96. buttons {
  97. lantiq,pins = "io11", "io12", "io13", "io28";
  98. lantiq,pull = <2>;
  99. lantiq,output = <0>;
  100. };
  101. };
  102. };
  103. ifxhcd@E101000 {
  104. status = "okay";
  105. gpios = <&gpiomm 0 0>;
  106. };
  107. etop@E180000 {
  108. phy-mode = "mii";
  109. };
  110. pci@E105400 {
  111. status = "okay";
  112. lantiq,external-clock;
  113. interrupt-map = <
  114. 0x7000 0 0 1 &icu0 30
  115. 0x7800 0 0 1 &icu0 135
  116. 0x7800 0 0 2 &icu0 135
  117. 0x7800 0 0 3 &icu0 135
  118. >;
  119. gpio-reset = <&gpio 21 0>;
  120. req-mask = <0x3>;
  121. };
  122. };
  123. ralink_eep {
  124. compatible = "ralink,eeprom";
  125. ralink,eeprom = "RT2860.eeprom";
  126. };
  127. gpio-keys-polled {
  128. compatible = "gpio-keys-polled";
  129. #address-cells = <1>;
  130. #size-cells = <0>;
  131. poll-interval = <100>;
  132. wps {
  133. label = "wps";
  134. gpios = <&gpio 11 1>;
  135. linux,code = <0x211>;
  136. };
  137. restart {
  138. label = "restart";
  139. gpios = <&gpio 12 1>;
  140. linux,code = <0x110>;
  141. };
  142. dsl {
  143. label = "dsl";
  144. gpios = <&gpio 13 1>;
  145. linux,code = <0x111>;
  146. };
  147. reset {
  148. label = "reset";
  149. gpios = <&gpio 28 1>;
  150. linux,code = <0x198>;
  151. };
  152. };
  153. gpio-leds {
  154. compatible = "gpio-leds";
  155. power {
  156. label = "power";
  157. gpios = <&gpio 3 1>;
  158. default-state = "on";
  159. };
  160. message {
  161. label = "message";
  162. gpios = <&gpio 5 1>;
  163. default-state = "on";
  164. };
  165. power1 {
  166. label = "power1";
  167. gpios = <&gpio 6 1>;
  168. default-state = "on";
  169. };
  170. voice1 {
  171. label = "voice1";
  172. gpios = <&gpio 8 1>;
  173. default-state = "on";
  174. };
  175. microphone {
  176. label = "microphone";
  177. gpios = <&gpiomm 3 1>;
  178. default-state = "on";
  179. };
  180. wifi {
  181. label = "wifi_rt";
  182. gpios = <&gpiomm 4 1>;
  183. default-state = "on";
  184. };
  185. fxs1 {
  186. label = "fxs1";
  187. gpios = <&gpiomm 5 1>;
  188. default-state = "on";
  189. };
  190. fxs2 {
  191. label = "fxs2";
  192. gpios = <&gpiomm 6 1>;
  193. default-state = "on";
  194. };
  195. fxo {
  196. label = "fxo";
  197. gpios = <&gpiomm 7 1>;
  198. default-state = "on";
  199. };
  200. dsl {
  201. label = "dsl";
  202. gpios = <&gpiomm 8 1>;
  203. default-state = "on";
  204. };
  205. voice2 {
  206. label = "voice2";
  207. gpios = <&gpiomm 9 1>;
  208. default-state = "on";
  209. };
  210. eth1 {
  211. label = "eth1";
  212. gpios = <&gpiomm 11 1>;
  213. default-state = "on";
  214. };
  215. eth2 {
  216. label = "eth2";
  217. gpios = <&gpiomm 12 1>;
  218. default-state = "on";
  219. };
  220. eth3 {
  221. label = "eth3";
  222. gpios = <&gpiomm 13 1>;
  223. default-state = "on";
  224. };
  225. eth4 {
  226. label = "eth4";
  227. gpios = <&gpiomm 14 1>;
  228. default-state = "on";
  229. };
  230. };
  231. };