at91sam9263.dtsi 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505
  1. /*
  2. * at91sam9263.dtsi - Device Tree Include file for AT91SAM9263 family SoC
  3. *
  4. * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
  5. *
  6. * Licensed under GPLv2 only.
  7. */
  8. /include/ "skeleton.dtsi"
  9. / {
  10. model = "Atmel AT91SAM9263 family SoC";
  11. compatible = "atmel,at91sam9263";
  12. interrupt-parent = <&aic>;
  13. aliases {
  14. serial0 = &dbgu;
  15. serial1 = &usart0;
  16. serial2 = &usart1;
  17. serial3 = &usart2;
  18. gpio0 = &pioA;
  19. gpio1 = &pioB;
  20. gpio2 = &pioC;
  21. gpio3 = &pioD;
  22. gpio4 = &pioE;
  23. tcb0 = &tcb0;
  24. i2c0 = &i2c0;
  25. ssc0 = &ssc0;
  26. ssc1 = &ssc1;
  27. };
  28. cpus {
  29. cpu@0 {
  30. compatible = "arm,arm926ejs";
  31. };
  32. };
  33. memory {
  34. reg = <0x20000000 0x08000000>;
  35. };
  36. ahb {
  37. compatible = "simple-bus";
  38. #address-cells = <1>;
  39. #size-cells = <1>;
  40. ranges;
  41. apb {
  42. compatible = "simple-bus";
  43. #address-cells = <1>;
  44. #size-cells = <1>;
  45. ranges;
  46. aic: interrupt-controller@fffff000 {
  47. #interrupt-cells = <3>;
  48. compatible = "atmel,at91rm9200-aic";
  49. interrupt-controller;
  50. reg = <0xfffff000 0x200>;
  51. atmel,external-irqs = <30 31>;
  52. };
  53. pmc: pmc@fffffc00 {
  54. compatible = "atmel,at91rm9200-pmc";
  55. reg = <0xfffffc00 0x100>;
  56. };
  57. ramc: ramc@ffffe200 {
  58. compatible = "atmel,at91sam9260-sdramc";
  59. reg = <0xffffe200 0x200
  60. 0xffffe800 0x200>;
  61. };
  62. pit: timer@fffffd30 {
  63. compatible = "atmel,at91sam9260-pit";
  64. reg = <0xfffffd30 0xf>;
  65. interrupts = <1 4 7>;
  66. };
  67. tcb0: timer@fff7c000 {
  68. compatible = "atmel,at91rm9200-tcb";
  69. reg = <0xfff7c000 0x100>;
  70. interrupts = <19 4 0>;
  71. };
  72. rstc@fffffd00 {
  73. compatible = "atmel,at91sam9260-rstc";
  74. reg = <0xfffffd00 0x10>;
  75. };
  76. shdwc@fffffd10 {
  77. compatible = "atmel,at91sam9260-shdwc";
  78. reg = <0xfffffd10 0x10>;
  79. };
  80. pinctrl@fffff200 {
  81. #address-cells = <1>;
  82. #size-cells = <1>;
  83. compatible = "atmel,at91rm9200-pinctrl", "simple-bus";
  84. ranges = <0xfffff200 0xfffff200 0xa00>;
  85. atmel,mux-mask = <
  86. /* A B */
  87. 0xfffffffb 0xffffe07f /* pioA */
  88. 0x0007ffff 0x39072fff /* pioB */
  89. 0xffffffff 0x3ffffff8 /* pioC */
  90. 0xfffffbff 0xffffffff /* pioD */
  91. 0xffe00fff 0xfbfcff00 /* pioE */
  92. >;
  93. /* shared pinctrl settings */
  94. dbgu {
  95. pinctrl_dbgu: dbgu-0 {
  96. atmel,pins =
  97. <2 30 0x1 0x0 /* PC30 periph A */
  98. 2 31 0x1 0x1>; /* PC31 periph with pullup */
  99. };
  100. };
  101. usart0 {
  102. pinctrl_usart0: usart0-0 {
  103. atmel,pins =
  104. <0 26 0x1 0x1 /* PA26 periph A with pullup */
  105. 0 27 0x1 0x0>; /* PA27 periph A */
  106. };
  107. pinctrl_usart0_rts: usart0_rts-0 {
  108. atmel,pins =
  109. <0 28 0x1 0x0>; /* PA28 periph A */
  110. };
  111. pinctrl_usart0_cts: usart0_cts-0 {
  112. atmel,pins =
  113. <0 29 0x1 0x0>; /* PA29 periph A */
  114. };
  115. };
  116. usart1 {
  117. pinctrl_usart1: usart1-0 {
  118. atmel,pins =
  119. <3 0 0x1 0x1 /* PD0 periph A with pullup */
  120. 3 1 0x1 0x0>; /* PD1 periph A */
  121. };
  122. pinctrl_usart1_rts: usart1_rts-0 {
  123. atmel,pins =
  124. <3 7 0x2 0x0>; /* PD7 periph B */
  125. };
  126. pinctrl_usart1_cts: usart1_cts-0 {
  127. atmel,pins =
  128. <3 8 0x2 0x0>; /* PD8 periph B */
  129. };
  130. };
  131. usart2 {
  132. pinctrl_usart2: usart2-0 {
  133. atmel,pins =
  134. <3 2 0x1 0x1 /* PD2 periph A with pullup */
  135. 3 3 0x1 0x0>; /* PD3 periph A */
  136. };
  137. pinctrl_usart2_rts: usart2_rts-0 {
  138. atmel,pins =
  139. <3 5 0x2 0x0>; /* PD5 periph B */
  140. };
  141. pinctrl_usart2_cts: usart2_cts-0 {
  142. atmel,pins =
  143. <4 6 0x2 0x0>; /* PD6 periph B */
  144. };
  145. };
  146. nand {
  147. pinctrl_nand: nand-0 {
  148. atmel,pins =
  149. <0 22 0x0 0x1 /* PA22 gpio RDY pin pull_up*/
  150. 3 15 0x0 0x1>; /* PD15 gpio enable pin pull_up */
  151. };
  152. };
  153. macb {
  154. pinctrl_macb_rmii: macb_rmii-0 {
  155. atmel,pins =
  156. <2 25 0x2 0x0 /* PC25 periph B */
  157. 4 21 0x1 0x0 /* PE21 periph A */
  158. 4 23 0x1 0x0 /* PE23 periph A */
  159. 4 24 0x1 0x0 /* PE24 periph A */
  160. 4 25 0x1 0x0 /* PE25 periph A */
  161. 4 26 0x1 0x0 /* PE26 periph A */
  162. 4 27 0x1 0x0 /* PE27 periph A */
  163. 4 28 0x1 0x0 /* PE28 periph A */
  164. 4 29 0x1 0x0 /* PE29 periph A */
  165. 4 30 0x1 0x0>; /* PE30 periph A */
  166. };
  167. pinctrl_macb_rmii_mii: macb_rmii_mii-0 {
  168. atmel,pins =
  169. <2 20 0x2 0x0 /* PC20 periph B */
  170. 2 21 0x2 0x0 /* PC21 periph B */
  171. 2 22 0x2 0x0 /* PC22 periph B */
  172. 2 23 0x2 0x0 /* PC23 periph B */
  173. 2 24 0x2 0x0 /* PC24 periph B */
  174. 2 25 0x2 0x0 /* PC25 periph B */
  175. 2 27 0x2 0x0 /* PC27 periph B */
  176. 4 22 0x2 0x0>; /* PE22 periph B */
  177. };
  178. };
  179. mmc0 {
  180. pinctrl_mmc0_clk: mmc0_clk-0 {
  181. atmel,pins =
  182. <0 12 0x1 0x0>; /* PA12 periph A */
  183. };
  184. pinctrl_mmc0_slot0_cmd_dat0: mmc0_slot0_cmd_dat0-0 {
  185. atmel,pins =
  186. <0 1 0x1 0x1 /* PA1 periph A with pullup */
  187. 0 0 0x1 0x1>; /* PA0 periph A with pullup */
  188. };
  189. pinctrl_mmc0_slot0_dat1_3: mmc0_slot0_dat1_3-0 {
  190. atmel,pins =
  191. <0 3 0x1 0x1 /* PA3 periph A with pullup */
  192. 0 4 0x1 0x1 /* PA4 periph A with pullup */
  193. 0 5 0x1 0x1>; /* PA5 periph A with pullup */
  194. };
  195. pinctrl_mmc0_slot1_cmd_dat0: mmc0_slot1_cmd_dat0-0 {
  196. atmel,pins =
  197. <0 16 0x1 0x1 /* PA16 periph A with pullup */
  198. 0 17 0x1 0x1>; /* PA17 periph A with pullup */
  199. };
  200. pinctrl_mmc0_slot1_dat1_3: mmc0_slot1_dat1_3-0 {
  201. atmel,pins =
  202. <0 18 0x1 0x1 /* PA18 periph A with pullup */
  203. 0 19 0x1 0x1 /* PA19 periph A with pullup */
  204. 0 20 0x1 0x1>; /* PA20 periph A with pullup */
  205. };
  206. };
  207. mmc1 {
  208. pinctrl_mmc1_clk: mmc1_clk-0 {
  209. atmel,pins =
  210. <0 6 0x1 0x0>; /* PA6 periph A */
  211. };
  212. pinctrl_mmc1_slot0_cmd_dat0: mmc1_slot0_cmd_dat0-0 {
  213. atmel,pins =
  214. <0 7 0x1 0x1 /* PA7 periph A with pullup */
  215. 0 8 0x1 0x1>; /* PA8 periph A with pullup */
  216. };
  217. pinctrl_mmc1_slot0_dat1_3: mmc1_slot0_dat1_3-0 {
  218. atmel,pins =
  219. <0 9 0x1 0x1 /* PA9 periph A with pullup */
  220. 0 10 0x1 0x1 /* PA10 periph A with pullup */
  221. 0 11 0x1 0x1>; /* PA11 periph A with pullup */
  222. };
  223. pinctrl_mmc1_slot1_cmd_dat0: mmc1_slot1_cmd_dat0-0 {
  224. atmel,pins =
  225. <0 21 0x1 0x1 /* PA21 periph A with pullup */
  226. 0 22 0x1 0x1>; /* PA22 periph A with pullup */
  227. };
  228. pinctrl_mmc1_slot1_dat1_3: mmc1_slot1_dat1_3-0 {
  229. atmel,pins =
  230. <0 23 0x1 0x1 /* PA23 periph A with pullup */
  231. 0 24 0x1 0x1 /* PA24 periph A with pullup */
  232. 0 25 0x1 0x1>; /* PA25 periph A with pullup */
  233. };
  234. };
  235. ssc0 {
  236. pinctrl_ssc0_tx: ssc0_tx-0 {
  237. atmel,pins =
  238. <1 0 0x2 0x0 /* PB0 periph B */
  239. 1 1 0x2 0x0 /* PB1 periph B */
  240. 1 2 0x2 0x0>; /* PB2 periph B */
  241. };
  242. pinctrl_ssc0_rx: ssc0_rx-0 {
  243. atmel,pins =
  244. <1 3 0x2 0x0 /* PB3 periph B */
  245. 1 4 0x2 0x0 /* PB4 periph B */
  246. 1 5 0x2 0x0>; /* PB5 periph B */
  247. };
  248. };
  249. ssc1 {
  250. pinctrl_ssc1_tx: ssc1_tx-0 {
  251. atmel,pins =
  252. <1 6 0x1 0x0 /* PB6 periph A */
  253. 1 7 0x1 0x0 /* PB7 periph A */
  254. 1 8 0x1 0x0>; /* PB8 periph A */
  255. };
  256. pinctrl_ssc1_rx: ssc1_rx-0 {
  257. atmel,pins =
  258. <1 9 0x1 0x0 /* PB9 periph A */
  259. 1 10 0x1 0x0 /* PB10 periph A */
  260. 1 11 0x1 0x0>; /* PB11 periph A */
  261. };
  262. };
  263. pioA: gpio@fffff200 {
  264. compatible = "atmel,at91rm9200-gpio";
  265. reg = <0xfffff200 0x200>;
  266. interrupts = <2 4 1>;
  267. #gpio-cells = <2>;
  268. gpio-controller;
  269. interrupt-controller;
  270. #interrupt-cells = <2>;
  271. };
  272. pioB: gpio@fffff400 {
  273. compatible = "atmel,at91rm9200-gpio";
  274. reg = <0xfffff400 0x200>;
  275. interrupts = <3 4 1>;
  276. #gpio-cells = <2>;
  277. gpio-controller;
  278. interrupt-controller;
  279. #interrupt-cells = <2>;
  280. };
  281. pioC: gpio@fffff600 {
  282. compatible = "atmel,at91rm9200-gpio";
  283. reg = <0xfffff600 0x200>;
  284. interrupts = <4 4 1>;
  285. #gpio-cells = <2>;
  286. gpio-controller;
  287. interrupt-controller;
  288. #interrupt-cells = <2>;
  289. };
  290. pioD: gpio@fffff800 {
  291. compatible = "atmel,at91rm9200-gpio";
  292. reg = <0xfffff800 0x200>;
  293. interrupts = <4 4 1>;
  294. #gpio-cells = <2>;
  295. gpio-controller;
  296. interrupt-controller;
  297. #interrupt-cells = <2>;
  298. };
  299. pioE: gpio@fffffa00 {
  300. compatible = "atmel,at91rm9200-gpio";
  301. reg = <0xfffffa00 0x200>;
  302. interrupts = <4 4 1>;
  303. #gpio-cells = <2>;
  304. gpio-controller;
  305. interrupt-controller;
  306. #interrupt-cells = <2>;
  307. };
  308. };
  309. dbgu: serial@ffffee00 {
  310. compatible = "atmel,at91sam9260-usart";
  311. reg = <0xffffee00 0x200>;
  312. interrupts = <1 4 7>;
  313. pinctrl-names = "default";
  314. pinctrl-0 = <&pinctrl_dbgu>;
  315. status = "disabled";
  316. };
  317. usart0: serial@fff8c000 {
  318. compatible = "atmel,at91sam9260-usart";
  319. reg = <0xfff8c000 0x200>;
  320. interrupts = <7 4 5>;
  321. atmel,use-dma-rx;
  322. atmel,use-dma-tx;
  323. pinctrl-names = "default";
  324. pinctrl-0 = <&pinctrl_usart0>;
  325. status = "disabled";
  326. };
  327. usart1: serial@fff90000 {
  328. compatible = "atmel,at91sam9260-usart";
  329. reg = <0xfff90000 0x200>;
  330. interrupts = <8 4 5>;
  331. atmel,use-dma-rx;
  332. atmel,use-dma-tx;
  333. pinctrl-names = "default";
  334. pinctrl-0 = <&pinctrl_usart1>;
  335. status = "disabled";
  336. };
  337. usart2: serial@fff94000 {
  338. compatible = "atmel,at91sam9260-usart";
  339. reg = <0xfff94000 0x200>;
  340. interrupts = <9 4 5>;
  341. atmel,use-dma-rx;
  342. atmel,use-dma-tx;
  343. pinctrl-names = "default";
  344. pinctrl-0 = <&pinctrl_usart2>;
  345. status = "disabled";
  346. };
  347. ssc0: ssc@fff98000 {
  348. compatible = "atmel,at91rm9200-ssc";
  349. reg = <0xfff98000 0x4000>;
  350. interrupts = <16 4 5>;
  351. pinctrl-names = "default";
  352. pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
  353. status = "disabled";
  354. };
  355. ssc1: ssc@fff9c000 {
  356. compatible = "atmel,at91rm9200-ssc";
  357. reg = <0xfff9c000 0x4000>;
  358. interrupts = <17 4 5>;
  359. pinctrl-names = "default";
  360. pinctrl-0 = <&pinctrl_ssc1_tx &pinctrl_ssc1_rx>;
  361. status = "disabled";
  362. };
  363. macb0: ethernet@fffbc000 {
  364. compatible = "cdns,at32ap7000-macb", "cdns,macb";
  365. reg = <0xfffbc000 0x100>;
  366. interrupts = <21 4 3>;
  367. pinctrl-names = "default";
  368. pinctrl-0 = <&pinctrl_macb_rmii>;
  369. status = "disabled";
  370. };
  371. usb1: gadget@fff78000 {
  372. compatible = "atmel,at91rm9200-udc";
  373. reg = <0xfff78000 0x4000>;
  374. interrupts = <24 4 2>;
  375. status = "disabled";
  376. };
  377. i2c0: i2c@fff88000 {
  378. compatible = "atmel,at91sam9263-i2c";
  379. reg = <0xfff88000 0x100>;
  380. interrupts = <13 4 6>;
  381. #address-cells = <1>;
  382. #size-cells = <0>;
  383. status = "disabled";
  384. };
  385. mmc0: mmc@fff80000 {
  386. compatible = "atmel,hsmci";
  387. reg = <0xfff80000 0x600>;
  388. interrupts = <10 4 0>;
  389. #address-cells = <1>;
  390. #size-cells = <0>;
  391. status = "disabled";
  392. };
  393. mmc1: mmc@fff84000 {
  394. compatible = "atmel,hsmci";
  395. reg = <0xfff84000 0x600>;
  396. interrupts = <11 4 0>;
  397. #address-cells = <1>;
  398. #size-cells = <0>;
  399. status = "disabled";
  400. };
  401. watchdog@fffffd40 {
  402. compatible = "atmel,at91sam9260-wdt";
  403. reg = <0xfffffd40 0x10>;
  404. status = "disabled";
  405. };
  406. };
  407. nand0: nand@40000000 {
  408. compatible = "atmel,at91rm9200-nand";
  409. #address-cells = <1>;
  410. #size-cells = <1>;
  411. reg = <0x40000000 0x10000000
  412. 0xffffe000 0x200
  413. >;
  414. atmel,nand-addr-offset = <21>;
  415. atmel,nand-cmd-offset = <22>;
  416. pinctrl-names = "default";
  417. pinctrl-0 = <&pinctrl_nand>;
  418. gpios = <&pioA 22 0
  419. &pioD 15 0
  420. 0
  421. >;
  422. status = "disabled";
  423. };
  424. usb0: ohci@00a00000 {
  425. compatible = "atmel,at91rm9200-ohci", "usb-ohci";
  426. reg = <0x00a00000 0x100000>;
  427. interrupts = <29 4 2>;
  428. status = "disabled";
  429. };
  430. };
  431. i2c@0 {
  432. compatible = "i2c-gpio";
  433. gpios = <&pioB 4 0 /* sda */
  434. &pioB 5 0 /* scl */
  435. >;
  436. i2c-gpio,sda-open-drain;
  437. i2c-gpio,scl-open-drain;
  438. i2c-gpio,delay-us = <2>; /* ~100 kHz */
  439. #address-cells = <1>;
  440. #size-cells = <0>;
  441. status = "disabled";
  442. };
  443. };