at91sam9g20.dtsi 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  1. /*
  2. * at91sam9g20.dtsi - Device Tree Include file for AT91SAM9G20 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 AT91SAM9G20 family SoC";
  13. compatible = "atmel,at91sam9g20";
  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 0x08000000>;
  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. interrupt-parent;
  52. reg = <0xfffff000 0x200>;
  53. };
  54. ramc0: ramc@ffffea00 {
  55. compatible = "atmel,at91sam9260-sdramc";
  56. reg = <0xffffea00 0x200>;
  57. };
  58. pmc: pmc@fffffc00 {
  59. compatible = "atmel,at91rm9200-pmc";
  60. reg = <0xfffffc00 0x100>;
  61. };
  62. rstc@fffffd00 {
  63. compatible = "atmel,at91sam9260-rstc";
  64. reg = <0xfffffd00 0x10>;
  65. };
  66. shdwc@fffffd10 {
  67. compatible = "atmel,at91sam9260-shdwc";
  68. reg = <0xfffffd10 0x10>;
  69. };
  70. pit: timer@fffffd30 {
  71. compatible = "atmel,at91sam9260-pit";
  72. reg = <0xfffffd30 0xf>;
  73. interrupts = <1 4>;
  74. };
  75. tcb0: timer@fffa0000 {
  76. compatible = "atmel,at91rm9200-tcb";
  77. reg = <0xfffa0000 0x100>;
  78. interrupts = <17 4 18 4 19 4>;
  79. };
  80. tcb1: timer@fffdc000 {
  81. compatible = "atmel,at91rm9200-tcb";
  82. reg = <0xfffdc000 0x100>;
  83. interrupts = <26 4 27 4 28 4>;
  84. };
  85. pioA: gpio@fffff400 {
  86. compatible = "atmel,at91rm9200-gpio";
  87. reg = <0xfffff400 0x100>;
  88. interrupts = <2 4>;
  89. #gpio-cells = <2>;
  90. gpio-controller;
  91. interrupt-controller;
  92. };
  93. pioB: gpio@fffff600 {
  94. compatible = "atmel,at91rm9200-gpio";
  95. reg = <0xfffff600 0x100>;
  96. interrupts = <3 4>;
  97. #gpio-cells = <2>;
  98. gpio-controller;
  99. interrupt-controller;
  100. };
  101. pioC: gpio@fffff800 {
  102. compatible = "atmel,at91rm9200-gpio";
  103. reg = <0xfffff800 0x100>;
  104. interrupts = <4 4>;
  105. #gpio-cells = <2>;
  106. gpio-controller;
  107. interrupt-controller;
  108. };
  109. dbgu: serial@fffff200 {
  110. compatible = "atmel,at91sam9260-usart";
  111. reg = <0xfffff200 0x200>;
  112. interrupts = <1 4>;
  113. status = "disabled";
  114. };
  115. usart0: serial@fffb0000 {
  116. compatible = "atmel,at91sam9260-usart";
  117. reg = <0xfffb0000 0x200>;
  118. interrupts = <6 4>;
  119. atmel,use-dma-rx;
  120. atmel,use-dma-tx;
  121. status = "disabled";
  122. };
  123. usart1: serial@fffb4000 {
  124. compatible = "atmel,at91sam9260-usart";
  125. reg = <0xfffb4000 0x200>;
  126. interrupts = <7 4>;
  127. atmel,use-dma-rx;
  128. atmel,use-dma-tx;
  129. status = "disabled";
  130. };
  131. usart2: serial@fffb8000 {
  132. compatible = "atmel,at91sam9260-usart";
  133. reg = <0xfffb8000 0x200>;
  134. interrupts = <8 4>;
  135. atmel,use-dma-rx;
  136. atmel,use-dma-tx;
  137. status = "disabled";
  138. };
  139. usart3: serial@fffd0000 {
  140. compatible = "atmel,at91sam9260-usart";
  141. reg = <0xfffd0000 0x200>;
  142. interrupts = <23 4>;
  143. atmel,use-dma-rx;
  144. atmel,use-dma-tx;
  145. status = "disabled";
  146. };
  147. usart4: serial@fffd4000 {
  148. compatible = "atmel,at91sam9260-usart";
  149. reg = <0xfffd4000 0x200>;
  150. interrupts = <24 4>;
  151. atmel,use-dma-rx;
  152. atmel,use-dma-tx;
  153. status = "disabled";
  154. };
  155. usart5: serial@fffd8000 {
  156. compatible = "atmel,at91sam9260-usart";
  157. reg = <0xfffd8000 0x200>;
  158. interrupts = <25 4>;
  159. atmel,use-dma-rx;
  160. atmel,use-dma-tx;
  161. status = "disabled";
  162. };
  163. macb0: ethernet@fffc4000 {
  164. compatible = "cdns,at32ap7000-macb", "cdns,macb";
  165. reg = <0xfffc4000 0x100>;
  166. interrupts = <21 4>;
  167. status = "disabled";
  168. };
  169. usb1: gadget@fffa4000 {
  170. compatible = "atmel,at91rm9200-udc";
  171. reg = <0xfffa4000 0x4000>;
  172. interrupts = <10 4>;
  173. status = "disabled";
  174. };
  175. };
  176. nand0: nand@40000000 {
  177. compatible = "atmel,at91rm9200-nand";
  178. #address-cells = <1>;
  179. #size-cells = <1>;
  180. reg = <0x40000000 0x10000000
  181. 0xffffe800 0x200
  182. >;
  183. atmel,nand-addr-offset = <21>;
  184. atmel,nand-cmd-offset = <22>;
  185. gpios = <&pioC 13 0
  186. &pioC 14 0
  187. 0
  188. >;
  189. status = "disabled";
  190. };
  191. usb0: ohci@00500000 {
  192. compatible = "atmel,at91rm9200-ohci", "usb-ohci";
  193. reg = <0x00500000 0x100000>;
  194. interrupts = <20 4>;
  195. status = "disabled";
  196. };
  197. };
  198. i2c@0 {
  199. compatible = "i2c-gpio";
  200. gpios = <&pioA 23 0 /* sda */
  201. &pioA 24 0 /* scl */
  202. >;
  203. i2c-gpio,sda-open-drain;
  204. i2c-gpio,scl-open-drain;
  205. i2c-gpio,delay-us = <2>; /* ~100 kHz */
  206. #address-cells = <1>;
  207. #size-cells = <0>;
  208. status = "disabled";
  209. };
  210. };