am4372.dtsi 26 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096
  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/gpio/gpio.h>
  11. #include <dt-bindings/interrupt-controller/arm-gic.h>
  12. #include "skeleton.dtsi"
  13. / {
  14. compatible = "ti,am4372", "ti,am43";
  15. interrupt-parent = <&wakeupgen>;
  16. aliases {
  17. i2c0 = &i2c0;
  18. i2c1 = &i2c1;
  19. i2c2 = &i2c2;
  20. serial0 = &uart0;
  21. serial1 = &uart1;
  22. serial2 = &uart2;
  23. serial3 = &uart3;
  24. serial4 = &uart4;
  25. serial5 = &uart5;
  26. ethernet0 = &cpsw_emac0;
  27. ethernet1 = &cpsw_emac1;
  28. spi0 = &qspi;
  29. };
  30. cpus {
  31. #address-cells = <1>;
  32. #size-cells = <0>;
  33. cpu: cpu@0 {
  34. compatible = "arm,cortex-a9";
  35. device_type = "cpu";
  36. reg = <0>;
  37. clocks = <&dpll_mpu_ck>;
  38. clock-names = "cpu";
  39. clock-latency = <300000>; /* From omap-cpufreq driver */
  40. };
  41. };
  42. gic: interrupt-controller@48241000 {
  43. compatible = "arm,cortex-a9-gic";
  44. interrupt-controller;
  45. #interrupt-cells = <3>;
  46. reg = <0x48241000 0x1000>,
  47. <0x48240100 0x0100>;
  48. interrupt-parent = <&gic>;
  49. };
  50. wakeupgen: interrupt-controller@48281000 {
  51. compatible = "ti,omap4-wugen-mpu";
  52. interrupt-controller;
  53. #interrupt-cells = <3>;
  54. reg = <0x48281000 0x1000>;
  55. interrupt-parent = <&gic>;
  56. };
  57. scu: scu@48240000 {
  58. compatible = "arm,cortex-a9-scu";
  59. reg = <0x48240000 0x100>;
  60. };
  61. global_timer: timer@48240200 {
  62. compatible = "arm,cortex-a9-global-timer";
  63. reg = <0x48240200 0x100>;
  64. interrupts = <GIC_PPI 11 IRQ_TYPE_EDGE_RISING>;
  65. interrupt-parent = <&gic>;
  66. clocks = <&mpu_periphclk>;
  67. };
  68. local_timer: timer@48240600 {
  69. compatible = "arm,cortex-a9-twd-timer";
  70. reg = <0x48240600 0x100>;
  71. interrupts = <GIC_PPI 13 IRQ_TYPE_EDGE_RISING>;
  72. interrupt-parent = <&gic>;
  73. clocks = <&mpu_periphclk>;
  74. };
  75. l2-cache-controller@48242000 {
  76. compatible = "arm,pl310-cache";
  77. reg = <0x48242000 0x1000>;
  78. cache-unified;
  79. cache-level = <2>;
  80. };
  81. ocp {
  82. compatible = "ti,am4372-l3-noc", "simple-bus";
  83. #address-cells = <1>;
  84. #size-cells = <1>;
  85. ranges;
  86. ti,hwmods = "l3_main";
  87. reg = <0x44000000 0x400000
  88. 0x44800000 0x400000>;
  89. interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
  90. <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
  91. l4_wkup: l4_wkup@44c00000 {
  92. compatible = "ti,am4-l4-wkup", "simple-bus";
  93. #address-cells = <1>;
  94. #size-cells = <1>;
  95. ranges = <0 0x44c00000 0x287000>;
  96. wkup_m3: wkup_m3@100000 {
  97. compatible = "ti,am4372-wkup-m3";
  98. reg = <0x100000 0x4000>,
  99. <0x180000 0x2000>;
  100. reg-names = "umem", "dmem";
  101. ti,hwmods = "wkup_m3";
  102. ti,pm-firmware = "am335x-pm-firmware.elf";
  103. };
  104. prcm: prcm@1f0000 {
  105. compatible = "ti,am4-prcm";
  106. reg = <0x1f0000 0x11000>;
  107. interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
  108. prcm_clocks: clocks {
  109. #address-cells = <1>;
  110. #size-cells = <0>;
  111. };
  112. prcm_clockdomains: clockdomains {
  113. };
  114. };
  115. scm: scm@210000 {
  116. compatible = "ti,am4-scm", "simple-bus";
  117. reg = <0x210000 0x4000>;
  118. #address-cells = <1>;
  119. #size-cells = <1>;
  120. ranges = <0 0x210000 0x4000>;
  121. am43xx_pinmux: pinmux@800 {
  122. compatible = "ti,am437-padconf",
  123. "pinctrl-single";
  124. reg = <0x800 0x31c>;
  125. #address-cells = <1>;
  126. #size-cells = <0>;
  127. #interrupt-cells = <1>;
  128. interrupt-controller;
  129. pinctrl-single,register-width = <32>;
  130. pinctrl-single,function-mask = <0xffffffff>;
  131. };
  132. scm_conf: scm_conf@0 {
  133. compatible = "syscon";
  134. reg = <0x0 0x800>;
  135. #address-cells = <1>;
  136. #size-cells = <1>;
  137. scm_clocks: clocks {
  138. #address-cells = <1>;
  139. #size-cells = <0>;
  140. };
  141. };
  142. wkup_m3_ipc: wkup_m3_ipc@1324 {
  143. compatible = "ti,am4372-wkup-m3-ipc";
  144. reg = <0x1324 0x44>;
  145. interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
  146. ti,rproc = <&wkup_m3>;
  147. mboxes = <&mailbox &mbox_wkupm3>;
  148. };
  149. edma_xbar: dma-router@f90 {
  150. compatible = "ti,am335x-edma-crossbar";
  151. reg = <0xf90 0x40>;
  152. #dma-cells = <3>;
  153. dma-requests = <64>;
  154. dma-masters = <&edma>;
  155. };
  156. scm_clockdomains: clockdomains {
  157. };
  158. };
  159. };
  160. emif: emif@4c000000 {
  161. compatible = "ti,emif-am4372";
  162. reg = <0x4c000000 0x1000000>;
  163. ti,hwmods = "emif";
  164. };
  165. edma: edma@49000000 {
  166. compatible = "ti,edma3-tpcc";
  167. ti,hwmods = "tpcc";
  168. reg = <0x49000000 0x10000>;
  169. reg-names = "edma3_cc";
  170. interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
  171. <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
  172. <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
  173. interrupt-names = "edma3_ccint", "emda3_mperr",
  174. "edma3_ccerrint";
  175. dma-requests = <64>;
  176. #dma-cells = <2>;
  177. ti,tptcs = <&edma_tptc0 7>, <&edma_tptc1 5>,
  178. <&edma_tptc2 0>;
  179. ti,edma-memcpy-channels = <58 59>;
  180. };
  181. edma_tptc0: tptc@49800000 {
  182. compatible = "ti,edma3-tptc";
  183. ti,hwmods = "tptc0";
  184. reg = <0x49800000 0x100000>;
  185. interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
  186. interrupt-names = "edma3_tcerrint";
  187. };
  188. edma_tptc1: tptc@49900000 {
  189. compatible = "ti,edma3-tptc";
  190. ti,hwmods = "tptc1";
  191. reg = <0x49900000 0x100000>;
  192. interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
  193. interrupt-names = "edma3_tcerrint";
  194. };
  195. edma_tptc2: tptc@49a00000 {
  196. compatible = "ti,edma3-tptc";
  197. ti,hwmods = "tptc2";
  198. reg = <0x49a00000 0x100000>;
  199. interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
  200. interrupt-names = "edma3_tcerrint";
  201. };
  202. uart0: serial@44e09000 {
  203. compatible = "ti,am4372-uart","ti,omap2-uart";
  204. reg = <0x44e09000 0x2000>;
  205. interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
  206. ti,hwmods = "uart1";
  207. };
  208. uart1: serial@48022000 {
  209. compatible = "ti,am4372-uart","ti,omap2-uart";
  210. reg = <0x48022000 0x2000>;
  211. interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
  212. ti,hwmods = "uart2";
  213. status = "disabled";
  214. };
  215. uart2: serial@48024000 {
  216. compatible = "ti,am4372-uart","ti,omap2-uart";
  217. reg = <0x48024000 0x2000>;
  218. interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
  219. ti,hwmods = "uart3";
  220. status = "disabled";
  221. };
  222. uart3: serial@481a6000 {
  223. compatible = "ti,am4372-uart","ti,omap2-uart";
  224. reg = <0x481a6000 0x2000>;
  225. interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
  226. ti,hwmods = "uart4";
  227. status = "disabled";
  228. };
  229. uart4: serial@481a8000 {
  230. compatible = "ti,am4372-uart","ti,omap2-uart";
  231. reg = <0x481a8000 0x2000>;
  232. interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
  233. ti,hwmods = "uart5";
  234. status = "disabled";
  235. };
  236. uart5: serial@481aa000 {
  237. compatible = "ti,am4372-uart","ti,omap2-uart";
  238. reg = <0x481aa000 0x2000>;
  239. interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
  240. ti,hwmods = "uart6";
  241. status = "disabled";
  242. };
  243. mailbox: mailbox@480C8000 {
  244. compatible = "ti,omap4-mailbox";
  245. reg = <0x480C8000 0x200>;
  246. interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
  247. ti,hwmods = "mailbox";
  248. #mbox-cells = <1>;
  249. ti,mbox-num-users = <4>;
  250. ti,mbox-num-fifos = <8>;
  251. mbox_wkupm3: wkup_m3 {
  252. ti,mbox-send-noirq;
  253. ti,mbox-tx = <0 0 0>;
  254. ti,mbox-rx = <0 0 3>;
  255. };
  256. };
  257. timer1: timer@44e31000 {
  258. compatible = "ti,am4372-timer-1ms","ti,am335x-timer-1ms";
  259. reg = <0x44e31000 0x400>;
  260. interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
  261. ti,timer-alwon;
  262. ti,hwmods = "timer1";
  263. };
  264. timer2: timer@48040000 {
  265. compatible = "ti,am4372-timer","ti,am335x-timer";
  266. reg = <0x48040000 0x400>;
  267. interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
  268. ti,hwmods = "timer2";
  269. };
  270. timer3: timer@48042000 {
  271. compatible = "ti,am4372-timer","ti,am335x-timer";
  272. reg = <0x48042000 0x400>;
  273. interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
  274. ti,hwmods = "timer3";
  275. status = "disabled";
  276. };
  277. timer4: timer@48044000 {
  278. compatible = "ti,am4372-timer","ti,am335x-timer";
  279. reg = <0x48044000 0x400>;
  280. interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
  281. ti,timer-pwm;
  282. ti,hwmods = "timer4";
  283. status = "disabled";
  284. };
  285. timer5: timer@48046000 {
  286. compatible = "ti,am4372-timer","ti,am335x-timer";
  287. reg = <0x48046000 0x400>;
  288. interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
  289. ti,timer-pwm;
  290. ti,hwmods = "timer5";
  291. status = "disabled";
  292. };
  293. timer6: timer@48048000 {
  294. compatible = "ti,am4372-timer","ti,am335x-timer";
  295. reg = <0x48048000 0x400>;
  296. interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
  297. ti,timer-pwm;
  298. ti,hwmods = "timer6";
  299. status = "disabled";
  300. };
  301. timer7: timer@4804a000 {
  302. compatible = "ti,am4372-timer","ti,am335x-timer";
  303. reg = <0x4804a000 0x400>;
  304. interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
  305. ti,timer-pwm;
  306. ti,hwmods = "timer7";
  307. status = "disabled";
  308. };
  309. timer8: timer@481c1000 {
  310. compatible = "ti,am4372-timer","ti,am335x-timer";
  311. reg = <0x481c1000 0x400>;
  312. interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>;
  313. ti,hwmods = "timer8";
  314. status = "disabled";
  315. };
  316. timer9: timer@4833d000 {
  317. compatible = "ti,am4372-timer","ti,am335x-timer";
  318. reg = <0x4833d000 0x400>;
  319. interrupts = <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>;
  320. ti,hwmods = "timer9";
  321. status = "disabled";
  322. };
  323. timer10: timer@4833f000 {
  324. compatible = "ti,am4372-timer","ti,am335x-timer";
  325. reg = <0x4833f000 0x400>;
  326. interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
  327. ti,hwmods = "timer10";
  328. status = "disabled";
  329. };
  330. timer11: timer@48341000 {
  331. compatible = "ti,am4372-timer","ti,am335x-timer";
  332. reg = <0x48341000 0x400>;
  333. interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>;
  334. ti,hwmods = "timer11";
  335. status = "disabled";
  336. };
  337. counter32k: counter@44e86000 {
  338. compatible = "ti,am4372-counter32k","ti,omap-counter32k";
  339. reg = <0x44e86000 0x40>;
  340. ti,hwmods = "counter_32k";
  341. };
  342. rtc: rtc@44e3e000 {
  343. compatible = "ti,am4372-rtc", "ti,am3352-rtc",
  344. "ti,da830-rtc";
  345. reg = <0x44e3e000 0x1000>;
  346. interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH
  347. GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
  348. ti,hwmods = "rtc";
  349. clocks = <&clk_32768_ck>;
  350. clock-names = "int-clk";
  351. status = "disabled";
  352. };
  353. wdt: wdt@44e35000 {
  354. compatible = "ti,am4372-wdt","ti,omap3-wdt";
  355. reg = <0x44e35000 0x1000>;
  356. interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
  357. ti,hwmods = "wd_timer2";
  358. };
  359. gpio0: gpio@44e07000 {
  360. compatible = "ti,am4372-gpio","ti,omap4-gpio";
  361. reg = <0x44e07000 0x1000>;
  362. interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
  363. gpio-controller;
  364. #gpio-cells = <2>;
  365. interrupt-controller;
  366. #interrupt-cells = <2>;
  367. ti,hwmods = "gpio1";
  368. status = "disabled";
  369. };
  370. gpio1: gpio@4804c000 {
  371. compatible = "ti,am4372-gpio","ti,omap4-gpio";
  372. reg = <0x4804c000 0x1000>;
  373. interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
  374. gpio-controller;
  375. #gpio-cells = <2>;
  376. interrupt-controller;
  377. #interrupt-cells = <2>;
  378. ti,hwmods = "gpio2";
  379. status = "disabled";
  380. };
  381. gpio2: gpio@481ac000 {
  382. compatible = "ti,am4372-gpio","ti,omap4-gpio";
  383. reg = <0x481ac000 0x1000>;
  384. interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
  385. gpio-controller;
  386. #gpio-cells = <2>;
  387. interrupt-controller;
  388. #interrupt-cells = <2>;
  389. ti,hwmods = "gpio3";
  390. status = "disabled";
  391. };
  392. gpio3: gpio@481ae000 {
  393. compatible = "ti,am4372-gpio","ti,omap4-gpio";
  394. reg = <0x481ae000 0x1000>;
  395. interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
  396. gpio-controller;
  397. #gpio-cells = <2>;
  398. interrupt-controller;
  399. #interrupt-cells = <2>;
  400. ti,hwmods = "gpio4";
  401. status = "disabled";
  402. };
  403. gpio4: gpio@48320000 {
  404. compatible = "ti,am4372-gpio","ti,omap4-gpio";
  405. reg = <0x48320000 0x1000>;
  406. interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
  407. gpio-controller;
  408. #gpio-cells = <2>;
  409. interrupt-controller;
  410. #interrupt-cells = <2>;
  411. ti,hwmods = "gpio5";
  412. status = "disabled";
  413. };
  414. gpio5: gpio@48322000 {
  415. compatible = "ti,am4372-gpio","ti,omap4-gpio";
  416. reg = <0x48322000 0x1000>;
  417. interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
  418. gpio-controller;
  419. #gpio-cells = <2>;
  420. interrupt-controller;
  421. #interrupt-cells = <2>;
  422. ti,hwmods = "gpio6";
  423. status = "disabled";
  424. };
  425. hwspinlock: spinlock@480ca000 {
  426. compatible = "ti,omap4-hwspinlock";
  427. reg = <0x480ca000 0x1000>;
  428. ti,hwmods = "spinlock";
  429. #hwlock-cells = <1>;
  430. };
  431. i2c0: i2c@44e0b000 {
  432. compatible = "ti,am4372-i2c","ti,omap4-i2c";
  433. reg = <0x44e0b000 0x1000>;
  434. interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
  435. ti,hwmods = "i2c1";
  436. #address-cells = <1>;
  437. #size-cells = <0>;
  438. status = "disabled";
  439. };
  440. i2c1: i2c@4802a000 {
  441. compatible = "ti,am4372-i2c","ti,omap4-i2c";
  442. reg = <0x4802a000 0x1000>;
  443. interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
  444. ti,hwmods = "i2c2";
  445. #address-cells = <1>;
  446. #size-cells = <0>;
  447. status = "disabled";
  448. };
  449. i2c2: i2c@4819c000 {
  450. compatible = "ti,am4372-i2c","ti,omap4-i2c";
  451. reg = <0x4819c000 0x1000>;
  452. interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
  453. ti,hwmods = "i2c3";
  454. #address-cells = <1>;
  455. #size-cells = <0>;
  456. status = "disabled";
  457. };
  458. spi0: spi@48030000 {
  459. compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
  460. reg = <0x48030000 0x400>;
  461. interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
  462. ti,hwmods = "spi0";
  463. #address-cells = <1>;
  464. #size-cells = <0>;
  465. status = "disabled";
  466. };
  467. mmc1: mmc@48060000 {
  468. compatible = "ti,omap4-hsmmc";
  469. reg = <0x48060000 0x1000>;
  470. ti,hwmods = "mmc1";
  471. ti,dual-volt;
  472. ti,needs-special-reset;
  473. dmas = <&edma 24 0>,
  474. <&edma 25 0>;
  475. dma-names = "tx", "rx";
  476. interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
  477. status = "disabled";
  478. };
  479. mmc2: mmc@481d8000 {
  480. compatible = "ti,omap4-hsmmc";
  481. reg = <0x481d8000 0x1000>;
  482. ti,hwmods = "mmc2";
  483. ti,needs-special-reset;
  484. dmas = <&edma 2 0>,
  485. <&edma 3 0>;
  486. dma-names = "tx", "rx";
  487. interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
  488. status = "disabled";
  489. };
  490. mmc3: mmc@47810000 {
  491. compatible = "ti,omap4-hsmmc";
  492. reg = <0x47810000 0x1000>;
  493. ti,hwmods = "mmc3";
  494. ti,needs-special-reset;
  495. interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
  496. status = "disabled";
  497. };
  498. spi1: spi@481a0000 {
  499. compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
  500. reg = <0x481a0000 0x400>;
  501. interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>;
  502. ti,hwmods = "spi1";
  503. #address-cells = <1>;
  504. #size-cells = <0>;
  505. status = "disabled";
  506. };
  507. spi2: spi@481a2000 {
  508. compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
  509. reg = <0x481a2000 0x400>;
  510. interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>;
  511. ti,hwmods = "spi2";
  512. #address-cells = <1>;
  513. #size-cells = <0>;
  514. status = "disabled";
  515. };
  516. spi3: spi@481a4000 {
  517. compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
  518. reg = <0x481a4000 0x400>;
  519. interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>;
  520. ti,hwmods = "spi3";
  521. #address-cells = <1>;
  522. #size-cells = <0>;
  523. status = "disabled";
  524. };
  525. spi4: spi@48345000 {
  526. compatible = "ti,am4372-mcspi","ti,omap4-mcspi";
  527. reg = <0x48345000 0x400>;
  528. interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>;
  529. ti,hwmods = "spi4";
  530. #address-cells = <1>;
  531. #size-cells = <0>;
  532. status = "disabled";
  533. };
  534. mac: ethernet@4a100000 {
  535. compatible = "ti,am4372-cpsw","ti,cpsw";
  536. reg = <0x4a100000 0x800
  537. 0x4a101200 0x100>;
  538. interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH
  539. GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH
  540. GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH
  541. GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
  542. #address-cells = <1>;
  543. #size-cells = <1>;
  544. ti,hwmods = "cpgmac0";
  545. clocks = <&cpsw_125mhz_gclk>, <&cpsw_cpts_rft_clk>,
  546. <&dpll_clksel_mac_clk>;
  547. clock-names = "fck", "cpts", "50mclk";
  548. assigned-clocks = <&dpll_clksel_mac_clk>;
  549. assigned-clock-rates = <50000000>;
  550. status = "disabled";
  551. cpdma_channels = <8>;
  552. ale_entries = <1024>;
  553. bd_ram_size = <0x2000>;
  554. no_bd_ram = <0>;
  555. rx_descs = <64>;
  556. mac_control = <0x20>;
  557. slaves = <2>;
  558. active_slave = <0>;
  559. cpts_clock_mult = <0x80000000>;
  560. cpts_clock_shift = <29>;
  561. ranges;
  562. syscon = <&scm_conf>;
  563. davinci_mdio: mdio@4a101000 {
  564. compatible = "ti,am4372-mdio","ti,davinci_mdio";
  565. reg = <0x4a101000 0x100>;
  566. #address-cells = <1>;
  567. #size-cells = <0>;
  568. ti,hwmods = "davinci_mdio";
  569. bus_freq = <1000000>;
  570. status = "disabled";
  571. };
  572. cpsw_emac0: slave@4a100200 {
  573. /* Filled in by U-Boot */
  574. mac-address = [ 00 00 00 00 00 00 ];
  575. };
  576. cpsw_emac1: slave@4a100300 {
  577. /* Filled in by U-Boot */
  578. mac-address = [ 00 00 00 00 00 00 ];
  579. };
  580. phy_sel: cpsw-phy-sel@44e10650 {
  581. compatible = "ti,am43xx-cpsw-phy-sel";
  582. reg= <0x44e10650 0x4>;
  583. reg-names = "gmii-sel";
  584. };
  585. };
  586. epwmss0: epwmss@48300000 {
  587. compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
  588. reg = <0x48300000 0x10>;
  589. #address-cells = <1>;
  590. #size-cells = <1>;
  591. ranges;
  592. ti,hwmods = "epwmss0";
  593. status = "disabled";
  594. ecap0: ecap@48300100 {
  595. compatible = "ti,am4372-ecap","ti,am33xx-ecap";
  596. #pwm-cells = <3>;
  597. reg = <0x48300100 0x80>;
  598. ti,hwmods = "ecap0";
  599. status = "disabled";
  600. };
  601. ehrpwm0: ehrpwm@48300200 {
  602. compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
  603. #pwm-cells = <3>;
  604. reg = <0x48300200 0x80>;
  605. ti,hwmods = "ehrpwm0";
  606. status = "disabled";
  607. };
  608. };
  609. epwmss1: epwmss@48302000 {
  610. compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
  611. reg = <0x48302000 0x10>;
  612. #address-cells = <1>;
  613. #size-cells = <1>;
  614. ranges;
  615. ti,hwmods = "epwmss1";
  616. status = "disabled";
  617. ecap1: ecap@48302100 {
  618. compatible = "ti,am4372-ecap","ti,am33xx-ecap";
  619. #pwm-cells = <3>;
  620. reg = <0x48302100 0x80>;
  621. ti,hwmods = "ecap1";
  622. status = "disabled";
  623. };
  624. ehrpwm1: ehrpwm@48302200 {
  625. compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
  626. #pwm-cells = <3>;
  627. reg = <0x48302200 0x80>;
  628. ti,hwmods = "ehrpwm1";
  629. status = "disabled";
  630. };
  631. };
  632. epwmss2: epwmss@48304000 {
  633. compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
  634. reg = <0x48304000 0x10>;
  635. #address-cells = <1>;
  636. #size-cells = <1>;
  637. ranges;
  638. ti,hwmods = "epwmss2";
  639. status = "disabled";
  640. ecap2: ecap@48304100 {
  641. compatible = "ti,am4372-ecap","ti,am33xx-ecap";
  642. #pwm-cells = <3>;
  643. reg = <0x48304100 0x80>;
  644. ti,hwmods = "ecap2";
  645. status = "disabled";
  646. };
  647. ehrpwm2: ehrpwm@48304200 {
  648. compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
  649. #pwm-cells = <3>;
  650. reg = <0x48304200 0x80>;
  651. ti,hwmods = "ehrpwm2";
  652. status = "disabled";
  653. };
  654. };
  655. epwmss3: epwmss@48306000 {
  656. compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
  657. reg = <0x48306000 0x10>;
  658. #address-cells = <1>;
  659. #size-cells = <1>;
  660. ranges;
  661. ti,hwmods = "epwmss3";
  662. status = "disabled";
  663. ehrpwm3: ehrpwm@48306200 {
  664. compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
  665. #pwm-cells = <3>;
  666. reg = <0x48306200 0x80>;
  667. ti,hwmods = "ehrpwm3";
  668. status = "disabled";
  669. };
  670. };
  671. epwmss4: epwmss@48308000 {
  672. compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
  673. reg = <0x48308000 0x10>;
  674. #address-cells = <1>;
  675. #size-cells = <1>;
  676. ranges;
  677. ti,hwmods = "epwmss4";
  678. status = "disabled";
  679. ehrpwm4: ehrpwm@48308200 {
  680. compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
  681. #pwm-cells = <3>;
  682. reg = <0x48308200 0x80>;
  683. ti,hwmods = "ehrpwm4";
  684. status = "disabled";
  685. };
  686. };
  687. epwmss5: epwmss@4830a000 {
  688. compatible = "ti,am4372-pwmss","ti,am33xx-pwmss";
  689. reg = <0x4830a000 0x10>;
  690. #address-cells = <1>;
  691. #size-cells = <1>;
  692. ranges;
  693. ti,hwmods = "epwmss5";
  694. status = "disabled";
  695. ehrpwm5: ehrpwm@4830a200 {
  696. compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
  697. #pwm-cells = <3>;
  698. reg = <0x4830a200 0x80>;
  699. ti,hwmods = "ehrpwm5";
  700. status = "disabled";
  701. };
  702. };
  703. tscadc: tscadc@44e0d000 {
  704. compatible = "ti,am3359-tscadc";
  705. reg = <0x44e0d000 0x1000>;
  706. ti,hwmods = "adc_tsc";
  707. interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
  708. clocks = <&adc_tsc_fck>;
  709. clock-names = "fck";
  710. status = "disabled";
  711. tsc {
  712. compatible = "ti,am3359-tsc";
  713. };
  714. adc {
  715. #io-channel-cells = <1>;
  716. compatible = "ti,am3359-adc";
  717. };
  718. };
  719. sham: sham@53100000 {
  720. compatible = "ti,omap5-sham";
  721. ti,hwmods = "sham";
  722. reg = <0x53100000 0x300>;
  723. dmas = <&edma 36 0>;
  724. dma-names = "rx";
  725. interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
  726. };
  727. aes: aes@53501000 {
  728. compatible = "ti,omap4-aes";
  729. ti,hwmods = "aes";
  730. reg = <0x53501000 0xa0>;
  731. interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
  732. dmas = <&edma 6 0>,
  733. <&edma 5 0>;
  734. dma-names = "tx", "rx";
  735. };
  736. des: des@53701000 {
  737. compatible = "ti,omap4-des";
  738. ti,hwmods = "des";
  739. reg = <0x53701000 0xa0>;
  740. interrupts = <GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>;
  741. dmas = <&edma 34 0>,
  742. <&edma 33 0>;
  743. dma-names = "tx", "rx";
  744. };
  745. mcasp0: mcasp@48038000 {
  746. compatible = "ti,am33xx-mcasp-audio";
  747. ti,hwmods = "mcasp0";
  748. reg = <0x48038000 0x2000>,
  749. <0x46000000 0x400000>;
  750. reg-names = "mpu", "dat";
  751. interrupts = <80>, <81>;
  752. interrupt-names = "tx", "rx";
  753. status = "disabled";
  754. dmas = <&edma 8 2>,
  755. <&edma 9 2>;
  756. dma-names = "tx", "rx";
  757. };
  758. mcasp1: mcasp@4803C000 {
  759. compatible = "ti,am33xx-mcasp-audio";
  760. ti,hwmods = "mcasp1";
  761. reg = <0x4803C000 0x2000>,
  762. <0x46400000 0x400000>;
  763. reg-names = "mpu", "dat";
  764. interrupts = <82>, <83>;
  765. interrupt-names = "tx", "rx";
  766. status = "disabled";
  767. dmas = <&edma 10 2>,
  768. <&edma 11 2>;
  769. dma-names = "tx", "rx";
  770. };
  771. elm: elm@48080000 {
  772. compatible = "ti,am3352-elm";
  773. reg = <0x48080000 0x2000>;
  774. interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
  775. ti,hwmods = "elm";
  776. clocks = <&l4ls_gclk>;
  777. clock-names = "fck";
  778. status = "disabled";
  779. };
  780. gpmc: gpmc@50000000 {
  781. compatible = "ti,am3352-gpmc";
  782. ti,hwmods = "gpmc";
  783. dmas = <&edma 52>;
  784. dma-names = "rxtx";
  785. clocks = <&l3s_gclk>;
  786. clock-names = "fck";
  787. reg = <0x50000000 0x2000>;
  788. interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
  789. gpmc,num-cs = <7>;
  790. gpmc,num-waitpins = <2>;
  791. #address-cells = <2>;
  792. #size-cells = <1>;
  793. interrupt-controller;
  794. #interrupt-cells = <2>;
  795. status = "disabled";
  796. };
  797. ocp2scp0: ocp2scp@483a8000 {
  798. compatible = "ti,am437x-ocp2scp", "ti,omap-ocp2scp";
  799. #address-cells = <1>;
  800. #size-cells = <1>;
  801. ranges;
  802. ti,hwmods = "ocp2scp0";
  803. usb2_phy1: phy@483a8000 {
  804. compatible = "ti,am437x-usb2";
  805. reg = <0x483a8000 0x8000>;
  806. syscon-phy-power = <&scm_conf 0x620>;
  807. clocks = <&usb_phy0_always_on_clk32k>,
  808. <&usb_otg_ss0_refclk960m>;
  809. clock-names = "wkupclk", "refclk";
  810. #phy-cells = <0>;
  811. status = "disabled";
  812. };
  813. };
  814. ocp2scp1: ocp2scp@483e8000 {
  815. compatible = "ti,am437x-ocp2scp", "ti,omap-ocp2scp";
  816. #address-cells = <1>;
  817. #size-cells = <1>;
  818. ranges;
  819. ti,hwmods = "ocp2scp1";
  820. usb2_phy2: phy@483e8000 {
  821. compatible = "ti,am437x-usb2";
  822. reg = <0x483e8000 0x8000>;
  823. syscon-phy-power = <&scm_conf 0x628>;
  824. clocks = <&usb_phy1_always_on_clk32k>,
  825. <&usb_otg_ss1_refclk960m>;
  826. clock-names = "wkupclk", "refclk";
  827. #phy-cells = <0>;
  828. status = "disabled";
  829. };
  830. };
  831. dwc3_1: omap_dwc3@48380000 {
  832. compatible = "ti,am437x-dwc3";
  833. ti,hwmods = "usb_otg_ss0";
  834. reg = <0x48380000 0x10000>;
  835. interrupts = <GIC_SPI 172 IRQ_TYPE_LEVEL_HIGH>;
  836. #address-cells = <1>;
  837. #size-cells = <1>;
  838. utmi-mode = <1>;
  839. ranges;
  840. usb1: usb@48390000 {
  841. compatible = "synopsys,dwc3";
  842. reg = <0x48390000 0x10000>;
  843. interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>,
  844. <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>,
  845. <GIC_SPI 172 IRQ_TYPE_LEVEL_HIGH>;
  846. interrupt-names = "peripheral",
  847. "host",
  848. "otg";
  849. phys = <&usb2_phy1>;
  850. phy-names = "usb2-phy";
  851. maximum-speed = "high-speed";
  852. dr_mode = "otg";
  853. status = "disabled";
  854. snps,dis_u3_susphy_quirk;
  855. snps,dis_u2_susphy_quirk;
  856. };
  857. };
  858. dwc3_2: omap_dwc3@483c0000 {
  859. compatible = "ti,am437x-dwc3";
  860. ti,hwmods = "usb_otg_ss1";
  861. reg = <0x483c0000 0x10000>;
  862. interrupts = <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>;
  863. #address-cells = <1>;
  864. #size-cells = <1>;
  865. utmi-mode = <1>;
  866. ranges;
  867. usb2: usb@483d0000 {
  868. compatible = "synopsys,dwc3";
  869. reg = <0x483d0000 0x10000>;
  870. interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>,
  871. <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>,
  872. <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>;
  873. interrupt-names = "peripheral",
  874. "host",
  875. "otg";
  876. phys = <&usb2_phy2>;
  877. phy-names = "usb2-phy";
  878. maximum-speed = "high-speed";
  879. dr_mode = "otg";
  880. status = "disabled";
  881. snps,dis_u3_susphy_quirk;
  882. snps,dis_u2_susphy_quirk;
  883. };
  884. };
  885. qspi: qspi@47900000 {
  886. compatible = "ti,am4372-qspi";
  887. reg = <0x47900000 0x100>,
  888. <0x30000000 0x4000000>;
  889. reg-names = "qspi_base", "qspi_mmap";
  890. #address-cells = <1>;
  891. #size-cells = <0>;
  892. ti,hwmods = "qspi";
  893. interrupts = <0 138 0x4>;
  894. num-cs = <4>;
  895. status = "disabled";
  896. };
  897. hdq: hdq@48347000 {
  898. compatible = "ti,am4372-hdq";
  899. reg = <0x48347000 0x1000>;
  900. interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>;
  901. clocks = <&func_12m_clk>;
  902. clock-names = "fck";
  903. ti,hwmods = "hdq1w";
  904. status = "disabled";
  905. };
  906. dss: dss@4832a000 {
  907. compatible = "ti,omap3-dss";
  908. reg = <0x4832a000 0x200>;
  909. status = "disabled";
  910. ti,hwmods = "dss_core";
  911. clocks = <&disp_clk>;
  912. clock-names = "fck";
  913. #address-cells = <1>;
  914. #size-cells = <1>;
  915. ranges;
  916. dispc: dispc@4832a400 {
  917. compatible = "ti,omap3-dispc";
  918. reg = <0x4832a400 0x400>;
  919. interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
  920. ti,hwmods = "dss_dispc";
  921. clocks = <&disp_clk>;
  922. clock-names = "fck";
  923. };
  924. rfbi: rfbi@4832a800 {
  925. compatible = "ti,omap3-rfbi";
  926. reg = <0x4832a800 0x100>;
  927. ti,hwmods = "dss_rfbi";
  928. clocks = <&disp_clk>;
  929. clock-names = "fck";
  930. status = "disabled";
  931. };
  932. };
  933. ocmcram: ocmcram@40300000 {
  934. compatible = "mmio-sram";
  935. reg = <0x40300000 0x40000>; /* 256k */
  936. };
  937. dcan0: can@481cc000 {
  938. compatible = "ti,am4372-d_can", "ti,am3352-d_can";
  939. ti,hwmods = "d_can0";
  940. clocks = <&dcan0_fck>;
  941. clock-names = "fck";
  942. reg = <0x481cc000 0x2000>;
  943. syscon-raminit = <&scm_conf 0x644 0>;
  944. interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
  945. status = "disabled";
  946. };
  947. dcan1: can@481d0000 {
  948. compatible = "ti,am4372-d_can", "ti,am3352-d_can";
  949. ti,hwmods = "d_can1";
  950. clocks = <&dcan1_fck>;
  951. clock-names = "fck";
  952. reg = <0x481d0000 0x2000>;
  953. syscon-raminit = <&scm_conf 0x644 1>;
  954. interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
  955. status = "disabled";
  956. };
  957. vpfe0: vpfe@48326000 {
  958. compatible = "ti,am437x-vpfe";
  959. reg = <0x48326000 0x2000>;
  960. interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
  961. ti,hwmods = "vpfe0";
  962. status = "disabled";
  963. };
  964. vpfe1: vpfe@48328000 {
  965. compatible = "ti,am437x-vpfe";
  966. reg = <0x48328000 0x2000>;
  967. interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
  968. ti,hwmods = "vpfe1";
  969. status = "disabled";
  970. };
  971. };
  972. };
  973. /include/ "am43xx-clocks.dtsi"