ARV752DPW.dts 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238
  1. /dts-v1/;
  2. /include/ "danube.dtsi"
  3. / {
  4. model = "ARV752DPW - Arcor 802";
  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 0x10000>;
  39. read-only;
  40. };
  41. partition@10000 {
  42. label = "uboot_env";
  43. reg = <0x10000 0x10000>;
  44. read-only;
  45. };
  46. partition@20000 {
  47. label = "firmware";
  48. reg = <0x20000 0x7d0000>;
  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 = <0x3>;
  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 = "req2", "req1";
  88. lantiq,function = "pci";
  89. lantiq,open-drain = <1>;
  90. lantiq,pull = <2>;
  91. lantiq,output = <0>;
  92. };
  93. pci_out {
  94. lantiq,groups = "gnt1";
  95. lantiq,function = "pci";
  96. lantiq,output = <1>;
  97. };
  98. pci_rst {
  99. lantiq,pins = "io21";
  100. lantiq,pull = <2>;
  101. lantiq,output = <1>;
  102. };
  103. leds {
  104. lantiq,pins = "io3", "io5", "io6", "io8";
  105. lantiq,output = <1>;
  106. lantiq,pull = <0>;
  107. };
  108. keys {
  109. lantiq,pins = "io11", "io12", "io13", "io28";
  110. lantiq,output = <0>;
  111. lantiq,pull = <2>;
  112. lantiq,open-drain = <1>;
  113. };
  114. };
  115. };
  116. ifxhcd@E101000 {
  117. status = "okay";
  118. gpios = <&gpiomm 0 0>;
  119. };
  120. etop@E180000 {
  121. phy-mode = "rmii";
  122. };
  123. pci@E105400 {
  124. status = "okay";
  125. lantiq,external-clock;
  126. gpio-reset = <&gpio 21 0>;
  127. interrupt-map = <0x7000 0 0 1 &icu0 135>;
  128. req-mask = <0x3>;
  129. };
  130. };
  131. ralink_eep {
  132. compatible = "ralink,eeprom";
  133. ralink,eeprom = "RT2860.eeprom";
  134. };
  135. gpio-keys-polled {
  136. compatible = "gpio-keys-polled";
  137. #address-cells = <1>;
  138. #size-cells = <0>;
  139. poll-interval = <100>;
  140. /* wps {
  141. label = "wps";
  142. gpios = <&gpio 11 1>;
  143. linux,code = <0x211>;
  144. }; */
  145. restart {
  146. label = "restart";
  147. gpios = <&gpio 12 1>;
  148. linux,code = <0x110>;
  149. };
  150. dsl {
  151. label = "dsl";
  152. gpios = <&gpio 13 1>;
  153. linux,code = <0x111>;
  154. };
  155. reset {
  156. label = "reset";
  157. gpios = <&gpio 28 1>;
  158. linux,code = <0x198>;
  159. };
  160. };
  161. gpio-leds {
  162. compatible = "gpio-leds";
  163. power_blue: power1 {
  164. label = "arv752dpw:blue:power";
  165. gpios = <&gpio 3 1>;
  166. };
  167. internet_red: internet {
  168. label = "arv752dpw:red:internet";
  169. gpios = <&gpio 4 1>;
  170. };
  171. message {
  172. label = "arv752dpw:red:message";
  173. gpios = <&gpio 5 1>;
  174. };
  175. power_red: power {
  176. label = "arv752dpw:red:power";
  177. gpios = <&gpio 6 1>;
  178. default-state = "keep";
  179. };
  180. voice1 {
  181. label = "arv752dpw:red:voice";
  182. gpios = <&gpio 8 1>;
  183. };
  184. microphone {
  185. label = "arv752dpw:red:umts";
  186. gpios = <&gpiomm 3 1>;
  187. };
  188. wifi: wifi {
  189. label = "arv752dpw:red:wifi";
  190. gpios = <&gpiomm 4 1>;
  191. };
  192. fxs1 {
  193. label = "arv752dpw:green:tae-n";
  194. gpios = <&gpiomm 5 1>;
  195. };
  196. fxs2 {
  197. label = "arv752dpw:green:tae-u";
  198. gpios = <&gpiomm 6 1>;
  199. };
  200. fxo {
  201. label = "arv752dpw:green:isdn";
  202. gpios = <&gpiomm 7 1>;
  203. };
  204. internet2 {
  205. label = "arv752dpw:blue:internet";
  206. gpios = <&gpiomm 8 1>;
  207. };
  208. voice2 {
  209. label = "arv752dpw:blue:voice";
  210. gpios = <&gpiomm 9 1>;
  211. };
  212. };
  213. };