ARV752DPW.dts 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  1. /dts-v1/;
  2. /include/ "danube.dtsi"
  3. / {
  4. model = "ARV752DPW - Arcor 802";
  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 0x10000>;
  28. read-only;
  29. };
  30. partition@10000 {
  31. label = "uboot_env";
  32. reg = <0x10000 0x10000>;
  33. read-only;
  34. };
  35. partition@20000 {
  36. label = "firmware";
  37. reg = <0x20000 0x7d0000>;
  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 = <0x3>;
  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 = "req2", "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,output = <1>;
  85. };
  86. pci_rst {
  87. lantiq,pins = "io21";
  88. lantiq,pull = <2>;
  89. lantiq,output = <1>;
  90. };
  91. leds {
  92. lantiq,pins = "io3", "io5", "io6", "io8";
  93. lantiq,output = <1>;
  94. lantiq,pull = <0>;
  95. };
  96. keys {
  97. lantiq,pins = "io11", "io12", "io13", "io28";
  98. lantiq,output = <0>;
  99. lantiq,pull = <2>;
  100. lantiq,open-drain = <1>;
  101. };
  102. };
  103. };
  104. ifxhcd@E101000 {
  105. status = "okay";
  106. gpios = <&gpiomm 0 0>;
  107. };
  108. etop@E180000 {
  109. phy-mode = "rmii";
  110. };
  111. pci@E105400 {
  112. status = "okay";
  113. lantiq,external-clock;
  114. gpio-reset = <&gpio 21 0>;
  115. interrupt-map = <0x7000 0 0 1 &icu0 135>;
  116. req-mask = <0x3>;
  117. };
  118. };
  119. ralink_eep {
  120. compatible = "ralink,eeprom";
  121. ralink,eeprom = "RT2860.eeprom";
  122. };
  123. gpio-keys-polled {
  124. compatible = "gpio-keys-polled";
  125. #address-cells = <1>;
  126. #size-cells = <0>;
  127. poll-interval = <100>;
  128. /* wps {
  129. label = "wps";
  130. gpios = <&gpio 11 1>;
  131. linux,code = <0x211>;
  132. }; */
  133. restart {
  134. label = "restart";
  135. gpios = <&gpio 12 1>;
  136. linux,code = <0x110>;
  137. };
  138. dsl {
  139. label = "dsl";
  140. gpios = <&gpio 13 1>;
  141. linux,code = <0x111>;
  142. };
  143. reset {
  144. label = "reset";
  145. gpios = <&gpio 28 1>;
  146. linux,code = <0x198>;
  147. };
  148. };
  149. gpio-leds {
  150. compatible = "gpio-leds";
  151. power {
  152. label = "power";
  153. gpios = <&gpio 3 1>;
  154. };
  155. message {
  156. label = "message";
  157. gpios = <&gpio 5 1>;
  158. };
  159. power1 {
  160. label = "power1";
  161. gpios = <&gpio 6 1>;
  162. };
  163. voice1 {
  164. label = "voice1";
  165. gpios = <&gpio 8 1>;
  166. };
  167. microphone {
  168. /* use this led as te usb led */
  169. label = "usb";
  170. gpios = <&gpiomm 3 1>;
  171. };
  172. wifi {
  173. label = "wifi";
  174. gpios = <&gpiomm 4 1>;
  175. };
  176. fxs1 {
  177. label = "fxs1";
  178. gpios = <&gpiomm 5 1>;
  179. };
  180. fx2 {
  181. label = "fxs2";
  182. gpios = <&gpiomm 6 1>;
  183. };
  184. fxo {
  185. label = "fxo";
  186. gpios = <&gpiomm 7 1>;
  187. };
  188. internet {
  189. label = "internet";
  190. gpios = <&gpiomm 8 1>;
  191. };
  192. voice2 {
  193. label = "voice2";
  194. gpios = <&gpiomm 9 1>;
  195. };
  196. };
  197. };