ARV4520PW.dts 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  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. };
  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 0x800000>;
  24. #address-cells = <1>;
  25. #size-cells = <1>;
  26. partition@0 {
  27. label = "uboot";
  28. reg = <0x00000 0x20000>;
  29. read-only;
  30. };
  31. partition@20000 {
  32. label = "uboot_env";
  33. reg = <0x20000 0x10000>;
  34. read-only;
  35. };
  36. partition@30000 {
  37. label = "firmware";
  38. reg = <0x30000 0x3c0000>;
  39. };
  40. partition@7f0000 {
  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. gpiomm: gpiomm@4000000 {
  52. compatible = "lantiq,gpio-mm";
  53. reg = <1 0x0 0x10 >;
  54. #address-cells = <1>;
  55. #size-cells = <1>;
  56. #gpio-cells = <2>;
  57. gpio-controller;
  58. lantiq,shadow = <0x400>;
  59. };
  60. };
  61. gpio: pinmux@E100B10 {
  62. pinctrl-names = "default";
  63. pinctrl-0 = <&state_default>;
  64. state_default: pinmux {
  65. ebu {
  66. lantiq,groups = "ebu cs1";
  67. lantiq,function = "ebu";
  68. };
  69. pci_in {
  70. lantiq,groups = "req1";
  71. lantiq,function = "pci";
  72. lantiq,open-drain = <1>;
  73. lantiq,pull = <2>;
  74. lantiq,output = <0>;
  75. };
  76. pci_out {
  77. lantiq,groups = "gnt1";
  78. lantiq,function = "pci";
  79. lantiq,output = <1>;
  80. };
  81. pci_rst {
  82. lantiq,pins = "io21";
  83. lantiq,open-drain = <0>;
  84. lantiq,pull = <0>;
  85. };
  86. };
  87. };
  88. etop@E180000 {
  89. phy-mode = "rmii";
  90. };
  91. ifxhcd@E101000 {
  92. status = "okay";
  93. gpios = <&gpio 28 0>;
  94. };
  95. pci@E105400 {
  96. status = "okay";
  97. lantiq,external-clock;
  98. gpio-reset = <&gpio 21 0>;
  99. };
  100. };
  101. // gpiomm 10 - switch
  102. gpio-keys-polled {
  103. compatible = "gpio-keys-polled";
  104. #address-cells = <1>;
  105. #size-cells = <0>;
  106. poll-interval = <100>;
  107. rfkill {
  108. label = "wps";
  109. gpios = <&gpio 29 1>;
  110. linux,code = <0x211>;
  111. };
  112. reset {
  113. label = "reset";
  114. gpios = <&gpio 30 1>;
  115. linux,code = <0x198>;
  116. };
  117. };
  118. gpio-leds {
  119. compatible = "gpio-leds";
  120. power {
  121. label = "power";
  122. gpios = <&gpio 3 1>;
  123. };
  124. adsl {
  125. label = "adsl";
  126. gpios = <&gpio 4 1>;
  127. };
  128. internet {
  129. label = "internet";
  130. gpios = <&gpio 5 1>;
  131. };
  132. power2 {
  133. label = "power2";
  134. gpios = <&gpio 6 1>;
  135. };
  136. wps {
  137. label = "wps";
  138. gpios = <&gpio 7 1>;
  139. };
  140. wps2 {
  141. label = "wps2";
  142. gpios = <&gpio 9 1>;
  143. };
  144. fxs1 {
  145. label = "fxs1";
  146. gpios = <&gpiomm 0 1>;
  147. };
  148. fxs2 {
  149. label = "fxs2";
  150. gpios = <&gpiomm 1 1>;
  151. };
  152. isdn {
  153. label = "isdn";
  154. gpios = <&gpiomm 2 1>;
  155. };
  156. fxo {
  157. label = "fxo";
  158. gpios = <&gpiomm 3 1>;
  159. };
  160. voice {
  161. label = "voice";
  162. gpios = <&gpiomm 4 1>;
  163. };
  164. usb {
  165. label = "usb";
  166. gpios = <&gpiomm 5 1>;
  167. };
  168. wifi {
  169. label = "wifi";
  170. gpios = <&gpiomm 6 1>;
  171. };
  172. internet2 {
  173. label = "internet2";
  174. gpios = <&gpiomm 9 1>;
  175. };
  176. };
  177. };