ARV4520PW.dts 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. /dts-v1/;
  2. /include/ "danube.dtsi"
  3. / {
  4. model = "ARV4520PW - Easybox 800, WAV-281";
  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. dsl = &dsl;
  12. internet = &internet_blue;
  13. usb = &usb;
  14. wifi = &wifi;
  15. };
  16. };
  17. memory@0 {
  18. reg = <0x0 0x2000000>;
  19. };
  20. sram@1F000000 {
  21. vmmc@107000 {
  22. status = "okay";
  23. gpios = <&gpio 31 0
  24. &gpiomm 7 0>;
  25. };
  26. };
  27. fpi@10000000 {
  28. localbus@0 {
  29. nor-boot@0 {
  30. compatible = "lantiq,nor";
  31. bank-width = <2>;
  32. reg = <0 0x0 0x800000>;
  33. #address-cells = <1>;
  34. #size-cells = <1>;
  35. partitions {
  36. compatible = "fixed-partitions";
  37. #address-cells = <1>;
  38. #size-cells = <1>;
  39. partition@0 {
  40. label = "uboot";
  41. reg = <0x00000 0x20000>;
  42. read-only;
  43. };
  44. partition@20000 {
  45. label = "uboot_env";
  46. reg = <0x20000 0x10000>;
  47. read-only;
  48. };
  49. partition@30000 {
  50. label = "firmware";
  51. reg = <0x30000 0x3c0000>;
  52. };
  53. partition@7f0000 {
  54. label = "boardconfig";
  55. reg = <0x3f0000 0x10000>;
  56. read-only;
  57. };
  58. };
  59. };
  60. mac_addr {
  61. compatible = "lantiq,eth-mac";
  62. reg = <0 0x3f0016 0x6>;
  63. mac-increment = <2>;
  64. };
  65. gpiomm: gpiomm@4000000 {
  66. compatible = "lantiq,gpio-mm";
  67. reg = <1 0x0 0x10 >;
  68. #address-cells = <1>;
  69. #size-cells = <1>;
  70. #gpio-cells = <2>;
  71. gpio-controller;
  72. lantiq,shadow = <0x400>;
  73. };
  74. };
  75. gpio: pinmux@E100B10 {
  76. pinctrl-names = "default";
  77. pinctrl-0 = <&state_default>;
  78. state_default: pinmux {
  79. ebu {
  80. lantiq,groups = "ebu cs1";
  81. lantiq,function = "ebu";
  82. };
  83. pci_in {
  84. lantiq,groups = "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,open-drain = <0>;
  98. lantiq,pull = <0>;
  99. };
  100. };
  101. };
  102. etop@E180000 {
  103. phy-mode = "rmii";
  104. };
  105. ifxhcd@E101000 {
  106. status = "okay";
  107. gpios = <&gpio 28 0>;
  108. };
  109. pci@E105400 {
  110. status = "okay";
  111. lantiq,external-clock;
  112. gpio-reset = <&gpio 21 0>;
  113. };
  114. };
  115. // gpiomm 10 - switch
  116. gpio-keys-polled {
  117. compatible = "gpio-keys-polled";
  118. #address-cells = <1>;
  119. #size-cells = <0>;
  120. poll-interval = <100>;
  121. rfkill {
  122. label = "wps";
  123. gpios = <&gpio 29 1>;
  124. linux,code = <0x211>;
  125. };
  126. reset {
  127. label = "reset";
  128. gpios = <&gpio 30 1>;
  129. linux,code = <0x198>;
  130. };
  131. };
  132. gpio-leds {
  133. compatible = "gpio-leds";
  134. power_blue: power {
  135. label = "arv4520pw:blue:power";
  136. gpios = <&gpio 3 1>;
  137. default-state = "keep";
  138. };
  139. dsl: dsl {
  140. label = "arv4520pw:blue:dsl";
  141. gpios = <&gpio 4 1>;
  142. };
  143. internet_blue: internet {
  144. label = "arv4520pw:blue:internet";
  145. gpios = <&gpio 5 1>;
  146. };
  147. power_red: power2 {
  148. label = "arv4520pw:red:power";
  149. gpios = <&gpio 6 1>;
  150. };
  151. wps {
  152. label = "arv4520pw:yellow:wps";
  153. gpios = <&gpio 7 1>;
  154. };
  155. wps2 {
  156. label = "arv4520pw:red:wps";
  157. gpios = <&gpio 9 1>;
  158. };
  159. /*
  160. wps green is missing
  161. */
  162. fxs1 {
  163. label = "arv4520pw:blue:telefon1";
  164. gpios = <&gpiomm 0 1>;
  165. };
  166. fxs2 {
  167. label = "arv4520pw:blue:telefon2";
  168. gpios = <&gpiomm 1 1>;
  169. };
  170. isdn {
  171. label = "arv4520pw:blue:isdn";
  172. gpios = <&gpiomm 2 1>;
  173. };
  174. fxo {
  175. label = "arv4520pw:blue:line";
  176. gpios = <&gpiomm 3 1>;
  177. };
  178. voice {
  179. label = "arv4520pw:blue:sprache";
  180. gpios = <&gpiomm 4 1>;
  181. };
  182. usb: usb {
  183. label = "arv4520pw:blue:usb";
  184. gpios = <&gpiomm 5 1>;
  185. };
  186. wifi: wifi {
  187. label = "arv4520pw:blue:wifi";
  188. gpios = <&gpiomm 6 1>;
  189. };
  190. internet2 {
  191. label = "arv4520pw:red:internet";
  192. gpios = <&gpiomm 9 1>;
  193. };
  194. /*
  195. info is missing
  196. */
  197. };
  198. };