dra7.dtsi 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580
  1. /*
  2. * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License version 2 as
  6. * published by the Free Software Foundation.
  7. * Based on "omap4.dtsi"
  8. */
  9. #include <dt-bindings/interrupt-controller/arm-gic.h>
  10. #include <dt-bindings/pinctrl/dra.h>
  11. #include "skeleton.dtsi"
  12. / {
  13. #address-cells = <1>;
  14. #size-cells = <1>;
  15. compatible = "ti,dra7xx";
  16. interrupt-parent = <&gic>;
  17. aliases {
  18. i2c0 = &i2c1;
  19. i2c1 = &i2c2;
  20. i2c2 = &i2c3;
  21. i2c3 = &i2c4;
  22. i2c4 = &i2c5;
  23. serial0 = &uart1;
  24. serial1 = &uart2;
  25. serial2 = &uart3;
  26. serial3 = &uart4;
  27. serial4 = &uart5;
  28. serial5 = &uart6;
  29. };
  30. cpus {
  31. #address-cells = <1>;
  32. #size-cells = <0>;
  33. cpu0: cpu@0 {
  34. device_type = "cpu";
  35. compatible = "arm,cortex-a15";
  36. reg = <0>;
  37. };
  38. cpu@1 {
  39. device_type = "cpu";
  40. compatible = "arm,cortex-a15";
  41. reg = <1>;
  42. };
  43. };
  44. timer {
  45. compatible = "arm,armv7-timer";
  46. interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
  47. <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
  48. <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
  49. <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
  50. };
  51. gic: interrupt-controller@48211000 {
  52. compatible = "arm,cortex-a15-gic";
  53. interrupt-controller;
  54. #interrupt-cells = <3>;
  55. reg = <0x48211000 0x1000>,
  56. <0x48212000 0x1000>,
  57. <0x48214000 0x2000>,
  58. <0x48216000 0x2000>;
  59. interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
  60. };
  61. /*
  62. * The soc node represents the soc top level view. It is uses for IPs
  63. * that are not memory mapped in the MPU view or for the MPU itself.
  64. */
  65. soc {
  66. compatible = "ti,omap-infra";
  67. mpu {
  68. compatible = "ti,omap5-mpu";
  69. ti,hwmods = "mpu";
  70. };
  71. };
  72. /*
  73. * XXX: Use a flat representation of the SOC interconnect.
  74. * The real OMAP interconnect network is quite complex.
  75. * Since that will not bring real advantage to represent that in DT for
  76. * the moment, just use a fake OCP bus entry to represent the whole bus
  77. * hierarchy.
  78. */
  79. ocp {
  80. compatible = "ti,omap4-l3-noc", "simple-bus";
  81. #address-cells = <1>;
  82. #size-cells = <1>;
  83. ranges;
  84. ti,hwmods = "l3_main_1", "l3_main_2";
  85. reg = <0x44000000 0x2000>,
  86. <0x44800000 0x3000>;
  87. interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
  88. <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
  89. counter32k: counter@4ae04000 {
  90. compatible = "ti,omap-counter32k";
  91. reg = <0x4ae04000 0x40>;
  92. ti,hwmods = "counter_32k";
  93. };
  94. dra7_pmx_core: pinmux@4a003400 {
  95. compatible = "pinctrl-single";
  96. reg = <0x4a003400 0x0464>;
  97. #address-cells = <1>;
  98. #size-cells = <0>;
  99. pinctrl-single,register-width = <32>;
  100. pinctrl-single,function-mask = <0x3fffffff>;
  101. };
  102. sdma: dma-controller@4a056000 {
  103. compatible = "ti,omap4430-sdma";
  104. reg = <0x4a056000 0x1000>;
  105. interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
  106. <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
  107. <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>,
  108. <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
  109. #dma-cells = <1>;
  110. #dma-channels = <32>;
  111. #dma-requests = <127>;
  112. };
  113. gpio1: gpio@4ae10000 {
  114. compatible = "ti,omap4-gpio";
  115. reg = <0x4ae10000 0x200>;
  116. interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
  117. ti,hwmods = "gpio1";
  118. gpio-controller;
  119. #gpio-cells = <2>;
  120. interrupt-controller;
  121. #interrupt-cells = <1>;
  122. };
  123. gpio2: gpio@48055000 {
  124. compatible = "ti,omap4-gpio";
  125. reg = <0x48055000 0x200>;
  126. interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
  127. ti,hwmods = "gpio2";
  128. gpio-controller;
  129. #gpio-cells = <2>;
  130. interrupt-controller;
  131. #interrupt-cells = <1>;
  132. };
  133. gpio3: gpio@48057000 {
  134. compatible = "ti,omap4-gpio";
  135. reg = <0x48057000 0x200>;
  136. interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
  137. ti,hwmods = "gpio3";
  138. gpio-controller;
  139. #gpio-cells = <2>;
  140. interrupt-controller;
  141. #interrupt-cells = <1>;
  142. };
  143. gpio4: gpio@48059000 {
  144. compatible = "ti,omap4-gpio";
  145. reg = <0x48059000 0x200>;
  146. interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
  147. ti,hwmods = "gpio4";
  148. gpio-controller;
  149. #gpio-cells = <2>;
  150. interrupt-controller;
  151. #interrupt-cells = <1>;
  152. };
  153. gpio5: gpio@4805b000 {
  154. compatible = "ti,omap4-gpio";
  155. reg = <0x4805b000 0x200>;
  156. interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
  157. ti,hwmods = "gpio5";
  158. gpio-controller;
  159. #gpio-cells = <2>;
  160. interrupt-controller;
  161. #interrupt-cells = <1>;
  162. };
  163. gpio6: gpio@4805d000 {
  164. compatible = "ti,omap4-gpio";
  165. reg = <0x4805d000 0x200>;
  166. interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
  167. ti,hwmods = "gpio6";
  168. gpio-controller;
  169. #gpio-cells = <2>;
  170. interrupt-controller;
  171. #interrupt-cells = <1>;
  172. };
  173. gpio7: gpio@48051000 {
  174. compatible = "ti,omap4-gpio";
  175. reg = <0x48051000 0x200>;
  176. interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
  177. ti,hwmods = "gpio7";
  178. gpio-controller;
  179. #gpio-cells = <2>;
  180. interrupt-controller;
  181. #interrupt-cells = <1>;
  182. };
  183. gpio8: gpio@48053000 {
  184. compatible = "ti,omap4-gpio";
  185. reg = <0x48053000 0x200>;
  186. interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
  187. ti,hwmods = "gpio8";
  188. gpio-controller;
  189. #gpio-cells = <2>;
  190. interrupt-controller;
  191. #interrupt-cells = <1>;
  192. };
  193. uart1: serial@4806a000 {
  194. compatible = "ti,omap4-uart";
  195. reg = <0x4806a000 0x100>;
  196. interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
  197. ti,hwmods = "uart1";
  198. clock-frequency = <48000000>;
  199. status = "disabled";
  200. };
  201. uart2: serial@4806c000 {
  202. compatible = "ti,omap4-uart";
  203. reg = <0x4806c000 0x100>;
  204. interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
  205. ti,hwmods = "uart2";
  206. clock-frequency = <48000000>;
  207. status = "disabled";
  208. };
  209. uart3: serial@48020000 {
  210. compatible = "ti,omap4-uart";
  211. reg = <0x48020000 0x100>;
  212. interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
  213. ti,hwmods = "uart3";
  214. clock-frequency = <48000000>;
  215. status = "disabled";
  216. };
  217. uart4: serial@4806e000 {
  218. compatible = "ti,omap4-uart";
  219. reg = <0x4806e000 0x100>;
  220. interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
  221. ti,hwmods = "uart4";
  222. clock-frequency = <48000000>;
  223. status = "disabled";
  224. };
  225. uart5: serial@48066000 {
  226. compatible = "ti,omap4-uart";
  227. reg = <0x48066000 0x100>;
  228. interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
  229. ti,hwmods = "uart5";
  230. clock-frequency = <48000000>;
  231. status = "disabled";
  232. };
  233. uart6: serial@48068000 {
  234. compatible = "ti,omap4-uart";
  235. reg = <0x48068000 0x100>;
  236. interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
  237. ti,hwmods = "uart6";
  238. clock-frequency = <48000000>;
  239. status = "disabled";
  240. };
  241. uart7: serial@48420000 {
  242. compatible = "ti,omap4-uart";
  243. reg = <0x48420000 0x100>;
  244. ti,hwmods = "uart7";
  245. clock-frequency = <48000000>;
  246. status = "disabled";
  247. };
  248. uart8: serial@48422000 {
  249. compatible = "ti,omap4-uart";
  250. reg = <0x48422000 0x100>;
  251. ti,hwmods = "uart8";
  252. clock-frequency = <48000000>;
  253. status = "disabled";
  254. };
  255. uart9: serial@48424000 {
  256. compatible = "ti,omap4-uart";
  257. reg = <0x48424000 0x100>;
  258. ti,hwmods = "uart9";
  259. clock-frequency = <48000000>;
  260. status = "disabled";
  261. };
  262. uart10: serial@4ae2b000 {
  263. compatible = "ti,omap4-uart";
  264. reg = <0x4ae2b000 0x100>;
  265. ti,hwmods = "uart10";
  266. clock-frequency = <48000000>;
  267. status = "disabled";
  268. };
  269. timer1: timer@4ae18000 {
  270. compatible = "ti,omap5430-timer";
  271. reg = <0x4ae18000 0x80>;
  272. interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
  273. ti,hwmods = "timer1";
  274. ti,timer-alwon;
  275. };
  276. timer2: timer@48032000 {
  277. compatible = "ti,omap5430-timer";
  278. reg = <0x48032000 0x80>;
  279. interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
  280. ti,hwmods = "timer2";
  281. };
  282. timer3: timer@48034000 {
  283. compatible = "ti,omap5430-timer";
  284. reg = <0x48034000 0x80>;
  285. interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
  286. ti,hwmods = "timer3";
  287. };
  288. timer4: timer@48036000 {
  289. compatible = "ti,omap5430-timer";
  290. reg = <0x48036000 0x80>;
  291. interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
  292. ti,hwmods = "timer4";
  293. };
  294. timer5: timer@48820000 {
  295. compatible = "ti,omap5430-timer";
  296. reg = <0x48820000 0x80>;
  297. interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
  298. ti,hwmods = "timer5";
  299. ti,timer-dsp;
  300. };
  301. timer6: timer@48822000 {
  302. compatible = "ti,omap5430-timer";
  303. reg = <0x48822000 0x80>;
  304. interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
  305. ti,hwmods = "timer6";
  306. ti,timer-dsp;
  307. ti,timer-pwm;
  308. };
  309. timer7: timer@48824000 {
  310. compatible = "ti,omap5430-timer";
  311. reg = <0x48824000 0x80>;
  312. interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
  313. ti,hwmods = "timer7";
  314. ti,timer-dsp;
  315. };
  316. timer8: timer@48826000 {
  317. compatible = "ti,omap5430-timer";
  318. reg = <0x48826000 0x80>;
  319. interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
  320. ti,hwmods = "timer8";
  321. ti,timer-dsp;
  322. ti,timer-pwm;
  323. };
  324. timer9: timer@4803e000 {
  325. compatible = "ti,omap5430-timer";
  326. reg = <0x4803e000 0x80>;
  327. interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
  328. ti,hwmods = "timer9";
  329. };
  330. timer10: timer@48086000 {
  331. compatible = "ti,omap5430-timer";
  332. reg = <0x48086000 0x80>;
  333. interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
  334. ti,hwmods = "timer10";
  335. };
  336. timer11: timer@48088000 {
  337. compatible = "ti,omap5430-timer";
  338. reg = <0x48088000 0x80>;
  339. interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
  340. ti,hwmods = "timer11";
  341. ti,timer-pwm;
  342. };
  343. timer13: timer@48828000 {
  344. compatible = "ti,omap5430-timer";
  345. reg = <0x48828000 0x80>;
  346. ti,hwmods = "timer13";
  347. status = "disabled";
  348. };
  349. timer14: timer@4882a000 {
  350. compatible = "ti,omap5430-timer";
  351. reg = <0x4882a000 0x80>;
  352. ti,hwmods = "timer14";
  353. status = "disabled";
  354. };
  355. timer15: timer@4882c000 {
  356. compatible = "ti,omap5430-timer";
  357. reg = <0x4882c000 0x80>;
  358. ti,hwmods = "timer15";
  359. status = "disabled";
  360. };
  361. timer16: timer@4882e000 {
  362. compatible = "ti,omap5430-timer";
  363. reg = <0x4882e000 0x80>;
  364. ti,hwmods = "timer16";
  365. status = "disabled";
  366. };
  367. wdt2: wdt@4ae14000 {
  368. compatible = "ti,omap4-wdt";
  369. reg = <0x4ae14000 0x80>;
  370. interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
  371. ti,hwmods = "wd_timer2";
  372. };
  373. i2c1: i2c@48070000 {
  374. compatible = "ti,omap4-i2c";
  375. reg = <0x48070000 0x100>;
  376. interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
  377. #address-cells = <1>;
  378. #size-cells = <0>;
  379. ti,hwmods = "i2c1";
  380. status = "disabled";
  381. };
  382. i2c2: i2c@48072000 {
  383. compatible = "ti,omap4-i2c";
  384. reg = <0x48072000 0x100>;
  385. interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
  386. #address-cells = <1>;
  387. #size-cells = <0>;
  388. ti,hwmods = "i2c2";
  389. status = "disabled";
  390. };
  391. i2c3: i2c@48060000 {
  392. compatible = "ti,omap4-i2c";
  393. reg = <0x48060000 0x100>;
  394. interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
  395. #address-cells = <1>;
  396. #size-cells = <0>;
  397. ti,hwmods = "i2c3";
  398. status = "disabled";
  399. };
  400. i2c4: i2c@4807a000 {
  401. compatible = "ti,omap4-i2c";
  402. reg = <0x4807a000 0x100>;
  403. interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
  404. #address-cells = <1>;
  405. #size-cells = <0>;
  406. ti,hwmods = "i2c4";
  407. status = "disabled";
  408. };
  409. i2c5: i2c@4807c000 {
  410. compatible = "ti,omap4-i2c";
  411. reg = <0x4807c000 0x100>;
  412. interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
  413. #address-cells = <1>;
  414. #size-cells = <0>;
  415. ti,hwmods = "i2c5";
  416. status = "disabled";
  417. };
  418. mmc1: mmc@4809c000 {
  419. compatible = "ti,omap4-hsmmc";
  420. reg = <0x4809c000 0x400>;
  421. interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
  422. ti,hwmods = "mmc1";
  423. ti,dual-volt;
  424. ti,needs-special-reset;
  425. dmas = <&sdma 61>, <&sdma 62>;
  426. dma-names = "tx", "rx";
  427. status = "disabled";
  428. };
  429. mmc2: mmc@480b4000 {
  430. compatible = "ti,omap4-hsmmc";
  431. reg = <0x480b4000 0x400>;
  432. interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
  433. ti,hwmods = "mmc2";
  434. ti,needs-special-reset;
  435. dmas = <&sdma 47>, <&sdma 48>;
  436. dma-names = "tx", "rx";
  437. status = "disabled";
  438. };
  439. mmc3: mmc@480ad000 {
  440. compatible = "ti,omap4-hsmmc";
  441. reg = <0x480ad000 0x400>;
  442. interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
  443. ti,hwmods = "mmc3";
  444. ti,needs-special-reset;
  445. dmas = <&sdma 77>, <&sdma 78>;
  446. dma-names = "tx", "rx";
  447. status = "disabled";
  448. };
  449. mmc4: mmc@480d1000 {
  450. compatible = "ti,omap4-hsmmc";
  451. reg = <0x480d1000 0x400>;
  452. interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
  453. ti,hwmods = "mmc4";
  454. ti,needs-special-reset;
  455. dmas = <&sdma 57>, <&sdma 58>;
  456. dma-names = "tx", "rx";
  457. status = "disabled";
  458. };
  459. mcspi1: spi@48098000 {
  460. compatible = "ti,omap4-mcspi";
  461. reg = <0x48098000 0x200>;
  462. interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
  463. #address-cells = <1>;
  464. #size-cells = <0>;
  465. ti,hwmods = "mcspi1";
  466. ti,spi-num-cs = <4>;
  467. dmas = <&sdma 35>,
  468. <&sdma 36>,
  469. <&sdma 37>,
  470. <&sdma 38>,
  471. <&sdma 39>,
  472. <&sdma 40>,
  473. <&sdma 41>,
  474. <&sdma 42>;
  475. dma-names = "tx0", "rx0", "tx1", "rx1",
  476. "tx2", "rx2", "tx3", "rx3";
  477. status = "disabled";
  478. };
  479. mcspi2: spi@4809a000 {
  480. compatible = "ti,omap4-mcspi";
  481. reg = <0x4809a000 0x200>;
  482. interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
  483. #address-cells = <1>;
  484. #size-cells = <0>;
  485. ti,hwmods = "mcspi2";
  486. ti,spi-num-cs = <2>;
  487. dmas = <&sdma 43>,
  488. <&sdma 44>,
  489. <&sdma 45>,
  490. <&sdma 46>;
  491. dma-names = "tx0", "rx0", "tx1", "rx1";
  492. status = "disabled";
  493. };
  494. mcspi3: spi@480b8000 {
  495. compatible = "ti,omap4-mcspi";
  496. reg = <0x480b8000 0x200>;
  497. interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
  498. #address-cells = <1>;
  499. #size-cells = <0>;
  500. ti,hwmods = "mcspi3";
  501. ti,spi-num-cs = <2>;
  502. dmas = <&sdma 15>, <&sdma 16>;
  503. dma-names = "tx0", "rx0";
  504. status = "disabled";
  505. };
  506. mcspi4: spi@480ba000 {
  507. compatible = "ti,omap4-mcspi";
  508. reg = <0x480ba000 0x200>;
  509. interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
  510. #address-cells = <1>;
  511. #size-cells = <0>;
  512. ti,hwmods = "mcspi4";
  513. ti,spi-num-cs = <1>;
  514. dmas = <&sdma 70>, <&sdma 71>;
  515. dma-names = "tx0", "rx0";
  516. status = "disabled";
  517. };
  518. };
  519. };