ARV752DPW22.dts 5.0 KB

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