ar9.dtsi 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. #include <dt-bindings/gpio/gpio.h>
  2. / {
  3. #address-cells = <1>;
  4. #size-cells = <1>;
  5. compatible = "lantiq,xway", "lantiq,ar9";
  6. aliases {
  7. serial0 = &asc1;
  8. };
  9. chosen {
  10. stdout-path = "serial0:115200n8";
  11. };
  12. cpus {
  13. cpu@0 {
  14. compatible = "mips,mips34K";
  15. };
  16. };
  17. memory@0 {
  18. device_type = "memory";
  19. };
  20. biu@1f800000 {
  21. #address-cells = <1>;
  22. #size-cells = <1>;
  23. compatible = "lantiq,biu", "simple-bus";
  24. reg = <0x1f800000 0x800000>;
  25. ranges = <0x0 0x1f800000 0x7fffff>;
  26. icu0: icu@80200 {
  27. #interrupt-cells = <1>;
  28. interrupt-controller;
  29. compatible = "lantiq,icu";
  30. reg = <0x80200 0x28
  31. 0x80228 0x28
  32. 0x80250 0x28
  33. 0x80278 0x28
  34. 0x802a0 0x28>;
  35. };
  36. watchdog@803f0 {
  37. compatible = "lantiq,wdt";
  38. reg = <0x803f0 0x10>;
  39. };
  40. };
  41. sram@1f000000 {
  42. #address-cells = <1>;
  43. #size-cells = <1>;
  44. compatible = "lantiq,sram", "simple-bus";
  45. reg = <0x1f000000 0x800000>;
  46. ranges = <0x0 0x1f000000 0x7fffff>;
  47. eiu0: eiu@101000 {
  48. #interrupt-cells = <1>;
  49. interrupt-controller;
  50. compatible = "lantiq,eiu-xway";
  51. reg = <0x101000 0x1000>;
  52. interrupt-parent = <&icu0>;
  53. lantiq,eiu-irqs = <166 135 66 40 41 42>;
  54. };
  55. pmu0: pmu@102000 {
  56. compatible = "lantiq,pmu-xway";
  57. reg = <0x102000 0x1000>;
  58. };
  59. cgu0: cgu@103000 {
  60. compatible = "lantiq,cgu-xway";
  61. reg = <0x103000 0x1000>;
  62. #clock-cells = <1>;
  63. };
  64. rcu0: rcu@203000 {
  65. compatible = "lantiq,rcu-xway";
  66. reg = <0x203000 0x1000>;
  67. };
  68. };
  69. fpi@10000000 {
  70. #address-cells = <1>;
  71. #size-cells = <1>;
  72. compatible = "lantiq,fpi", "simple-bus";
  73. ranges = <0x0 0x10000000 0xeefffff>;
  74. reg = <0x10000000 0xef00000>;
  75. localbus: localbus@0 {
  76. #address-cells = <2>;
  77. #size-cells = <1>;
  78. ranges = <0 0 0x0 0x3ffffff /* addrsel0 */
  79. 1 0 0x4000000 0x4000010>; /* addsel1 */
  80. compatible = "lantiq,localbus", "simple-bus";
  81. };
  82. gptu@e100a00 {
  83. compatible = "lantiq,gptu-xway";
  84. reg = <0xe100a00 0x100>;
  85. interrupt-parent = <&icu0>;
  86. interrupts = <126 127 128 129 130 131>;
  87. };
  88. asc0: serial@e100400 {
  89. compatible = "lantiq,asc";
  90. reg = <0xe100400 0x400>;
  91. interrupt-parent = <&icu0>;
  92. interrupts = <104 105 106>;
  93. status = "disabled";
  94. };
  95. spi: spi@e100800 {
  96. compatible = "lantiq,xrx100-spi";
  97. reg = <0xe100800 0x100>;
  98. interrupt-parent = <&icu0>;
  99. interrupts = <22 23 24>;
  100. interrupt-names = "spi_rx", "spi_tx", "spi_err",
  101. "spi_frm";
  102. #address-cells = <1>;
  103. #size-cells = <1>;
  104. status = "disabled";
  105. };
  106. gpio: pinmux@e100b10 {
  107. compatible = "lantiq,xrx100-pinctrl";
  108. #gpio-cells = <2>;
  109. gpio-controller;
  110. reg = <0xe100b10 0xa0>;
  111. };
  112. stp: stp@e100bb0 {
  113. #gpio-cells = <2>;
  114. compatible = "lantiq,gpio-stp-xway";
  115. gpio-controller;
  116. reg = <0xe100bb0 0x40>;
  117. status = "disabled";
  118. };
  119. asc1: serial@e100c00 {
  120. compatible = "lantiq,asc";
  121. reg = <0xe100c00 0x400>;
  122. interrupt-parent = <&icu0>;
  123. interrupts = <112 113 114>;
  124. };
  125. usb0: ifxhcd@e101000 {
  126. compatible = "lantiq,arx100-usb", "lantiq,ifxhcd-arx100";
  127. reg = <0xe101000 0x1000
  128. 0xe120000 0x3f000>;
  129. interrupt-parent = <&icu0>;
  130. interrupts = <62 91>;
  131. dr_mode = "host";
  132. status = "disabled";
  133. };
  134. usb1: ifxhcd@e106000 {
  135. compatible = "lantiq,arx100-usb";
  136. reg = <0xe106000 0x1000
  137. 0xe1e0000 0x3f000>;
  138. interrupt-parent = <&icu0>;
  139. interrupts = <91>;
  140. dr_mode = "host";
  141. status = "disabled";
  142. };
  143. deu@e103100 {
  144. compatible = "lantiq,deu-arx100";
  145. reg = <0xe103100 0xf00>;
  146. };
  147. dma0: dma@e104100 {
  148. compatible = "lantiq,dma-xway";
  149. reg = <0xe104100 0x800>;
  150. };
  151. ebu0: ebu@e105300 {
  152. compatible = "lantiq,ebu-xway";
  153. reg = <0xe105300 0x100>;
  154. };
  155. mei@e116000 {
  156. compatible = "lantiq,mei-xway";
  157. interrupt-parent = <&icu0>;
  158. interrupts = <63>;
  159. };
  160. gsw: etop@e180000 {
  161. compatible = "lantiq,etop-xway";
  162. reg = <0xe180000 0x40000
  163. 0xe108000 0x200>;
  164. interrupt-parent = <&icu0>;
  165. interrupts = <73 72>;
  166. mac-address = [ 00 11 22 33 44 55 ];
  167. };
  168. ppe@e234000 {
  169. compatible = "lantiq,ppe-arx100";
  170. interrupt-parent = <&icu0>;
  171. interrupts = <96>;
  172. };
  173. pci0: pci@e105400 {
  174. status = "disabled";
  175. #address-cells = <3>;
  176. #size-cells = <2>;
  177. #interrupt-cells = <1>;
  178. compatible = "lantiq,pci-xway";
  179. bus-range = <0x0 0x0>;
  180. ranges = <0x2000000 0 0x8000000 0x8000000 0 0x2000000 /* pci memory */
  181. 0x1000000 0 0x00000000 0xae00000 0 0x200000>; /* io space */
  182. reg = <0x7000000 0x8000 /* config space */
  183. 0xe105400 0x400>; /* pci bridge */
  184. lantiq,bus-clock = <33333333>;
  185. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  186. interrupt-map = <0x7000 0 0 1 &icu0 30 1>;
  187. req-mask = <0x1>;
  188. };
  189. };
  190. adsl {
  191. compatible = "lantiq,adsl-arx100";
  192. };
  193. };