k3-j7200-main.dtsi 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * Device Tree Source for J7200 SoC Family Main Domain peripherals
  4. *
  5. * Copyright (C) 2020-2021 Texas Instruments Incorporated - https://www.ti.com/
  6. */
  7. / {
  8. serdes_refclk: serdes-refclk {
  9. #clock-cells = <0>;
  10. compatible = "fixed-clock";
  11. };
  12. };
  13. &cbass_main {
  14. msmc_ram: sram@70000000 {
  15. compatible = "mmio-sram";
  16. reg = <0x00 0x70000000 0x00 0x100000>;
  17. #address-cells = <1>;
  18. #size-cells = <1>;
  19. ranges = <0x00 0x00 0x70000000 0x100000>;
  20. atf-sram@0 {
  21. reg = <0x00 0x20000>;
  22. };
  23. };
  24. scm_conf: scm-conf@100000 {
  25. compatible = "ti,j721e-system-controller", "syscon", "simple-mfd";
  26. reg = <0x00 0x00100000 0x00 0x1c000>;
  27. #address-cells = <1>;
  28. #size-cells = <1>;
  29. ranges = <0x00 0x00 0x00100000 0x1c000>;
  30. serdes_ln_ctrl: mux-controller@4080 {
  31. compatible = "mmio-mux";
  32. #mux-control-cells = <1>;
  33. mux-reg-masks = <0x4080 0x3>, <0x4084 0x3>, /* SERDES0 lane0/1 select */
  34. <0x4088 0x3>, <0x408c 0x3>; /* SERDES0 lane2/3 select */
  35. };
  36. usb_serdes_mux: mux-controller@4000 {
  37. compatible = "mmio-mux";
  38. #mux-control-cells = <1>;
  39. mux-reg-masks = <0x4000 0x8000000>; /* USB0 to SERDES0 lane 1/3 mux */
  40. };
  41. };
  42. gic500: interrupt-controller@1800000 {
  43. compatible = "arm,gic-v3";
  44. #address-cells = <2>;
  45. #size-cells = <2>;
  46. ranges;
  47. #interrupt-cells = <3>;
  48. interrupt-controller;
  49. reg = <0x00 0x01800000 0x00 0x10000>, /* GICD */
  50. <0x00 0x01900000 0x00 0x100000>, /* GICR */
  51. <0x00 0x6f000000 0x00 0x2000>, /* GICC */
  52. <0x00 0x6f010000 0x00 0x1000>, /* GICH */
  53. <0x00 0x6f020000 0x00 0x2000>; /* GICV */
  54. /* vcpumntirq: virtual CPU interface maintenance interrupt */
  55. interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
  56. gic_its: msi-controller@1820000 {
  57. compatible = "arm,gic-v3-its";
  58. reg = <0x00 0x01820000 0x00 0x10000>;
  59. socionext,synquacer-pre-its = <0x1000000 0x400000>;
  60. msi-controller;
  61. #msi-cells = <1>;
  62. };
  63. };
  64. main_gpio_intr: interrupt-controller@a00000 {
  65. compatible = "ti,sci-intr";
  66. reg = <0x00 0x00a00000 0x00 0x800>;
  67. ti,intr-trigger-type = <1>;
  68. interrupt-controller;
  69. interrupt-parent = <&gic500>;
  70. #interrupt-cells = <1>;
  71. ti,sci = <&dmsc>;
  72. ti,sci-dev-id = <131>;
  73. ti,interrupt-ranges = <8 392 56>;
  74. };
  75. main_navss: bus@30000000 {
  76. compatible = "simple-mfd";
  77. #address-cells = <2>;
  78. #size-cells = <2>;
  79. ranges = <0x00 0x30000000 0x00 0x30000000 0x00 0x0c400000>;
  80. ti,sci-dev-id = <199>;
  81. dma-coherent;
  82. dma-ranges;
  83. main_navss_intr: interrupt-controller@310e0000 {
  84. compatible = "ti,sci-intr";
  85. reg = <0x00 0x310e0000 0x00 0x4000>;
  86. ti,intr-trigger-type = <4>;
  87. interrupt-controller;
  88. interrupt-parent = <&gic500>;
  89. #interrupt-cells = <1>;
  90. ti,sci = <&dmsc>;
  91. ti,sci-dev-id = <213>;
  92. ti,interrupt-ranges = <0 64 64>,
  93. <64 448 64>,
  94. <128 672 64>;
  95. };
  96. main_udmass_inta: msi-controller@33d00000 {
  97. compatible = "ti,sci-inta";
  98. reg = <0x00 0x33d00000 0x00 0x100000>;
  99. interrupt-controller;
  100. #interrupt-cells = <0>;
  101. interrupt-parent = <&main_navss_intr>;
  102. msi-controller;
  103. ti,sci = <&dmsc>;
  104. ti,sci-dev-id = <209>;
  105. ti,interrupt-ranges = <0 0 256>;
  106. };
  107. secure_proxy_main: mailbox@32c00000 {
  108. compatible = "ti,am654-secure-proxy";
  109. #mbox-cells = <1>;
  110. reg-names = "target_data", "rt", "scfg";
  111. reg = <0x00 0x32c00000 0x00 0x100000>,
  112. <0x00 0x32400000 0x00 0x100000>,
  113. <0x00 0x32800000 0x00 0x100000>;
  114. interrupt-names = "rx_011";
  115. interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
  116. };
  117. hwspinlock: spinlock@30e00000 {
  118. compatible = "ti,am654-hwspinlock";
  119. reg = <0x00 0x30e00000 0x00 0x1000>;
  120. #hwlock-cells = <1>;
  121. };
  122. mailbox0_cluster0: mailbox@31f80000 {
  123. compatible = "ti,am654-mailbox";
  124. reg = <0x00 0x31f80000 0x00 0x200>;
  125. #mbox-cells = <1>;
  126. ti,mbox-num-users = <4>;
  127. ti,mbox-num-fifos = <16>;
  128. interrupt-parent = <&main_navss_intr>;
  129. };
  130. mailbox0_cluster1: mailbox@31f81000 {
  131. compatible = "ti,am654-mailbox";
  132. reg = <0x00 0x31f81000 0x00 0x200>;
  133. #mbox-cells = <1>;
  134. ti,mbox-num-users = <4>;
  135. ti,mbox-num-fifos = <16>;
  136. interrupt-parent = <&main_navss_intr>;
  137. };
  138. mailbox0_cluster2: mailbox@31f82000 {
  139. compatible = "ti,am654-mailbox";
  140. reg = <0x00 0x31f82000 0x00 0x200>;
  141. #mbox-cells = <1>;
  142. ti,mbox-num-users = <4>;
  143. ti,mbox-num-fifos = <16>;
  144. interrupt-parent = <&main_navss_intr>;
  145. };
  146. mailbox0_cluster3: mailbox@31f83000 {
  147. compatible = "ti,am654-mailbox";
  148. reg = <0x00 0x31f83000 0x00 0x200>;
  149. #mbox-cells = <1>;
  150. ti,mbox-num-users = <4>;
  151. ti,mbox-num-fifos = <16>;
  152. interrupt-parent = <&main_navss_intr>;
  153. };
  154. mailbox0_cluster4: mailbox@31f84000 {
  155. compatible = "ti,am654-mailbox";
  156. reg = <0x00 0x31f84000 0x00 0x200>;
  157. #mbox-cells = <1>;
  158. ti,mbox-num-users = <4>;
  159. ti,mbox-num-fifos = <16>;
  160. interrupt-parent = <&main_navss_intr>;
  161. };
  162. mailbox0_cluster5: mailbox@31f85000 {
  163. compatible = "ti,am654-mailbox";
  164. reg = <0x00 0x31f85000 0x00 0x200>;
  165. #mbox-cells = <1>;
  166. ti,mbox-num-users = <4>;
  167. ti,mbox-num-fifos = <16>;
  168. interrupt-parent = <&main_navss_intr>;
  169. };
  170. mailbox0_cluster6: mailbox@31f86000 {
  171. compatible = "ti,am654-mailbox";
  172. reg = <0x00 0x31f86000 0x00 0x200>;
  173. #mbox-cells = <1>;
  174. ti,mbox-num-users = <4>;
  175. ti,mbox-num-fifos = <16>;
  176. interrupt-parent = <&main_navss_intr>;
  177. };
  178. mailbox0_cluster7: mailbox@31f87000 {
  179. compatible = "ti,am654-mailbox";
  180. reg = <0x00 0x31f87000 0x00 0x200>;
  181. #mbox-cells = <1>;
  182. ti,mbox-num-users = <4>;
  183. ti,mbox-num-fifos = <16>;
  184. interrupt-parent = <&main_navss_intr>;
  185. };
  186. mailbox0_cluster8: mailbox@31f88000 {
  187. compatible = "ti,am654-mailbox";
  188. reg = <0x00 0x31f88000 0x00 0x200>;
  189. #mbox-cells = <1>;
  190. ti,mbox-num-users = <4>;
  191. ti,mbox-num-fifos = <16>;
  192. interrupt-parent = <&main_navss_intr>;
  193. };
  194. mailbox0_cluster9: mailbox@31f89000 {
  195. compatible = "ti,am654-mailbox";
  196. reg = <0x00 0x31f89000 0x00 0x200>;
  197. #mbox-cells = <1>;
  198. ti,mbox-num-users = <4>;
  199. ti,mbox-num-fifos = <16>;
  200. interrupt-parent = <&main_navss_intr>;
  201. };
  202. mailbox0_cluster10: mailbox@31f8a000 {
  203. compatible = "ti,am654-mailbox";
  204. reg = <0x00 0x31f8a000 0x00 0x200>;
  205. #mbox-cells = <1>;
  206. ti,mbox-num-users = <4>;
  207. ti,mbox-num-fifos = <16>;
  208. interrupt-parent = <&main_navss_intr>;
  209. };
  210. mailbox0_cluster11: mailbox@31f8b000 {
  211. compatible = "ti,am654-mailbox";
  212. reg = <0x00 0x31f8b000 0x00 0x200>;
  213. #mbox-cells = <1>;
  214. ti,mbox-num-users = <4>;
  215. ti,mbox-num-fifos = <16>;
  216. interrupt-parent = <&main_navss_intr>;
  217. };
  218. main_ringacc: ringacc@3c000000 {
  219. compatible = "ti,am654-navss-ringacc";
  220. reg = <0x00 0x3c000000 0x00 0x400000>,
  221. <0x00 0x38000000 0x00 0x400000>,
  222. <0x00 0x31120000 0x00 0x100>,
  223. <0x00 0x33000000 0x00 0x40000>;
  224. reg-names = "rt", "fifos", "proxy_gcfg", "proxy_target";
  225. ti,num-rings = <1024>;
  226. ti,sci-rm-range-gp-rings = <0x1>; /* GP ring range */
  227. ti,sci = <&dmsc>;
  228. ti,sci-dev-id = <211>;
  229. msi-parent = <&main_udmass_inta>;
  230. };
  231. main_udmap: dma-controller@31150000 {
  232. compatible = "ti,j721e-navss-main-udmap";
  233. reg = <0x00 0x31150000 0x00 0x100>,
  234. <0x00 0x34000000 0x00 0x100000>,
  235. <0x00 0x35000000 0x00 0x100000>;
  236. reg-names = "gcfg", "rchanrt", "tchanrt";
  237. msi-parent = <&main_udmass_inta>;
  238. #dma-cells = <1>;
  239. ti,sci = <&dmsc>;
  240. ti,sci-dev-id = <212>;
  241. ti,ringacc = <&main_ringacc>;
  242. ti,sci-rm-range-tchan = <0x0d>, /* TX_CHAN */
  243. <0x0f>, /* TX_HCHAN */
  244. <0x10>; /* TX_UHCHAN */
  245. ti,sci-rm-range-rchan = <0x0a>, /* RX_CHAN */
  246. <0x0b>, /* RX_HCHAN */
  247. <0x0c>; /* RX_UHCHAN */
  248. ti,sci-rm-range-rflow = <0x00>; /* GP RFLOW */
  249. };
  250. cpts@310d0000 {
  251. compatible = "ti,j721e-cpts";
  252. reg = <0x00 0x310d0000 0x00 0x400>;
  253. reg-names = "cpts";
  254. clocks = <&k3_clks 201 1>;
  255. clock-names = "cpts";
  256. interrupts-extended = <&main_navss_intr 391>;
  257. interrupt-names = "cpts";
  258. ti,cpts-periodic-outputs = <6>;
  259. ti,cpts-ext-ts-inputs = <8>;
  260. };
  261. };
  262. main_pmx0: pinctrl@11c000 {
  263. compatible = "pinctrl-single";
  264. /* Proxy 0 addressing */
  265. reg = <0x00 0x11c000 0x00 0x10c>;
  266. #pinctrl-cells = <1>;
  267. pinctrl-single,register-width = <32>;
  268. pinctrl-single,function-mask = <0xffffffff>;
  269. };
  270. main_pmx1: pinctrl@11c11c {
  271. compatible = "pinctrl-single";
  272. /* Proxy 0 addressing */
  273. reg = <0x00 0x11c11c 0x00 0xc>;
  274. #pinctrl-cells = <1>;
  275. pinctrl-single,register-width = <32>;
  276. pinctrl-single,function-mask = <0xffffffff>;
  277. };
  278. main_uart0: serial@2800000 {
  279. compatible = "ti,j721e-uart", "ti,am654-uart";
  280. reg = <0x00 0x02800000 0x00 0x100>;
  281. interrupts = <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>;
  282. clock-frequency = <48000000>;
  283. current-speed = <115200>;
  284. power-domains = <&k3_pds 146 TI_SCI_PD_EXCLUSIVE>;
  285. clocks = <&k3_clks 146 2>;
  286. clock-names = "fclk";
  287. };
  288. main_uart1: serial@2810000 {
  289. compatible = "ti,j721e-uart", "ti,am654-uart";
  290. reg = <0x00 0x02810000 0x00 0x100>;
  291. interrupts = <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>;
  292. clock-frequency = <48000000>;
  293. current-speed = <115200>;
  294. power-domains = <&k3_pds 278 TI_SCI_PD_EXCLUSIVE>;
  295. clocks = <&k3_clks 278 2>;
  296. clock-names = "fclk";
  297. };
  298. main_uart2: serial@2820000 {
  299. compatible = "ti,j721e-uart", "ti,am654-uart";
  300. reg = <0x00 0x02820000 0x00 0x100>;
  301. interrupts = <GIC_SPI 194 IRQ_TYPE_LEVEL_HIGH>;
  302. clock-frequency = <48000000>;
  303. current-speed = <115200>;
  304. power-domains = <&k3_pds 279 TI_SCI_PD_EXCLUSIVE>;
  305. clocks = <&k3_clks 279 2>;
  306. clock-names = "fclk";
  307. };
  308. main_uart3: serial@2830000 {
  309. compatible = "ti,j721e-uart", "ti,am654-uart";
  310. reg = <0x00 0x02830000 0x00 0x100>;
  311. interrupts = <GIC_SPI 195 IRQ_TYPE_LEVEL_HIGH>;
  312. clock-frequency = <48000000>;
  313. current-speed = <115200>;
  314. power-domains = <&k3_pds 280 TI_SCI_PD_EXCLUSIVE>;
  315. clocks = <&k3_clks 280 2>;
  316. clock-names = "fclk";
  317. };
  318. main_uart4: serial@2840000 {
  319. compatible = "ti,j721e-uart", "ti,am654-uart";
  320. reg = <0x00 0x02840000 0x00 0x100>;
  321. interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>;
  322. clock-frequency = <48000000>;
  323. current-speed = <115200>;
  324. power-domains = <&k3_pds 281 TI_SCI_PD_EXCLUSIVE>;
  325. clocks = <&k3_clks 281 2>;
  326. clock-names = "fclk";
  327. };
  328. main_uart5: serial@2850000 {
  329. compatible = "ti,j721e-uart", "ti,am654-uart";
  330. reg = <0x00 0x02850000 0x00 0x100>;
  331. interrupts = <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
  332. clock-frequency = <48000000>;
  333. current-speed = <115200>;
  334. power-domains = <&k3_pds 282 TI_SCI_PD_EXCLUSIVE>;
  335. clocks = <&k3_clks 282 2>;
  336. clock-names = "fclk";
  337. };
  338. main_uart6: serial@2860000 {
  339. compatible = "ti,j721e-uart", "ti,am654-uart";
  340. reg = <0x00 0x02860000 0x00 0x100>;
  341. interrupts = <GIC_SPI 198 IRQ_TYPE_LEVEL_HIGH>;
  342. clock-frequency = <48000000>;
  343. current-speed = <115200>;
  344. power-domains = <&k3_pds 283 TI_SCI_PD_EXCLUSIVE>;
  345. clocks = <&k3_clks 283 2>;
  346. clock-names = "fclk";
  347. };
  348. main_uart7: serial@2870000 {
  349. compatible = "ti,j721e-uart", "ti,am654-uart";
  350. reg = <0x00 0x02870000 0x00 0x100>;
  351. interrupts = <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH>;
  352. clock-frequency = <48000000>;
  353. current-speed = <115200>;
  354. power-domains = <&k3_pds 284 TI_SCI_PD_EXCLUSIVE>;
  355. clocks = <&k3_clks 284 2>;
  356. clock-names = "fclk";
  357. };
  358. main_uart8: serial@2880000 {
  359. compatible = "ti,j721e-uart", "ti,am654-uart";
  360. reg = <0x00 0x02880000 0x00 0x100>;
  361. interrupts = <GIC_SPI 248 IRQ_TYPE_LEVEL_HIGH>;
  362. clock-frequency = <48000000>;
  363. current-speed = <115200>;
  364. power-domains = <&k3_pds 285 TI_SCI_PD_EXCLUSIVE>;
  365. clocks = <&k3_clks 285 2>;
  366. clock-names = "fclk";
  367. };
  368. main_uart9: serial@2890000 {
  369. compatible = "ti,j721e-uart", "ti,am654-uart";
  370. reg = <0x00 0x02890000 0x00 0x100>;
  371. interrupts = <GIC_SPI 249 IRQ_TYPE_LEVEL_HIGH>;
  372. clock-frequency = <48000000>;
  373. current-speed = <115200>;
  374. power-domains = <&k3_pds 286 TI_SCI_PD_EXCLUSIVE>;
  375. clocks = <&k3_clks 286 2>;
  376. clock-names = "fclk";
  377. };
  378. main_i2c0: i2c@2000000 {
  379. compatible = "ti,j721e-i2c", "ti,omap4-i2c";
  380. reg = <0x00 0x2000000 0x00 0x100>;
  381. interrupts = <GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH>;
  382. #address-cells = <1>;
  383. #size-cells = <0>;
  384. clock-names = "fck";
  385. clocks = <&k3_clks 187 1>;
  386. power-domains = <&k3_pds 187 TI_SCI_PD_SHARED>;
  387. };
  388. main_i2c1: i2c@2010000 {
  389. compatible = "ti,j721e-i2c", "ti,omap4-i2c";
  390. reg = <0x00 0x2010000 0x00 0x100>;
  391. interrupts = <GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH>;
  392. #address-cells = <1>;
  393. #size-cells = <0>;
  394. clock-names = "fck";
  395. clocks = <&k3_clks 188 1>;
  396. power-domains = <&k3_pds 188 TI_SCI_PD_EXCLUSIVE>;
  397. };
  398. main_i2c2: i2c@2020000 {
  399. compatible = "ti,j721e-i2c", "ti,omap4-i2c";
  400. reg = <0x00 0x2020000 0x00 0x100>;
  401. interrupts = <GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH>;
  402. #address-cells = <1>;
  403. #size-cells = <0>;
  404. clock-names = "fck";
  405. clocks = <&k3_clks 189 1>;
  406. power-domains = <&k3_pds 189 TI_SCI_PD_EXCLUSIVE>;
  407. };
  408. main_i2c3: i2c@2030000 {
  409. compatible = "ti,j721e-i2c", "ti,omap4-i2c";
  410. reg = <0x00 0x2030000 0x00 0x100>;
  411. interrupts = <GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH>;
  412. #address-cells = <1>;
  413. #size-cells = <0>;
  414. clock-names = "fck";
  415. clocks = <&k3_clks 190 1>;
  416. power-domains = <&k3_pds 190 TI_SCI_PD_EXCLUSIVE>;
  417. };
  418. main_i2c4: i2c@2040000 {
  419. compatible = "ti,j721e-i2c", "ti,omap4-i2c";
  420. reg = <0x00 0x2040000 0x00 0x100>;
  421. interrupts = <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>;
  422. #address-cells = <1>;
  423. #size-cells = <0>;
  424. clock-names = "fck";
  425. clocks = <&k3_clks 191 1>;
  426. power-domains = <&k3_pds 191 TI_SCI_PD_EXCLUSIVE>;
  427. };
  428. main_i2c5: i2c@2050000 {
  429. compatible = "ti,j721e-i2c", "ti,omap4-i2c";
  430. reg = <0x00 0x2050000 0x00 0x100>;
  431. interrupts = <GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH>;
  432. #address-cells = <1>;
  433. #size-cells = <0>;
  434. clock-names = "fck";
  435. clocks = <&k3_clks 192 1>;
  436. power-domains = <&k3_pds 192 TI_SCI_PD_EXCLUSIVE>;
  437. };
  438. main_i2c6: i2c@2060000 {
  439. compatible = "ti,j721e-i2c", "ti,omap4-i2c";
  440. reg = <0x00 0x2060000 0x00 0x100>;
  441. interrupts = <GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH>;
  442. #address-cells = <1>;
  443. #size-cells = <0>;
  444. clock-names = "fck";
  445. clocks = <&k3_clks 193 1>;
  446. power-domains = <&k3_pds 193 TI_SCI_PD_EXCLUSIVE>;
  447. };
  448. main_sdhci0: mmc@4f80000 {
  449. compatible = "ti,j7200-sdhci-8bit", "ti,j721e-sdhci-8bit";
  450. reg = <0x00 0x04f80000 0x00 0x260>, <0x00 0x4f88000 0x00 0x134>;
  451. interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
  452. power-domains = <&k3_pds 91 TI_SCI_PD_EXCLUSIVE>;
  453. clock-names = "clk_ahb", "clk_xin";
  454. clocks = <&k3_clks 91 0>, <&k3_clks 91 3>;
  455. ti,otap-del-sel-legacy = <0x0>;
  456. ti,otap-del-sel-mmc-hs = <0x0>;
  457. ti,otap-del-sel-ddr52 = <0x6>;
  458. ti,otap-del-sel-hs200 = <0x8>;
  459. ti,otap-del-sel-hs400 = <0x5>;
  460. ti,itap-del-sel-legacy = <0x10>;
  461. ti,itap-del-sel-mmc-hs = <0xa>;
  462. ti,strobe-sel = <0x77>;
  463. ti,clkbuf-sel = <0x7>;
  464. ti,trm-icp = <0x8>;
  465. bus-width = <8>;
  466. mmc-ddr-1_8v;
  467. mmc-hs200-1_8v;
  468. mmc-hs400-1_8v;
  469. dma-coherent;
  470. };
  471. main_sdhci1: mmc@4fb0000 {
  472. compatible = "ti,j7200-sdhci-4bit", "ti,j721e-sdhci-4bit";
  473. reg = <0x00 0x04fb0000 0x00 0x260>, <0x00 0x4fb8000 0x00 0x134>;
  474. interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
  475. power-domains = <&k3_pds 92 TI_SCI_PD_EXCLUSIVE>;
  476. clock-names = "clk_ahb", "clk_xin";
  477. clocks = <&k3_clks 92 1>, <&k3_clks 92 2>;
  478. ti,otap-del-sel-legacy = <0x0>;
  479. ti,otap-del-sel-sd-hs = <0x0>;
  480. ti,otap-del-sel-sdr12 = <0xf>;
  481. ti,otap-del-sel-sdr25 = <0xf>;
  482. ti,otap-del-sel-sdr50 = <0xc>;
  483. ti,otap-del-sel-sdr104 = <0x5>;
  484. ti,otap-del-sel-ddr50 = <0xc>;
  485. ti,itap-del-sel-legacy = <0x0>;
  486. ti,itap-del-sel-sd-hs = <0x0>;
  487. ti,itap-del-sel-sdr12 = <0x0>;
  488. ti,itap-del-sel-sdr25 = <0x0>;
  489. ti,clkbuf-sel = <0x7>;
  490. ti,trm-icp = <0x8>;
  491. dma-coherent;
  492. };
  493. serdes_wiz0: wiz@5060000 {
  494. compatible = "ti,j721e-wiz-10g";
  495. #address-cells = <1>;
  496. #size-cells = <1>;
  497. power-domains = <&k3_pds 292 TI_SCI_PD_EXCLUSIVE>;
  498. clocks = <&k3_clks 292 11>, <&k3_clks 292 85>, <&serdes_refclk>;
  499. clock-names = "fck", "core_ref_clk", "ext_ref_clk";
  500. num-lanes = <4>;
  501. #reset-cells = <1>;
  502. ranges = <0x5060000 0x0 0x5060000 0x10000>;
  503. assigned-clocks = <&k3_clks 292 85>;
  504. assigned-clock-parents = <&k3_clks 292 89>;
  505. wiz0_pll0_refclk: pll0-refclk {
  506. clocks = <&k3_clks 292 85>, <&serdes_refclk>;
  507. clock-output-names = "wiz0_pll0_refclk";
  508. #clock-cells = <0>;
  509. assigned-clocks = <&wiz0_pll0_refclk>;
  510. assigned-clock-parents = <&k3_clks 292 85>;
  511. };
  512. wiz0_pll1_refclk: pll1-refclk {
  513. clocks = <&k3_clks 292 85>, <&serdes_refclk>;
  514. clock-output-names = "wiz0_pll1_refclk";
  515. #clock-cells = <0>;
  516. assigned-clocks = <&wiz0_pll1_refclk>;
  517. assigned-clock-parents = <&k3_clks 292 85>;
  518. };
  519. wiz0_refclk_dig: refclk-dig {
  520. clocks = <&k3_clks 292 85>, <&serdes_refclk>;
  521. clock-output-names = "wiz0_refclk_dig";
  522. #clock-cells = <0>;
  523. assigned-clocks = <&wiz0_refclk_dig>;
  524. assigned-clock-parents = <&k3_clks 292 85>;
  525. };
  526. wiz0_cmn_refclk_dig_div: cmn-refclk-dig-div {
  527. clocks = <&wiz0_refclk_dig>;
  528. #clock-cells = <0>;
  529. };
  530. serdes0: serdes@5060000 {
  531. compatible = "ti,j721e-serdes-10g";
  532. reg = <0x05060000 0x00010000>;
  533. reg-names = "torrent_phy";
  534. resets = <&serdes_wiz0 0>;
  535. reset-names = "torrent_reset";
  536. clocks = <&wiz0_pll0_refclk>;
  537. clock-names = "refclk";
  538. #address-cells = <1>;
  539. #size-cells = <0>;
  540. };
  541. };
  542. pcie1_rc: pcie@2910000 {
  543. compatible = "ti,j7200-pcie-host", "ti,j721e-pcie-host";
  544. reg = <0x00 0x02910000 0x00 0x1000>,
  545. <0x00 0x02917000 0x00 0x400>,
  546. <0x00 0x0d800000 0x00 0x00800000>,
  547. <0x00 0x18000000 0x00 0x00001000>;
  548. reg-names = "intd_cfg", "user_cfg", "reg", "cfg";
  549. interrupt-names = "link_state";
  550. interrupts = <GIC_SPI 330 IRQ_TYPE_EDGE_RISING>;
  551. device_type = "pci";
  552. ti,syscon-pcie-ctrl = <&scm_conf 0x4074>;
  553. max-link-speed = <3>;
  554. num-lanes = <4>;
  555. power-domains = <&k3_pds 240 TI_SCI_PD_EXCLUSIVE>;
  556. clocks = <&k3_clks 240 6>;
  557. clock-names = "fck";
  558. #address-cells = <3>;
  559. #size-cells = <2>;
  560. bus-range = <0x0 0xff>;
  561. cdns,no-bar-match-nbits = <64>;
  562. vendor-id = <0x104c>;
  563. device-id = <0xb00f>;
  564. msi-map = <0x0 &gic_its 0x0 0x10000>;
  565. dma-coherent;
  566. ranges = <0x01000000 0x0 0x18001000 0x00 0x18001000 0x0 0x0010000>,
  567. <0x02000000 0x0 0x18011000 0x00 0x18011000 0x0 0x7fef000>;
  568. dma-ranges = <0x02000000 0x0 0x0 0x0 0x0 0x10000 0x0>;
  569. };
  570. pcie1_ep: pcie-ep@2910000 {
  571. compatible = "ti,j7200-pcie-ep", "ti,j721e-pcie-ep";
  572. reg = <0x00 0x02910000 0x00 0x1000>,
  573. <0x00 0x02917000 0x00 0x400>,
  574. <0x00 0x0d800000 0x00 0x00800000>,
  575. <0x00 0x18000000 0x00 0x08000000>;
  576. reg-names = "intd_cfg", "user_cfg", "reg", "mem";
  577. interrupt-names = "link_state";
  578. interrupts = <GIC_SPI 330 IRQ_TYPE_EDGE_RISING>;
  579. ti,syscon-pcie-ctrl = <&scm_conf 0x4074>;
  580. max-link-speed = <3>;
  581. num-lanes = <4>;
  582. power-domains = <&k3_pds 240 TI_SCI_PD_EXCLUSIVE>;
  583. clocks = <&k3_clks 240 6>;
  584. clock-names = "fck";
  585. max-functions = /bits/ 8 <6>;
  586. max-virtual-functions = /bits/ 8 <4 4 4 4 0 0>;
  587. dma-coherent;
  588. };
  589. usbss0: cdns-usb@4104000 {
  590. compatible = "ti,j721e-usb";
  591. reg = <0x00 0x4104000 0x00 0x100>;
  592. dma-coherent;
  593. power-domains = <&k3_pds 288 TI_SCI_PD_EXCLUSIVE>;
  594. clocks = <&k3_clks 288 12>, <&k3_clks 288 3>;
  595. clock-names = "ref", "lpm";
  596. assigned-clocks = <&k3_clks 288 12>; /* USB2_REFCLK */
  597. assigned-clock-parents = <&k3_clks 288 13>; /* HFOSC0 */
  598. #address-cells = <2>;
  599. #size-cells = <2>;
  600. ranges;
  601. usb0: usb@6000000 {
  602. compatible = "cdns,usb3";
  603. reg = <0x00 0x6000000 0x00 0x10000>,
  604. <0x00 0x6010000 0x00 0x10000>,
  605. <0x00 0x6020000 0x00 0x10000>;
  606. reg-names = "otg", "xhci", "dev";
  607. interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>, /* irq.0 */
  608. <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>, /* irq.6 */
  609. <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>; /* otgirq.0 */
  610. interrupt-names = "host",
  611. "peripheral",
  612. "otg";
  613. maximum-speed = "super-speed";
  614. dr_mode = "otg";
  615. cdns,phyrst-a-enable;
  616. };
  617. };
  618. main_gpio0: gpio@600000 {
  619. compatible = "ti,j721e-gpio", "ti,keystone-gpio";
  620. reg = <0x00 0x00600000 0x00 0x100>;
  621. gpio-controller;
  622. #gpio-cells = <2>;
  623. interrupt-parent = <&main_gpio_intr>;
  624. interrupts = <145>, <146>, <147>, <148>,
  625. <149>;
  626. interrupt-controller;
  627. #interrupt-cells = <2>;
  628. ti,ngpio = <69>;
  629. ti,davinci-gpio-unbanked = <0>;
  630. power-domains = <&k3_pds 105 TI_SCI_PD_EXCLUSIVE>;
  631. clocks = <&k3_clks 105 0>;
  632. clock-names = "gpio";
  633. };
  634. main_gpio2: gpio@610000 {
  635. compatible = "ti,j721e-gpio", "ti,keystone-gpio";
  636. reg = <0x00 0x00610000 0x00 0x100>;
  637. gpio-controller;
  638. #gpio-cells = <2>;
  639. interrupt-parent = <&main_gpio_intr>;
  640. interrupts = <154>, <155>, <156>, <157>,
  641. <158>;
  642. interrupt-controller;
  643. #interrupt-cells = <2>;
  644. ti,ngpio = <69>;
  645. ti,davinci-gpio-unbanked = <0>;
  646. power-domains = <&k3_pds 107 TI_SCI_PD_EXCLUSIVE>;
  647. clocks = <&k3_clks 107 0>;
  648. clock-names = "gpio";
  649. };
  650. main_gpio4: gpio@620000 {
  651. compatible = "ti,j721e-gpio", "ti,keystone-gpio";
  652. reg = <0x00 0x00620000 0x00 0x100>;
  653. gpio-controller;
  654. #gpio-cells = <2>;
  655. interrupt-parent = <&main_gpio_intr>;
  656. interrupts = <163>, <164>, <165>, <166>,
  657. <167>;
  658. interrupt-controller;
  659. #interrupt-cells = <2>;
  660. ti,ngpio = <69>;
  661. ti,davinci-gpio-unbanked = <0>;
  662. power-domains = <&k3_pds 109 TI_SCI_PD_EXCLUSIVE>;
  663. clocks = <&k3_clks 109 0>;
  664. clock-names = "gpio";
  665. };
  666. main_gpio6: gpio@630000 {
  667. compatible = "ti,j721e-gpio", "ti,keystone-gpio";
  668. reg = <0x00 0x00630000 0x00 0x100>;
  669. gpio-controller;
  670. #gpio-cells = <2>;
  671. interrupt-parent = <&main_gpio_intr>;
  672. interrupts = <172>, <173>, <174>, <175>,
  673. <176>;
  674. interrupt-controller;
  675. #interrupt-cells = <2>;
  676. ti,ngpio = <69>;
  677. ti,davinci-gpio-unbanked = <0>;
  678. power-domains = <&k3_pds 111 TI_SCI_PD_EXCLUSIVE>;
  679. clocks = <&k3_clks 111 0>;
  680. clock-names = "gpio";
  681. };
  682. watchdog0: watchdog@2200000 {
  683. compatible = "ti,j7-rti-wdt";
  684. reg = <0x0 0x2200000 0x0 0x100>;
  685. clocks = <&k3_clks 252 1>;
  686. power-domains = <&k3_pds 252 TI_SCI_PD_EXCLUSIVE>;
  687. assigned-clocks = <&k3_clks 252 1>;
  688. assigned-clock-parents = <&k3_clks 252 5>;
  689. };
  690. watchdog1: watchdog@2210000 {
  691. compatible = "ti,j7-rti-wdt";
  692. reg = <0x0 0x2210000 0x0 0x100>;
  693. clocks = <&k3_clks 253 1>;
  694. power-domains = <&k3_pds 253 TI_SCI_PD_EXCLUSIVE>;
  695. assigned-clocks = <&k3_clks 253 1>;
  696. assigned-clock-parents = <&k3_clks 253 5>;
  697. };
  698. main_r5fss0: r5fss@5c00000 {
  699. compatible = "ti,j7200-r5fss";
  700. ti,cluster-mode = <1>;
  701. #address-cells = <1>;
  702. #size-cells = <1>;
  703. ranges = <0x5c00000 0x00 0x5c00000 0x20000>,
  704. <0x5d00000 0x00 0x5d00000 0x20000>;
  705. power-domains = <&k3_pds 243 TI_SCI_PD_EXCLUSIVE>;
  706. main_r5fss0_core0: r5f@5c00000 {
  707. compatible = "ti,j7200-r5f";
  708. reg = <0x5c00000 0x00010000>,
  709. <0x5c10000 0x00010000>;
  710. reg-names = "atcm", "btcm";
  711. ti,sci = <&dmsc>;
  712. ti,sci-dev-id = <245>;
  713. ti,sci-proc-ids = <0x06 0xff>;
  714. resets = <&k3_reset 245 1>;
  715. firmware-name = "j7200-main-r5f0_0-fw";
  716. ti,atcm-enable = <1>;
  717. ti,btcm-enable = <1>;
  718. ti,loczrama = <1>;
  719. };
  720. main_r5fss0_core1: r5f@5d00000 {
  721. compatible = "ti,j7200-r5f";
  722. reg = <0x5d00000 0x00008000>,
  723. <0x5d10000 0x00008000>;
  724. reg-names = "atcm", "btcm";
  725. ti,sci = <&dmsc>;
  726. ti,sci-dev-id = <246>;
  727. ti,sci-proc-ids = <0x07 0xff>;
  728. resets = <&k3_reset 246 1>;
  729. firmware-name = "j7200-main-r5f0_1-fw";
  730. ti,atcm-enable = <1>;
  731. ti,btcm-enable = <1>;
  732. ti,loczrama = <1>;
  733. };
  734. };
  735. };