omap3.dtsi 12 KB

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