xref: /linux/arch/arm64/boot/dts/ti/k3-am62a-mcu.dtsi (revision 3a39d672e7f48b8d6b91a09afa4b55352773b4b5)
189bd4c37SNishanth Menon// SPDX-License-Identifier: GPL-2.0-only OR MIT
25fc6b1b6SVignesh Raghavendra/*
35fc6b1b6SVignesh Raghavendra * Device Tree Source for AM625 SoC Family MCU Domain peripherals
45fc6b1b6SVignesh Raghavendra *
589bd4c37SNishanth Menon * Copyright (C) 2020-2024 Texas Instruments Incorporated - https://www.ti.com/
65fc6b1b6SVignesh Raghavendra */
75fc6b1b6SVignesh Raghavendra
85fc6b1b6SVignesh Raghavendra&cbass_mcu {
95fc6b1b6SVignesh Raghavendra	mcu_pmx0: pinctrl@4084000 {
105fc6b1b6SVignesh Raghavendra		compatible = "pinctrl-single";
115fc6b1b6SVignesh Raghavendra		reg = <0x00 0x04084000 0x00 0x88>;
125fc6b1b6SVignesh Raghavendra		#pinctrl-cells = <1>;
135fc6b1b6SVignesh Raghavendra		pinctrl-single,register-width = <32>;
145fc6b1b6SVignesh Raghavendra		pinctrl-single,function-mask = <0xffffffff>;
155fc6b1b6SVignesh Raghavendra		status = "disabled";
165fc6b1b6SVignesh Raghavendra	};
175fc6b1b6SVignesh Raghavendra
18*54ed3274SJudith Mendez	mcu_esm: esm@4100000 {
19*54ed3274SJudith Mendez		compatible = "ti,j721e-esm";
20*54ed3274SJudith Mendez		reg = <0x0 0x4100000 0x0 0x1000>;
21*54ed3274SJudith Mendez		bootph-pre-ram;
22*54ed3274SJudith Mendez		/* Interrupt sources: esm0_cfg, esm0_hi, esm0_low, mrti0 */
23*54ed3274SJudith Mendez		ti,esm-pins = <0>, <1>, <2>, <85>;
24*54ed3274SJudith Mendez	};
25*54ed3274SJudith Mendez
2668dd81a7SNishanth Menon	/*
2768dd81a7SNishanth Menon	 * The MCU domain timer interrupts are routed only to the ESM module,
2868dd81a7SNishanth Menon	 * and not currently available for Linux. The MCU domain timers are
2968dd81a7SNishanth Menon	 * of limited use without interrupts, and likely reserved by the ESM.
3068dd81a7SNishanth Menon	 */
3168dd81a7SNishanth Menon	mcu_timer0: timer@4800000 {
3268dd81a7SNishanth Menon		compatible = "ti,am654-timer";
3368dd81a7SNishanth Menon		reg = <0x00 0x4800000 0x00 0x400>;
3468dd81a7SNishanth Menon		clocks = <&k3_clks 35 2>;
3568dd81a7SNishanth Menon		clock-names = "fck";
3668dd81a7SNishanth Menon		power-domains = <&k3_pds 35 TI_SCI_PD_EXCLUSIVE>;
3768dd81a7SNishanth Menon		ti,timer-pwm;
3868dd81a7SNishanth Menon		status = "reserved";
3968dd81a7SNishanth Menon	};
4068dd81a7SNishanth Menon
4168dd81a7SNishanth Menon	mcu_timer1: timer@4810000 {
4268dd81a7SNishanth Menon		compatible = "ti,am654-timer";
4368dd81a7SNishanth Menon		reg = <0x00 0x4810000 0x00 0x400>;
4468dd81a7SNishanth Menon		clocks = <&k3_clks 48 2>;
4568dd81a7SNishanth Menon		clock-names = "fck";
4668dd81a7SNishanth Menon		power-domains = <&k3_pds 48 TI_SCI_PD_EXCLUSIVE>;
4768dd81a7SNishanth Menon		ti,timer-pwm;
4868dd81a7SNishanth Menon		status = "reserved";
4968dd81a7SNishanth Menon	};
5068dd81a7SNishanth Menon
5168dd81a7SNishanth Menon	mcu_timer2: timer@4820000 {
5268dd81a7SNishanth Menon		compatible = "ti,am654-timer";
5368dd81a7SNishanth Menon		reg = <0x00 0x4820000 0x00 0x400>;
5468dd81a7SNishanth Menon		clocks = <&k3_clks 49 2>;
5568dd81a7SNishanth Menon		clock-names = "fck";
5668dd81a7SNishanth Menon		power-domains = <&k3_pds 49 TI_SCI_PD_EXCLUSIVE>;
5768dd81a7SNishanth Menon		ti,timer-pwm;
5868dd81a7SNishanth Menon		status = "reserved";
5968dd81a7SNishanth Menon	};
6068dd81a7SNishanth Menon
6168dd81a7SNishanth Menon	mcu_timer3: timer@4830000 {
6268dd81a7SNishanth Menon		compatible = "ti,am654-timer";
6368dd81a7SNishanth Menon		reg = <0x00 0x4830000 0x00 0x400>;
6468dd81a7SNishanth Menon		clocks = <&k3_clks 50 2>;
6568dd81a7SNishanth Menon		clock-names = "fck";
6668dd81a7SNishanth Menon		power-domains = <&k3_pds 50 TI_SCI_PD_EXCLUSIVE>;
6768dd81a7SNishanth Menon		ti,timer-pwm;
6868dd81a7SNishanth Menon		status = "reserved";
6968dd81a7SNishanth Menon	};
7068dd81a7SNishanth Menon
715fc6b1b6SVignesh Raghavendra	mcu_uart0: serial@4a00000 {
725fc6b1b6SVignesh Raghavendra		compatible = "ti,am64-uart", "ti,am654-uart";
735fc6b1b6SVignesh Raghavendra		reg = <0x00 0x04a00000 0x00 0x100>;
745fc6b1b6SVignesh Raghavendra		interrupts = <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>;
755fc6b1b6SVignesh Raghavendra		power-domains = <&k3_pds 149 TI_SCI_PD_EXCLUSIVE>;
765fc6b1b6SVignesh Raghavendra		clocks = <&k3_clks 149 0>;
775fc6b1b6SVignesh Raghavendra		clock-names = "fclk";
785fc6b1b6SVignesh Raghavendra		status = "disabled";
795fc6b1b6SVignesh Raghavendra	};
805fc6b1b6SVignesh Raghavendra
815fc6b1b6SVignesh Raghavendra	mcu_i2c0: i2c@4900000 {
825fc6b1b6SVignesh Raghavendra		compatible = "ti,am64-i2c", "ti,omap4-i2c";
835fc6b1b6SVignesh Raghavendra		reg = <0x00 0x04900000 0x00 0x100>;
845fc6b1b6SVignesh Raghavendra		interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
855fc6b1b6SVignesh Raghavendra		#address-cells = <1>;
865fc6b1b6SVignesh Raghavendra		#size-cells = <0>;
875fc6b1b6SVignesh Raghavendra		power-domains = <&k3_pds 106 TI_SCI_PD_EXCLUSIVE>;
885fc6b1b6SVignesh Raghavendra		clocks = <&k3_clks 106 2>;
895fc6b1b6SVignesh Raghavendra		clock-names = "fck";
905fc6b1b6SVignesh Raghavendra		status = "disabled";
915fc6b1b6SVignesh Raghavendra	};
92eaee246bSVignesh Raghavendra
93eaee246bSVignesh Raghavendra	mcu_spi0: spi@4b00000 {
94eaee246bSVignesh Raghavendra		compatible = "ti,am654-mcspi", "ti,omap4-mcspi";
95eaee246bSVignesh Raghavendra		reg = <0x00 0x04b00000 0x00 0x400>;
96eaee246bSVignesh Raghavendra		interrupts = <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>;
97eaee246bSVignesh Raghavendra		#address-cells = <1>;
98eaee246bSVignesh Raghavendra		#size-cells = <0>;
99eaee246bSVignesh Raghavendra		power-domains = <&k3_pds 147 TI_SCI_PD_EXCLUSIVE>;
100eaee246bSVignesh Raghavendra		clocks = <&k3_clks 147 0>;
101eaee246bSVignesh Raghavendra		status = "disabled";
102eaee246bSVignesh Raghavendra	};
103eaee246bSVignesh Raghavendra
104eaee246bSVignesh Raghavendra	mcu_spi1: spi@4b10000 {
105eaee246bSVignesh Raghavendra		compatible = "ti,am654-mcspi","ti,omap4-mcspi";
106eaee246bSVignesh Raghavendra		reg = <0x00 0x04b10000 0x00 0x400>;
107eaee246bSVignesh Raghavendra		interrupts = <GIC_SPI 177 IRQ_TYPE_LEVEL_HIGH>;
108eaee246bSVignesh Raghavendra		#address-cells = <1>;
109eaee246bSVignesh Raghavendra		#size-cells = <0>;
110eaee246bSVignesh Raghavendra		power-domains = <&k3_pds 148 TI_SCI_PD_EXCLUSIVE>;
111eaee246bSVignesh Raghavendra		clocks = <&k3_clks 148 0>;
112eaee246bSVignesh Raghavendra		status = "disabled";
113eaee246bSVignesh Raghavendra	};
114eaee246bSVignesh Raghavendra
115eaee246bSVignesh Raghavendra	mcu_gpio_intr: interrupt-controller@4210000 {
116eaee246bSVignesh Raghavendra		compatible = "ti,sci-intr";
117eaee246bSVignesh Raghavendra		reg = <0x00 0x04210000 0x00 0x200>;
118eaee246bSVignesh Raghavendra		ti,intr-trigger-type = <1>;
119eaee246bSVignesh Raghavendra		interrupt-controller;
120eaee246bSVignesh Raghavendra		interrupt-parent = <&gic500>;
121eaee246bSVignesh Raghavendra		#interrupt-cells = <1>;
122eaee246bSVignesh Raghavendra		ti,sci = <&dmsc>;
123eaee246bSVignesh Raghavendra		ti,sci-dev-id = <5>;
124eaee246bSVignesh Raghavendra		ti,interrupt-ranges = <0 104 4>;
125eaee246bSVignesh Raghavendra	};
126eaee246bSVignesh Raghavendra
127eaee246bSVignesh Raghavendra	mcu_gpio0: gpio@4201000 {
128eaee246bSVignesh Raghavendra		compatible = "ti,am64-gpio", "ti,keystone-gpio";
129eaee246bSVignesh Raghavendra		reg = <0x00 0x04201000 0x00 0x100>;
130eaee246bSVignesh Raghavendra		gpio-controller;
131eaee246bSVignesh Raghavendra		#gpio-cells = <2>;
132eaee246bSVignesh Raghavendra		interrupt-parent = <&mcu_gpio_intr>;
133eaee246bSVignesh Raghavendra		interrupts = <30>, <31>;
134eaee246bSVignesh Raghavendra		interrupt-controller;
135eaee246bSVignesh Raghavendra		#interrupt-cells = <2>;
136eaee246bSVignesh Raghavendra		ti,ngpio = <24>;
137eaee246bSVignesh Raghavendra		ti,davinci-gpio-unbanked = <0>;
138eaee246bSVignesh Raghavendra		power-domains = <&k3_pds 79 TI_SCI_PD_EXCLUSIVE>;
139eaee246bSVignesh Raghavendra		clocks = <&k3_clks 79 0>;
140eaee246bSVignesh Raghavendra		clock-names = "gpio";
141eaee246bSVignesh Raghavendra		status = "disabled";
142eaee246bSVignesh Raghavendra	};
143804702e4SNishanth Menon
144804702e4SNishanth Menon	mcu_rti0: watchdog@4880000 {
145804702e4SNishanth Menon		compatible = "ti,j7-rti-wdt";
146804702e4SNishanth Menon		reg = <0x00 0x04880000 0x00 0x100>;
147804702e4SNishanth Menon		clocks = <&k3_clks 131 0>;
148804702e4SNishanth Menon		power-domains = <&k3_pds 131 TI_SCI_PD_EXCLUSIVE>;
149804702e4SNishanth Menon		assigned-clocks = <&k3_clks 131 0>;
150804702e4SNishanth Menon		assigned-clock-parents = <&k3_clks 131 2>;
151804702e4SNishanth Menon		/* Tightly coupled to M4F */
152804702e4SNishanth Menon		status = "reserved";
153804702e4SNishanth Menon	};
154a0592af4SJudith Mendez
155a0592af4SJudith Mendez	mcu_mcan0: can@4e08000 {
156a0592af4SJudith Mendez		compatible = "bosch,m_can";
157a0592af4SJudith Mendez		reg = <0x00 0x4e08000 0x00 0x200>,
158a0592af4SJudith Mendez		      <0x00 0x4e00000 0x00 0x8000>;
159a0592af4SJudith Mendez		reg-names = "m_can", "message_ram";
160a0592af4SJudith Mendez		power-domains = <&k3_pds 188 TI_SCI_PD_EXCLUSIVE>;
161a0592af4SJudith Mendez		clocks = <&k3_clks 188 6>, <&k3_clks 188 1>;
162a0592af4SJudith Mendez		clock-names = "hclk", "cclk";
163a0592af4SJudith Mendez		bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>;
164a0592af4SJudith Mendez		status = "disabled";
165a0592af4SJudith Mendez	};
166a0592af4SJudith Mendez
167a0592af4SJudith Mendez	mcu_mcan1: can@4e18000 {
168a0592af4SJudith Mendez		compatible = "bosch,m_can";
169a0592af4SJudith Mendez		reg = <0x00 0x4e18000 0x00 0x200>,
170a0592af4SJudith Mendez		      <0x00 0x4e10000 0x00 0x8000>;
171a0592af4SJudith Mendez		reg-names = "m_can", "message_ram";
172a0592af4SJudith Mendez		power-domains = <&k3_pds 189 TI_SCI_PD_EXCLUSIVE>;
173a0592af4SJudith Mendez		clocks = <&k3_clks 189 6>, <&k3_clks 189 1>;
174a0592af4SJudith Mendez		clock-names = "hclk", "cclk";
175a0592af4SJudith Mendez		bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>;
176a0592af4SJudith Mendez		status = "disabled";
177a0592af4SJudith Mendez	};
1785fc6b1b6SVignesh Raghavendra};
179