ARV7510PW22.dts 3.0 KB

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