ARV4510PW.dts 4.1 KB

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