omap3.dtsi 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539
  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. interrupts = <3>;
  37. ti,hwmods = "debugss";
  38. };
  39. /*
  40. * The soc node represents the soc top level view. It is used for IPs
  41. * that are not memory mapped in the MPU view or for the MPU itself.
  42. */
  43. soc {
  44. compatible = "ti,omap-infra";
  45. mpu {
  46. compatible = "ti,omap3-mpu";
  47. ti,hwmods = "mpu";
  48. };
  49. iva {
  50. compatible = "ti,iva2.2";
  51. ti,hwmods = "iva";
  52. dsp {
  53. compatible = "ti,omap3-c64";
  54. };
  55. };
  56. };
  57. /*
  58. * XXX: Use a flat representation of the OMAP3 interconnect.
  59. * The real OMAP interconnect network is quite complex.
  60. * Since that will not bring real advantage to represent that in DT for
  61. * the moment, just use a fake OCP bus entry to represent the whole bus
  62. * hierarchy.
  63. */
  64. ocp {
  65. compatible = "simple-bus";
  66. #address-cells = <1>;
  67. #size-cells = <1>;
  68. ranges;
  69. ti,hwmods = "l3_main";
  70. counter32k: counter@48320000 {
  71. compatible = "ti,omap-counter32k";
  72. reg = <0x48320000 0x20>;
  73. ti,hwmods = "counter_32k";
  74. };
  75. intc: interrupt-controller@48200000 {
  76. compatible = "ti,omap2-intc";
  77. interrupt-controller;
  78. #interrupt-cells = <1>;
  79. ti,intc-size = <96>;
  80. reg = <0x48200000 0x1000>;
  81. };
  82. sdma: dma-controller@48056000 {
  83. compatible = "ti,omap3630-sdma", "ti,omap3430-sdma";
  84. reg = <0x48056000 0x1000>;
  85. interrupts = <12>,
  86. <13>,
  87. <14>,
  88. <15>;
  89. #dma-cells = <1>;
  90. #dma-channels = <32>;
  91. #dma-requests = <96>;
  92. };
  93. omap3_pmx_core: pinmux@48002030 {
  94. compatible = "ti,omap3-padconf", "pinctrl-single";
  95. reg = <0x48002030 0x05cc>;
  96. #address-cells = <1>;
  97. #size-cells = <0>;
  98. pinctrl-single,register-width = <16>;
  99. pinctrl-single,function-mask = <0x7f1f>;
  100. };
  101. omap3_pmx_wkup: pinmux@48002a00 {
  102. compatible = "ti,omap3-padconf", "pinctrl-single";
  103. reg = <0x48002a00 0x5c>;
  104. #address-cells = <1>;
  105. #size-cells = <0>;
  106. pinctrl-single,register-width = <16>;
  107. pinctrl-single,function-mask = <0x7f1f>;
  108. };
  109. gpio1: gpio@48310000 {
  110. compatible = "ti,omap3-gpio";
  111. reg = <0x48310000 0x200>;
  112. interrupts = <29>;
  113. ti,hwmods = "gpio1";
  114. ti,gpio-always-on;
  115. gpio-controller;
  116. #gpio-cells = <2>;
  117. interrupt-controller;
  118. #interrupt-cells = <2>;
  119. };
  120. gpio2: gpio@49050000 {
  121. compatible = "ti,omap3-gpio";
  122. reg = <0x49050000 0x200>;
  123. interrupts = <30>;
  124. ti,hwmods = "gpio2";
  125. gpio-controller;
  126. #gpio-cells = <2>;
  127. interrupt-controller;
  128. #interrupt-cells = <2>;
  129. };
  130. gpio3: gpio@49052000 {
  131. compatible = "ti,omap3-gpio";
  132. reg = <0x49052000 0x200>;
  133. interrupts = <31>;
  134. ti,hwmods = "gpio3";
  135. gpio-controller;
  136. #gpio-cells = <2>;
  137. interrupt-controller;
  138. #interrupt-cells = <2>;
  139. };
  140. gpio4: gpio@49054000 {
  141. compatible = "ti,omap3-gpio";
  142. reg = <0x49054000 0x200>;
  143. interrupts = <32>;
  144. ti,hwmods = "gpio4";
  145. gpio-controller;
  146. #gpio-cells = <2>;
  147. interrupt-controller;
  148. #interrupt-cells = <2>;
  149. };
  150. gpio5: gpio@49056000 {
  151. compatible = "ti,omap3-gpio";
  152. reg = <0x49056000 0x200>;
  153. interrupts = <33>;
  154. ti,hwmods = "gpio5";
  155. gpio-controller;
  156. #gpio-cells = <2>;
  157. interrupt-controller;
  158. #interrupt-cells = <2>;
  159. };
  160. gpio6: gpio@49058000 {
  161. compatible = "ti,omap3-gpio";
  162. reg = <0x49058000 0x200>;
  163. interrupts = <34>;
  164. ti,hwmods = "gpio6";
  165. gpio-controller;
  166. #gpio-cells = <2>;
  167. interrupt-controller;
  168. #interrupt-cells = <2>;
  169. };
  170. uart1: serial@4806a000 {
  171. compatible = "ti,omap3-uart";
  172. ti,hwmods = "uart1";
  173. clock-frequency = <48000000>;
  174. };
  175. uart2: serial@4806c000 {
  176. compatible = "ti,omap3-uart";
  177. ti,hwmods = "uart2";
  178. clock-frequency = <48000000>;
  179. };
  180. uart3: serial@49020000 {
  181. compatible = "ti,omap3-uart";
  182. ti,hwmods = "uart3";
  183. clock-frequency = <48000000>;
  184. };
  185. i2c1: i2c@48070000 {
  186. compatible = "ti,omap3-i2c";
  187. #address-cells = <1>;
  188. #size-cells = <0>;
  189. ti,hwmods = "i2c1";
  190. };
  191. i2c2: i2c@48072000 {
  192. compatible = "ti,omap3-i2c";
  193. #address-cells = <1>;
  194. #size-cells = <0>;
  195. ti,hwmods = "i2c2";
  196. };
  197. i2c3: i2c@48060000 {
  198. compatible = "ti,omap3-i2c";
  199. #address-cells = <1>;
  200. #size-cells = <0>;
  201. ti,hwmods = "i2c3";
  202. };
  203. mcspi1: spi@48098000 {
  204. compatible = "ti,omap2-mcspi";
  205. #address-cells = <1>;
  206. #size-cells = <0>;
  207. ti,hwmods = "mcspi1";
  208. ti,spi-num-cs = <4>;
  209. dmas = <&sdma 35>,
  210. <&sdma 36>,
  211. <&sdma 37>,
  212. <&sdma 38>,
  213. <&sdma 39>,
  214. <&sdma 40>,
  215. <&sdma 41>,
  216. <&sdma 42>;
  217. dma-names = "tx0", "rx0", "tx1", "rx1",
  218. "tx2", "rx2", "tx3", "rx3";
  219. };
  220. mcspi2: spi@4809a000 {
  221. compatible = "ti,omap2-mcspi";
  222. #address-cells = <1>;
  223. #size-cells = <0>;
  224. ti,hwmods = "mcspi2";
  225. ti,spi-num-cs = <2>;
  226. dmas = <&sdma 43>,
  227. <&sdma 44>,
  228. <&sdma 45>,
  229. <&sdma 46>;
  230. dma-names = "tx0", "rx0", "tx1", "rx1";
  231. };
  232. mcspi3: spi@480b8000 {
  233. compatible = "ti,omap2-mcspi";
  234. #address-cells = <1>;
  235. #size-cells = <0>;
  236. ti,hwmods = "mcspi3";
  237. ti,spi-num-cs = <2>;
  238. dmas = <&sdma 15>,
  239. <&sdma 16>,
  240. <&sdma 23>,
  241. <&sdma 24>;
  242. dma-names = "tx0", "rx0", "tx1", "rx1";
  243. };
  244. mcspi4: spi@480ba000 {
  245. compatible = "ti,omap2-mcspi";
  246. #address-cells = <1>;
  247. #size-cells = <0>;
  248. ti,hwmods = "mcspi4";
  249. ti,spi-num-cs = <1>;
  250. dmas = <&sdma 70>, <&sdma 71>;
  251. dma-names = "tx0", "rx0";
  252. };
  253. mmc1: mmc@4809c000 {
  254. compatible = "ti,omap3-hsmmc";
  255. ti,hwmods = "mmc1";
  256. ti,dual-volt;
  257. dmas = <&sdma 61>, <&sdma 62>;
  258. dma-names = "tx", "rx";
  259. };
  260. mmc2: mmc@480b4000 {
  261. compatible = "ti,omap3-hsmmc";
  262. ti,hwmods = "mmc2";
  263. dmas = <&sdma 47>, <&sdma 48>;
  264. dma-names = "tx", "rx";
  265. };
  266. mmc3: mmc@480ad000 {
  267. compatible = "ti,omap3-hsmmc";
  268. ti,hwmods = "mmc3";
  269. dmas = <&sdma 77>, <&sdma 78>;
  270. dma-names = "tx", "rx";
  271. };
  272. wdt2: wdt@48314000 {
  273. compatible = "ti,omap3-wdt";
  274. ti,hwmods = "wd_timer2";
  275. };
  276. mcbsp1: mcbsp@48074000 {
  277. compatible = "ti,omap3-mcbsp";
  278. reg = <0x48074000 0xff>;
  279. reg-names = "mpu";
  280. interrupts = <16>, /* OCP compliant interrupt */
  281. <59>, /* TX interrupt */
  282. <60>; /* RX interrupt */
  283. interrupt-names = "common", "tx", "rx";
  284. ti,buffer-size = <128>;
  285. ti,hwmods = "mcbsp1";
  286. dmas = <&sdma 31>,
  287. <&sdma 32>;
  288. dma-names = "tx", "rx";
  289. };
  290. mcbsp2: mcbsp@49022000 {
  291. compatible = "ti,omap3-mcbsp";
  292. reg = <0x49022000 0xff>,
  293. <0x49028000 0xff>;
  294. reg-names = "mpu", "sidetone";
  295. interrupts = <17>, /* OCP compliant interrupt */
  296. <62>, /* TX interrupt */
  297. <63>, /* RX interrupt */
  298. <4>; /* Sidetone */
  299. interrupt-names = "common", "tx", "rx", "sidetone";
  300. ti,buffer-size = <1280>;
  301. ti,hwmods = "mcbsp2", "mcbsp2_sidetone";
  302. dmas = <&sdma 33>,
  303. <&sdma 34>;
  304. dma-names = "tx", "rx";
  305. };
  306. mcbsp3: mcbsp@49024000 {
  307. compatible = "ti,omap3-mcbsp";
  308. reg = <0x49024000 0xff>,
  309. <0x4902a000 0xff>;
  310. reg-names = "mpu", "sidetone";
  311. interrupts = <22>, /* OCP compliant interrupt */
  312. <89>, /* TX interrupt */
  313. <90>, /* RX interrupt */
  314. <5>; /* Sidetone */
  315. interrupt-names = "common", "tx", "rx", "sidetone";
  316. ti,buffer-size = <128>;
  317. ti,hwmods = "mcbsp3", "mcbsp3_sidetone";
  318. dmas = <&sdma 17>,
  319. <&sdma 18>;
  320. dma-names = "tx", "rx";
  321. };
  322. mcbsp4: mcbsp@49026000 {
  323. compatible = "ti,omap3-mcbsp";
  324. reg = <0x49026000 0xff>;
  325. reg-names = "mpu";
  326. interrupts = <23>, /* OCP compliant interrupt */
  327. <54>, /* TX interrupt */
  328. <55>; /* RX interrupt */
  329. interrupt-names = "common", "tx", "rx";
  330. ti,buffer-size = <128>;
  331. ti,hwmods = "mcbsp4";
  332. dmas = <&sdma 19>,
  333. <&sdma 20>;
  334. dma-names = "tx", "rx";
  335. };
  336. mcbsp5: mcbsp@48096000 {
  337. compatible = "ti,omap3-mcbsp";
  338. reg = <0x48096000 0xff>;
  339. reg-names = "mpu";
  340. interrupts = <27>, /* OCP compliant interrupt */
  341. <81>, /* TX interrupt */
  342. <82>; /* RX interrupt */
  343. interrupt-names = "common", "tx", "rx";
  344. ti,buffer-size = <128>;
  345. ti,hwmods = "mcbsp5";
  346. dmas = <&sdma 21>,
  347. <&sdma 22>;
  348. dma-names = "tx", "rx";
  349. };
  350. timer1: timer@48318000 {
  351. compatible = "ti,omap3430-timer";
  352. reg = <0x48318000 0x400>;
  353. interrupts = <37>;
  354. ti,hwmods = "timer1";
  355. ti,timer-alwon;
  356. };
  357. timer2: timer@49032000 {
  358. compatible = "ti,omap3430-timer";
  359. reg = <0x49032000 0x400>;
  360. interrupts = <38>;
  361. ti,hwmods = "timer2";
  362. };
  363. timer3: timer@49034000 {
  364. compatible = "ti,omap3430-timer";
  365. reg = <0x49034000 0x400>;
  366. interrupts = <39>;
  367. ti,hwmods = "timer3";
  368. };
  369. timer4: timer@49036000 {
  370. compatible = "ti,omap3430-timer";
  371. reg = <0x49036000 0x400>;
  372. interrupts = <40>;
  373. ti,hwmods = "timer4";
  374. };
  375. timer5: timer@49038000 {
  376. compatible = "ti,omap3430-timer";
  377. reg = <0x49038000 0x400>;
  378. interrupts = <41>;
  379. ti,hwmods = "timer5";
  380. ti,timer-dsp;
  381. };
  382. timer6: timer@4903a000 {
  383. compatible = "ti,omap3430-timer";
  384. reg = <0x4903a000 0x400>;
  385. interrupts = <42>;
  386. ti,hwmods = "timer6";
  387. ti,timer-dsp;
  388. };
  389. timer7: timer@4903c000 {
  390. compatible = "ti,omap3430-timer";
  391. reg = <0x4903c000 0x400>;
  392. interrupts = <43>;
  393. ti,hwmods = "timer7";
  394. ti,timer-dsp;
  395. };
  396. timer8: timer@4903e000 {
  397. compatible = "ti,omap3430-timer";
  398. reg = <0x4903e000 0x400>;
  399. interrupts = <44>;
  400. ti,hwmods = "timer8";
  401. ti,timer-pwm;
  402. ti,timer-dsp;
  403. };
  404. timer9: timer@49040000 {
  405. compatible = "ti,omap3430-timer";
  406. reg = <0x49040000 0x400>;
  407. interrupts = <45>;
  408. ti,hwmods = "timer9";
  409. ti,timer-pwm;
  410. };
  411. timer10: timer@48086000 {
  412. compatible = "ti,omap3430-timer";
  413. reg = <0x48086000 0x400>;
  414. interrupts = <46>;
  415. ti,hwmods = "timer10";
  416. ti,timer-pwm;
  417. };
  418. timer11: timer@48088000 {
  419. compatible = "ti,omap3430-timer";
  420. reg = <0x48088000 0x400>;
  421. interrupts = <47>;
  422. ti,hwmods = "timer11";
  423. ti,timer-pwm;
  424. };
  425. timer12: timer@48304000 {
  426. compatible = "ti,omap3430-timer";
  427. reg = <0x48304000 0x400>;
  428. interrupts = <95>;
  429. ti,hwmods = "timer12";
  430. ti,timer-alwon;
  431. ti,timer-secure;
  432. };
  433. usbhstll: usbhstll@48062000 {
  434. compatible = "ti,usbhs-tll";
  435. reg = <0x48062000 0x1000>;
  436. interrupts = <78>;
  437. ti,hwmods = "usb_tll_hs";
  438. };
  439. usbhshost: usbhshost@48064000 {
  440. compatible = "ti,usbhs-host";
  441. reg = <0x48064000 0x400>;
  442. ti,hwmods = "usb_host_hs";
  443. #address-cells = <1>;
  444. #size-cells = <1>;
  445. ranges;
  446. usbhsohci: ohci@48064400 {
  447. compatible = "ti,ohci-omap3", "usb-ohci";
  448. reg = <0x48064400 0x400>;
  449. interrupt-parent = <&intc>;
  450. interrupts = <76>;
  451. };
  452. usbhsehci: ehci@48064800 {
  453. compatible = "ti,ehci-omap", "usb-ehci";
  454. reg = <0x48064800 0x400>;
  455. interrupt-parent = <&intc>;
  456. interrupts = <77>;
  457. };
  458. };
  459. gpmc: gpmc@6e000000 {
  460. compatible = "ti,omap3430-gpmc";
  461. ti,hwmods = "gpmc";
  462. reg = <0x6e000000 0x02d0>;
  463. interrupts = <20>;
  464. gpmc,num-cs = <8>;
  465. gpmc,num-waitpins = <4>;
  466. #address-cells = <2>;
  467. #size-cells = <1>;
  468. };
  469. usb_otg_hs: usb_otg_hs@480ab000 {
  470. compatible = "ti,omap3-musb";
  471. reg = <0x480ab000 0x1000>;
  472. interrupts = <92>, <93>;
  473. interrupt-names = "mc", "dma";
  474. ti,hwmods = "usb_otg_hs";
  475. multipoint = <1>;
  476. num-eps = <16>;
  477. ram-bits = <12>;
  478. };
  479. };
  480. };