omap5.dtsi 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340
  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. ti,hwmods = "gpio1";
  98. gpio-controller;
  99. #gpio-cells = <2>;
  100. interrupt-controller;
  101. #interrupt-cells = <1>;
  102. };
  103. gpio2: gpio@48055000 {
  104. compatible = "ti,omap4-gpio";
  105. ti,hwmods = "gpio2";
  106. gpio-controller;
  107. #gpio-cells = <2>;
  108. interrupt-controller;
  109. #interrupt-cells = <1>;
  110. };
  111. gpio3: gpio@48057000 {
  112. compatible = "ti,omap4-gpio";
  113. ti,hwmods = "gpio3";
  114. gpio-controller;
  115. #gpio-cells = <2>;
  116. interrupt-controller;
  117. #interrupt-cells = <1>;
  118. };
  119. gpio4: gpio@48059000 {
  120. compatible = "ti,omap4-gpio";
  121. ti,hwmods = "gpio4";
  122. gpio-controller;
  123. #gpio-cells = <2>;
  124. interrupt-controller;
  125. #interrupt-cells = <1>;
  126. };
  127. gpio5: gpio@4805b000 {
  128. compatible = "ti,omap4-gpio";
  129. ti,hwmods = "gpio5";
  130. gpio-controller;
  131. #gpio-cells = <2>;
  132. interrupt-controller;
  133. #interrupt-cells = <1>;
  134. };
  135. gpio6: gpio@4805d000 {
  136. compatible = "ti,omap4-gpio";
  137. ti,hwmods = "gpio6";
  138. gpio-controller;
  139. #gpio-cells = <2>;
  140. interrupt-controller;
  141. #interrupt-cells = <1>;
  142. };
  143. gpio7: gpio@48051000 {
  144. compatible = "ti,omap4-gpio";
  145. ti,hwmods = "gpio7";
  146. gpio-controller;
  147. #gpio-cells = <2>;
  148. interrupt-controller;
  149. #interrupt-cells = <1>;
  150. };
  151. gpio8: gpio@48053000 {
  152. compatible = "ti,omap4-gpio";
  153. ti,hwmods = "gpio8";
  154. gpio-controller;
  155. #gpio-cells = <2>;
  156. interrupt-controller;
  157. #interrupt-cells = <1>;
  158. };
  159. i2c1: i2c@48070000 {
  160. compatible = "ti,omap4-i2c";
  161. #address-cells = <1>;
  162. #size-cells = <0>;
  163. ti,hwmods = "i2c1";
  164. };
  165. i2c2: i2c@48072000 {
  166. compatible = "ti,omap4-i2c";
  167. #address-cells = <1>;
  168. #size-cells = <0>;
  169. ti,hwmods = "i2c2";
  170. };
  171. i2c3: i2c@48060000 {
  172. compatible = "ti,omap4-i2c";
  173. #address-cells = <1>;
  174. #size-cells = <0>;
  175. ti,hwmods = "i2c3";
  176. };
  177. i2c4: i2c@4807A000 {
  178. compatible = "ti,omap4-i2c";
  179. #address-cells = <1>;
  180. #size-cells = <0>;
  181. ti,hwmods = "i2c4";
  182. };
  183. i2c5: i2c@4807C000 {
  184. compatible = "ti,omap4-i2c";
  185. #address-cells = <1>;
  186. #size-cells = <0>;
  187. ti,hwmods = "i2c5";
  188. };
  189. uart1: serial@4806a000 {
  190. compatible = "ti,omap4-uart";
  191. ti,hwmods = "uart1";
  192. clock-frequency = <48000000>;
  193. };
  194. uart2: serial@4806c000 {
  195. compatible = "ti,omap4-uart";
  196. ti,hwmods = "uart2";
  197. clock-frequency = <48000000>;
  198. };
  199. uart3: serial@48020000 {
  200. compatible = "ti,omap4-uart";
  201. ti,hwmods = "uart3";
  202. clock-frequency = <48000000>;
  203. };
  204. uart4: serial@4806e000 {
  205. compatible = "ti,omap4-uart";
  206. ti,hwmods = "uart4";
  207. clock-frequency = <48000000>;
  208. };
  209. uart5: serial@48066000 {
  210. compatible = "ti,omap5-uart";
  211. ti,hwmods = "uart5";
  212. clock-frequency = <48000000>;
  213. };
  214. uart6: serial@48068000 {
  215. compatible = "ti,omap6-uart";
  216. ti,hwmods = "uart6";
  217. clock-frequency = <48000000>;
  218. };
  219. mmc1: mmc@4809c000 {
  220. compatible = "ti,omap4-hsmmc";
  221. ti,hwmods = "mmc1";
  222. ti,dual-volt;
  223. ti,needs-special-reset;
  224. };
  225. mmc2: mmc@480b4000 {
  226. compatible = "ti,omap4-hsmmc";
  227. ti,hwmods = "mmc2";
  228. ti,needs-special-reset;
  229. };
  230. mmc3: mmc@480ad000 {
  231. compatible = "ti,omap4-hsmmc";
  232. ti,hwmods = "mmc3";
  233. ti,needs-special-reset;
  234. };
  235. mmc4: mmc@480d1000 {
  236. compatible = "ti,omap4-hsmmc";
  237. ti,hwmods = "mmc4";
  238. ti,needs-special-reset;
  239. };
  240. mmc5: mmc@480d5000 {
  241. compatible = "ti,omap4-hsmmc";
  242. ti,hwmods = "mmc5";
  243. ti,needs-special-reset;
  244. };
  245. keypad: keypad@4ae1c000 {
  246. compatible = "ti,omap4-keypad";
  247. ti,hwmods = "kbd";
  248. };
  249. mcpdm: mcpdm@40132000 {
  250. compatible = "ti,omap4-mcpdm";
  251. reg = <0x40132000 0x7f>, /* MPU private access */
  252. <0x49032000 0x7f>; /* L3 Interconnect */
  253. reg-names = "mpu", "dma";
  254. interrupts = <0 112 0x4>;
  255. interrupt-parent = <&gic>;
  256. ti,hwmods = "mcpdm";
  257. };
  258. dmic: dmic@4012e000 {
  259. compatible = "ti,omap4-dmic";
  260. reg = <0x4012e000 0x7f>, /* MPU private access */
  261. <0x4902e000 0x7f>; /* L3 Interconnect */
  262. reg-names = "mpu", "dma";
  263. interrupts = <0 114 0x4>;
  264. interrupt-parent = <&gic>;
  265. ti,hwmods = "dmic";
  266. };
  267. mcbsp1: mcbsp@40122000 {
  268. compatible = "ti,omap4-mcbsp";
  269. reg = <0x40122000 0xff>, /* MPU private access */
  270. <0x49022000 0xff>; /* L3 Interconnect */
  271. reg-names = "mpu", "dma";
  272. interrupts = <0 17 0x4>;
  273. interrupt-names = "common";
  274. interrupt-parent = <&gic>;
  275. ti,buffer-size = <128>;
  276. ti,hwmods = "mcbsp1";
  277. };
  278. mcbsp2: mcbsp@40124000 {
  279. compatible = "ti,omap4-mcbsp";
  280. reg = <0x40124000 0xff>, /* MPU private access */
  281. <0x49024000 0xff>; /* L3 Interconnect */
  282. reg-names = "mpu", "dma";
  283. interrupts = <0 22 0x4>;
  284. interrupt-names = "common";
  285. interrupt-parent = <&gic>;
  286. ti,buffer-size = <128>;
  287. ti,hwmods = "mcbsp2";
  288. };
  289. mcbsp3: mcbsp@40126000 {
  290. compatible = "ti,omap4-mcbsp";
  291. reg = <0x40126000 0xff>, /* MPU private access */
  292. <0x49026000 0xff>; /* L3 Interconnect */
  293. reg-names = "mpu", "dma";
  294. interrupts = <0 23 0x4>;
  295. interrupt-names = "common";
  296. interrupt-parent = <&gic>;
  297. ti,buffer-size = <128>;
  298. ti,hwmods = "mcbsp3";
  299. };
  300. };
  301. };