ARV452CQW.dts 4.2 KB

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