omap3.dtsi 12 KB

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