blob: d1a9fb5de6bc032310662d5cf3232305f82a2941 [file] [log] [blame]
Lokesh Vutla2d0eba32018-11-02 19:51:08 +05301// SPDX-License-Identifier: GPL-2.0
2/*
3 * Device Tree Source for AM6 SoC Family MCU Domain peripherals
4 *
Suman Anna35f21c32019-09-04 16:01:41 +05305 * Copyright (C) 2016-2019 Texas Instruments Incorporated - http://www.ti.com/
Lokesh Vutla2d0eba32018-11-02 19:51:08 +05306 */
7
8&cbass_mcu {
9 mcu_uart0: serial@40a00000 {
10 compatible = "ti,am654-uart";
11 reg = <0x00 0x40a00000 0x00 0x100>;
12 reg-shift = <2>;
13 reg-io-width = <4>;
14 interrupts = <GIC_SPI 565 IRQ_TYPE_LEVEL_HIGH>;
15 clock-frequency = <96000000>;
16 current-speed = <115200>;
17 };
Andreas Dannenbergbbe59162019-06-04 18:08:14 -050018
19 mcu_i2c0: i2c@40b00000 {
20 compatible = "ti,am654-i2c", "ti,omap4-i2c";
21 reg = <0x0 0x40b00000 0x0 0x100>;
22 interrupts = <GIC_SPI 564 IRQ_TYPE_LEVEL_HIGH>;
23 #address-cells = <1>;
24 #size-cells = <0>;
25 clock-names = "fck";
26 clocks = <&k3_clks 114 1>;
Lokesh Vutla355be912019-06-07 19:24:47 +053027 power-domains = <&k3_pds 114 TI_SCI_PD_EXCLUSIVE>;
Andreas Dannenbergbbe59162019-06-04 18:08:14 -050028 };
Suman Anna35f21c32019-09-04 16:01:41 +053029
30 mcu_r5fss0: r5fss@41000000 {
31 compatible = "ti,am654-r5fss";
32 lockstep-mode = <0>;
33 #address-cells = <1>;
34 #size-cells = <1>;
35 ranges = <0x41000000 0x00 0x41000000 0x20000>,
36 <0x41400000 0x00 0x41400000 0x20000>;
37 power-domains = <&k3_pds 129 TI_SCI_PD_EXCLUSIVE>;
38
39 mcu_r5fss0_core0: r5f@41000000 {
40 compatible = "ti,am654-r5f";
41 reg = <0x41000000 0x00008000>,
42 <0x41010000 0x00008000>;
43 reg-names = "atcm", "btcm";
44 ti,sci = <&dmsc>;
45 ti,sci-dev-id = <159>;
46 ti,sci-proc-ids = <0x01 0xFF>;
47 resets = <&k3_reset 159 1>;
48 atcm-enable = <1>;
49 btcm-enable = <1>;
50 loczrama = <1>;
51 };
52
53 mcu_r5fss0_core1: r5f@41400000 {
54 compatible = "ti,am654-r5f";
55 reg = <0x41400000 0x00008000>,
56 <0x41410000 0x00008000>;
57 reg-names = "atcm", "btcm";
58 ti,sci = <&dmsc>;
59 ti,sci-dev-id = <245>;
60 ti,sci-proc-ids = <0x02 0xFF>;
61 resets = <&k3_reset 245 1>;
62 atcm-enable = <1>;
63 btcm-enable = <1>;
64 loczrama = <1>;
65 };
66 };
Vignesh Raghavendra9e9dfc12020-02-04 11:09:51 +053067
68 fss: fss@47000000 {
69 compatible = "simple-bus";
70 #address-cells = <2>;
71 #size-cells = <2>;
72 ranges;
73
74 ospi0: spi@47040000 {
75 compatible = "ti,am654-ospi", "cdns,qspi-nor";
76 reg = <0x0 0x47040000 0x0 0x100>,
77 <0x5 0x00000000 0x1 0x0000000>;
78 interrupts = <GIC_SPI 552 IRQ_TYPE_LEVEL_HIGH>;
79 cdns,fifo-depth = <256>;
80 cdns,fifo-width = <4>;
81 cdns,trigger-address = <0x0>;
82 clocks = <&k3_clks 248 0>;
83 assigned-clocks = <&k3_clks 248 0>;
84 assigned-clock-parents = <&k3_clks 248 2>;
85 assigned-clock-rates = <166666666>;
86 power-domains = <&k3_pds 248 TI_SCI_PD_EXCLUSIVE>;
87 #address-cells = <1>;
88 #size-cells = <0>;
89 };
90
91 ospi1: spi@47050000 {
92 compatible = "ti,am654-ospi", "cdns,qspi-nor";
93 reg = <0x0 0x47050000 0x0 0x100>,
94 <0x7 0x00000000 0x1 0x00000000>;
95 interrupts = <GIC_SPI 553 IRQ_TYPE_LEVEL_HIGH>;
96 cdns,fifo-depth = <256>;
97 cdns,fifo-width = <4>;
98 cdns,trigger-address = <0x0>;
99 clocks = <&k3_clks 249 6>;
100 power-domains = <&k3_pds 249 TI_SCI_PD_EXCLUSIVE>;
101 #address-cells = <1>;
102 #size-cells = <0>;
103 };
104 };
Vignesh Raghavendra99faf0d2020-07-07 13:43:35 +0530105
106 mcu_navss {
107 compatible = "simple-mfd";
108 #address-cells = <2>;
109 #size-cells = <2>;
110 ranges;
111 dma-coherent;
112 dma-ranges;
113
114 ti,sci-dev-id = <119>;
115
116 mcu_ringacc: ringacc@2b800000 {
117 compatible = "ti,am654-navss-ringacc";
118 reg = <0x0 0x2b800000 0x0 0x400000>,
119 <0x0 0x2b000000 0x0 0x400000>,
120 <0x0 0x28590000 0x0 0x100>,
121 <0x0 0x2a500000 0x0 0x40000>;
122 reg-names = "rt", "fifos", "proxy_gcfg", "proxy_target";
123 ti,num-rings = <286>;
124 ti,sci-rm-range-gp-rings = <0x2>; /* GP ring range */
125 ti,dma-ring-reset-quirk;
126 ti,sci = <&dmsc>;
127 ti,sci-dev-id = <195>;
128 };
129
130 mcu_udmap: dma-controller@285c0000 {
131 compatible = "ti,am654-navss-mcu-udmap";
132 reg = <0x0 0x285c0000 0x0 0x100>,
133 <0x0 0x2a800000 0x0 0x40000>,
134 <0x0 0x2aa00000 0x0 0x40000>;
135 reg-names = "gcfg", "rchanrt", "tchanrt";
136 #dma-cells = <1>;
137
138 ti,sci = <&dmsc>;
139 ti,sci-dev-id = <194>;
140 ti,ringacc = <&mcu_ringacc>;
141
142 ti,sci-rm-range-tchan = <0x1>, /* TX_HCHAN */
143 <0x2>; /* TX_CHAN */
144 ti,sci-rm-range-rchan = <0x3>, /* RX_HCHAN */
145 <0x4>; /* RX_CHAN */
146 ti,sci-rm-range-rflow = <0x5>; /* GP RFLOW */
147 };
148 };
Lokesh Vutla2d0eba32018-11-02 19:51:08 +0530149};