18abae938SDave Gerlach// SPDX-License-Identifier: GPL-2.0
28abae938SDave Gerlach/*
38abae938SDave Gerlach * Device Tree Source for AM64 SoC Family MCU Domain peripherals
48abae938SDave Gerlach *
58abae938SDave Gerlach * Copyright (C) 2020-2021 Texas Instruments Incorporated - https://www.ti.com/
68abae938SDave Gerlach */
78abae938SDave Gerlach
88abae938SDave Gerlach&cbass_mcu {
99972b457SNishanth Menon	/*
109972b457SNishanth Menon	 * The MCU domain timer interrupts are routed only to the ESM module,
119972b457SNishanth Menon	 * and not currently available for Linux. The MCU domain timers are
129972b457SNishanth Menon	 * of limited use without interrupts, and likely reserved by the ESM.
139972b457SNishanth Menon	 */
149972b457SNishanth Menon	mcu_timer0: timer@4800000 {
159972b457SNishanth Menon		compatible = "ti,am654-timer";
169972b457SNishanth Menon		reg = <0x00 0x4800000 0x00 0x400>;
179972b457SNishanth Menon		clocks = <&k3_clks 35 1>;
189972b457SNishanth Menon		clock-names = "fck";
199972b457SNishanth Menon		power-domains = <&k3_pds 35 TI_SCI_PD_EXCLUSIVE>;
209972b457SNishanth Menon		ti,timer-pwm;
219972b457SNishanth Menon		status = "reserved";
229972b457SNishanth Menon	};
239972b457SNishanth Menon
249972b457SNishanth Menon	mcu_timer1: timer@4810000 {
259972b457SNishanth Menon		compatible = "ti,am654-timer";
269972b457SNishanth Menon		reg = <0x00 0x4810000 0x00 0x400>;
279972b457SNishanth Menon		clocks = <&k3_clks 48 1>;
289972b457SNishanth Menon		clock-names = "fck";
299972b457SNishanth Menon		power-domains = <&k3_pds 48 TI_SCI_PD_EXCLUSIVE>;
309972b457SNishanth Menon		ti,timer-pwm;
319972b457SNishanth Menon		status = "reserved";
329972b457SNishanth Menon	};
339972b457SNishanth Menon
349972b457SNishanth Menon	mcu_timer2: timer@4820000 {
359972b457SNishanth Menon		compatible = "ti,am654-timer";
369972b457SNishanth Menon		reg = <0x00 0x4820000 0x00 0x400>;
379972b457SNishanth Menon		clocks = <&k3_clks 49 1>;
389972b457SNishanth Menon		clock-names = "fck";
399972b457SNishanth Menon		power-domains = <&k3_pds 49 TI_SCI_PD_EXCLUSIVE>;
409972b457SNishanth Menon		ti,timer-pwm;
419972b457SNishanth Menon		status = "reserved";
429972b457SNishanth Menon	};
439972b457SNishanth Menon
449972b457SNishanth Menon	mcu_timer3: timer@4830000 {
459972b457SNishanth Menon		compatible = "ti,am654-timer";
469972b457SNishanth Menon		reg = <0x00 0x4830000 0x00 0x400>;
479972b457SNishanth Menon		clocks = <&k3_clks 50 1>;
489972b457SNishanth Menon		clock-names = "fck";
499972b457SNishanth Menon		power-domains = <&k3_pds 50 TI_SCI_PD_EXCLUSIVE>;
509972b457SNishanth Menon		ti,timer-pwm;
519972b457SNishanth Menon		status = "reserved";
529972b457SNishanth Menon	};
539972b457SNishanth Menon
548abae938SDave Gerlach	mcu_uart0: serial@4a00000 {
558abae938SDave Gerlach		compatible = "ti,am64-uart", "ti,am654-uart";
568abae938SDave Gerlach		reg = <0x00 0x04a00000 0x00 0x100>;
578abae938SDave Gerlach		interrupts = <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>;
588abae938SDave Gerlach		power-domains = <&k3_pds 149 TI_SCI_PD_EXCLUSIVE>;
598abae938SDave Gerlach		clocks = <&k3_clks 149 0>;
608abae938SDave Gerlach		clock-names = "fclk";
61dacf4705SAndrew Davis		status = "disabled";
628abae938SDave Gerlach	};
638abae938SDave Gerlach
648abae938SDave Gerlach	mcu_uart1: serial@4a10000 {
658abae938SDave Gerlach		compatible = "ti,am64-uart", "ti,am654-uart";
668abae938SDave Gerlach		reg = <0x00 0x04a10000 0x00 0x100>;
678abae938SDave Gerlach		interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
688abae938SDave Gerlach		power-domains = <&k3_pds 160 TI_SCI_PD_EXCLUSIVE>;
698abae938SDave Gerlach		clocks = <&k3_clks 160 0>;
708abae938SDave Gerlach		clock-names = "fclk";
71dacf4705SAndrew Davis		status = "disabled";
728abae938SDave Gerlach	};
738abae938SDave Gerlach
748abae938SDave Gerlach	mcu_i2c0: i2c@4900000 {
758abae938SDave Gerlach		compatible = "ti,am64-i2c", "ti,omap4-i2c";
768abae938SDave Gerlach		reg = <0x00 0x04900000 0x00 0x100>;
778abae938SDave Gerlach		interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
788abae938SDave Gerlach		#address-cells = <1>;
798abae938SDave Gerlach		#size-cells = <0>;
808abae938SDave Gerlach		power-domains = <&k3_pds 106 TI_SCI_PD_EXCLUSIVE>;
818abae938SDave Gerlach		clocks = <&k3_clks 106 2>;
828abae938SDave Gerlach		clock-names = "fck";
83b80f75d8SAndrew Davis		status = "disabled";
848abae938SDave Gerlach	};
858abae938SDave Gerlach
868abae938SDave Gerlach	mcu_i2c1: i2c@4910000 {
878abae938SDave Gerlach		compatible = "ti,am64-i2c", "ti,omap4-i2c";
888abae938SDave Gerlach		reg = <0x00 0x04910000 0x00 0x100>;
898abae938SDave Gerlach		interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
908abae938SDave Gerlach		#address-cells = <1>;
918abae938SDave Gerlach		#size-cells = <0>;
928abae938SDave Gerlach		power-domains = <&k3_pds 107 TI_SCI_PD_EXCLUSIVE>;
938abae938SDave Gerlach		clocks = <&k3_clks 107 2>;
948abae938SDave Gerlach		clock-names = "fck";
95b80f75d8SAndrew Davis		status = "disabled";
968abae938SDave Gerlach	};
978abae938SDave Gerlach
988abae938SDave Gerlach	mcu_spi0: spi@4b00000 {
998abae938SDave Gerlach		compatible = "ti,am654-mcspi", "ti,omap4-mcspi";
1008abae938SDave Gerlach		reg = <0x00 0x04b00000 0x00 0x400>;
1018abae938SDave Gerlach		interrupts = <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>;
1028abae938SDave Gerlach		#address-cells = <1>;
1038abae938SDave Gerlach		#size-cells = <0>;
1048abae938SDave Gerlach		power-domains = <&k3_pds 147 TI_SCI_PD_EXCLUSIVE>;
1058abae938SDave Gerlach		clocks = <&k3_clks 147 0>;
10679d4aa62SAndrew Davis		status = "disabled";
1078abae938SDave Gerlach	};
1088abae938SDave Gerlach
1098abae938SDave Gerlach	mcu_spi1: spi@4b10000 {
1108abae938SDave Gerlach		compatible = "ti,am654-mcspi","ti,omap4-mcspi";
1118abae938SDave Gerlach		reg = <0x00 0x04b10000 0x00 0x400>;
1128abae938SDave Gerlach		interrupts = <GIC_SPI 177 IRQ_TYPE_LEVEL_HIGH>;
1138abae938SDave Gerlach		#address-cells = <1>;
1148abae938SDave Gerlach		#size-cells = <0>;
1158abae938SDave Gerlach		power-domains = <&k3_pds 148 TI_SCI_PD_EXCLUSIVE>;
1168abae938SDave Gerlach		clocks = <&k3_clks 148 0>;
11779d4aa62SAndrew Davis		status = "disabled";
1188abae938SDave Gerlach	};
11901a91e01SAswath Govindraju
120cab12badSNishanth Menon	mcu_gpio_intr: interrupt-controller@4210000 {
12101a91e01SAswath Govindraju		compatible = "ti,sci-intr";
122cab12badSNishanth Menon		reg = <0x00 0x04210000 0x00 0x200>;
12301a91e01SAswath Govindraju		ti,intr-trigger-type = <1>;
12401a91e01SAswath Govindraju		interrupt-controller;
12501a91e01SAswath Govindraju		interrupt-parent = <&gic500>;
12601a91e01SAswath Govindraju		#interrupt-cells = <1>;
12701a91e01SAswath Govindraju		ti,sci = <&dmsc>;
12801a91e01SAswath Govindraju		ti,sci-dev-id = <5>;
12901a91e01SAswath Govindraju		ti,interrupt-ranges = <0 104 4>;
13001a91e01SAswath Govindraju	};
13101a91e01SAswath Govindraju
13201a91e01SAswath Govindraju	mcu_gpio0: gpio@4201000 {
133ec2fb989SAswath Govindraju		compatible = "ti,am64-gpio", "ti,keystone-gpio";
13401a91e01SAswath Govindraju		reg = <0x0 0x4201000 0x0 0x100>;
13501a91e01SAswath Govindraju		gpio-controller;
13601a91e01SAswath Govindraju		#gpio-cells = <2>;
13701a91e01SAswath Govindraju		interrupt-parent = <&mcu_gpio_intr>;
13801a91e01SAswath Govindraju		interrupts = <30>, <31>;
13901a91e01SAswath Govindraju		interrupt-controller;
14001a91e01SAswath Govindraju		#interrupt-cells = <2>;
14101a91e01SAswath Govindraju		ti,ngpio = <23>;
14201a91e01SAswath Govindraju		ti,davinci-gpio-unbanked = <0>;
14301a91e01SAswath Govindraju		power-domains = <&k3_pds 79 TI_SCI_PD_EXCLUSIVE>;
14401a91e01SAswath Govindraju		clocks = <&k3_clks 79 0>;
14501a91e01SAswath Govindraju		clock-names = "gpio";
14601a91e01SAswath Govindraju	};
147500e6dfbSChristian Gmeiner
148500e6dfbSChristian Gmeiner	mcu_pmx0: pinctrl@4084000 {
149500e6dfbSChristian Gmeiner		compatible = "pinctrl-single";
150500e6dfbSChristian Gmeiner		reg = <0x00 0x4084000 0x00 0x84>;
151500e6dfbSChristian Gmeiner		#pinctrl-cells = <1>;
152500e6dfbSChristian Gmeiner		pinctrl-single,register-width = <32>;
153500e6dfbSChristian Gmeiner		pinctrl-single,function-mask = <0xffffffff>;
154500e6dfbSChristian Gmeiner	};
155*f049b541SNishanth Menon
156*f049b541SNishanth Menon	mcu_esm: esm@4100000 {
157*f049b541SNishanth Menon		compatible = "ti,j721e-esm";
158*f049b541SNishanth Menon		reg = <0x00 0x4100000 0x00 0x1000>;
159*f049b541SNishanth Menon		ti,esm-pins = <0>, <1>;
160*f049b541SNishanth Menon	};
1618abae938SDave Gerlach};
162