14201af25SNishanth Menon// SPDX-License-Identifier: GPL-2.0
24201af25SNishanth Menon/*
34201af25SNishanth Menon * Device Tree Source for AM6 SoC Family MCU Domain peripherals
44201af25SNishanth Menon *
55bb9e0f6SSuman Anna * Copyright (C) 2016-2020 Texas Instruments Incorporated - https://www.ti.com/
64201af25SNishanth Menon */
74201af25SNishanth Menon
84201af25SNishanth Menon&cbass_mcu {
9e5c956c4SNishanth Menon	mcu_conf: scm-conf@40f00000 {
10f2965b99SGrygorii Strashko		compatible = "syscon", "simple-mfd";
11f2965b99SGrygorii Strashko		reg = <0x0 0x40f00000 0x0 0x20000>;
12f2965b99SGrygorii Strashko		#address-cells = <1>;
13f2965b99SGrygorii Strashko		#size-cells = <1>;
14f2965b99SGrygorii Strashko		ranges = <0x0 0x0 0x40f00000 0x20000>;
15243246b5SGrygorii Strashko
16243246b5SGrygorii Strashko		phy_gmii_sel: phy@4040 {
17243246b5SGrygorii Strashko			compatible = "ti,am654-phy-gmii-sel";
18243246b5SGrygorii Strashko			reg = <0x4040 0x4>;
19243246b5SGrygorii Strashko			#phy-cells = <1>;
20243246b5SGrygorii Strashko		};
21f2965b99SGrygorii Strashko	};
22f2965b99SGrygorii Strashko
237928c712STony Lindgren	/* MCU_TIMERIO pad input CTRLMMR_MCU_TIMER*_CTRL registers */
247928c712STony Lindgren	mcu_timerio_input: pinctrl@40f04200 {
257928c712STony Lindgren		compatible = "pinctrl-single";
267928c712STony Lindgren		reg = <0x0 0x40f04200 0x0 0x10>;
277928c712STony Lindgren		#pinctrl-cells = <1>;
287928c712STony Lindgren		pinctrl-single,register-width = <32>;
297928c712STony Lindgren		pinctrl-single,function-mask = <0x00000101>;
307928c712STony Lindgren	};
317928c712STony Lindgren
327928c712STony Lindgren	/* MCU_TIMERIO pad output CTRLMMR_MCU_TIMERIO*_CTRL registers */
337928c712STony Lindgren	mcu_timerio_output: pinctrl@40f04280 {
347928c712STony Lindgren		compatible = "pinctrl-single";
357928c712STony Lindgren		reg = <0x0 0x40f04280 0x0 0x8>;
367928c712STony Lindgren		#pinctrl-cells = <1>;
377928c712STony Lindgren		pinctrl-single,register-width = <32>;
387928c712STony Lindgren		pinctrl-single,function-mask = <0x00000003>;
397928c712STony Lindgren	};
407928c712STony Lindgren
414201af25SNishanth Menon	mcu_uart0: serial@40a00000 {
424201af25SNishanth Menon		compatible = "ti,am654-uart";
434201af25SNishanth Menon		reg = <0x00 0x40a00000 0x00 0x100>;
444201af25SNishanth Menon		interrupts = <GIC_SPI 565 IRQ_TYPE_LEVEL_HIGH>;
454201af25SNishanth Menon		clock-frequency = <96000000>;
464201af25SNishanth Menon		current-speed = <115200>;
47c68272cbSLokesh Vutla		power-domains = <&k3_pds 149 TI_SCI_PD_EXCLUSIVE>;
4865e8781aSAndrew Davis		status = "disabled";
494201af25SNishanth Menon	};
5019a1768fSVignesh R
51f853f005SSuman Anna	mcu_ram: sram@41c00000 {
52f853f005SSuman Anna		compatible = "mmio-sram";
53f853f005SSuman Anna		reg = <0x00 0x41c00000 0x00 0x80000>;
54f853f005SSuman Anna		ranges = <0x0 0x00 0x41c00000 0x80000>;
55f853f005SSuman Anna		#address-cells = <1>;
56f853f005SSuman Anna		#size-cells = <1>;
57f853f005SSuman Anna	};
58f853f005SSuman Anna
5919a1768fSVignesh R	mcu_i2c0: i2c@40b00000 {
6019a1768fSVignesh R		compatible = "ti,am654-i2c", "ti,omap4-i2c";
6119a1768fSVignesh R		reg = <0x0 0x40b00000 0x0 0x100>;
6219a1768fSVignesh R		interrupts = <GIC_SPI 564 IRQ_TYPE_LEVEL_HIGH>;
6319a1768fSVignesh R		#address-cells = <1>;
6419a1768fSVignesh R		#size-cells = <0>;
6519a1768fSVignesh R		clock-names = "fck";
6619a1768fSVignesh R		clocks = <&k3_clks 114 1>;
67c68272cbSLokesh Vutla		power-domains = <&k3_pds 114 TI_SCI_PD_EXCLUSIVE>;
68c0a5ba87SAndrew Davis		status = "disabled";
6919a1768fSVignesh R	};
702cd7d393SVignesh R
712cd7d393SVignesh R	mcu_spi0: spi@40300000 {
722cd7d393SVignesh R		compatible = "ti,am654-mcspi","ti,omap4-mcspi";
732cd7d393SVignesh R		reg = <0x0 0x40300000 0x0 0x400>;
742cd7d393SVignesh R		interrupts = <GIC_SPI 560 IRQ_TYPE_LEVEL_HIGH>;
752cd7d393SVignesh R		clocks = <&k3_clks 142 1>;
76c68272cbSLokesh Vutla		power-domains = <&k3_pds 142 TI_SCI_PD_EXCLUSIVE>;
772cd7d393SVignesh R		#address-cells = <1>;
782cd7d393SVignesh R		#size-cells = <0>;
791c49cbb1SAndrew Davis		status = "disabled";
802cd7d393SVignesh R	};
812cd7d393SVignesh R
822cd7d393SVignesh R	mcu_spi1: spi@40310000 {
832cd7d393SVignesh R		compatible = "ti,am654-mcspi","ti,omap4-mcspi";
842cd7d393SVignesh R		reg = <0x0 0x40310000 0x0 0x400>;
852cd7d393SVignesh R		interrupts = <GIC_SPI 561 IRQ_TYPE_LEVEL_HIGH>;
862cd7d393SVignesh R		clocks = <&k3_clks 143 1>;
87c68272cbSLokesh Vutla		power-domains = <&k3_pds 143 TI_SCI_PD_EXCLUSIVE>;
882cd7d393SVignesh R		#address-cells = <1>;
892cd7d393SVignesh R		#size-cells = <0>;
901c49cbb1SAndrew Davis		status = "disabled";
912cd7d393SVignesh R	};
922cd7d393SVignesh R
932cd7d393SVignesh R	mcu_spi2: spi@40320000 {
942cd7d393SVignesh R		compatible = "ti,am654-mcspi","ti,omap4-mcspi";
952cd7d393SVignesh R		reg = <0x0 0x40320000 0x0 0x400>;
962cd7d393SVignesh R		interrupts = <GIC_SPI 562 IRQ_TYPE_LEVEL_HIGH>;
972cd7d393SVignesh R		clocks = <&k3_clks 144 1>;
98c68272cbSLokesh Vutla		power-domains = <&k3_pds 144 TI_SCI_PD_EXCLUSIVE>;
992cd7d393SVignesh R		#address-cells = <1>;
1002cd7d393SVignesh R		#size-cells = <0>;
1011c49cbb1SAndrew Davis		status = "disabled";
1022cd7d393SVignesh R	};
103aa6eaaa2SVignesh R
104aa6eaaa2SVignesh R	tscadc0: tscadc@40200000 {
105aa6eaaa2SVignesh R		compatible = "ti,am654-tscadc", "ti,am3359-tscadc";
106aa6eaaa2SVignesh R		reg = <0x0 0x40200000 0x0 0x1000>;
107aa6eaaa2SVignesh R		interrupts = <GIC_SPI 580 IRQ_TYPE_LEVEL_HIGH>;
108aa6eaaa2SVignesh R		clocks = <&k3_clks 0 2>;
109aa6eaaa2SVignesh R		assigned-clocks = <&k3_clks 0 2>;
110aa6eaaa2SVignesh R		assigned-clock-rates = <60000000>;
111e5bad300SMatt Ranostay		clock-names = "fck";
11285800da0SVignesh Raghavendra		dmas = <&mcu_udmap 0x7100>,
11385800da0SVignesh Raghavendra			<&mcu_udmap 0x7101 >;
11485800da0SVignesh Raghavendra		dma-names = "fifo0", "fifo1";
115aa6eaaa2SVignesh R
116aa6eaaa2SVignesh R		adc {
117aa6eaaa2SVignesh R			#io-channel-cells = <1>;
118aa6eaaa2SVignesh R			compatible = "ti,am654-adc", "ti,am3359-adc";
119aa6eaaa2SVignesh R		};
120aa6eaaa2SVignesh R	};
121aa6eaaa2SVignesh R
122aa6eaaa2SVignesh R	tscadc1: tscadc@40210000 {
123aa6eaaa2SVignesh R		compatible = "ti,am654-tscadc", "ti,am3359-tscadc";
124aa6eaaa2SVignesh R		reg = <0x0 0x40210000 0x0 0x1000>;
125aa6eaaa2SVignesh R		interrupts = <GIC_SPI 581 IRQ_TYPE_LEVEL_HIGH>;
126aa6eaaa2SVignesh R		clocks = <&k3_clks 1 2>;
127aa6eaaa2SVignesh R		assigned-clocks = <&k3_clks 1 2>;
128aa6eaaa2SVignesh R		assigned-clock-rates = <60000000>;
129e5bad300SMatt Ranostay		clock-names = "fck";
13085800da0SVignesh Raghavendra		dmas = <&mcu_udmap 0x7102>,
13185800da0SVignesh Raghavendra			<&mcu_udmap 0x7103>;
13285800da0SVignesh Raghavendra		dma-names = "fifo0", "fifo1";
133aa6eaaa2SVignesh R
134aa6eaaa2SVignesh R		adc {
135aa6eaaa2SVignesh R			#io-channel-cells = <1>;
136aa6eaaa2SVignesh R			compatible = "ti,am654-adc", "ti,am3359-adc";
137aa6eaaa2SVignesh R		};
138aa6eaaa2SVignesh R	};
13907481770SVignesh Raghavendra
140cdbaf880STony Lindgren	/*
141cdbaf880STony Lindgren	 * The MCU domain timer interrupts are routed only to the ESM module,
142cdbaf880STony Lindgren	 * and not currently available for Linux. The MCU domain timers are
143cdbaf880STony Lindgren	 * of limited use without interrupts, and likely reserved by the ESM.
144cdbaf880STony Lindgren	 */
145cdbaf880STony Lindgren	mcu_timer0: timer@40400000 {
146cdbaf880STony Lindgren		compatible = "ti,am654-timer";
147cdbaf880STony Lindgren		reg = <0x00 0x40400000 0x00 0x400>;
148cdbaf880STony Lindgren		clocks = <&k3_clks 35 0>;
149cdbaf880STony Lindgren		clock-names = "fck";
150cdbaf880STony Lindgren		power-domains = <&k3_pds 35 TI_SCI_PD_EXCLUSIVE>;
151cdbaf880STony Lindgren		ti,timer-pwm;
152cdbaf880STony Lindgren		status = "reserved";
153cdbaf880STony Lindgren	};
154cdbaf880STony Lindgren
155cdbaf880STony Lindgren	mcu_timer1: timer@40410000 {
156cdbaf880STony Lindgren		compatible = "ti,am654-timer";
157cdbaf880STony Lindgren		reg = <0x00 0x40410000 0x00 0x400>;
158cdbaf880STony Lindgren		clocks = <&k3_clks 36 0>;
159cdbaf880STony Lindgren		clock-names = "fck";
160cdbaf880STony Lindgren		power-domains = <&k3_pds 36 TI_SCI_PD_EXCLUSIVE>;
161cdbaf880STony Lindgren		ti,timer-pwm;
162cdbaf880STony Lindgren		status = "reserved";
163cdbaf880STony Lindgren	};
164cdbaf880STony Lindgren
165cdbaf880STony Lindgren	mcu_timer2: timer@40420000 {
166cdbaf880STony Lindgren		compatible = "ti,am654-timer";
167cdbaf880STony Lindgren		reg = <0x00 0x40420000 0x00 0x400>;
168cdbaf880STony Lindgren		clocks = <&k3_clks 37 0>;
169cdbaf880STony Lindgren		clock-names = "fck";
170cdbaf880STony Lindgren		power-domains = <&k3_pds 37 TI_SCI_PD_EXCLUSIVE>;
171cdbaf880STony Lindgren		ti,timer-pwm;
172cdbaf880STony Lindgren		status = "reserved";
173cdbaf880STony Lindgren	};
174cdbaf880STony Lindgren
175cdbaf880STony Lindgren	mcu_timer3: timer@40430000 {
176cdbaf880STony Lindgren		compatible = "ti,am654-timer";
177cdbaf880STony Lindgren		reg = <0x00 0x40430000 0x00 0x400>;
178cdbaf880STony Lindgren		clocks = <&k3_clks 38 0>;
179cdbaf880STony Lindgren		clock-names = "fck";
180cdbaf880STony Lindgren		power-domains = <&k3_pds 38 TI_SCI_PD_EXCLUSIVE>;
181cdbaf880STony Lindgren		ti,timer-pwm;
182cdbaf880STony Lindgren		status = "reserved";
183cdbaf880STony Lindgren	};
184cdbaf880STony Lindgren
1859ecdb6d6SNishanth Menon	mcu_navss: bus@28380000 {
1863d623054SPeter Ujfalusi		compatible = "simple-mfd";
1873d623054SPeter Ujfalusi		#address-cells = <2>;
1883d623054SPeter Ujfalusi		#size-cells = <2>;
1899ecdb6d6SNishanth Menon		ranges = <0x00 0x28380000 0x00 0x28380000 0x00 0x03880000>;
1903d623054SPeter Ujfalusi		dma-coherent;
1913d623054SPeter Ujfalusi		dma-ranges;
1923d623054SPeter Ujfalusi
1933d623054SPeter Ujfalusi		ti,sci-dev-id = <119>;
1943d623054SPeter Ujfalusi
1953d623054SPeter Ujfalusi		mcu_ringacc: ringacc@2b800000 {
1963d623054SPeter Ujfalusi			compatible = "ti,am654-navss-ringacc";
1973d623054SPeter Ujfalusi			reg = <0x0 0x2b800000 0x0 0x400000>,
1983d623054SPeter Ujfalusi			      <0x0 0x2b000000 0x0 0x400000>,
1993d623054SPeter Ujfalusi			      <0x0 0x28590000 0x0 0x100>,
200702110c2SVignesh Raghavendra			      <0x0 0x2a500000 0x0 0x40000>,
201702110c2SVignesh Raghavendra			      <0x0 0x28440000 0x0 0x40000>;
202702110c2SVignesh Raghavendra			reg-names = "rt", "fifos", "proxy_gcfg",
203702110c2SVignesh Raghavendra				    "proxy_target", "cfg";
2043d623054SPeter Ujfalusi			ti,num-rings = <286>;
2056da45875SLokesh Vutla			ti,sci-rm-range-gp-rings = <0x1>; /* GP ring range */
2063d623054SPeter Ujfalusi			ti,sci = <&dmsc>;
2073d623054SPeter Ujfalusi			ti,sci-dev-id = <195>;
2083d623054SPeter Ujfalusi			msi-parent = <&inta_main_udmass>;
2093d623054SPeter Ujfalusi		};
2103d623054SPeter Ujfalusi
2113d623054SPeter Ujfalusi		mcu_udmap: dma-controller@285c0000 {
2123d623054SPeter Ujfalusi			compatible = "ti,am654-navss-mcu-udmap";
2133d623054SPeter Ujfalusi			reg = <0x0 0x285c0000 0x0 0x100>,
2143d623054SPeter Ujfalusi			      <0x0 0x2a800000 0x0 0x40000>,
2153d623054SPeter Ujfalusi			      <0x0 0x2aa00000 0x0 0x40000>;
2163d623054SPeter Ujfalusi			reg-names = "gcfg", "rchanrt", "tchanrt";
2173d623054SPeter Ujfalusi			msi-parent = <&inta_main_udmass>;
2183d623054SPeter Ujfalusi			#dma-cells = <1>;
2193d623054SPeter Ujfalusi
2203d623054SPeter Ujfalusi			ti,sci = <&dmsc>;
2213d623054SPeter Ujfalusi			ti,sci-dev-id = <194>;
2223d623054SPeter Ujfalusi			ti,ringacc = <&mcu_ringacc>;
2233d623054SPeter Ujfalusi
2246da45875SLokesh Vutla			ti,sci-rm-range-tchan = <0xf>, /* TX_HCHAN */
2256da45875SLokesh Vutla						<0xd>; /* TX_CHAN */
2266da45875SLokesh Vutla			ti,sci-rm-range-rchan = <0xb>, /* RX_HCHAN */
2276da45875SLokesh Vutla						<0xa>; /* RX_CHAN */
2286da45875SLokesh Vutla			ti,sci-rm-range-rflow = <0x0>; /* GP RFLOW */
2293d623054SPeter Ujfalusi		};
2303d623054SPeter Ujfalusi	};
2313d623054SPeter Ujfalusi
23284debc33SNishanth Menon	secure_proxy_mcu: mailbox@2a480000 {
23384debc33SNishanth Menon		compatible = "ti,am654-secure-proxy";
23484debc33SNishanth Menon		#mbox-cells = <1>;
23584debc33SNishanth Menon		reg-names = "target_data", "rt", "scfg";
23684debc33SNishanth Menon		reg = <0x0 0x2a480000 0x0 0x80000>,
23784debc33SNishanth Menon		      <0x0 0x2a380000 0x0 0x80000>,
23884debc33SNishanth Menon		      <0x0 0x2a400000 0x0 0x80000>;
23984debc33SNishanth Menon		/*
24084debc33SNishanth Menon		 * Marked Disabled:
24184debc33SNishanth Menon		 * Node is incomplete as it is meant for bootloaders and
24284debc33SNishanth Menon		 * firmware on non-MPU processors
24384debc33SNishanth Menon		 */
24484debc33SNishanth Menon		status = "disabled";
24584debc33SNishanth Menon	};
24684debc33SNishanth Menon
247498f7b0fSNishanth Menon	m_can0: can@40528000 {
248c3e4ea55SFaiz Abbas		compatible = "bosch,m_can";
249c3e4ea55SFaiz Abbas		reg = <0x0 0x40528000 0x0 0x400>,
250c3e4ea55SFaiz Abbas		      <0x0 0x40500000 0x0 0x4400>;
251c3e4ea55SFaiz Abbas		reg-names = "m_can", "message_ram";
252c3e4ea55SFaiz Abbas		power-domains = <&k3_pds 102 TI_SCI_PD_EXCLUSIVE>;
253c3e4ea55SFaiz Abbas		clocks = <&k3_clks 102 5>, <&k3_clks 102 0>;
254c3e4ea55SFaiz Abbas		clock-names = "hclk", "cclk";
255c3e4ea55SFaiz Abbas		interrupt-parent = <&gic500>;
256c3e4ea55SFaiz Abbas		interrupts = <GIC_SPI 544 IRQ_TYPE_LEVEL_HIGH>,
257c3e4ea55SFaiz Abbas			     <GIC_SPI 545 IRQ_TYPE_LEVEL_HIGH>;
258c3e4ea55SFaiz Abbas		interrupt-names = "int0", "int1";
259c3e4ea55SFaiz Abbas		bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>;
260b08bf4a5SAndrew Davis		status = "disabled";
261c3e4ea55SFaiz Abbas	};
262c3e4ea55SFaiz Abbas
263498f7b0fSNishanth Menon	m_can1: can@40568000 {
264c3e4ea55SFaiz Abbas		compatible = "bosch,m_can";
265c3e4ea55SFaiz Abbas		reg = <0x0 0x40568000 0x0 0x400>,
266c3e4ea55SFaiz Abbas		      <0x0 0x40540000 0x0 0x4400>;
267c3e4ea55SFaiz Abbas		reg-names = "m_can", "message_ram";
268c3e4ea55SFaiz Abbas		power-domains = <&k3_pds 103 TI_SCI_PD_EXCLUSIVE>;
269c3e4ea55SFaiz Abbas		clocks = <&k3_clks 103 5>, <&k3_clks 103 0>;
270c3e4ea55SFaiz Abbas		clock-names = "hclk", "cclk";
271c3e4ea55SFaiz Abbas		interrupt-parent = <&gic500>;
272c3e4ea55SFaiz Abbas		interrupts = <GIC_SPI 547 IRQ_TYPE_LEVEL_HIGH>,
273c3e4ea55SFaiz Abbas			     <GIC_SPI 548 IRQ_TYPE_LEVEL_HIGH>;
274c3e4ea55SFaiz Abbas		interrupt-names = "int0", "int1";
275c3e4ea55SFaiz Abbas		bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>;
276b08bf4a5SAndrew Davis		status = "disabled";
277c3e4ea55SFaiz Abbas	};
278c3e4ea55SFaiz Abbas
27907481770SVignesh Raghavendra	fss: fss@47000000 {
28007481770SVignesh Raghavendra		compatible = "simple-bus";
28107481770SVignesh Raghavendra		#address-cells = <2>;
28207481770SVignesh Raghavendra		#size-cells = <2>;
28307481770SVignesh Raghavendra		ranges;
28407481770SVignesh Raghavendra
28507481770SVignesh Raghavendra		ospi0: spi@47040000 {
28607481770SVignesh Raghavendra			compatible = "ti,am654-ospi", "cdns,qspi-nor";
28707481770SVignesh Raghavendra			reg = <0x0 0x47040000 0x0 0x100>,
28807481770SVignesh Raghavendra				<0x5 0x00000000 0x1 0x0000000>;
28907481770SVignesh Raghavendra			interrupts = <GIC_SPI 552 IRQ_TYPE_LEVEL_HIGH>;
29007481770SVignesh Raghavendra			cdns,fifo-depth = <256>;
29107481770SVignesh Raghavendra			cdns,fifo-width = <4>;
29207481770SVignesh Raghavendra			cdns,trigger-address = <0x0>;
29307481770SVignesh Raghavendra			clocks = <&k3_clks 248 0>;
29407481770SVignesh Raghavendra			assigned-clocks = <&k3_clks 248 0>;
29507481770SVignesh Raghavendra			assigned-clock-parents = <&k3_clks 248 2>;
29607481770SVignesh Raghavendra			assigned-clock-rates = <166666666>;
29707481770SVignesh Raghavendra			power-domains = <&k3_pds 248 TI_SCI_PD_EXCLUSIVE>;
29807481770SVignesh Raghavendra			#address-cells = <1>;
29907481770SVignesh Raghavendra			#size-cells = <0>;
300*46d0c519SAndrew Davis			status = "disabled";
30107481770SVignesh Raghavendra		};
30207481770SVignesh Raghavendra
30307481770SVignesh Raghavendra		ospi1: spi@47050000 {
30407481770SVignesh Raghavendra			compatible = "ti,am654-ospi", "cdns,qspi-nor";
30507481770SVignesh Raghavendra			reg = <0x0 0x47050000 0x0 0x100>,
30607481770SVignesh Raghavendra				<0x7 0x00000000 0x1 0x00000000>;
30707481770SVignesh Raghavendra			interrupts = <GIC_SPI 553 IRQ_TYPE_LEVEL_HIGH>;
30807481770SVignesh Raghavendra			cdns,fifo-depth = <256>;
30907481770SVignesh Raghavendra			cdns,fifo-width = <4>;
31007481770SVignesh Raghavendra			cdns,trigger-address = <0x0>;
31107481770SVignesh Raghavendra			clocks = <&k3_clks 249 6>;
31207481770SVignesh Raghavendra			power-domains = <&k3_pds 249 TI_SCI_PD_EXCLUSIVE>;
31307481770SVignesh Raghavendra			#address-cells = <1>;
31407481770SVignesh Raghavendra			#size-cells = <0>;
315*46d0c519SAndrew Davis			status = "disabled";
31607481770SVignesh Raghavendra		};
31707481770SVignesh Raghavendra	};
318ba86a6e9SGrygorii Strashko
319ba86a6e9SGrygorii Strashko	mcu_cpsw: ethernet@46000000 {
320ba86a6e9SGrygorii Strashko		compatible = "ti,am654-cpsw-nuss";
321ba86a6e9SGrygorii Strashko		#address-cells = <2>;
322ba86a6e9SGrygorii Strashko		#size-cells = <2>;
323ba86a6e9SGrygorii Strashko		reg = <0x0 0x46000000 0x0 0x200000>;
324ba86a6e9SGrygorii Strashko		reg-names = "cpsw_nuss";
325ba86a6e9SGrygorii Strashko		ranges = <0x0 0x0 0x0 0x46000000 0x0 0x200000>;
326ba86a6e9SGrygorii Strashko		dma-coherent;
327ba86a6e9SGrygorii Strashko		clocks = <&k3_clks 5 10>;
328ba86a6e9SGrygorii Strashko		clock-names = "fck";
329ba86a6e9SGrygorii Strashko		power-domains = <&k3_pds 5 TI_SCI_PD_EXCLUSIVE>;
330ba86a6e9SGrygorii Strashko
331ba86a6e9SGrygorii Strashko		dmas = <&mcu_udmap 0xf000>,
332ba86a6e9SGrygorii Strashko		       <&mcu_udmap 0xf001>,
333ba86a6e9SGrygorii Strashko		       <&mcu_udmap 0xf002>,
334ba86a6e9SGrygorii Strashko		       <&mcu_udmap 0xf003>,
335ba86a6e9SGrygorii Strashko		       <&mcu_udmap 0xf004>,
336ba86a6e9SGrygorii Strashko		       <&mcu_udmap 0xf005>,
337ba86a6e9SGrygorii Strashko		       <&mcu_udmap 0xf006>,
338ba86a6e9SGrygorii Strashko		       <&mcu_udmap 0xf007>,
339ba86a6e9SGrygorii Strashko		       <&mcu_udmap 0x7000>;
340ba86a6e9SGrygorii Strashko		dma-names = "tx0", "tx1", "tx2", "tx3",
341ba86a6e9SGrygorii Strashko			    "tx4", "tx5", "tx6", "tx7",
342ba86a6e9SGrygorii Strashko			    "rx";
343ba86a6e9SGrygorii Strashko
344ba86a6e9SGrygorii Strashko		ethernet-ports {
345ba86a6e9SGrygorii Strashko			#address-cells = <1>;
346ba86a6e9SGrygorii Strashko			#size-cells = <0>;
347ba86a6e9SGrygorii Strashko
348ba86a6e9SGrygorii Strashko			cpsw_port1: port@1 {
349ba86a6e9SGrygorii Strashko				reg = <1>;
350ba86a6e9SGrygorii Strashko				ti,mac-only;
351ba86a6e9SGrygorii Strashko				label = "port1";
352ba86a6e9SGrygorii Strashko				ti,syscon-efuse = <&mcu_conf 0x200>;
353ba86a6e9SGrygorii Strashko				phys = <&phy_gmii_sel 1>;
354ba86a6e9SGrygorii Strashko			};
355ba86a6e9SGrygorii Strashko		};
356ba86a6e9SGrygorii Strashko
357ba86a6e9SGrygorii Strashko		davinci_mdio: mdio@f00 {
358ba86a6e9SGrygorii Strashko			compatible = "ti,cpsw-mdio","ti,davinci_mdio";
359ba86a6e9SGrygorii Strashko			reg = <0x0 0xf00 0x0 0x100>;
360ba86a6e9SGrygorii Strashko			#address-cells = <1>;
361ba86a6e9SGrygorii Strashko			#size-cells = <0>;
362ba86a6e9SGrygorii Strashko			clocks = <&k3_clks 5 10>;
363ba86a6e9SGrygorii Strashko			clock-names = "fck";
364ba86a6e9SGrygorii Strashko			bus_freq = <1000000>;
365c75c5c0bSAndrew Davis			status = "disabled";
366ba86a6e9SGrygorii Strashko		};
367885a26baSGrygorii Strashko
368ef2d1363SGrygorii Strashko		cpts@3d000 {
369ef2d1363SGrygorii Strashko			compatible = "ti,am65-cpts";
370ef2d1363SGrygorii Strashko			reg = <0x0 0x3d000 0x0 0x400>;
371885a26baSGrygorii Strashko			clocks = <&mcu_cpsw_cpts_mux>;
372885a26baSGrygorii Strashko			clock-names = "cpts";
373885a26baSGrygorii Strashko			interrupts-extended = <&gic500 GIC_SPI 570 IRQ_TYPE_LEVEL_HIGH>;
374885a26baSGrygorii Strashko			interrupt-names = "cpts";
375885a26baSGrygorii Strashko			ti,cpts-ext-ts-inputs = <4>;
376885a26baSGrygorii Strashko			ti,cpts-periodic-outputs = <2>;
377885a26baSGrygorii Strashko
378885a26baSGrygorii Strashko			mcu_cpsw_cpts_mux: refclk-mux {
379885a26baSGrygorii Strashko				#clock-cells = <0>;
380885a26baSGrygorii Strashko				clocks = <&k3_clks 118 5>, <&k3_clks 118 11>,
381885a26baSGrygorii Strashko					<&k3_clks 118 6>, <&k3_clks 118 3>,
382885a26baSGrygorii Strashko					<&k3_clks 118 8>, <&k3_clks 118 14>,
383885a26baSGrygorii Strashko					<&k3_clks 120 3>, <&k3_clks 121 3>;
384885a26baSGrygorii Strashko				assigned-clocks = <&mcu_cpsw_cpts_mux>;
385885a26baSGrygorii Strashko				assigned-clock-parents = <&k3_clks 118 5>;
386885a26baSGrygorii Strashko			};
387885a26baSGrygorii Strashko		};
388ba86a6e9SGrygorii Strashko	};
3895bb9e0f6SSuman Anna
3905bb9e0f6SSuman Anna	mcu_r5fss0: r5fss@41000000 {
3915bb9e0f6SSuman Anna		compatible = "ti,am654-r5fss";
3925bb9e0f6SSuman Anna		ti,cluster-mode = <1>;
3935bb9e0f6SSuman Anna		#address-cells = <1>;
3945bb9e0f6SSuman Anna		#size-cells = <1>;
3955bb9e0f6SSuman Anna		ranges = <0x41000000 0x00 0x41000000 0x20000>,
3965bb9e0f6SSuman Anna			 <0x41400000 0x00 0x41400000 0x20000>;
3975bb9e0f6SSuman Anna		power-domains = <&k3_pds 129 TI_SCI_PD_EXCLUSIVE>;
3985bb9e0f6SSuman Anna
3995bb9e0f6SSuman Anna		mcu_r5fss0_core0: r5f@41000000 {
4005bb9e0f6SSuman Anna			compatible = "ti,am654-r5f";
4015bb9e0f6SSuman Anna			reg = <0x41000000 0x00008000>,
4025bb9e0f6SSuman Anna			      <0x41010000 0x00008000>;
4035bb9e0f6SSuman Anna			reg-names = "atcm", "btcm";
4045bb9e0f6SSuman Anna			ti,sci = <&dmsc>;
4055bb9e0f6SSuman Anna			ti,sci-dev-id = <159>;
4065bb9e0f6SSuman Anna			ti,sci-proc-ids = <0x01 0xff>;
4075bb9e0f6SSuman Anna			resets = <&k3_reset 159 1>;
4085bb9e0f6SSuman Anna			firmware-name = "am65x-mcu-r5f0_0-fw";
4095bb9e0f6SSuman Anna			ti,atcm-enable = <1>;
4105bb9e0f6SSuman Anna			ti,btcm-enable = <1>;
4115bb9e0f6SSuman Anna			ti,loczrama = <1>;
4125bb9e0f6SSuman Anna		};
4135bb9e0f6SSuman Anna
4145bb9e0f6SSuman Anna		mcu_r5fss0_core1: r5f@41400000 {
4155bb9e0f6SSuman Anna			compatible = "ti,am654-r5f";
4165bb9e0f6SSuman Anna			reg = <0x41400000 0x00008000>,
4175bb9e0f6SSuman Anna			      <0x41410000 0x00008000>;
4185bb9e0f6SSuman Anna			reg-names = "atcm", "btcm";
4195bb9e0f6SSuman Anna			ti,sci = <&dmsc>;
4205bb9e0f6SSuman Anna			ti,sci-dev-id = <245>;
4215bb9e0f6SSuman Anna			ti,sci-proc-ids = <0x02 0xff>;
4225bb9e0f6SSuman Anna			resets = <&k3_reset 245 1>;
4235bb9e0f6SSuman Anna			firmware-name = "am65x-mcu-r5f0_1-fw";
4245bb9e0f6SSuman Anna			ti,atcm-enable = <1>;
4255bb9e0f6SSuman Anna			ti,btcm-enable = <1>;
4265bb9e0f6SSuman Anna			ti,loczrama = <1>;
4275bb9e0f6SSuman Anna		};
4285bb9e0f6SSuman Anna	};
4296674a90bSJan Kiszka
4306674a90bSJan Kiszka	mcu_rti1: watchdog@40610000 {
4316674a90bSJan Kiszka		compatible = "ti,j7-rti-wdt";
4326674a90bSJan Kiszka		reg = <0x0 0x40610000 0x0 0x100>;
4336674a90bSJan Kiszka		clocks = <&k3_clks 135 0>;
4346674a90bSJan Kiszka		power-domains = <&k3_pds 135 TI_SCI_PD_SHARED>;
4356674a90bSJan Kiszka		assigned-clocks = <&k3_clks 135 0>;
4366674a90bSJan Kiszka		assigned-clock-parents = <&k3_clks 135 4>;
4376674a90bSJan Kiszka	};
4384201af25SNishanth Menon};
439