ARV7519PW.dts 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. /dts-v1/;
  2. /include/ "danube.dtsi"
  3. / {
  4. model = "ARV7519PW - Astoria Networks";
  5. chosen {
  6. bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
  7. };
  8. memory@0 {
  9. reg = <0x0 0x4000000>;
  10. };
  11. sram@1F000000 {
  12. vmmc@107000 {
  13. status = "okay";
  14. };
  15. };
  16. fpi@10000000 {
  17. localbus@0 {
  18. nor-boot@0 {
  19. compatible = "lantiq,nor";
  20. bank-width = <2>;
  21. reg = <0 0x0 0x2000000>;
  22. #address-cells = <1>;
  23. #size-cells = <1>;
  24. partition@0 {
  25. label = "uboot";
  26. reg = <0x00000 0x40000>;
  27. read-only;
  28. };
  29. partition@40000 {
  30. label = "uboot_env";
  31. reg = <0x40000 0x20000>;
  32. };
  33. partition@60000 {
  34. label = "firmware";
  35. reg = <0x60000 0xf80000>;
  36. };
  37. partition@fe0000 {
  38. label = "board_config";
  39. reg = <0xfe0000 0x20000>;
  40. read-only;
  41. };
  42. };
  43. mac_addr {
  44. compatible = "lantiq,eth-mac";
  45. reg = <0 0xfe0016 0x6>;
  46. mac-increment = <2>;
  47. };
  48. };
  49. gpio: pinmux@E100B10 {
  50. pinctrl-names = "default";
  51. pinctrl-0 = <&state_default>;
  52. state_default: pinmux {
  53. ebu {
  54. lantiq,groups = "ebu cs1";
  55. lantiq,function = "ebu";
  56. };
  57. pci_in {
  58. lantiq,groups = "req1";
  59. lantiq,function = "pci";
  60. lantiq,open-drain = <1>;
  61. lantiq,pull = <2>;
  62. lantiq,output = <0>;
  63. };
  64. pci_out {
  65. lantiq,groups = "gnt1";
  66. lantiq,function = "pci";
  67. lantiq,pull = <0>;
  68. lantiq,output = <1>;
  69. };
  70. pci_rst {
  71. lantiq,pins = "io21";
  72. lantiq,pull = <2>;
  73. lantiq,output = <1>;
  74. };
  75. switch_rst {
  76. lantiq,pins = "io19";
  77. lantiq,pull = <2>;
  78. lantiq,output = <1>;
  79. };
  80. };
  81. };
  82. etop@E180000 {
  83. phy-mode = "mii";
  84. };
  85. /* warning: passive port
  86. only works with active devices */
  87. ifxhcd@E101000 {
  88. status = "okay";
  89. };
  90. pci@E105400 {
  91. status = "okay";
  92. lantiq,external-clock;
  93. gpio-reset = <&gpio 21 0>;
  94. req-mask = <0xf>;
  95. };
  96. };
  97. ralink_eep {
  98. compatible = "ralink,eeprom";
  99. ralink,eeprom = "RT2860.eeprom";
  100. };
  101. gpio-keys-polled {
  102. compatible = "gpio-keys-polled";
  103. #address-cells = <1>;
  104. #size-cells = <0>;
  105. poll-interval = <100>;
  106. rfkill {
  107. label = "rfkill";
  108. gpios = <&gpio 11 1>;
  109. linux,code = <0xf7>;
  110. };
  111. reset {
  112. label = "reset";
  113. gpios = <&gpio 28 1>;
  114. linux,code = <0x198>;
  115. };
  116. };
  117. gpio-leds {
  118. compatible = "gpio-leds";
  119. power {
  120. label = "power";
  121. gpios = <&gpio 2 1>;
  122. default-state = "off";
  123. };
  124. power2 {
  125. label = "power2";
  126. gpios = <&gpio 14 1>;
  127. };
  128. online {
  129. label = "online";
  130. gpios = <&gpio 3 1>;
  131. };
  132. online2 {
  133. label = "online2";
  134. gpios = <&gpio 30 1>;
  135. };
  136. wifi {
  137. label = "wifi";
  138. gpios = <&gpio 12 1>;
  139. };
  140. wifi2 {
  141. label = "wifi2";
  142. gpios = <&gpio 10 1>;
  143. };
  144. wifi3 {
  145. label = "wifi3";
  146. gpios = <&gpio 6 1>;
  147. };
  148. voice {
  149. label = "voice";
  150. gpios = <&gpio 31 1>;
  151. };
  152. wps {
  153. label = "wps";
  154. gpios = <&gpio 15 1>;
  155. };
  156. wps2 {
  157. label = "wps2";
  158. gpios = <&gpio 7 1>;
  159. };
  160. wps3 {
  161. label = "wps3";
  162. gpios = <&gpio 23 1>;
  163. };
  164. dsl {
  165. label = "dsl";
  166. gpios = <&gpio 4 1>;
  167. };
  168. lan {
  169. label = "lan";
  170. gpios = <&gpio 1 1>;
  171. };
  172. tv {
  173. label = "tv";
  174. gpios = <&gpio 20 1>;
  175. };
  176. upgrade {
  177. label = "upgrade";
  178. gpios = <&gpio 29 1>;
  179. };
  180. };
  181. /* is there another way to "reserve" the GPIO? */
  182. gpio_export {
  183. compatible = "gpio-export";
  184. #size-cells = <0>;
  185. switch {
  186. gpio-export,name = "switch";
  187. gpio-export,output = <1>;
  188. gpios = <&gpio 19 0>;
  189. };
  190. };
  191. };