am33xx.dtsi 23 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015
  1. /*
  2. * Device Tree Source for AM33XX SoC
  3. *
  4. * Copyright (C) 2012 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/pinctrl/am33xx.h>
  12. / {
  13. compatible = "ti,am33xx";
  14. interrupt-parent = <&intc>;
  15. #address-cells = <1>;
  16. #size-cells = <1>;
  17. chosen { };
  18. aliases {
  19. i2c0 = &i2c0;
  20. i2c1 = &i2c1;
  21. i2c2 = &i2c2;
  22. serial0 = &uart0;
  23. serial1 = &uart1;
  24. serial2 = &uart2;
  25. serial3 = &uart3;
  26. serial4 = &uart4;
  27. serial5 = &uart5;
  28. d_can0 = &dcan0;
  29. d_can1 = &dcan1;
  30. usb0 = &usb0;
  31. usb1 = &usb1;
  32. phy0 = &usb0_phy;
  33. phy1 = &usb1_phy;
  34. ethernet0 = &cpsw_emac0;
  35. ethernet1 = &cpsw_emac1;
  36. spi0 = &spi0;
  37. spi1 = &spi1;
  38. };
  39. cpus {
  40. #address-cells = <1>;
  41. #size-cells = <0>;
  42. cpu@0 {
  43. compatible = "arm,cortex-a8";
  44. device_type = "cpu";
  45. reg = <0>;
  46. operating-points-v2 = <&cpu0_opp_table>;
  47. clocks = <&dpll_mpu_ck>;
  48. clock-names = "cpu";
  49. clock-latency = <300000>; /* From omap-cpufreq driver */
  50. };
  51. };
  52. cpu0_opp_table: opp-table {
  53. compatible = "operating-points-v2-ti-cpu";
  54. syscon = <&scm_conf>;
  55. /*
  56. * The three following nodes are marked with opp-suspend
  57. * because the can not be enabled simultaneously on a
  58. * single SoC.
  59. */
  60. opp50-300000000 {
  61. opp-hz = /bits/ 64 <300000000>;
  62. opp-microvolt = <950000 931000 969000>;
  63. opp-supported-hw = <0x06 0x0010>;
  64. opp-suspend;
  65. };
  66. opp100-275000000 {
  67. opp-hz = /bits/ 64 <275000000>;
  68. opp-microvolt = <1100000 1078000 1122000>;
  69. opp-supported-hw = <0x01 0x00FF>;
  70. opp-suspend;
  71. };
  72. opp100-300000000 {
  73. opp-hz = /bits/ 64 <300000000>;
  74. opp-microvolt = <1100000 1078000 1122000>;
  75. opp-supported-hw = <0x06 0x0020>;
  76. opp-suspend;
  77. };
  78. opp100-500000000 {
  79. opp-hz = /bits/ 64 <500000000>;
  80. opp-microvolt = <1100000 1078000 1122000>;
  81. opp-supported-hw = <0x01 0xFFFF>;
  82. };
  83. opp100-600000000 {
  84. opp-hz = /bits/ 64 <600000000>;
  85. opp-microvolt = <1100000 1078000 1122000>;
  86. opp-supported-hw = <0x06 0x0040>;
  87. };
  88. opp120-600000000 {
  89. opp-hz = /bits/ 64 <600000000>;
  90. opp-microvolt = <1200000 1176000 1224000>;
  91. opp-supported-hw = <0x01 0xFFFF>;
  92. };
  93. opp120-720000000 {
  94. opp-hz = /bits/ 64 <720000000>;
  95. opp-microvolt = <1200000 1176000 1224000>;
  96. opp-supported-hw = <0x06 0x0080>;
  97. };
  98. oppturbo-720000000 {
  99. opp-hz = /bits/ 64 <720000000>;
  100. opp-microvolt = <1260000 1234800 1285200>;
  101. opp-supported-hw = <0x01 0xFFFF>;
  102. };
  103. oppturbo-800000000 {
  104. opp-hz = /bits/ 64 <800000000>;
  105. opp-microvolt = <1260000 1234800 1285200>;
  106. opp-supported-hw = <0x06 0x0100>;
  107. };
  108. oppnitro-1000000000 {
  109. opp-hz = /bits/ 64 <1000000000>;
  110. opp-microvolt = <1325000 1298500 1351500>;
  111. opp-supported-hw = <0x04 0x0200>;
  112. };
  113. };
  114. pmu@4b000000 {
  115. compatible = "arm,cortex-a8-pmu";
  116. interrupts = <3>;
  117. reg = <0x4b000000 0x1000000>;
  118. ti,hwmods = "debugss";
  119. };
  120. /*
  121. * The soc node represents the soc top level view. It is used for IPs
  122. * that are not memory mapped in the MPU view or for the MPU itself.
  123. */
  124. soc {
  125. compatible = "ti,omap-infra";
  126. mpu {
  127. compatible = "ti,omap3-mpu";
  128. ti,hwmods = "mpu";
  129. };
  130. };
  131. /*
  132. * XXX: Use a flat representation of the AM33XX interconnect.
  133. * The real AM33XX interconnect network is quite complex. Since
  134. * it will not bring real advantage to represent that in DT
  135. * for the moment, just use a fake OCP bus entry to represent
  136. * the whole bus hierarchy.
  137. */
  138. ocp {
  139. compatible = "simple-bus";
  140. #address-cells = <1>;
  141. #size-cells = <1>;
  142. ranges;
  143. ti,hwmods = "l3_main";
  144. l4_wkup: l4_wkup@44c00000 {
  145. compatible = "ti,am3-l4-wkup", "simple-bus";
  146. #address-cells = <1>;
  147. #size-cells = <1>;
  148. ranges = <0 0x44c00000 0x280000>;
  149. wkup_m3: wkup_m3@100000 {
  150. compatible = "ti,am3352-wkup-m3";
  151. reg = <0x100000 0x4000>,
  152. <0x180000 0x2000>;
  153. reg-names = "umem", "dmem";
  154. ti,hwmods = "wkup_m3";
  155. ti,pm-firmware = "am335x-pm-firmware.elf";
  156. };
  157. prcm: prcm@200000 {
  158. compatible = "ti,am3-prcm";
  159. reg = <0x200000 0x4000>;
  160. prcm_clocks: clocks {
  161. #address-cells = <1>;
  162. #size-cells = <0>;
  163. };
  164. prcm_clockdomains: clockdomains {
  165. };
  166. };
  167. scm: scm@210000 {
  168. compatible = "ti,am3-scm", "simple-bus";
  169. reg = <0x210000 0x2000>;
  170. #address-cells = <1>;
  171. #size-cells = <1>;
  172. #pinctrl-cells = <1>;
  173. ranges = <0 0x210000 0x2000>;
  174. am33xx_pinmux: pinmux@800 {
  175. compatible = "pinctrl-single";
  176. reg = <0x800 0x238>;
  177. #address-cells = <1>;
  178. #size-cells = <0>;
  179. #pinctrl-cells = <1>;
  180. pinctrl-single,register-width = <32>;
  181. pinctrl-single,function-mask = <0x7f>;
  182. };
  183. scm_conf: scm_conf@0 {
  184. compatible = "syscon", "simple-bus";
  185. reg = <0x0 0x800>;
  186. #address-cells = <1>;
  187. #size-cells = <1>;
  188. ranges = <0 0 0x800>;
  189. scm_clocks: clocks {
  190. #address-cells = <1>;
  191. #size-cells = <0>;
  192. };
  193. };
  194. wkup_m3_ipc: wkup_m3_ipc@1324 {
  195. compatible = "ti,am3352-wkup-m3-ipc";
  196. reg = <0x1324 0x24>;
  197. interrupts = <78>;
  198. ti,rproc = <&wkup_m3>;
  199. mboxes = <&mailbox &mbox_wkupm3>;
  200. };
  201. edma_xbar: dma-router@f90 {
  202. compatible = "ti,am335x-edma-crossbar";
  203. reg = <0xf90 0x40>;
  204. #dma-cells = <3>;
  205. dma-requests = <32>;
  206. dma-masters = <&edma>;
  207. };
  208. scm_clockdomains: clockdomains {
  209. };
  210. };
  211. };
  212. intc: interrupt-controller@48200000 {
  213. compatible = "ti,am33xx-intc";
  214. interrupt-controller;
  215. #interrupt-cells = <1>;
  216. reg = <0x48200000 0x1000>;
  217. };
  218. edma: edma@49000000 {
  219. compatible = "ti,edma3-tpcc";
  220. ti,hwmods = "tpcc";
  221. reg = <0x49000000 0x10000>;
  222. reg-names = "edma3_cc";
  223. interrupts = <12 13 14>;
  224. interrupt-names = "edma3_ccint", "edma3_mperr",
  225. "edma3_ccerrint";
  226. dma-requests = <64>;
  227. #dma-cells = <2>;
  228. ti,tptcs = <&edma_tptc0 7>, <&edma_tptc1 5>,
  229. <&edma_tptc2 0>;
  230. ti,edma-memcpy-channels = <20 21>;
  231. };
  232. edma_tptc0: tptc@49800000 {
  233. compatible = "ti,edma3-tptc";
  234. ti,hwmods = "tptc0";
  235. reg = <0x49800000 0x100000>;
  236. interrupts = <112>;
  237. interrupt-names = "edma3_tcerrint";
  238. };
  239. edma_tptc1: tptc@49900000 {
  240. compatible = "ti,edma3-tptc";
  241. ti,hwmods = "tptc1";
  242. reg = <0x49900000 0x100000>;
  243. interrupts = <113>;
  244. interrupt-names = "edma3_tcerrint";
  245. };
  246. edma_tptc2: tptc@49a00000 {
  247. compatible = "ti,edma3-tptc";
  248. ti,hwmods = "tptc2";
  249. reg = <0x49a00000 0x100000>;
  250. interrupts = <114>;
  251. interrupt-names = "edma3_tcerrint";
  252. };
  253. gpio0: gpio@44e07000 {
  254. compatible = "ti,omap4-gpio";
  255. ti,hwmods = "gpio1";
  256. gpio-controller;
  257. #gpio-cells = <2>;
  258. interrupt-controller;
  259. #interrupt-cells = <2>;
  260. reg = <0x44e07000 0x1000>;
  261. interrupts = <96>;
  262. };
  263. gpio1: gpio@4804c000 {
  264. compatible = "ti,omap4-gpio";
  265. ti,hwmods = "gpio2";
  266. gpio-controller;
  267. #gpio-cells = <2>;
  268. interrupt-controller;
  269. #interrupt-cells = <2>;
  270. reg = <0x4804c000 0x1000>;
  271. interrupts = <98>;
  272. };
  273. gpio2: gpio@481ac000 {
  274. compatible = "ti,omap4-gpio";
  275. ti,hwmods = "gpio3";
  276. gpio-controller;
  277. #gpio-cells = <2>;
  278. interrupt-controller;
  279. #interrupt-cells = <2>;
  280. reg = <0x481ac000 0x1000>;
  281. interrupts = <32>;
  282. };
  283. gpio3: gpio@481ae000 {
  284. compatible = "ti,omap4-gpio";
  285. ti,hwmods = "gpio4";
  286. gpio-controller;
  287. #gpio-cells = <2>;
  288. interrupt-controller;
  289. #interrupt-cells = <2>;
  290. reg = <0x481ae000 0x1000>;
  291. interrupts = <62>;
  292. };
  293. uart0: serial@44e09000 {
  294. compatible = "ti,am3352-uart", "ti,omap3-uart";
  295. ti,hwmods = "uart1";
  296. clock-frequency = <48000000>;
  297. reg = <0x44e09000 0x2000>;
  298. interrupts = <72>;
  299. status = "disabled";
  300. dmas = <&edma 26 0>, <&edma 27 0>;
  301. dma-names = "tx", "rx";
  302. };
  303. uart1: serial@48022000 {
  304. compatible = "ti,am3352-uart", "ti,omap3-uart";
  305. ti,hwmods = "uart2";
  306. clock-frequency = <48000000>;
  307. reg = <0x48022000 0x2000>;
  308. interrupts = <73>;
  309. status = "disabled";
  310. dmas = <&edma 28 0>, <&edma 29 0>;
  311. dma-names = "tx", "rx";
  312. };
  313. uart2: serial@48024000 {
  314. compatible = "ti,am3352-uart", "ti,omap3-uart";
  315. ti,hwmods = "uart3";
  316. clock-frequency = <48000000>;
  317. reg = <0x48024000 0x2000>;
  318. interrupts = <74>;
  319. status = "disabled";
  320. dmas = <&edma 30 0>, <&edma 31 0>;
  321. dma-names = "tx", "rx";
  322. };
  323. uart3: serial@481a6000 {
  324. compatible = "ti,am3352-uart", "ti,omap3-uart";
  325. ti,hwmods = "uart4";
  326. clock-frequency = <48000000>;
  327. reg = <0x481a6000 0x2000>;
  328. interrupts = <44>;
  329. status = "disabled";
  330. };
  331. uart4: serial@481a8000 {
  332. compatible = "ti,am3352-uart", "ti,omap3-uart";
  333. ti,hwmods = "uart5";
  334. clock-frequency = <48000000>;
  335. reg = <0x481a8000 0x2000>;
  336. interrupts = <45>;
  337. status = "disabled";
  338. };
  339. uart5: serial@481aa000 {
  340. compatible = "ti,am3352-uart", "ti,omap3-uart";
  341. ti,hwmods = "uart6";
  342. clock-frequency = <48000000>;
  343. reg = <0x481aa000 0x2000>;
  344. interrupts = <46>;
  345. status = "disabled";
  346. };
  347. i2c0: i2c@44e0b000 {
  348. compatible = "ti,omap4-i2c";
  349. #address-cells = <1>;
  350. #size-cells = <0>;
  351. ti,hwmods = "i2c1";
  352. reg = <0x44e0b000 0x1000>;
  353. interrupts = <70>;
  354. status = "disabled";
  355. };
  356. i2c1: i2c@4802a000 {
  357. compatible = "ti,omap4-i2c";
  358. #address-cells = <1>;
  359. #size-cells = <0>;
  360. ti,hwmods = "i2c2";
  361. reg = <0x4802a000 0x1000>;
  362. interrupts = <71>;
  363. status = "disabled";
  364. };
  365. i2c2: i2c@4819c000 {
  366. compatible = "ti,omap4-i2c";
  367. #address-cells = <1>;
  368. #size-cells = <0>;
  369. ti,hwmods = "i2c3";
  370. reg = <0x4819c000 0x1000>;
  371. interrupts = <30>;
  372. status = "disabled";
  373. };
  374. mmc1: mmc@48060000 {
  375. compatible = "ti,omap4-hsmmc";
  376. ti,hwmods = "mmc1";
  377. ti,dual-volt;
  378. ti,needs-special-reset;
  379. ti,needs-special-hs-handling;
  380. dmas = <&edma_xbar 24 0 0
  381. &edma_xbar 25 0 0>;
  382. dma-names = "tx", "rx";
  383. interrupts = <64>;
  384. reg = <0x48060000 0x1000>;
  385. status = "disabled";
  386. };
  387. mmc2: mmc@481d8000 {
  388. compatible = "ti,omap4-hsmmc";
  389. ti,hwmods = "mmc2";
  390. ti,needs-special-reset;
  391. dmas = <&edma 2 0
  392. &edma 3 0>;
  393. dma-names = "tx", "rx";
  394. interrupts = <28>;
  395. reg = <0x481d8000 0x1000>;
  396. status = "disabled";
  397. };
  398. mmc3: mmc@47810000 {
  399. compatible = "ti,omap4-hsmmc";
  400. ti,hwmods = "mmc3";
  401. ti,needs-special-reset;
  402. interrupts = <29>;
  403. reg = <0x47810000 0x1000>;
  404. status = "disabled";
  405. };
  406. hwspinlock: spinlock@480ca000 {
  407. compatible = "ti,omap4-hwspinlock";
  408. reg = <0x480ca000 0x1000>;
  409. ti,hwmods = "spinlock";
  410. #hwlock-cells = <1>;
  411. };
  412. wdt2: wdt@44e35000 {
  413. compatible = "ti,omap3-wdt";
  414. ti,hwmods = "wd_timer2";
  415. reg = <0x44e35000 0x1000>;
  416. interrupts = <91>;
  417. };
  418. dcan0: can@481cc000 {
  419. compatible = "ti,am3352-d_can";
  420. ti,hwmods = "d_can0";
  421. reg = <0x481cc000 0x2000>;
  422. clocks = <&dcan0_fck>;
  423. clock-names = "fck";
  424. syscon-raminit = <&scm_conf 0x644 0>;
  425. interrupts = <52>;
  426. status = "disabled";
  427. };
  428. dcan1: can@481d0000 {
  429. compatible = "ti,am3352-d_can";
  430. ti,hwmods = "d_can1";
  431. reg = <0x481d0000 0x2000>;
  432. clocks = <&dcan1_fck>;
  433. clock-names = "fck";
  434. syscon-raminit = <&scm_conf 0x644 1>;
  435. interrupts = <55>;
  436. status = "disabled";
  437. };
  438. mailbox: mailbox@480C8000 {
  439. compatible = "ti,omap4-mailbox";
  440. reg = <0x480C8000 0x200>;
  441. interrupts = <77>;
  442. ti,hwmods = "mailbox";
  443. #mbox-cells = <1>;
  444. ti,mbox-num-users = <4>;
  445. ti,mbox-num-fifos = <8>;
  446. mbox_wkupm3: wkup_m3 {
  447. ti,mbox-send-noirq;
  448. ti,mbox-tx = <0 0 0>;
  449. ti,mbox-rx = <0 0 3>;
  450. };
  451. };
  452. timer1: timer@44e31000 {
  453. compatible = "ti,am335x-timer-1ms";
  454. reg = <0x44e31000 0x400>;
  455. interrupts = <67>;
  456. ti,hwmods = "timer1";
  457. ti,timer-alwon;
  458. };
  459. timer2: timer@48040000 {
  460. compatible = "ti,am335x-timer";
  461. reg = <0x48040000 0x400>;
  462. interrupts = <68>;
  463. ti,hwmods = "timer2";
  464. };
  465. timer3: timer@48042000 {
  466. compatible = "ti,am335x-timer";
  467. reg = <0x48042000 0x400>;
  468. interrupts = <69>;
  469. ti,hwmods = "timer3";
  470. };
  471. timer4: timer@48044000 {
  472. compatible = "ti,am335x-timer";
  473. reg = <0x48044000 0x400>;
  474. interrupts = <92>;
  475. ti,hwmods = "timer4";
  476. ti,timer-pwm;
  477. };
  478. timer5: timer@48046000 {
  479. compatible = "ti,am335x-timer";
  480. reg = <0x48046000 0x400>;
  481. interrupts = <93>;
  482. ti,hwmods = "timer5";
  483. ti,timer-pwm;
  484. };
  485. timer6: timer@48048000 {
  486. compatible = "ti,am335x-timer";
  487. reg = <0x48048000 0x400>;
  488. interrupts = <94>;
  489. ti,hwmods = "timer6";
  490. ti,timer-pwm;
  491. };
  492. timer7: timer@4804a000 {
  493. compatible = "ti,am335x-timer";
  494. reg = <0x4804a000 0x400>;
  495. interrupts = <95>;
  496. ti,hwmods = "timer7";
  497. ti,timer-pwm;
  498. };
  499. rtc: rtc@44e3e000 {
  500. compatible = "ti,am3352-rtc", "ti,da830-rtc";
  501. reg = <0x44e3e000 0x1000>;
  502. interrupts = <75
  503. 76>;
  504. ti,hwmods = "rtc";
  505. clocks = <&clkdiv32k_ick>;
  506. clock-names = "int-clk";
  507. };
  508. spi0: spi@48030000 {
  509. compatible = "ti,omap4-mcspi";
  510. #address-cells = <1>;
  511. #size-cells = <0>;
  512. reg = <0x48030000 0x400>;
  513. interrupts = <65>;
  514. ti,spi-num-cs = <2>;
  515. ti,hwmods = "spi0";
  516. dmas = <&edma 16 0
  517. &edma 17 0
  518. &edma 18 0
  519. &edma 19 0>;
  520. dma-names = "tx0", "rx0", "tx1", "rx1";
  521. status = "disabled";
  522. };
  523. spi1: spi@481a0000 {
  524. compatible = "ti,omap4-mcspi";
  525. #address-cells = <1>;
  526. #size-cells = <0>;
  527. reg = <0x481a0000 0x400>;
  528. interrupts = <125>;
  529. ti,spi-num-cs = <2>;
  530. ti,hwmods = "spi1";
  531. dmas = <&edma 42 0
  532. &edma 43 0
  533. &edma 44 0
  534. &edma 45 0>;
  535. dma-names = "tx0", "rx0", "tx1", "rx1";
  536. status = "disabled";
  537. };
  538. usb: usb@47400000 {
  539. compatible = "ti,am33xx-usb";
  540. reg = <0x47400000 0x1000>;
  541. ranges;
  542. #address-cells = <1>;
  543. #size-cells = <1>;
  544. ti,hwmods = "usb_otg_hs";
  545. status = "disabled";
  546. usb_ctrl_mod: control@44e10620 {
  547. compatible = "ti,am335x-usb-ctrl-module";
  548. reg = <0x44e10620 0x10
  549. 0x44e10648 0x4>;
  550. reg-names = "phy_ctrl", "wakeup";
  551. status = "disabled";
  552. };
  553. usb0_phy: usb-phy@47401300 {
  554. compatible = "ti,am335x-usb-phy";
  555. reg = <0x47401300 0x100>;
  556. reg-names = "phy";
  557. status = "disabled";
  558. ti,ctrl_mod = <&usb_ctrl_mod>;
  559. };
  560. usb0: usb@47401000 {
  561. compatible = "ti,musb-am33xx";
  562. status = "disabled";
  563. reg = <0x47401400 0x400
  564. 0x47401000 0x200>;
  565. reg-names = "mc", "control";
  566. interrupts = <18>;
  567. interrupt-names = "mc";
  568. dr_mode = "otg";
  569. mentor,multipoint = <1>;
  570. mentor,num-eps = <16>;
  571. mentor,ram-bits = <12>;
  572. mentor,power = <500>;
  573. phys = <&usb0_phy>;
  574. dmas = <&cppi41dma 0 0 &cppi41dma 1 0
  575. &cppi41dma 2 0 &cppi41dma 3 0
  576. &cppi41dma 4 0 &cppi41dma 5 0
  577. &cppi41dma 6 0 &cppi41dma 7 0
  578. &cppi41dma 8 0 &cppi41dma 9 0
  579. &cppi41dma 10 0 &cppi41dma 11 0
  580. &cppi41dma 12 0 &cppi41dma 13 0
  581. &cppi41dma 14 0 &cppi41dma 0 1
  582. &cppi41dma 1 1 &cppi41dma 2 1
  583. &cppi41dma 3 1 &cppi41dma 4 1
  584. &cppi41dma 5 1 &cppi41dma 6 1
  585. &cppi41dma 7 1 &cppi41dma 8 1
  586. &cppi41dma 9 1 &cppi41dma 10 1
  587. &cppi41dma 11 1 &cppi41dma 12 1
  588. &cppi41dma 13 1 &cppi41dma 14 1>;
  589. dma-names =
  590. "rx1", "rx2", "rx3", "rx4", "rx5", "rx6", "rx7",
  591. "rx8", "rx9", "rx10", "rx11", "rx12", "rx13",
  592. "rx14", "rx15",
  593. "tx1", "tx2", "tx3", "tx4", "tx5", "tx6", "tx7",
  594. "tx8", "tx9", "tx10", "tx11", "tx12", "tx13",
  595. "tx14", "tx15";
  596. };
  597. usb1_phy: usb-phy@47401b00 {
  598. compatible = "ti,am335x-usb-phy";
  599. reg = <0x47401b00 0x100>;
  600. reg-names = "phy";
  601. status = "disabled";
  602. ti,ctrl_mod = <&usb_ctrl_mod>;
  603. };
  604. usb1: usb@47401800 {
  605. compatible = "ti,musb-am33xx";
  606. status = "disabled";
  607. reg = <0x47401c00 0x400
  608. 0x47401800 0x200>;
  609. reg-names = "mc", "control";
  610. interrupts = <19>;
  611. interrupt-names = "mc";
  612. dr_mode = "otg";
  613. mentor,multipoint = <1>;
  614. mentor,num-eps = <16>;
  615. mentor,ram-bits = <12>;
  616. mentor,power = <500>;
  617. phys = <&usb1_phy>;
  618. dmas = <&cppi41dma 15 0 &cppi41dma 16 0
  619. &cppi41dma 17 0 &cppi41dma 18 0
  620. &cppi41dma 19 0 &cppi41dma 20 0
  621. &cppi41dma 21 0 &cppi41dma 22 0
  622. &cppi41dma 23 0 &cppi41dma 24 0
  623. &cppi41dma 25 0 &cppi41dma 26 0
  624. &cppi41dma 27 0 &cppi41dma 28 0
  625. &cppi41dma 29 0 &cppi41dma 15 1
  626. &cppi41dma 16 1 &cppi41dma 17 1
  627. &cppi41dma 18 1 &cppi41dma 19 1
  628. &cppi41dma 20 1 &cppi41dma 21 1
  629. &cppi41dma 22 1 &cppi41dma 23 1
  630. &cppi41dma 24 1 &cppi41dma 25 1
  631. &cppi41dma 26 1 &cppi41dma 27 1
  632. &cppi41dma 28 1 &cppi41dma 29 1>;
  633. dma-names =
  634. "rx1", "rx2", "rx3", "rx4", "rx5", "rx6", "rx7",
  635. "rx8", "rx9", "rx10", "rx11", "rx12", "rx13",
  636. "rx14", "rx15",
  637. "tx1", "tx2", "tx3", "tx4", "tx5", "tx6", "tx7",
  638. "tx8", "tx9", "tx10", "tx11", "tx12", "tx13",
  639. "tx14", "tx15";
  640. };
  641. cppi41dma: dma-controller@47402000 {
  642. compatible = "ti,am3359-cppi41";
  643. reg = <0x47400000 0x1000
  644. 0x47402000 0x1000
  645. 0x47403000 0x1000
  646. 0x47404000 0x4000>;
  647. reg-names = "glue", "controller", "scheduler", "queuemgr";
  648. interrupts = <17>;
  649. interrupt-names = "glue";
  650. #dma-cells = <2>;
  651. #dma-channels = <30>;
  652. #dma-requests = <256>;
  653. status = "disabled";
  654. };
  655. };
  656. epwmss0: epwmss@48300000 {
  657. compatible = "ti,am33xx-pwmss";
  658. reg = <0x48300000 0x10>;
  659. ti,hwmods = "epwmss0";
  660. #address-cells = <1>;
  661. #size-cells = <1>;
  662. status = "disabled";
  663. ranges = <0x48300100 0x48300100 0x80 /* ECAP */
  664. 0x48300180 0x48300180 0x80 /* EQEP */
  665. 0x48300200 0x48300200 0x80>; /* EHRPWM */
  666. ecap0: ecap@48300100 {
  667. compatible = "ti,am3352-ecap",
  668. "ti,am33xx-ecap";
  669. #pwm-cells = <3>;
  670. reg = <0x48300100 0x80>;
  671. clocks = <&l4ls_gclk>;
  672. clock-names = "fck";
  673. interrupts = <31>;
  674. interrupt-names = "ecap0";
  675. status = "disabled";
  676. };
  677. ehrpwm0: pwm@48300200 {
  678. compatible = "ti,am3352-ehrpwm",
  679. "ti,am33xx-ehrpwm";
  680. #pwm-cells = <3>;
  681. reg = <0x48300200 0x80>;
  682. clocks = <&ehrpwm0_tbclk>, <&l4ls_gclk>;
  683. clock-names = "tbclk", "fck";
  684. status = "disabled";
  685. };
  686. };
  687. epwmss1: epwmss@48302000 {
  688. compatible = "ti,am33xx-pwmss";
  689. reg = <0x48302000 0x10>;
  690. ti,hwmods = "epwmss1";
  691. #address-cells = <1>;
  692. #size-cells = <1>;
  693. status = "disabled";
  694. ranges = <0x48302100 0x48302100 0x80 /* ECAP */
  695. 0x48302180 0x48302180 0x80 /* EQEP */
  696. 0x48302200 0x48302200 0x80>; /* EHRPWM */
  697. ecap1: ecap@48302100 {
  698. compatible = "ti,am3352-ecap",
  699. "ti,am33xx-ecap";
  700. #pwm-cells = <3>;
  701. reg = <0x48302100 0x80>;
  702. clocks = <&l4ls_gclk>;
  703. clock-names = "fck";
  704. interrupts = <47>;
  705. interrupt-names = "ecap1";
  706. status = "disabled";
  707. };
  708. ehrpwm1: pwm@48302200 {
  709. compatible = "ti,am3352-ehrpwm",
  710. "ti,am33xx-ehrpwm";
  711. #pwm-cells = <3>;
  712. reg = <0x48302200 0x80>;
  713. clocks = <&ehrpwm1_tbclk>, <&l4ls_gclk>;
  714. clock-names = "tbclk", "fck";
  715. status = "disabled";
  716. };
  717. };
  718. epwmss2: epwmss@48304000 {
  719. compatible = "ti,am33xx-pwmss";
  720. reg = <0x48304000 0x10>;
  721. ti,hwmods = "epwmss2";
  722. #address-cells = <1>;
  723. #size-cells = <1>;
  724. status = "disabled";
  725. ranges = <0x48304100 0x48304100 0x80 /* ECAP */
  726. 0x48304180 0x48304180 0x80 /* EQEP */
  727. 0x48304200 0x48304200 0x80>; /* EHRPWM */
  728. ecap2: ecap@48304100 {
  729. compatible = "ti,am3352-ecap",
  730. "ti,am33xx-ecap";
  731. #pwm-cells = <3>;
  732. reg = <0x48304100 0x80>;
  733. clocks = <&l4ls_gclk>;
  734. clock-names = "fck";
  735. interrupts = <61>;
  736. interrupt-names = "ecap2";
  737. status = "disabled";
  738. };
  739. ehrpwm2: pwm@48304200 {
  740. compatible = "ti,am3352-ehrpwm",
  741. "ti,am33xx-ehrpwm";
  742. #pwm-cells = <3>;
  743. reg = <0x48304200 0x80>;
  744. clocks = <&ehrpwm2_tbclk>, <&l4ls_gclk>;
  745. clock-names = "tbclk", "fck";
  746. status = "disabled";
  747. };
  748. };
  749. mac: ethernet@4a100000 {
  750. compatible = "ti,am335x-cpsw","ti,cpsw";
  751. ti,hwmods = "cpgmac0";
  752. clocks = <&cpsw_125mhz_gclk>, <&cpsw_cpts_rft_clk>;
  753. clock-names = "fck", "cpts";
  754. cpdma_channels = <8>;
  755. ale_entries = <1024>;
  756. bd_ram_size = <0x2000>;
  757. mac_control = <0x20>;
  758. slaves = <2>;
  759. active_slave = <0>;
  760. cpts_clock_mult = <0x80000000>;
  761. cpts_clock_shift = <29>;
  762. reg = <0x4a100000 0x800
  763. 0x4a101200 0x100>;
  764. #address-cells = <1>;
  765. #size-cells = <1>;
  766. /*
  767. * c0_rx_thresh_pend
  768. * c0_rx_pend
  769. * c0_tx_pend
  770. * c0_misc_pend
  771. */
  772. interrupts = <40 41 42 43>;
  773. ranges;
  774. syscon = <&scm_conf>;
  775. status = "disabled";
  776. davinci_mdio: mdio@4a101000 {
  777. compatible = "ti,cpsw-mdio","ti,davinci_mdio";
  778. #address-cells = <1>;
  779. #size-cells = <0>;
  780. ti,hwmods = "davinci_mdio";
  781. bus_freq = <1000000>;
  782. reg = <0x4a101000 0x100>;
  783. status = "disabled";
  784. };
  785. cpsw_emac0: slave@4a100200 {
  786. /* Filled in by U-Boot */
  787. mac-address = [ 00 00 00 00 00 00 ];
  788. };
  789. cpsw_emac1: slave@4a100300 {
  790. /* Filled in by U-Boot */
  791. mac-address = [ 00 00 00 00 00 00 ];
  792. };
  793. phy_sel: cpsw-phy-sel@44e10650 {
  794. compatible = "ti,am3352-cpsw-phy-sel";
  795. reg= <0x44e10650 0x4>;
  796. reg-names = "gmii-sel";
  797. };
  798. };
  799. ocmcram: ocmcram@40300000 {
  800. compatible = "mmio-sram";
  801. reg = <0x40300000 0x10000>; /* 64k */
  802. };
  803. elm: elm@48080000 {
  804. compatible = "ti,am3352-elm";
  805. reg = <0x48080000 0x2000>;
  806. interrupts = <4>;
  807. ti,hwmods = "elm";
  808. status = "disabled";
  809. };
  810. lcdc: lcdc@4830e000 {
  811. compatible = "ti,am33xx-tilcdc";
  812. reg = <0x4830e000 0x1000>;
  813. interrupts = <36>;
  814. ti,hwmods = "lcdc";
  815. status = "disabled";
  816. };
  817. tscadc: tscadc@44e0d000 {
  818. compatible = "ti,am3359-tscadc";
  819. reg = <0x44e0d000 0x1000>;
  820. interrupts = <16>;
  821. ti,hwmods = "adc_tsc";
  822. status = "disabled";
  823. dmas = <&edma 53 0>, <&edma 57 0>;
  824. dma-names = "fifo0", "fifo1";
  825. tsc {
  826. compatible = "ti,am3359-tsc";
  827. };
  828. am335x_adc: adc {
  829. #io-channel-cells = <1>;
  830. compatible = "ti,am3359-adc";
  831. };
  832. };
  833. emif: emif@4c000000 {
  834. compatible = "ti,emif-am3352";
  835. reg = <0x4c000000 0x1000000>;
  836. ti,hwmods = "emif";
  837. };
  838. gpmc: gpmc@50000000 {
  839. compatible = "ti,am3352-gpmc";
  840. ti,hwmods = "gpmc";
  841. ti,no-idle-on-init;
  842. reg = <0x50000000 0x2000>;
  843. interrupts = <100>;
  844. dmas = <&edma 52 0>;
  845. dma-names = "rxtx";
  846. gpmc,num-cs = <7>;
  847. gpmc,num-waitpins = <2>;
  848. #address-cells = <2>;
  849. #size-cells = <1>;
  850. interrupt-controller;
  851. #interrupt-cells = <2>;
  852. gpio-controller;
  853. #gpio-cells = <2>;
  854. status = "disabled";
  855. };
  856. sham: sham@53100000 {
  857. compatible = "ti,omap4-sham";
  858. ti,hwmods = "sham";
  859. reg = <0x53100000 0x200>;
  860. interrupts = <109>;
  861. dmas = <&edma 36 0>;
  862. dma-names = "rx";
  863. };
  864. aes: aes@53500000 {
  865. compatible = "ti,omap4-aes";
  866. ti,hwmods = "aes";
  867. reg = <0x53500000 0xa0>;
  868. interrupts = <103>;
  869. dmas = <&edma 6 0>,
  870. <&edma 5 0>;
  871. dma-names = "tx", "rx";
  872. };
  873. mcasp0: mcasp@48038000 {
  874. compatible = "ti,am33xx-mcasp-audio";
  875. ti,hwmods = "mcasp0";
  876. reg = <0x48038000 0x2000>,
  877. <0x46000000 0x400000>;
  878. reg-names = "mpu", "dat";
  879. interrupts = <80>, <81>;
  880. interrupt-names = "tx", "rx";
  881. status = "disabled";
  882. dmas = <&edma 8 2>,
  883. <&edma 9 2>;
  884. dma-names = "tx", "rx";
  885. };
  886. mcasp1: mcasp@4803C000 {
  887. compatible = "ti,am33xx-mcasp-audio";
  888. ti,hwmods = "mcasp1";
  889. reg = <0x4803C000 0x2000>,
  890. <0x46400000 0x400000>;
  891. reg-names = "mpu", "dat";
  892. interrupts = <82>, <83>;
  893. interrupt-names = "tx", "rx";
  894. status = "disabled";
  895. dmas = <&edma 10 2>,
  896. <&edma 11 2>;
  897. dma-names = "tx", "rx";
  898. };
  899. rng: rng@48310000 {
  900. compatible = "ti,omap4-rng";
  901. ti,hwmods = "rng";
  902. reg = <0x48310000 0x2000>;
  903. interrupts = <111>;
  904. };
  905. };
  906. };
  907. /include/ "am33xx-clocks.dtsi"