at91sam9x5.dtsi 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737
  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. i2c0 = &i2c0;
  28. i2c1 = &i2c1;
  29. i2c2 = &i2c2;
  30. ssc0 = &ssc0;
  31. };
  32. cpus {
  33. #address-cells = <0>;
  34. #size-cells = <0>;
  35. cpu {
  36. compatible = "arm,arm926ej-s";
  37. device_type = "cpu";
  38. };
  39. };
  40. memory {
  41. reg = <0x20000000 0x10000000>;
  42. };
  43. ahb {
  44. compatible = "simple-bus";
  45. #address-cells = <1>;
  46. #size-cells = <1>;
  47. ranges;
  48. apb {
  49. compatible = "simple-bus";
  50. #address-cells = <1>;
  51. #size-cells = <1>;
  52. ranges;
  53. aic: interrupt-controller@fffff000 {
  54. #interrupt-cells = <3>;
  55. compatible = "atmel,at91rm9200-aic";
  56. interrupt-controller;
  57. reg = <0xfffff000 0x200>;
  58. atmel,external-irqs = <31>;
  59. };
  60. ramc0: ramc@ffffe800 {
  61. compatible = "atmel,at91sam9g45-ddramc";
  62. reg = <0xffffe800 0x200>;
  63. };
  64. pmc: pmc@fffffc00 {
  65. compatible = "atmel,at91rm9200-pmc";
  66. reg = <0xfffffc00 0x100>;
  67. };
  68. rstc@fffffe00 {
  69. compatible = "atmel,at91sam9g45-rstc";
  70. reg = <0xfffffe00 0x10>;
  71. };
  72. shdwc@fffffe10 {
  73. compatible = "atmel,at91sam9x5-shdwc";
  74. reg = <0xfffffe10 0x10>;
  75. };
  76. pit: timer@fffffe30 {
  77. compatible = "atmel,at91sam9260-pit";
  78. reg = <0xfffffe30 0xf>;
  79. interrupts = <1 4 7>;
  80. };
  81. tcb0: timer@f8008000 {
  82. compatible = "atmel,at91sam9x5-tcb";
  83. reg = <0xf8008000 0x100>;
  84. interrupts = <17 4 0>;
  85. };
  86. tcb1: timer@f800c000 {
  87. compatible = "atmel,at91sam9x5-tcb";
  88. reg = <0xf800c000 0x100>;
  89. interrupts = <17 4 0>;
  90. };
  91. dma0: dma-controller@ffffec00 {
  92. compatible = "atmel,at91sam9g45-dma";
  93. reg = <0xffffec00 0x200>;
  94. interrupts = <20 4 0>;
  95. #dma-cells = <2>;
  96. };
  97. dma1: dma-controller@ffffee00 {
  98. compatible = "atmel,at91sam9g45-dma";
  99. reg = <0xffffee00 0x200>;
  100. interrupts = <21 4 0>;
  101. #dma-cells = <2>;
  102. };
  103. pinctrl@fffff400 {
  104. #address-cells = <1>;
  105. #size-cells = <1>;
  106. compatible = "atmel,at91sam9x5-pinctrl", "atmel,at91rm9200-pinctrl", "simple-bus";
  107. ranges = <0xfffff400 0xfffff400 0x800>;
  108. /* shared pinctrl settings */
  109. dbgu {
  110. pinctrl_dbgu: dbgu-0 {
  111. atmel,pins =
  112. <0 9 0x1 0x0 /* PA9 periph A */
  113. 0 10 0x1 0x1>; /* PA10 periph A with pullup */
  114. };
  115. };
  116. usart0 {
  117. pinctrl_usart0: usart0-0 {
  118. atmel,pins =
  119. <0 0 0x1 0x1 /* PA0 periph A with pullup */
  120. 0 1 0x1 0x0>; /* PA1 periph A */
  121. };
  122. pinctrl_usart0_rts: usart0_rts-0 {
  123. atmel,pins =
  124. <0 2 0x1 0x0>; /* PA2 periph A */
  125. };
  126. pinctrl_usart0_cts: usart0_cts-0 {
  127. atmel,pins =
  128. <0 3 0x1 0x0>; /* PA3 periph A */
  129. };
  130. pinctrl_usart0_sck: usart0_sck-0 {
  131. atmel,pins =
  132. <0 4 0x1 0x0>; /* PA4 periph A */
  133. };
  134. };
  135. usart1 {
  136. pinctrl_usart1: usart1-0 {
  137. atmel,pins =
  138. <0 5 0x1 0x1 /* PA5 periph A with pullup */
  139. 0 6 0x1 0x0>; /* PA6 periph A */
  140. };
  141. pinctrl_usart1_rts: usart1_rts-0 {
  142. atmel,pins =
  143. <2 27 0x3 0x0>; /* PC27 periph C */
  144. };
  145. pinctrl_usart1_cts: usart1_cts-0 {
  146. atmel,pins =
  147. <2 28 0x3 0x0>; /* PC28 periph C */
  148. };
  149. pinctrl_usart1_sck: usart1_sck-0 {
  150. atmel,pins =
  151. <2 28 0x3 0x0>; /* PC29 periph C */
  152. };
  153. };
  154. usart2 {
  155. pinctrl_usart2: usart2-0 {
  156. atmel,pins =
  157. <0 7 0x1 0x1 /* PA7 periph A with pullup */
  158. 0 8 0x1 0x0>; /* PA8 periph A */
  159. };
  160. pinctrl_uart2_rts: uart2_rts-0 {
  161. atmel,pins =
  162. <1 0 0x2 0x0>; /* PB0 periph B */
  163. };
  164. pinctrl_uart2_cts: uart2_cts-0 {
  165. atmel,pins =
  166. <1 1 0x2 0x0>; /* PB1 periph B */
  167. };
  168. pinctrl_usart2_sck: usart2_sck-0 {
  169. atmel,pins =
  170. <1 2 0x2 0x0>; /* PB2 periph B */
  171. };
  172. };
  173. usart3 {
  174. pinctrl_usart3: usart3-0 {
  175. atmel,pins =
  176. <2 22 0x2 0x1 /* PC22 periph B with pullup */
  177. 2 23 0x2 0x0>; /* PC23 periph B */
  178. };
  179. pinctrl_usart3_rts: usart3_rts-0 {
  180. atmel,pins =
  181. <2 24 0x2 0x0>; /* PC24 periph B */
  182. };
  183. pinctrl_usart3_cts: usart3_cts-0 {
  184. atmel,pins =
  185. <2 25 0x2 0x0>; /* PC25 periph B */
  186. };
  187. pinctrl_usart3_sck: usart3_sck-0 {
  188. atmel,pins =
  189. <2 26 0x2 0x0>; /* PC26 periph B */
  190. };
  191. };
  192. uart0 {
  193. pinctrl_uart0: uart0-0 {
  194. atmel,pins =
  195. <2 8 0x3 0x0 /* PC8 periph C */
  196. 2 9 0x3 0x1>; /* PC9 periph C with pullup */
  197. };
  198. };
  199. uart1 {
  200. pinctrl_uart1: uart1-0 {
  201. atmel,pins =
  202. <2 16 0x3 0x0 /* PC16 periph C */
  203. 2 17 0x3 0x1>; /* PC17 periph C with pullup */
  204. };
  205. };
  206. nand {
  207. pinctrl_nand: nand-0 {
  208. atmel,pins =
  209. <3 0 0x1 0x0 /* PD0 periph A Read Enable */
  210. 3 1 0x1 0x0 /* PD1 periph A Write Enable */
  211. 3 2 0x1 0x0 /* PD2 periph A Address Latch Enable */
  212. 3 3 0x1 0x0 /* PD3 periph A Command Latch Enable */
  213. 3 4 0x0 0x1 /* PD4 gpio Chip Enable pin pull_up */
  214. 3 5 0x0 0x1 /* PD5 gpio RDY/BUSY pin pull_up */
  215. 3 6 0x1 0x0 /* PD6 periph A Data bit 0 */
  216. 3 7 0x1 0x0 /* PD7 periph A Data bit 1 */
  217. 3 8 0x1 0x0 /* PD8 periph A Data bit 2 */
  218. 3 9 0x1 0x0 /* PD9 periph A Data bit 3 */
  219. 3 10 0x1 0x0 /* PD10 periph A Data bit 4 */
  220. 3 11 0x1 0x0 /* PD11 periph A Data bit 5 */
  221. 3 12 0x1 0x0 /* PD12 periph A Data bit 6 */
  222. 3 13 0x1 0x0>; /* PD13 periph A Data bit 7 */
  223. };
  224. pinctrl_nand_16bits: nand_16bits-0 {
  225. atmel,pins =
  226. <3 14 0x1 0x0 /* PD14 periph A Data bit 8 */
  227. 3 15 0x1 0x0 /* PD15 periph A Data bit 9 */
  228. 3 16 0x1 0x0 /* PD16 periph A Data bit 10 */
  229. 3 17 0x1 0x0 /* PD17 periph A Data bit 11 */
  230. 3 18 0x1 0x0 /* PD18 periph A Data bit 12 */
  231. 3 19 0x1 0x0 /* PD19 periph A Data bit 13 */
  232. 3 20 0x1 0x0 /* PD20 periph A Data bit 14 */
  233. 3 21 0x1 0x0>; /* PD21 periph A Data bit 15 */
  234. };
  235. };
  236. macb0 {
  237. pinctrl_macb0_rmii: macb0_rmii-0 {
  238. atmel,pins =
  239. <1 0 0x1 0x0 /* PB0 periph A */
  240. 1 1 0x1 0x0 /* PB1 periph A */
  241. 1 2 0x1 0x0 /* PB2 periph A */
  242. 1 3 0x1 0x0 /* PB3 periph A */
  243. 1 4 0x1 0x0 /* PB4 periph A */
  244. 1 5 0x1 0x0 /* PB5 periph A */
  245. 1 6 0x1 0x0 /* PB6 periph A */
  246. 1 7 0x1 0x0 /* PB7 periph A */
  247. 1 9 0x1 0x0 /* PB9 periph A */
  248. 1 10 0x1 0x0>; /* PB10 periph A */
  249. };
  250. pinctrl_macb0_rmii_mii: macb0_rmii_mii-0 {
  251. atmel,pins =
  252. <1 8 0x1 0x0 /* PB8 periph A */
  253. 1 11 0x1 0x0 /* PB11 periph A */
  254. 1 12 0x1 0x0 /* PB12 periph A */
  255. 1 13 0x1 0x0 /* PB13 periph A */
  256. 1 14 0x1 0x0 /* PB14 periph A */
  257. 1 15 0x1 0x0 /* PB15 periph A */
  258. 1 16 0x1 0x0 /* PB16 periph A */
  259. 1 17 0x1 0x0>; /* PB17 periph A */
  260. };
  261. };
  262. mmc0 {
  263. pinctrl_mmc0_slot0_clk_cmd_dat0: mmc0_slot0_clk_cmd_dat0-0 {
  264. atmel,pins =
  265. <0 17 0x1 0x0 /* PA17 periph A */
  266. 0 16 0x1 0x1 /* PA16 periph A with pullup */
  267. 0 15 0x1 0x1>; /* PA15 periph A with pullup */
  268. };
  269. pinctrl_mmc0_slot0_dat1_3: mmc0_slot0_dat1_3-0 {
  270. atmel,pins =
  271. <0 18 0x1 0x1 /* PA18 periph A with pullup */
  272. 0 19 0x1 0x1 /* PA19 periph A with pullup */
  273. 0 20 0x1 0x1>; /* PA20 periph A with pullup */
  274. };
  275. };
  276. mmc1 {
  277. pinctrl_mmc1_slot0_clk_cmd_dat0: mmc1_slot0_clk_cmd_dat0-0 {
  278. atmel,pins =
  279. <0 13 0x2 0x0 /* PA13 periph B */
  280. 0 12 0x2 0x1 /* PA12 periph B with pullup */
  281. 0 11 0x2 0x1>; /* PA11 periph B with pullup */
  282. };
  283. pinctrl_mmc1_slot0_dat1_3: mmc1_slot0_dat1_3-0 {
  284. atmel,pins =
  285. <0 2 0x2 0x1 /* PA2 periph B with pullup */
  286. 0 3 0x2 0x1 /* PA3 periph B with pullup */
  287. 0 4 0x2 0x1>; /* PA4 periph B with pullup */
  288. };
  289. };
  290. ssc0 {
  291. pinctrl_ssc0_tx: ssc0_tx-0 {
  292. atmel,pins =
  293. <0 24 0x2 0x0 /* PA24 periph B */
  294. 0 25 0x2 0x0 /* PA25 periph B */
  295. 0 26 0x2 0x0>; /* PA26 periph B */
  296. };
  297. pinctrl_ssc0_rx: ssc0_rx-0 {
  298. atmel,pins =
  299. <0 27 0x2 0x0 /* PA27 periph B */
  300. 0 28 0x2 0x0 /* PA28 periph B */
  301. 0 29 0x2 0x0>; /* PA29 periph B */
  302. };
  303. };
  304. spi0 {
  305. pinctrl_spi0: spi0-0 {
  306. atmel,pins =
  307. <0 11 0x1 0x0 /* PA11 periph A SPI0_MISO pin */
  308. 0 12 0x1 0x0 /* PA12 periph A SPI0_MOSI pin */
  309. 0 13 0x1 0x0>; /* PA13 periph A SPI0_SPCK pin */
  310. };
  311. };
  312. spi1 {
  313. pinctrl_spi1: spi1-0 {
  314. atmel,pins =
  315. <0 21 0x2 0x0 /* PA21 periph B SPI1_MISO pin */
  316. 0 22 0x2 0x0 /* PA22 periph B SPI1_MOSI pin */
  317. 0 23 0x2 0x0>; /* PA23 periph B SPI1_SPCK pin */
  318. };
  319. };
  320. i2c0 {
  321. pinctrl_i2c0: i2c0-0 {
  322. atmel,pins =
  323. <0 30 0x1 0x0 /* PA30 periph A I2C0 data */
  324. 0 31 0x1 0x0>; /* PA31 periph A I2C0 clock */
  325. };
  326. };
  327. i2c1 {
  328. pinctrl_i2c1: i2c1-0 {
  329. atmel,pins =
  330. <2 0 0x3 0x0 /* PC0 periph C I2C1 data */
  331. 2 1 0x3 0x0>; /* PC1 periph C I2C1 clock */
  332. };
  333. };
  334. i2c2 {
  335. pinctrl_i2c2: i2c2-0 {
  336. atmel,pins =
  337. <1 4 0x2 0x0 /* PB4 periph B I2C2 data */
  338. 1 5 0x2 0x0>; /* PB5 periph B I2C2 clock */
  339. };
  340. };
  341. i2c_gpio0 {
  342. pinctrl_i2c_gpio0: i2c_gpio0-0 {
  343. atmel,pins =
  344. <0 30 0x0 0x2 /* PA30 gpio multidrive I2C0 data */
  345. 0 31 0x0 0x2>; /* PA31 gpio multidrive I2C0 clock */
  346. };
  347. };
  348. i2c_gpio1 {
  349. pinctrl_i2c_gpio1: i2c_gpio1-0 {
  350. atmel,pins =
  351. <2 0 0x0 0x2 /* PC0 gpio multidrive I2C1 data */
  352. 2 1 0x0 0x2>; /* PC1 gpio multidrive I2C1 clock */
  353. };
  354. };
  355. i2c_gpio2 {
  356. pinctrl_i2c_gpio2: i2c_gpio2-0 {
  357. atmel,pins =
  358. <1 4 0x0 0x2 /* PB4 gpio multidrive I2C2 data */
  359. 1 5 0x0 0x2>; /* PB5 gpio multidrive I2C2 clock */
  360. };
  361. };
  362. pioA: gpio@fffff400 {
  363. compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
  364. reg = <0xfffff400 0x200>;
  365. interrupts = <2 4 1>;
  366. #gpio-cells = <2>;
  367. gpio-controller;
  368. interrupt-controller;
  369. #interrupt-cells = <2>;
  370. };
  371. pioB: gpio@fffff600 {
  372. compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
  373. reg = <0xfffff600 0x200>;
  374. interrupts = <2 4 1>;
  375. #gpio-cells = <2>;
  376. gpio-controller;
  377. #gpio-lines = <19>;
  378. interrupt-controller;
  379. #interrupt-cells = <2>;
  380. };
  381. pioC: gpio@fffff800 {
  382. compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
  383. reg = <0xfffff800 0x200>;
  384. interrupts = <3 4 1>;
  385. #gpio-cells = <2>;
  386. gpio-controller;
  387. interrupt-controller;
  388. #interrupt-cells = <2>;
  389. };
  390. pioD: gpio@fffffa00 {
  391. compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
  392. reg = <0xfffffa00 0x200>;
  393. interrupts = <3 4 1>;
  394. #gpio-cells = <2>;
  395. gpio-controller;
  396. #gpio-lines = <22>;
  397. interrupt-controller;
  398. #interrupt-cells = <2>;
  399. };
  400. };
  401. ssc0: ssc@f0010000 {
  402. compatible = "atmel,at91sam9g45-ssc";
  403. reg = <0xf0010000 0x4000>;
  404. interrupts = <28 4 5>;
  405. pinctrl-names = "default";
  406. pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
  407. status = "disabled";
  408. };
  409. mmc0: mmc@f0008000 {
  410. compatible = "atmel,hsmci";
  411. reg = <0xf0008000 0x600>;
  412. interrupts = <12 4 0>;
  413. dmas = <&dma0 1 0>;
  414. dma-names = "rxtx";
  415. #address-cells = <1>;
  416. #size-cells = <0>;
  417. status = "disabled";
  418. };
  419. mmc1: mmc@f000c000 {
  420. compatible = "atmel,hsmci";
  421. reg = <0xf000c000 0x600>;
  422. interrupts = <26 4 0>;
  423. dmas = <&dma1 1 0>;
  424. dma-names = "rxtx";
  425. #address-cells = <1>;
  426. #size-cells = <0>;
  427. status = "disabled";
  428. };
  429. dbgu: serial@fffff200 {
  430. compatible = "atmel,at91sam9260-usart";
  431. reg = <0xfffff200 0x200>;
  432. interrupts = <1 4 7>;
  433. pinctrl-names = "default";
  434. pinctrl-0 = <&pinctrl_dbgu>;
  435. status = "disabled";
  436. };
  437. usart0: serial@f801c000 {
  438. compatible = "atmel,at91sam9260-usart";
  439. reg = <0xf801c000 0x200>;
  440. interrupts = <5 4 5>;
  441. pinctrl-names = "default";
  442. pinctrl-0 = <&pinctrl_usart0>;
  443. status = "disabled";
  444. };
  445. usart1: serial@f8020000 {
  446. compatible = "atmel,at91sam9260-usart";
  447. reg = <0xf8020000 0x200>;
  448. interrupts = <6 4 5>;
  449. pinctrl-names = "default";
  450. pinctrl-0 = <&pinctrl_usart1>;
  451. status = "disabled";
  452. };
  453. usart2: serial@f8024000 {
  454. compatible = "atmel,at91sam9260-usart";
  455. reg = <0xf8024000 0x200>;
  456. interrupts = <7 4 5>;
  457. pinctrl-names = "default";
  458. pinctrl-0 = <&pinctrl_usart2>;
  459. status = "disabled";
  460. };
  461. macb0: ethernet@f802c000 {
  462. compatible = "cdns,at32ap7000-macb", "cdns,macb";
  463. reg = <0xf802c000 0x100>;
  464. interrupts = <24 4 3>;
  465. pinctrl-names = "default";
  466. pinctrl-0 = <&pinctrl_macb0_rmii>;
  467. status = "disabled";
  468. };
  469. macb1: ethernet@f8030000 {
  470. compatible = "cdns,at32ap7000-macb", "cdns,macb";
  471. reg = <0xf8030000 0x100>;
  472. interrupts = <27 4 3>;
  473. status = "disabled";
  474. };
  475. i2c0: i2c@f8010000 {
  476. compatible = "atmel,at91sam9x5-i2c";
  477. reg = <0xf8010000 0x100>;
  478. interrupts = <9 4 6>;
  479. dmas = <&dma0 1 7>,
  480. <&dma0 1 8>;
  481. dma-names = "tx", "rx";
  482. #address-cells = <1>;
  483. #size-cells = <0>;
  484. pinctrl-names = "default";
  485. pinctrl-0 = <&pinctrl_i2c0>;
  486. status = "disabled";
  487. };
  488. i2c1: i2c@f8014000 {
  489. compatible = "atmel,at91sam9x5-i2c";
  490. reg = <0xf8014000 0x100>;
  491. interrupts = <10 4 6>;
  492. dmas = <&dma1 1 5>,
  493. <&dma1 1 6>;
  494. dma-names = "tx", "rx";
  495. #address-cells = <1>;
  496. #size-cells = <0>;
  497. pinctrl-names = "default";
  498. pinctrl-0 = <&pinctrl_i2c1>;
  499. status = "disabled";
  500. };
  501. i2c2: i2c@f8018000 {
  502. compatible = "atmel,at91sam9x5-i2c";
  503. reg = <0xf8018000 0x100>;
  504. interrupts = <11 4 6>;
  505. dmas = <&dma0 1 9>,
  506. <&dma0 1 10>;
  507. dma-names = "tx", "rx";
  508. #address-cells = <1>;
  509. #size-cells = <0>;
  510. pinctrl-names = "default";
  511. pinctrl-0 = <&pinctrl_i2c2>;
  512. status = "disabled";
  513. };
  514. adc0: adc@f804c000 {
  515. compatible = "atmel,at91sam9260-adc";
  516. reg = <0xf804c000 0x100>;
  517. interrupts = <19 4 0>;
  518. atmel,adc-use-external;
  519. atmel,adc-channels-used = <0xffff>;
  520. atmel,adc-vref = <3300>;
  521. atmel,adc-num-channels = <12>;
  522. atmel,adc-startup-time = <40>;
  523. atmel,adc-channel-base = <0x50>;
  524. atmel,adc-drdy-mask = <0x1000000>;
  525. atmel,adc-status-register = <0x30>;
  526. atmel,adc-trigger-register = <0xc0>;
  527. atmel,adc-res = <8 10>;
  528. atmel,adc-res-names = "lowres", "highres";
  529. atmel,adc-use-res = "highres";
  530. trigger@0 {
  531. trigger-name = "external-rising";
  532. trigger-value = <0x1>;
  533. trigger-external;
  534. };
  535. trigger@1 {
  536. trigger-name = "external-falling";
  537. trigger-value = <0x2>;
  538. trigger-external;
  539. };
  540. trigger@2 {
  541. trigger-name = "external-any";
  542. trigger-value = <0x3>;
  543. trigger-external;
  544. };
  545. trigger@3 {
  546. trigger-name = "continuous";
  547. trigger-value = <0x6>;
  548. };
  549. };
  550. spi0: spi@f0000000 {
  551. #address-cells = <1>;
  552. #size-cells = <0>;
  553. compatible = "atmel,at91rm9200-spi";
  554. reg = <0xf0000000 0x100>;
  555. interrupts = <13 4 3>;
  556. pinctrl-names = "default";
  557. pinctrl-0 = <&pinctrl_spi0>;
  558. status = "disabled";
  559. };
  560. spi1: spi@f0004000 {
  561. #address-cells = <1>;
  562. #size-cells = <0>;
  563. compatible = "atmel,at91rm9200-spi";
  564. reg = <0xf0004000 0x100>;
  565. interrupts = <14 4 3>;
  566. pinctrl-names = "default";
  567. pinctrl-0 = <&pinctrl_spi1>;
  568. status = "disabled";
  569. };
  570. rtc@fffffeb0 {
  571. compatible = "atmel,at91rm9200-rtc";
  572. reg = <0xfffffeb0 0x40>;
  573. interrupts = <1 4 7>;
  574. status = "disabled";
  575. };
  576. };
  577. nand0: nand@40000000 {
  578. compatible = "atmel,at91rm9200-nand";
  579. #address-cells = <1>;
  580. #size-cells = <1>;
  581. reg = <0x40000000 0x10000000
  582. 0xffffe000 0x600 /* PMECC Registers */
  583. 0xffffe600 0x200 /* PMECC Error Location Registers */
  584. 0x00108000 0x18000 /* PMECC looup table in ROM code */
  585. >;
  586. atmel,pmecc-lookup-table-offset = <0x0 0x8000>;
  587. atmel,nand-addr-offset = <21>;
  588. atmel,nand-cmd-offset = <22>;
  589. pinctrl-names = "default";
  590. pinctrl-0 = <&pinctrl_nand>;
  591. gpios = <&pioD 5 0
  592. &pioD 4 0
  593. 0
  594. >;
  595. status = "disabled";
  596. };
  597. usb0: ohci@00600000 {
  598. compatible = "atmel,at91rm9200-ohci", "usb-ohci";
  599. reg = <0x00600000 0x100000>;
  600. interrupts = <22 4 2>;
  601. status = "disabled";
  602. };
  603. usb1: ehci@00700000 {
  604. compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
  605. reg = <0x00700000 0x100000>;
  606. interrupts = <22 4 2>;
  607. status = "disabled";
  608. };
  609. };
  610. i2c@0 {
  611. compatible = "i2c-gpio";
  612. gpios = <&pioA 30 0 /* sda */
  613. &pioA 31 0 /* scl */
  614. >;
  615. i2c-gpio,sda-open-drain;
  616. i2c-gpio,scl-open-drain;
  617. i2c-gpio,delay-us = <2>; /* ~100 kHz */
  618. #address-cells = <1>;
  619. #size-cells = <0>;
  620. pinctrl-names = "default";
  621. pinctrl-0 = <&pinctrl_i2c_gpio0>;
  622. status = "disabled";
  623. };
  624. i2c@1 {
  625. compatible = "i2c-gpio";
  626. gpios = <&pioC 0 0 /* sda */
  627. &pioC 1 0 /* scl */
  628. >;
  629. i2c-gpio,sda-open-drain;
  630. i2c-gpio,scl-open-drain;
  631. i2c-gpio,delay-us = <2>; /* ~100 kHz */
  632. #address-cells = <1>;
  633. #size-cells = <0>;
  634. pinctrl-names = "default";
  635. pinctrl-0 = <&pinctrl_i2c_gpio1>;
  636. status = "disabled";
  637. };
  638. i2c@2 {
  639. compatible = "i2c-gpio";
  640. gpios = <&pioB 4 0 /* sda */
  641. &pioB 5 0 /* scl */
  642. >;
  643. i2c-gpio,sda-open-drain;
  644. i2c-gpio,scl-open-drain;
  645. i2c-gpio,delay-us = <2>; /* ~100 kHz */
  646. #address-cells = <1>;
  647. #size-cells = <0>;
  648. pinctrl-names = "default";
  649. pinctrl-0 = <&pinctrl_i2c_gpio2>;
  650. status = "disabled";
  651. };
  652. };