at91sam9260.dtsi 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273
  1. /*
  2. * at91sam9260.dtsi - Device Tree Include file for AT91SAM9260 family SoC
  3. *
  4. * Copyright (C) 2011 Atmel,
  5. * 2011 Nicolas Ferre <nicolas.ferre@atmel.com>,
  6. * 2011 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
  7. *
  8. * Licensed under GPLv2 or later.
  9. */
  10. /include/ "skeleton.dtsi"
  11. / {
  12. model = "Atmel AT91SAM9260 family SoC";
  13. compatible = "atmel,at91sam9260";
  14. interrupt-parent = <&aic>;
  15. aliases {
  16. serial0 = &dbgu;
  17. serial1 = &usart0;
  18. serial2 = &usart1;
  19. serial3 = &usart2;
  20. serial4 = &usart3;
  21. serial5 = &usart4;
  22. serial6 = &usart5;
  23. gpio0 = &pioA;
  24. gpio1 = &pioB;
  25. gpio2 = &pioC;
  26. tcb0 = &tcb0;
  27. tcb1 = &tcb1;
  28. };
  29. cpus {
  30. cpu@0 {
  31. compatible = "arm,arm926ejs";
  32. };
  33. };
  34. memory {
  35. reg = <0x20000000 0x04000000>;
  36. };
  37. ahb {
  38. compatible = "simple-bus";
  39. #address-cells = <1>;
  40. #size-cells = <1>;
  41. ranges;
  42. apb {
  43. compatible = "simple-bus";
  44. #address-cells = <1>;
  45. #size-cells = <1>;
  46. ranges;
  47. aic: interrupt-controller@fffff000 {
  48. #interrupt-cells = <2>;
  49. compatible = "atmel,at91rm9200-aic";
  50. interrupt-controller;
  51. reg = <0xfffff000 0x200>;
  52. };
  53. ramc0: ramc@ffffea00 {
  54. compatible = "atmel,at91sam9260-sdramc";
  55. reg = <0xffffea00 0x200>;
  56. };
  57. pmc: pmc@fffffc00 {
  58. compatible = "atmel,at91rm9200-pmc";
  59. reg = <0xfffffc00 0x100>;
  60. };
  61. rstc@fffffd00 {
  62. compatible = "atmel,at91sam9260-rstc";
  63. reg = <0xfffffd00 0x10>;
  64. };
  65. shdwc@fffffd10 {
  66. compatible = "atmel,at91sam9260-shdwc";
  67. reg = <0xfffffd10 0x10>;
  68. };
  69. pit: timer@fffffd30 {
  70. compatible = "atmel,at91sam9260-pit";
  71. reg = <0xfffffd30 0xf>;
  72. interrupts = <1 4>;
  73. };
  74. tcb0: timer@fffa0000 {
  75. compatible = "atmel,at91rm9200-tcb";
  76. reg = <0xfffa0000 0x100>;
  77. interrupts = <17 4 18 4 19 4>;
  78. };
  79. tcb1: timer@fffdc000 {
  80. compatible = "atmel,at91rm9200-tcb";
  81. reg = <0xfffdc000 0x100>;
  82. interrupts = <26 4 27 4 28 4>;
  83. };
  84. pioA: gpio@fffff400 {
  85. compatible = "atmel,at91rm9200-gpio";
  86. reg = <0xfffff400 0x100>;
  87. interrupts = <2 4>;
  88. #gpio-cells = <2>;
  89. gpio-controller;
  90. interrupt-controller;
  91. };
  92. pioB: gpio@fffff600 {
  93. compatible = "atmel,at91rm9200-gpio";
  94. reg = <0xfffff600 0x100>;
  95. interrupts = <3 4>;
  96. #gpio-cells = <2>;
  97. gpio-controller;
  98. interrupt-controller;
  99. };
  100. pioC: gpio@fffff800 {
  101. compatible = "atmel,at91rm9200-gpio";
  102. reg = <0xfffff800 0x100>;
  103. interrupts = <4 4>;
  104. #gpio-cells = <2>;
  105. gpio-controller;
  106. interrupt-controller;
  107. };
  108. dbgu: serial@fffff200 {
  109. compatible = "atmel,at91sam9260-usart";
  110. reg = <0xfffff200 0x200>;
  111. interrupts = <1 4>;
  112. status = "disabled";
  113. };
  114. usart0: serial@fffb0000 {
  115. compatible = "atmel,at91sam9260-usart";
  116. reg = <0xfffb0000 0x200>;
  117. interrupts = <6 4>;
  118. atmel,use-dma-rx;
  119. atmel,use-dma-tx;
  120. status = "disabled";
  121. };
  122. usart1: serial@fffb4000 {
  123. compatible = "atmel,at91sam9260-usart";
  124. reg = <0xfffb4000 0x200>;
  125. interrupts = <7 4>;
  126. atmel,use-dma-rx;
  127. atmel,use-dma-tx;
  128. status = "disabled";
  129. };
  130. usart2: serial@fffb8000 {
  131. compatible = "atmel,at91sam9260-usart";
  132. reg = <0xfffb8000 0x200>;
  133. interrupts = <8 4>;
  134. atmel,use-dma-rx;
  135. atmel,use-dma-tx;
  136. status = "disabled";
  137. };
  138. usart3: serial@fffd0000 {
  139. compatible = "atmel,at91sam9260-usart";
  140. reg = <0xfffd0000 0x200>;
  141. interrupts = <23 4>;
  142. atmel,use-dma-rx;
  143. atmel,use-dma-tx;
  144. status = "disabled";
  145. };
  146. usart4: serial@fffd4000 {
  147. compatible = "atmel,at91sam9260-usart";
  148. reg = <0xfffd4000 0x200>;
  149. interrupts = <24 4>;
  150. atmel,use-dma-rx;
  151. atmel,use-dma-tx;
  152. status = "disabled";
  153. };
  154. usart5: serial@fffd8000 {
  155. compatible = "atmel,at91sam9260-usart";
  156. reg = <0xfffd8000 0x200>;
  157. interrupts = <25 4>;
  158. atmel,use-dma-rx;
  159. atmel,use-dma-tx;
  160. status = "disabled";
  161. };
  162. macb0: ethernet@fffc4000 {
  163. compatible = "cdns,at32ap7000-macb", "cdns,macb";
  164. reg = <0xfffc4000 0x100>;
  165. interrupts = <21 4>;
  166. status = "disabled";
  167. };
  168. usb1: gadget@fffa4000 {
  169. compatible = "atmel,at91rm9200-udc";
  170. reg = <0xfffa4000 0x4000>;
  171. interrupts = <10 4>;
  172. status = "disabled";
  173. };
  174. adc0: adc@fffe0000 {
  175. compatible = "atmel,at91sam9260-adc";
  176. reg = <0xfffe0000 0x100>;
  177. interrupts = <5 4>;
  178. atmel,adc-use-external-triggers;
  179. atmel,adc-channels-used = <0xf>;
  180. atmel,adc-vref = <3300>;
  181. atmel,adc-num-channels = <4>;
  182. atmel,adc-startup-time = <15>;
  183. atmel,adc-channel-base = <0x30>;
  184. atmel,adc-drdy-mask = <0x10000>;
  185. atmel,adc-status-register = <0x1c>;
  186. atmel,adc-trigger-register = <0x04>;
  187. trigger@0 {
  188. trigger-name = "timer-counter-0";
  189. trigger-value = <0x1>;
  190. };
  191. trigger@1 {
  192. trigger-name = "timer-counter-1";
  193. trigger-value = <0x3>;
  194. };
  195. trigger@2 {
  196. trigger-name = "timer-counter-2";
  197. trigger-value = <0x5>;
  198. };
  199. trigger@3 {
  200. trigger-name = "external";
  201. trigger-value = <0x13>;
  202. trigger-external;
  203. };
  204. };
  205. };
  206. nand0: nand@40000000 {
  207. compatible = "atmel,at91rm9200-nand";
  208. #address-cells = <1>;
  209. #size-cells = <1>;
  210. reg = <0x40000000 0x10000000
  211. 0xffffe800 0x200
  212. >;
  213. atmel,nand-addr-offset = <21>;
  214. atmel,nand-cmd-offset = <22>;
  215. gpios = <&pioC 13 0
  216. &pioC 14 0
  217. 0
  218. >;
  219. status = "disabled";
  220. };
  221. usb0: ohci@00500000 {
  222. compatible = "atmel,at91rm9200-ohci", "usb-ohci";
  223. reg = <0x00500000 0x100000>;
  224. interrupts = <20 4>;
  225. status = "disabled";
  226. };
  227. };
  228. i2c@0 {
  229. compatible = "i2c-gpio";
  230. gpios = <&pioA 23 0 /* sda */
  231. &pioA 24 0 /* scl */
  232. >;
  233. i2c-gpio,sda-open-drain;
  234. i2c-gpio,scl-open-drain;
  235. i2c-gpio,delay-us = <2>; /* ~100 kHz */
  236. #address-cells = <1>;
  237. #size-cells = <0>;
  238. status = "disabled";
  239. };
  240. };