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
2115092952SRoger Quadros	scm_conf: scm-conf@100000 {
2215092952SRoger Quadros		compatible = "ti,j721e-system-controller", "syscon", "simple-mfd";
2315092952SRoger Quadros		reg = <0x00 0x00100000 0x00 0x1c000>;
2415092952SRoger Quadros		#address-cells = <1>;
2515092952SRoger Quadros		#size-cells = <1>;
2615092952SRoger Quadros		ranges = <0x00 0x00 0x00100000 0x1c000>;
2715092952SRoger Quadros
2815092952SRoger Quadros		serdes_ln_ctrl: serdes-ln-ctrl@4080 {
2915092952SRoger Quadros			compatible = "mmio-mux";
3015092952SRoger Quadros			#mux-control-cells = <1>;
3115092952SRoger Quadros			mux-reg-masks = <0x4080 0x3>, <0x4084 0x3>, /* SERDES0 lane0/1 select */
3215092952SRoger Quadros					<0x4088 0x3>, <0x408c 0x3>; /* SERDES0 lane2/3 select */
3315092952SRoger Quadros		};
349a09e6e9SRoger Quadros
359a09e6e9SRoger Quadros		usb_serdes_mux: mux-controller@4000 {
369a09e6e9SRoger Quadros			compatible = "mmio-mux";
379a09e6e9SRoger Quadros			#mux-control-cells = <1>;
389a09e6e9SRoger Quadros			mux-reg-masks = <0x4000 0x8000000>; /* USB0 to SERDES0 lane 1/3 mux */
399a09e6e9SRoger Quadros		};
4015092952SRoger Quadros	};
4115092952SRoger Quadros
42d361ed88SLokesh Vutla	gic500: interrupt-controller@1800000 {
43d361ed88SLokesh Vutla		compatible = "arm,gic-v3";
44d361ed88SLokesh Vutla		#address-cells = <2>;
45d361ed88SLokesh Vutla		#size-cells = <2>;
46d361ed88SLokesh Vutla		ranges;
47d361ed88SLokesh Vutla		#interrupt-cells = <3>;
48d361ed88SLokesh Vutla		interrupt-controller;
49d361ed88SLokesh Vutla		reg = <0x00 0x01800000 0x00 0x10000>,	/* GICD */
50d361ed88SLokesh Vutla		      <0x00 0x01900000 0x00 0x100000>;	/* GICR */
51d361ed88SLokesh Vutla
52d361ed88SLokesh Vutla		/* vcpumntirq: virtual CPU interface maintenance interrupt */
53d361ed88SLokesh Vutla		interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
54d361ed88SLokesh Vutla
55d361ed88SLokesh Vutla		gic_its: msi-controller@1820000 {
56d361ed88SLokesh Vutla			compatible = "arm,gic-v3-its";
57d361ed88SLokesh Vutla			reg = <0x00 0x01820000 0x00 0x10000>;
58d361ed88SLokesh Vutla			socionext,synquacer-pre-its = <0x1000000 0x400000>;
59d361ed88SLokesh Vutla			msi-controller;
60d361ed88SLokesh Vutla			#msi-cells = <1>;
61d361ed88SLokesh Vutla		};
62d361ed88SLokesh Vutla	};
63d361ed88SLokesh Vutla
64d361ed88SLokesh Vutla	main_gpio_intr: interrupt-controller0 {
65d361ed88SLokesh Vutla		compatible = "ti,sci-intr";
66d361ed88SLokesh Vutla		ti,intr-trigger-type = <1>;
67d361ed88SLokesh Vutla		interrupt-controller;
68d361ed88SLokesh Vutla		interrupt-parent = <&gic500>;
69d361ed88SLokesh Vutla		#interrupt-cells = <1>;
70d361ed88SLokesh Vutla		ti,sci = <&dmsc>;
71d361ed88SLokesh Vutla		ti,sci-dev-id = <131>;
72d361ed88SLokesh Vutla		ti,interrupt-ranges = <8 392 56>;
73d361ed88SLokesh Vutla	};
74d361ed88SLokesh Vutla
75d361ed88SLokesh Vutla	main_navss: bus@30000000 {
76d361ed88SLokesh Vutla		compatible = "simple-mfd";
77d361ed88SLokesh Vutla		#address-cells = <2>;
78d361ed88SLokesh Vutla		#size-cells = <2>;
79d361ed88SLokesh Vutla		ranges = <0x00 0x30000000 0x00 0x30000000 0x00 0x0c400000>;
80d361ed88SLokesh Vutla		ti,sci-dev-id = <199>;
81d361ed88SLokesh Vutla
82d361ed88SLokesh Vutla		main_navss_intr: interrupt-controller1 {
83d361ed88SLokesh Vutla			compatible = "ti,sci-intr";
84d361ed88SLokesh Vutla			ti,intr-trigger-type = <4>;
85d361ed88SLokesh Vutla			interrupt-controller;
86d361ed88SLokesh Vutla			interrupt-parent = <&gic500>;
87d361ed88SLokesh Vutla			#interrupt-cells = <1>;
88d361ed88SLokesh Vutla			ti,sci = <&dmsc>;
89d361ed88SLokesh Vutla			ti,sci-dev-id = <213>;
90d361ed88SLokesh Vutla			ti,interrupt-ranges = <0 64 64>,
91d361ed88SLokesh Vutla					      <64 448 64>,
92d361ed88SLokesh Vutla					      <128 672 64>;
93d361ed88SLokesh Vutla		};
94d361ed88SLokesh Vutla
95d361ed88SLokesh Vutla		main_udmass_inta: msi-controller@33d00000 {
96d361ed88SLokesh Vutla			compatible = "ti,sci-inta";
97d361ed88SLokesh Vutla			reg = <0x00 0x33d00000 0x00 0x100000>;
98d361ed88SLokesh Vutla			interrupt-controller;
99d361ed88SLokesh Vutla			#interrupt-cells = <0>;
100d361ed88SLokesh Vutla			interrupt-parent = <&main_navss_intr>;
101d361ed88SLokesh Vutla			msi-controller;
102d361ed88SLokesh Vutla			ti,sci = <&dmsc>;
103d361ed88SLokesh Vutla			ti,sci-dev-id = <209>;
104d361ed88SLokesh Vutla			ti,interrupt-ranges = <0 0 256>;
105d361ed88SLokesh Vutla		};
106d361ed88SLokesh Vutla
107d361ed88SLokesh Vutla		secure_proxy_main: mailbox@32c00000 {
108d361ed88SLokesh Vutla			compatible = "ti,am654-secure-proxy";
109d361ed88SLokesh Vutla			#mbox-cells = <1>;
110d361ed88SLokesh Vutla			reg-names = "target_data", "rt", "scfg";
111d361ed88SLokesh Vutla			reg = <0x00 0x32c00000 0x00 0x100000>,
112d361ed88SLokesh Vutla			      <0x00 0x32400000 0x00 0x100000>,
113d361ed88SLokesh Vutla			      <0x00 0x32800000 0x00 0x100000>;
114d361ed88SLokesh Vutla			interrupt-names = "rx_011";
115d361ed88SLokesh Vutla			interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
116d361ed88SLokesh Vutla		};
11746374264SPeter Ujfalusi
1181d7a01c4SSuman Anna		hwspinlock: spinlock@30e00000 {
1191d7a01c4SSuman Anna			compatible = "ti,am654-hwspinlock";
1201d7a01c4SSuman Anna			reg = <0x00 0x30e00000 0x00 0x1000>;
1211d7a01c4SSuman Anna			#hwlock-cells = <1>;
1221d7a01c4SSuman Anna		};
1231d7a01c4SSuman Anna
124*d15d1cfbSSuman Anna		mailbox0_cluster0: mailbox@31f80000 {
125*d15d1cfbSSuman Anna			compatible = "ti,am654-mailbox";
126*d15d1cfbSSuman Anna			reg = <0x00 0x31f80000 0x00 0x200>;
127*d15d1cfbSSuman Anna			#mbox-cells = <1>;
128*d15d1cfbSSuman Anna			ti,mbox-num-users = <4>;
129*d15d1cfbSSuman Anna			ti,mbox-num-fifos = <16>;
130*d15d1cfbSSuman Anna			interrupt-parent = <&main_navss_intr>;
131*d15d1cfbSSuman Anna		};
132*d15d1cfbSSuman Anna
133*d15d1cfbSSuman Anna		mailbox0_cluster1: mailbox@31f81000 {
134*d15d1cfbSSuman Anna			compatible = "ti,am654-mailbox";
135*d15d1cfbSSuman Anna			reg = <0x00 0x31f81000 0x00 0x200>;
136*d15d1cfbSSuman Anna			#mbox-cells = <1>;
137*d15d1cfbSSuman Anna			ti,mbox-num-users = <4>;
138*d15d1cfbSSuman Anna			ti,mbox-num-fifos = <16>;
139*d15d1cfbSSuman Anna			interrupt-parent = <&main_navss_intr>;
140*d15d1cfbSSuman Anna		};
141*d15d1cfbSSuman Anna
142*d15d1cfbSSuman Anna		mailbox0_cluster2: mailbox@31f82000 {
143*d15d1cfbSSuman Anna			compatible = "ti,am654-mailbox";
144*d15d1cfbSSuman Anna			reg = <0x00 0x31f82000 0x00 0x200>;
145*d15d1cfbSSuman Anna			#mbox-cells = <1>;
146*d15d1cfbSSuman Anna			ti,mbox-num-users = <4>;
147*d15d1cfbSSuman Anna			ti,mbox-num-fifos = <16>;
148*d15d1cfbSSuman Anna			interrupt-parent = <&main_navss_intr>;
149*d15d1cfbSSuman Anna		};
150*d15d1cfbSSuman Anna
151*d15d1cfbSSuman Anna		mailbox0_cluster3: mailbox@31f83000 {
152*d15d1cfbSSuman Anna			compatible = "ti,am654-mailbox";
153*d15d1cfbSSuman Anna			reg = <0x00 0x31f83000 0x00 0x200>;
154*d15d1cfbSSuman Anna			#mbox-cells = <1>;
155*d15d1cfbSSuman Anna			ti,mbox-num-users = <4>;
156*d15d1cfbSSuman Anna			ti,mbox-num-fifos = <16>;
157*d15d1cfbSSuman Anna			interrupt-parent = <&main_navss_intr>;
158*d15d1cfbSSuman Anna		};
159*d15d1cfbSSuman Anna
160*d15d1cfbSSuman Anna		mailbox0_cluster4: mailbox@31f84000 {
161*d15d1cfbSSuman Anna			compatible = "ti,am654-mailbox";
162*d15d1cfbSSuman Anna			reg = <0x00 0x31f84000 0x00 0x200>;
163*d15d1cfbSSuman Anna			#mbox-cells = <1>;
164*d15d1cfbSSuman Anna			ti,mbox-num-users = <4>;
165*d15d1cfbSSuman Anna			ti,mbox-num-fifos = <16>;
166*d15d1cfbSSuman Anna			interrupt-parent = <&main_navss_intr>;
167*d15d1cfbSSuman Anna		};
168*d15d1cfbSSuman Anna
169*d15d1cfbSSuman Anna		mailbox0_cluster5: mailbox@31f85000 {
170*d15d1cfbSSuman Anna			compatible = "ti,am654-mailbox";
171*d15d1cfbSSuman Anna			reg = <0x00 0x31f85000 0x00 0x200>;
172*d15d1cfbSSuman Anna			#mbox-cells = <1>;
173*d15d1cfbSSuman Anna			ti,mbox-num-users = <4>;
174*d15d1cfbSSuman Anna			ti,mbox-num-fifos = <16>;
175*d15d1cfbSSuman Anna			interrupt-parent = <&main_navss_intr>;
176*d15d1cfbSSuman Anna		};
177*d15d1cfbSSuman Anna
178*d15d1cfbSSuman Anna		mailbox0_cluster6: mailbox@31f86000 {
179*d15d1cfbSSuman Anna			compatible = "ti,am654-mailbox";
180*d15d1cfbSSuman Anna			reg = <0x00 0x31f86000 0x00 0x200>;
181*d15d1cfbSSuman Anna			#mbox-cells = <1>;
182*d15d1cfbSSuman Anna			ti,mbox-num-users = <4>;
183*d15d1cfbSSuman Anna			ti,mbox-num-fifos = <16>;
184*d15d1cfbSSuman Anna			interrupt-parent = <&main_navss_intr>;
185*d15d1cfbSSuman Anna		};
186*d15d1cfbSSuman Anna
187*d15d1cfbSSuman Anna		mailbox0_cluster7: mailbox@31f87000 {
188*d15d1cfbSSuman Anna			compatible = "ti,am654-mailbox";
189*d15d1cfbSSuman Anna			reg = <0x00 0x31f87000 0x00 0x200>;
190*d15d1cfbSSuman Anna			#mbox-cells = <1>;
191*d15d1cfbSSuman Anna			ti,mbox-num-users = <4>;
192*d15d1cfbSSuman Anna			ti,mbox-num-fifos = <16>;
193*d15d1cfbSSuman Anna			interrupt-parent = <&main_navss_intr>;
194*d15d1cfbSSuman Anna		};
195*d15d1cfbSSuman Anna
196*d15d1cfbSSuman Anna		mailbox0_cluster8: mailbox@31f88000 {
197*d15d1cfbSSuman Anna			compatible = "ti,am654-mailbox";
198*d15d1cfbSSuman Anna			reg = <0x00 0x31f88000 0x00 0x200>;
199*d15d1cfbSSuman Anna			#mbox-cells = <1>;
200*d15d1cfbSSuman Anna			ti,mbox-num-users = <4>;
201*d15d1cfbSSuman Anna			ti,mbox-num-fifos = <16>;
202*d15d1cfbSSuman Anna			interrupt-parent = <&main_navss_intr>;
203*d15d1cfbSSuman Anna		};
204*d15d1cfbSSuman Anna
205*d15d1cfbSSuman Anna		mailbox0_cluster9: mailbox@31f89000 {
206*d15d1cfbSSuman Anna			compatible = "ti,am654-mailbox";
207*d15d1cfbSSuman Anna			reg = <0x00 0x31f89000 0x00 0x200>;
208*d15d1cfbSSuman Anna			#mbox-cells = <1>;
209*d15d1cfbSSuman Anna			ti,mbox-num-users = <4>;
210*d15d1cfbSSuman Anna			ti,mbox-num-fifos = <16>;
211*d15d1cfbSSuman Anna			interrupt-parent = <&main_navss_intr>;
212*d15d1cfbSSuman Anna		};
213*d15d1cfbSSuman Anna
214*d15d1cfbSSuman Anna		mailbox0_cluster10: mailbox@31f8a000 {
215*d15d1cfbSSuman Anna			compatible = "ti,am654-mailbox";
216*d15d1cfbSSuman Anna			reg = <0x00 0x31f8a000 0x00 0x200>;
217*d15d1cfbSSuman Anna			#mbox-cells = <1>;
218*d15d1cfbSSuman Anna			ti,mbox-num-users = <4>;
219*d15d1cfbSSuman Anna			ti,mbox-num-fifos = <16>;
220*d15d1cfbSSuman Anna			interrupt-parent = <&main_navss_intr>;
221*d15d1cfbSSuman Anna		};
222*d15d1cfbSSuman Anna
223*d15d1cfbSSuman Anna		mailbox0_cluster11: mailbox@31f8b000 {
224*d15d1cfbSSuman Anna			compatible = "ti,am654-mailbox";
225*d15d1cfbSSuman Anna			reg = <0x00 0x31f8b000 0x00 0x200>;
226*d15d1cfbSSuman Anna			#mbox-cells = <1>;
227*d15d1cfbSSuman Anna			ti,mbox-num-users = <4>;
228*d15d1cfbSSuman Anna			ti,mbox-num-fifos = <16>;
229*d15d1cfbSSuman Anna			interrupt-parent = <&main_navss_intr>;
230*d15d1cfbSSuman Anna		};
231*d15d1cfbSSuman Anna
23246374264SPeter Ujfalusi		main_ringacc: ringacc@3c000000 {
23346374264SPeter Ujfalusi			compatible = "ti,am654-navss-ringacc";
23446374264SPeter Ujfalusi			reg =	<0x00 0x3c000000 0x00 0x400000>,
23546374264SPeter Ujfalusi				<0x00 0x38000000 0x00 0x400000>,
23646374264SPeter Ujfalusi				<0x00 0x31120000 0x00 0x100>,
23746374264SPeter Ujfalusi				<0x00 0x33000000 0x00 0x40000>;
23846374264SPeter Ujfalusi			reg-names = "rt", "fifos", "proxy_gcfg", "proxy_target";
23946374264SPeter Ujfalusi			ti,num-rings = <1024>;
24046374264SPeter Ujfalusi			ti,sci-rm-range-gp-rings = <0x1>; /* GP ring range */
24146374264SPeter Ujfalusi			ti,sci = <&dmsc>;
24246374264SPeter Ujfalusi			ti,sci-dev-id = <211>;
24346374264SPeter Ujfalusi			msi-parent = <&main_udmass_inta>;
24446374264SPeter Ujfalusi		};
24546374264SPeter Ujfalusi
24646374264SPeter Ujfalusi		main_udmap: dma-controller@31150000 {
24746374264SPeter Ujfalusi			compatible = "ti,j721e-navss-main-udmap";
24846374264SPeter Ujfalusi			reg =	<0x00 0x31150000 0x00 0x100>,
24946374264SPeter Ujfalusi				<0x00 0x34000000 0x00 0x100000>,
25046374264SPeter Ujfalusi				<0x00 0x35000000 0x00 0x100000>;
25146374264SPeter Ujfalusi			reg-names = "gcfg", "rchanrt", "tchanrt";
25246374264SPeter Ujfalusi			msi-parent = <&main_udmass_inta>;
25346374264SPeter Ujfalusi			#dma-cells = <1>;
25446374264SPeter Ujfalusi
25546374264SPeter Ujfalusi			ti,sci = <&dmsc>;
25646374264SPeter Ujfalusi			ti,sci-dev-id = <212>;
25746374264SPeter Ujfalusi			ti,ringacc = <&main_ringacc>;
25846374264SPeter Ujfalusi
25946374264SPeter Ujfalusi			ti,sci-rm-range-tchan = <0x0d>, /* TX_CHAN */
26046374264SPeter Ujfalusi						<0x0f>, /* TX_HCHAN */
26146374264SPeter Ujfalusi						<0x10>; /* TX_UHCHAN */
26246374264SPeter Ujfalusi			ti,sci-rm-range-rchan = <0x0a>, /* RX_CHAN */
26346374264SPeter Ujfalusi						<0x0b>, /* RX_HCHAN */
26446374264SPeter Ujfalusi						<0x0c>; /* RX_UHCHAN */
26546374264SPeter Ujfalusi			ti,sci-rm-range-rflow = <0x00>; /* GP RFLOW */
26646374264SPeter Ujfalusi		};
267c5d73d8dSGrygorii Strashko
268c5d73d8dSGrygorii Strashko		cpts@310d0000 {
269c5d73d8dSGrygorii Strashko			compatible = "ti,j721e-cpts";
270c5d73d8dSGrygorii Strashko			reg = <0x00 0x310d0000 0x00 0x400>;
271c5d73d8dSGrygorii Strashko			reg-names = "cpts";
272c5d73d8dSGrygorii Strashko			clocks = <&k3_clks 201 1>;
273c5d73d8dSGrygorii Strashko			clock-names = "cpts";
274c5d73d8dSGrygorii Strashko			interrupts-extended = <&main_navss_intr 391>;
275c5d73d8dSGrygorii Strashko			interrupt-names = "cpts";
276c5d73d8dSGrygorii Strashko			ti,cpts-periodic-outputs = <6>;
277c5d73d8dSGrygorii Strashko			ti,cpts-ext-ts-inputs = <8>;
278c5d73d8dSGrygorii Strashko		};
279d361ed88SLokesh Vutla	};
280d361ed88SLokesh Vutla
281d361ed88SLokesh Vutla	main_pmx0: pinctrl@11c000 {
282d361ed88SLokesh Vutla		compatible = "pinctrl-single";
283d361ed88SLokesh Vutla		/* Proxy 0 addressing */
284d361ed88SLokesh Vutla		reg = <0x00 0x11c000 0x00 0x2b4>;
285d361ed88SLokesh Vutla		#pinctrl-cells = <1>;
286d361ed88SLokesh Vutla		pinctrl-single,register-width = <32>;
287d361ed88SLokesh Vutla		pinctrl-single,function-mask = <0xffffffff>;
288d361ed88SLokesh Vutla	};
289d361ed88SLokesh Vutla
290d361ed88SLokesh Vutla	main_uart0: serial@2800000 {
291d361ed88SLokesh Vutla		compatible = "ti,j721e-uart", "ti,am654-uart";
292d361ed88SLokesh Vutla		reg = <0x00 0x02800000 0x00 0x100>;
293d361ed88SLokesh Vutla		reg-shift = <2>;
294d361ed88SLokesh Vutla		reg-io-width = <4>;
295d361ed88SLokesh Vutla		interrupts = <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>;
296d361ed88SLokesh Vutla		clock-frequency = <48000000>;
297d361ed88SLokesh Vutla		current-speed = <115200>;
298d361ed88SLokesh Vutla		power-domains = <&k3_pds 146 TI_SCI_PD_EXCLUSIVE>;
299d361ed88SLokesh Vutla		clocks = <&k3_clks 146 2>;
300d361ed88SLokesh Vutla		clock-names = "fclk";
301d361ed88SLokesh Vutla	};
302d361ed88SLokesh Vutla
303d361ed88SLokesh Vutla	main_uart1: serial@2810000 {
304d361ed88SLokesh Vutla		compatible = "ti,j721e-uart", "ti,am654-uart";
305d361ed88SLokesh Vutla		reg = <0x00 0x02810000 0x00 0x100>;
306d361ed88SLokesh Vutla		reg-shift = <2>;
307d361ed88SLokesh Vutla		reg-io-width = <4>;
308d361ed88SLokesh Vutla		interrupts = <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>;
309d361ed88SLokesh Vutla		clock-frequency = <48000000>;
310d361ed88SLokesh Vutla		current-speed = <115200>;
311d361ed88SLokesh Vutla		power-domains = <&k3_pds 278 TI_SCI_PD_EXCLUSIVE>;
312d361ed88SLokesh Vutla		clocks = <&k3_clks 278 2>;
313d361ed88SLokesh Vutla		clock-names = "fclk";
314d361ed88SLokesh Vutla	};
315d361ed88SLokesh Vutla
316d361ed88SLokesh Vutla	main_uart2: serial@2820000 {
317d361ed88SLokesh Vutla		compatible = "ti,j721e-uart", "ti,am654-uart";
318d361ed88SLokesh Vutla		reg = <0x00 0x02820000 0x00 0x100>;
319d361ed88SLokesh Vutla		reg-shift = <2>;
320d361ed88SLokesh Vutla		reg-io-width = <4>;
321d361ed88SLokesh Vutla		interrupts = <GIC_SPI 194 IRQ_TYPE_LEVEL_HIGH>;
322d361ed88SLokesh Vutla		clock-frequency = <48000000>;
323d361ed88SLokesh Vutla		current-speed = <115200>;
324d361ed88SLokesh Vutla		power-domains = <&k3_pds 279 TI_SCI_PD_EXCLUSIVE>;
325d361ed88SLokesh Vutla		clocks = <&k3_clks 279 2>;
326d361ed88SLokesh Vutla		clock-names = "fclk";
327d361ed88SLokesh Vutla	};
328d361ed88SLokesh Vutla
329d361ed88SLokesh Vutla	main_uart3: serial@2830000 {
330d361ed88SLokesh Vutla		compatible = "ti,j721e-uart", "ti,am654-uart";
331d361ed88SLokesh Vutla		reg = <0x00 0x02830000 0x00 0x100>;
332d361ed88SLokesh Vutla		reg-shift = <2>;
333d361ed88SLokesh Vutla		reg-io-width = <4>;
334d361ed88SLokesh Vutla		interrupts = <GIC_SPI 195 IRQ_TYPE_LEVEL_HIGH>;
335d361ed88SLokesh Vutla		clock-frequency = <48000000>;
336d361ed88SLokesh Vutla		current-speed = <115200>;
337d361ed88SLokesh Vutla		power-domains = <&k3_pds 280 TI_SCI_PD_EXCLUSIVE>;
338d361ed88SLokesh Vutla		clocks = <&k3_clks 280 2>;
339d361ed88SLokesh Vutla		clock-names = "fclk";
340d361ed88SLokesh Vutla	};
341d361ed88SLokesh Vutla
342d361ed88SLokesh Vutla	main_uart4: serial@2840000 {
343d361ed88SLokesh Vutla		compatible = "ti,j721e-uart", "ti,am654-uart";
344d361ed88SLokesh Vutla		reg = <0x00 0x02840000 0x00 0x100>;
345d361ed88SLokesh Vutla		reg-shift = <2>;
346d361ed88SLokesh Vutla		reg-io-width = <4>;
347d361ed88SLokesh Vutla		interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>;
348d361ed88SLokesh Vutla		clock-frequency = <48000000>;
349d361ed88SLokesh Vutla		current-speed = <115200>;
350d361ed88SLokesh Vutla		power-domains = <&k3_pds 281 TI_SCI_PD_EXCLUSIVE>;
351d361ed88SLokesh Vutla		clocks = <&k3_clks 281 2>;
352d361ed88SLokesh Vutla		clock-names = "fclk";
353d361ed88SLokesh Vutla	};
354d361ed88SLokesh Vutla
355d361ed88SLokesh Vutla	main_uart5: serial@2850000 {
356d361ed88SLokesh Vutla		compatible = "ti,j721e-uart", "ti,am654-uart";
357d361ed88SLokesh Vutla		reg = <0x00 0x02850000 0x00 0x100>;
358d361ed88SLokesh Vutla		reg-shift = <2>;
359d361ed88SLokesh Vutla		reg-io-width = <4>;
360d361ed88SLokesh Vutla		interrupts = <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
361d361ed88SLokesh Vutla		clock-frequency = <48000000>;
362d361ed88SLokesh Vutla		current-speed = <115200>;
363d361ed88SLokesh Vutla		power-domains = <&k3_pds 282 TI_SCI_PD_EXCLUSIVE>;
364d361ed88SLokesh Vutla		clocks = <&k3_clks 282 2>;
365d361ed88SLokesh Vutla		clock-names = "fclk";
366d361ed88SLokesh Vutla	};
367d361ed88SLokesh Vutla
368d361ed88SLokesh Vutla	main_uart6: serial@2860000 {
369d361ed88SLokesh Vutla		compatible = "ti,j721e-uart", "ti,am654-uart";
370d361ed88SLokesh Vutla		reg = <0x00 0x02860000 0x00 0x100>;
371d361ed88SLokesh Vutla		reg-shift = <2>;
372d361ed88SLokesh Vutla		reg-io-width = <4>;
373d361ed88SLokesh Vutla		interrupts = <GIC_SPI 198 IRQ_TYPE_LEVEL_HIGH>;
374d361ed88SLokesh Vutla		clock-frequency = <48000000>;
375d361ed88SLokesh Vutla		current-speed = <115200>;
376d361ed88SLokesh Vutla		power-domains = <&k3_pds 283 TI_SCI_PD_EXCLUSIVE>;
377d361ed88SLokesh Vutla		clocks = <&k3_clks 283 2>;
378d361ed88SLokesh Vutla		clock-names = "fclk";
379d361ed88SLokesh Vutla	};
380d361ed88SLokesh Vutla
381d361ed88SLokesh Vutla	main_uart7: serial@2870000 {
382d361ed88SLokesh Vutla		compatible = "ti,j721e-uart", "ti,am654-uart";
383d361ed88SLokesh Vutla		reg = <0x00 0x02870000 0x00 0x100>;
384d361ed88SLokesh Vutla		reg-shift = <2>;
385d361ed88SLokesh Vutla		reg-io-width = <4>;
386d361ed88SLokesh Vutla		interrupts = <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH>;
387d361ed88SLokesh Vutla		clock-frequency = <48000000>;
388d361ed88SLokesh Vutla		current-speed = <115200>;
389d361ed88SLokesh Vutla		power-domains = <&k3_pds 284 TI_SCI_PD_EXCLUSIVE>;
390d361ed88SLokesh Vutla		clocks = <&k3_clks 284 2>;
391d361ed88SLokesh Vutla		clock-names = "fclk";
392d361ed88SLokesh Vutla	};
393d361ed88SLokesh Vutla
394d361ed88SLokesh Vutla	main_uart8: serial@2880000 {
395d361ed88SLokesh Vutla		compatible = "ti,j721e-uart", "ti,am654-uart";
396d361ed88SLokesh Vutla		reg = <0x00 0x02880000 0x00 0x100>;
397d361ed88SLokesh Vutla		reg-shift = <2>;
398d361ed88SLokesh Vutla		reg-io-width = <4>;
399d361ed88SLokesh Vutla		interrupts = <GIC_SPI 248 IRQ_TYPE_LEVEL_HIGH>;
400d361ed88SLokesh Vutla		clock-frequency = <48000000>;
401d361ed88SLokesh Vutla		current-speed = <115200>;
402d361ed88SLokesh Vutla		power-domains = <&k3_pds 285 TI_SCI_PD_EXCLUSIVE>;
403d361ed88SLokesh Vutla		clocks = <&k3_clks 285 2>;
404d361ed88SLokesh Vutla		clock-names = "fclk";
405d361ed88SLokesh Vutla	};
406d361ed88SLokesh Vutla
407d361ed88SLokesh Vutla	main_uart9: serial@2890000 {
408d361ed88SLokesh Vutla		compatible = "ti,j721e-uart", "ti,am654-uart";
409d361ed88SLokesh Vutla		reg = <0x00 0x02890000 0x00 0x100>;
410d361ed88SLokesh Vutla		reg-shift = <2>;
411d361ed88SLokesh Vutla		reg-io-width = <4>;
412d361ed88SLokesh Vutla		interrupts = <GIC_SPI 249 IRQ_TYPE_LEVEL_HIGH>;
413d361ed88SLokesh Vutla		clock-frequency = <48000000>;
414d361ed88SLokesh Vutla		current-speed = <115200>;
415d361ed88SLokesh Vutla		power-domains = <&k3_pds 286 TI_SCI_PD_EXCLUSIVE>;
416d361ed88SLokesh Vutla		clocks = <&k3_clks 286 2>;
417d361ed88SLokesh Vutla		clock-names = "fclk";
418d361ed88SLokesh Vutla	};
41903bfeb52SVignesh Raghavendra
42003bfeb52SVignesh Raghavendra	main_i2c0: i2c@2000000 {
42103bfeb52SVignesh Raghavendra		compatible = "ti,j721e-i2c", "ti,omap4-i2c";
42203bfeb52SVignesh Raghavendra		reg = <0x00 0x2000000 0x00 0x100>;
42303bfeb52SVignesh Raghavendra		interrupts = <GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH>;
42403bfeb52SVignesh Raghavendra		#address-cells = <1>;
42503bfeb52SVignesh Raghavendra		#size-cells = <0>;
42603bfeb52SVignesh Raghavendra		clock-names = "fck";
42703bfeb52SVignesh Raghavendra		clocks = <&k3_clks 187 1>;
42803bfeb52SVignesh Raghavendra		power-domains = <&k3_pds 187 TI_SCI_PD_SHARED>;
42903bfeb52SVignesh Raghavendra	};
43003bfeb52SVignesh Raghavendra
43103bfeb52SVignesh Raghavendra	main_i2c1: i2c@2010000 {
43203bfeb52SVignesh Raghavendra		compatible = "ti,j721e-i2c", "ti,omap4-i2c";
43303bfeb52SVignesh Raghavendra		reg = <0x00 0x2010000 0x00 0x100>;
43403bfeb52SVignesh Raghavendra		interrupts = <GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH>;
43503bfeb52SVignesh Raghavendra		#address-cells = <1>;
43603bfeb52SVignesh Raghavendra		#size-cells = <0>;
43703bfeb52SVignesh Raghavendra		clock-names = "fck";
43803bfeb52SVignesh Raghavendra		clocks = <&k3_clks 188 1>;
43903bfeb52SVignesh Raghavendra		power-domains = <&k3_pds 188 TI_SCI_PD_EXCLUSIVE>;
44003bfeb52SVignesh Raghavendra	};
44103bfeb52SVignesh Raghavendra
44203bfeb52SVignesh Raghavendra	main_i2c2: i2c@2020000 {
44303bfeb52SVignesh Raghavendra		compatible = "ti,j721e-i2c", "ti,omap4-i2c";
44403bfeb52SVignesh Raghavendra		reg = <0x00 0x2020000 0x00 0x100>;
44503bfeb52SVignesh Raghavendra		interrupts = <GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH>;
44603bfeb52SVignesh Raghavendra		#address-cells = <1>;
44703bfeb52SVignesh Raghavendra		#size-cells = <0>;
44803bfeb52SVignesh Raghavendra		clock-names = "fck";
44903bfeb52SVignesh Raghavendra		clocks = <&k3_clks 189 1>;
45003bfeb52SVignesh Raghavendra		power-domains = <&k3_pds 189 TI_SCI_PD_EXCLUSIVE>;
45103bfeb52SVignesh Raghavendra	};
45203bfeb52SVignesh Raghavendra
45303bfeb52SVignesh Raghavendra	main_i2c3: i2c@2030000 {
45403bfeb52SVignesh Raghavendra		compatible = "ti,j721e-i2c", "ti,omap4-i2c";
45503bfeb52SVignesh Raghavendra		reg = <0x00 0x2030000 0x00 0x100>;
45603bfeb52SVignesh Raghavendra		interrupts = <GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH>;
45703bfeb52SVignesh Raghavendra		#address-cells = <1>;
45803bfeb52SVignesh Raghavendra		#size-cells = <0>;
45903bfeb52SVignesh Raghavendra		clock-names = "fck";
46003bfeb52SVignesh Raghavendra		clocks = <&k3_clks 190 1>;
46103bfeb52SVignesh Raghavendra		power-domains = <&k3_pds 190 TI_SCI_PD_EXCLUSIVE>;
46203bfeb52SVignesh Raghavendra	};
46303bfeb52SVignesh Raghavendra
46403bfeb52SVignesh Raghavendra	main_i2c4: i2c@2040000 {
46503bfeb52SVignesh Raghavendra		compatible = "ti,j721e-i2c", "ti,omap4-i2c";
46603bfeb52SVignesh Raghavendra		reg = <0x00 0x2040000 0x00 0x100>;
46703bfeb52SVignesh Raghavendra		interrupts = <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>;
46803bfeb52SVignesh Raghavendra		#address-cells = <1>;
46903bfeb52SVignesh Raghavendra		#size-cells = <0>;
47003bfeb52SVignesh Raghavendra		clock-names = "fck";
47103bfeb52SVignesh Raghavendra		clocks = <&k3_clks 191 1>;
47203bfeb52SVignesh Raghavendra		power-domains = <&k3_pds 191 TI_SCI_PD_EXCLUSIVE>;
47303bfeb52SVignesh Raghavendra	};
47403bfeb52SVignesh Raghavendra
47503bfeb52SVignesh Raghavendra	main_i2c5: i2c@2050000 {
47603bfeb52SVignesh Raghavendra		compatible = "ti,j721e-i2c", "ti,omap4-i2c";
47703bfeb52SVignesh Raghavendra		reg = <0x00 0x2050000 0x00 0x100>;
47803bfeb52SVignesh Raghavendra		interrupts = <GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH>;
47903bfeb52SVignesh Raghavendra		#address-cells = <1>;
48003bfeb52SVignesh Raghavendra		#size-cells = <0>;
48103bfeb52SVignesh Raghavendra		clock-names = "fck";
48203bfeb52SVignesh Raghavendra		clocks = <&k3_clks 192 1>;
48303bfeb52SVignesh Raghavendra		power-domains = <&k3_pds 192 TI_SCI_PD_EXCLUSIVE>;
48403bfeb52SVignesh Raghavendra	};
48503bfeb52SVignesh Raghavendra
48603bfeb52SVignesh Raghavendra	main_i2c6: i2c@2060000 {
48703bfeb52SVignesh Raghavendra		compatible = "ti,j721e-i2c", "ti,omap4-i2c";
48803bfeb52SVignesh Raghavendra		reg = <0x00 0x2060000 0x00 0x100>;
48903bfeb52SVignesh Raghavendra		interrupts = <GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH>;
49003bfeb52SVignesh Raghavendra		#address-cells = <1>;
49103bfeb52SVignesh Raghavendra		#size-cells = <0>;
49203bfeb52SVignesh Raghavendra		clock-names = "fck";
49303bfeb52SVignesh Raghavendra		clocks = <&k3_clks 193 1>;
49403bfeb52SVignesh Raghavendra		power-domains = <&k3_pds 193 TI_SCI_PD_EXCLUSIVE>;
49503bfeb52SVignesh Raghavendra	};
4967cd03dc7SFaiz Abbas
4977cd03dc7SFaiz Abbas	main_sdhci0: mmc@4f80000 {
4987cd03dc7SFaiz Abbas		compatible = "ti,j7200-sdhci-8bit", "ti,j721e-sdhci-8bit";
4997cd03dc7SFaiz Abbas		reg = <0x00 0x04f80000 0x00 0x260>, <0x00 0x4f88000 0x00 0x134>;
5007cd03dc7SFaiz Abbas		interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
5017cd03dc7SFaiz Abbas		power-domains = <&k3_pds 91 TI_SCI_PD_EXCLUSIVE>;
5027cd03dc7SFaiz Abbas		clock-names = "clk_xin", "clk_ahb";
5037cd03dc7SFaiz Abbas		clocks = <&k3_clks 91 3>, <&k3_clks 91 0>;
5047cd03dc7SFaiz Abbas		ti,otap-del-sel-legacy = <0x0>;
5057cd03dc7SFaiz Abbas		ti,otap-del-sel-mmc-hs = <0x0>;
5067cd03dc7SFaiz Abbas		ti,otap-del-sel-ddr52 = <0x6>;
5077cd03dc7SFaiz Abbas		ti,otap-del-sel-hs200 = <0x8>;
5087cd03dc7SFaiz Abbas		ti,otap-del-sel-hs400 = <0x0>;
5097cd03dc7SFaiz Abbas		ti,strobe-sel = <0x77>;
5107cd03dc7SFaiz Abbas		ti,trm-icp = <0x8>;
5117cd03dc7SFaiz Abbas		bus-width = <8>;
5127cd03dc7SFaiz Abbas		mmc-ddr-1_8v;
5137cd03dc7SFaiz Abbas		dma-coherent;
5147cd03dc7SFaiz Abbas	};
5157cd03dc7SFaiz Abbas
5167cd03dc7SFaiz Abbas	main_sdhci1: mmc@4fb0000 {
5177cd03dc7SFaiz Abbas		compatible = "ti,j7200-sdhci-4bit", "ti,j721e-sdhci-4bit";
5187cd03dc7SFaiz Abbas		reg = <0x00 0x04fb0000 0x00 0x260>, <0x00 0x4fb8000 0x00 0x134>;
5197cd03dc7SFaiz Abbas		interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
5207cd03dc7SFaiz Abbas		power-domains = <&k3_pds 92 TI_SCI_PD_EXCLUSIVE>;
5217cd03dc7SFaiz Abbas		clock-names = "clk_xin", "clk_ahb";
5227cd03dc7SFaiz Abbas		clocks = <&k3_clks 92 2>, <&k3_clks 92 1>;
5237cd03dc7SFaiz Abbas		ti,otap-del-sel-legacy = <0x0>;
5247cd03dc7SFaiz Abbas		ti,otap-del-sel-sd-hs = <0x0>;
5257cd03dc7SFaiz Abbas		ti,otap-del-sel-sdr12 = <0xf>;
5267cd03dc7SFaiz Abbas		ti,otap-del-sel-sdr25 = <0xf>;
5277cd03dc7SFaiz Abbas		ti,otap-del-sel-sdr50 = <0xc>;
5287cd03dc7SFaiz Abbas		ti,otap-del-sel-sdr104 = <0x5>;
5297cd03dc7SFaiz Abbas		ti,otap-del-sel-ddr50 = <0xc>;
5307cd03dc7SFaiz Abbas		no-1-8-v;
5317cd03dc7SFaiz Abbas		dma-coherent;
5327cd03dc7SFaiz Abbas	};
5336197d713SRoger Quadros
5346197d713SRoger Quadros	usbss0: cdns-usb@4104000 {
5356197d713SRoger Quadros		compatible = "ti,j721e-usb";
5366197d713SRoger Quadros		reg = <0x00 0x4104000 0x00 0x100>;
5376197d713SRoger Quadros		dma-coherent;
5386197d713SRoger Quadros		power-domains = <&k3_pds 288 TI_SCI_PD_EXCLUSIVE>;
5396197d713SRoger Quadros		clocks = <&k3_clks 288 12>, <&k3_clks 288 3>;
5406197d713SRoger Quadros		clock-names = "ref", "lpm";
5416197d713SRoger Quadros		assigned-clocks = <&k3_clks 288 12>;	/* USB2_REFCLK */
5426197d713SRoger Quadros		assigned-clock-parents = <&k3_clks 288 13>; /* HFOSC0 */
5436197d713SRoger Quadros		#address-cells = <2>;
5446197d713SRoger Quadros		#size-cells = <2>;
5456197d713SRoger Quadros		ranges;
5466197d713SRoger Quadros
5476197d713SRoger Quadros		usb0: usb@6000000 {
5486197d713SRoger Quadros			compatible = "cdns,usb3";
5496197d713SRoger Quadros			reg = <0x00 0x6000000 0x00 0x10000>,
5506197d713SRoger Quadros			      <0x00 0x6010000 0x00 0x10000>,
5516197d713SRoger Quadros			      <0x00 0x6020000 0x00 0x10000>;
5526197d713SRoger Quadros			reg-names = "otg", "xhci", "dev";
5536197d713SRoger Quadros			interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>,	/* irq.0 */
5546197d713SRoger Quadros				     <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,	/* irq.6 */
5556197d713SRoger Quadros				     <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;	/* otgirq.0 */
5566197d713SRoger Quadros			interrupt-names = "host",
5576197d713SRoger Quadros					  "peripheral",
5586197d713SRoger Quadros					  "otg";
5596197d713SRoger Quadros			maximum-speed = "super-speed";
5606197d713SRoger Quadros			dr_mode = "otg";
5616197d713SRoger Quadros		};
5626197d713SRoger Quadros	};
563d361ed88SLokesh Vutla};
564