k3-am64-main.dtsi 38 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * Device Tree Source for AM642 SoC Family Main Domain peripherals
  4. *
  5. * Copyright (C) 2020-2021 Texas Instruments Incorporated - https://www.ti.com/
  6. */
  7. #include <dt-bindings/phy/phy-cadence.h>
  8. #include <dt-bindings/phy/phy-ti.h>
  9. / {
  10. serdes_refclk: clock-cmnrefclk {
  11. #clock-cells = <0>;
  12. compatible = "fixed-clock";
  13. clock-frequency = <0>;
  14. };
  15. };
  16. &cbass_main {
  17. oc_sram: sram@70000000 {
  18. compatible = "mmio-sram";
  19. reg = <0x00 0x70000000 0x00 0x200000>;
  20. #address-cells = <1>;
  21. #size-cells = <1>;
  22. ranges = <0x0 0x00 0x70000000 0x200000>;
  23. tfa-sram@1c0000 {
  24. reg = <0x1c0000 0x20000>;
  25. };
  26. dmsc-sram@1e0000 {
  27. reg = <0x1e0000 0x1c000>;
  28. };
  29. sproxy-sram@1fc000 {
  30. reg = <0x1fc000 0x4000>;
  31. };
  32. };
  33. main_conf: syscon@43000000 {
  34. compatible = "ti,j721e-system-controller", "syscon", "simple-mfd";
  35. reg = <0x0 0x43000000 0x0 0x20000>;
  36. #address-cells = <1>;
  37. #size-cells = <1>;
  38. ranges = <0x0 0x0 0x43000000 0x20000>;
  39. serdes_ln_ctrl: mux-controller {
  40. compatible = "mmio-mux";
  41. #mux-control-cells = <1>;
  42. mux-reg-masks = <0x4080 0x3>; /* SERDES0 lane0 select */
  43. };
  44. };
  45. gic500: interrupt-controller@1800000 {
  46. compatible = "arm,gic-v3";
  47. #address-cells = <2>;
  48. #size-cells = <2>;
  49. ranges;
  50. #interrupt-cells = <3>;
  51. interrupt-controller;
  52. reg = <0x00 0x01800000 0x00 0x10000>, /* GICD */
  53. <0x00 0x01840000 0x00 0xC0000>, /* GICR */
  54. <0x01 0x00000000 0x00 0x2000>, /* GICC */
  55. <0x01 0x00010000 0x00 0x1000>, /* GICH */
  56. <0x01 0x00020000 0x00 0x2000>; /* GICV */
  57. /*
  58. * vcpumntirq:
  59. * virtual CPU interface maintenance interrupt
  60. */
  61. interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
  62. gic_its: msi-controller@1820000 {
  63. compatible = "arm,gic-v3-its";
  64. reg = <0x00 0x01820000 0x00 0x10000>;
  65. socionext,synquacer-pre-its = <0x1000000 0x400000>;
  66. msi-controller;
  67. #msi-cells = <1>;
  68. };
  69. };
  70. dmss: bus@48000000 {
  71. compatible = "simple-mfd";
  72. #address-cells = <2>;
  73. #size-cells = <2>;
  74. dma-ranges;
  75. ranges = <0x00 0x48000000 0x00 0x48000000 0x00 0x06400000>;
  76. ti,sci-dev-id = <25>;
  77. secure_proxy_main: mailbox@4d000000 {
  78. compatible = "ti,am654-secure-proxy";
  79. #mbox-cells = <1>;
  80. reg-names = "target_data", "rt", "scfg";
  81. reg = <0x00 0x4d000000 0x00 0x80000>,
  82. <0x00 0x4a600000 0x00 0x80000>,
  83. <0x00 0x4a400000 0x00 0x80000>;
  84. interrupt-names = "rx_012";
  85. interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
  86. };
  87. inta_main_dmss: interrupt-controller@48000000 {
  88. compatible = "ti,sci-inta";
  89. reg = <0x00 0x48000000 0x00 0x100000>;
  90. #interrupt-cells = <0>;
  91. interrupt-controller;
  92. interrupt-parent = <&gic500>;
  93. msi-controller;
  94. ti,sci = <&dmsc>;
  95. ti,sci-dev-id = <28>;
  96. ti,interrupt-ranges = <4 68 36>;
  97. ti,unmapped-event-sources = <&main_bcdma>, <&main_pktdma>;
  98. };
  99. main_bcdma: dma-controller@485c0100 {
  100. compatible = "ti,am64-dmss-bcdma";
  101. reg = <0x00 0x485c0100 0x00 0x100>,
  102. <0x00 0x4c000000 0x00 0x20000>,
  103. <0x00 0x4a820000 0x00 0x20000>,
  104. <0x00 0x4aa40000 0x00 0x20000>,
  105. <0x00 0x4bc00000 0x00 0x100000>;
  106. reg-names = "gcfg", "bchanrt", "rchanrt", "tchanrt", "ringrt";
  107. msi-parent = <&inta_main_dmss>;
  108. #dma-cells = <3>;
  109. ti,sci = <&dmsc>;
  110. ti,sci-dev-id = <26>;
  111. ti,sci-rm-range-bchan = <0x20>; /* BLOCK_COPY_CHAN */
  112. ti,sci-rm-range-rchan = <0x21>; /* SPLIT_TR_RX_CHAN */
  113. ti,sci-rm-range-tchan = <0x22>; /* SPLIT_TR_TX_CHAN */
  114. };
  115. main_pktdma: dma-controller@485c0000 {
  116. compatible = "ti,am64-dmss-pktdma";
  117. reg = <0x00 0x485c0000 0x00 0x100>,
  118. <0x00 0x4a800000 0x00 0x20000>,
  119. <0x00 0x4aa00000 0x00 0x40000>,
  120. <0x00 0x4b800000 0x00 0x400000>;
  121. reg-names = "gcfg", "rchanrt", "tchanrt", "ringrt";
  122. msi-parent = <&inta_main_dmss>;
  123. #dma-cells = <2>;
  124. ti,sci = <&dmsc>;
  125. ti,sci-dev-id = <30>;
  126. ti,sci-rm-range-tchan = <0x23>, /* UNMAPPED_TX_CHAN */
  127. <0x24>, /* CPSW_TX_CHAN */
  128. <0x25>, /* SAUL_TX_0_CHAN */
  129. <0x26>, /* SAUL_TX_1_CHAN */
  130. <0x27>, /* ICSSG_0_TX_CHAN */
  131. <0x28>; /* ICSSG_1_TX_CHAN */
  132. ti,sci-rm-range-tflow = <0x10>, /* RING_UNMAPPED_TX_CHAN */
  133. <0x11>, /* RING_CPSW_TX_CHAN */
  134. <0x12>, /* RING_SAUL_TX_0_CHAN */
  135. <0x13>, /* RING_SAUL_TX_1_CHAN */
  136. <0x14>, /* RING_ICSSG_0_TX_CHAN */
  137. <0x15>; /* RING_ICSSG_1_TX_CHAN */
  138. ti,sci-rm-range-rchan = <0x29>, /* UNMAPPED_RX_CHAN */
  139. <0x2b>, /* CPSW_RX_CHAN */
  140. <0x2d>, /* SAUL_RX_0_CHAN */
  141. <0x2f>, /* SAUL_RX_1_CHAN */
  142. <0x31>, /* SAUL_RX_2_CHAN */
  143. <0x33>, /* SAUL_RX_3_CHAN */
  144. <0x35>, /* ICSSG_0_RX_CHAN */
  145. <0x37>; /* ICSSG_1_RX_CHAN */
  146. ti,sci-rm-range-rflow = <0x2a>, /* FLOW_UNMAPPED_RX_CHAN */
  147. <0x2c>, /* FLOW_CPSW_RX_CHAN */
  148. <0x2e>, /* FLOW_SAUL_RX_0/1_CHAN */
  149. <0x32>, /* FLOW_SAUL_RX_2/3_CHAN */
  150. <0x36>, /* FLOW_ICSSG_0_RX_CHAN */
  151. <0x38>; /* FLOW_ICSSG_1_RX_CHAN */
  152. };
  153. };
  154. dmsc: system-controller@44043000 {
  155. compatible = "ti,k2g-sci";
  156. ti,host-id = <12>;
  157. mbox-names = "rx", "tx";
  158. mboxes = <&secure_proxy_main 12>,
  159. <&secure_proxy_main 13>;
  160. reg-names = "debug_messages";
  161. reg = <0x00 0x44043000 0x00 0xfe0>;
  162. k3_pds: power-controller {
  163. compatible = "ti,sci-pm-domain";
  164. #power-domain-cells = <2>;
  165. };
  166. k3_clks: clock-controller {
  167. compatible = "ti,k2g-sci-clk";
  168. #clock-cells = <2>;
  169. };
  170. k3_reset: reset-controller {
  171. compatible = "ti,sci-reset";
  172. #reset-cells = <2>;
  173. };
  174. };
  175. main_pmx0: pinctrl@f4000 {
  176. compatible = "pinctrl-single";
  177. reg = <0x00 0xf4000 0x00 0x2d0>;
  178. #pinctrl-cells = <1>;
  179. pinctrl-single,register-width = <32>;
  180. pinctrl-single,function-mask = <0xffffffff>;
  181. };
  182. main_conf: syscon@43000000 {
  183. compatible = "syscon", "simple-mfd";
  184. reg = <0x00 0x43000000 0x00 0x20000>;
  185. #address-cells = <1>;
  186. #size-cells = <1>;
  187. ranges = <0x00 0x00 0x43000000 0x20000>;
  188. chipid@14 {
  189. compatible = "ti,am654-chipid";
  190. reg = <0x00000014 0x4>;
  191. };
  192. phy_gmii_sel: phy@4044 {
  193. compatible = "ti,am654-phy-gmii-sel";
  194. reg = <0x4044 0x8>;
  195. #phy-cells = <1>;
  196. };
  197. epwm_tbclk: clock@4140 {
  198. compatible = "ti,am64-epwm-tbclk", "syscon";
  199. reg = <0x4130 0x4>;
  200. #clock-cells = <1>;
  201. };
  202. };
  203. main_uart0: serial@2800000 {
  204. compatible = "ti,am64-uart", "ti,am654-uart";
  205. reg = <0x00 0x02800000 0x00 0x100>;
  206. interrupts = <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>;
  207. clock-frequency = <48000000>;
  208. current-speed = <115200>;
  209. power-domains = <&k3_pds 146 TI_SCI_PD_EXCLUSIVE>;
  210. clocks = <&k3_clks 146 0>;
  211. clock-names = "fclk";
  212. };
  213. main_uart1: serial@2810000 {
  214. compatible = "ti,am64-uart", "ti,am654-uart";
  215. reg = <0x00 0x02810000 0x00 0x100>;
  216. interrupts = <GIC_SPI 179 IRQ_TYPE_LEVEL_HIGH>;
  217. clock-frequency = <48000000>;
  218. current-speed = <115200>;
  219. power-domains = <&k3_pds 152 TI_SCI_PD_EXCLUSIVE>;
  220. clocks = <&k3_clks 152 0>;
  221. clock-names = "fclk";
  222. };
  223. main_uart2: serial@2820000 {
  224. compatible = "ti,am64-uart", "ti,am654-uart";
  225. reg = <0x00 0x02820000 0x00 0x100>;
  226. interrupts = <GIC_SPI 180 IRQ_TYPE_LEVEL_HIGH>;
  227. clock-frequency = <48000000>;
  228. current-speed = <115200>;
  229. power-domains = <&k3_pds 153 TI_SCI_PD_EXCLUSIVE>;
  230. clocks = <&k3_clks 153 0>;
  231. clock-names = "fclk";
  232. };
  233. main_uart3: serial@2830000 {
  234. compatible = "ti,am64-uart", "ti,am654-uart";
  235. reg = <0x00 0x02830000 0x00 0x100>;
  236. interrupts = <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>;
  237. clock-frequency = <48000000>;
  238. current-speed = <115200>;
  239. power-domains = <&k3_pds 154 TI_SCI_PD_EXCLUSIVE>;
  240. clocks = <&k3_clks 154 0>;
  241. clock-names = "fclk";
  242. };
  243. main_uart4: serial@2840000 {
  244. compatible = "ti,am64-uart", "ti,am654-uart";
  245. reg = <0x00 0x02840000 0x00 0x100>;
  246. interrupts = <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>;
  247. clock-frequency = <48000000>;
  248. current-speed = <115200>;
  249. power-domains = <&k3_pds 155 TI_SCI_PD_EXCLUSIVE>;
  250. clocks = <&k3_clks 155 0>;
  251. clock-names = "fclk";
  252. };
  253. main_uart5: serial@2850000 {
  254. compatible = "ti,am64-uart", "ti,am654-uart";
  255. reg = <0x00 0x02850000 0x00 0x100>;
  256. interrupts = <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>;
  257. clock-frequency = <48000000>;
  258. current-speed = <115200>;
  259. power-domains = <&k3_pds 156 TI_SCI_PD_EXCLUSIVE>;
  260. clocks = <&k3_clks 156 0>;
  261. clock-names = "fclk";
  262. };
  263. main_uart6: serial@2860000 {
  264. compatible = "ti,am64-uart", "ti,am654-uart";
  265. reg = <0x00 0x02860000 0x00 0x100>;
  266. interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
  267. clock-frequency = <48000000>;
  268. current-speed = <115200>;
  269. power-domains = <&k3_pds 158 TI_SCI_PD_EXCLUSIVE>;
  270. clocks = <&k3_clks 158 0>;
  271. clock-names = "fclk";
  272. };
  273. main_i2c0: i2c@20000000 {
  274. compatible = "ti,am64-i2c", "ti,omap4-i2c";
  275. reg = <0x00 0x20000000 0x00 0x100>;
  276. interrupts = <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>;
  277. #address-cells = <1>;
  278. #size-cells = <0>;
  279. power-domains = <&k3_pds 102 TI_SCI_PD_EXCLUSIVE>;
  280. clocks = <&k3_clks 102 2>;
  281. clock-names = "fck";
  282. };
  283. main_i2c1: i2c@20010000 {
  284. compatible = "ti,am64-i2c", "ti,omap4-i2c";
  285. reg = <0x00 0x20010000 0x00 0x100>;
  286. interrupts = <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>;
  287. #address-cells = <1>;
  288. #size-cells = <0>;
  289. power-domains = <&k3_pds 103 TI_SCI_PD_EXCLUSIVE>;
  290. clocks = <&k3_clks 103 2>;
  291. clock-names = "fck";
  292. };
  293. main_i2c2: i2c@20020000 {
  294. compatible = "ti,am64-i2c", "ti,omap4-i2c";
  295. reg = <0x00 0x20020000 0x00 0x100>;
  296. interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>;
  297. #address-cells = <1>;
  298. #size-cells = <0>;
  299. power-domains = <&k3_pds 104 TI_SCI_PD_EXCLUSIVE>;
  300. clocks = <&k3_clks 104 2>;
  301. clock-names = "fck";
  302. };
  303. main_i2c3: i2c@20030000 {
  304. compatible = "ti,am64-i2c", "ti,omap4-i2c";
  305. reg = <0x00 0x20030000 0x00 0x100>;
  306. interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
  307. #address-cells = <1>;
  308. #size-cells = <0>;
  309. power-domains = <&k3_pds 105 TI_SCI_PD_EXCLUSIVE>;
  310. clocks = <&k3_clks 105 2>;
  311. clock-names = "fck";
  312. };
  313. main_spi0: spi@20100000 {
  314. compatible = "ti,am654-mcspi", "ti,omap4-mcspi";
  315. reg = <0x00 0x20100000 0x00 0x400>;
  316. interrupts = <GIC_SPI 172 IRQ_TYPE_LEVEL_HIGH>;
  317. #address-cells = <1>;
  318. #size-cells = <0>;
  319. power-domains = <&k3_pds 141 TI_SCI_PD_EXCLUSIVE>;
  320. clocks = <&k3_clks 141 0>;
  321. dmas = <&main_pktdma 0xc300 0>, <&main_pktdma 0x4300 0>;
  322. dma-names = "tx0", "rx0";
  323. };
  324. main_spi1: spi@20110000 {
  325. compatible = "ti,am654-mcspi","ti,omap4-mcspi";
  326. reg = <0x00 0x20110000 0x00 0x400>;
  327. interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>;
  328. #address-cells = <1>;
  329. #size-cells = <0>;
  330. power-domains = <&k3_pds 142 TI_SCI_PD_EXCLUSIVE>;
  331. clocks = <&k3_clks 142 0>;
  332. };
  333. main_spi2: spi@20120000 {
  334. compatible = "ti,am654-mcspi","ti,omap4-mcspi";
  335. reg = <0x00 0x20120000 0x00 0x400>;
  336. interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
  337. #address-cells = <1>;
  338. #size-cells = <0>;
  339. power-domains = <&k3_pds 143 TI_SCI_PD_EXCLUSIVE>;
  340. clocks = <&k3_clks 143 0>;
  341. };
  342. main_spi3: spi@20130000 {
  343. compatible = "ti,am654-mcspi","ti,omap4-mcspi";
  344. reg = <0x00 0x20130000 0x00 0x400>;
  345. interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
  346. #address-cells = <1>;
  347. #size-cells = <0>;
  348. power-domains = <&k3_pds 144 TI_SCI_PD_EXCLUSIVE>;
  349. clocks = <&k3_clks 144 0>;
  350. };
  351. main_spi4: spi@20140000 {
  352. compatible = "ti,am654-mcspi","ti,omap4-mcspi";
  353. reg = <0x00 0x20140000 0x00 0x400>;
  354. interrupts = <GIC_SPI 175 IRQ_TYPE_LEVEL_HIGH>;
  355. #address-cells = <1>;
  356. #size-cells = <0>;
  357. power-domains = <&k3_pds 145 TI_SCI_PD_EXCLUSIVE>;
  358. clocks = <&k3_clks 145 0>;
  359. };
  360. main_gpio_intr: interrupt-controller@a00000 {
  361. compatible = "ti,sci-intr";
  362. reg = <0x00 0x00a00000 0x00 0x800>;
  363. ti,intr-trigger-type = <1>;
  364. interrupt-controller;
  365. interrupt-parent = <&gic500>;
  366. #interrupt-cells = <1>;
  367. ti,sci = <&dmsc>;
  368. ti,sci-dev-id = <3>;
  369. ti,interrupt-ranges = <0 32 16>;
  370. };
  371. main_gpio0: gpio@600000 {
  372. compatible = "ti,am64-gpio", "ti,keystone-gpio";
  373. reg = <0x0 0x00600000 0x0 0x100>;
  374. gpio-controller;
  375. #gpio-cells = <2>;
  376. interrupt-parent = <&main_gpio_intr>;
  377. interrupts = <190>, <191>, <192>,
  378. <193>, <194>, <195>;
  379. interrupt-controller;
  380. #interrupt-cells = <2>;
  381. ti,ngpio = <87>;
  382. ti,davinci-gpio-unbanked = <0>;
  383. power-domains = <&k3_pds 77 TI_SCI_PD_EXCLUSIVE>;
  384. clocks = <&k3_clks 77 0>;
  385. clock-names = "gpio";
  386. };
  387. main_gpio1: gpio@601000 {
  388. compatible = "ti,am64-gpio", "ti,keystone-gpio";
  389. reg = <0x0 0x00601000 0x0 0x100>;
  390. gpio-controller;
  391. #gpio-cells = <2>;
  392. interrupt-parent = <&main_gpio_intr>;
  393. interrupts = <180>, <181>, <182>,
  394. <183>, <184>, <185>;
  395. interrupt-controller;
  396. #interrupt-cells = <2>;
  397. ti,ngpio = <88>;
  398. ti,davinci-gpio-unbanked = <0>;
  399. power-domains = <&k3_pds 78 TI_SCI_PD_EXCLUSIVE>;
  400. clocks = <&k3_clks 78 0>;
  401. clock-names = "gpio";
  402. };
  403. sdhci0: mmc@fa10000 {
  404. compatible = "ti,am64-sdhci-8bit";
  405. reg = <0x00 0xfa10000 0x00 0x260>, <0x00 0xfa18000 0x00 0x134>;
  406. interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
  407. power-domains = <&k3_pds 57 TI_SCI_PD_EXCLUSIVE>;
  408. clocks = <&k3_clks 57 0>, <&k3_clks 57 1>;
  409. clock-names = "clk_ahb", "clk_xin";
  410. mmc-ddr-1_8v;
  411. mmc-hs200-1_8v;
  412. ti,trm-icp = <0x2>;
  413. ti,otap-del-sel-legacy = <0x0>;
  414. ti,otap-del-sel-mmc-hs = <0x0>;
  415. ti,otap-del-sel-ddr52 = <0x6>;
  416. ti,otap-del-sel-hs200 = <0x7>;
  417. };
  418. sdhci1: mmc@fa00000 {
  419. compatible = "ti,am64-sdhci-4bit";
  420. reg = <0x00 0xfa00000 0x00 0x260>, <0x00 0xfa08000 0x00 0x134>;
  421. interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>;
  422. power-domains = <&k3_pds 58 TI_SCI_PD_EXCLUSIVE>;
  423. clocks = <&k3_clks 58 3>, <&k3_clks 58 4>;
  424. clock-names = "clk_ahb", "clk_xin";
  425. ti,trm-icp = <0x2>;
  426. ti,otap-del-sel-legacy = <0x0>;
  427. ti,otap-del-sel-sd-hs = <0xf>;
  428. ti,otap-del-sel-sdr12 = <0xf>;
  429. ti,otap-del-sel-sdr25 = <0xf>;
  430. ti,otap-del-sel-sdr50 = <0xc>;
  431. ti,otap-del-sel-sdr104 = <0x6>;
  432. ti,otap-del-sel-ddr50 = <0x9>;
  433. ti,clkbuf-sel = <0x7>;
  434. };
  435. cpsw3g: ethernet@8000000 {
  436. compatible = "ti,am642-cpsw-nuss";
  437. #address-cells = <2>;
  438. #size-cells = <2>;
  439. reg = <0x0 0x8000000 0x0 0x200000>;
  440. reg-names = "cpsw_nuss";
  441. ranges = <0x0 0x0 0x0 0x8000000 0x0 0x200000>;
  442. clocks = <&k3_clks 13 0>;
  443. assigned-clocks = <&k3_clks 13 1>;
  444. assigned-clock-parents = <&k3_clks 13 9>;
  445. clock-names = "fck";
  446. power-domains = <&k3_pds 13 TI_SCI_PD_EXCLUSIVE>;
  447. dmas = <&main_pktdma 0xC500 15>,
  448. <&main_pktdma 0xC501 15>,
  449. <&main_pktdma 0xC502 15>,
  450. <&main_pktdma 0xC503 15>,
  451. <&main_pktdma 0xC504 15>,
  452. <&main_pktdma 0xC505 15>,
  453. <&main_pktdma 0xC506 15>,
  454. <&main_pktdma 0xC507 15>,
  455. <&main_pktdma 0x4500 15>;
  456. dma-names = "tx0", "tx1", "tx2", "tx3", "tx4", "tx5", "tx6",
  457. "tx7", "rx";
  458. ethernet-ports {
  459. #address-cells = <1>;
  460. #size-cells = <0>;
  461. cpsw_port1: port@1 {
  462. reg = <1>;
  463. ti,mac-only;
  464. label = "port1";
  465. phys = <&phy_gmii_sel 1>;
  466. mac-address = [00 00 00 00 00 00];
  467. ti,syscon-efuse = <&main_conf 0x200>;
  468. };
  469. cpsw_port2: port@2 {
  470. reg = <2>;
  471. ti,mac-only;
  472. label = "port2";
  473. phys = <&phy_gmii_sel 2>;
  474. mac-address = [00 00 00 00 00 00];
  475. };
  476. };
  477. cpsw3g_mdio: mdio@f00 {
  478. compatible = "ti,cpsw-mdio","ti,davinci_mdio";
  479. reg = <0x0 0xf00 0x0 0x100>;
  480. #address-cells = <1>;
  481. #size-cells = <0>;
  482. clocks = <&k3_clks 13 0>;
  483. clock-names = "fck";
  484. bus_freq = <1000000>;
  485. };
  486. cpts@3d000 {
  487. compatible = "ti,j721e-cpts";
  488. reg = <0x0 0x3d000 0x0 0x400>;
  489. clocks = <&k3_clks 13 1>;
  490. clock-names = "cpts";
  491. interrupts-extended = <&gic500 GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
  492. interrupt-names = "cpts";
  493. ti,cpts-ext-ts-inputs = <4>;
  494. ti,cpts-periodic-outputs = <2>;
  495. };
  496. };
  497. main_cpts0: cpts@39000000 {
  498. compatible = "ti,j721e-cpts";
  499. reg = <0x0 0x39000000 0x0 0x400>;
  500. reg-names = "cpts";
  501. power-domains = <&k3_pds 84 TI_SCI_PD_EXCLUSIVE>;
  502. clocks = <&k3_clks 84 0>;
  503. clock-names = "cpts";
  504. assigned-clocks = <&k3_clks 84 0>;
  505. assigned-clock-parents = <&k3_clks 84 8>;
  506. interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
  507. interrupt-names = "cpts";
  508. ti,cpts-periodic-outputs = <6>;
  509. ti,cpts-ext-ts-inputs = <8>;
  510. };
  511. timesync_router: pinctrl@a40000 {
  512. compatible = "pinctrl-single";
  513. reg = <0x0 0xa40000 0x0 0x800>;
  514. #pinctrl-cells = <1>;
  515. pinctrl-single,register-width = <32>;
  516. pinctrl-single,function-mask = <0x000107ff>;
  517. };
  518. usbss0: cdns-usb@f900000{
  519. compatible = "ti,am64-usb";
  520. reg = <0x00 0xf900000 0x00 0x100>;
  521. power-domains = <&k3_pds 161 TI_SCI_PD_EXCLUSIVE>;
  522. clocks = <&k3_clks 161 9>, <&k3_clks 161 1>;
  523. clock-names = "ref", "lpm";
  524. assigned-clocks = <&k3_clks 161 9>; /* USB2_REFCLK */
  525. assigned-clock-parents = <&k3_clks 161 10>; /* HF0SC0 */
  526. #address-cells = <2>;
  527. #size-cells = <2>;
  528. ranges;
  529. usb0: usb@f400000{
  530. compatible = "cdns,usb3";
  531. reg = <0x00 0xf400000 0x00 0x10000>,
  532. <0x00 0xf410000 0x00 0x10000>,
  533. <0x00 0xf420000 0x00 0x10000>;
  534. reg-names = "otg",
  535. "xhci",
  536. "dev";
  537. interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>, /* irq.0 */
  538. <GIC_SPI 194 IRQ_TYPE_LEVEL_HIGH>, /* irq.6 */
  539. <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>; /* otgirq */
  540. interrupt-names = "host",
  541. "peripheral",
  542. "otg";
  543. maximum-speed = "super-speed";
  544. dr_mode = "otg";
  545. };
  546. };
  547. tscadc0: tscadc@28001000 {
  548. compatible = "ti,am654-tscadc", "ti,am3359-tscadc";
  549. reg = <0x00 0x28001000 0x00 0x1000>;
  550. interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
  551. power-domains = <&k3_pds 0 TI_SCI_PD_EXCLUSIVE>;
  552. clocks = <&k3_clks 0 0>;
  553. assigned-clocks = <&k3_clks 0 0>;
  554. assigned-clock-parents = <&k3_clks 0 3>;
  555. assigned-clock-rates = <60000000>;
  556. clock-names = "adc_tsc_fck";
  557. adc {
  558. #io-channel-cells = <1>;
  559. compatible = "ti,am654-adc", "ti,am3359-adc";
  560. };
  561. };
  562. fss: bus@fc00000 {
  563. compatible = "simple-bus";
  564. reg = <0x00 0x0fc00000 0x00 0x70000>;
  565. #address-cells = <2>;
  566. #size-cells = <2>;
  567. ranges;
  568. ospi0: spi@fc40000 {
  569. compatible = "ti,am654-ospi", "cdns,qspi-nor";
  570. reg = <0x00 0x0fc40000 0x00 0x100>,
  571. <0x05 0x00000000 0x01 0x00000000>;
  572. interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>;
  573. cdns,fifo-depth = <256>;
  574. cdns,fifo-width = <4>;
  575. cdns,trigger-address = <0x0>;
  576. #address-cells = <0x1>;
  577. #size-cells = <0x0>;
  578. clocks = <&k3_clks 75 6>;
  579. assigned-clocks = <&k3_clks 75 6>;
  580. assigned-clock-parents = <&k3_clks 75 7>;
  581. assigned-clock-rates = <166666666>;
  582. power-domains = <&k3_pds 75 TI_SCI_PD_EXCLUSIVE>;
  583. };
  584. };
  585. hwspinlock: spinlock@2a000000 {
  586. compatible = "ti,am64-hwspinlock";
  587. reg = <0x00 0x2a000000 0x00 0x1000>;
  588. #hwlock-cells = <1>;
  589. };
  590. mailbox0_cluster2: mailbox@29020000 {
  591. compatible = "ti,am64-mailbox";
  592. reg = <0x00 0x29020000 0x00 0x200>;
  593. interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>,
  594. <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
  595. #mbox-cells = <1>;
  596. ti,mbox-num-users = <4>;
  597. ti,mbox-num-fifos = <16>;
  598. };
  599. mailbox0_cluster3: mailbox@29030000 {
  600. compatible = "ti,am64-mailbox";
  601. reg = <0x00 0x29030000 0x00 0x200>;
  602. interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>,
  603. <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
  604. #mbox-cells = <1>;
  605. ti,mbox-num-users = <4>;
  606. ti,mbox-num-fifos = <16>;
  607. };
  608. mailbox0_cluster4: mailbox@29040000 {
  609. compatible = "ti,am64-mailbox";
  610. reg = <0x00 0x29040000 0x00 0x200>;
  611. interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>,
  612. <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
  613. #mbox-cells = <1>;
  614. ti,mbox-num-users = <4>;
  615. ti,mbox-num-fifos = <16>;
  616. };
  617. mailbox0_cluster5: mailbox@29050000 {
  618. compatible = "ti,am64-mailbox";
  619. reg = <0x00 0x29050000 0x00 0x200>;
  620. interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>,
  621. <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
  622. #mbox-cells = <1>;
  623. ti,mbox-num-users = <4>;
  624. ti,mbox-num-fifos = <16>;
  625. };
  626. mailbox0_cluster6: mailbox@29060000 {
  627. compatible = "ti,am64-mailbox";
  628. reg = <0x00 0x29060000 0x00 0x200>;
  629. interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
  630. #mbox-cells = <1>;
  631. ti,mbox-num-users = <4>;
  632. ti,mbox-num-fifos = <16>;
  633. };
  634. mailbox0_cluster7: mailbox@29070000 {
  635. compatible = "ti,am64-mailbox";
  636. reg = <0x00 0x29070000 0x00 0x200>;
  637. interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
  638. #mbox-cells = <1>;
  639. ti,mbox-num-users = <4>;
  640. ti,mbox-num-fifos = <16>;
  641. };
  642. main_r5fss0: r5fss@78000000 {
  643. compatible = "ti,am64-r5fss";
  644. ti,cluster-mode = <0>;
  645. #address-cells = <1>;
  646. #size-cells = <1>;
  647. ranges = <0x78000000 0x00 0x78000000 0x10000>,
  648. <0x78100000 0x00 0x78100000 0x10000>,
  649. <0x78200000 0x00 0x78200000 0x08000>,
  650. <0x78300000 0x00 0x78300000 0x08000>;
  651. power-domains = <&k3_pds 119 TI_SCI_PD_EXCLUSIVE>;
  652. main_r5fss0_core0: r5f@78000000 {
  653. compatible = "ti,am64-r5f";
  654. reg = <0x78000000 0x00010000>,
  655. <0x78100000 0x00010000>;
  656. reg-names = "atcm", "btcm";
  657. ti,sci = <&dmsc>;
  658. ti,sci-dev-id = <121>;
  659. ti,sci-proc-ids = <0x01 0xff>;
  660. resets = <&k3_reset 121 1>;
  661. firmware-name = "am64-main-r5f0_0-fw";
  662. ti,atcm-enable = <1>;
  663. ti,btcm-enable = <1>;
  664. ti,loczrama = <1>;
  665. };
  666. main_r5fss0_core1: r5f@78200000 {
  667. compatible = "ti,am64-r5f";
  668. reg = <0x78200000 0x00008000>,
  669. <0x78300000 0x00008000>;
  670. reg-names = "atcm", "btcm";
  671. ti,sci = <&dmsc>;
  672. ti,sci-dev-id = <122>;
  673. ti,sci-proc-ids = <0x02 0xff>;
  674. resets = <&k3_reset 122 1>;
  675. firmware-name = "am64-main-r5f0_1-fw";
  676. ti,atcm-enable = <1>;
  677. ti,btcm-enable = <1>;
  678. ti,loczrama = <1>;
  679. };
  680. };
  681. main_r5fss1: r5fss@78400000 {
  682. compatible = "ti,am64-r5fss";
  683. ti,cluster-mode = <0>;
  684. #address-cells = <1>;
  685. #size-cells = <1>;
  686. ranges = <0x78400000 0x00 0x78400000 0x10000>,
  687. <0x78500000 0x00 0x78500000 0x10000>,
  688. <0x78600000 0x00 0x78600000 0x08000>,
  689. <0x78700000 0x00 0x78700000 0x08000>;
  690. power-domains = <&k3_pds 120 TI_SCI_PD_EXCLUSIVE>;
  691. main_r5fss1_core0: r5f@78400000 {
  692. compatible = "ti,am64-r5f";
  693. reg = <0x78400000 0x00010000>,
  694. <0x78500000 0x00010000>;
  695. reg-names = "atcm", "btcm";
  696. ti,sci = <&dmsc>;
  697. ti,sci-dev-id = <123>;
  698. ti,sci-proc-ids = <0x06 0xff>;
  699. resets = <&k3_reset 123 1>;
  700. firmware-name = "am64-main-r5f1_0-fw";
  701. ti,atcm-enable = <1>;
  702. ti,btcm-enable = <1>;
  703. ti,loczrama = <1>;
  704. };
  705. main_r5fss1_core1: r5f@78600000 {
  706. compatible = "ti,am64-r5f";
  707. reg = <0x78600000 0x00008000>,
  708. <0x78700000 0x00008000>;
  709. reg-names = "atcm", "btcm";
  710. ti,sci = <&dmsc>;
  711. ti,sci-dev-id = <124>;
  712. ti,sci-proc-ids = <0x07 0xff>;
  713. resets = <&k3_reset 124 1>;
  714. firmware-name = "am64-main-r5f1_1-fw";
  715. ti,atcm-enable = <1>;
  716. ti,btcm-enable = <1>;
  717. ti,loczrama = <1>;
  718. };
  719. };
  720. serdes_wiz0: wiz@f000000 {
  721. compatible = "ti,am64-wiz-10g";
  722. #address-cells = <1>;
  723. #size-cells = <1>;
  724. power-domains = <&k3_pds 162 TI_SCI_PD_EXCLUSIVE>;
  725. clocks = <&k3_clks 162 0>, <&k3_clks 162 1>, <&serdes_refclk>;
  726. clock-names = "fck", "core_ref_clk", "ext_ref_clk";
  727. num-lanes = <1>;
  728. #reset-cells = <1>;
  729. #clock-cells = <1>;
  730. ranges = <0x0f000000 0x0 0x0f000000 0x00010000>;
  731. assigned-clocks = <&k3_clks 162 1>;
  732. assigned-clock-parents = <&k3_clks 162 5>;
  733. serdes0: serdes@f000000 {
  734. compatible = "ti,j721e-serdes-10g";
  735. reg = <0x0f000000 0x00010000>;
  736. reg-names = "torrent_phy";
  737. resets = <&serdes_wiz0 0>;
  738. reset-names = "torrent_reset";
  739. clocks = <&serdes_wiz0 TI_WIZ_PLL0_REFCLK>,
  740. <&serdes_wiz0 TI_WIZ_PHY_EN_REFCLK>;
  741. clock-names = "refclk", "phy_en_refclk";
  742. assigned-clocks = <&serdes_wiz0 TI_WIZ_PLL0_REFCLK>,
  743. <&serdes_wiz0 TI_WIZ_PLL1_REFCLK>,
  744. <&serdes_wiz0 TI_WIZ_REFCLK_DIG>;
  745. assigned-clock-parents = <&k3_clks 162 1>,
  746. <&k3_clks 162 1>,
  747. <&k3_clks 162 1>;
  748. #address-cells = <1>;
  749. #size-cells = <0>;
  750. #clock-cells = <1>;
  751. };
  752. };
  753. pcie0_rc: pcie@f102000 {
  754. compatible = "ti,am64-pcie-host", "ti,j721e-pcie-host";
  755. reg = <0x00 0x0f102000 0x00 0x1000>,
  756. <0x00 0x0f100000 0x00 0x400>,
  757. <0x00 0x0d000000 0x00 0x00800000>,
  758. <0x00 0x68000000 0x00 0x00001000>;
  759. reg-names = "intd_cfg", "user_cfg", "reg", "cfg";
  760. interrupt-names = "link_state";
  761. interrupts = <GIC_SPI 203 IRQ_TYPE_EDGE_RISING>;
  762. device_type = "pci";
  763. ti,syscon-pcie-ctrl = <&main_conf 0x4070>;
  764. max-link-speed = <2>;
  765. num-lanes = <1>;
  766. power-domains = <&k3_pds 114 TI_SCI_PD_EXCLUSIVE>;
  767. clocks = <&k3_clks 114 0>, <&serdes0 CDNS_TORRENT_REFCLK_DRIVER>;
  768. clock-names = "fck", "pcie_refclk";
  769. #address-cells = <3>;
  770. #size-cells = <2>;
  771. bus-range = <0x0 0xff>;
  772. cdns,no-bar-match-nbits = <64>;
  773. vendor-id = <0x104c>;
  774. device-id = <0xb010>;
  775. msi-map = <0x0 &gic_its 0x0 0x10000>;
  776. ranges = <0x01000000 0x00 0x68001000 0x00 0x68001000 0x00 0x0010000>,
  777. <0x02000000 0x00 0x68011000 0x00 0x68011000 0x00 0x7fef000>;
  778. dma-ranges = <0x02000000 0x0 0x0 0x0 0x0 0x00000010 0x0>;
  779. };
  780. pcie0_ep: pcie-ep@f102000 {
  781. compatible = "ti,am64-pcie-ep", "ti,j721e-pcie-ep";
  782. reg = <0x00 0x0f102000 0x00 0x1000>,
  783. <0x00 0x0f100000 0x00 0x400>,
  784. <0x00 0x0d000000 0x00 0x00800000>,
  785. <0x00 0x68000000 0x00 0x08000000>;
  786. reg-names = "intd_cfg", "user_cfg", "reg", "mem";
  787. interrupt-names = "link_state";
  788. interrupts = <GIC_SPI 203 IRQ_TYPE_EDGE_RISING>;
  789. ti,syscon-pcie-ctrl = <&main_conf 0x4070>;
  790. max-link-speed = <2>;
  791. num-lanes = <1>;
  792. power-domains = <&k3_pds 114 TI_SCI_PD_EXCLUSIVE>;
  793. clocks = <&k3_clks 114 0>;
  794. clock-names = "fck";
  795. max-functions = /bits/ 8 <1>;
  796. };
  797. epwm0: pwm@23000000 {
  798. compatible = "ti,am64-epwm", "ti,am3352-ehrpwm";
  799. #pwm-cells = <3>;
  800. reg = <0x0 0x23000000 0x0 0x100>;
  801. power-domains = <&k3_pds 86 TI_SCI_PD_EXCLUSIVE>;
  802. clocks = <&epwm_tbclk 0>, <&k3_clks 86 0>;
  803. clock-names = "tbclk", "fck";
  804. };
  805. epwm1: pwm@23010000 {
  806. compatible = "ti,am64-epwm", "ti,am3352-ehrpwm";
  807. #pwm-cells = <3>;
  808. reg = <0x0 0x23010000 0x0 0x100>;
  809. power-domains = <&k3_pds 87 TI_SCI_PD_EXCLUSIVE>;
  810. clocks = <&epwm_tbclk 1>, <&k3_clks 87 0>;
  811. clock-names = "tbclk", "fck";
  812. };
  813. epwm2: pwm@23020000 {
  814. compatible = "ti,am64-epwm", "ti,am3352-ehrpwm";
  815. #pwm-cells = <3>;
  816. reg = <0x0 0x23020000 0x0 0x100>;
  817. power-domains = <&k3_pds 88 TI_SCI_PD_EXCLUSIVE>;
  818. clocks = <&epwm_tbclk 2>, <&k3_clks 88 0>;
  819. clock-names = "tbclk", "fck";
  820. };
  821. epwm3: pwm@23030000 {
  822. compatible = "ti,am64-epwm", "ti,am3352-ehrpwm";
  823. #pwm-cells = <3>;
  824. reg = <0x0 0x23030000 0x0 0x100>;
  825. power-domains = <&k3_pds 89 TI_SCI_PD_EXCLUSIVE>;
  826. clocks = <&epwm_tbclk 3>, <&k3_clks 89 0>;
  827. clock-names = "tbclk", "fck";
  828. };
  829. epwm4: pwm@23040000 {
  830. compatible = "ti,am64-epwm", "ti,am3352-ehrpwm";
  831. #pwm-cells = <3>;
  832. reg = <0x0 0x23040000 0x0 0x100>;
  833. power-domains = <&k3_pds 90 TI_SCI_PD_EXCLUSIVE>;
  834. clocks = <&epwm_tbclk 4>, <&k3_clks 90 0>;
  835. clock-names = "tbclk", "fck";
  836. };
  837. epwm5: pwm@23050000 {
  838. compatible = "ti,am64-epwm", "ti,am3352-ehrpwm";
  839. #pwm-cells = <3>;
  840. reg = <0x0 0x23050000 0x0 0x100>;
  841. power-domains = <&k3_pds 91 TI_SCI_PD_EXCLUSIVE>;
  842. clocks = <&epwm_tbclk 5>, <&k3_clks 91 0>;
  843. clock-names = "tbclk", "fck";
  844. };
  845. epwm6: pwm@23060000 {
  846. compatible = "ti,am64-epwm", "ti,am3352-ehrpwm";
  847. #pwm-cells = <3>;
  848. reg = <0x0 0x23060000 0x0 0x100>;
  849. power-domains = <&k3_pds 92 TI_SCI_PD_EXCLUSIVE>;
  850. clocks = <&epwm_tbclk 6>, <&k3_clks 92 0>;
  851. clock-names = "tbclk", "fck";
  852. };
  853. epwm7: pwm@23070000 {
  854. compatible = "ti,am64-epwm", "ti,am3352-ehrpwm";
  855. #pwm-cells = <3>;
  856. reg = <0x0 0x23070000 0x0 0x100>;
  857. power-domains = <&k3_pds 93 TI_SCI_PD_EXCLUSIVE>;
  858. clocks = <&epwm_tbclk 7>, <&k3_clks 93 0>;
  859. clock-names = "tbclk", "fck";
  860. };
  861. epwm8: pwm@23080000 {
  862. compatible = "ti,am64-epwm", "ti,am3352-ehrpwm";
  863. #pwm-cells = <3>;
  864. reg = <0x0 0x23080000 0x0 0x100>;
  865. power-domains = <&k3_pds 94 TI_SCI_PD_EXCLUSIVE>;
  866. clocks = <&epwm_tbclk 8>, <&k3_clks 94 0>;
  867. clock-names = "tbclk", "fck";
  868. };
  869. ecap0: pwm@23100000 {
  870. compatible = "ti,am64-ecap", "ti,am3352-ecap";
  871. #pwm-cells = <3>;
  872. reg = <0x0 0x23100000 0x0 0x60>;
  873. power-domains = <&k3_pds 51 TI_SCI_PD_EXCLUSIVE>;
  874. clocks = <&k3_clks 51 0>;
  875. clock-names = "fck";
  876. };
  877. ecap1: pwm@23110000 {
  878. compatible = "ti,am64-ecap", "ti,am3352-ecap";
  879. #pwm-cells = <3>;
  880. reg = <0x0 0x23110000 0x0 0x60>;
  881. power-domains = <&k3_pds 52 TI_SCI_PD_EXCLUSIVE>;
  882. clocks = <&k3_clks 52 0>;
  883. clock-names = "fck";
  884. };
  885. ecap2: pwm@23120000 {
  886. compatible = "ti,am64-ecap", "ti,am3352-ecap";
  887. #pwm-cells = <3>;
  888. reg = <0x0 0x23120000 0x0 0x60>;
  889. power-domains = <&k3_pds 53 TI_SCI_PD_EXCLUSIVE>;
  890. clocks = <&k3_clks 53 0>;
  891. clock-names = "fck";
  892. };
  893. main_rti0: watchdog@e000000 {
  894. compatible = "ti,j7-rti-wdt";
  895. reg = <0x00 0xe000000 0x00 0x100>;
  896. clocks = <&k3_clks 125 0>;
  897. power-domains = <&k3_pds 125 TI_SCI_PD_EXCLUSIVE>;
  898. assigned-clocks = <&k3_clks 125 0>;
  899. assigned-clock-parents = <&k3_clks 125 2>;
  900. };
  901. main_rti1: watchdog@e010000 {
  902. compatible = "ti,j7-rti-wdt";
  903. reg = <0x00 0xe010000 0x00 0x100>;
  904. clocks = <&k3_clks 126 0>;
  905. power-domains = <&k3_pds 126 TI_SCI_PD_EXCLUSIVE>;
  906. assigned-clocks = <&k3_clks 126 0>;
  907. assigned-clock-parents = <&k3_clks 126 2>;
  908. };
  909. icssg0: icssg@30000000 {
  910. compatible = "ti,am642-icssg";
  911. reg = <0x00 0x30000000 0x00 0x80000>;
  912. power-domains = <&k3_pds 81 TI_SCI_PD_EXCLUSIVE>;
  913. #address-cells = <1>;
  914. #size-cells = <1>;
  915. ranges = <0x0 0x00 0x30000000 0x80000>;
  916. icssg0_mem: memories@0 {
  917. reg = <0x0 0x2000>,
  918. <0x2000 0x2000>,
  919. <0x10000 0x10000>;
  920. reg-names = "dram0", "dram1", "shrdram2";
  921. };
  922. icssg0_cfg: cfg@26000 {
  923. compatible = "ti,pruss-cfg", "syscon";
  924. reg = <0x26000 0x200>;
  925. #address-cells = <1>;
  926. #size-cells = <1>;
  927. ranges = <0x0 0x26000 0x2000>;
  928. clocks {
  929. #address-cells = <1>;
  930. #size-cells = <0>;
  931. icssg0_coreclk_mux: coreclk-mux@3c {
  932. reg = <0x3c>;
  933. #clock-cells = <0>;
  934. clocks = <&k3_clks 81 0>, /* icssg0_core_clk */
  935. <&k3_clks 81 20>; /* icssg0_iclk */
  936. assigned-clocks = <&icssg0_coreclk_mux>;
  937. assigned-clock-parents = <&k3_clks 81 20>;
  938. };
  939. icssg0_iepclk_mux: iepclk-mux@30 {
  940. reg = <0x30>;
  941. #clock-cells = <0>;
  942. clocks = <&k3_clks 81 3>, /* icssg0_iep_clk */
  943. <&icssg0_coreclk_mux>; /* icssg0_coreclk_mux */
  944. assigned-clocks = <&icssg0_iepclk_mux>;
  945. assigned-clock-parents = <&icssg0_coreclk_mux>;
  946. };
  947. };
  948. };
  949. icssg0_mii_rt: mii-rt@32000 {
  950. compatible = "ti,pruss-mii", "syscon";
  951. reg = <0x32000 0x100>;
  952. };
  953. icssg0_mii_g_rt: mii-g-rt@33000 {
  954. compatible = "ti,pruss-mii-g", "syscon";
  955. reg = <0x33000 0x1000>;
  956. };
  957. icssg0_intc: interrupt-controller@20000 {
  958. compatible = "ti,icssg-intc";
  959. reg = <0x20000 0x2000>;
  960. interrupt-controller;
  961. #interrupt-cells = <3>;
  962. interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>,
  963. <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>,
  964. <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>,
  965. <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>,
  966. <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>,
  967. <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>,
  968. <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>,
  969. <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
  970. interrupt-names = "host_intr0", "host_intr1",
  971. "host_intr2", "host_intr3",
  972. "host_intr4", "host_intr5",
  973. "host_intr6", "host_intr7";
  974. };
  975. pru0_0: pru@34000 {
  976. compatible = "ti,am642-pru";
  977. reg = <0x34000 0x3000>,
  978. <0x22000 0x100>,
  979. <0x22400 0x100>;
  980. reg-names = "iram", "control", "debug";
  981. firmware-name = "am64x-pru0_0-fw";
  982. };
  983. rtu0_0: rtu@4000 {
  984. compatible = "ti,am642-rtu";
  985. reg = <0x4000 0x2000>,
  986. <0x23000 0x100>,
  987. <0x23400 0x100>;
  988. reg-names = "iram", "control", "debug";
  989. firmware-name = "am64x-rtu0_0-fw";
  990. };
  991. tx_pru0_0: txpru@a000 {
  992. compatible = "ti,am642-tx-pru";
  993. reg = <0xa000 0x1800>,
  994. <0x25000 0x100>,
  995. <0x25400 0x100>;
  996. reg-names = "iram", "control", "debug";
  997. firmware-name = "am64x-txpru0_0-fw";
  998. };
  999. pru0_1: pru@38000 {
  1000. compatible = "ti,am642-pru";
  1001. reg = <0x38000 0x3000>,
  1002. <0x24000 0x100>,
  1003. <0x24400 0x100>;
  1004. reg-names = "iram", "control", "debug";
  1005. firmware-name = "am64x-pru0_1-fw";
  1006. };
  1007. rtu0_1: rtu@6000 {
  1008. compatible = "ti,am642-rtu";
  1009. reg = <0x6000 0x2000>,
  1010. <0x23800 0x100>,
  1011. <0x23c00 0x100>;
  1012. reg-names = "iram", "control", "debug";
  1013. firmware-name = "am64x-rtu0_1-fw";
  1014. };
  1015. tx_pru0_1: txpru@c000 {
  1016. compatible = "ti,am642-tx-pru";
  1017. reg = <0xc000 0x1800>,
  1018. <0x25800 0x100>,
  1019. <0x25c00 0x100>;
  1020. reg-names = "iram", "control", "debug";
  1021. firmware-name = "am64x-txpru0_1-fw";
  1022. };
  1023. icssg0_mdio: mdio@32400 {
  1024. compatible = "ti,davinci_mdio";
  1025. reg = <0x32400 0x100>;
  1026. clocks = <&k3_clks 62 3>;
  1027. clock-names = "fck";
  1028. #address-cells = <1>;
  1029. #size-cells = <0>;
  1030. bus_freq = <1000000>;
  1031. };
  1032. };
  1033. icssg1: icssg@30080000 {
  1034. compatible = "ti,am642-icssg";
  1035. reg = <0x00 0x30080000 0x00 0x80000>;
  1036. power-domains = <&k3_pds 82 TI_SCI_PD_EXCLUSIVE>;
  1037. #address-cells = <1>;
  1038. #size-cells = <1>;
  1039. ranges = <0x0 0x00 0x30080000 0x80000>;
  1040. icssg1_mem: memories@0 {
  1041. reg = <0x0 0x2000>,
  1042. <0x2000 0x2000>,
  1043. <0x10000 0x10000>;
  1044. reg-names = "dram0", "dram1", "shrdram2";
  1045. };
  1046. icssg1_cfg: cfg@26000 {
  1047. compatible = "ti,pruss-cfg", "syscon";
  1048. reg = <0x26000 0x200>;
  1049. #address-cells = <1>;
  1050. #size-cells = <1>;
  1051. ranges = <0x0 0x26000 0x2000>;
  1052. clocks {
  1053. #address-cells = <1>;
  1054. #size-cells = <0>;
  1055. icssg1_coreclk_mux: coreclk-mux@3c {
  1056. reg = <0x3c>;
  1057. #clock-cells = <0>;
  1058. clocks = <&k3_clks 82 0>, /* icssg1_core_clk */
  1059. <&k3_clks 82 20>; /* icssg1_iclk */
  1060. assigned-clocks = <&icssg1_coreclk_mux>;
  1061. assigned-clock-parents = <&k3_clks 82 20>;
  1062. };
  1063. icssg1_iepclk_mux: iepclk-mux@30 {
  1064. reg = <0x30>;
  1065. #clock-cells = <0>;
  1066. clocks = <&k3_clks 82 3>, /* icssg1_iep_clk */
  1067. <&icssg1_coreclk_mux>; /* icssg1_coreclk_mux */
  1068. assigned-clocks = <&icssg1_iepclk_mux>;
  1069. assigned-clock-parents = <&icssg1_coreclk_mux>;
  1070. };
  1071. };
  1072. };
  1073. icssg1_mii_rt: mii-rt@32000 {
  1074. compatible = "ti,pruss-mii", "syscon";
  1075. reg = <0x32000 0x100>;
  1076. };
  1077. icssg1_mii_g_rt: mii-g-rt@33000 {
  1078. compatible = "ti,pruss-mii-g", "syscon";
  1079. reg = <0x33000 0x1000>;
  1080. };
  1081. icssg1_intc: interrupt-controller@20000 {
  1082. compatible = "ti,icssg-intc";
  1083. reg = <0x20000 0x2000>;
  1084. interrupt-controller;
  1085. #interrupt-cells = <3>;
  1086. interrupts = <GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH>,
  1087. <GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH>,
  1088. <GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH>,
  1089. <GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH>,
  1090. <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>,
  1091. <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>,
  1092. <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>,
  1093. <GIC_SPI 223 IRQ_TYPE_LEVEL_HIGH>;
  1094. interrupt-names = "host_intr0", "host_intr1",
  1095. "host_intr2", "host_intr3",
  1096. "host_intr4", "host_intr5",
  1097. "host_intr6", "host_intr7";
  1098. };
  1099. pru1_0: pru@34000 {
  1100. compatible = "ti,am642-pru";
  1101. reg = <0x34000 0x4000>,
  1102. <0x22000 0x100>,
  1103. <0x22400 0x100>;
  1104. reg-names = "iram", "control", "debug";
  1105. firmware-name = "am64x-pru1_0-fw";
  1106. };
  1107. rtu1_0: rtu@4000 {
  1108. compatible = "ti,am642-rtu";
  1109. reg = <0x4000 0x2000>,
  1110. <0x23000 0x100>,
  1111. <0x23400 0x100>;
  1112. reg-names = "iram", "control", "debug";
  1113. firmware-name = "am64x-rtu1_0-fw";
  1114. };
  1115. tx_pru1_0: txpru@a000 {
  1116. compatible = "ti,am642-tx-pru";
  1117. reg = <0xa000 0x1800>,
  1118. <0x25000 0x100>,
  1119. <0x25400 0x100>;
  1120. reg-names = "iram", "control", "debug";
  1121. firmware-name = "am64x-txpru1_0-fw";
  1122. };
  1123. pru1_1: pru@38000 {
  1124. compatible = "ti,am642-pru";
  1125. reg = <0x38000 0x4000>,
  1126. <0x24000 0x100>,
  1127. <0x24400 0x100>;
  1128. reg-names = "iram", "control", "debug";
  1129. firmware-name = "am64x-pru1_1-fw";
  1130. };
  1131. rtu1_1: rtu@6000 {
  1132. compatible = "ti,am642-rtu";
  1133. reg = <0x6000 0x2000>,
  1134. <0x23800 0x100>,
  1135. <0x23c00 0x100>;
  1136. reg-names = "iram", "control", "debug";
  1137. firmware-name = "am64x-rtu1_1-fw";
  1138. };
  1139. tx_pru1_1: txpru@c000 {
  1140. compatible = "ti,am642-tx-pru";
  1141. reg = <0xc000 0x1800>,
  1142. <0x25800 0x100>,
  1143. <0x25c00 0x100>;
  1144. reg-names = "iram", "control", "debug";
  1145. firmware-name = "am64x-txpru1_1-fw";
  1146. };
  1147. icssg1_mdio: mdio@32400 {
  1148. compatible = "ti,davinci_mdio";
  1149. reg = <0x32400 0x100>;
  1150. #address-cells = <1>;
  1151. #size-cells = <0>;
  1152. clocks = <&k3_clks 82 0>;
  1153. clock-names = "fck";
  1154. bus_freq = <1000000>;
  1155. };
  1156. };
  1157. main_mcan0: can@20701000 {
  1158. compatible = "bosch,m_can";
  1159. reg = <0x00 0x20701000 0x00 0x200>,
  1160. <0x00 0x20708000 0x00 0x8000>;
  1161. reg-names = "m_can", "message_ram";
  1162. power-domains = <&k3_pds 98 TI_SCI_PD_EXCLUSIVE>;
  1163. clocks = <&k3_clks 98 5>, <&k3_clks 98 0>;
  1164. clock-names = "hclk", "cclk";
  1165. interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>,
  1166. <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
  1167. interrupt-names = "int0", "int1";
  1168. bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>;
  1169. };
  1170. main_mcan1: can@20711000 {
  1171. compatible = "bosch,m_can";
  1172. reg = <0x00 0x20711000 0x00 0x200>,
  1173. <0x00 0x20718000 0x00 0x8000>;
  1174. reg-names = "m_can", "message_ram";
  1175. power-domains = <&k3_pds 99 TI_SCI_PD_EXCLUSIVE>;
  1176. clocks = <&k3_clks 99 5>, <&k3_clks 99 0>;
  1177. clock-names = "hclk", "cclk";
  1178. interrupts = <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>,
  1179. <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
  1180. interrupt-names = "int0", "int1";
  1181. bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>;
  1182. };
  1183. crypto: crypto@40900000 {
  1184. compatible = "ti,am64-sa2ul";
  1185. reg = <0x00 0x40900000 0x00 0x1200>;
  1186. power-domains = <&k3_pds 133 TI_SCI_PD_SHARED>;
  1187. #address-cells = <2>;
  1188. #size-cells = <2>;
  1189. ranges = <0x00 0x40900000 0x00 0x40900000 0x00 0x30000>;
  1190. dmas = <&main_pktdma 0xc001 0>, <&main_pktdma 0x4002 0>,
  1191. <&main_pktdma 0x4003 0>;
  1192. dma-names = "tx", "rx1", "rx2";
  1193. rng: rng@40910000 {
  1194. compatible = "inside-secure,safexcel-eip76";
  1195. reg = <0x00 0x40910000 0x00 0x7d>;
  1196. interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
  1197. clocks = <&k3_clks 133 1>;
  1198. status = "disabled"; /* Used by OP-TEE */
  1199. };
  1200. };
  1201. gpmc0: memory-controller@3b000000 {
  1202. compatible = "ti,am64-gpmc";
  1203. power-domains = <&k3_pds 80 TI_SCI_PD_EXCLUSIVE>;
  1204. clocks = <&k3_clks 80 0>;
  1205. clock-names = "fck";
  1206. reg = <0x00 0x03b000000 0x00 0x400>,
  1207. <0x00 0x050000000 0x00 0x8000000>;
  1208. reg-names = "cfg", "data";
  1209. interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
  1210. gpmc,num-cs = <3>;
  1211. gpmc,num-waitpins = <2>;
  1212. #address-cells = <2>;
  1213. #size-cells = <1>;
  1214. interrupt-controller;
  1215. #interrupt-cells = <2>;
  1216. gpio-controller;
  1217. #gpio-cells = <2>;
  1218. };
  1219. elm0: ecc@25010000 {
  1220. compatible = "ti,am64-elm";
  1221. reg = <0x00 0x25010000 0x00 0x2000>;
  1222. interrupts = <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>;
  1223. power-domains = <&k3_pds 54 TI_SCI_PD_EXCLUSIVE>;
  1224. clocks = <&k3_clks 54 0>;
  1225. clock-names = "fck";
  1226. };
  1227. };