am33xx.dtsi 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017
  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. #phy-cells = <0>;
  560. };
  561. usb0: usb@47401000 {
  562. compatible = "ti,musb-am33xx";
  563. status = "disabled";
  564. reg = <0x47401400 0x400
  565. 0x47401000 0x200>;
  566. reg-names = "mc", "control";
  567. interrupts = <18>;
  568. interrupt-names = "mc";
  569. dr_mode = "otg";
  570. mentor,multipoint = <1>;
  571. mentor,num-eps = <16>;
  572. mentor,ram-bits = <12>;
  573. mentor,power = <500>;
  574. phys = <&usb0_phy>;
  575. dmas = <&cppi41dma 0 0 &cppi41dma 1 0
  576. &cppi41dma 2 0 &cppi41dma 3 0
  577. &cppi41dma 4 0 &cppi41dma 5 0
  578. &cppi41dma 6 0 &cppi41dma 7 0
  579. &cppi41dma 8 0 &cppi41dma 9 0
  580. &cppi41dma 10 0 &cppi41dma 11 0
  581. &cppi41dma 12 0 &cppi41dma 13 0
  582. &cppi41dma 14 0 &cppi41dma 0 1
  583. &cppi41dma 1 1 &cppi41dma 2 1
  584. &cppi41dma 3 1 &cppi41dma 4 1
  585. &cppi41dma 5 1 &cppi41dma 6 1
  586. &cppi41dma 7 1 &cppi41dma 8 1
  587. &cppi41dma 9 1 &cppi41dma 10 1
  588. &cppi41dma 11 1 &cppi41dma 12 1
  589. &cppi41dma 13 1 &cppi41dma 14 1>;
  590. dma-names =
  591. "rx1", "rx2", "rx3", "rx4", "rx5", "rx6", "rx7",
  592. "rx8", "rx9", "rx10", "rx11", "rx12", "rx13",
  593. "rx14", "rx15",
  594. "tx1", "tx2", "tx3", "tx4", "tx5", "tx6", "tx7",
  595. "tx8", "tx9", "tx10", "tx11", "tx12", "tx13",
  596. "tx14", "tx15";
  597. };
  598. usb1_phy: usb-phy@47401b00 {
  599. compatible = "ti,am335x-usb-phy";
  600. reg = <0x47401b00 0x100>;
  601. reg-names = "phy";
  602. status = "disabled";
  603. ti,ctrl_mod = <&usb_ctrl_mod>;
  604. #phy-cells = <0>;
  605. };
  606. usb1: usb@47401800 {
  607. compatible = "ti,musb-am33xx";
  608. status = "disabled";
  609. reg = <0x47401c00 0x400
  610. 0x47401800 0x200>;
  611. reg-names = "mc", "control";
  612. interrupts = <19>;
  613. interrupt-names = "mc";
  614. dr_mode = "otg";
  615. mentor,multipoint = <1>;
  616. mentor,num-eps = <16>;
  617. mentor,ram-bits = <12>;
  618. mentor,power = <500>;
  619. phys = <&usb1_phy>;
  620. dmas = <&cppi41dma 15 0 &cppi41dma 16 0
  621. &cppi41dma 17 0 &cppi41dma 18 0
  622. &cppi41dma 19 0 &cppi41dma 20 0
  623. &cppi41dma 21 0 &cppi41dma 22 0
  624. &cppi41dma 23 0 &cppi41dma 24 0
  625. &cppi41dma 25 0 &cppi41dma 26 0
  626. &cppi41dma 27 0 &cppi41dma 28 0
  627. &cppi41dma 29 0 &cppi41dma 15 1
  628. &cppi41dma 16 1 &cppi41dma 17 1
  629. &cppi41dma 18 1 &cppi41dma 19 1
  630. &cppi41dma 20 1 &cppi41dma 21 1
  631. &cppi41dma 22 1 &cppi41dma 23 1
  632. &cppi41dma 24 1 &cppi41dma 25 1
  633. &cppi41dma 26 1 &cppi41dma 27 1
  634. &cppi41dma 28 1 &cppi41dma 29 1>;
  635. dma-names =
  636. "rx1", "rx2", "rx3", "rx4", "rx5", "rx6", "rx7",
  637. "rx8", "rx9", "rx10", "rx11", "rx12", "rx13",
  638. "rx14", "rx15",
  639. "tx1", "tx2", "tx3", "tx4", "tx5", "tx6", "tx7",
  640. "tx8", "tx9", "tx10", "tx11", "tx12", "tx13",
  641. "tx14", "tx15";
  642. };
  643. cppi41dma: dma-controller@47402000 {
  644. compatible = "ti,am3359-cppi41";
  645. reg = <0x47400000 0x1000
  646. 0x47402000 0x1000
  647. 0x47403000 0x1000
  648. 0x47404000 0x4000>;
  649. reg-names = "glue", "controller", "scheduler", "queuemgr";
  650. interrupts = <17>;
  651. interrupt-names = "glue";
  652. #dma-cells = <2>;
  653. #dma-channels = <30>;
  654. #dma-requests = <256>;
  655. status = "disabled";
  656. };
  657. };
  658. epwmss0: epwmss@48300000 {
  659. compatible = "ti,am33xx-pwmss";
  660. reg = <0x48300000 0x10>;
  661. ti,hwmods = "epwmss0";
  662. #address-cells = <1>;
  663. #size-cells = <1>;
  664. status = "disabled";
  665. ranges = <0x48300100 0x48300100 0x80 /* ECAP */
  666. 0x48300180 0x48300180 0x80 /* EQEP */
  667. 0x48300200 0x48300200 0x80>; /* EHRPWM */
  668. ecap0: ecap@48300100 {
  669. compatible = "ti,am3352-ecap",
  670. "ti,am33xx-ecap";
  671. #pwm-cells = <3>;
  672. reg = <0x48300100 0x80>;
  673. clocks = <&l4ls_gclk>;
  674. clock-names = "fck";
  675. interrupts = <31>;
  676. interrupt-names = "ecap0";
  677. status = "disabled";
  678. };
  679. ehrpwm0: pwm@48300200 {
  680. compatible = "ti,am3352-ehrpwm",
  681. "ti,am33xx-ehrpwm";
  682. #pwm-cells = <3>;
  683. reg = <0x48300200 0x80>;
  684. clocks = <&ehrpwm0_tbclk>, <&l4ls_gclk>;
  685. clock-names = "tbclk", "fck";
  686. status = "disabled";
  687. };
  688. };
  689. epwmss1: epwmss@48302000 {
  690. compatible = "ti,am33xx-pwmss";
  691. reg = <0x48302000 0x10>;
  692. ti,hwmods = "epwmss1";
  693. #address-cells = <1>;
  694. #size-cells = <1>;
  695. status = "disabled";
  696. ranges = <0x48302100 0x48302100 0x80 /* ECAP */
  697. 0x48302180 0x48302180 0x80 /* EQEP */
  698. 0x48302200 0x48302200 0x80>; /* EHRPWM */
  699. ecap1: ecap@48302100 {
  700. compatible = "ti,am3352-ecap",
  701. "ti,am33xx-ecap";
  702. #pwm-cells = <3>;
  703. reg = <0x48302100 0x80>;
  704. clocks = <&l4ls_gclk>;
  705. clock-names = "fck";
  706. interrupts = <47>;
  707. interrupt-names = "ecap1";
  708. status = "disabled";
  709. };
  710. ehrpwm1: pwm@48302200 {
  711. compatible = "ti,am3352-ehrpwm",
  712. "ti,am33xx-ehrpwm";
  713. #pwm-cells = <3>;
  714. reg = <0x48302200 0x80>;
  715. clocks = <&ehrpwm1_tbclk>, <&l4ls_gclk>;
  716. clock-names = "tbclk", "fck";
  717. status = "disabled";
  718. };
  719. };
  720. epwmss2: epwmss@48304000 {
  721. compatible = "ti,am33xx-pwmss";
  722. reg = <0x48304000 0x10>;
  723. ti,hwmods = "epwmss2";
  724. #address-cells = <1>;
  725. #size-cells = <1>;
  726. status = "disabled";
  727. ranges = <0x48304100 0x48304100 0x80 /* ECAP */
  728. 0x48304180 0x48304180 0x80 /* EQEP */
  729. 0x48304200 0x48304200 0x80>; /* EHRPWM */
  730. ecap2: ecap@48304100 {
  731. compatible = "ti,am3352-ecap",
  732. "ti,am33xx-ecap";
  733. #pwm-cells = <3>;
  734. reg = <0x48304100 0x80>;
  735. clocks = <&l4ls_gclk>;
  736. clock-names = "fck";
  737. interrupts = <61>;
  738. interrupt-names = "ecap2";
  739. status = "disabled";
  740. };
  741. ehrpwm2: pwm@48304200 {
  742. compatible = "ti,am3352-ehrpwm",
  743. "ti,am33xx-ehrpwm";
  744. #pwm-cells = <3>;
  745. reg = <0x48304200 0x80>;
  746. clocks = <&ehrpwm2_tbclk>, <&l4ls_gclk>;
  747. clock-names = "tbclk", "fck";
  748. status = "disabled";
  749. };
  750. };
  751. mac: ethernet@4a100000 {
  752. compatible = "ti,am335x-cpsw","ti,cpsw";
  753. ti,hwmods = "cpgmac0";
  754. clocks = <&cpsw_125mhz_gclk>, <&cpsw_cpts_rft_clk>;
  755. clock-names = "fck", "cpts";
  756. cpdma_channels = <8>;
  757. ale_entries = <1024>;
  758. bd_ram_size = <0x2000>;
  759. mac_control = <0x20>;
  760. slaves = <2>;
  761. active_slave = <0>;
  762. cpts_clock_mult = <0x80000000>;
  763. cpts_clock_shift = <29>;
  764. reg = <0x4a100000 0x800
  765. 0x4a101200 0x100>;
  766. #address-cells = <1>;
  767. #size-cells = <1>;
  768. /*
  769. * c0_rx_thresh_pend
  770. * c0_rx_pend
  771. * c0_tx_pend
  772. * c0_misc_pend
  773. */
  774. interrupts = <40 41 42 43>;
  775. ranges;
  776. syscon = <&scm_conf>;
  777. status = "disabled";
  778. davinci_mdio: mdio@4a101000 {
  779. compatible = "ti,cpsw-mdio","ti,davinci_mdio";
  780. #address-cells = <1>;
  781. #size-cells = <0>;
  782. ti,hwmods = "davinci_mdio";
  783. bus_freq = <1000000>;
  784. reg = <0x4a101000 0x100>;
  785. status = "disabled";
  786. };
  787. cpsw_emac0: slave@4a100200 {
  788. /* Filled in by U-Boot */
  789. mac-address = [ 00 00 00 00 00 00 ];
  790. };
  791. cpsw_emac1: slave@4a100300 {
  792. /* Filled in by U-Boot */
  793. mac-address = [ 00 00 00 00 00 00 ];
  794. };
  795. phy_sel: cpsw-phy-sel@44e10650 {
  796. compatible = "ti,am3352-cpsw-phy-sel";
  797. reg= <0x44e10650 0x4>;
  798. reg-names = "gmii-sel";
  799. };
  800. };
  801. ocmcram: ocmcram@40300000 {
  802. compatible = "mmio-sram";
  803. reg = <0x40300000 0x10000>; /* 64k */
  804. };
  805. elm: elm@48080000 {
  806. compatible = "ti,am3352-elm";
  807. reg = <0x48080000 0x2000>;
  808. interrupts = <4>;
  809. ti,hwmods = "elm";
  810. status = "disabled";
  811. };
  812. lcdc: lcdc@4830e000 {
  813. compatible = "ti,am33xx-tilcdc";
  814. reg = <0x4830e000 0x1000>;
  815. interrupts = <36>;
  816. ti,hwmods = "lcdc";
  817. status = "disabled";
  818. };
  819. tscadc: tscadc@44e0d000 {
  820. compatible = "ti,am3359-tscadc";
  821. reg = <0x44e0d000 0x1000>;
  822. interrupts = <16>;
  823. ti,hwmods = "adc_tsc";
  824. status = "disabled";
  825. dmas = <&edma 53 0>, <&edma 57 0>;
  826. dma-names = "fifo0", "fifo1";
  827. tsc {
  828. compatible = "ti,am3359-tsc";
  829. };
  830. am335x_adc: adc {
  831. #io-channel-cells = <1>;
  832. compatible = "ti,am3359-adc";
  833. };
  834. };
  835. emif: emif@4c000000 {
  836. compatible = "ti,emif-am3352";
  837. reg = <0x4c000000 0x1000000>;
  838. ti,hwmods = "emif";
  839. };
  840. gpmc: gpmc@50000000 {
  841. compatible = "ti,am3352-gpmc";
  842. ti,hwmods = "gpmc";
  843. ti,no-idle-on-init;
  844. reg = <0x50000000 0x2000>;
  845. interrupts = <100>;
  846. dmas = <&edma 52 0>;
  847. dma-names = "rxtx";
  848. gpmc,num-cs = <7>;
  849. gpmc,num-waitpins = <2>;
  850. #address-cells = <2>;
  851. #size-cells = <1>;
  852. interrupt-controller;
  853. #interrupt-cells = <2>;
  854. gpio-controller;
  855. #gpio-cells = <2>;
  856. status = "disabled";
  857. };
  858. sham: sham@53100000 {
  859. compatible = "ti,omap4-sham";
  860. ti,hwmods = "sham";
  861. reg = <0x53100000 0x200>;
  862. interrupts = <109>;
  863. dmas = <&edma 36 0>;
  864. dma-names = "rx";
  865. };
  866. aes: aes@53500000 {
  867. compatible = "ti,omap4-aes";
  868. ti,hwmods = "aes";
  869. reg = <0x53500000 0xa0>;
  870. interrupts = <103>;
  871. dmas = <&edma 6 0>,
  872. <&edma 5 0>;
  873. dma-names = "tx", "rx";
  874. };
  875. mcasp0: mcasp@48038000 {
  876. compatible = "ti,am33xx-mcasp-audio";
  877. ti,hwmods = "mcasp0";
  878. reg = <0x48038000 0x2000>,
  879. <0x46000000 0x400000>;
  880. reg-names = "mpu", "dat";
  881. interrupts = <80>, <81>;
  882. interrupt-names = "tx", "rx";
  883. status = "disabled";
  884. dmas = <&edma 8 2>,
  885. <&edma 9 2>;
  886. dma-names = "tx", "rx";
  887. };
  888. mcasp1: mcasp@4803C000 {
  889. compatible = "ti,am33xx-mcasp-audio";
  890. ti,hwmods = "mcasp1";
  891. reg = <0x4803C000 0x2000>,
  892. <0x46400000 0x400000>;
  893. reg-names = "mpu", "dat";
  894. interrupts = <82>, <83>;
  895. interrupt-names = "tx", "rx";
  896. status = "disabled";
  897. dmas = <&edma 10 2>,
  898. <&edma 11 2>;
  899. dma-names = "tx", "rx";
  900. };
  901. rng: rng@48310000 {
  902. compatible = "ti,omap4-rng";
  903. ti,hwmods = "rng";
  904. reg = <0x48310000 0x2000>;
  905. interrupts = <111>;
  906. };
  907. };
  908. };
  909. /include/ "am33xx-clocks.dtsi"