at91sam9x5.dtsi 18 KB

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