1d361ed88SLokesh Vutla// SPDX-License-Identifier: GPL-2.0
2d361ed88SLokesh Vutla/*
3d361ed88SLokesh Vutla * Device Tree Source for J7200 SoC Family Main Domain peripherals
4d361ed88SLokesh Vutla *
5d361ed88SLokesh Vutla * Copyright (C) 2020 Texas Instruments Incorporated - https://www.ti.com/
6d361ed88SLokesh Vutla */
7d361ed88SLokesh Vutla
8d361ed88SLokesh Vutla&cbass_main {
9d361ed88SLokesh Vutla	msmc_ram: sram@70000000 {
10d361ed88SLokesh Vutla		compatible = "mmio-sram";
11d361ed88SLokesh Vutla		reg = <0x00 0x70000000 0x00 0x100000>;
12d361ed88SLokesh Vutla		#address-cells = <1>;
13d361ed88SLokesh Vutla		#size-cells = <1>;
14d361ed88SLokesh Vutla		ranges = <0x00 0x00 0x70000000 0x100000>;
15d361ed88SLokesh Vutla
16d361ed88SLokesh Vutla		atf-sram@0 {
17d361ed88SLokesh Vutla			reg = <0x00 0x20000>;
18d361ed88SLokesh Vutla		};
19d361ed88SLokesh Vutla	};
20d361ed88SLokesh Vutla
21d361ed88SLokesh Vutla	gic500: interrupt-controller@1800000 {
22d361ed88SLokesh Vutla		compatible = "arm,gic-v3";
23d361ed88SLokesh Vutla		#address-cells = <2>;
24d361ed88SLokesh Vutla		#size-cells = <2>;
25d361ed88SLokesh Vutla		ranges;
26d361ed88SLokesh Vutla		#interrupt-cells = <3>;
27d361ed88SLokesh Vutla		interrupt-controller;
28d361ed88SLokesh Vutla		reg = <0x00 0x01800000 0x00 0x10000>,	/* GICD */
29d361ed88SLokesh Vutla		      <0x00 0x01900000 0x00 0x100000>;	/* GICR */
30d361ed88SLokesh Vutla
31d361ed88SLokesh Vutla		/* vcpumntirq: virtual CPU interface maintenance interrupt */
32d361ed88SLokesh Vutla		interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
33d361ed88SLokesh Vutla
34d361ed88SLokesh Vutla		gic_its: msi-controller@1820000 {
35d361ed88SLokesh Vutla			compatible = "arm,gic-v3-its";
36d361ed88SLokesh Vutla			reg = <0x00 0x01820000 0x00 0x10000>;
37d361ed88SLokesh Vutla			socionext,synquacer-pre-its = <0x1000000 0x400000>;
38d361ed88SLokesh Vutla			msi-controller;
39d361ed88SLokesh Vutla			#msi-cells = <1>;
40d361ed88SLokesh Vutla		};
41d361ed88SLokesh Vutla	};
42d361ed88SLokesh Vutla
43d361ed88SLokesh Vutla	main_gpio_intr: interrupt-controller0 {
44d361ed88SLokesh Vutla		compatible = "ti,sci-intr";
45d361ed88SLokesh Vutla		ti,intr-trigger-type = <1>;
46d361ed88SLokesh Vutla		interrupt-controller;
47d361ed88SLokesh Vutla		interrupt-parent = <&gic500>;
48d361ed88SLokesh Vutla		#interrupt-cells = <1>;
49d361ed88SLokesh Vutla		ti,sci = <&dmsc>;
50d361ed88SLokesh Vutla		ti,sci-dev-id = <131>;
51d361ed88SLokesh Vutla		ti,interrupt-ranges = <8 392 56>;
52d361ed88SLokesh Vutla	};
53d361ed88SLokesh Vutla
54d361ed88SLokesh Vutla	main_navss: bus@30000000 {
55d361ed88SLokesh Vutla		compatible = "simple-mfd";
56d361ed88SLokesh Vutla		#address-cells = <2>;
57d361ed88SLokesh Vutla		#size-cells = <2>;
58d361ed88SLokesh Vutla		ranges = <0x00 0x30000000 0x00 0x30000000 0x00 0x0c400000>;
59d361ed88SLokesh Vutla		ti,sci-dev-id = <199>;
60d361ed88SLokesh Vutla
61d361ed88SLokesh Vutla		main_navss_intr: interrupt-controller1 {
62d361ed88SLokesh Vutla			compatible = "ti,sci-intr";
63d361ed88SLokesh Vutla			ti,intr-trigger-type = <4>;
64d361ed88SLokesh Vutla			interrupt-controller;
65d361ed88SLokesh Vutla			interrupt-parent = <&gic500>;
66d361ed88SLokesh Vutla			#interrupt-cells = <1>;
67d361ed88SLokesh Vutla			ti,sci = <&dmsc>;
68d361ed88SLokesh Vutla			ti,sci-dev-id = <213>;
69d361ed88SLokesh Vutla			ti,interrupt-ranges = <0 64 64>,
70d361ed88SLokesh Vutla					      <64 448 64>,
71d361ed88SLokesh Vutla					      <128 672 64>;
72d361ed88SLokesh Vutla		};
73d361ed88SLokesh Vutla
74d361ed88SLokesh Vutla		main_udmass_inta: msi-controller@33d00000 {
75d361ed88SLokesh Vutla			compatible = "ti,sci-inta";
76d361ed88SLokesh Vutla			reg = <0x00 0x33d00000 0x00 0x100000>;
77d361ed88SLokesh Vutla			interrupt-controller;
78d361ed88SLokesh Vutla			#interrupt-cells = <0>;
79d361ed88SLokesh Vutla			interrupt-parent = <&main_navss_intr>;
80d361ed88SLokesh Vutla			msi-controller;
81d361ed88SLokesh Vutla			ti,sci = <&dmsc>;
82d361ed88SLokesh Vutla			ti,sci-dev-id = <209>;
83d361ed88SLokesh Vutla			ti,interrupt-ranges = <0 0 256>;
84d361ed88SLokesh Vutla		};
85d361ed88SLokesh Vutla
86d361ed88SLokesh Vutla		secure_proxy_main: mailbox@32c00000 {
87d361ed88SLokesh Vutla			compatible = "ti,am654-secure-proxy";
88d361ed88SLokesh Vutla			#mbox-cells = <1>;
89d361ed88SLokesh Vutla			reg-names = "target_data", "rt", "scfg";
90d361ed88SLokesh Vutla			reg = <0x00 0x32c00000 0x00 0x100000>,
91d361ed88SLokesh Vutla			      <0x00 0x32400000 0x00 0x100000>,
92d361ed88SLokesh Vutla			      <0x00 0x32800000 0x00 0x100000>;
93d361ed88SLokesh Vutla			interrupt-names = "rx_011";
94d361ed88SLokesh Vutla			interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
95d361ed88SLokesh Vutla		};
9646374264SPeter Ujfalusi
9746374264SPeter Ujfalusi		main_ringacc: ringacc@3c000000 {
9846374264SPeter Ujfalusi			compatible = "ti,am654-navss-ringacc";
9946374264SPeter Ujfalusi			reg =	<0x00 0x3c000000 0x00 0x400000>,
10046374264SPeter Ujfalusi				<0x00 0x38000000 0x00 0x400000>,
10146374264SPeter Ujfalusi				<0x00 0x31120000 0x00 0x100>,
10246374264SPeter Ujfalusi				<0x00 0x33000000 0x00 0x40000>;
10346374264SPeter Ujfalusi			reg-names = "rt", "fifos", "proxy_gcfg", "proxy_target";
10446374264SPeter Ujfalusi			ti,num-rings = <1024>;
10546374264SPeter Ujfalusi			ti,sci-rm-range-gp-rings = <0x1>; /* GP ring range */
10646374264SPeter Ujfalusi			ti,sci = <&dmsc>;
10746374264SPeter Ujfalusi			ti,sci-dev-id = <211>;
10846374264SPeter Ujfalusi			msi-parent = <&main_udmass_inta>;
10946374264SPeter Ujfalusi		};
11046374264SPeter Ujfalusi
11146374264SPeter Ujfalusi		main_udmap: dma-controller@31150000 {
11246374264SPeter Ujfalusi			compatible = "ti,j721e-navss-main-udmap";
11346374264SPeter Ujfalusi			reg =	<0x00 0x31150000 0x00 0x100>,
11446374264SPeter Ujfalusi				<0x00 0x34000000 0x00 0x100000>,
11546374264SPeter Ujfalusi				<0x00 0x35000000 0x00 0x100000>;
11646374264SPeter Ujfalusi			reg-names = "gcfg", "rchanrt", "tchanrt";
11746374264SPeter Ujfalusi			msi-parent = <&main_udmass_inta>;
11846374264SPeter Ujfalusi			#dma-cells = <1>;
11946374264SPeter Ujfalusi
12046374264SPeter Ujfalusi			ti,sci = <&dmsc>;
12146374264SPeter Ujfalusi			ti,sci-dev-id = <212>;
12246374264SPeter Ujfalusi			ti,ringacc = <&main_ringacc>;
12346374264SPeter Ujfalusi
12446374264SPeter Ujfalusi			ti,sci-rm-range-tchan = <0x0d>, /* TX_CHAN */
12546374264SPeter Ujfalusi						<0x0f>, /* TX_HCHAN */
12646374264SPeter Ujfalusi						<0x10>; /* TX_UHCHAN */
12746374264SPeter Ujfalusi			ti,sci-rm-range-rchan = <0x0a>, /* RX_CHAN */
12846374264SPeter Ujfalusi						<0x0b>, /* RX_HCHAN */
12946374264SPeter Ujfalusi						<0x0c>; /* RX_UHCHAN */
13046374264SPeter Ujfalusi			ti,sci-rm-range-rflow = <0x00>; /* GP RFLOW */
13146374264SPeter Ujfalusi		};
132c5d73d8dSGrygorii Strashko
133c5d73d8dSGrygorii Strashko		cpts@310d0000 {
134c5d73d8dSGrygorii Strashko			compatible = "ti,j721e-cpts";
135c5d73d8dSGrygorii Strashko			reg = <0x00 0x310d0000 0x00 0x400>;
136c5d73d8dSGrygorii Strashko			reg-names = "cpts";
137c5d73d8dSGrygorii Strashko			clocks = <&k3_clks 201 1>;
138c5d73d8dSGrygorii Strashko			clock-names = "cpts";
139c5d73d8dSGrygorii Strashko			interrupts-extended = <&main_navss_intr 391>;
140c5d73d8dSGrygorii Strashko			interrupt-names = "cpts";
141c5d73d8dSGrygorii Strashko			ti,cpts-periodic-outputs = <6>;
142c5d73d8dSGrygorii Strashko			ti,cpts-ext-ts-inputs = <8>;
143c5d73d8dSGrygorii Strashko		};
144d361ed88SLokesh Vutla	};
145d361ed88SLokesh Vutla
146d361ed88SLokesh Vutla	main_pmx0: pinctrl@11c000 {
147d361ed88SLokesh Vutla		compatible = "pinctrl-single";
148d361ed88SLokesh Vutla		/* Proxy 0 addressing */
149d361ed88SLokesh Vutla		reg = <0x00 0x11c000 0x00 0x2b4>;
150d361ed88SLokesh Vutla		#pinctrl-cells = <1>;
151d361ed88SLokesh Vutla		pinctrl-single,register-width = <32>;
152d361ed88SLokesh Vutla		pinctrl-single,function-mask = <0xffffffff>;
153d361ed88SLokesh Vutla	};
154d361ed88SLokesh Vutla
155d361ed88SLokesh Vutla	main_uart0: serial@2800000 {
156d361ed88SLokesh Vutla		compatible = "ti,j721e-uart", "ti,am654-uart";
157d361ed88SLokesh Vutla		reg = <0x00 0x02800000 0x00 0x100>;
158d361ed88SLokesh Vutla		reg-shift = <2>;
159d361ed88SLokesh Vutla		reg-io-width = <4>;
160d361ed88SLokesh Vutla		interrupts = <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>;
161d361ed88SLokesh Vutla		clock-frequency = <48000000>;
162d361ed88SLokesh Vutla		current-speed = <115200>;
163d361ed88SLokesh Vutla		power-domains = <&k3_pds 146 TI_SCI_PD_EXCLUSIVE>;
164d361ed88SLokesh Vutla		clocks = <&k3_clks 146 2>;
165d361ed88SLokesh Vutla		clock-names = "fclk";
166d361ed88SLokesh Vutla	};
167d361ed88SLokesh Vutla
168d361ed88SLokesh Vutla	main_uart1: serial@2810000 {
169d361ed88SLokesh Vutla		compatible = "ti,j721e-uart", "ti,am654-uart";
170d361ed88SLokesh Vutla		reg = <0x00 0x02810000 0x00 0x100>;
171d361ed88SLokesh Vutla		reg-shift = <2>;
172d361ed88SLokesh Vutla		reg-io-width = <4>;
173d361ed88SLokesh Vutla		interrupts = <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>;
174d361ed88SLokesh Vutla		clock-frequency = <48000000>;
175d361ed88SLokesh Vutla		current-speed = <115200>;
176d361ed88SLokesh Vutla		power-domains = <&k3_pds 278 TI_SCI_PD_EXCLUSIVE>;
177d361ed88SLokesh Vutla		clocks = <&k3_clks 278 2>;
178d361ed88SLokesh Vutla		clock-names = "fclk";
179d361ed88SLokesh Vutla	};
180d361ed88SLokesh Vutla
181d361ed88SLokesh Vutla	main_uart2: serial@2820000 {
182d361ed88SLokesh Vutla		compatible = "ti,j721e-uart", "ti,am654-uart";
183d361ed88SLokesh Vutla		reg = <0x00 0x02820000 0x00 0x100>;
184d361ed88SLokesh Vutla		reg-shift = <2>;
185d361ed88SLokesh Vutla		reg-io-width = <4>;
186d361ed88SLokesh Vutla		interrupts = <GIC_SPI 194 IRQ_TYPE_LEVEL_HIGH>;
187d361ed88SLokesh Vutla		clock-frequency = <48000000>;
188d361ed88SLokesh Vutla		current-speed = <115200>;
189d361ed88SLokesh Vutla		power-domains = <&k3_pds 279 TI_SCI_PD_EXCLUSIVE>;
190d361ed88SLokesh Vutla		clocks = <&k3_clks 279 2>;
191d361ed88SLokesh Vutla		clock-names = "fclk";
192d361ed88SLokesh Vutla	};
193d361ed88SLokesh Vutla
194d361ed88SLokesh Vutla	main_uart3: serial@2830000 {
195d361ed88SLokesh Vutla		compatible = "ti,j721e-uart", "ti,am654-uart";
196d361ed88SLokesh Vutla		reg = <0x00 0x02830000 0x00 0x100>;
197d361ed88SLokesh Vutla		reg-shift = <2>;
198d361ed88SLokesh Vutla		reg-io-width = <4>;
199d361ed88SLokesh Vutla		interrupts = <GIC_SPI 195 IRQ_TYPE_LEVEL_HIGH>;
200d361ed88SLokesh Vutla		clock-frequency = <48000000>;
201d361ed88SLokesh Vutla		current-speed = <115200>;
202d361ed88SLokesh Vutla		power-domains = <&k3_pds 280 TI_SCI_PD_EXCLUSIVE>;
203d361ed88SLokesh Vutla		clocks = <&k3_clks 280 2>;
204d361ed88SLokesh Vutla		clock-names = "fclk";
205d361ed88SLokesh Vutla	};
206d361ed88SLokesh Vutla
207d361ed88SLokesh Vutla	main_uart4: serial@2840000 {
208d361ed88SLokesh Vutla		compatible = "ti,j721e-uart", "ti,am654-uart";
209d361ed88SLokesh Vutla		reg = <0x00 0x02840000 0x00 0x100>;
210d361ed88SLokesh Vutla		reg-shift = <2>;
211d361ed88SLokesh Vutla		reg-io-width = <4>;
212d361ed88SLokesh Vutla		interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>;
213d361ed88SLokesh Vutla		clock-frequency = <48000000>;
214d361ed88SLokesh Vutla		current-speed = <115200>;
215d361ed88SLokesh Vutla		power-domains = <&k3_pds 281 TI_SCI_PD_EXCLUSIVE>;
216d361ed88SLokesh Vutla		clocks = <&k3_clks 281 2>;
217d361ed88SLokesh Vutla		clock-names = "fclk";
218d361ed88SLokesh Vutla	};
219d361ed88SLokesh Vutla
220d361ed88SLokesh Vutla	main_uart5: serial@2850000 {
221d361ed88SLokesh Vutla		compatible = "ti,j721e-uart", "ti,am654-uart";
222d361ed88SLokesh Vutla		reg = <0x00 0x02850000 0x00 0x100>;
223d361ed88SLokesh Vutla		reg-shift = <2>;
224d361ed88SLokesh Vutla		reg-io-width = <4>;
225d361ed88SLokesh Vutla		interrupts = <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
226d361ed88SLokesh Vutla		clock-frequency = <48000000>;
227d361ed88SLokesh Vutla		current-speed = <115200>;
228d361ed88SLokesh Vutla		power-domains = <&k3_pds 282 TI_SCI_PD_EXCLUSIVE>;
229d361ed88SLokesh Vutla		clocks = <&k3_clks 282 2>;
230d361ed88SLokesh Vutla		clock-names = "fclk";
231d361ed88SLokesh Vutla	};
232d361ed88SLokesh Vutla
233d361ed88SLokesh Vutla	main_uart6: serial@2860000 {
234d361ed88SLokesh Vutla		compatible = "ti,j721e-uart", "ti,am654-uart";
235d361ed88SLokesh Vutla		reg = <0x00 0x02860000 0x00 0x100>;
236d361ed88SLokesh Vutla		reg-shift = <2>;
237d361ed88SLokesh Vutla		reg-io-width = <4>;
238d361ed88SLokesh Vutla		interrupts = <GIC_SPI 198 IRQ_TYPE_LEVEL_HIGH>;
239d361ed88SLokesh Vutla		clock-frequency = <48000000>;
240d361ed88SLokesh Vutla		current-speed = <115200>;
241d361ed88SLokesh Vutla		power-domains = <&k3_pds 283 TI_SCI_PD_EXCLUSIVE>;
242d361ed88SLokesh Vutla		clocks = <&k3_clks 283 2>;
243d361ed88SLokesh Vutla		clock-names = "fclk";
244d361ed88SLokesh Vutla	};
245d361ed88SLokesh Vutla
246d361ed88SLokesh Vutla	main_uart7: serial@2870000 {
247d361ed88SLokesh Vutla		compatible = "ti,j721e-uart", "ti,am654-uart";
248d361ed88SLokesh Vutla		reg = <0x00 0x02870000 0x00 0x100>;
249d361ed88SLokesh Vutla		reg-shift = <2>;
250d361ed88SLokesh Vutla		reg-io-width = <4>;
251d361ed88SLokesh Vutla		interrupts = <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH>;
252d361ed88SLokesh Vutla		clock-frequency = <48000000>;
253d361ed88SLokesh Vutla		current-speed = <115200>;
254d361ed88SLokesh Vutla		power-domains = <&k3_pds 284 TI_SCI_PD_EXCLUSIVE>;
255d361ed88SLokesh Vutla		clocks = <&k3_clks 284 2>;
256d361ed88SLokesh Vutla		clock-names = "fclk";
257d361ed88SLokesh Vutla	};
258d361ed88SLokesh Vutla
259d361ed88SLokesh Vutla	main_uart8: serial@2880000 {
260d361ed88SLokesh Vutla		compatible = "ti,j721e-uart", "ti,am654-uart";
261d361ed88SLokesh Vutla		reg = <0x00 0x02880000 0x00 0x100>;
262d361ed88SLokesh Vutla		reg-shift = <2>;
263d361ed88SLokesh Vutla		reg-io-width = <4>;
264d361ed88SLokesh Vutla		interrupts = <GIC_SPI 248 IRQ_TYPE_LEVEL_HIGH>;
265d361ed88SLokesh Vutla		clock-frequency = <48000000>;
266d361ed88SLokesh Vutla		current-speed = <115200>;
267d361ed88SLokesh Vutla		power-domains = <&k3_pds 285 TI_SCI_PD_EXCLUSIVE>;
268d361ed88SLokesh Vutla		clocks = <&k3_clks 285 2>;
269d361ed88SLokesh Vutla		clock-names = "fclk";
270d361ed88SLokesh Vutla	};
271d361ed88SLokesh Vutla
272d361ed88SLokesh Vutla	main_uart9: serial@2890000 {
273d361ed88SLokesh Vutla		compatible = "ti,j721e-uart", "ti,am654-uart";
274d361ed88SLokesh Vutla		reg = <0x00 0x02890000 0x00 0x100>;
275d361ed88SLokesh Vutla		reg-shift = <2>;
276d361ed88SLokesh Vutla		reg-io-width = <4>;
277d361ed88SLokesh Vutla		interrupts = <GIC_SPI 249 IRQ_TYPE_LEVEL_HIGH>;
278d361ed88SLokesh Vutla		clock-frequency = <48000000>;
279d361ed88SLokesh Vutla		current-speed = <115200>;
280d361ed88SLokesh Vutla		power-domains = <&k3_pds 286 TI_SCI_PD_EXCLUSIVE>;
281d361ed88SLokesh Vutla		clocks = <&k3_clks 286 2>;
282d361ed88SLokesh Vutla		clock-names = "fclk";
283d361ed88SLokesh Vutla	};
284d361ed88SLokesh Vutla};
285