1d361ed88SLokesh Vutla// SPDX-License-Identifier: GPL-2.0
2d361ed88SLokesh Vutla/*
3d361ed88SLokesh Vutla * Device Tree Source for J7200 SoC Family MCU/WAKEUP Domain peripherals
4d361ed88SLokesh Vutla *
5eb6f3655SSuman Anna * Copyright (C) 2020-2021 Texas Instruments Incorporated - https://www.ti.com/
6d361ed88SLokesh Vutla */
7d361ed88SLokesh Vutla
8d361ed88SLokesh Vutla&cbass_mcu_wakeup {
99d3c9378SNishanth Menon	dmsc: system-controller@44083000 {
10d361ed88SLokesh Vutla		compatible = "ti,k2g-sci";
11d361ed88SLokesh Vutla		ti,host-id = <12>;
12d361ed88SLokesh Vutla
13d361ed88SLokesh Vutla		mbox-names = "rx", "tx";
14d361ed88SLokesh Vutla
15d361ed88SLokesh Vutla		mboxes = <&secure_proxy_main 11>,
16d361ed88SLokesh Vutla			 <&secure_proxy_main 13>;
17d361ed88SLokesh Vutla
18d361ed88SLokesh Vutla		reg-names = "debug_messages";
19d361ed88SLokesh Vutla		reg = <0x00 0x44083000 0x00 0x1000>;
20d361ed88SLokesh Vutla
21d361ed88SLokesh Vutla		k3_pds: power-controller {
22d361ed88SLokesh Vutla			compatible = "ti,sci-pm-domain";
23d361ed88SLokesh Vutla			#power-domain-cells = <2>;
24d361ed88SLokesh Vutla		};
25d361ed88SLokesh Vutla
26a0812885SNishanth Menon		k3_clks: clock-controller {
27d361ed88SLokesh Vutla			compatible = "ti,k2g-sci-clk";
28d361ed88SLokesh Vutla			#clock-cells = <2>;
29d361ed88SLokesh Vutla		};
30d361ed88SLokesh Vutla
31d361ed88SLokesh Vutla		k3_reset: reset-controller {
32d361ed88SLokesh Vutla			compatible = "ti,sci-reset";
33d361ed88SLokesh Vutla			#reset-cells = <2>;
34d361ed88SLokesh Vutla		};
35d361ed88SLokesh Vutla	};
36d361ed88SLokesh Vutla
37a323da4bSGrygorii Strashko	mcu_conf: syscon@40f00000 {
38a323da4bSGrygorii Strashko		compatible = "syscon", "simple-mfd";
39a323da4bSGrygorii Strashko		reg = <0x00 0x40f00000 0x00 0x20000>;
40a323da4bSGrygorii Strashko		#address-cells = <1>;
41a323da4bSGrygorii Strashko		#size-cells = <1>;
42a323da4bSGrygorii Strashko		ranges = <0x00 0x00 0x40f00000 0x20000>;
43a323da4bSGrygorii Strashko
44a323da4bSGrygorii Strashko		phy_gmii_sel: phy@4040 {
45a323da4bSGrygorii Strashko			compatible = "ti,am654-phy-gmii-sel";
46a323da4bSGrygorii Strashko			reg = <0x4040 0x4>;
47a323da4bSGrygorii Strashko			#phy-cells = <1>;
48a323da4bSGrygorii Strashko		};
49a323da4bSGrygorii Strashko	};
50a323da4bSGrygorii Strashko
51d361ed88SLokesh Vutla	chipid@43000014 {
52d361ed88SLokesh Vutla		compatible = "ti,am654-chipid";
53d361ed88SLokesh Vutla		reg = <0x00 0x43000014 0x00 0x4>;
54d361ed88SLokesh Vutla	};
55d361ed88SLokesh Vutla
56d361ed88SLokesh Vutla	wkup_pmx0: pinctrl@4301c000 {
57d361ed88SLokesh Vutla		compatible = "pinctrl-single";
58d361ed88SLokesh Vutla		/* Proxy 0 addressing */
599ae21ac4SVaishnav Achath		reg = <0x00 0x4301c000 0x00 0x34>;
609ae21ac4SVaishnav Achath		#pinctrl-cells = <1>;
619ae21ac4SVaishnav Achath		pinctrl-single,register-width = <32>;
629ae21ac4SVaishnav Achath		pinctrl-single,function-mask = <0xffffffff>;
639ae21ac4SVaishnav Achath	};
649ae21ac4SVaishnav Achath
659ae21ac4SVaishnav Achath	wkup_pmx1: pinctrl@0x4301c038 {
669ae21ac4SVaishnav Achath		compatible = "pinctrl-single";
679ae21ac4SVaishnav Achath		/* Proxy 0 addressing */
689ae21ac4SVaishnav Achath		reg = <0x00 0x4301c038 0x00 0x8>;
699ae21ac4SVaishnav Achath		#pinctrl-cells = <1>;
709ae21ac4SVaishnav Achath		pinctrl-single,register-width = <32>;
719ae21ac4SVaishnav Achath		pinctrl-single,function-mask = <0xffffffff>;
729ae21ac4SVaishnav Achath	};
739ae21ac4SVaishnav Achath
749ae21ac4SVaishnav Achath	wkup_pmx2: pinctrl@0x4301c068 {
759ae21ac4SVaishnav Achath		compatible = "pinctrl-single";
769ae21ac4SVaishnav Achath		/* Proxy 0 addressing */
779ae21ac4SVaishnav Achath		reg = <0x00 0x4301c068 0x00 0xec>;
789ae21ac4SVaishnav Achath		#pinctrl-cells = <1>;
799ae21ac4SVaishnav Achath		pinctrl-single,register-width = <32>;
809ae21ac4SVaishnav Achath		pinctrl-single,function-mask = <0xffffffff>;
819ae21ac4SVaishnav Achath	};
829ae21ac4SVaishnav Achath
839ae21ac4SVaishnav Achath	wkup_pmx3: pinctrl@0x4301c174 {
849ae21ac4SVaishnav Achath		compatible = "pinctrl-single";
859ae21ac4SVaishnav Achath		/* Proxy 0 addressing */
869ae21ac4SVaishnav Achath		reg = <0x00 0x4301c174 0x00 0x20>;
87d361ed88SLokesh Vutla		#pinctrl-cells = <1>;
88d361ed88SLokesh Vutla		pinctrl-single,register-width = <32>;
89d361ed88SLokesh Vutla		pinctrl-single,function-mask = <0xffffffff>;
90d361ed88SLokesh Vutla	};
91d361ed88SLokesh Vutla
92d361ed88SLokesh Vutla	mcu_ram: sram@41c00000 {
93d361ed88SLokesh Vutla		compatible = "mmio-sram";
94d361ed88SLokesh Vutla		reg = <0x00 0x41c00000 0x00 0x100000>;
95d361ed88SLokesh Vutla		ranges = <0x00 0x00 0x41c00000 0x100000>;
96d361ed88SLokesh Vutla		#address-cells = <1>;
97d361ed88SLokesh Vutla		#size-cells = <1>;
98d361ed88SLokesh Vutla	};
99d361ed88SLokesh Vutla
100d361ed88SLokesh Vutla	wkup_uart0: serial@42300000 {
101d361ed88SLokesh Vutla		compatible = "ti,j721e-uart", "ti,am654-uart";
102d361ed88SLokesh Vutla		reg = <0x00 0x42300000 0x00 0x100>;
103d361ed88SLokesh Vutla		interrupts = <GIC_SPI 897 IRQ_TYPE_LEVEL_HIGH>;
104d361ed88SLokesh Vutla		clock-frequency = <48000000>;
105d361ed88SLokesh Vutla		current-speed = <115200>;
106d361ed88SLokesh Vutla		power-domains = <&k3_pds 287 TI_SCI_PD_EXCLUSIVE>;
107d361ed88SLokesh Vutla		clocks = <&k3_clks 287 2>;
108d361ed88SLokesh Vutla		clock-names = "fclk";
109dae322f8SAndrew Davis		status = "disabled";
110d361ed88SLokesh Vutla	};
111d361ed88SLokesh Vutla
112d361ed88SLokesh Vutla	mcu_uart0: serial@40a00000 {
113d361ed88SLokesh Vutla		compatible = "ti,j721e-uart", "ti,am654-uart";
114d361ed88SLokesh Vutla		reg = <0x00 0x40a00000 0x00 0x100>;
115d361ed88SLokesh Vutla		interrupts = <GIC_SPI 846 IRQ_TYPE_LEVEL_HIGH>;
116d361ed88SLokesh Vutla		clock-frequency = <96000000>;
117d361ed88SLokesh Vutla		current-speed = <115200>;
118d361ed88SLokesh Vutla		power-domains = <&k3_pds 149 TI_SCI_PD_EXCLUSIVE>;
119d361ed88SLokesh Vutla		clocks = <&k3_clks 149 2>;
120d361ed88SLokesh Vutla		clock-names = "fclk";
121dae322f8SAndrew Davis		status = "disabled";
122d361ed88SLokesh Vutla	};
123d361ed88SLokesh Vutla
124cab12badSNishanth Menon	wkup_gpio_intr: interrupt-controller@42200000 {
125d361ed88SLokesh Vutla		compatible = "ti,sci-intr";
126cab12badSNishanth Menon		reg = <0x00 0x42200000 0x00 0x400>;
127d361ed88SLokesh Vutla		ti,intr-trigger-type = <1>;
128d361ed88SLokesh Vutla		interrupt-controller;
129d361ed88SLokesh Vutla		interrupt-parent = <&gic500>;
130d361ed88SLokesh Vutla		#interrupt-cells = <1>;
131d361ed88SLokesh Vutla		ti,sci = <&dmsc>;
132d361ed88SLokesh Vutla		ti,sci-dev-id = <137>;
133d361ed88SLokesh Vutla		ti,interrupt-ranges = <16 960 16>;
134d361ed88SLokesh Vutla	};
13546374264SPeter Ujfalusi
136e0b2e6afSFaiz Abbas	wkup_gpio0: gpio@42110000 {
137e0b2e6afSFaiz Abbas		compatible = "ti,j721e-gpio", "ti,keystone-gpio";
138e0b2e6afSFaiz Abbas		reg = <0x00 0x42110000 0x00 0x100>;
139e0b2e6afSFaiz Abbas		gpio-controller;
140e0b2e6afSFaiz Abbas		#gpio-cells = <2>;
141e0b2e6afSFaiz Abbas		interrupt-parent = <&wkup_gpio_intr>;
142e0b2e6afSFaiz Abbas		interrupts = <103>, <104>, <105>, <106>, <107>, <108>;
143e0b2e6afSFaiz Abbas		interrupt-controller;
144e0b2e6afSFaiz Abbas		#interrupt-cells = <2>;
145e0b2e6afSFaiz Abbas		ti,ngpio = <85>;
146e0b2e6afSFaiz Abbas		ti,davinci-gpio-unbanked = <0>;
147e0b2e6afSFaiz Abbas		power-domains = <&k3_pds 113 TI_SCI_PD_EXCLUSIVE>;
148e0b2e6afSFaiz Abbas		clocks = <&k3_clks 113 0>;
149e0b2e6afSFaiz Abbas		clock-names = "gpio";
150e0b2e6afSFaiz Abbas	};
151e0b2e6afSFaiz Abbas
152e0b2e6afSFaiz Abbas	wkup_gpio1: gpio@42100000 {
153e0b2e6afSFaiz Abbas		compatible = "ti,j721e-gpio", "ti,keystone-gpio";
154e0b2e6afSFaiz Abbas		reg = <0x00 0x42100000 0x00 0x100>;
155e0b2e6afSFaiz Abbas		gpio-controller;
156e0b2e6afSFaiz Abbas		#gpio-cells = <2>;
157e0b2e6afSFaiz Abbas		interrupt-parent = <&wkup_gpio_intr>;
158e0b2e6afSFaiz Abbas		interrupts = <112>, <113>, <114>, <115>, <116>, <117>;
159e0b2e6afSFaiz Abbas		interrupt-controller;
160e0b2e6afSFaiz Abbas		#interrupt-cells = <2>;
161e0b2e6afSFaiz Abbas		ti,ngpio = <85>;
162e0b2e6afSFaiz Abbas		ti,davinci-gpio-unbanked = <0>;
163e0b2e6afSFaiz Abbas		power-domains = <&k3_pds 114 TI_SCI_PD_EXCLUSIVE>;
164e0b2e6afSFaiz Abbas		clocks = <&k3_clks 114 0>;
165e0b2e6afSFaiz Abbas		clock-names = "gpio";
166e0b2e6afSFaiz Abbas	};
167e0b2e6afSFaiz Abbas
16846374264SPeter Ujfalusi	mcu_navss: bus@28380000 {
16946374264SPeter Ujfalusi		compatible = "simple-mfd";
17046374264SPeter Ujfalusi		#address-cells = <2>;
17146374264SPeter Ujfalusi		#size-cells = <2>;
17246374264SPeter Ujfalusi		ranges = <0x00 0x28380000 0x00 0x28380000 0x00 0x03880000>;
17346374264SPeter Ujfalusi		dma-coherent;
17446374264SPeter Ujfalusi		dma-ranges;
17546374264SPeter Ujfalusi		ti,sci-dev-id = <232>;
17646374264SPeter Ujfalusi
17746374264SPeter Ujfalusi		mcu_ringacc: ringacc@2b800000 {
17846374264SPeter Ujfalusi			compatible = "ti,am654-navss-ringacc";
17946374264SPeter Ujfalusi			reg =	<0x00 0x2b800000 0x00 0x400000>,
18046374264SPeter Ujfalusi				<0x00 0x2b000000 0x00 0x400000>,
18146374264SPeter Ujfalusi				<0x00 0x28590000 0x00 0x100>,
18246374264SPeter Ujfalusi				<0x00 0x2a500000 0x00 0x40000>;
18346374264SPeter Ujfalusi			reg-names = "rt", "fifos", "proxy_gcfg", "proxy_target";
18446374264SPeter Ujfalusi			ti,num-rings = <286>;
18546374264SPeter Ujfalusi			ti,sci-rm-range-gp-rings = <0x1>; /* GP ring range */
18646374264SPeter Ujfalusi			ti,sci = <&dmsc>;
18746374264SPeter Ujfalusi			ti,sci-dev-id = <235>;
18846374264SPeter Ujfalusi			msi-parent = <&main_udmass_inta>;
18946374264SPeter Ujfalusi		};
19046374264SPeter Ujfalusi
19146374264SPeter Ujfalusi		mcu_udmap: dma-controller@285c0000 {
19246374264SPeter Ujfalusi			compatible = "ti,j721e-navss-mcu-udmap";
19346374264SPeter Ujfalusi			reg =	<0x00 0x285c0000 0x00 0x100>,
19446374264SPeter Ujfalusi				<0x00 0x2a800000 0x00 0x40000>,
19546374264SPeter Ujfalusi				<0x00 0x2aa00000 0x00 0x40000>;
19646374264SPeter Ujfalusi			reg-names = "gcfg", "rchanrt", "tchanrt";
19746374264SPeter Ujfalusi			msi-parent = <&main_udmass_inta>;
19846374264SPeter Ujfalusi			#dma-cells = <1>;
19946374264SPeter Ujfalusi
20046374264SPeter Ujfalusi			ti,sci = <&dmsc>;
20146374264SPeter Ujfalusi			ti,sci-dev-id = <236>;
20246374264SPeter Ujfalusi			ti,ringacc = <&mcu_ringacc>;
20346374264SPeter Ujfalusi
20446374264SPeter Ujfalusi			ti,sci-rm-range-tchan = <0x0d>, /* TX_CHAN */
20546374264SPeter Ujfalusi						<0x0f>; /* TX_HCHAN */
20646374264SPeter Ujfalusi			ti,sci-rm-range-rchan = <0x0a>, /* RX_CHAN */
20746374264SPeter Ujfalusi						<0x0b>; /* RX_HCHAN */
20846374264SPeter Ujfalusi			ti,sci-rm-range-rflow = <0x00>; /* GP RFLOW */
20946374264SPeter Ujfalusi		};
21046374264SPeter Ujfalusi	};
211a323da4bSGrygorii Strashko
212a323da4bSGrygorii Strashko	mcu_cpsw: ethernet@46000000 {
213a323da4bSGrygorii Strashko		compatible = "ti,j721e-cpsw-nuss";
214a323da4bSGrygorii Strashko		#address-cells = <2>;
215a323da4bSGrygorii Strashko		#size-cells = <2>;
216a323da4bSGrygorii Strashko		reg = <0x00 0x46000000 0x00 0x200000>;
217a323da4bSGrygorii Strashko		reg-names = "cpsw_nuss";
218a323da4bSGrygorii Strashko		ranges = <0x00 0x00 0x00 0x46000000 0x00 0x200000>;
219a323da4bSGrygorii Strashko		dma-coherent;
220a323da4bSGrygorii Strashko		clocks = <&k3_clks 18 21>;
221a323da4bSGrygorii Strashko		clock-names = "fck";
222a323da4bSGrygorii Strashko		power-domains = <&k3_pds 18 TI_SCI_PD_EXCLUSIVE>;
223a323da4bSGrygorii Strashko
224a323da4bSGrygorii Strashko		dmas = <&mcu_udmap 0xf000>,
225a323da4bSGrygorii Strashko		       <&mcu_udmap 0xf001>,
226a323da4bSGrygorii Strashko		       <&mcu_udmap 0xf002>,
227a323da4bSGrygorii Strashko		       <&mcu_udmap 0xf003>,
228a323da4bSGrygorii Strashko		       <&mcu_udmap 0xf004>,
229a323da4bSGrygorii Strashko		       <&mcu_udmap 0xf005>,
230a323da4bSGrygorii Strashko		       <&mcu_udmap 0xf006>,
231a323da4bSGrygorii Strashko		       <&mcu_udmap 0xf007>,
232a323da4bSGrygorii Strashko		       <&mcu_udmap 0x7000>;
233a323da4bSGrygorii Strashko		dma-names = "tx0", "tx1", "tx2", "tx3",
234a323da4bSGrygorii Strashko			    "tx4", "tx5", "tx6", "tx7",
235a323da4bSGrygorii Strashko			    "rx";
236a323da4bSGrygorii Strashko
237a323da4bSGrygorii Strashko		ethernet-ports {
238a323da4bSGrygorii Strashko			#address-cells = <1>;
239a323da4bSGrygorii Strashko			#size-cells = <0>;
240a323da4bSGrygorii Strashko
241a323da4bSGrygorii Strashko			cpsw_port1: port@1 {
242a323da4bSGrygorii Strashko				reg = <1>;
243a323da4bSGrygorii Strashko				ti,mac-only;
244a323da4bSGrygorii Strashko				label = "port1";
245a323da4bSGrygorii Strashko				ti,syscon-efuse = <&mcu_conf 0x200>;
246a323da4bSGrygorii Strashko				phys = <&phy_gmii_sel 1>;
247a323da4bSGrygorii Strashko			};
248a323da4bSGrygorii Strashko		};
249a323da4bSGrygorii Strashko
250a323da4bSGrygorii Strashko		davinci_mdio: mdio@f00 {
251a323da4bSGrygorii Strashko			compatible = "ti,cpsw-mdio","ti,davinci_mdio";
252a323da4bSGrygorii Strashko			reg = <0x00 0xf00 0x00 0x100>;
253a323da4bSGrygorii Strashko			#address-cells = <1>;
254a323da4bSGrygorii Strashko			#size-cells = <0>;
255a323da4bSGrygorii Strashko			clocks = <&k3_clks 18 21>;
256a323da4bSGrygorii Strashko			clock-names = "fck";
257a323da4bSGrygorii Strashko			bus_freq = <1000000>;
258a323da4bSGrygorii Strashko		};
259a323da4bSGrygorii Strashko
260a323da4bSGrygorii Strashko		cpts@3d000 {
261a323da4bSGrygorii Strashko			compatible = "ti,am65-cpts";
262a323da4bSGrygorii Strashko			reg = <0x00 0x3d000 0x00 0x400>;
263a323da4bSGrygorii Strashko			clocks = <&k3_clks 18 2>;
264a323da4bSGrygorii Strashko			clock-names = "cpts";
265a323da4bSGrygorii Strashko			interrupts-extended = <&gic500 GIC_SPI 858 IRQ_TYPE_LEVEL_HIGH>;
266a323da4bSGrygorii Strashko			interrupt-names = "cpts";
267a323da4bSGrygorii Strashko			ti,cpts-ext-ts-inputs = <4>;
268a323da4bSGrygorii Strashko			ti,cpts-periodic-outputs = <2>;
269a323da4bSGrygorii Strashko		};
270a323da4bSGrygorii Strashko	};
27103bfeb52SVignesh Raghavendra
27203bfeb52SVignesh Raghavendra	mcu_i2c0: i2c@40b00000 {
27303bfeb52SVignesh Raghavendra		compatible = "ti,j721e-i2c", "ti,omap4-i2c";
27403bfeb52SVignesh Raghavendra		reg = <0x00 0x40b00000 0x00 0x100>;
27503bfeb52SVignesh Raghavendra		interrupts = <GIC_SPI 852 IRQ_TYPE_LEVEL_HIGH>;
27603bfeb52SVignesh Raghavendra		#address-cells = <1>;
27703bfeb52SVignesh Raghavendra		#size-cells = <0>;
27803bfeb52SVignesh Raghavendra		clock-names = "fck";
27903bfeb52SVignesh Raghavendra		clocks = <&k3_clks 194 1>;
28003bfeb52SVignesh Raghavendra		power-domains = <&k3_pds 194 TI_SCI_PD_EXCLUSIVE>;
281a9ed915cSAndrew Davis		status = "disabled";
28203bfeb52SVignesh Raghavendra	};
28303bfeb52SVignesh Raghavendra
28403bfeb52SVignesh Raghavendra	mcu_i2c1: i2c@40b10000 {
28503bfeb52SVignesh Raghavendra		compatible = "ti,j721e-i2c", "ti,omap4-i2c";
28603bfeb52SVignesh Raghavendra		reg = <0x00 0x40b10000 0x00 0x100>;
28703bfeb52SVignesh Raghavendra		interrupts = <GIC_SPI 853 IRQ_TYPE_LEVEL_HIGH>;
28803bfeb52SVignesh Raghavendra		#address-cells = <1>;
28903bfeb52SVignesh Raghavendra		#size-cells = <0>;
29003bfeb52SVignesh Raghavendra		clock-names = "fck";
29103bfeb52SVignesh Raghavendra		clocks = <&k3_clks 195 1>;
29203bfeb52SVignesh Raghavendra		power-domains = <&k3_pds 195 TI_SCI_PD_EXCLUSIVE>;
293a9ed915cSAndrew Davis		status = "disabled";
29403bfeb52SVignesh Raghavendra	};
29503bfeb52SVignesh Raghavendra
29603bfeb52SVignesh Raghavendra	wkup_i2c0: i2c@42120000 {
29703bfeb52SVignesh Raghavendra		compatible = "ti,j721e-i2c", "ti,omap4-i2c";
29803bfeb52SVignesh Raghavendra		reg = <0x00 0x42120000 0x00 0x100>;
29903bfeb52SVignesh Raghavendra		interrupts = <GIC_SPI 896 IRQ_TYPE_LEVEL_HIGH>;
30003bfeb52SVignesh Raghavendra		#address-cells = <1>;
30103bfeb52SVignesh Raghavendra		#size-cells = <0>;
30203bfeb52SVignesh Raghavendra		clock-names = "fck";
30303bfeb52SVignesh Raghavendra		clocks = <&k3_clks 197 1>;
30403bfeb52SVignesh Raghavendra		power-domains = <&k3_pds 197 TI_SCI_PD_SHARED>;
305a9ed915cSAndrew Davis		status = "disabled";
30603bfeb52SVignesh Raghavendra	};
3071b772656SVignesh Raghavendra
308*8f6c475fSVaishnav Achath	mcu_spi0: spi@40300000 {
309*8f6c475fSVaishnav Achath		compatible = "ti,am654-mcspi", "ti,omap4-mcspi";
310*8f6c475fSVaishnav Achath		reg = <0x00 0x040300000 0x00 0x400>;
311*8f6c475fSVaishnav Achath		interrupts = <GIC_SPI 848 IRQ_TYPE_LEVEL_HIGH>;
312*8f6c475fSVaishnav Achath		#address-cells = <1>;
313*8f6c475fSVaishnav Achath		#size-cells = <0>;
314*8f6c475fSVaishnav Achath		power-domains = <&k3_pds 274 TI_SCI_PD_EXCLUSIVE>;
315*8f6c475fSVaishnav Achath		clocks = <&k3_clks 274 0>;
316*8f6c475fSVaishnav Achath		status = "disabled";
317*8f6c475fSVaishnav Achath	};
318*8f6c475fSVaishnav Achath
319*8f6c475fSVaishnav Achath	mcu_spi1: spi@40310000 {
320*8f6c475fSVaishnav Achath		compatible = "ti,am654-mcspi", "ti,omap4-mcspi";
321*8f6c475fSVaishnav Achath		reg = <0x00 0x040310000 0x00 0x400>;
322*8f6c475fSVaishnav Achath		interrupts = <GIC_SPI 849 IRQ_TYPE_LEVEL_HIGH>;
323*8f6c475fSVaishnav Achath		#address-cells = <1>;
324*8f6c475fSVaishnav Achath		#size-cells = <0>;
325*8f6c475fSVaishnav Achath		power-domains = <&k3_pds 275 TI_SCI_PD_EXCLUSIVE>;
326*8f6c475fSVaishnav Achath		clocks = <&k3_clks 275 0>;
327*8f6c475fSVaishnav Achath		status = "disabled";
328*8f6c475fSVaishnav Achath	};
329*8f6c475fSVaishnav Achath
330*8f6c475fSVaishnav Achath	mcu_spi2: spi@40320000 {
331*8f6c475fSVaishnav Achath		compatible = "ti,am654-mcspi", "ti,omap4-mcspi";
332*8f6c475fSVaishnav Achath		reg = <0x00 0x040320000 0x00 0x400>;
333*8f6c475fSVaishnav Achath		interrupts = <GIC_SPI 850 IRQ_TYPE_LEVEL_HIGH>;
334*8f6c475fSVaishnav Achath		#address-cells = <1>;
335*8f6c475fSVaishnav Achath		#size-cells = <0>;
336*8f6c475fSVaishnav Achath		power-domains = <&k3_pds 276 TI_SCI_PD_EXCLUSIVE>;
337*8f6c475fSVaishnav Achath		clocks = <&k3_clks 276 0>;
338*8f6c475fSVaishnav Achath		status = "disabled";
339*8f6c475fSVaishnav Achath	};
340*8f6c475fSVaishnav Achath
3411b772656SVignesh Raghavendra	fss: syscon@47000000 {
3421b772656SVignesh Raghavendra		compatible = "syscon", "simple-mfd";
3431b772656SVignesh Raghavendra		reg = <0x00 0x47000000 0x00 0x100>;
3441b772656SVignesh Raghavendra		#address-cells = <2>;
3451b772656SVignesh Raghavendra		#size-cells = <2>;
3461b772656SVignesh Raghavendra		ranges;
3471b772656SVignesh Raghavendra
3481b772656SVignesh Raghavendra		hbmc_mux: hbmc-mux {
3491b772656SVignesh Raghavendra			compatible = "mmio-mux";
3501b772656SVignesh Raghavendra			#mux-control-cells = <1>;
3511b772656SVignesh Raghavendra			mux-reg-masks = <0x4 0x2>; /* HBMC select */
3521b772656SVignesh Raghavendra		};
3531b772656SVignesh Raghavendra
3541b772656SVignesh Raghavendra		hbmc: hyperbus@47034000 {
3551b772656SVignesh Raghavendra			compatible = "ti,am654-hbmc";
3561b772656SVignesh Raghavendra			reg = <0x00 0x47034000 0x00 0x100>,
3571b772656SVignesh Raghavendra				<0x05 0x00000000 0x01 0x0000000>;
3581b772656SVignesh Raghavendra			power-domains = <&k3_pds 102 TI_SCI_PD_EXCLUSIVE>;
3591b772656SVignesh Raghavendra			clocks = <&k3_clks 102 0>;
3601b772656SVignesh Raghavendra			assigned-clocks = <&k3_clks 102 5>;
3611b772656SVignesh Raghavendra			assigned-clock-rates = <333333333>;
3621b772656SVignesh Raghavendra			#address-cells = <2>;
3631b772656SVignesh Raghavendra			#size-cells = <1>;
3641b772656SVignesh Raghavendra			mux-controls = <&hbmc_mux 0>;
3651b772656SVignesh Raghavendra		};
366efbdf2e9SPratyush Yadav
367efbdf2e9SPratyush Yadav		ospi0: spi@47040000 {
3680e941f49SPratyush Yadav			compatible = "ti,am654-ospi", "cdns,qspi-nor";
369efbdf2e9SPratyush Yadav			reg = <0x0 0x47040000 0x0 0x100>,
370efbdf2e9SPratyush Yadav			      <0x5 0x00000000 0x1 0x0000000>;
371efbdf2e9SPratyush Yadav			interrupts = <GIC_SPI 840 IRQ_TYPE_LEVEL_HIGH>;
372efbdf2e9SPratyush Yadav			cdns,fifo-depth = <256>;
373efbdf2e9SPratyush Yadav			cdns,fifo-width = <4>;
374efbdf2e9SPratyush Yadav			cdns,trigger-address = <0x0>;
375efbdf2e9SPratyush Yadav			clocks = <&k3_clks 103 0>;
376efbdf2e9SPratyush Yadav			assigned-clocks = <&k3_clks 103 0>;
377efbdf2e9SPratyush Yadav			assigned-clock-parents = <&k3_clks 103 2>;
378efbdf2e9SPratyush Yadav			assigned-clock-rates = <166666666>;
379efbdf2e9SPratyush Yadav			power-domains = <&k3_pds 103 TI_SCI_PD_EXCLUSIVE>;
380efbdf2e9SPratyush Yadav			#address-cells = <1>;
381efbdf2e9SPratyush Yadav			#size-cells = <0>;
382efbdf2e9SPratyush Yadav		};
3831b772656SVignesh Raghavendra	};
384e6b45168SVignesh Raghavendra
385e6b45168SVignesh Raghavendra	tscadc0: tscadc@40200000 {
386e6b45168SVignesh Raghavendra		compatible = "ti,am3359-tscadc";
387e6b45168SVignesh Raghavendra		reg = <0x00 0x40200000 0x00 0x1000>;
388e6b45168SVignesh Raghavendra		interrupts = <GIC_SPI 860 IRQ_TYPE_LEVEL_HIGH>;
389e6b45168SVignesh Raghavendra		power-domains = <&k3_pds 0 TI_SCI_PD_EXCLUSIVE>;
390e6b45168SVignesh Raghavendra		clocks = <&k3_clks 0 1>;
391e6b45168SVignesh Raghavendra		assigned-clocks = <&k3_clks 0 3>;
392e6b45168SVignesh Raghavendra		assigned-clock-rates = <60000000>;
393e5bad300SMatt Ranostay		clock-names = "fck";
394e6b45168SVignesh Raghavendra		dmas = <&main_udmap 0x7400>,
395e6b45168SVignesh Raghavendra			<&main_udmap 0x7401>;
396e6b45168SVignesh Raghavendra		dma-names = "fifo0", "fifo1";
397e6b45168SVignesh Raghavendra
398e6b45168SVignesh Raghavendra		adc {
399e6b45168SVignesh Raghavendra			#io-channel-cells = <1>;
400e6b45168SVignesh Raghavendra			compatible = "ti,am3359-adc";
401e6b45168SVignesh Raghavendra		};
402e6b45168SVignesh Raghavendra	};
403eb6f3655SSuman Anna
404eb6f3655SSuman Anna	mcu_r5fss0: r5fss@41000000 {
405eb6f3655SSuman Anna		compatible = "ti,j7200-r5fss";
406eb6f3655SSuman Anna		ti,cluster-mode = <1>;
407eb6f3655SSuman Anna		#address-cells = <1>;
408eb6f3655SSuman Anna		#size-cells = <1>;
409eb6f3655SSuman Anna		ranges = <0x41000000 0x00 0x41000000 0x20000>,
410eb6f3655SSuman Anna			 <0x41400000 0x00 0x41400000 0x20000>;
411eb6f3655SSuman Anna		power-domains = <&k3_pds 249 TI_SCI_PD_EXCLUSIVE>;
412eb6f3655SSuman Anna
413eb6f3655SSuman Anna		mcu_r5fss0_core0: r5f@41000000 {
414eb6f3655SSuman Anna			compatible = "ti,j7200-r5f";
415eb6f3655SSuman Anna			reg = <0x41000000 0x00010000>,
416eb6f3655SSuman Anna			      <0x41010000 0x00010000>;
417eb6f3655SSuman Anna			reg-names = "atcm", "btcm";
418eb6f3655SSuman Anna			ti,sci = <&dmsc>;
419eb6f3655SSuman Anna			ti,sci-dev-id = <250>;
420eb6f3655SSuman Anna			ti,sci-proc-ids = <0x01 0xff>;
421eb6f3655SSuman Anna			resets = <&k3_reset 250 1>;
422eb6f3655SSuman Anna			firmware-name = "j7200-mcu-r5f0_0-fw";
423eb6f3655SSuman Anna			ti,atcm-enable = <1>;
424eb6f3655SSuman Anna			ti,btcm-enable = <1>;
425eb6f3655SSuman Anna			ti,loczrama = <1>;
426eb6f3655SSuman Anna		};
427eb6f3655SSuman Anna
428eb6f3655SSuman Anna		mcu_r5fss0_core1: r5f@41400000 {
429eb6f3655SSuman Anna			compatible = "ti,j7200-r5f";
430eb6f3655SSuman Anna			reg = <0x41400000 0x00008000>,
431eb6f3655SSuman Anna			      <0x41410000 0x00008000>;
432eb6f3655SSuman Anna			reg-names = "atcm", "btcm";
433eb6f3655SSuman Anna			ti,sci = <&dmsc>;
434eb6f3655SSuman Anna			ti,sci-dev-id = <251>;
435eb6f3655SSuman Anna			ti,sci-proc-ids = <0x02 0xff>;
436eb6f3655SSuman Anna			resets = <&k3_reset 251 1>;
437eb6f3655SSuman Anna			firmware-name = "j7200-mcu-r5f0_1-fw";
438eb6f3655SSuman Anna			ti,atcm-enable = <1>;
439eb6f3655SSuman Anna			ti,btcm-enable = <1>;
440eb6f3655SSuman Anna			ti,loczrama = <1>;
441eb6f3655SSuman Anna		};
442eb6f3655SSuman Anna	};
443d683a739SAndrew Davis
444d683a739SAndrew Davis	mcu_crypto: crypto@40900000 {
445d683a739SAndrew Davis		compatible = "ti,j721e-sa2ul";
446d683a739SAndrew Davis		reg = <0x00 0x40900000 0x00 0x1200>;
447d683a739SAndrew Davis		power-domains = <&k3_pds 265 TI_SCI_PD_SHARED>;
448d683a739SAndrew Davis		#address-cells = <2>;
449d683a739SAndrew Davis		#size-cells = <2>;
450d683a739SAndrew Davis		ranges = <0x00 0x40900000 0x00 0x40900000 0x00 0x30000>;
451d683a739SAndrew Davis		dmas = <&mcu_udmap 0xf501>, <&mcu_udmap 0x7502>,
452d683a739SAndrew Davis		       <&mcu_udmap 0x7503>;
453d683a739SAndrew Davis		dma-names = "tx", "rx1", "rx2";
454d683a739SAndrew Davis
455d683a739SAndrew Davis		rng: rng@40910000 {
456d683a739SAndrew Davis			compatible = "inside-secure,safexcel-eip76";
457d683a739SAndrew Davis			reg = <0x00 0x40910000 0x00 0x7d>;
458d683a739SAndrew Davis			interrupts = <GIC_SPI 945 IRQ_TYPE_LEVEL_HIGH>;
459d683a739SAndrew Davis			status = "disabled"; /* Used by OP-TEE */
460d683a739SAndrew Davis		};
461d683a739SAndrew Davis	};
462d361ed88SLokesh Vutla};
463