ARV752DPW22.dts 4.6 KB

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