sama5d3.dtsi 29 KB

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