at91sam9260.dtsi 6.3 KB

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