ARV752DPW.dts 4.5 KB

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