omap3.dtsi 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634
  1. /*
  2. * Device Tree Source for OMAP3 SoC
  3. *
  4. * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
  5. *
  6. * This file is licensed under the terms of the GNU General Public License
  7. * version 2. This program is licensed "as is" without any warranty of any
  8. * kind, whether express or implied.
  9. */
  10. #include <dt-bindings/gpio/gpio.h>
  11. #include <dt-bindings/interrupt-controller/irq.h>
  12. #include <dt-bindings/pinctrl/omap.h>
  13. #include "skeleton.dtsi"
  14. / {
  15. compatible = "ti,omap3430", "ti,omap3";
  16. interrupt-parent = <&intc>;
  17. aliases {
  18. i2c0 = &i2c1;
  19. i2c1 = &i2c2;
  20. i2c2 = &i2c3;
  21. serial0 = &uart1;
  22. serial1 = &uart2;
  23. serial2 = &uart3;
  24. };
  25. cpus {
  26. #address-cells = <1>;
  27. #size-cells = <0>;
  28. cpu@0 {
  29. compatible = "arm,cortex-a8";
  30. device_type = "cpu";
  31. reg = <0x0>;
  32. };
  33. };
  34. pmu {
  35. compatible = "arm,cortex-a8-pmu";
  36. reg = <0x54000000 0x800000>;
  37. interrupts = <3>;
  38. ti,hwmods = "debugss";
  39. };
  40. /*
  41. * The soc node represents the soc top level view. It is used for IPs
  42. * that are not memory mapped in the MPU view or for the MPU itself.
  43. */
  44. soc {
  45. compatible = "ti,omap-infra";
  46. mpu {
  47. compatible = "ti,omap3-mpu";
  48. ti,hwmods = "mpu";
  49. };
  50. iva {
  51. compatible = "ti,iva2.2";
  52. ti,hwmods = "iva";
  53. dsp {
  54. compatible = "ti,omap3-c64";
  55. };
  56. };
  57. };
  58. /*
  59. * XXX: Use a flat representation of the OMAP3 interconnect.
  60. * The real OMAP interconnect network is quite complex.
  61. * Since that will not bring real advantage to represent that in DT for
  62. * the moment, just use a fake OCP bus entry to represent the whole bus
  63. * hierarchy.
  64. */
  65. ocp {
  66. compatible = "simple-bus";
  67. reg = <0x68000000 0x10000>;
  68. interrupts = <9 10>;
  69. #address-cells = <1>;
  70. #size-cells = <1>;
  71. ranges;
  72. ti,hwmods = "l3_main";
  73. aes: aes@480c5000 {
  74. compatible = "ti,omap3-aes";
  75. ti,hwmods = "aes";
  76. reg = <0x480c5000 0x50>;
  77. interrupts = <0>;
  78. };
  79. counter32k: counter@48320000 {
  80. compatible = "ti,omap-counter32k";
  81. reg = <0x48320000 0x20>;
  82. ti,hwmods = "counter_32k";
  83. };
  84. intc: interrupt-controller@48200000 {
  85. compatible = "ti,omap2-intc";
  86. interrupt-controller;
  87. #interrupt-cells = <1>;
  88. ti,intc-size = <96>;
  89. reg = <0x48200000 0x1000>;
  90. };
  91. sdma: dma-controller@48056000 {
  92. compatible = "ti,omap3630-sdma", "ti,omap3430-sdma";
  93. reg = <0x48056000 0x1000>;
  94. interrupts = <12>,
  95. <13>,
  96. <14>,
  97. <15>;
  98. #dma-cells = <1>;
  99. #dma-channels = <32>;
  100. #dma-requests = <96>;
  101. };
  102. omap3_pmx_core: pinmux@48002030 {
  103. compatible = "ti,omap3-padconf", "pinctrl-single";
  104. reg = <0x48002030 0x05cc>;
  105. #address-cells = <1>;
  106. #size-cells = <0>;
  107. #interrupt-cells = <1>;
  108. interrupt-controller;
  109. pinctrl-single,register-width = <16>;
  110. pinctrl-single,function-mask = <0xff1f>;
  111. };
  112. omap3_pmx_wkup: pinmux@48002a00 {
  113. compatible = "ti,omap3-padconf", "pinctrl-single";
  114. reg = <0x48002a00 0x5c>;
  115. #address-cells = <1>;
  116. #size-cells = <0>;
  117. #interrupt-cells = <1>;
  118. interrupt-controller;
  119. pinctrl-single,register-width = <16>;
  120. pinctrl-single,function-mask = <0xff1f>;
  121. };
  122. gpio1: gpio@48310000 {
  123. compatible = "ti,omap3-gpio";
  124. reg = <0x48310000 0x200>;
  125. interrupts = <29>;
  126. ti,hwmods = "gpio1";
  127. ti,gpio-always-on;
  128. gpio-controller;
  129. #gpio-cells = <2>;
  130. interrupt-controller;
  131. #interrupt-cells = <2>;
  132. };
  133. gpio2: gpio@49050000 {
  134. compatible = "ti,omap3-gpio";
  135. reg = <0x49050000 0x200>;
  136. interrupts = <30>;
  137. ti,hwmods = "gpio2";
  138. gpio-controller;
  139. #gpio-cells = <2>;
  140. interrupt-controller;
  141. #interrupt-cells = <2>;
  142. };
  143. gpio3: gpio@49052000 {
  144. compatible = "ti,omap3-gpio";
  145. reg = <0x49052000 0x200>;
  146. interrupts = <31>;
  147. ti,hwmods = "gpio3";
  148. gpio-controller;
  149. #gpio-cells = <2>;
  150. interrupt-controller;
  151. #interrupt-cells = <2>;
  152. };
  153. gpio4: gpio@49054000 {
  154. compatible = "ti,omap3-gpio";
  155. reg = <0x49054000 0x200>;
  156. interrupts = <32>;
  157. ti,hwmods = "gpio4";
  158. gpio-controller;
  159. #gpio-cells = <2>;
  160. interrupt-controller;
  161. #interrupt-cells = <2>;
  162. };
  163. gpio5: gpio@49056000 {
  164. compatible = "ti,omap3-gpio";
  165. reg = <0x49056000 0x200>;
  166. interrupts = <33>;
  167. ti,hwmods = "gpio5";
  168. gpio-controller;
  169. #gpio-cells = <2>;
  170. interrupt-controller;
  171. #interrupt-cells = <2>;
  172. };
  173. gpio6: gpio@49058000 {
  174. compatible = "ti,omap3-gpio";
  175. reg = <0x49058000 0x200>;
  176. interrupts = <34>;
  177. ti,hwmods = "gpio6";
  178. gpio-controller;
  179. #gpio-cells = <2>;
  180. interrupt-controller;
  181. #interrupt-cells = <2>;
  182. };
  183. uart1: serial@4806a000 {
  184. compatible = "ti,omap3-uart";
  185. reg = <0x4806a000 0x2000>;
  186. interrupts = <72>;
  187. dmas = <&sdma 49 &sdma 50>;
  188. dma-names = "tx", "rx";
  189. ti,hwmods = "uart1";
  190. clock-frequency = <48000000>;
  191. };
  192. uart2: serial@4806c000 {
  193. compatible = "ti,omap3-uart";
  194. reg = <0x4806c000 0x400>;
  195. interrupts = <73>;
  196. dmas = <&sdma 51 &sdma 52>;
  197. dma-names = "tx", "rx";
  198. ti,hwmods = "uart2";
  199. clock-frequency = <48000000>;
  200. };
  201. uart3: serial@49020000 {
  202. compatible = "ti,omap3-uart";
  203. reg = <0x49020000 0x400>;
  204. interrupts = <74>;
  205. dmas = <&sdma 53 &sdma 54>;
  206. dma-names = "tx", "rx";
  207. ti,hwmods = "uart3";
  208. clock-frequency = <48000000>;
  209. };
  210. i2c1: i2c@48070000 {
  211. compatible = "ti,omap3-i2c";
  212. reg = <0x48070000 0x80>;
  213. interrupts = <56>;
  214. dmas = <&sdma 27 &sdma 28>;
  215. dma-names = "tx", "rx";
  216. #address-cells = <1>;
  217. #size-cells = <0>;
  218. ti,hwmods = "i2c1";
  219. };
  220. i2c2: i2c@48072000 {
  221. compatible = "ti,omap3-i2c";
  222. reg = <0x48072000 0x80>;
  223. interrupts = <57>;
  224. dmas = <&sdma 29 &sdma 30>;
  225. dma-names = "tx", "rx";
  226. #address-cells = <1>;
  227. #size-cells = <0>;
  228. ti,hwmods = "i2c2";
  229. };
  230. i2c3: i2c@48060000 {
  231. compatible = "ti,omap3-i2c";
  232. reg = <0x48060000 0x80>;
  233. interrupts = <61>;
  234. dmas = <&sdma 25 &sdma 26>;
  235. dma-names = "tx", "rx";
  236. #address-cells = <1>;
  237. #size-cells = <0>;
  238. ti,hwmods = "i2c3";
  239. };
  240. mailbox: mailbox@48094000 {
  241. compatible = "ti,omap3-mailbox";
  242. ti,hwmods = "mailbox";
  243. reg = <0x48094000 0x200>;
  244. interrupts = <26>;
  245. };
  246. mcspi1: spi@48098000 {
  247. compatible = "ti,omap2-mcspi";
  248. reg = <0x48098000 0x100>;
  249. interrupts = <65>;
  250. #address-cells = <1>;
  251. #size-cells = <0>;
  252. ti,hwmods = "mcspi1";
  253. ti,spi-num-cs = <4>;
  254. dmas = <&sdma 35>,
  255. <&sdma 36>,
  256. <&sdma 37>,
  257. <&sdma 38>,
  258. <&sdma 39>,
  259. <&sdma 40>,
  260. <&sdma 41>,
  261. <&sdma 42>;
  262. dma-names = "tx0", "rx0", "tx1", "rx1",
  263. "tx2", "rx2", "tx3", "rx3";
  264. };
  265. mcspi2: spi@4809a000 {
  266. compatible = "ti,omap2-mcspi";
  267. reg = <0x4809a000 0x100>;
  268. interrupts = <66>;
  269. #address-cells = <1>;
  270. #size-cells = <0>;
  271. ti,hwmods = "mcspi2";
  272. ti,spi-num-cs = <2>;
  273. dmas = <&sdma 43>,
  274. <&sdma 44>,
  275. <&sdma 45>,
  276. <&sdma 46>;
  277. dma-names = "tx0", "rx0", "tx1", "rx1";
  278. };
  279. mcspi3: spi@480b8000 {
  280. compatible = "ti,omap2-mcspi";
  281. reg = <0x480b8000 0x100>;
  282. interrupts = <91>;
  283. #address-cells = <1>;
  284. #size-cells = <0>;
  285. ti,hwmods = "mcspi3";
  286. ti,spi-num-cs = <2>;
  287. dmas = <&sdma 15>,
  288. <&sdma 16>,
  289. <&sdma 23>,
  290. <&sdma 24>;
  291. dma-names = "tx0", "rx0", "tx1", "rx1";
  292. };
  293. mcspi4: spi@480ba000 {
  294. compatible = "ti,omap2-mcspi";
  295. reg = <0x480ba000 0x100>;
  296. interrupts = <48>;
  297. #address-cells = <1>;
  298. #size-cells = <0>;
  299. ti,hwmods = "mcspi4";
  300. ti,spi-num-cs = <1>;
  301. dmas = <&sdma 70>, <&sdma 71>;
  302. dma-names = "tx0", "rx0";
  303. };
  304. hdqw1w: 1w@480b2000 {
  305. compatible = "ti,omap3-1w";
  306. reg = <0x480b2000 0x1000>;
  307. interrupts = <58>;
  308. ti,hwmods = "hdq1w";
  309. };
  310. mmc1: mmc@4809c000 {
  311. compatible = "ti,omap3-hsmmc";
  312. reg = <0x4809c000 0x200>;
  313. interrupts = <83>;
  314. ti,hwmods = "mmc1";
  315. ti,dual-volt;
  316. dmas = <&sdma 61>, <&sdma 62>;
  317. dma-names = "tx", "rx";
  318. };
  319. mmc2: mmc@480b4000 {
  320. compatible = "ti,omap3-hsmmc";
  321. reg = <0x480b4000 0x200>;
  322. interrupts = <86>;
  323. ti,hwmods = "mmc2";
  324. dmas = <&sdma 47>, <&sdma 48>;
  325. dma-names = "tx", "rx";
  326. };
  327. mmc3: mmc@480ad000 {
  328. compatible = "ti,omap3-hsmmc";
  329. reg = <0x480ad000 0x200>;
  330. interrupts = <94>;
  331. ti,hwmods = "mmc3";
  332. dmas = <&sdma 77>, <&sdma 78>;
  333. dma-names = "tx", "rx";
  334. };
  335. mmu_isp: mmu@480bd400 {
  336. compatible = "ti,omap3-mmu-isp";
  337. ti,hwmods = "mmu_isp";
  338. reg = <0x480bd400 0x80>;
  339. interrupts = <8>;
  340. };
  341. wdt2: wdt@48314000 {
  342. compatible = "ti,omap3-wdt";
  343. reg = <0x48314000 0x80>;
  344. ti,hwmods = "wd_timer2";
  345. };
  346. mcbsp1: mcbsp@48074000 {
  347. compatible = "ti,omap3-mcbsp";
  348. reg = <0x48074000 0xff>;
  349. reg-names = "mpu";
  350. interrupts = <16>, /* OCP compliant interrupt */
  351. <59>, /* TX interrupt */
  352. <60>; /* RX interrupt */
  353. interrupt-names = "common", "tx", "rx";
  354. ti,buffer-size = <128>;
  355. ti,hwmods = "mcbsp1";
  356. dmas = <&sdma 31>,
  357. <&sdma 32>;
  358. dma-names = "tx", "rx";
  359. };
  360. mcbsp2: mcbsp@49022000 {
  361. compatible = "ti,omap3-mcbsp";
  362. reg = <0x49022000 0xff>,
  363. <0x49028000 0xff>;
  364. reg-names = "mpu", "sidetone";
  365. interrupts = <17>, /* OCP compliant interrupt */
  366. <62>, /* TX interrupt */
  367. <63>, /* RX interrupt */
  368. <4>; /* Sidetone */
  369. interrupt-names = "common", "tx", "rx", "sidetone";
  370. ti,buffer-size = <1280>;
  371. ti,hwmods = "mcbsp2", "mcbsp2_sidetone";
  372. dmas = <&sdma 33>,
  373. <&sdma 34>;
  374. dma-names = "tx", "rx";
  375. };
  376. mcbsp3: mcbsp@49024000 {
  377. compatible = "ti,omap3-mcbsp";
  378. reg = <0x49024000 0xff>,
  379. <0x4902a000 0xff>;
  380. reg-names = "mpu", "sidetone";
  381. interrupts = <22>, /* OCP compliant interrupt */
  382. <89>, /* TX interrupt */
  383. <90>, /* RX interrupt */
  384. <5>; /* Sidetone */
  385. interrupt-names = "common", "tx", "rx", "sidetone";
  386. ti,buffer-size = <128>;
  387. ti,hwmods = "mcbsp3", "mcbsp3_sidetone";
  388. dmas = <&sdma 17>,
  389. <&sdma 18>;
  390. dma-names = "tx", "rx";
  391. };
  392. mcbsp4: mcbsp@49026000 {
  393. compatible = "ti,omap3-mcbsp";
  394. reg = <0x49026000 0xff>;
  395. reg-names = "mpu";
  396. interrupts = <23>, /* OCP compliant interrupt */
  397. <54>, /* TX interrupt */
  398. <55>; /* RX interrupt */
  399. interrupt-names = "common", "tx", "rx";
  400. ti,buffer-size = <128>;
  401. ti,hwmods = "mcbsp4";
  402. dmas = <&sdma 19>,
  403. <&sdma 20>;
  404. dma-names = "tx", "rx";
  405. };
  406. mcbsp5: mcbsp@48096000 {
  407. compatible = "ti,omap3-mcbsp";
  408. reg = <0x48096000 0xff>;
  409. reg-names = "mpu";
  410. interrupts = <27>, /* OCP compliant interrupt */
  411. <81>, /* TX interrupt */
  412. <82>; /* RX interrupt */
  413. interrupt-names = "common", "tx", "rx";
  414. ti,buffer-size = <128>;
  415. ti,hwmods = "mcbsp5";
  416. dmas = <&sdma 21>,
  417. <&sdma 22>;
  418. dma-names = "tx", "rx";
  419. };
  420. sham: sham@480c3000 {
  421. compatible = "ti,omap3-sham";
  422. ti,hwmods = "sham";
  423. reg = <0x480c3000 0x64>;
  424. interrupts = <49>;
  425. };
  426. smartreflex_core: smartreflex@480cb000 {
  427. compatible = "ti,omap3-smartreflex-core";
  428. ti,hwmods = "smartreflex_core";
  429. reg = <0x480cb000 0x400>;
  430. interrupts = <19>;
  431. };
  432. smartreflex_mpu_iva: smartreflex@480c9000 {
  433. compatible = "ti,omap3-smartreflex-iva";
  434. ti,hwmods = "smartreflex_mpu_iva";
  435. reg = <0x480c9000 0x400>;
  436. interrupts = <18>;
  437. };
  438. timer1: timer@48318000 {
  439. compatible = "ti,omap3430-timer";
  440. reg = <0x48318000 0x400>;
  441. interrupts = <37>;
  442. ti,hwmods = "timer1";
  443. ti,timer-alwon;
  444. };
  445. timer2: timer@49032000 {
  446. compatible = "ti,omap3430-timer";
  447. reg = <0x49032000 0x400>;
  448. interrupts = <38>;
  449. ti,hwmods = "timer2";
  450. };
  451. timer3: timer@49034000 {
  452. compatible = "ti,omap3430-timer";
  453. reg = <0x49034000 0x400>;
  454. interrupts = <39>;
  455. ti,hwmods = "timer3";
  456. };
  457. timer4: timer@49036000 {
  458. compatible = "ti,omap3430-timer";
  459. reg = <0x49036000 0x400>;
  460. interrupts = <40>;
  461. ti,hwmods = "timer4";
  462. };
  463. timer5: timer@49038000 {
  464. compatible = "ti,omap3430-timer";
  465. reg = <0x49038000 0x400>;
  466. interrupts = <41>;
  467. ti,hwmods = "timer5";
  468. ti,timer-dsp;
  469. };
  470. timer6: timer@4903a000 {
  471. compatible = "ti,omap3430-timer";
  472. reg = <0x4903a000 0x400>;
  473. interrupts = <42>;
  474. ti,hwmods = "timer6";
  475. ti,timer-dsp;
  476. };
  477. timer7: timer@4903c000 {
  478. compatible = "ti,omap3430-timer";
  479. reg = <0x4903c000 0x400>;
  480. interrupts = <43>;
  481. ti,hwmods = "timer7";
  482. ti,timer-dsp;
  483. };
  484. timer8: timer@4903e000 {
  485. compatible = "ti,omap3430-timer";
  486. reg = <0x4903e000 0x400>;
  487. interrupts = <44>;
  488. ti,hwmods = "timer8";
  489. ti,timer-pwm;
  490. ti,timer-dsp;
  491. };
  492. timer9: timer@49040000 {
  493. compatible = "ti,omap3430-timer";
  494. reg = <0x49040000 0x400>;
  495. interrupts = <45>;
  496. ti,hwmods = "timer9";
  497. ti,timer-pwm;
  498. };
  499. timer10: timer@48086000 {
  500. compatible = "ti,omap3430-timer";
  501. reg = <0x48086000 0x400>;
  502. interrupts = <46>;
  503. ti,hwmods = "timer10";
  504. ti,timer-pwm;
  505. };
  506. timer11: timer@48088000 {
  507. compatible = "ti,omap3430-timer";
  508. reg = <0x48088000 0x400>;
  509. interrupts = <47>;
  510. ti,hwmods = "timer11";
  511. ti,timer-pwm;
  512. };
  513. timer12: timer@48304000 {
  514. compatible = "ti,omap3430-timer";
  515. reg = <0x48304000 0x400>;
  516. interrupts = <95>;
  517. ti,hwmods = "timer12";
  518. ti,timer-alwon;
  519. ti,timer-secure;
  520. };
  521. usbhstll: usbhstll@48062000 {
  522. compatible = "ti,usbhs-tll";
  523. reg = <0x48062000 0x1000>;
  524. interrupts = <78>;
  525. ti,hwmods = "usb_tll_hs";
  526. };
  527. usbhshost: usbhshost@48064000 {
  528. compatible = "ti,usbhs-host";
  529. reg = <0x48064000 0x400>;
  530. ti,hwmods = "usb_host_hs";
  531. #address-cells = <1>;
  532. #size-cells = <1>;
  533. ranges;
  534. usbhsohci: ohci@48064400 {
  535. compatible = "ti,ohci-omap3", "usb-ohci";
  536. reg = <0x48064400 0x400>;
  537. interrupt-parent = <&intc>;
  538. interrupts = <76>;
  539. };
  540. usbhsehci: ehci@48064800 {
  541. compatible = "ti,ehci-omap", "usb-ehci";
  542. reg = <0x48064800 0x400>;
  543. interrupt-parent = <&intc>;
  544. interrupts = <77>;
  545. };
  546. };
  547. gpmc: gpmc@6e000000 {
  548. compatible = "ti,omap3430-gpmc";
  549. ti,hwmods = "gpmc";
  550. reg = <0x6e000000 0x02d0>;
  551. interrupts = <20>;
  552. gpmc,num-cs = <8>;
  553. gpmc,num-waitpins = <4>;
  554. #address-cells = <2>;
  555. #size-cells = <1>;
  556. };
  557. usb_otg_hs: usb_otg_hs@480ab000 {
  558. compatible = "ti,omap3-musb";
  559. reg = <0x480ab000 0x1000>;
  560. interrupts = <92>, <93>;
  561. interrupt-names = "mc", "dma";
  562. ti,hwmods = "usb_otg_hs";
  563. multipoint = <1>;
  564. num-eps = <16>;
  565. ram-bits = <12>;
  566. };
  567. };
  568. };