sama5d3.dtsi 29 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046
  1. /*
  2. * sama5d3.dtsi - Device Tree Include file for SAMA5D3 family SoC
  3. * applies to SAMA5D31, SAMA5D33, SAMA5D34, SAMA5D35 SoC
  4. *
  5. * Copyright (C) 2013 Atmel,
  6. * 2013 Ludovic Desroches <ludovic.desroches@atmel.com>
  7. *
  8. * Licensed under GPLv2 or later.
  9. */
  10. /include/ "skeleton.dtsi"
  11. / {
  12. model = "Atmel SAMA5D3 family SoC";
  13. compatible = "atmel,sama5d3", "atmel,sama5";
  14. interrupt-parent = <&aic>;
  15. aliases {
  16. serial0 = &dbgu;
  17. serial1 = &usart0;
  18. serial2 = &usart1;
  19. serial3 = &usart2;
  20. serial4 = &usart3;
  21. gpio0 = &pioA;
  22. gpio1 = &pioB;
  23. gpio2 = &pioC;
  24. gpio3 = &pioD;
  25. gpio4 = &pioE;
  26. tcb0 = &tcb0;
  27. tcb1 = &tcb1;
  28. i2c0 = &i2c0;
  29. i2c1 = &i2c1;
  30. i2c2 = &i2c2;
  31. ssc0 = &ssc0;
  32. ssc1 = &ssc1;
  33. };
  34. cpus {
  35. cpu@0 {
  36. compatible = "arm,cortex-a5";
  37. };
  38. };
  39. memory {
  40. reg = <0x20000000 0x8000000>;
  41. };
  42. ahb {
  43. compatible = "simple-bus";
  44. #address-cells = <1>;
  45. #size-cells = <1>;
  46. ranges;
  47. apb {
  48. compatible = "simple-bus";
  49. #address-cells = <1>;
  50. #size-cells = <1>;
  51. ranges;
  52. mmc0: mmc@f0000000 {
  53. compatible = "atmel,hsmci";
  54. reg = <0xf0000000 0x600>;
  55. interrupts = <21 4 0>;
  56. dmas = <&dma0 2 0>;
  57. dma-names = "rxtx";
  58. pinctrl-names = "default";
  59. pinctrl-0 = <&pinctrl_mmc0_clk_cmd_dat0 &pinctrl_mmc0_dat1_3 &pinctrl_mmc0_dat4_7>;
  60. status = "disabled";
  61. #address-cells = <1>;
  62. #size-cells = <0>;
  63. };
  64. spi0: spi@f0004000 {
  65. #address-cells = <1>;
  66. #size-cells = <0>;
  67. compatible = "atmel,at91sam9x5-spi";
  68. reg = <0xf0004000 0x100>;
  69. interrupts = <24 4 3>;
  70. cs-gpios = <&pioD 13 0
  71. &pioD 14 0 /* conflicts with SCK0 and CANRX0 */
  72. &pioD 15 0 /* conflicts with CTS0 and CANTX0 */
  73. &pioD 16 0 /* conflicts with RTS0 and PWMFI3 */
  74. >;
  75. pinctrl-names = "default";
  76. pinctrl-0 = <&pinctrl_spi0>;
  77. status = "disabled";
  78. };
  79. ssc0: ssc@f0008000 {
  80. compatible = "atmel,at91sam9g45-ssc";
  81. reg = <0xf0008000 0x4000>;
  82. interrupts = <38 4 4>;
  83. pinctrl-names = "default";
  84. pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
  85. status = "disabled";
  86. };
  87. can0: can@f000c000 {
  88. compatible = "atmel,at91sam9x5-can";
  89. reg = <0xf000c000 0x300>;
  90. interrupts = <40 4 3>;
  91. pinctrl-names = "default";
  92. pinctrl-0 = <&pinctrl_can0_rx_tx>;
  93. status = "disabled";
  94. };
  95. tcb0: timer@f0010000 {
  96. compatible = "atmel,at91sam9x5-tcb";
  97. reg = <0xf0010000 0x100>;
  98. interrupts = <26 4 0>;
  99. };
  100. i2c0: i2c@f0014000 {
  101. compatible = "atmel,at91sam9x5-i2c";
  102. reg = <0xf0014000 0x4000>;
  103. interrupts = <18 4 6>;
  104. dmas = <&dma0 2 7>,
  105. <&dma0 2 8>;
  106. dma-names = "tx", "rx";
  107. pinctrl-names = "default";
  108. pinctrl-0 = <&pinctrl_i2c0>;
  109. #address-cells = <1>;
  110. #size-cells = <0>;
  111. status = "disabled";
  112. };
  113. i2c1: i2c@f0018000 {
  114. compatible = "atmel,at91sam9x5-i2c";
  115. reg = <0xf0018000 0x4000>;
  116. interrupts = <19 4 6>;
  117. dmas = <&dma0 2 9>,
  118. <&dma0 2 10>;
  119. dma-names = "tx", "rx";
  120. pinctrl-names = "default";
  121. pinctrl-0 = <&pinctrl_i2c1>;
  122. #address-cells = <1>;
  123. #size-cells = <0>;
  124. status = "disabled";
  125. };
  126. usart0: serial@f001c000 {
  127. compatible = "atmel,at91sam9260-usart";
  128. reg = <0xf001c000 0x100>;
  129. interrupts = <12 4 5>;
  130. pinctrl-names = "default";
  131. pinctrl-0 = <&pinctrl_usart0>;
  132. status = "disabled";
  133. };
  134. usart1: serial@f0020000 {
  135. compatible = "atmel,at91sam9260-usart";
  136. reg = <0xf0020000 0x100>;
  137. interrupts = <13 4 5>;
  138. pinctrl-names = "default";
  139. pinctrl-0 = <&pinctrl_usart1>;
  140. status = "disabled";
  141. };
  142. macb0: ethernet@f0028000 {
  143. compatible = "cnds,pc302-gem", "cdns,gem";
  144. reg = <0xf0028000 0x100>;
  145. interrupts = <34 4 3>;
  146. pinctrl-names = "default";
  147. pinctrl-0 = <&pinctrl_macb0_data_rgmii &pinctrl_macb0_signal_rgmii>;
  148. status = "disabled";
  149. };
  150. isi: isi@f0034000 {
  151. compatible = "atmel,at91sam9g45-isi";
  152. reg = <0xf0034000 0x4000>;
  153. interrupts = <37 4 5>;
  154. status = "disabled";
  155. };
  156. mmc1: mmc@f8000000 {
  157. compatible = "atmel,hsmci";
  158. reg = <0xf8000000 0x600>;
  159. interrupts = <22 4 0>;
  160. dmas = <&dma1 2 0>;
  161. dma-names = "rxtx";
  162. pinctrl-names = "default";
  163. pinctrl-0 = <&pinctrl_mmc1_clk_cmd_dat0 &pinctrl_mmc1_dat1_3>;
  164. status = "disabled";
  165. #address-cells = <1>;
  166. #size-cells = <0>;
  167. };
  168. mmc2: mmc@f8004000 {
  169. compatible = "atmel,hsmci";
  170. reg = <0xf8004000 0x600>;
  171. interrupts = <23 4 0>;
  172. dmas = <&dma1 2 1>;
  173. dma-names = "rxtx";
  174. pinctrl-names = "default";
  175. pinctrl-0 = <&pinctrl_mmc2_clk_cmd_dat0 &pinctrl_mmc2_dat1_3>;
  176. status = "disabled";
  177. #address-cells = <1>;
  178. #size-cells = <0>;
  179. };
  180. spi1: spi@f8008000 {
  181. #address-cells = <1>;
  182. #size-cells = <0>;
  183. compatible = "atmel,at91sam9x5-spi";
  184. reg = <0xf8008000 0x100>;
  185. interrupts = <25 4 3>;
  186. cs-gpios = <&pioC 25 0
  187. &pioC 26 0 /* conflitcs with TWD1 and ISI_D11 */
  188. &pioC 27 0 /* conflitcs with TWCK1 and ISI_D10 */
  189. &pioC 28 0 /* conflitcs with PWMFI0 and ISI_D9 */
  190. >;
  191. pinctrl-names = "default";
  192. pinctrl-0 = <&pinctrl_spi1>;
  193. status = "disabled";
  194. };
  195. ssc1: ssc@f800c000 {
  196. compatible = "atmel,at91sam9g45-ssc";
  197. reg = <0xf800c000 0x4000>;
  198. interrupts = <39 4 4>;
  199. pinctrl-names = "default";
  200. pinctrl-0 = <&pinctrl_ssc1_tx &pinctrl_ssc1_rx>;
  201. status = "disabled";
  202. };
  203. can1: can@f8010000 {
  204. compatible = "atmel,at91sam9x5-can";
  205. reg = <0xf8010000 0x300>;
  206. interrupts = <41 4 3>;
  207. pinctrl-names = "default";
  208. pinctrl-0 = <&pinctrl_can1_rx_tx>;
  209. };
  210. tcb1: timer@f8014000 {
  211. compatible = "atmel,at91sam9x5-tcb";
  212. reg = <0xf8014000 0x100>;
  213. interrupts = <27 4 0>;
  214. };
  215. adc0: adc@f8018000 {
  216. compatible = "atmel,at91sam9260-adc";
  217. reg = <0xf8018000 0x100>;
  218. interrupts = <29 4 5>;
  219. pinctrl-names = "default";
  220. pinctrl-0 = <
  221. &pinctrl_adc0_adtrg
  222. &pinctrl_adc0_ad0
  223. &pinctrl_adc0_ad1
  224. &pinctrl_adc0_ad2
  225. &pinctrl_adc0_ad3
  226. &pinctrl_adc0_ad4
  227. &pinctrl_adc0_ad5
  228. &pinctrl_adc0_ad6
  229. &pinctrl_adc0_ad7
  230. &pinctrl_adc0_ad8
  231. &pinctrl_adc0_ad9
  232. &pinctrl_adc0_ad10
  233. &pinctrl_adc0_ad11
  234. >;
  235. atmel,adc-channel-base = <0x50>;
  236. atmel,adc-channels-used = <0xfff>;
  237. atmel,adc-drdy-mask = <0x1000000>;
  238. atmel,adc-num-channels = <12>;
  239. atmel,adc-startup-time = <40>;
  240. atmel,adc-status-register = <0x30>;
  241. atmel,adc-trigger-register = <0xc0>;
  242. atmel,adc-use-external;
  243. atmel,adc-vref = <3000>;
  244. atmel,adc-res = <10 12>;
  245. atmel,adc-res-names = "lowres", "highres";
  246. status = "disabled";
  247. trigger@0 {
  248. trigger-name = "external-rising";
  249. trigger-value = <0x1>;
  250. trigger-external;
  251. };
  252. trigger@1 {
  253. trigger-name = "external-falling";
  254. trigger-value = <0x2>;
  255. trigger-external;
  256. };
  257. trigger@2 {
  258. trigger-name = "external-any";
  259. trigger-value = <0x3>;
  260. trigger-external;
  261. };
  262. trigger@3 {
  263. trigger-name = "continuous";
  264. trigger-value = <0x6>;
  265. };
  266. };
  267. tsadcc: tsadcc@f8018000 {
  268. compatible = "atmel,at91sam9x5-tsadcc";
  269. reg = <0xf8018000 0x4000>;
  270. interrupts = <29 4 5>;
  271. atmel,tsadcc_clock = <300000>;
  272. atmel,filtering_average = <0x03>;
  273. atmel,pendet_debounce = <0x08>;
  274. atmel,pendet_sensitivity = <0x02>;
  275. atmel,ts_sample_hold_time = <0x0a>;
  276. status = "disabled";
  277. };
  278. i2c2: i2c@f801c000 {
  279. compatible = "atmel,at91sam9x5-i2c";
  280. reg = <0xf801c000 0x4000>;
  281. interrupts = <20 4 6>;
  282. dmas = <&dma1 2 11>,
  283. <&dma1 2 12>;
  284. dma-names = "tx", "rx";
  285. #address-cells = <1>;
  286. #size-cells = <0>;
  287. status = "disabled";
  288. };
  289. usart2: serial@f8020000 {
  290. compatible = "atmel,at91sam9260-usart";
  291. reg = <0xf8020000 0x100>;
  292. interrupts = <14 4 5>;
  293. pinctrl-names = "default";
  294. pinctrl-0 = <&pinctrl_usart2>;
  295. status = "disabled";
  296. };
  297. usart3: serial@f8024000 {
  298. compatible = "atmel,at91sam9260-usart";
  299. reg = <0xf8024000 0x100>;
  300. interrupts = <15 4 5>;
  301. pinctrl-names = "default";
  302. pinctrl-0 = <&pinctrl_usart3>;
  303. status = "disabled";
  304. };
  305. macb1: ethernet@f802c000 {
  306. compatible = "cdns,at32ap7000-macb", "cdns,macb";
  307. reg = <0xf802c000 0x100>;
  308. interrupts = <35 4 3>;
  309. pinctrl-names = "default";
  310. pinctrl-0 = <&pinctrl_macb1_rmii>;
  311. status = "disabled";
  312. };
  313. sha@f8034000 {
  314. compatible = "atmel,sam9g46-sha";
  315. reg = <0xf8034000 0x100>;
  316. interrupts = <42 4 0>;
  317. };
  318. aes@f8038000 {
  319. compatible = "atmel,sam9g46-aes";
  320. reg = <0xf8038000 0x100>;
  321. interrupts = <43 4 0>;
  322. };
  323. tdes@f803c000 {
  324. compatible = "atmel,sam9g46-tdes";
  325. reg = <0xf803c000 0x100>;
  326. interrupts = <44 4 0>;
  327. };
  328. dma0: dma-controller@ffffe600 {
  329. compatible = "atmel,at91sam9g45-dma";
  330. reg = <0xffffe600 0x200>;
  331. interrupts = <30 4 0>;
  332. #dma-cells = <2>;
  333. };
  334. dma1: dma-controller@ffffe800 {
  335. compatible = "atmel,at91sam9g45-dma";
  336. reg = <0xffffe800 0x200>;
  337. interrupts = <31 4 0>;
  338. #dma-cells = <2>;
  339. };
  340. ramc0: ramc@ffffea00 {
  341. compatible = "atmel,at91sam9g45-ddramc";
  342. reg = <0xffffea00 0x200>;
  343. };
  344. dbgu: serial@ffffee00 {
  345. compatible = "atmel,at91sam9260-usart";
  346. reg = <0xffffee00 0x200>;
  347. interrupts = <2 4 7>;
  348. pinctrl-names = "default";
  349. pinctrl-0 = <&pinctrl_dbgu>;
  350. status = "disabled";
  351. };
  352. aic: interrupt-controller@fffff000 {
  353. #interrupt-cells = <3>;
  354. compatible = "atmel,sama5d3-aic";
  355. interrupt-controller;
  356. reg = <0xfffff000 0x200>;
  357. atmel,external-irqs = <47>;
  358. };
  359. pinctrl@fffff200 {
  360. #address-cells = <1>;
  361. #size-cells = <1>;
  362. compatible = "atmel,at91sam9x5-pinctrl", "atmel,at91rm9200-pinctrl", "simple-bus";
  363. ranges = <0xfffff200 0xfffff200 0xa00>;
  364. atmel,mux-mask = <
  365. /* A B C */
  366. 0xffffffff 0xc0fc0000 0xc0ff0000 /* pioA */
  367. 0xffffffff 0x0ff8ffff 0x00000000 /* pioB */
  368. 0xffffffff 0xbc00f1ff 0x7c00fc00 /* pioC */
  369. 0xffffffff 0xc001c0e0 0x0001c1e0 /* pioD */
  370. 0xffffffff 0xbf9f8000 0x18000000 /* pioE */
  371. >;
  372. /* shared pinctrl settings */
  373. adc0 {
  374. pinctrl_adc0_adtrg: adc0_adtrg {
  375. atmel,pins =
  376. <3 19 0x1 0x0>; /* PD19 periph A ADTRG */
  377. };
  378. pinctrl_adc0_ad0: adc0_ad0 {
  379. atmel,pins =
  380. <3 20 0x1 0x0>; /* PD20 periph A AD0 */
  381. };
  382. pinctrl_adc0_ad1: adc0_ad1 {
  383. atmel,pins =
  384. <3 21 0x1 0x0>; /* PD21 periph A AD1 */
  385. };
  386. pinctrl_adc0_ad2: adc0_ad2 {
  387. atmel,pins =
  388. <3 22 0x1 0x0>; /* PD22 periph A AD2 */
  389. };
  390. pinctrl_adc0_ad3: adc0_ad3 {
  391. atmel,pins =
  392. <3 23 0x1 0x0>; /* PD23 periph A AD3 */
  393. };
  394. pinctrl_adc0_ad4: adc0_ad4 {
  395. atmel,pins =
  396. <3 24 0x1 0x0>; /* PD24 periph A AD4 */
  397. };
  398. pinctrl_adc0_ad5: adc0_ad5 {
  399. atmel,pins =
  400. <3 25 0x1 0x0>; /* PD25 periph A AD5 */
  401. };
  402. pinctrl_adc0_ad6: adc0_ad6 {
  403. atmel,pins =
  404. <3 26 0x1 0x0>; /* PD26 periph A AD6 */
  405. };
  406. pinctrl_adc0_ad7: adc0_ad7 {
  407. atmel,pins =
  408. <3 27 0x1 0x0>; /* PD27 periph A AD7 */
  409. };
  410. pinctrl_adc0_ad8: adc0_ad8 {
  411. atmel,pins =
  412. <3 28 0x1 0x0>; /* PD28 periph A AD8 */
  413. };
  414. pinctrl_adc0_ad9: adc0_ad9 {
  415. atmel,pins =
  416. <3 29 0x1 0x0>; /* PD29 periph A AD9 */
  417. };
  418. pinctrl_adc0_ad10: adc0_ad10 {
  419. atmel,pins =
  420. <3 30 0x1 0x0>; /* PD30 periph A AD10, conflicts with PCK0 */
  421. };
  422. pinctrl_adc0_ad11: adc0_ad11 {
  423. atmel,pins =
  424. <3 31 0x1 0x0>; /* PD31 periph A AD11, conflicts with PCK1 */
  425. };
  426. };
  427. can0 {
  428. pinctrl_can0_rx_tx: can0_rx_tx {
  429. atmel,pins =
  430. <3 14 0x3 0x0 /* PD14 periph C RX, conflicts with SCK0, SPI0_NPCS1 */
  431. 3 15 0x3 0x0>; /* PD15 periph C TX, conflicts with CTS0, SPI0_NPCS2 */
  432. };
  433. };
  434. can1 {
  435. pinctrl_can1_rx_tx: can1_rx_tx {
  436. atmel,pins =
  437. <1 14 0x2 0x0 /* PB14 periph B RX, conflicts with GCRS */
  438. 1 15 0x2 0x0>; /* PB15 periph B TX, conflicts with GCOL */
  439. };
  440. };
  441. dbgu {
  442. pinctrl_dbgu: dbgu-0 {
  443. atmel,pins =
  444. <1 30 0x1 0x0 /* PB30 periph A */
  445. 1 31 0x1 0x1>; /* PB31 periph A with pullup */
  446. };
  447. };
  448. i2c0 {
  449. pinctrl_i2c0: i2c0-0 {
  450. atmel,pins =
  451. <0 30 0x1 0x0 /* PA30 periph A TWD0 pin, conflicts with URXD1, ISI_VSYNC */
  452. 0 31 0x1 0x0>; /* PA31 periph A TWCK0 pin, conflicts with UTXD1, ISI_HSYNC */
  453. };
  454. };
  455. i2c1 {
  456. pinctrl_i2c1: i2c1-0 {
  457. atmel,pins =
  458. <2 26 0x2 0x0 /* PC26 periph B TWD1 pin, conflicts with SPI1_NPCS1, ISI_D11 */
  459. 2 27 0x2 0x0>; /* PC27 periph B TWCK1 pin, conflicts with SPI1_NPCS2, ISI_D10 */
  460. };
  461. };
  462. isi {
  463. pinctrl_isi: isi-0 {
  464. atmel,pins =
  465. <0 16 0x3 0x0 /* PA16 periph C ISI_D0, conflicts with LCDDAT16 */
  466. 0 17 0x3 0x0 /* PA17 periph C ISI_D1, conflicts with LCDDAT17 */
  467. 0 18 0x3 0x0 /* PA18 periph C ISI_D2, conflicts with LCDDAT18, TWD2 */
  468. 0 19 0x3 0x0 /* PA19 periph C ISI_D3, conflicts with LCDDAT19, TWCK2 */
  469. 0 20 0x3 0x0 /* PA20 periph C ISI_D4, conflicts with LCDDAT20, PWMH0 */
  470. 0 21 0x3 0x0 /* PA21 periph C ISI_D5, conflicts with LCDDAT21, PWML0 */
  471. 0 22 0x3 0x0 /* PA22 periph C ISI_D6, conflicts with LCDDAT22, PWMH1 */
  472. 0 23 0x3 0x0 /* PA23 periph C ISI_D7, conflicts with LCDDAT23, PWML1 */
  473. 2 30 0x3 0x0 /* PC30 periph C ISI_PCK, conflicts with UTXD0 */
  474. 0 31 0x3 0x0 /* PA31 periph C ISI_HSYNC, conflicts with TWCK0, UTXD1 */
  475. 0 30 0x3 0x0 /* PA30 periph C ISI_VSYNC, conflicts with TWD0, URXD1 */
  476. 2 29 0x3 0x0 /* PC29 periph C ISI_PD8, conflicts with URXD0, PWMFI2 */
  477. 2 28 0x3 0x0>; /* PC28 periph C ISI_PD9, conflicts with SPI1_NPCS3, PWMFI0 */
  478. };
  479. pinctrl_isi_pck_as_mck: isi_pck_as_mck-0 {
  480. atmel,pins =
  481. <3 31 0x2 0x0>; /* PD31 periph B ISI_MCK */
  482. };
  483. };
  484. lcd {
  485. pinctrl_lcd: lcd-0 {
  486. atmel,pins =
  487. <0 24 0x1 0x0 /* PA24 periph A LCDPWM */
  488. 0 26 0x1 0x0 /* PA26 periph A LCDVSYNC */
  489. 0 27 0x1 0x0 /* PA27 periph A LCDHSYNC */
  490. 0 25 0x1 0x0 /* PA25 periph A LCDDISP */
  491. 0 29 0x1 0x0 /* PA29 periph A LCDDEN */
  492. 0 28 0x1 0x0 /* PA28 periph A LCDPCK */
  493. 0 0 0x1 0x0 /* PA0 periph A LCDD0 pin */
  494. 0 1 0x1 0x0 /* PA1 periph A LCDD1 pin */
  495. 0 2 0x1 0x0 /* PA2 periph A LCDD2 pin */
  496. 0 3 0x1 0x0 /* PA3 periph A LCDD3 pin */
  497. 0 4 0x1 0x0 /* PA4 periph A LCDD4 pin */
  498. 0 5 0x1 0x0 /* PA5 periph A LCDD5 pin */
  499. 0 6 0x1 0x0 /* PA6 periph A LCDD6 pin */
  500. 0 7 0x1 0x0 /* PA7 periph A LCDD7 pin */
  501. 0 8 0x1 0x0 /* PA8 periph A LCDD8 pin */
  502. 0 9 0x1 0x0 /* PA9 periph A LCDD9 pin */
  503. 0 10 0x1 0x0 /* PA10 periph A LCDD10 pin */
  504. 0 11 0x1 0x0 /* PA11 periph A LCDD11 pin */
  505. 0 12 0x1 0x0 /* PA12 periph A LCDD12 pin */
  506. 0 13 0x1 0x0 /* PA13 periph A LCDD13 pin */
  507. 0 14 0x1 0x0 /* PA14 periph A LCDD14 pin */
  508. 0 15 0x1 0x0 /* PA15 periph A LCDD15 pin */
  509. 2 14 0x3 0x0 /* PC14 periph C LCDD16 pin */
  510. 2 13 0x3 0x0 /* PC13 periph C LCDD17 pin */
  511. 2 12 0x3 0x0 /* PC12 periph C LCDD18 pin */
  512. 2 11 0x3 0x0 /* PC11 periph C LCDD19 pin */
  513. 2 10 0x3 0x0 /* PC10 periph C LCDD20 pin */
  514. 2 15 0x3 0x0 /* PC15 periph C LCDD21 pin */
  515. 4 27 0x3 0x0 /* PE27 periph C LCDD22 pin */
  516. 4 28 0x3 0x0>; /* PE28 periph C LCDD23 pin */
  517. };
  518. };
  519. macb0 {
  520. pinctrl_macb0_data_rgmii: macb0_data_rgmii {
  521. atmel,pins =
  522. <1 0 0x1 0x0 /* PB0 periph A GTX0, conflicts with PWMH0 */
  523. 1 1 0x1 0x0 /* PB1 periph A GTX1, conflicts with PWML0 */
  524. 1 2 0x1 0x0 /* PB2 periph A GTX2, conflicts with TK1 */
  525. 1 3 0x1 0x0 /* PB3 periph A GTX3, conflicts with TF1 */
  526. 1 4 0x1 0x0 /* PB4 periph A GRX0, conflicts with PWMH1 */
  527. 1 5 0x1 0x0 /* PB5 periph A GRX1, conflicts with PWML1 */
  528. 1 6 0x1 0x0 /* PB6 periph A GRX2, conflicts with TD1 */
  529. 1 7 0x1 0x0>; /* PB7 periph A GRX3, conflicts with RK1 */
  530. };
  531. pinctrl_macb0_data_gmii: macb0_data_gmii {
  532. atmel,pins =
  533. <1 19 0x2 0x0 /* PB19 periph B GTX4, conflicts with MCI1_CDA */
  534. 1 20 0x2 0x0 /* PB20 periph B GTX5, conflicts with MCI1_DA0 */
  535. 1 21 0x2 0x0 /* PB21 periph B GTX6, conflicts with MCI1_DA1 */
  536. 1 22 0x2 0x0 /* PB22 periph B GTX7, conflicts with MCI1_DA2 */
  537. 1 23 0x2 0x0 /* PB23 periph B GRX4, conflicts with MCI1_DA3 */
  538. 1 24 0x2 0x0 /* PB24 periph B GRX5, conflicts with MCI1_CK */
  539. 1 25 0x2 0x0 /* PB25 periph B GRX6, conflicts with SCK1 */
  540. 1 26 0x2 0x0>; /* PB26 periph B GRX7, conflicts with CTS1 */
  541. };
  542. pinctrl_macb0_signal_rgmii: macb0_signal_rgmii {
  543. atmel,pins =
  544. <1 8 0x1 0x0 /* PB8 periph A GTXCK, conflicts with PWMH2 */
  545. 1 9 0x1 0x0 /* PB9 periph A GTXEN, conflicts with PWML2 */
  546. 1 11 0x1 0x0 /* PB11 periph A GRXCK, conflicts with RD1 */
  547. 1 13 0x1 0x0 /* PB13 periph A GRXER, conflicts with PWML3 */
  548. 1 16 0x1 0x0 /* PB16 periph A GMDC */
  549. 1 17 0x1 0x0 /* PB17 periph A GMDIO */
  550. 1 18 0x1 0x0>; /* PB18 periph A G125CK */
  551. };
  552. pinctrl_macb0_signal_gmii: macb0_signal_gmii {
  553. atmel,pins =
  554. <1 9 0x1 0x0 /* PB9 periph A GTXEN, conflicts with PWML2 */
  555. 1 10 0x1 0x0 /* PB10 periph A GTXER, conflicts with RF1 */
  556. 1 11 0x1 0x0 /* PB11 periph A GRXCK, conflicts with RD1 */
  557. 1 12 0x1 0x0 /* PB12 periph A GRXDV, conflicts with PWMH3 */
  558. 1 13 0x1 0x0 /* PB13 periph A GRXER, conflicts with PWML3 */
  559. 1 14 0x1 0x0 /* PB14 periph A GCRS, conflicts with CANRX1 */
  560. 1 15 0x1 0x0 /* PB15 periph A GCOL, conflicts with CANTX1 */
  561. 1 16 0x1 0x0 /* PB16 periph A GMDC */
  562. 1 17 0x1 0x0 /* PB17 periph A GMDIO */
  563. 1 27 0x2 0x0>; /* PB27 periph B G125CKO */
  564. };
  565. };
  566. macb1 {
  567. pinctrl_macb1_rmii: macb1_rmii-0 {
  568. atmel,pins =
  569. <2 0 0x1 0x0 /* PC0 periph A ETX0, conflicts with TIOA3 */
  570. 2 1 0x1 0x0 /* PC1 periph A ETX1, conflicts with TIOB3 */
  571. 2 2 0x1 0x0 /* PC2 periph A ERX0, conflicts with TCLK3 */
  572. 2 3 0x1 0x0 /* PC3 periph A ERX1, conflicts with TIOA4 */
  573. 2 4 0x1 0x0 /* PC4 periph A ETXEN, conflicts with TIOB4 */
  574. 2 5 0x1 0x0 /* PC5 periph A ECRSDV,conflicts with TCLK4 */
  575. 2 6 0x1 0x0 /* PC6 periph A ERXER, conflicts with TIOA5 */
  576. 2 7 0x1 0x0 /* PC7 periph A EREFCK, conflicts with TIOB5 */
  577. 2 8 0x1 0x0 /* PC8 periph A EMDC, conflicts with TCLK5 */
  578. 2 9 0x1 0x0>; /* PC9 periph A EMDIO */
  579. };
  580. };
  581. mmc0 {
  582. pinctrl_mmc0_clk_cmd_dat0: mmc0_clk_cmd_dat0 {
  583. atmel,pins =
  584. <3 9 0x1 0x0 /* PD9 periph A MCI0_CK */
  585. 3 0 0x1 0x1 /* PD0 periph A MCI0_CDA with pullup */
  586. 3 1 0x1 0x1>; /* PD1 periph A MCI0_DA0 with pullup */
  587. };
  588. pinctrl_mmc0_dat1_3: mmc0_dat1_3 {
  589. atmel,pins =
  590. <3 2 0x1 0x1 /* PD2 periph A MCI0_DA1 with pullup */
  591. 3 3 0x1 0x1 /* PD3 periph A MCI0_DA2 with pullup */
  592. 3 4 0x1 0x1>; /* PD4 periph A MCI0_DA3 with pullup */
  593. };
  594. pinctrl_mmc0_dat4_7: mmc0_dat4_7 {
  595. atmel,pins =
  596. <3 5 0x1 0x1 /* PD5 periph A MCI0_DA4 with pullup, conflicts with TIOA0, PWMH2 */
  597. 3 6 0x1 0x1 /* PD6 periph A MCI0_DA5 with pullup, conflicts with TIOB0, PWML2 */
  598. 3 7 0x1 0x1 /* PD7 periph A MCI0_DA6 with pullup, conlicts with TCLK0, PWMH3 */
  599. 3 8 0x1 0x1>; /* PD8 periph A MCI0_DA7 with pullup, conflicts with PWML3 */
  600. };
  601. };
  602. mmc1 {
  603. pinctrl_mmc1_clk_cmd_dat0: mmc1_clk_cmd_dat0 {
  604. atmel,pins =
  605. <1 24 0x1 0x0 /* PB24 periph A MCI1_CK, conflicts with GRX5 */
  606. 1 19 0x1 0x1 /* PB19 periph A MCI1_CDA with pullup, conflicts with GTX4 */
  607. 1 20 0x1 0x1>; /* PB20 periph A MCI1_DA0 with pullup, conflicts with GTX5 */
  608. };
  609. pinctrl_mmc1_dat1_3: mmc1_dat1_3 {
  610. atmel,pins =
  611. <1 21 0x1 0x1 /* PB21 periph A MCI1_DA1 with pullup, conflicts with GTX6 */
  612. 1 22 0x1 0x1 /* PB22 periph A MCI1_DA2 with pullup, conflicts with GTX7 */
  613. 1 23 0x1 0x1>; /* PB23 periph A MCI1_DA3 with pullup, conflicts with GRX4 */
  614. };
  615. };
  616. mmc2 {
  617. pinctrl_mmc2_clk_cmd_dat0: mmc2_clk_cmd_dat0 {
  618. atmel,pins =
  619. <2 15 0x1 0x0 /* PC15 periph A MCI2_CK, conflicts with PCK2 */
  620. 2 10 0x1 0x1 /* PC10 periph A MCI2_CDA with pullup */
  621. 2 11 0x1 0x1>; /* PC11 periph A MCI2_DA0 with pullup */
  622. };
  623. pinctrl_mmc2_dat1_3: mmc2_dat1_3 {
  624. atmel,pins =
  625. <2 12 0x1 0x0 /* PC12 periph A MCI2_DA1 with pullup, conflicts with TIOA1 */
  626. 2 13 0x1 0x0 /* PC13 periph A MCI2_DA2 with pullup, conflicts with TIOB1 */
  627. 2 14 0x1 0x0>; /* PC14 periph A MCI2_DA3 with pullup, conflicts with TCLK1 */
  628. };
  629. };
  630. nand0 {
  631. pinctrl_nand0_ale_cle: nand0_ale_cle-0 {
  632. atmel,pins =
  633. <4 21 0x1 0x1 /* PE21 periph A with pullup */
  634. 4 22 0x1 0x1>; /* PE22 periph A with pullup */
  635. };
  636. };
  637. pioA: gpio@fffff200 {
  638. compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
  639. reg = <0xfffff200 0x100>;
  640. interrupts = <6 4 1>;
  641. #gpio-cells = <2>;
  642. gpio-controller;
  643. interrupt-controller;
  644. #interrupt-cells = <2>;
  645. };
  646. pioB: gpio@fffff400 {
  647. compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
  648. reg = <0xfffff400 0x100>;
  649. interrupts = <7 4 1>;
  650. #gpio-cells = <2>;
  651. gpio-controller;
  652. interrupt-controller;
  653. #interrupt-cells = <2>;
  654. };
  655. pioC: gpio@fffff600 {
  656. compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
  657. reg = <0xfffff600 0x100>;
  658. interrupts = <8 4 1>;
  659. #gpio-cells = <2>;
  660. gpio-controller;
  661. interrupt-controller;
  662. #interrupt-cells = <2>;
  663. };
  664. pioD: gpio@fffff800 {
  665. compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
  666. reg = <0xfffff800 0x100>;
  667. interrupts = <9 4 1>;
  668. #gpio-cells = <2>;
  669. gpio-controller;
  670. interrupt-controller;
  671. #interrupt-cells = <2>;
  672. };
  673. pioE: gpio@fffffa00 {
  674. compatible = "atmel,at91sam9x5-gpio", "atmel,at91rm9200-gpio";
  675. reg = <0xfffffa00 0x100>;
  676. interrupts = <10 4 1>;
  677. #gpio-cells = <2>;
  678. gpio-controller;
  679. interrupt-controller;
  680. #interrupt-cells = <2>;
  681. };
  682. spi0 {
  683. pinctrl_spi0: spi0-0 {
  684. atmel,pins =
  685. <3 10 0x1 0x0 /* PD10 periph A SPI0_MISO pin */
  686. 3 11 0x1 0x0 /* PD11 periph A SPI0_MOSI pin */
  687. 3 12 0x1 0x0 /* PD12 periph A SPI0_SPCK pin */
  688. 3 13 0x0 0x0>; /* PD13 GPIO SPI0_NPCS0 pin */
  689. };
  690. };
  691. spi1 {
  692. pinctrl_spi1: spi1-0 {
  693. atmel,pins =
  694. <2 22 0x1 0x0 /* PC22 periph A SPI1_MISO pin */
  695. 2 23 0x1 0x0 /* PC23 periph A SPI1_MOSI pin */
  696. 2 24 0x1 0x0 /* PC24 periph A SPI1_SPCK pin */
  697. 2 25 0x0 0x0>; /* PC25 GPIO SPI1_NPCS0 pin */
  698. };
  699. };
  700. ssc0 {
  701. pinctrl_ssc0_tx: ssc0_tx {
  702. atmel,pins =
  703. <2 16 0x1 0x0 /* PC16 periph A TK0 */
  704. 2 17 0x1 0x0 /* PC17 periph A TF0 */
  705. 2 18 0x1 0x0>; /* PC18 periph A TD0 */
  706. };
  707. pinctrl_ssc0_rx: ssc0_rx {
  708. atmel,pins =
  709. <2 19 0x1 0x0 /* PC19 periph A RK0 */
  710. 2 20 0x1 0x0 /* PC20 periph A RF0 */
  711. 2 21 0x1 0x0>; /* PC21 periph A RD0 */
  712. };
  713. };
  714. ssc1 {
  715. pinctrl_ssc1_tx: ssc1_tx {
  716. atmel,pins =
  717. <1 2 0x2 0x0 /* PB2 periph B TK1, conflicts with GTX2 */
  718. 1 3 0x2 0x0 /* PB3 periph B TF1, conflicts with GTX3 */
  719. 1 6 0x2 0x0>; /* PB6 periph B TD1, conflicts with TD1 */
  720. };
  721. pinctrl_ssc1_rx: ssc1_rx {
  722. atmel,pins =
  723. <1 7 0x2 0x0 /* PB7 periph B RK1, conflicts with EREFCK */
  724. 1 10 0x2 0x0 /* PB10 periph B RF1, conflicts with GTXER */
  725. 1 11 0x2 0x0>; /* PB11 periph B RD1, conflicts with GRXCK */
  726. };
  727. };
  728. uart0 {
  729. pinctrl_uart0: uart0-0 {
  730. atmel,pins =
  731. <2 29 0x1 0x0 /* PC29 periph A, conflicts with PWMFI2, ISI_D8 */
  732. 2 30 0x1 0x1>; /* PC30 periph A with pullup, conflicts with ISI_PCK */
  733. };
  734. };
  735. uart1 {
  736. pinctrl_uart1: uart1-0 {
  737. atmel,pins =
  738. <0 30 0x2 0x0 /* PA30 periph B, conflicts with TWD0, ISI_VSYNC */
  739. 0 31 0x2 0x1>; /* PA31 periph B with pullup, conflicts with TWCK0, ISI_HSYNC */
  740. };
  741. };
  742. usart0 {
  743. pinctrl_usart0: usart0-0 {
  744. atmel,pins =
  745. <3 17 0x1 0x0 /* PD17 periph A */
  746. 3 18 0x1 0x1>; /* PD18 periph A with pullup */
  747. };
  748. pinctrl_usart0_rts_cts: usart0_rts_cts-0 {
  749. atmel,pins =
  750. <3 15 0x1 0x0 /* PD15 periph A, conflicts with SPI0_NPCS2, CANTX0 */
  751. 3 16 0x1 0x0>; /* PD16 periph A, conflicts with SPI0_NPCS3, PWMFI3 */
  752. };
  753. };
  754. usart1 {
  755. pinctrl_usart1: usart1-0 {
  756. atmel,pins =
  757. <1 28 0x1 0x0 /* PB28 periph A */
  758. 1 29 0x1 0x1>; /* PB29 periph A with pullup */
  759. };
  760. pinctrl_usart1_rts_cts: usart1_rts_cts-0 {
  761. atmel,pins =
  762. <1 26 0x1 0x0 /* PB26 periph A, conflicts with GRX7 */
  763. 1 27 0x1 0x0>; /* PB27 periph A, conflicts with G125CKO */
  764. };
  765. };
  766. usart2 {
  767. pinctrl_usart2: usart2-0 {
  768. atmel,pins =
  769. <4 25 0x2 0x0 /* PE25 periph B, conflicts with A25 */
  770. 4 26 0x2 0x1>; /* PE26 periph B with pullup, conflicts NCS0 */
  771. };
  772. pinctrl_usart2_rts_cts: usart2_rts_cts-0 {
  773. atmel,pins =
  774. <4 23 0x2 0x0 /* PE23 periph B, conflicts with A23 */
  775. 4 24 0x2 0x0>; /* PE24 periph B, conflicts with A24 */
  776. };
  777. };
  778. usart3 {
  779. pinctrl_usart3: usart3-0 {
  780. atmel,pins =
  781. <4 18 0x2 0x0 /* PE18 periph B, conflicts with A18 */
  782. 4 19 0x2 0x1>; /* PE19 periph B with pullup, conflicts with A19 */
  783. };
  784. pinctrl_usart3_rts_cts: usart3_rts_cts-0 {
  785. atmel,pins =
  786. <4 16 0x2 0x0 /* PE16 periph B, conflicts with A16 */
  787. 4 17 0x2 0x0>; /* PE17 periph B, conflicts with A17 */
  788. };
  789. };
  790. };
  791. pmc: pmc@fffffc00 {
  792. compatible = "atmel,at91rm9200-pmc";
  793. reg = <0xfffffc00 0x120>;
  794. };
  795. rstc@fffffe00 {
  796. compatible = "atmel,at91sam9g45-rstc";
  797. reg = <0xfffffe00 0x10>;
  798. };
  799. pit: timer@fffffe30 {
  800. compatible = "atmel,at91sam9260-pit";
  801. reg = <0xfffffe30 0xf>;
  802. interrupts = <3 4 5>;
  803. };
  804. watchdog@fffffe40 {
  805. compatible = "atmel,at91sam9260-wdt";
  806. reg = <0xfffffe40 0x10>;
  807. status = "disabled";
  808. };
  809. rtc@fffffeb0 {
  810. compatible = "atmel,at91rm9200-rtc";
  811. reg = <0xfffffeb0 0x30>;
  812. interrupts = <1 4 7>;
  813. };
  814. };
  815. usb0: gadget@00500000 {
  816. #address-cells = <1>;
  817. #size-cells = <0>;
  818. compatible = "atmel,at91sam9rl-udc";
  819. reg = <0x00500000 0x100000
  820. 0xf8030000 0x4000>;
  821. interrupts = <33 4 2>;
  822. status = "disabled";
  823. ep0 {
  824. reg = <0>;
  825. atmel,fifo-size = <64>;
  826. atmel,nb-banks = <1>;
  827. };
  828. ep1 {
  829. reg = <1>;
  830. atmel,fifo-size = <1024>;
  831. atmel,nb-banks = <3>;
  832. atmel,can-dma;
  833. atmel,can-isoc;
  834. };
  835. ep2 {
  836. reg = <2>;
  837. atmel,fifo-size = <1024>;
  838. atmel,nb-banks = <3>;
  839. atmel,can-dma;
  840. atmel,can-isoc;
  841. };
  842. ep3 {
  843. reg = <3>;
  844. atmel,fifo-size = <1024>;
  845. atmel,nb-banks = <2>;
  846. atmel,can-dma;
  847. };
  848. ep4 {
  849. reg = <4>;
  850. atmel,fifo-size = <1024>;
  851. atmel,nb-banks = <2>;
  852. atmel,can-dma;
  853. };
  854. ep5 {
  855. reg = <5>;
  856. atmel,fifo-size = <1024>;
  857. atmel,nb-banks = <2>;
  858. atmel,can-dma;
  859. };
  860. ep6 {
  861. reg = <6>;
  862. atmel,fifo-size = <1024>;
  863. atmel,nb-banks = <2>;
  864. atmel,can-dma;
  865. };
  866. ep7 {
  867. reg = <7>;
  868. atmel,fifo-size = <1024>;
  869. atmel,nb-banks = <2>;
  870. atmel,can-dma;
  871. };
  872. ep8 {
  873. reg = <8>;
  874. atmel,fifo-size = <1024>;
  875. atmel,nb-banks = <2>;
  876. };
  877. ep9 {
  878. reg = <9>;
  879. atmel,fifo-size = <1024>;
  880. atmel,nb-banks = <2>;
  881. };
  882. ep10 {
  883. reg = <10>;
  884. atmel,fifo-size = <1024>;
  885. atmel,nb-banks = <2>;
  886. };
  887. ep11 {
  888. reg = <11>;
  889. atmel,fifo-size = <1024>;
  890. atmel,nb-banks = <2>;
  891. };
  892. ep12 {
  893. reg = <12>;
  894. atmel,fifo-size = <1024>;
  895. atmel,nb-banks = <2>;
  896. };
  897. ep13 {
  898. reg = <13>;
  899. atmel,fifo-size = <1024>;
  900. atmel,nb-banks = <2>;
  901. };
  902. ep14 {
  903. reg = <14>;
  904. atmel,fifo-size = <1024>;
  905. atmel,nb-banks = <2>;
  906. };
  907. ep15 {
  908. reg = <15>;
  909. atmel,fifo-size = <1024>;
  910. atmel,nb-banks = <2>;
  911. };
  912. };
  913. usb1: ohci@00600000 {
  914. compatible = "atmel,at91rm9200-ohci", "usb-ohci";
  915. reg = <0x00600000 0x100000>;
  916. interrupts = <32 4 2>;
  917. status = "disabled";
  918. };
  919. usb2: ehci@00700000 {
  920. compatible = "atmel,at91sam9g45-ehci", "usb-ehci";
  921. reg = <0x00700000 0x100000>;
  922. interrupts = <32 4 2>;
  923. status = "disabled";
  924. };
  925. nand0: nand@60000000 {
  926. compatible = "atmel,at91rm9200-nand";
  927. #address-cells = <1>;
  928. #size-cells = <1>;
  929. reg = < 0x60000000 0x01000000 /* EBI CS3 */
  930. 0xffffc070 0x00000490 /* SMC PMECC regs */
  931. 0xffffc500 0x00000100 /* SMC PMECC Error Location regs */
  932. 0x00100000 0x00100000 /* ROM code */
  933. 0x70000000 0x10000000 /* NFC Command Registers */
  934. 0xffffc000 0x00000070 /* NFC HSMC regs */
  935. 0x00200000 0x00100000 /* NFC SRAM banks */
  936. >;
  937. interrupts = <5 4 6>;
  938. atmel,nand-addr-offset = <21>;
  939. atmel,nand-cmd-offset = <22>;
  940. pinctrl-names = "default";
  941. pinctrl-0 = <&pinctrl_nand0_ale_cle>;
  942. atmel,pmecc-lookup-table-offset = <0x10000 0x18000>;
  943. status = "disabled";
  944. };
  945. };
  946. };