ARV452CQW.dts 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  1. /dts-v1/;
  2. /include/ "danube.dtsi"
  3. / {
  4. model = "ARV452CQW - Arcor 801";
  5. chosen {
  6. bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
  7. };
  8. memory@0 {
  9. reg = <0x0 0x2000000>;
  10. };
  11. sram@1F000000 {
  12. vmmc@107000 {
  13. status = "okay";
  14. gpios = <&gpio 31 0
  15. &gpiomm 7 0>;
  16. };
  17. };
  18. fpi@10000000 {
  19. localbus@0 {
  20. nor-boot@0 {
  21. compatible = "lantiq,nor";
  22. bank-width = <2>;
  23. reg = <0 0x0 0x400000>;
  24. #address-cells = <1>;
  25. #size-cells = <1>;
  26. partition@0 {
  27. label = "uboot";
  28. reg = <0x00000 0x10000>;
  29. read-only;
  30. };
  31. partition@10000 {
  32. label = "uboot_env";
  33. reg = <0x10000 0x10000>;
  34. read-only;
  35. };
  36. partition@20000 {
  37. label = "firmware";
  38. reg = <0x20000 0x3d0000>;
  39. };
  40. partition@3f0000 {
  41. label = "boardconfig";
  42. reg = <0x3f0000 0x10000>;
  43. read-only;
  44. };
  45. };
  46. mac_addr {
  47. compatible = "lantiq,eth-mac";
  48. reg = <0 0x3f0016 0x6>;
  49. mac-increment = <2>;
  50. };
  51. ath5k_eep {
  52. compatible = "ath5k,eeprom";
  53. reg = <0 0x3f0400 0x1000>;
  54. ath,mac-offset = <0>;
  55. ath,eep-swap;
  56. };
  57. gpiomm: gpiomm@4000000 {
  58. compatible = "lantiq,gpio-mm";
  59. reg = <1 0x0 0x10>;
  60. #address-cells = <1>;
  61. #size-cells = <1>;
  62. #gpio-cells = <2>;
  63. gpio-controller;
  64. lantiq,shadow = <0x77f>;
  65. };
  66. };
  67. gpio: pinmux@E100B10 {
  68. pinctrl-names = "default";
  69. pinctrl-0 = <&state_default>;
  70. state_default: pinmux {
  71. ebu {
  72. lantiq,groups = "ebu cs1";
  73. lantiq,function = "ebu";
  74. };
  75. pci_in {
  76. lantiq,groups = "req1";
  77. lantiq,function = "pci";
  78. lantiq,open-drain = <1>;
  79. lantiq,pull = <2>;
  80. lantiq,output = <0>;
  81. };
  82. pci_out {
  83. lantiq,groups = "gnt1";
  84. lantiq,function = "pci";
  85. lantiq,output = <1>;
  86. };
  87. pci_rst {
  88. lantiq,pins = "io21";
  89. lantiq,pull = <0>;
  90. lantiq,output = <1>;
  91. };
  92. leds {
  93. lantiq,pins = "io3", "io5", "io6", "io7", "io9";
  94. lantiq,output = <1>;
  95. };
  96. };
  97. };
  98. ifxhcd@E101000 {
  99. status = "okay";
  100. gpios = <&gpio 28 0>;
  101. };
  102. etop@E180000 {
  103. phy-mode = "rmii";
  104. };
  105. pci@E105400 {
  106. status = "okay";
  107. lantiq,external-clock;
  108. gpio-reset = <&gpio 21 0>;
  109. };
  110. };
  111. /*
  112. #define ARV452CPW_SWITCH_RESET 110
  113. */
  114. gpio-keys-polled {
  115. compatible = "gpio-keys-polled1";
  116. #address-cells = <1>;
  117. #size-cells = <0>;
  118. poll-interval = <100>;
  119. wps {
  120. label = "wps";
  121. gpios = <&gpio 11 1>;
  122. linux,code = <0x101>;
  123. };
  124. restart {
  125. label = "restart";
  126. gpios = <&gpio 12 1>;
  127. linux,code = <0x110>;
  128. };
  129. reset {
  130. label = "reset";
  131. gpios = <&gpio 28 1>;
  132. linux,code = <0x198>;
  133. };
  134. };
  135. gpio-leds {
  136. compatible = "gpio-leds";
  137. power0 {
  138. label = "power0";
  139. gpios = <&gpio 3 1>;
  140. };
  141. dsl {
  142. label = "dsl";
  143. gpios = <&gpio 4 1>;
  144. };
  145. isdn {
  146. label = "isdn";
  147. gpios = <&gpio 5 1>;
  148. };
  149. power1 {
  150. label = "power1";
  151. gpios = <&gpio 6 1>;
  152. };
  153. wps {
  154. label = "wps";
  155. gpios = <&gpio 7 1>;
  156. };
  157. wps1 {
  158. label = "wps1";
  159. gpios = <&gpio 9 1>;
  160. };
  161. fxs1 {
  162. label = "fxs1";
  163. gpios = <&gpiomm 0 1>;
  164. };
  165. fxs2 {
  166. label = "fxs2";
  167. gpios = <&gpiomm 1 1>;
  168. };
  169. wps2 {
  170. label = "wps2";
  171. gpios = <&gpiomm 2 1>;
  172. };
  173. fxo {
  174. label = "fxo";
  175. gpios = <&gpiomm 3 1>;
  176. };
  177. voice {
  178. label = "voice";
  179. gpios = <&gpiomm 4 1>;
  180. };
  181. usb {
  182. label = "usb";
  183. gpios = <&gpiomm 5 1>;
  184. };
  185. wifi {
  186. label = "wifi";
  187. gpios = <&gpiomm 6 1>;
  188. };
  189. dsl2 {
  190. label = "dsl2";
  191. gpios = <&gpiomm 8 1>;
  192. };
  193. dsl3 {
  194. label = "dsl3";
  195. gpios = <&gpiomm 9 1>;
  196. };
  197. };
  198. };