k3-am65-main.dtsi 37 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * Device Tree Source for AM6 SoC Family Main Domain peripherals
  4. *
  5. * Copyright (C) 2016-2018 Texas Instruments Incorporated - https://www.ti.com/
  6. */
  7. #include <dt-bindings/phy/phy-am654-serdes.h>
  8. &cbass_main {
  9. msmc_ram: sram@70000000 {
  10. compatible = "mmio-sram";
  11. reg = <0x0 0x70000000 0x0 0x200000>;
  12. #address-cells = <1>;
  13. #size-cells = <1>;
  14. ranges = <0x0 0x0 0x70000000 0x200000>;
  15. atf-sram@0 {
  16. reg = <0x0 0x20000>;
  17. };
  18. sysfw-sram@f0000 {
  19. reg = <0xf0000 0x10000>;
  20. };
  21. l3cache-sram@100000 {
  22. reg = <0x100000 0x100000>;
  23. };
  24. };
  25. gic500: interrupt-controller@1800000 {
  26. compatible = "arm,gic-v3";
  27. #address-cells = <2>;
  28. #size-cells = <2>;
  29. ranges;
  30. #interrupt-cells = <3>;
  31. interrupt-controller;
  32. reg = <0x00 0x01800000 0x00 0x10000>, /* GICD */
  33. <0x00 0x01880000 0x00 0x90000>, /* GICR */
  34. <0x00 0x6f000000 0x00 0x2000>, /* GICC */
  35. <0x00 0x6f010000 0x00 0x1000>, /* GICH */
  36. <0x00 0x6f020000 0x00 0x2000>; /* GICV */
  37. /*
  38. * vcpumntirq:
  39. * virtual CPU interface maintenance interrupt
  40. */
  41. interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
  42. gic_its: msi-controller@1820000 {
  43. compatible = "arm,gic-v3-its";
  44. reg = <0x00 0x01820000 0x00 0x10000>;
  45. socionext,synquacer-pre-its = <0x1000000 0x400000>;
  46. msi-controller;
  47. #msi-cells = <1>;
  48. };
  49. };
  50. serdes0: serdes@900000 {
  51. compatible = "ti,phy-am654-serdes";
  52. reg = <0x0 0x900000 0x0 0x2000>;
  53. reg-names = "serdes";
  54. #phy-cells = <2>;
  55. power-domains = <&k3_pds 153 TI_SCI_PD_EXCLUSIVE>;
  56. clocks = <&k3_clks 153 4>, <&k3_clks 153 1>, <&serdes1 AM654_SERDES_LO_REFCLK>;
  57. clock-output-names = "serdes0_cmu_refclk", "serdes0_lo_refclk", "serdes0_ro_refclk";
  58. assigned-clocks = <&k3_clks 153 4>, <&serdes0 AM654_SERDES_CMU_REFCLK>;
  59. assigned-clock-parents = <&k3_clks 153 8>, <&k3_clks 153 4>;
  60. ti,serdes-clk = <&serdes0_clk>;
  61. #clock-cells = <1>;
  62. mux-controls = <&serdes_mux 0>;
  63. };
  64. serdes1: serdes@910000 {
  65. compatible = "ti,phy-am654-serdes";
  66. reg = <0x0 0x910000 0x0 0x2000>;
  67. reg-names = "serdes";
  68. #phy-cells = <2>;
  69. power-domains = <&k3_pds 154 TI_SCI_PD_EXCLUSIVE>;
  70. clocks = <&serdes0 AM654_SERDES_RO_REFCLK>, <&k3_clks 154 1>, <&k3_clks 154 5>;
  71. clock-output-names = "serdes1_cmu_refclk", "serdes1_lo_refclk", "serdes1_ro_refclk";
  72. assigned-clocks = <&k3_clks 154 5>, <&serdes1 AM654_SERDES_CMU_REFCLK>;
  73. assigned-clock-parents = <&k3_clks 154 9>, <&k3_clks 154 5>;
  74. ti,serdes-clk = <&serdes1_clk>;
  75. #clock-cells = <1>;
  76. mux-controls = <&serdes_mux 1>;
  77. };
  78. main_uart0: serial@2800000 {
  79. compatible = "ti,am654-uart";
  80. reg = <0x00 0x02800000 0x00 0x100>;
  81. interrupts = <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>;
  82. clock-frequency = <48000000>;
  83. current-speed = <115200>;
  84. power-domains = <&k3_pds 146 TI_SCI_PD_EXCLUSIVE>;
  85. };
  86. main_uart1: serial@2810000 {
  87. compatible = "ti,am654-uart";
  88. reg = <0x00 0x02810000 0x00 0x100>;
  89. interrupts = <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>;
  90. clock-frequency = <48000000>;
  91. power-domains = <&k3_pds 147 TI_SCI_PD_EXCLUSIVE>;
  92. };
  93. main_uart2: serial@2820000 {
  94. compatible = "ti,am654-uart";
  95. reg = <0x00 0x02820000 0x00 0x100>;
  96. interrupts = <GIC_SPI 194 IRQ_TYPE_LEVEL_HIGH>;
  97. clock-frequency = <48000000>;
  98. power-domains = <&k3_pds 148 TI_SCI_PD_EXCLUSIVE>;
  99. };
  100. crypto: crypto@4e00000 {
  101. compatible = "ti,am654-sa2ul";
  102. reg = <0x0 0x4e00000 0x0 0x1200>;
  103. power-domains = <&k3_pds 136 TI_SCI_PD_SHARED>;
  104. #address-cells = <2>;
  105. #size-cells = <2>;
  106. ranges = <0x0 0x04e00000 0x00 0x04e00000 0x0 0x30000>;
  107. dmas = <&main_udmap 0xc001>, <&main_udmap 0x4002>,
  108. <&main_udmap 0x4003>;
  109. dma-names = "tx", "rx1", "rx2";
  110. rng: rng@4e10000 {
  111. compatible = "inside-secure,safexcel-eip76";
  112. reg = <0x0 0x4e10000 0x0 0x7d>;
  113. interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
  114. clocks = <&k3_clks 136 1>;
  115. status = "disabled"; /* Used by OP-TEE */
  116. };
  117. };
  118. main_pmx0: pinctrl@11c000 {
  119. compatible = "pinctrl-single";
  120. reg = <0x0 0x11c000 0x0 0x2e4>;
  121. #pinctrl-cells = <1>;
  122. pinctrl-single,register-width = <32>;
  123. pinctrl-single,function-mask = <0xffffffff>;
  124. };
  125. main_pmx1: pinctrl@11c2e8 {
  126. compatible = "pinctrl-single";
  127. reg = <0x0 0x11c2e8 0x0 0x24>;
  128. #pinctrl-cells = <1>;
  129. pinctrl-single,register-width = <32>;
  130. pinctrl-single,function-mask = <0xffffffff>;
  131. };
  132. main_i2c0: i2c@2000000 {
  133. compatible = "ti,am654-i2c", "ti,omap4-i2c";
  134. reg = <0x0 0x2000000 0x0 0x100>;
  135. interrupts = <GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH>;
  136. #address-cells = <1>;
  137. #size-cells = <0>;
  138. clock-names = "fck";
  139. clocks = <&k3_clks 110 1>;
  140. power-domains = <&k3_pds 110 TI_SCI_PD_EXCLUSIVE>;
  141. };
  142. main_i2c1: i2c@2010000 {
  143. compatible = "ti,am654-i2c", "ti,omap4-i2c";
  144. reg = <0x0 0x2010000 0x0 0x100>;
  145. interrupts = <GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH>;
  146. #address-cells = <1>;
  147. #size-cells = <0>;
  148. clock-names = "fck";
  149. clocks = <&k3_clks 111 1>;
  150. power-domains = <&k3_pds 111 TI_SCI_PD_EXCLUSIVE>;
  151. };
  152. main_i2c2: i2c@2020000 {
  153. compatible = "ti,am654-i2c", "ti,omap4-i2c";
  154. reg = <0x0 0x2020000 0x0 0x100>;
  155. interrupts = <GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH>;
  156. #address-cells = <1>;
  157. #size-cells = <0>;
  158. clock-names = "fck";
  159. clocks = <&k3_clks 112 1>;
  160. power-domains = <&k3_pds 112 TI_SCI_PD_EXCLUSIVE>;
  161. };
  162. main_i2c3: i2c@2030000 {
  163. compatible = "ti,am654-i2c", "ti,omap4-i2c";
  164. reg = <0x0 0x2030000 0x0 0x100>;
  165. interrupts = <GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH>;
  166. #address-cells = <1>;
  167. #size-cells = <0>;
  168. clock-names = "fck";
  169. clocks = <&k3_clks 113 1>;
  170. power-domains = <&k3_pds 113 TI_SCI_PD_EXCLUSIVE>;
  171. };
  172. ecap0: pwm@3100000 {
  173. compatible = "ti,am654-ecap", "ti,am3352-ecap";
  174. #pwm-cells = <3>;
  175. reg = <0x0 0x03100000 0x0 0x60>;
  176. power-domains = <&k3_pds 39 TI_SCI_PD_EXCLUSIVE>;
  177. clocks = <&k3_clks 39 0>;
  178. clock-names = "fck";
  179. };
  180. main_spi0: spi@2100000 {
  181. compatible = "ti,am654-mcspi","ti,omap4-mcspi";
  182. reg = <0x0 0x2100000 0x0 0x400>;
  183. interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
  184. clocks = <&k3_clks 137 1>;
  185. power-domains = <&k3_pds 137 TI_SCI_PD_EXCLUSIVE>;
  186. #address-cells = <1>;
  187. #size-cells = <0>;
  188. dmas = <&main_udmap 0xc500>, <&main_udmap 0x4500>;
  189. dma-names = "tx0", "rx0";
  190. };
  191. main_spi1: spi@2110000 {
  192. compatible = "ti,am654-mcspi","ti,omap4-mcspi";
  193. reg = <0x0 0x2110000 0x0 0x400>;
  194. interrupts = <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>;
  195. clocks = <&k3_clks 138 1>;
  196. power-domains = <&k3_pds 138 TI_SCI_PD_EXCLUSIVE>;
  197. #address-cells = <1>;
  198. #size-cells = <0>;
  199. assigned-clocks = <&k3_clks 137 1>;
  200. assigned-clock-rates = <48000000>;
  201. };
  202. main_spi2: spi@2120000 {
  203. compatible = "ti,am654-mcspi","ti,omap4-mcspi";
  204. reg = <0x0 0x2120000 0x0 0x400>;
  205. interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
  206. clocks = <&k3_clks 139 1>;
  207. power-domains = <&k3_pds 139 TI_SCI_PD_EXCLUSIVE>;
  208. #address-cells = <1>;
  209. #size-cells = <0>;
  210. };
  211. main_spi3: spi@2130000 {
  212. compatible = "ti,am654-mcspi","ti,omap4-mcspi";
  213. reg = <0x0 0x2130000 0x0 0x400>;
  214. interrupts = <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>;
  215. clocks = <&k3_clks 140 1>;
  216. power-domains = <&k3_pds 140 TI_SCI_PD_EXCLUSIVE>;
  217. #address-cells = <1>;
  218. #size-cells = <0>;
  219. };
  220. main_spi4: spi@2140000 {
  221. compatible = "ti,am654-mcspi","ti,omap4-mcspi";
  222. reg = <0x0 0x2140000 0x0 0x400>;
  223. interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
  224. clocks = <&k3_clks 141 1>;
  225. power-domains = <&k3_pds 141 TI_SCI_PD_EXCLUSIVE>;
  226. #address-cells = <1>;
  227. #size-cells = <0>;
  228. };
  229. sdhci0: mmc@4f80000 {
  230. compatible = "ti,am654-sdhci-5.1";
  231. reg = <0x0 0x4f80000 0x0 0x260>, <0x0 0x4f90000 0x0 0x134>;
  232. power-domains = <&k3_pds 47 TI_SCI_PD_EXCLUSIVE>;
  233. clocks = <&k3_clks 47 0>, <&k3_clks 47 1>;
  234. clock-names = "clk_ahb", "clk_xin";
  235. interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>;
  236. mmc-ddr-1_8v;
  237. mmc-hs200-1_8v;
  238. ti,otap-del-sel-legacy = <0x0>;
  239. ti,otap-del-sel-mmc-hs = <0x0>;
  240. ti,otap-del-sel-sd-hs = <0x0>;
  241. ti,otap-del-sel-sdr12 = <0x0>;
  242. ti,otap-del-sel-sdr25 = <0x0>;
  243. ti,otap-del-sel-sdr50 = <0x8>;
  244. ti,otap-del-sel-sdr104 = <0x7>;
  245. ti,otap-del-sel-ddr50 = <0x5>;
  246. ti,otap-del-sel-ddr52 = <0x5>;
  247. ti,otap-del-sel-hs200 = <0x5>;
  248. ti,otap-del-sel-hs400 = <0x0>;
  249. ti,trm-icp = <0x8>;
  250. dma-coherent;
  251. };
  252. sdhci1: mmc@4fa0000 {
  253. compatible = "ti,am654-sdhci-5.1";
  254. reg = <0x0 0x4fa0000 0x0 0x260>, <0x0 0x4fb0000 0x0 0x134>;
  255. power-domains = <&k3_pds 48 TI_SCI_PD_EXCLUSIVE>;
  256. clocks = <&k3_clks 48 0>, <&k3_clks 48 1>;
  257. clock-names = "clk_ahb", "clk_xin";
  258. interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>;
  259. ti,otap-del-sel-legacy = <0x0>;
  260. ti,otap-del-sel-mmc-hs = <0x0>;
  261. ti,otap-del-sel-sd-hs = <0x0>;
  262. ti,otap-del-sel-sdr12 = <0x0>;
  263. ti,otap-del-sel-sdr25 = <0x0>;
  264. ti,otap-del-sel-sdr50 = <0x8>;
  265. ti,otap-del-sel-sdr104 = <0x7>;
  266. ti,otap-del-sel-ddr50 = <0x4>;
  267. ti,otap-del-sel-ddr52 = <0x4>;
  268. ti,otap-del-sel-hs200 = <0x7>;
  269. ti,clkbuf-sel = <0x7>;
  270. ti,otap-del-sel = <0x2>;
  271. ti,trm-icp = <0x8>;
  272. dma-coherent;
  273. };
  274. scm_conf: scm-conf@100000 {
  275. compatible = "syscon", "simple-mfd";
  276. reg = <0 0x00100000 0 0x1c000>;
  277. #address-cells = <1>;
  278. #size-cells = <1>;
  279. ranges = <0x0 0x0 0x00100000 0x1c000>;
  280. pcie0_mode: pcie-mode@4060 {
  281. compatible = "syscon";
  282. reg = <0x00004060 0x4>;
  283. };
  284. pcie1_mode: pcie-mode@4070 {
  285. compatible = "syscon";
  286. reg = <0x00004070 0x4>;
  287. };
  288. pcie_devid: pcie-devid@210 {
  289. compatible = "syscon";
  290. reg = <0x00000210 0x4>;
  291. };
  292. serdes0_clk: clock@4080 {
  293. compatible = "syscon";
  294. reg = <0x00004080 0x4>;
  295. };
  296. serdes1_clk: clock@4090 {
  297. compatible = "syscon";
  298. reg = <0x00004090 0x4>;
  299. };
  300. serdes_mux: mux-controller {
  301. compatible = "mmio-mux";
  302. #mux-control-cells = <1>;
  303. mux-reg-masks = <0x4080 0x3>, /* SERDES0 lane select */
  304. <0x4090 0x3>; /* SERDES1 lane select */
  305. };
  306. dss_oldi_io_ctrl: dss-oldi-io-ctrl@41e0 {
  307. compatible = "syscon";
  308. reg = <0x0000041e0 0x14>;
  309. };
  310. ehrpwm_tbclk: clock@4140 {
  311. compatible = "ti,am654-ehrpwm-tbclk", "syscon";
  312. reg = <0x4140 0x18>;
  313. #clock-cells = <1>;
  314. };
  315. };
  316. dwc3_0: dwc3@4000000 {
  317. compatible = "ti,am654-dwc3";
  318. reg = <0x0 0x4000000 0x0 0x4000>;
  319. #address-cells = <1>;
  320. #size-cells = <1>;
  321. ranges = <0x0 0x0 0x4000000 0x20000>;
  322. interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
  323. dma-coherent;
  324. power-domains = <&k3_pds 151 TI_SCI_PD_EXCLUSIVE>;
  325. clocks = <&k3_clks 151 2>, <&k3_clks 151 7>;
  326. assigned-clocks = <&k3_clks 151 2>, <&k3_clks 151 7>;
  327. assigned-clock-parents = <&k3_clks 151 4>, /* set REF_CLK to 20MHz i.e. PER0_PLL/48 */
  328. <&k3_clks 151 9>; /* set PIPE3_TXB_CLK to CLK_12M_RC/256 (for HS only) */
  329. usb0: usb@10000 {
  330. compatible = "snps,dwc3";
  331. reg = <0x10000 0x10000>;
  332. interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
  333. <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
  334. <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
  335. interrupt-names = "peripheral",
  336. "host",
  337. "otg";
  338. maximum-speed = "high-speed";
  339. dr_mode = "otg";
  340. phys = <&usb0_phy>;
  341. phy-names = "usb2-phy";
  342. snps,dis_u3_susphy_quirk;
  343. };
  344. };
  345. usb0_phy: phy@4100000 {
  346. compatible = "ti,am654-usb2", "ti,omap-usb2";
  347. reg = <0x0 0x4100000 0x0 0x54>;
  348. syscon-phy-power = <&scm_conf 0x4000>;
  349. clocks = <&k3_clks 151 0>, <&k3_clks 151 1>;
  350. clock-names = "wkupclk", "refclk";
  351. #phy-cells = <0>;
  352. };
  353. dwc3_1: dwc3@4020000 {
  354. compatible = "ti,am654-dwc3";
  355. reg = <0x0 0x4020000 0x0 0x4000>;
  356. #address-cells = <1>;
  357. #size-cells = <1>;
  358. ranges = <0x0 0x0 0x4020000 0x20000>;
  359. interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
  360. dma-coherent;
  361. power-domains = <&k3_pds 152 TI_SCI_PD_EXCLUSIVE>;
  362. clocks = <&k3_clks 152 2>;
  363. assigned-clocks = <&k3_clks 152 2>;
  364. assigned-clock-parents = <&k3_clks 152 4>; /* set REF_CLK to 20MHz i.e. PER0_PLL/48 */
  365. usb1: usb@10000 {
  366. compatible = "snps,dwc3";
  367. reg = <0x10000 0x10000>;
  368. interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
  369. <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
  370. <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
  371. interrupt-names = "peripheral",
  372. "host",
  373. "otg";
  374. maximum-speed = "high-speed";
  375. dr_mode = "otg";
  376. phys = <&usb1_phy>;
  377. phy-names = "usb2-phy";
  378. };
  379. };
  380. usb1_phy: phy@4110000 {
  381. compatible = "ti,am654-usb2", "ti,omap-usb2";
  382. reg = <0x0 0x4110000 0x0 0x54>;
  383. syscon-phy-power = <&scm_conf 0x4020>;
  384. clocks = <&k3_clks 152 0>, <&k3_clks 152 1>;
  385. clock-names = "wkupclk", "refclk";
  386. #phy-cells = <0>;
  387. };
  388. intr_main_gpio: interrupt-controller@a00000 {
  389. compatible = "ti,sci-intr";
  390. reg = <0x0 0x00a00000 0x0 0x400>;
  391. ti,intr-trigger-type = <1>;
  392. interrupt-controller;
  393. interrupt-parent = <&gic500>;
  394. #interrupt-cells = <1>;
  395. ti,sci = <&dmsc>;
  396. ti,sci-dev-id = <100>;
  397. ti,interrupt-ranges = <0 392 32>;
  398. };
  399. main_navss: bus@30800000 {
  400. compatible = "simple-mfd";
  401. #address-cells = <2>;
  402. #size-cells = <2>;
  403. ranges = <0x0 0x30800000 0x0 0x30800000 0x0 0xbc00000>;
  404. dma-coherent;
  405. dma-ranges;
  406. ti,sci-dev-id = <118>;
  407. intr_main_navss: interrupt-controller@310e0000 {
  408. compatible = "ti,sci-intr";
  409. reg = <0x0 0x310e0000 0x0 0x2000>;
  410. ti,intr-trigger-type = <4>;
  411. interrupt-controller;
  412. interrupt-parent = <&gic500>;
  413. #interrupt-cells = <1>;
  414. ti,sci = <&dmsc>;
  415. ti,sci-dev-id = <182>;
  416. ti,interrupt-ranges = <0 64 64>,
  417. <64 448 64>;
  418. };
  419. inta_main_udmass: interrupt-controller@33d00000 {
  420. compatible = "ti,sci-inta";
  421. reg = <0x0 0x33d00000 0x0 0x100000>;
  422. interrupt-controller;
  423. interrupt-parent = <&intr_main_navss>;
  424. msi-controller;
  425. #interrupt-cells = <0>;
  426. ti,sci = <&dmsc>;
  427. ti,sci-dev-id = <179>;
  428. ti,interrupt-ranges = <0 0 256>;
  429. };
  430. secure_proxy_main: mailbox@32c00000 {
  431. compatible = "ti,am654-secure-proxy";
  432. #mbox-cells = <1>;
  433. reg-names = "target_data", "rt", "scfg";
  434. reg = <0x00 0x32c00000 0x00 0x100000>,
  435. <0x00 0x32400000 0x00 0x100000>,
  436. <0x00 0x32800000 0x00 0x100000>;
  437. interrupt-names = "rx_011";
  438. interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
  439. };
  440. hwspinlock: spinlock@30e00000 {
  441. compatible = "ti,am654-hwspinlock";
  442. reg = <0x00 0x30e00000 0x00 0x1000>;
  443. #hwlock-cells = <1>;
  444. };
  445. mailbox0_cluster0: mailbox@31f80000 {
  446. compatible = "ti,am654-mailbox";
  447. reg = <0x00 0x31f80000 0x00 0x200>;
  448. #mbox-cells = <1>;
  449. ti,mbox-num-users = <4>;
  450. ti,mbox-num-fifos = <16>;
  451. interrupt-parent = <&intr_main_navss>;
  452. };
  453. mailbox0_cluster1: mailbox@31f81000 {
  454. compatible = "ti,am654-mailbox";
  455. reg = <0x00 0x31f81000 0x00 0x200>;
  456. #mbox-cells = <1>;
  457. ti,mbox-num-users = <4>;
  458. ti,mbox-num-fifos = <16>;
  459. interrupt-parent = <&intr_main_navss>;
  460. };
  461. mailbox0_cluster2: mailbox@31f82000 {
  462. compatible = "ti,am654-mailbox";
  463. reg = <0x00 0x31f82000 0x00 0x200>;
  464. #mbox-cells = <1>;
  465. ti,mbox-num-users = <4>;
  466. ti,mbox-num-fifos = <16>;
  467. interrupt-parent = <&intr_main_navss>;
  468. };
  469. mailbox0_cluster3: mailbox@31f83000 {
  470. compatible = "ti,am654-mailbox";
  471. reg = <0x00 0x31f83000 0x00 0x200>;
  472. #mbox-cells = <1>;
  473. ti,mbox-num-users = <4>;
  474. ti,mbox-num-fifos = <16>;
  475. interrupt-parent = <&intr_main_navss>;
  476. };
  477. mailbox0_cluster4: mailbox@31f84000 {
  478. compatible = "ti,am654-mailbox";
  479. reg = <0x00 0x31f84000 0x00 0x200>;
  480. #mbox-cells = <1>;
  481. ti,mbox-num-users = <4>;
  482. ti,mbox-num-fifos = <16>;
  483. interrupt-parent = <&intr_main_navss>;
  484. };
  485. mailbox0_cluster5: mailbox@31f85000 {
  486. compatible = "ti,am654-mailbox";
  487. reg = <0x00 0x31f85000 0x00 0x200>;
  488. #mbox-cells = <1>;
  489. ti,mbox-num-users = <4>;
  490. ti,mbox-num-fifos = <16>;
  491. interrupt-parent = <&intr_main_navss>;
  492. };
  493. mailbox0_cluster6: mailbox@31f86000 {
  494. compatible = "ti,am654-mailbox";
  495. reg = <0x00 0x31f86000 0x00 0x200>;
  496. #mbox-cells = <1>;
  497. ti,mbox-num-users = <4>;
  498. ti,mbox-num-fifos = <16>;
  499. interrupt-parent = <&intr_main_navss>;
  500. };
  501. mailbox0_cluster7: mailbox@31f87000 {
  502. compatible = "ti,am654-mailbox";
  503. reg = <0x00 0x31f87000 0x00 0x200>;
  504. #mbox-cells = <1>;
  505. ti,mbox-num-users = <4>;
  506. ti,mbox-num-fifos = <16>;
  507. interrupt-parent = <&intr_main_navss>;
  508. };
  509. mailbox0_cluster8: mailbox@31f88000 {
  510. compatible = "ti,am654-mailbox";
  511. reg = <0x00 0x31f88000 0x00 0x200>;
  512. #mbox-cells = <1>;
  513. ti,mbox-num-users = <4>;
  514. ti,mbox-num-fifos = <16>;
  515. interrupt-parent = <&intr_main_navss>;
  516. };
  517. mailbox0_cluster9: mailbox@31f89000 {
  518. compatible = "ti,am654-mailbox";
  519. reg = <0x00 0x31f89000 0x00 0x200>;
  520. #mbox-cells = <1>;
  521. ti,mbox-num-users = <4>;
  522. ti,mbox-num-fifos = <16>;
  523. interrupt-parent = <&intr_main_navss>;
  524. };
  525. mailbox0_cluster10: mailbox@31f8a000 {
  526. compatible = "ti,am654-mailbox";
  527. reg = <0x00 0x31f8a000 0x00 0x200>;
  528. #mbox-cells = <1>;
  529. ti,mbox-num-users = <4>;
  530. ti,mbox-num-fifos = <16>;
  531. interrupt-parent = <&intr_main_navss>;
  532. };
  533. mailbox0_cluster11: mailbox@31f8b000 {
  534. compatible = "ti,am654-mailbox";
  535. reg = <0x00 0x31f8b000 0x00 0x200>;
  536. #mbox-cells = <1>;
  537. ti,mbox-num-users = <4>;
  538. ti,mbox-num-fifos = <16>;
  539. interrupt-parent = <&intr_main_navss>;
  540. };
  541. ringacc: ringacc@3c000000 {
  542. compatible = "ti,am654-navss-ringacc";
  543. reg = <0x0 0x3c000000 0x0 0x400000>,
  544. <0x0 0x38000000 0x0 0x400000>,
  545. <0x0 0x31120000 0x0 0x100>,
  546. <0x0 0x33000000 0x0 0x40000>;
  547. reg-names = "rt", "fifos", "proxy_gcfg", "proxy_target";
  548. ti,num-rings = <818>;
  549. ti,sci-rm-range-gp-rings = <0x1>; /* GP ring range */
  550. ti,sci = <&dmsc>;
  551. ti,sci-dev-id = <187>;
  552. msi-parent = <&inta_main_udmass>;
  553. };
  554. main_udmap: dma-controller@31150000 {
  555. compatible = "ti,am654-navss-main-udmap";
  556. reg = <0x0 0x31150000 0x0 0x100>,
  557. <0x0 0x34000000 0x0 0x100000>,
  558. <0x0 0x35000000 0x0 0x100000>;
  559. reg-names = "gcfg", "rchanrt", "tchanrt";
  560. msi-parent = <&inta_main_udmass>;
  561. #dma-cells = <1>;
  562. ti,sci = <&dmsc>;
  563. ti,sci-dev-id = <188>;
  564. ti,ringacc = <&ringacc>;
  565. ti,sci-rm-range-tchan = <0xf>, /* TX_HCHAN */
  566. <0xd>; /* TX_CHAN */
  567. ti,sci-rm-range-rchan = <0xb>, /* RX_HCHAN */
  568. <0xa>; /* RX_CHAN */
  569. ti,sci-rm-range-rflow = <0x0>; /* GP RFLOW */
  570. };
  571. cpts@310d0000 {
  572. compatible = "ti,am65-cpts";
  573. reg = <0x0 0x310d0000 0x0 0x400>;
  574. reg-names = "cpts";
  575. clocks = <&main_cpts_mux>;
  576. clock-names = "cpts";
  577. interrupts-extended = <&intr_main_navss 391>;
  578. interrupt-names = "cpts";
  579. ti,cpts-periodic-outputs = <6>;
  580. ti,cpts-ext-ts-inputs = <8>;
  581. main_cpts_mux: refclk-mux {
  582. #clock-cells = <0>;
  583. clocks = <&k3_clks 118 5>, <&k3_clks 118 11>,
  584. <&k3_clks 118 6>, <&k3_clks 118 3>,
  585. <&k3_clks 118 8>, <&k3_clks 118 14>,
  586. <&k3_clks 120 3>, <&k3_clks 121 3>;
  587. assigned-clocks = <&main_cpts_mux>;
  588. assigned-clock-parents = <&k3_clks 118 5>;
  589. };
  590. };
  591. };
  592. main_gpio0: gpio@600000 {
  593. compatible = "ti,am654-gpio", "ti,keystone-gpio";
  594. reg = <0x0 0x600000 0x0 0x100>;
  595. gpio-controller;
  596. #gpio-cells = <2>;
  597. interrupt-parent = <&intr_main_gpio>;
  598. interrupts = <192>, <193>, <194>, <195>, <196>, <197>;
  599. interrupt-controller;
  600. #interrupt-cells = <2>;
  601. ti,ngpio = <96>;
  602. ti,davinci-gpio-unbanked = <0>;
  603. clocks = <&k3_clks 57 0>;
  604. clock-names = "gpio";
  605. };
  606. main_gpio1: gpio@601000 {
  607. compatible = "ti,am654-gpio", "ti,keystone-gpio";
  608. reg = <0x0 0x601000 0x0 0x100>;
  609. gpio-controller;
  610. #gpio-cells = <2>;
  611. interrupt-parent = <&intr_main_gpio>;
  612. interrupts = <200>, <201>, <202>, <203>, <204>, <205>;
  613. interrupt-controller;
  614. #interrupt-cells = <2>;
  615. ti,ngpio = <90>;
  616. ti,davinci-gpio-unbanked = <0>;
  617. clocks = <&k3_clks 58 0>;
  618. clock-names = "gpio";
  619. };
  620. pcie0_rc: pcie@5500000 {
  621. compatible = "ti,am654-pcie-rc";
  622. reg = <0x0 0x5500000 0x0 0x1000>, <0x0 0x5501000 0x0 0x1000>, <0x0 0x10000000 0x0 0x2000>, <0x0 0x5506000 0x0 0x1000>;
  623. reg-names = "app", "dbics", "config", "atu";
  624. power-domains = <&k3_pds 120 TI_SCI_PD_EXCLUSIVE>;
  625. #address-cells = <3>;
  626. #size-cells = <2>;
  627. ranges = <0x81000000 0 0 0x0 0x10020000 0 0x00010000>,
  628. <0x82000000 0 0x10030000 0x0 0x10030000 0 0x07FD0000>;
  629. ti,syscon-pcie-id = <&pcie_devid>;
  630. ti,syscon-pcie-mode = <&pcie0_mode>;
  631. bus-range = <0x0 0xff>;
  632. num-viewport = <16>;
  633. max-link-speed = <2>;
  634. dma-coherent;
  635. interrupts = <GIC_SPI 340 IRQ_TYPE_EDGE_RISING>;
  636. msi-map = <0x0 &gic_its 0x0 0x10000>;
  637. device_type = "pci";
  638. };
  639. pcie0_ep: pcie-ep@5500000 {
  640. compatible = "ti,am654-pcie-ep";
  641. reg = <0x0 0x5500000 0x0 0x1000>, <0x0 0x5501000 0x0 0x1000>, <0x0 0x10000000 0x0 0x8000000>, <0x0 0x5506000 0x0 0x1000>;
  642. reg-names = "app", "dbics", "addr_space", "atu";
  643. power-domains = <&k3_pds 120 TI_SCI_PD_EXCLUSIVE>;
  644. ti,syscon-pcie-mode = <&pcie0_mode>;
  645. num-ib-windows = <16>;
  646. num-ob-windows = <16>;
  647. max-link-speed = <2>;
  648. dma-coherent;
  649. interrupts = <GIC_SPI 340 IRQ_TYPE_EDGE_RISING>;
  650. };
  651. pcie1_rc: pcie@5600000 {
  652. compatible = "ti,am654-pcie-rc";
  653. reg = <0x0 0x5600000 0x0 0x1000>, <0x0 0x5601000 0x0 0x1000>, <0x0 0x18000000 0x0 0x2000>, <0x0 0x5606000 0x0 0x1000>;
  654. reg-names = "app", "dbics", "config", "atu";
  655. power-domains = <&k3_pds 121 TI_SCI_PD_EXCLUSIVE>;
  656. #address-cells = <3>;
  657. #size-cells = <2>;
  658. ranges = <0x81000000 0 0 0x0 0x18020000 0 0x00010000>,
  659. <0x82000000 0 0x18030000 0x0 0x18030000 0 0x07FD0000>;
  660. ti,syscon-pcie-id = <&pcie_devid>;
  661. ti,syscon-pcie-mode = <&pcie1_mode>;
  662. bus-range = <0x0 0xff>;
  663. num-viewport = <16>;
  664. max-link-speed = <2>;
  665. dma-coherent;
  666. interrupts = <GIC_SPI 355 IRQ_TYPE_EDGE_RISING>;
  667. msi-map = <0x0 &gic_its 0x10000 0x10000>;
  668. device_type = "pci";
  669. };
  670. pcie1_ep: pcie-ep@5600000 {
  671. compatible = "ti,am654-pcie-ep";
  672. reg = <0x0 0x5600000 0x0 0x1000>, <0x0 0x5601000 0x0 0x1000>, <0x0 0x18000000 0x0 0x4000000>, <0x0 0x5606000 0x0 0x1000>;
  673. reg-names = "app", "dbics", "addr_space", "atu";
  674. power-domains = <&k3_pds 121 TI_SCI_PD_EXCLUSIVE>;
  675. ti,syscon-pcie-mode = <&pcie1_mode>;
  676. num-ib-windows = <16>;
  677. num-ob-windows = <16>;
  678. max-link-speed = <2>;
  679. dma-coherent;
  680. interrupts = <GIC_SPI 355 IRQ_TYPE_EDGE_RISING>;
  681. };
  682. mcasp0: mcasp@2b00000 {
  683. compatible = "ti,am33xx-mcasp-audio";
  684. reg = <0x0 0x02b00000 0x0 0x2000>,
  685. <0x0 0x02b08000 0x0 0x1000>;
  686. reg-names = "mpu","dat";
  687. interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>,
  688. <GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH>;
  689. interrupt-names = "tx", "rx";
  690. dmas = <&main_udmap 0xc400>, <&main_udmap 0x4400>;
  691. dma-names = "tx", "rx";
  692. clocks = <&k3_clks 104 0>;
  693. clock-names = "fck";
  694. power-domains = <&k3_pds 104 TI_SCI_PD_EXCLUSIVE>;
  695. };
  696. mcasp1: mcasp@2b10000 {
  697. compatible = "ti,am33xx-mcasp-audio";
  698. reg = <0x0 0x02b10000 0x0 0x2000>,
  699. <0x0 0x02b18000 0x0 0x1000>;
  700. reg-names = "mpu","dat";
  701. interrupts = <GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH>,
  702. <GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH>;
  703. interrupt-names = "tx", "rx";
  704. dmas = <&main_udmap 0xc401>, <&main_udmap 0x4401>;
  705. dma-names = "tx", "rx";
  706. clocks = <&k3_clks 105 0>;
  707. clock-names = "fck";
  708. power-domains = <&k3_pds 105 TI_SCI_PD_EXCLUSIVE>;
  709. };
  710. mcasp2: mcasp@2b20000 {
  711. compatible = "ti,am33xx-mcasp-audio";
  712. reg = <0x0 0x02b20000 0x0 0x2000>,
  713. <0x0 0x02b28000 0x0 0x1000>;
  714. reg-names = "mpu","dat";
  715. interrupts = <GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH>,
  716. <GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH>;
  717. interrupt-names = "tx", "rx";
  718. dmas = <&main_udmap 0xc402>, <&main_udmap 0x4402>;
  719. dma-names = "tx", "rx";
  720. clocks = <&k3_clks 106 0>;
  721. clock-names = "fck";
  722. power-domains = <&k3_pds 106 TI_SCI_PD_EXCLUSIVE>;
  723. };
  724. cal: cal@6f03000 {
  725. compatible = "ti,am654-cal";
  726. reg = <0x0 0x06f03000 0x0 0x400>,
  727. <0x0 0x06f03800 0x0 0x40>;
  728. reg-names = "cal_top",
  729. "cal_rx_core0";
  730. interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
  731. ti,camerrx-control = <&scm_conf 0x40c0>;
  732. clock-names = "fck";
  733. clocks = <&k3_clks 2 0>;
  734. power-domains = <&k3_pds 2 TI_SCI_PD_EXCLUSIVE>;
  735. ports {
  736. #address-cells = <1>;
  737. #size-cells = <0>;
  738. csi2_0: port@0 {
  739. reg = <0>;
  740. };
  741. };
  742. };
  743. dss: dss@4a00000 {
  744. compatible = "ti,am65x-dss";
  745. reg = <0x0 0x04a00000 0x0 0x1000>, /* common */
  746. <0x0 0x04a02000 0x0 0x1000>, /* vidl1 */
  747. <0x0 0x04a06000 0x0 0x1000>, /* vid */
  748. <0x0 0x04a07000 0x0 0x1000>, /* ovr1 */
  749. <0x0 0x04a08000 0x0 0x1000>, /* ovr2 */
  750. <0x0 0x04a0a000 0x0 0x1000>, /* vp1 */
  751. <0x0 0x04a0b000 0x0 0x1000>; /* vp2 */
  752. reg-names = "common", "vidl1", "vid",
  753. "ovr1", "ovr2", "vp1", "vp2";
  754. ti,am65x-oldi-io-ctrl = <&dss_oldi_io_ctrl>;
  755. power-domains = <&k3_pds 67 TI_SCI_PD_EXCLUSIVE>;
  756. clocks = <&k3_clks 67 1>,
  757. <&k3_clks 216 1>,
  758. <&k3_clks 67 2>;
  759. clock-names = "fck", "vp1", "vp2";
  760. /*
  761. * Set vp2 clk (DPI_1_IN_CLK) mux to PLL4 via
  762. * DIV1. See "Figure 12-3365. DSS Integration"
  763. * in AM65x TRM for details.
  764. */
  765. assigned-clocks = <&k3_clks 67 2>;
  766. assigned-clock-parents = <&k3_clks 67 5>;
  767. interrupts = <GIC_SPI 166 IRQ_TYPE_EDGE_RISING>;
  768. dma-coherent;
  769. dss_ports: ports {
  770. #address-cells = <1>;
  771. #size-cells = <0>;
  772. };
  773. };
  774. ehrpwm0: pwm@3000000 {
  775. compatible = "ti,am654-ehrpwm", "ti,am3352-ehrpwm";
  776. #pwm-cells = <3>;
  777. reg = <0x0 0x3000000 0x0 0x100>;
  778. power-domains = <&k3_pds 40 TI_SCI_PD_EXCLUSIVE>;
  779. clocks = <&ehrpwm_tbclk 0>, <&k3_clks 40 0>;
  780. clock-names = "tbclk", "fck";
  781. };
  782. ehrpwm1: pwm@3010000 {
  783. compatible = "ti,am654-ehrpwm", "ti,am3352-ehrpwm";
  784. #pwm-cells = <3>;
  785. reg = <0x0 0x3010000 0x0 0x100>;
  786. power-domains = <&k3_pds 41 TI_SCI_PD_EXCLUSIVE>;
  787. clocks = <&ehrpwm_tbclk 1>, <&k3_clks 41 0>;
  788. clock-names = "tbclk", "fck";
  789. };
  790. ehrpwm2: pwm@3020000 {
  791. compatible = "ti,am654-ehrpwm", "ti,am3352-ehrpwm";
  792. #pwm-cells = <3>;
  793. reg = <0x0 0x3020000 0x0 0x100>;
  794. power-domains = <&k3_pds 42 TI_SCI_PD_EXCLUSIVE>;
  795. clocks = <&ehrpwm_tbclk 2>, <&k3_clks 42 0>;
  796. clock-names = "tbclk", "fck";
  797. };
  798. ehrpwm3: pwm@3030000 {
  799. compatible = "ti,am654-ehrpwm", "ti,am3352-ehrpwm";
  800. #pwm-cells = <3>;
  801. reg = <0x0 0x3030000 0x0 0x100>;
  802. power-domains = <&k3_pds 43 TI_SCI_PD_EXCLUSIVE>;
  803. clocks = <&ehrpwm_tbclk 3>, <&k3_clks 43 0>;
  804. clock-names = "tbclk", "fck";
  805. };
  806. ehrpwm4: pwm@3040000 {
  807. compatible = "ti,am654-ehrpwm", "ti,am3352-ehrpwm";
  808. #pwm-cells = <3>;
  809. reg = <0x0 0x3040000 0x0 0x100>;
  810. power-domains = <&k3_pds 44 TI_SCI_PD_EXCLUSIVE>;
  811. clocks = <&ehrpwm_tbclk 4>, <&k3_clks 44 0>;
  812. clock-names = "tbclk", "fck";
  813. };
  814. ehrpwm5: pwm@3050000 {
  815. compatible = "ti,am654-ehrpwm", "ti,am3352-ehrpwm";
  816. #pwm-cells = <3>;
  817. reg = <0x0 0x3050000 0x0 0x100>;
  818. power-domains = <&k3_pds 45 TI_SCI_PD_EXCLUSIVE>;
  819. clocks = <&ehrpwm_tbclk 5>, <&k3_clks 45 0>;
  820. clock-names = "tbclk", "fck";
  821. };
  822. icssg0: icssg@b000000 {
  823. compatible = "ti,am654-icssg";
  824. reg = <0x00 0xb000000 0x00 0x80000>;
  825. power-domains = <&k3_pds 62 TI_SCI_PD_EXCLUSIVE>;
  826. #address-cells = <1>;
  827. #size-cells = <1>;
  828. ranges = <0x0 0x00 0xb000000 0x80000>;
  829. icssg0_mem: memories@0 {
  830. reg = <0x0 0x2000>,
  831. <0x2000 0x2000>,
  832. <0x10000 0x10000>;
  833. reg-names = "dram0", "dram1",
  834. "shrdram2";
  835. };
  836. icssg0_cfg: cfg@26000 {
  837. compatible = "ti,pruss-cfg", "syscon";
  838. reg = <0x26000 0x200>;
  839. #address-cells = <1>;
  840. #size-cells = <1>;
  841. ranges = <0x0 0x26000 0x2000>;
  842. clocks {
  843. #address-cells = <1>;
  844. #size-cells = <0>;
  845. icssg0_coreclk_mux: coreclk-mux@3c {
  846. reg = <0x3c>;
  847. #clock-cells = <0>;
  848. clocks = <&k3_clks 62 19>, /* icssg0_core_clk */
  849. <&k3_clks 62 3>; /* icssg0_iclk */
  850. assigned-clocks = <&icssg0_coreclk_mux>;
  851. assigned-clock-parents = <&k3_clks 62 3>;
  852. };
  853. icssg0_iepclk_mux: iepclk-mux@30 {
  854. reg = <0x30>;
  855. #clock-cells = <0>;
  856. clocks = <&k3_clks 62 10>, /* icssg0_iep_clk */
  857. <&icssg0_coreclk_mux>; /* core_clk */
  858. assigned-clocks = <&icssg0_iepclk_mux>;
  859. assigned-clock-parents = <&icssg0_coreclk_mux>;
  860. };
  861. };
  862. };
  863. icssg0_mii_rt: mii-rt@32000 {
  864. compatible = "ti,pruss-mii", "syscon";
  865. reg = <0x32000 0x100>;
  866. };
  867. icssg0_mii_g_rt: mii-g-rt@33000 {
  868. compatible = "ti,pruss-mii-g", "syscon";
  869. reg = <0x33000 0x1000>;
  870. };
  871. icssg0_intc: interrupt-controller@20000 {
  872. compatible = "ti,icssg-intc";
  873. reg = <0x20000 0x2000>;
  874. interrupt-controller;
  875. #interrupt-cells = <3>;
  876. interrupts = <GIC_SPI 254 IRQ_TYPE_LEVEL_HIGH>,
  877. <GIC_SPI 255 IRQ_TYPE_LEVEL_HIGH>,
  878. <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>,
  879. <GIC_SPI 257 IRQ_TYPE_LEVEL_HIGH>,
  880. <GIC_SPI 258 IRQ_TYPE_LEVEL_HIGH>,
  881. <GIC_SPI 259 IRQ_TYPE_LEVEL_HIGH>,
  882. <GIC_SPI 260 IRQ_TYPE_LEVEL_HIGH>,
  883. <GIC_SPI 261 IRQ_TYPE_LEVEL_HIGH>;
  884. interrupt-names = "host_intr0", "host_intr1",
  885. "host_intr2", "host_intr3",
  886. "host_intr4", "host_intr5",
  887. "host_intr6", "host_intr7";
  888. };
  889. pru0_0: pru@34000 {
  890. compatible = "ti,am654-pru";
  891. reg = <0x34000 0x4000>,
  892. <0x22000 0x100>,
  893. <0x22400 0x100>;
  894. reg-names = "iram", "control", "debug";
  895. firmware-name = "am65x-pru0_0-fw";
  896. };
  897. rtu0_0: rtu@4000 {
  898. compatible = "ti,am654-rtu";
  899. reg = <0x4000 0x2000>,
  900. <0x23000 0x100>,
  901. <0x23400 0x100>;
  902. reg-names = "iram", "control", "debug";
  903. firmware-name = "am65x-rtu0_0-fw";
  904. };
  905. tx_pru0_0: txpru@a000 {
  906. compatible = "ti,am654-tx-pru";
  907. reg = <0xa000 0x1800>,
  908. <0x25000 0x100>,
  909. <0x25400 0x100>;
  910. reg-names = "iram", "control", "debug";
  911. firmware-name = "am65x-txpru0_0-fw";
  912. };
  913. pru0_1: pru@38000 {
  914. compatible = "ti,am654-pru";
  915. reg = <0x38000 0x4000>,
  916. <0x24000 0x100>,
  917. <0x24400 0x100>;
  918. reg-names = "iram", "control", "debug";
  919. firmware-name = "am65x-pru0_1-fw";
  920. };
  921. rtu0_1: rtu@6000 {
  922. compatible = "ti,am654-rtu";
  923. reg = <0x6000 0x2000>,
  924. <0x23800 0x100>,
  925. <0x23c00 0x100>;
  926. reg-names = "iram", "control", "debug";
  927. firmware-name = "am65x-rtu0_1-fw";
  928. };
  929. tx_pru0_1: txpru@c000 {
  930. compatible = "ti,am654-tx-pru";
  931. reg = <0xc000 0x1800>,
  932. <0x25800 0x100>,
  933. <0x25c00 0x100>;
  934. reg-names = "iram", "control", "debug";
  935. firmware-name = "am65x-txpru0_1-fw";
  936. };
  937. icssg0_mdio: mdio@32400 {
  938. compatible = "ti,davinci_mdio";
  939. reg = <0x32400 0x100>;
  940. clocks = <&k3_clks 62 3>;
  941. clock-names = "fck";
  942. #address-cells = <1>;
  943. #size-cells = <0>;
  944. bus_freq = <1000000>;
  945. };
  946. };
  947. icssg1: icssg@b100000 {
  948. compatible = "ti,am654-icssg";
  949. reg = <0x00 0xb100000 0x00 0x80000>;
  950. power-domains = <&k3_pds 63 TI_SCI_PD_EXCLUSIVE>;
  951. #address-cells = <1>;
  952. #size-cells = <1>;
  953. ranges = <0x0 0x00 0xb100000 0x80000>;
  954. icssg1_mem: memories@0 {
  955. reg = <0x0 0x2000>,
  956. <0x2000 0x2000>,
  957. <0x10000 0x10000>;
  958. reg-names = "dram0", "dram1",
  959. "shrdram2";
  960. };
  961. icssg1_cfg: cfg@26000 {
  962. compatible = "ti,pruss-cfg", "syscon";
  963. reg = <0x26000 0x200>;
  964. #address-cells = <1>;
  965. #size-cells = <1>;
  966. ranges = <0x0 0x26000 0x2000>;
  967. clocks {
  968. #address-cells = <1>;
  969. #size-cells = <0>;
  970. icssg1_coreclk_mux: coreclk-mux@3c {
  971. reg = <0x3c>;
  972. #clock-cells = <0>;
  973. clocks = <&k3_clks 63 19>, /* icssg1_core_clk */
  974. <&k3_clks 63 3>; /* icssg1_iclk */
  975. assigned-clocks = <&icssg1_coreclk_mux>;
  976. assigned-clock-parents = <&k3_clks 63 3>;
  977. };
  978. icssg1_iepclk_mux: iepclk-mux@30 {
  979. reg = <0x30>;
  980. #clock-cells = <0>;
  981. clocks = <&k3_clks 63 10>, /* icssg1_iep_clk */
  982. <&icssg1_coreclk_mux>; /* core_clk */
  983. assigned-clocks = <&icssg1_iepclk_mux>;
  984. assigned-clock-parents = <&icssg1_coreclk_mux>;
  985. };
  986. };
  987. };
  988. icssg1_mii_rt: mii-rt@32000 {
  989. compatible = "ti,pruss-mii", "syscon";
  990. reg = <0x32000 0x100>;
  991. };
  992. icssg1_mii_g_rt: mii-g-rt@33000 {
  993. compatible = "ti,pruss-mii-g", "syscon";
  994. reg = <0x33000 0x1000>;
  995. };
  996. icssg1_intc: interrupt-controller@20000 {
  997. compatible = "ti,icssg-intc";
  998. reg = <0x20000 0x2000>;
  999. interrupt-controller;
  1000. #interrupt-cells = <3>;
  1001. interrupts = <GIC_SPI 262 IRQ_TYPE_LEVEL_HIGH>,
  1002. <GIC_SPI 263 IRQ_TYPE_LEVEL_HIGH>,
  1003. <GIC_SPI 264 IRQ_TYPE_LEVEL_HIGH>,
  1004. <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>,
  1005. <GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>,
  1006. <GIC_SPI 267 IRQ_TYPE_LEVEL_HIGH>,
  1007. <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>,
  1008. <GIC_SPI 269 IRQ_TYPE_LEVEL_HIGH>;
  1009. interrupt-names = "host_intr0", "host_intr1",
  1010. "host_intr2", "host_intr3",
  1011. "host_intr4", "host_intr5",
  1012. "host_intr6", "host_intr7";
  1013. };
  1014. pru1_0: pru@34000 {
  1015. compatible = "ti,am654-pru";
  1016. reg = <0x34000 0x4000>,
  1017. <0x22000 0x100>,
  1018. <0x22400 0x100>;
  1019. reg-names = "iram", "control", "debug";
  1020. firmware-name = "am65x-pru1_0-fw";
  1021. };
  1022. rtu1_0: rtu@4000 {
  1023. compatible = "ti,am654-rtu";
  1024. reg = <0x4000 0x2000>,
  1025. <0x23000 0x100>,
  1026. <0x23400 0x100>;
  1027. reg-names = "iram", "control", "debug";
  1028. firmware-name = "am65x-rtu1_0-fw";
  1029. };
  1030. tx_pru1_0: txpru@a000 {
  1031. compatible = "ti,am654-tx-pru";
  1032. reg = <0xa000 0x1800>,
  1033. <0x25000 0x100>,
  1034. <0x25400 0x100>;
  1035. reg-names = "iram", "control", "debug";
  1036. firmware-name = "am65x-txpru1_0-fw";
  1037. };
  1038. pru1_1: pru@38000 {
  1039. compatible = "ti,am654-pru";
  1040. reg = <0x38000 0x4000>,
  1041. <0x24000 0x100>,
  1042. <0x24400 0x100>;
  1043. reg-names = "iram", "control", "debug";
  1044. firmware-name = "am65x-pru1_1-fw";
  1045. };
  1046. rtu1_1: rtu@6000 {
  1047. compatible = "ti,am654-rtu";
  1048. reg = <0x6000 0x2000>,
  1049. <0x23800 0x100>,
  1050. <0x23c00 0x100>;
  1051. reg-names = "iram", "control", "debug";
  1052. firmware-name = "am65x-rtu1_1-fw";
  1053. };
  1054. tx_pru1_1: txpru@c000 {
  1055. compatible = "ti,am654-tx-pru";
  1056. reg = <0xc000 0x1800>,
  1057. <0x25800 0x100>,
  1058. <0x25c00 0x100>;
  1059. reg-names = "iram", "control", "debug";
  1060. firmware-name = "am65x-txpru1_1-fw";
  1061. };
  1062. icssg1_mdio: mdio@32400 {
  1063. compatible = "ti,davinci_mdio";
  1064. reg = <0x32400 0x100>;
  1065. clocks = <&k3_clks 63 3>;
  1066. clock-names = "fck";
  1067. #address-cells = <1>;
  1068. #size-cells = <0>;
  1069. bus_freq = <1000000>;
  1070. };
  1071. };
  1072. icssg2: icssg@b200000 {
  1073. compatible = "ti,am654-icssg";
  1074. reg = <0x00 0xb200000 0x00 0x80000>;
  1075. power-domains = <&k3_pds 64 TI_SCI_PD_EXCLUSIVE>;
  1076. #address-cells = <1>;
  1077. #size-cells = <1>;
  1078. ranges = <0x0 0x00 0xb200000 0x80000>;
  1079. icssg2_mem: memories@0 {
  1080. reg = <0x0 0x2000>,
  1081. <0x2000 0x2000>,
  1082. <0x10000 0x10000>;
  1083. reg-names = "dram0", "dram1",
  1084. "shrdram2";
  1085. };
  1086. icssg2_cfg: cfg@26000 {
  1087. compatible = "ti,pruss-cfg", "syscon";
  1088. reg = <0x26000 0x200>;
  1089. #address-cells = <1>;
  1090. #size-cells = <1>;
  1091. ranges = <0x0 0x26000 0x2000>;
  1092. clocks {
  1093. #address-cells = <1>;
  1094. #size-cells = <0>;
  1095. icssg2_coreclk_mux: coreclk-mux@3c {
  1096. reg = <0x3c>;
  1097. #clock-cells = <0>;
  1098. clocks = <&k3_clks 64 19>, /* icssg1_core_clk */
  1099. <&k3_clks 64 3>; /* icssg1_iclk */
  1100. assigned-clocks = <&icssg2_coreclk_mux>;
  1101. assigned-clock-parents = <&k3_clks 64 3>;
  1102. };
  1103. icssg2_iepclk_mux: iepclk-mux@30 {
  1104. reg = <0x30>;
  1105. #clock-cells = <0>;
  1106. clocks = <&k3_clks 64 10>, /* icssg1_iep_clk */
  1107. <&icssg2_coreclk_mux>; /* core_clk */
  1108. assigned-clocks = <&icssg2_iepclk_mux>;
  1109. assigned-clock-parents = <&icssg2_coreclk_mux>;
  1110. };
  1111. };
  1112. };
  1113. icssg2_mii_rt: mii-rt@32000 {
  1114. compatible = "ti,pruss-mii", "syscon";
  1115. reg = <0x32000 0x100>;
  1116. };
  1117. icssg2_mii_g_rt: mii-g-rt@33000 {
  1118. compatible = "ti,pruss-mii-g", "syscon";
  1119. reg = <0x33000 0x1000>;
  1120. };
  1121. icssg2_intc: interrupt-controller@20000 {
  1122. compatible = "ti,icssg-intc";
  1123. reg = <0x20000 0x2000>;
  1124. interrupt-controller;
  1125. #interrupt-cells = <3>;
  1126. interrupts = <GIC_SPI 270 IRQ_TYPE_LEVEL_HIGH>,
  1127. <GIC_SPI 271 IRQ_TYPE_LEVEL_HIGH>,
  1128. <GIC_SPI 272 IRQ_TYPE_LEVEL_HIGH>,
  1129. <GIC_SPI 273 IRQ_TYPE_LEVEL_HIGH>,
  1130. <GIC_SPI 274 IRQ_TYPE_LEVEL_HIGH>,
  1131. <GIC_SPI 275 IRQ_TYPE_LEVEL_HIGH>,
  1132. <GIC_SPI 276 IRQ_TYPE_LEVEL_HIGH>,
  1133. <GIC_SPI 277 IRQ_TYPE_LEVEL_HIGH>;
  1134. interrupt-names = "host_intr0", "host_intr1",
  1135. "host_intr2", "host_intr3",
  1136. "host_intr4", "host_intr5",
  1137. "host_intr6", "host_intr7";
  1138. };
  1139. pru2_0: pru@34000 {
  1140. compatible = "ti,am654-pru";
  1141. reg = <0x34000 0x4000>,
  1142. <0x22000 0x100>,
  1143. <0x22400 0x100>;
  1144. reg-names = "iram", "control", "debug";
  1145. firmware-name = "am65x-pru2_0-fw";
  1146. };
  1147. rtu2_0: rtu@4000 {
  1148. compatible = "ti,am654-rtu";
  1149. reg = <0x4000 0x2000>,
  1150. <0x23000 0x100>,
  1151. <0x23400 0x100>;
  1152. reg-names = "iram", "control", "debug";
  1153. firmware-name = "am65x-rtu2_0-fw";
  1154. };
  1155. tx_pru2_0: txpru@a000 {
  1156. compatible = "ti,am654-tx-pru";
  1157. reg = <0xa000 0x1800>,
  1158. <0x25000 0x100>,
  1159. <0x25400 0x100>;
  1160. reg-names = "iram", "control", "debug";
  1161. firmware-name = "am65x-txpru2_0-fw";
  1162. };
  1163. pru2_1: pru@38000 {
  1164. compatible = "ti,am654-pru";
  1165. reg = <0x38000 0x4000>,
  1166. <0x24000 0x100>,
  1167. <0x24400 0x100>;
  1168. reg-names = "iram", "control", "debug";
  1169. firmware-name = "am65x-pru2_1-fw";
  1170. };
  1171. rtu2_1: rtu@6000 {
  1172. compatible = "ti,am654-rtu";
  1173. reg = <0x6000 0x2000>,
  1174. <0x23800 0x100>,
  1175. <0x23c00 0x100>;
  1176. reg-names = "iram", "control", "debug";
  1177. firmware-name = "am65x-rtu2_1-fw";
  1178. };
  1179. tx_pru2_1: txpru@c000 {
  1180. compatible = "ti,am654-tx-pru";
  1181. reg = <0xc000 0x1800>,
  1182. <0x25800 0x100>,
  1183. <0x25c00 0x100>;
  1184. reg-names = "iram", "control", "debug";
  1185. firmware-name = "am65x-txpru2_1-fw";
  1186. };
  1187. icssg2_mdio: mdio@32400 {
  1188. compatible = "ti,davinci_mdio";
  1189. reg = <0x32400 0x100>;
  1190. clocks = <&k3_clks 64 3>;
  1191. clock-names = "fck";
  1192. #address-cells = <1>;
  1193. #size-cells = <0>;
  1194. bus_freq = <1000000>;
  1195. };
  1196. };
  1197. };