ARV7510PW22.dts 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  1. /dts-v1/;
  2. /include/ "danube.dtsi"
  3. / {
  4. model = "ARV7510PW22 - Astoria Networks";
  5. chosen {
  6. bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
  7. leds {
  8. boot = &power;
  9. failsafe = &power;
  10. running = &power;
  11. internet = &internet;
  12. wifi = &wlan;
  13. };
  14. };
  15. memory@0 {
  16. reg = <0x0 0x4000000>;
  17. };
  18. sram@1F000000 {
  19. vmmc@107000 {
  20. status = "okay";
  21. gpios = <&gpio 9 0>;
  22. };
  23. };
  24. fpi@10000000 {
  25. localbus@0 {
  26. nor-boot@0 {
  27. compatible = "lantiq,nor";
  28. bank-width = <2>;
  29. reg = <0 0x0 0x1000000>;
  30. #address-cells = <1>;
  31. #size-cells = <1>;
  32. partitions {
  33. compatible = "fixed-partitions";
  34. #address-cells = <1>;
  35. #size-cells = <1>;
  36. partition@0 {
  37. label = "uboot";
  38. reg = <0x00000 0x40000>;
  39. read-only;
  40. };
  41. partition@40000 {
  42. label = "uboot_env";
  43. reg = <0x40000 0x20000>;
  44. read-only;
  45. };
  46. partition@60000 {
  47. label = "firmware";
  48. reg = <0x60000 0xf80000>;
  49. };
  50. partition@fe0000 {
  51. label = "board_config";
  52. reg = <0xfe0000 0x20000>;
  53. read-only;
  54. };
  55. };
  56. };
  57. mac_addr {
  58. compatible = "lantiq,eth-mac";
  59. reg = <0 0xfe0016 0x6>;
  60. mac-increment = <2>;
  61. };
  62. };
  63. gpio: pinmux@E100B10 {
  64. pinctrl-names = "default";
  65. pinctrl-0 = <&state_default>;
  66. state_default: pinmux {
  67. exin {
  68. lantiq,groups = "exin1";
  69. lantiq,function = "exin";
  70. lantiq,pull = <2>;
  71. lantiq,output = <0>;
  72. };
  73. pci_in {
  74. lantiq,groups = "req1", "req2";
  75. lantiq,function = "pci";
  76. lantiq,open-drain = <1>;
  77. lantiq,pull = <2>;
  78. lantiq,output = <0>;
  79. };
  80. pci_out {
  81. lantiq,groups = "gnt1";
  82. lantiq,function = "pci";
  83. lantiq,output = <1>;
  84. };
  85. pci_rst {
  86. lantiq,pins = "io21";
  87. lantiq,pull = <2>;
  88. lantiq,output = <1>;
  89. };
  90. pins_out {
  91. lantiq,pins = "io2", "io4", "io8", "io9", "io10", "io15", "io20";
  92. lantiq,output = <1>;
  93. };
  94. pins_in {
  95. lantiq,pins = "io11", "io12", "io28";
  96. lantiq,open-drain = <1>;
  97. lantiq,pull = <2>;
  98. lantiq,output = <0>;
  99. };
  100. };
  101. };
  102. ifxhcd@E101000 {
  103. status = "okay";
  104. gpios = <&gpio 8 0>;
  105. };
  106. etop@E180000 {
  107. phy-mode = "mii";
  108. /* Switch reset 19 */
  109. };
  110. pci@E105400 {
  111. status = "okay";
  112. lantiq,external-clock;
  113. interrupt-map = <
  114. 0x7000 0 0 1 &icu0 30
  115. 0x7800 0 0 1 &icu0 135
  116. 0x7800 0 0 2 &icu0 135
  117. 0x7800 0 0 3 &icu0 135
  118. >;
  119. gpio-reset = <&gpio 21 0>;
  120. req-mask = <0x3>;
  121. };
  122. };
  123. ralink_eep {
  124. compatible = "ralink,eeprom";
  125. ralink,eeprom = "RT2860.eeprom";
  126. };
  127. gpio-keys-polled {
  128. compatible = "gpio-keys-polled";
  129. #address-cells = <1>;
  130. #size-cells = <0>;
  131. poll-interval = <100>;
  132. rfkill {
  133. label = "rfkill";
  134. gpios = <&gpio 11 1>;
  135. linux,code = <0xf7>;
  136. };
  137. restart {
  138. label = "restart";
  139. gpios = <&gpio 12 1>;
  140. linux,code = <0x100>;
  141. };
  142. reset {
  143. label = "reset";
  144. gpios = <&gpio 28 1>;
  145. linux,code = <0x198>;
  146. };
  147. };
  148. gpio-leds {
  149. compatible = "gpio-leds";
  150. power: power {
  151. label = "power";
  152. gpios = <&gpio 2 1>;
  153. default-state = "keep";
  154. };
  155. internet: internet {
  156. label = "internet";
  157. gpios = <&gpio 4 1>;
  158. };
  159. wlan: wlan {
  160. label = "wlan";
  161. gpios = <&gpio 10 1>;
  162. };
  163. 3g {
  164. label = "3g";
  165. gpios = <&gpio 15 1>;
  166. };
  167. message {
  168. label = "message";
  169. gpios = <&gpio 20 1>;
  170. };
  171. };
  172. };