omap5.dtsi 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361
  1. /*
  2. * Copyright (C) 2012 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. /*
  10. * Carveout for multimedia usecases
  11. * It should be the last 48MB of the first 512MB memory part
  12. * In theory, it should not even exist. That zone should be reserved
  13. * dynamically during the .reserve callback.
  14. */
  15. /memreserve/ 0x9d000000 0x03000000;
  16. /include/ "skeleton.dtsi"
  17. / {
  18. compatible = "ti,omap5";
  19. interrupt-parent = <&gic>;
  20. aliases {
  21. serial0 = &uart1;
  22. serial1 = &uart2;
  23. serial2 = &uart3;
  24. serial3 = &uart4;
  25. serial4 = &uart5;
  26. serial5 = &uart6;
  27. };
  28. cpus {
  29. cpu@0 {
  30. compatible = "arm,cortex-a15";
  31. timer {
  32. compatible = "arm,armv7-timer";
  33. /* 14th PPI IRQ, active low level-sensitive */
  34. interrupts = <1 14 0x308>;
  35. clock-frequency = <6144000>;
  36. };
  37. };
  38. cpu@1 {
  39. compatible = "arm,cortex-a15";
  40. timer {
  41. compatible = "arm,armv7-timer";
  42. /* 14th PPI IRQ, active low level-sensitive */
  43. interrupts = <1 14 0x308>;
  44. clock-frequency = <6144000>;
  45. };
  46. };
  47. };
  48. /*
  49. * The soc node represents the soc top level view. It is uses for IPs
  50. * that are not memory mapped in the MPU view or for the MPU itself.
  51. */
  52. soc {
  53. compatible = "ti,omap-infra";
  54. mpu {
  55. compatible = "ti,omap5-mpu";
  56. ti,hwmods = "mpu";
  57. };
  58. };
  59. /*
  60. * XXX: Use a flat representation of the OMAP3 interconnect.
  61. * The real OMAP interconnect network is quite complex.
  62. * Since that will not bring real advantage to represent that in DT for
  63. * the moment, just use a fake OCP bus entry to represent the whole bus
  64. * hierarchy.
  65. */
  66. ocp {
  67. compatible = "ti,omap4-l3-noc", "simple-bus";
  68. #address-cells = <1>;
  69. #size-cells = <1>;
  70. ranges;
  71. ti,hwmods = "l3_main_1", "l3_main_2", "l3_main_3";
  72. omap5_pmx_core: pinmux@4a002840 {
  73. compatible = "ti,omap4-padconf", "pinctrl-single";
  74. reg = <0x4a002840 0x01b6>;
  75. #address-cells = <1>;
  76. #size-cells = <0>;
  77. pinctrl-single,register-width = <16>;
  78. pinctrl-single,function-mask = <0x7fff>;
  79. };
  80. omap5_pmx_wkup: pinmux@4ae0c840 {
  81. compatible = "ti,omap4-padconf", "pinctrl-single";
  82. reg = <0x4ae0c840 0x0038>;
  83. #address-cells = <1>;
  84. #size-cells = <0>;
  85. pinctrl-single,register-width = <16>;
  86. pinctrl-single,function-mask = <0x7fff>;
  87. };
  88. gic: interrupt-controller@48211000 {
  89. compatible = "arm,cortex-a15-gic";
  90. interrupt-controller;
  91. #interrupt-cells = <3>;
  92. reg = <0x48211000 0x1000>,
  93. <0x48212000 0x1000>;
  94. };
  95. gpio1: gpio@4ae10000 {
  96. compatible = "ti,omap4-gpio";
  97. reg = <0x4ae10000 0x200>;
  98. interrupts = <0 29 0x4>;
  99. ti,hwmods = "gpio1";
  100. gpio-controller;
  101. #gpio-cells = <2>;
  102. interrupt-controller;
  103. #interrupt-cells = <1>;
  104. };
  105. gpio2: gpio@48055000 {
  106. compatible = "ti,omap4-gpio";
  107. reg = <0x48055000 0x200>;
  108. interrupts = <0 30 0x4>;
  109. ti,hwmods = "gpio2";
  110. gpio-controller;
  111. #gpio-cells = <2>;
  112. interrupt-controller;
  113. #interrupt-cells = <1>;
  114. };
  115. gpio3: gpio@48057000 {
  116. compatible = "ti,omap4-gpio";
  117. reg = <0x48057000 0x200>;
  118. interrupts = <0 31 0x4>;
  119. ti,hwmods = "gpio3";
  120. gpio-controller;
  121. #gpio-cells = <2>;
  122. interrupt-controller;
  123. #interrupt-cells = <1>;
  124. };
  125. gpio4: gpio@48059000 {
  126. compatible = "ti,omap4-gpio";
  127. reg = <0x48059000 0x200>;
  128. interrupts = <0 32 0x4>;
  129. ti,hwmods = "gpio4";
  130. gpio-controller;
  131. #gpio-cells = <2>;
  132. interrupt-controller;
  133. #interrupt-cells = <1>;
  134. };
  135. gpio5: gpio@4805b000 {
  136. compatible = "ti,omap4-gpio";
  137. reg = <0x4805b000 0x200>;
  138. interrupts = <0 33 0x4>;
  139. ti,hwmods = "gpio5";
  140. gpio-controller;
  141. #gpio-cells = <2>;
  142. interrupt-controller;
  143. #interrupt-cells = <1>;
  144. };
  145. gpio6: gpio@4805d000 {
  146. compatible = "ti,omap4-gpio";
  147. reg = <0x4805d000 0x200>;
  148. interrupts = <0 34 0x4>;
  149. ti,hwmods = "gpio6";
  150. gpio-controller;
  151. #gpio-cells = <2>;
  152. interrupt-controller;
  153. #interrupt-cells = <1>;
  154. };
  155. gpio7: gpio@48051000 {
  156. compatible = "ti,omap4-gpio";
  157. reg = <0x48051000 0x200>;
  158. interrupts = <0 35 0x4>;
  159. ti,hwmods = "gpio7";
  160. gpio-controller;
  161. #gpio-cells = <2>;
  162. interrupt-controller;
  163. #interrupt-cells = <1>;
  164. };
  165. gpio8: gpio@48053000 {
  166. compatible = "ti,omap4-gpio";
  167. reg = <0x48053000 0x200>;
  168. interrupts = <0 121 0x4>;
  169. ti,hwmods = "gpio8";
  170. gpio-controller;
  171. #gpio-cells = <2>;
  172. interrupt-controller;
  173. #interrupt-cells = <1>;
  174. };
  175. i2c1: i2c@48070000 {
  176. compatible = "ti,omap4-i2c";
  177. reg = <0x48070000 0x100>;
  178. interrupts = <0 56 0x4>;
  179. #address-cells = <1>;
  180. #size-cells = <0>;
  181. ti,hwmods = "i2c1";
  182. };
  183. i2c2: i2c@48072000 {
  184. compatible = "ti,omap4-i2c";
  185. reg = <0x48072000 0x100>;
  186. interrupts = <0 57 0x4>;
  187. #address-cells = <1>;
  188. #size-cells = <0>;
  189. ti,hwmods = "i2c2";
  190. };
  191. i2c3: i2c@48060000 {
  192. compatible = "ti,omap4-i2c";
  193. reg = <0x48060000 0x100>;
  194. interrupts = <0 61 0x4>;
  195. #address-cells = <1>;
  196. #size-cells = <0>;
  197. ti,hwmods = "i2c3";
  198. };
  199. i2c4: i2c@4807a000 {
  200. compatible = "ti,omap4-i2c";
  201. reg = <0x4807a000 0x100>;
  202. interrupts = <0 62 0x4>;
  203. #address-cells = <1>;
  204. #size-cells = <0>;
  205. ti,hwmods = "i2c4";
  206. };
  207. i2c5: i2c@4807c000 {
  208. compatible = "ti,omap4-i2c";
  209. reg = <0x4807c000 0x100>;
  210. interrupts = <0 60 0x4>;
  211. #address-cells = <1>;
  212. #size-cells = <0>;
  213. ti,hwmods = "i2c5";
  214. };
  215. uart1: serial@4806a000 {
  216. compatible = "ti,omap4-uart";
  217. ti,hwmods = "uart1";
  218. clock-frequency = <48000000>;
  219. };
  220. uart2: serial@4806c000 {
  221. compatible = "ti,omap4-uart";
  222. ti,hwmods = "uart2";
  223. clock-frequency = <48000000>;
  224. };
  225. uart3: serial@48020000 {
  226. compatible = "ti,omap4-uart";
  227. ti,hwmods = "uart3";
  228. clock-frequency = <48000000>;
  229. };
  230. uart4: serial@4806e000 {
  231. compatible = "ti,omap4-uart";
  232. ti,hwmods = "uart4";
  233. clock-frequency = <48000000>;
  234. };
  235. uart5: serial@48066000 {
  236. compatible = "ti,omap5-uart";
  237. ti,hwmods = "uart5";
  238. clock-frequency = <48000000>;
  239. };
  240. uart6: serial@48068000 {
  241. compatible = "ti,omap6-uart";
  242. ti,hwmods = "uart6";
  243. clock-frequency = <48000000>;
  244. };
  245. mmc1: mmc@4809c000 {
  246. compatible = "ti,omap4-hsmmc";
  247. ti,hwmods = "mmc1";
  248. ti,dual-volt;
  249. ti,needs-special-reset;
  250. };
  251. mmc2: mmc@480b4000 {
  252. compatible = "ti,omap4-hsmmc";
  253. ti,hwmods = "mmc2";
  254. ti,needs-special-reset;
  255. };
  256. mmc3: mmc@480ad000 {
  257. compatible = "ti,omap4-hsmmc";
  258. ti,hwmods = "mmc3";
  259. ti,needs-special-reset;
  260. };
  261. mmc4: mmc@480d1000 {
  262. compatible = "ti,omap4-hsmmc";
  263. ti,hwmods = "mmc4";
  264. ti,needs-special-reset;
  265. };
  266. mmc5: mmc@480d5000 {
  267. compatible = "ti,omap4-hsmmc";
  268. ti,hwmods = "mmc5";
  269. ti,needs-special-reset;
  270. };
  271. keypad: keypad@4ae1c000 {
  272. compatible = "ti,omap4-keypad";
  273. ti,hwmods = "kbd";
  274. };
  275. mcpdm: mcpdm@40132000 {
  276. compatible = "ti,omap4-mcpdm";
  277. reg = <0x40132000 0x7f>, /* MPU private access */
  278. <0x49032000 0x7f>; /* L3 Interconnect */
  279. reg-names = "mpu", "dma";
  280. interrupts = <0 112 0x4>;
  281. ti,hwmods = "mcpdm";
  282. };
  283. dmic: dmic@4012e000 {
  284. compatible = "ti,omap4-dmic";
  285. reg = <0x4012e000 0x7f>, /* MPU private access */
  286. <0x4902e000 0x7f>; /* L3 Interconnect */
  287. reg-names = "mpu", "dma";
  288. interrupts = <0 114 0x4>;
  289. ti,hwmods = "dmic";
  290. };
  291. mcbsp1: mcbsp@40122000 {
  292. compatible = "ti,omap4-mcbsp";
  293. reg = <0x40122000 0xff>, /* MPU private access */
  294. <0x49022000 0xff>; /* L3 Interconnect */
  295. reg-names = "mpu", "dma";
  296. interrupts = <0 17 0x4>;
  297. interrupt-names = "common";
  298. ti,buffer-size = <128>;
  299. ti,hwmods = "mcbsp1";
  300. };
  301. mcbsp2: mcbsp@40124000 {
  302. compatible = "ti,omap4-mcbsp";
  303. reg = <0x40124000 0xff>, /* MPU private access */
  304. <0x49024000 0xff>; /* L3 Interconnect */
  305. reg-names = "mpu", "dma";
  306. interrupts = <0 22 0x4>;
  307. interrupt-names = "common";
  308. ti,buffer-size = <128>;
  309. ti,hwmods = "mcbsp2";
  310. };
  311. mcbsp3: mcbsp@40126000 {
  312. compatible = "ti,omap4-mcbsp";
  313. reg = <0x40126000 0xff>, /* MPU private access */
  314. <0x49026000 0xff>; /* L3 Interconnect */
  315. reg-names = "mpu", "dma";
  316. interrupts = <0 23 0x4>;
  317. interrupt-names = "common";
  318. ti,buffer-size = <128>;
  319. ti,hwmods = "mcbsp3";
  320. };
  321. };
  322. };