am4372.dtsi 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422
  1. /*
  2. * Device Tree Source for AM4372 SoC
  3. *
  4. * Copyright (C) 2013 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/interrupt-controller/arm-gic.h>
  11. #include "skeleton.dtsi"
  12. / {
  13. compatible = "ti,am4372", "ti,am43";
  14. interrupt-parent = <&gic>;
  15. aliases {
  16. serial0 = &uart0;
  17. };
  18. cpus {
  19. #address-cells = <1>;
  20. #size-cells = <0>;
  21. cpu@0 {
  22. compatible = "arm,cortex-a9";
  23. device_type = "cpu";
  24. reg = <0>;
  25. };
  26. };
  27. gic: interrupt-controller@48241000 {
  28. compatible = "arm,cortex-a9-gic";
  29. interrupt-controller;
  30. #interrupt-cells = <3>;
  31. reg = <0x48241000 0x1000>,
  32. <0x48240100 0x0100>;
  33. };
  34. ocp {
  35. compatible = "simple-bus";
  36. #address-cells = <1>;
  37. #size-cells = <1>;
  38. ranges;
  39. uart0: serial@44e09000 {
  40. compatible = "ti,am4372-uart","ti,omap2-uart";
  41. reg = <0x44e09000 0x2000>;
  42. interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
  43. ti,hwmods = "uart1";
  44. };
  45. uart1: serial@48022000 {
  46. compatible = "ti,am4372-uart","ti,omap2-uart";
  47. reg = <0x48022000 0x2000>;
  48. interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
  49. ti,hwmods = "uart2";
  50. status = "disabled";
  51. };
  52. uart2: serial@48024000 {
  53. compatible = "ti,am4372-uart","ti,omap2-uart";
  54. reg = <0x48024000 0x2000>;
  55. interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
  56. ti,hwmods = "uart3";
  57. status = "disabled";
  58. };
  59. uart3: serial@481a6000 {
  60. compatible = "ti,am4372-uart","ti,omap2-uart";
  61. reg = <0x481a6000 0x2000>;
  62. interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
  63. ti,hwmods = "uart4";
  64. status = "disabled";
  65. };
  66. uart4: serial@481a8000 {
  67. compatible = "ti,am4372-uart","ti,omap2-uart";
  68. reg = <0x481a8000 0x2000>;
  69. interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
  70. ti,hwmods = "uart5";
  71. status = "disabled";
  72. };
  73. uart5: serial@481aa000 {
  74. compatible = "ti,am4372-uart","ti,omap2-uart";
  75. reg = <0x481aa000 0x2000>;
  76. interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
  77. ti,hwmods = "uart6";
  78. status = "disabled";
  79. };
  80. timer1: timer@44e31000 {
  81. compatible = "ti,am4372-timer-1ms","ti,am335x-timer-1ms";
  82. reg = <0x44e31000 0x400>;
  83. interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
  84. ti,timer-alwon;
  85. ti,hwmods = "timer1";
  86. };
  87. timer2: timer@48040000 {
  88. compatible = "ti,am4372-timer","ti,am335x-timer";
  89. reg = <0x48040000 0x400>;
  90. interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
  91. ti,hwmods = "timer2";
  92. };
  93. timer3: timer@48042000 {
  94. compatible = "ti,am4372-timer","ti,am335x-timer";
  95. reg = <0x48042000 0x400>;
  96. interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
  97. ti,hwmods = "timer3";
  98. status = "disabled";
  99. };
  100. timer4: timer@48044000 {
  101. compatible = "ti,am4372-timer","ti,am335x-timer";
  102. reg = <0x48044000 0x400>;
  103. interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
  104. ti,timer-pwm;
  105. ti,hwmods = "timer4";
  106. status = "disabled";
  107. };
  108. timer5: timer@48046000 {
  109. compatible = "ti,am4372-timer","ti,am335x-timer";
  110. reg = <0x48046000 0x400>;
  111. interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
  112. ti,timer-pwm;
  113. ti,hwmods = "timer5";
  114. status = "disabled";
  115. };
  116. timer6: timer@48048000 {
  117. compatible = "ti,am4372-timer","ti,am335x-timer";
  118. reg = <0x48048000 0x400>;
  119. interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
  120. ti,timer-pwm;
  121. ti,hwmods = "timer6";
  122. status = "disabled";
  123. };
  124. timer7: timer@4804a000 {
  125. compatible = "ti,am4372-timer","ti,am335x-timer";
  126. reg = <0x4804a000 0x400>;
  127. interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
  128. ti,timer-pwm;
  129. ti,hwmods = "timer7";
  130. status = "disabled";
  131. };
  132. timer8: timer@481c1000 {
  133. compatible = "ti,am4372-timer","ti,am335x-timer";
  134. reg = <0x481c1000 0x400>;
  135. interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>;
  136. ti,hwmods = "timer8";
  137. status = "disabled";
  138. };
  139. timer9: timer@4833d000 {
  140. compatible = "ti,am4372-timer","ti,am335x-timer";
  141. reg = <0x4833d000 0x400>;
  142. interrupts = <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>;
  143. ti,hwmods = "timer9";
  144. status = "disabled";
  145. };
  146. timer10: timer@4833f000 {
  147. compatible = "ti,am4372-timer","ti,am335x-timer";
  148. reg = <0x4833f000 0x400>;
  149. interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
  150. ti,hwmods = "timer10";
  151. status = "disabled";
  152. };
  153. timer11: timer@48341000 {
  154. compatible = "ti,am4372-timer","ti,am335x-timer";
  155. reg = <0x48341000 0x400>;
  156. interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>;
  157. ti,hwmods = "timer11";
  158. status = "disabled";
  159. };
  160. counter32k: counter@44e86000 {
  161. compatible = "ti,am4372-counter32k","ti,omap-counter32k";
  162. reg = <0x44e86000 0x40>;
  163. ti,hwmods = "counter_32k";
  164. };
  165. rtc@44e3e000 {
  166. compatible = "ti,am4372-rtc","ti,da830-rtc";
  167. reg = <0x44e3e000 0x1000>;
  168. interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH
  169. GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
  170. ti,hwmods = "rtc";
  171. status = "disabled";
  172. };
  173. wdt@44e35000 {
  174. compatible = "ti,am4372-wdt","ti,omap3-wdt";
  175. reg = <0x44e35000 0x1000>;
  176. interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
  177. ti,hwmods = "wd_timer2";
  178. status = "disabled";
  179. };
  180. gpio0: gpio@44e07000 {
  181. compatible = "ti,am4372-gpio","ti,omap4-gpio";
  182. reg = <0x44e07000 0x1000>;
  183. interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
  184. gpio-controller;
  185. #gpio-cells = <2>;
  186. interrupt-controller;
  187. #interrupt-cells = <2>;
  188. ti,hwmods = "gpio1";
  189. status = "disabled";
  190. };
  191. gpio1: gpio@4804c000 {
  192. compatible = "ti,am4372-gpio","ti,omap4-gpio";
  193. reg = <0x4804c000 0x1000>;
  194. interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
  195. gpio-controller;
  196. #gpio-cells = <2>;
  197. interrupt-controller;
  198. #interrupt-cells = <2>;
  199. ti,hwmods = "gpio2";
  200. status = "disabled";
  201. };
  202. gpio2: gpio@481ac000 {
  203. compatible = "ti,am4372-gpio","ti,omap4-gpio";
  204. reg = <0x481ac000 0x1000>;
  205. interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
  206. gpio-controller;
  207. #gpio-cells = <2>;
  208. interrupt-controller;
  209. #interrupt-cells = <2>;
  210. ti,hwmods = "gpio3";
  211. status = "disabled";
  212. };
  213. gpio3: gpio@481ae000 {
  214. compatible = "ti,am4372-gpio","ti,omap4-gpio";
  215. reg = <0x481ae000 0x1000>;
  216. interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
  217. gpio-controller;
  218. #gpio-cells = <2>;
  219. interrupt-controller;
  220. #interrupt-cells = <2>;
  221. ti,hwmods = "gpio4";
  222. status = "disabled";
  223. };
  224. gpio4: gpio@48320000 {
  225. compatible = "ti,am4372-gpio","ti,omap4-gpio";
  226. reg = <0x48320000 0x1000>;
  227. interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
  228. gpio-controller;
  229. #gpio-cells = <2>;
  230. interrupt-controller;
  231. #interrupt-cells = <2>;
  232. ti,hwmods = "gpio5";
  233. status = "disabled";
  234. };
  235. gpio5: gpio@48322000 {
  236. compatible = "ti,am4372-gpio","ti,omap4-gpio";
  237. reg = <0x48322000 0x1000>;
  238. interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
  239. gpio-controller;
  240. #gpio-cells = <2>;
  241. interrupt-controller;
  242. #interrupt-cells = <2>;
  243. ti,hwmods = "gpio6";
  244. status = "disabled";
  245. };
  246. i2c0: i2c@44e0b000 {
  247. compatible = "ti,am4372-i2c","ti,omap4-i2c";
  248. reg = <0x44e0b000 0x1000>;
  249. interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
  250. ti,hwmods = "i2c1";
  251. #address-cells = <1>;
  252. #size-cells = <0>;
  253. status = "disabled";
  254. };
  255. i2c1: i2c@4802a000 {
  256. compatible = "ti,am4372-i2c","ti,omap4-i2c";
  257. reg = <0x4802a000 0x1000>;
  258. interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
  259. ti,hwmods = "i2c2";
  260. #address-cells = <1>;
  261. #size-cells = <0>;
  262. status = "disabled";
  263. };
  264. i2c2: i2c@4819c000 {
  265. compatible = "ti,am4372-i2c","ti,omap4-i2c";
  266. reg = <0x4819c000 0x1000>;
  267. interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
  268. ti,hwmods = "i2c3";
  269. #address-cells = <1>;
  270. #size-cells = <0>;
  271. status = "disabled";
  272. };
  273. spi0: spi@48030000 {
  274. compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
  275. reg = <0x48030000 0x400>;
  276. interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
  277. ti,hwmods = "spi0";
  278. #address-cells = <1>;
  279. #size-cells = <0>;
  280. status = "disabled";
  281. };
  282. spi1: spi@481a0000 {
  283. compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
  284. reg = <0x481a0000 0x400>;
  285. interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>;
  286. ti,hwmods = "spi1";
  287. #address-cells = <1>;
  288. #size-cells = <0>;
  289. status = "disabled";
  290. };
  291. spi2: spi@481a2000 {
  292. compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
  293. reg = <0x481a2000 0x400>;
  294. interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>;
  295. ti,hwmods = "spi2";
  296. #address-cells = <1>;
  297. #size-cells = <0>;
  298. status = "disabled";
  299. };
  300. spi3: spi@481a4000 {
  301. compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
  302. reg = <0x481a4000 0x400>;
  303. interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>;
  304. ti,hwmods = "spi3";
  305. #address-cells = <1>;
  306. #size-cells = <0>;
  307. status = "disabled";
  308. };
  309. spi4: spi@48345000 {
  310. compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
  311. reg = <0x48345000 0x400>;
  312. interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>;
  313. ti,hwmods = "spi4";
  314. #address-cells = <1>;
  315. #size-cells = <0>;
  316. status = "disabled";
  317. };
  318. mac: ethernet@4a100000 {
  319. compatible = "ti,am4372-cpsw","ti,cpsw";
  320. reg = <0x4a100000 0x800
  321. 0x4a101200 0x100>;
  322. interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH
  323. GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH
  324. GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH
  325. GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
  326. ti,hwmods = "cpgmac0";
  327. status = "disabled";
  328. };
  329. epwmss0: epwmss@48300000 {
  330. compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
  331. reg = <0x48300000 0x10>;
  332. ti,hwmods = "epwmss0";
  333. status = "disabled";
  334. };
  335. epwmss1: epwmss@48302000 {
  336. compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
  337. reg = <0x48302000 0x10>;
  338. ti,hwmods = "epwmss1";
  339. status = "disabled";
  340. };
  341. epwmss2: epwmss@48304000 {
  342. compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
  343. reg = <0x48304000 0x10>;
  344. ti,hwmods = "epwmss2";
  345. status = "disabled";
  346. };
  347. epwmss3: epwmss@48306000 {
  348. compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
  349. reg = <0x48306000 0x10>;
  350. ti,hwmods = "epwmss3";
  351. status = "disabled";
  352. };
  353. epwmss4: epwmss@48308000 {
  354. compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
  355. reg = <0x48308000 0x10>;
  356. ti,hwmods = "epwmss4";
  357. status = "disabled";
  358. };
  359. epwmss5: epwmss@4830a000 {
  360. compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
  361. reg = <0x4830a000 0x10>;
  362. ti,hwmods = "epwmss5";
  363. status = "disabled";
  364. };
  365. aes: aes@53501000 {
  366. compatible = "ti,omap4-aes";
  367. ti,hwmods = "aes";
  368. reg = <0x53501000 0xa0>;
  369. interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
  370. };
  371. };
  372. };