at91sam9x5.dtsi 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  1. /*
  2. * at91sam9x5.dtsi - Device Tree Include file for AT91SAM9x5 family SoC
  3. * applies to AT91SAM9G15, AT91SAM9G25, AT91SAM9G35,
  4. * AT91SAM9X25, AT91SAM9X35 SoC
  5. *
  6. * Copyright (C) 2012 Atmel,
  7. * 2012 Nicolas Ferre <nicolas.ferre@atmel.com>
  8. *
  9. * Licensed under GPLv2 or later.
  10. */
  11. /include/ "skeleton.dtsi"
  12. / {
  13. model = "Atmel AT91SAM9x5 family SoC";
  14. compatible = "atmel,at91sam9x5";
  15. interrupt-parent = <&aic>;
  16. aliases {
  17. serial0 = &dbgu;
  18. serial1 = &usart0;
  19. serial2 = &usart1;
  20. serial3 = &usart2;
  21. gpio0 = &pioA;
  22. gpio1 = &pioB;
  23. gpio2 = &pioC;
  24. gpio3 = &pioD;
  25. tcb0 = &tcb0;
  26. tcb1 = &tcb1;
  27. };
  28. cpus {
  29. cpu@0 {
  30. compatible = "arm,arm926ejs";
  31. };
  32. };
  33. memory@20000000 {
  34. reg = <0x20000000 0x10000000>;
  35. };
  36. ahb {
  37. compatible = "simple-bus";
  38. #address-cells = <1>;
  39. #size-cells = <1>;
  40. ranges;
  41. apb {
  42. compatible = "simple-bus";
  43. #address-cells = <1>;
  44. #size-cells = <1>;
  45. ranges;
  46. aic: interrupt-controller@fffff000 {
  47. #interrupt-cells = <2>;
  48. compatible = "atmel,at91rm9200-aic";
  49. interrupt-controller;
  50. interrupt-parent;
  51. reg = <0xfffff000 0x200>;
  52. };
  53. pmc: pmc@fffffc00 {
  54. compatible = "atmel,at91rm9200-pmc";
  55. reg = <0xfffffc00 0x100>;
  56. };
  57. pit: timer@fffffe30 {
  58. compatible = "atmel,at91sam9260-pit";
  59. reg = <0xfffffe30 0xf>;
  60. interrupts = <1 4>;
  61. };
  62. tcb0: timer@f8008000 {
  63. compatible = "atmel,at91sam9x5-tcb";
  64. reg = <0xf8008000 0x100>;
  65. interrupts = <17 4>;
  66. };
  67. tcb1: timer@f800c000 {
  68. compatible = "atmel,at91sam9x5-tcb";
  69. reg = <0xf800c000 0x100>;
  70. interrupts = <17 4>;
  71. };
  72. dma0: dma-controller@ffffec00 {
  73. compatible = "atmel,at91sam9g45-dma";
  74. reg = <0xffffec00 0x200>;
  75. interrupts = <20 4>;
  76. };
  77. dma1: dma-controller@ffffee00 {
  78. compatible = "atmel,at91sam9g45-dma";
  79. reg = <0xffffee00 0x200>;
  80. interrupts = <21 4>;
  81. };
  82. pioA: gpio@fffff400 {
  83. compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
  84. reg = <0xfffff400 0x100>;
  85. interrupts = <2 4>;
  86. #gpio-cells = <2>;
  87. gpio-controller;
  88. interrupt-controller;
  89. };
  90. pioB: gpio@fffff600 {
  91. compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
  92. reg = <0xfffff600 0x100>;
  93. interrupts = <2 4>;
  94. #gpio-cells = <2>;
  95. gpio-controller;
  96. interrupt-controller;
  97. };
  98. pioC: gpio@fffff800 {
  99. compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
  100. reg = <0xfffff800 0x100>;
  101. interrupts = <3 4>;
  102. #gpio-cells = <2>;
  103. gpio-controller;
  104. interrupt-controller;
  105. };
  106. pioD: gpio@fffffa00 {
  107. compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
  108. reg = <0xfffffa00 0x100>;
  109. interrupts = <3 4>;
  110. #gpio-cells = <2>;
  111. gpio-controller;
  112. interrupt-controller;
  113. };
  114. dbgu: serial@fffff200 {
  115. compatible = "atmel,at91sam9260-usart";
  116. reg = <0xfffff200 0x200>;
  117. interrupts = <1 4>;
  118. status = "disabled";
  119. };
  120. usart0: serial@f801c000 {
  121. compatible = "atmel,at91sam9260-usart";
  122. reg = <0xf801c000 0x200>;
  123. interrupts = <5 4>;
  124. atmel,use-dma-rx;
  125. atmel,use-dma-tx;
  126. status = "disabled";
  127. };
  128. usart1: serial@f8020000 {
  129. compatible = "atmel,at91sam9260-usart";
  130. reg = <0xf8020000 0x200>;
  131. interrupts = <6 4>;
  132. atmel,use-dma-rx;
  133. atmel,use-dma-tx;
  134. status = "disabled";
  135. };
  136. usart2: serial@f8024000 {
  137. compatible = "atmel,at91sam9260-usart";
  138. reg = <0xf8024000 0x200>;
  139. interrupts = <7 4>;
  140. atmel,use-dma-rx;
  141. atmel,use-dma-tx;
  142. status = "disabled";
  143. };
  144. macb0: ethernet@f802c000 {
  145. compatible = "cdns,at32ap7000-macb", "cdns,macb";
  146. reg = <0xf802c000 0x100>;
  147. interrupts = <24 4>;
  148. status = "disabled";
  149. };
  150. macb1: ethernet@f8030000 {
  151. compatible = "cdns,at32ap7000-macb", "cdns,macb";
  152. reg = <0xf8030000 0x100>;
  153. interrupts = <27 4>;
  154. status = "disabled";
  155. };
  156. };
  157. nand0: nand@40000000 {
  158. compatible = "atmel,at91rm9200-nand";
  159. #address-cells = <1>;
  160. #size-cells = <1>;
  161. reg = <0x40000000 0x10000000
  162. >;
  163. atmel,nand-addr-offset = <21>;
  164. atmel,nand-cmd-offset = <22>;
  165. gpios = <&pioC 8 0
  166. &pioC 14 0
  167. 0
  168. >;
  169. status = "disabled";
  170. };
  171. };
  172. i2c@0 {
  173. compatible = "i2c-gpio";
  174. gpios = <&pioA 30 0 /* sda */
  175. &pioA 31 0 /* scl */
  176. >;
  177. i2c-gpio,sda-open-drain;
  178. i2c-gpio,scl-open-drain;
  179. i2c-gpio,delay-us = <2>; /* ~100 kHz */
  180. #address-cells = <1>;
  181. #size-cells = <0>;
  182. status = "disabled";
  183. };
  184. i2c@1 {
  185. compatible = "i2c-gpio";
  186. gpios = <&pioC 0 0 /* sda */
  187. &pioC 1 0 /* scl */
  188. >;
  189. i2c-gpio,sda-open-drain;
  190. i2c-gpio,scl-open-drain;
  191. i2c-gpio,delay-us = <2>; /* ~100 kHz */
  192. #address-cells = <1>;
  193. #size-cells = <0>;
  194. status = "disabled";
  195. };
  196. i2c@2 {
  197. compatible = "i2c-gpio";
  198. gpios = <&pioB 4 0 /* sda */
  199. &pioB 5 0 /* scl */
  200. >;
  201. i2c-gpio,sda-open-drain;
  202. i2c-gpio,scl-open-drain;
  203. i2c-gpio,delay-us = <2>; /* ~100 kHz */
  204. #address-cells = <1>;
  205. #size-cells = <0>;
  206. status = "disabled";
  207. };
  208. };