k3-j721e-mcu-wakeup.dtsi 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * Device Tree Source for J721E SoC Family MCU/WAKEUP Domain peripherals
  4. *
  5. * Copyright (C) 2016-2020 Texas Instruments Incorporated - https://www.ti.com/
  6. */
  7. &cbass_mcu_wakeup {
  8. dmsc: system-controller@44083000 {
  9. compatible = "ti,k2g-sci";
  10. ti,host-id = <12>;
  11. mbox-names = "rx", "tx";
  12. mboxes = <&secure_proxy_main 11>,
  13. <&secure_proxy_main 13>;
  14. reg-names = "debug_messages";
  15. reg = <0x00 0x44083000 0x0 0x1000>;
  16. k3_pds: power-controller {
  17. compatible = "ti,sci-pm-domain";
  18. #power-domain-cells = <2>;
  19. };
  20. k3_clks: clock-controller {
  21. compatible = "ti,k2g-sci-clk";
  22. #clock-cells = <2>;
  23. };
  24. k3_reset: reset-controller {
  25. compatible = "ti,sci-reset";
  26. #reset-cells = <2>;
  27. };
  28. };
  29. mcu_conf: syscon@40f00000 {
  30. compatible = "syscon", "simple-mfd";
  31. reg = <0x0 0x40f00000 0x0 0x20000>;
  32. #address-cells = <1>;
  33. #size-cells = <1>;
  34. ranges = <0x0 0x0 0x40f00000 0x20000>;
  35. phy_gmii_sel: phy@4040 {
  36. compatible = "ti,am654-phy-gmii-sel";
  37. reg = <0x4040 0x4>;
  38. #phy-cells = <1>;
  39. };
  40. };
  41. chipid@43000014 {
  42. compatible = "ti,am654-chipid";
  43. reg = <0x0 0x43000014 0x0 0x4>;
  44. };
  45. wkup_pmx0: pinctrl@4301c000 {
  46. compatible = "pinctrl-single";
  47. /* Proxy 0 addressing */
  48. reg = <0x00 0x4301c000 0x00 0x178>;
  49. #pinctrl-cells = <1>;
  50. pinctrl-single,register-width = <32>;
  51. pinctrl-single,function-mask = <0xffffffff>;
  52. };
  53. mcu_ram: sram@41c00000 {
  54. compatible = "mmio-sram";
  55. reg = <0x00 0x41c00000 0x00 0x100000>;
  56. ranges = <0x0 0x00 0x41c00000 0x100000>;
  57. #address-cells = <1>;
  58. #size-cells = <1>;
  59. };
  60. wkup_uart0: serial@42300000 {
  61. compatible = "ti,j721e-uart", "ti,am654-uart";
  62. reg = <0x00 0x42300000 0x00 0x100>;
  63. interrupts = <GIC_SPI 897 IRQ_TYPE_LEVEL_HIGH>;
  64. clock-frequency = <48000000>;
  65. current-speed = <115200>;
  66. power-domains = <&k3_pds 287 TI_SCI_PD_EXCLUSIVE>;
  67. clocks = <&k3_clks 287 0>;
  68. clock-names = "fclk";
  69. };
  70. mcu_uart0: serial@40a00000 {
  71. compatible = "ti,j721e-uart", "ti,am654-uart";
  72. reg = <0x00 0x40a00000 0x00 0x100>;
  73. interrupts = <GIC_SPI 846 IRQ_TYPE_LEVEL_HIGH>;
  74. clock-frequency = <96000000>;
  75. current-speed = <115200>;
  76. power-domains = <&k3_pds 149 TI_SCI_PD_EXCLUSIVE>;
  77. clocks = <&k3_clks 149 0>;
  78. clock-names = "fclk";
  79. };
  80. wkup_gpio_intr: interrupt-controller@42200000 {
  81. compatible = "ti,sci-intr";
  82. reg = <0x00 0x42200000 0x00 0x400>;
  83. ti,intr-trigger-type = <1>;
  84. interrupt-controller;
  85. interrupt-parent = <&gic500>;
  86. #interrupt-cells = <1>;
  87. ti,sci = <&dmsc>;
  88. ti,sci-dev-id = <137>;
  89. ti,interrupt-ranges = <16 960 16>;
  90. };
  91. wkup_gpio0: gpio@42110000 {
  92. compatible = "ti,j721e-gpio", "ti,keystone-gpio";
  93. reg = <0x0 0x42110000 0x0 0x100>;
  94. gpio-controller;
  95. #gpio-cells = <2>;
  96. interrupt-parent = <&wkup_gpio_intr>;
  97. interrupts = <103>, <104>, <105>, <106>, <107>, <108>;
  98. interrupt-controller;
  99. #interrupt-cells = <2>;
  100. ti,ngpio = <84>;
  101. ti,davinci-gpio-unbanked = <0>;
  102. power-domains = <&k3_pds 113 TI_SCI_PD_EXCLUSIVE>;
  103. clocks = <&k3_clks 113 0>;
  104. clock-names = "gpio";
  105. };
  106. wkup_gpio1: gpio@42100000 {
  107. compatible = "ti,j721e-gpio", "ti,keystone-gpio";
  108. reg = <0x0 0x42100000 0x0 0x100>;
  109. gpio-controller;
  110. #gpio-cells = <2>;
  111. interrupt-parent = <&wkup_gpio_intr>;
  112. interrupts = <112>, <113>, <114>, <115>, <116>, <117>;
  113. interrupt-controller;
  114. #interrupt-cells = <2>;
  115. ti,ngpio = <84>;
  116. ti,davinci-gpio-unbanked = <0>;
  117. power-domains = <&k3_pds 114 TI_SCI_PD_EXCLUSIVE>;
  118. clocks = <&k3_clks 114 0>;
  119. clock-names = "gpio";
  120. };
  121. mcu_i2c0: i2c@40b00000 {
  122. compatible = "ti,j721e-i2c", "ti,omap4-i2c";
  123. reg = <0x0 0x40b00000 0x0 0x100>;
  124. interrupts = <GIC_SPI 852 IRQ_TYPE_LEVEL_HIGH>;
  125. #address-cells = <1>;
  126. #size-cells = <0>;
  127. clock-names = "fck";
  128. clocks = <&k3_clks 194 0>;
  129. power-domains = <&k3_pds 194 TI_SCI_PD_EXCLUSIVE>;
  130. };
  131. mcu_i2c1: i2c@40b10000 {
  132. compatible = "ti,j721e-i2c", "ti,omap4-i2c";
  133. reg = <0x0 0x40b10000 0x0 0x100>;
  134. interrupts = <GIC_SPI 853 IRQ_TYPE_LEVEL_HIGH>;
  135. #address-cells = <1>;
  136. #size-cells = <0>;
  137. clock-names = "fck";
  138. clocks = <&k3_clks 195 0>;
  139. power-domains = <&k3_pds 195 TI_SCI_PD_EXCLUSIVE>;
  140. };
  141. wkup_i2c0: i2c@42120000 {
  142. compatible = "ti,j721e-i2c", "ti,omap4-i2c";
  143. reg = <0x0 0x42120000 0x0 0x100>;
  144. interrupts = <GIC_SPI 896 IRQ_TYPE_LEVEL_HIGH>;
  145. #address-cells = <1>;
  146. #size-cells = <0>;
  147. clock-names = "fck";
  148. clocks = <&k3_clks 197 0>;
  149. power-domains = <&k3_pds 197 TI_SCI_PD_SHARED>;
  150. };
  151. fss: fss@47000000 {
  152. compatible = "simple-bus";
  153. reg = <0x0 0x47000000 0x0 0x100>;
  154. #address-cells = <2>;
  155. #size-cells = <2>;
  156. ranges;
  157. ospi0: spi@47040000 {
  158. compatible = "ti,am654-ospi", "cdns,qspi-nor";
  159. reg = <0x0 0x47040000 0x0 0x100>,
  160. <0x5 0x00000000 0x1 0x0000000>;
  161. interrupts = <GIC_SPI 840 IRQ_TYPE_LEVEL_HIGH>;
  162. cdns,fifo-depth = <256>;
  163. cdns,fifo-width = <4>;
  164. cdns,trigger-address = <0x0>;
  165. clocks = <&k3_clks 103 0>;
  166. assigned-clocks = <&k3_clks 103 0>;
  167. assigned-clock-parents = <&k3_clks 103 2>;
  168. assigned-clock-rates = <166666666>;
  169. power-domains = <&k3_pds 103 TI_SCI_PD_EXCLUSIVE>;
  170. #address-cells = <1>;
  171. #size-cells = <0>;
  172. };
  173. ospi1: spi@47050000 {
  174. compatible = "ti,am654-ospi", "cdns,qspi-nor";
  175. reg = <0x0 0x47050000 0x0 0x100>,
  176. <0x7 0x00000000 0x1 0x00000000>;
  177. interrupts = <GIC_SPI 841 IRQ_TYPE_LEVEL_HIGH>;
  178. cdns,fifo-depth = <256>;
  179. cdns,fifo-width = <4>;
  180. cdns,trigger-address = <0x0>;
  181. clocks = <&k3_clks 104 0>;
  182. power-domains = <&k3_pds 104 TI_SCI_PD_EXCLUSIVE>;
  183. #address-cells = <1>;
  184. #size-cells = <0>;
  185. };
  186. };
  187. tscadc0: tscadc@40200000 {
  188. compatible = "ti,am3359-tscadc";
  189. reg = <0x0 0x40200000 0x0 0x1000>;
  190. interrupts = <GIC_SPI 860 IRQ_TYPE_LEVEL_HIGH>;
  191. power-domains = <&k3_pds 0 TI_SCI_PD_EXCLUSIVE>;
  192. clocks = <&k3_clks 0 1>;
  193. assigned-clocks = <&k3_clks 0 3>;
  194. assigned-clock-rates = <60000000>;
  195. clock-names = "adc_tsc_fck";
  196. dmas = <&main_udmap 0x7400>,
  197. <&main_udmap 0x7401>;
  198. dma-names = "fifo0", "fifo1";
  199. adc {
  200. #io-channel-cells = <1>;
  201. compatible = "ti,am3359-adc";
  202. };
  203. };
  204. tscadc1: tscadc@40210000 {
  205. compatible = "ti,am3359-tscadc";
  206. reg = <0x0 0x40210000 0x0 0x1000>;
  207. interrupts = <GIC_SPI 861 IRQ_TYPE_LEVEL_HIGH>;
  208. power-domains = <&k3_pds 1 TI_SCI_PD_EXCLUSIVE>;
  209. clocks = <&k3_clks 1 1>;
  210. assigned-clocks = <&k3_clks 1 3>;
  211. assigned-clock-rates = <60000000>;
  212. clock-names = "adc_tsc_fck";
  213. dmas = <&main_udmap 0x7402>,
  214. <&main_udmap 0x7403>;
  215. dma-names = "fifo0", "fifo1";
  216. adc {
  217. #io-channel-cells = <1>;
  218. compatible = "ti,am3359-adc";
  219. };
  220. };
  221. mcu_navss: bus@28380000 {
  222. compatible = "simple-mfd";
  223. #address-cells = <2>;
  224. #size-cells = <2>;
  225. ranges = <0x00 0x28380000 0x00 0x28380000 0x00 0x03880000>;
  226. dma-coherent;
  227. dma-ranges;
  228. ti,sci-dev-id = <232>;
  229. mcu_ringacc: ringacc@2b800000 {
  230. compatible = "ti,am654-navss-ringacc";
  231. reg = <0x0 0x2b800000 0x0 0x400000>,
  232. <0x0 0x2b000000 0x0 0x400000>,
  233. <0x0 0x28590000 0x0 0x100>,
  234. <0x0 0x2a500000 0x0 0x40000>;
  235. reg-names = "rt", "fifos", "proxy_gcfg", "proxy_target";
  236. ti,num-rings = <286>;
  237. ti,sci-rm-range-gp-rings = <0x1>; /* GP ring range */
  238. ti,sci = <&dmsc>;
  239. ti,sci-dev-id = <235>;
  240. msi-parent = <&main_udmass_inta>;
  241. };
  242. mcu_udmap: dma-controller@285c0000 {
  243. compatible = "ti,j721e-navss-mcu-udmap";
  244. reg = <0x0 0x285c0000 0x0 0x100>,
  245. <0x0 0x2a800000 0x0 0x40000>,
  246. <0x0 0x2aa00000 0x0 0x40000>;
  247. reg-names = "gcfg", "rchanrt", "tchanrt";
  248. msi-parent = <&main_udmass_inta>;
  249. #dma-cells = <1>;
  250. ti,sci = <&dmsc>;
  251. ti,sci-dev-id = <236>;
  252. ti,ringacc = <&mcu_ringacc>;
  253. ti,sci-rm-range-tchan = <0x0d>, /* TX_CHAN */
  254. <0x0f>; /* TX_HCHAN */
  255. ti,sci-rm-range-rchan = <0x0a>, /* RX_CHAN */
  256. <0x0b>; /* RX_HCHAN */
  257. ti,sci-rm-range-rflow = <0x00>; /* GP RFLOW */
  258. };
  259. };
  260. mcu_cpsw: ethernet@46000000 {
  261. compatible = "ti,j721e-cpsw-nuss";
  262. #address-cells = <2>;
  263. #size-cells = <2>;
  264. reg = <0x0 0x46000000 0x0 0x200000>;
  265. reg-names = "cpsw_nuss";
  266. ranges = <0x0 0x0 0x0 0x46000000 0x0 0x200000>;
  267. dma-coherent;
  268. clocks = <&k3_clks 18 22>;
  269. clock-names = "fck";
  270. power-domains = <&k3_pds 18 TI_SCI_PD_EXCLUSIVE>;
  271. dmas = <&mcu_udmap 0xf000>,
  272. <&mcu_udmap 0xf001>,
  273. <&mcu_udmap 0xf002>,
  274. <&mcu_udmap 0xf003>,
  275. <&mcu_udmap 0xf004>,
  276. <&mcu_udmap 0xf005>,
  277. <&mcu_udmap 0xf006>,
  278. <&mcu_udmap 0xf007>,
  279. <&mcu_udmap 0x7000>;
  280. dma-names = "tx0", "tx1", "tx2", "tx3",
  281. "tx4", "tx5", "tx6", "tx7",
  282. "rx";
  283. ethernet-ports {
  284. #address-cells = <1>;
  285. #size-cells = <0>;
  286. cpsw_port1: port@1 {
  287. reg = <1>;
  288. ti,mac-only;
  289. label = "port1";
  290. ti,syscon-efuse = <&mcu_conf 0x200>;
  291. phys = <&phy_gmii_sel 1>;
  292. };
  293. };
  294. davinci_mdio: mdio@f00 {
  295. compatible = "ti,cpsw-mdio","ti,davinci_mdio";
  296. reg = <0x0 0xf00 0x0 0x100>;
  297. #address-cells = <1>;
  298. #size-cells = <0>;
  299. clocks = <&k3_clks 18 22>;
  300. clock-names = "fck";
  301. bus_freq = <1000000>;
  302. };
  303. cpts@3d000 {
  304. compatible = "ti,am65-cpts";
  305. reg = <0x0 0x3d000 0x0 0x400>;
  306. clocks = <&k3_clks 18 2>;
  307. clock-names = "cpts";
  308. interrupts-extended = <&gic500 GIC_SPI 858 IRQ_TYPE_LEVEL_HIGH>;
  309. interrupt-names = "cpts";
  310. ti,cpts-ext-ts-inputs = <4>;
  311. ti,cpts-periodic-outputs = <2>;
  312. };
  313. };
  314. mcu_r5fss0: r5fss@41000000 {
  315. compatible = "ti,j721e-r5fss";
  316. ti,cluster-mode = <1>;
  317. #address-cells = <1>;
  318. #size-cells = <1>;
  319. ranges = <0x41000000 0x00 0x41000000 0x20000>,
  320. <0x41400000 0x00 0x41400000 0x20000>;
  321. power-domains = <&k3_pds 249 TI_SCI_PD_EXCLUSIVE>;
  322. mcu_r5fss0_core0: r5f@41000000 {
  323. compatible = "ti,j721e-r5f";
  324. reg = <0x41000000 0x00008000>,
  325. <0x41010000 0x00008000>;
  326. reg-names = "atcm", "btcm";
  327. ti,sci = <&dmsc>;
  328. ti,sci-dev-id = <250>;
  329. ti,sci-proc-ids = <0x01 0xff>;
  330. resets = <&k3_reset 250 1>;
  331. firmware-name = "j7-mcu-r5f0_0-fw";
  332. ti,atcm-enable = <1>;
  333. ti,btcm-enable = <1>;
  334. ti,loczrama = <1>;
  335. };
  336. mcu_r5fss0_core1: r5f@41400000 {
  337. compatible = "ti,j721e-r5f";
  338. reg = <0x41400000 0x00008000>,
  339. <0x41410000 0x00008000>;
  340. reg-names = "atcm", "btcm";
  341. ti,sci = <&dmsc>;
  342. ti,sci-dev-id = <251>;
  343. ti,sci-proc-ids = <0x02 0xff>;
  344. resets = <&k3_reset 251 1>;
  345. firmware-name = "j7-mcu-r5f0_1-fw";
  346. ti,atcm-enable = <1>;
  347. ti,btcm-enable = <1>;
  348. ti,loczrama = <1>;
  349. };
  350. };
  351. mcu_mcan0: can@40528000 {
  352. compatible = "bosch,m_can";
  353. reg = <0x00 0x40528000 0x00 0x200>,
  354. <0x00 0x40500000 0x00 0x8000>;
  355. reg-names = "m_can", "message_ram";
  356. power-domains = <&k3_pds 172 TI_SCI_PD_EXCLUSIVE>;
  357. clocks = <&k3_clks 172 0>, <&k3_clks 172 1>;
  358. clock-names = "hclk", "cclk";
  359. interrupts = <GIC_SPI 832 IRQ_TYPE_LEVEL_HIGH>,
  360. <GIC_SPI 833 IRQ_TYPE_LEVEL_HIGH>;
  361. interrupt-names = "int0", "int1";
  362. bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>;
  363. };
  364. mcu_mcan1: can@40568000 {
  365. compatible = "bosch,m_can";
  366. reg = <0x00 0x40568000 0x00 0x200>,
  367. <0x00 0x40540000 0x00 0x8000>;
  368. reg-names = "m_can", "message_ram";
  369. power-domains = <&k3_pds 173 TI_SCI_PD_EXCLUSIVE>;
  370. clocks = <&k3_clks 173 0>, <&k3_clks 173 1>;
  371. clock-names = "hclk", "cclk";
  372. interrupts = <GIC_SPI 835 IRQ_TYPE_LEVEL_HIGH>,
  373. <GIC_SPI 836 IRQ_TYPE_LEVEL_HIGH>;
  374. interrupt-names = "int0", "int1";
  375. bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>;
  376. };
  377. };