am4372.dtsi 25 KB

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