ARV4510PW.dts 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. /dts-v1/;
  2. /include/ "danube.dtsi"
  3. / {
  4. model = "ARV4510PW - Wippies, Elisa";
  5. chosen {
  6. bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
  7. leds {
  8. boot = &power;
  9. failsafe = &power2;
  10. running = &power;
  11. dsl = &adsl;
  12. internet = &internet;
  13. usb = &usb;
  14. usb2 = &usb2;
  15. wifi = &wifi;
  16. };
  17. };
  18. memory@0 {
  19. reg = <0x0 0x2000000>;
  20. };
  21. sram@1F000000 {
  22. vmmc@107000 {
  23. status = "okay";
  24. };
  25. };
  26. fpi@10000000 {
  27. localbus@0 {
  28. nor-boot@0 {
  29. compatible = "lantiq,nor";
  30. bank-width = <2>;
  31. reg = <0 0x0 0x1000000>;
  32. #address-cells = <1>;
  33. #size-cells = <1>;
  34. lantiq,noxip;
  35. partitions {
  36. compatible = "fixed-partitions";
  37. #address-cells = <1>;
  38. #size-cells = <1>;
  39. partition@0 {
  40. label = "uboot";
  41. reg = <0x00000 0x40000>;
  42. read-only;
  43. };
  44. partition@40000 {
  45. label = "uboot_env";
  46. reg = <0x40000 0x20000>;
  47. read-only;
  48. };
  49. partition@60000 {
  50. label = "firmware";
  51. reg = <0x60000 0xfa0000>;
  52. };
  53. };
  54. };
  55. };
  56. gpio: pinmux@E100B10 {
  57. pinctrl-names = "default";
  58. pinctrl-0 = <&state_default>;
  59. state_default: pinmux {
  60. ebu {
  61. lantiq,groups = "ebu a23";
  62. lantiq,function = "ebu";
  63. lantiq,open-drain = <0>;
  64. lantiq,output = <1>;
  65. };
  66. stp {
  67. lantiq,groups = "stp";
  68. lantiq,function = "stp";
  69. lantiq,open-drain = <0>;
  70. lantiq,output = <1>;
  71. };
  72. exin {
  73. lantiq,groups = "exin1", "exin2";
  74. lantiq,function = "exin";
  75. lantiq,output = <0>;
  76. };
  77. pci_in {
  78. lantiq,groups = "req1", "req2";
  79. lantiq,function = "pci";
  80. lantiq,output = <0>;
  81. };
  82. pci_out {
  83. lantiq,groups = "gnt1", "gnt2";
  84. lantiq,function = "pci";
  85. lantiq,open-drain = <0>;
  86. lantiq,pull = <0>;
  87. lantiq,output = <1>;
  88. };
  89. pci_rst {
  90. lantiq,pins = "io21";
  91. lantiq,open-drain = <0>;
  92. lantiq,output = <1>;
  93. };
  94. buttons {
  95. lantiq,pins = "io3", "io14";
  96. lantiq,pull = <2>;
  97. lantiq,output = <0>;
  98. };
  99. };
  100. };
  101. gpios: stp@E100BB0 {
  102. status = "okay";
  103. lantiq,groups = <0x7>;
  104. };
  105. etop@E180000 {
  106. phy-mode = "rmii";
  107. };
  108. pci@E105400 {
  109. status = "okay";
  110. lantiq,external-clock;
  111. interrupt-map = <
  112. 0x6000 0 0 1 &icu0 135
  113. 0x7800 0 0 1 &icu0 66
  114. 0x7800 0 0 2 &icu0 66
  115. 0x7800 0 0 3 &icu0 66
  116. >;
  117. gpio-reset = <&gpio 21 0>;
  118. req-mask = <0x7>;
  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 14 1>;
  129. linux,code = <0x211>;
  130. };
  131. reset {
  132. label = "reset";
  133. gpios = <&gpio 3 1>;
  134. linux,code = <0x198>;
  135. };
  136. };
  137. gpio-leds {
  138. compatible = "gpio-leds";
  139. power: power {
  140. label = "power";
  141. gpios = <&gpios 21 0>;
  142. default-state = "keep";
  143. };
  144. power2: power2 {
  145. label = "power2";
  146. gpios = <&gpios 20 0>;
  147. };
  148. lan1 {
  149. label = "lan1";
  150. gpios = <&gpios 19 0>;
  151. };
  152. lan2 {
  153. label = "lan2";
  154. gpios = <&gpios 18 0>;
  155. };
  156. lan3 {
  157. label = "lan3";
  158. gpios = <&gpios 17 0>;
  159. };
  160. lan4 {
  161. label = "lan4";
  162. gpios = <&gpios 16 0>;
  163. };
  164. wifi: wifi {
  165. label = "wifi";
  166. gpios = <&gpios 15 0>;
  167. };
  168. adsl: adsl {
  169. label = "adsl";
  170. gpios = <&gpios 14 0>;
  171. };
  172. internet: internet {
  173. label = "internet";
  174. gpios = <&gpios 13 0>;
  175. };
  176. internet2 {
  177. label = "internet2";
  178. gpios = <&gpios 12 0>;
  179. };
  180. voip {
  181. label = "voip";
  182. gpios = <&gpios 11 0>;
  183. };
  184. phone {
  185. label = "phone";
  186. gpios = <&gpios 10 0>;
  187. };
  188. phone2 {
  189. label = "phone2";
  190. gpios = <&gpios 9 0>;
  191. };
  192. usb: usb {
  193. label = "usb";
  194. gpios = <&gpios 8 0>;
  195. };
  196. usb2: usb2 {
  197. label = "usb2";
  198. gpios = <&gpios 7 0>;
  199. };
  200. usb3 {
  201. label = "usb3";
  202. gpios = <&gpios 6 0>;
  203. };
  204. unlabeled {
  205. label = "unlabeled";
  206. gpios = <&gpios 5 0>;
  207. };
  208. };
  209. };