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 {
98abae938SDave Gerlach	mcu_uart0: serial@4a00000 {
108abae938SDave Gerlach		compatible = "ti,am64-uart", "ti,am654-uart";
118abae938SDave Gerlach		reg = <0x00 0x04a00000 0x00 0x100>;
128abae938SDave Gerlach		reg-shift = <2>;
138abae938SDave Gerlach		reg-io-width = <4>;
148abae938SDave Gerlach		interrupts = <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>;
158abae938SDave Gerlach		clock-frequency = <48000000>;
168abae938SDave Gerlach		current-speed = <115200>;
178abae938SDave Gerlach		power-domains = <&k3_pds 149 TI_SCI_PD_EXCLUSIVE>;
188abae938SDave Gerlach		clocks = <&k3_clks 149 0>;
198abae938SDave Gerlach		clock-names = "fclk";
208abae938SDave Gerlach	};
218abae938SDave Gerlach
228abae938SDave Gerlach	mcu_uart1: serial@4a10000 {
238abae938SDave Gerlach		compatible = "ti,am64-uart", "ti,am654-uart";
248abae938SDave Gerlach		reg = <0x00 0x04a10000 0x00 0x100>;
258abae938SDave Gerlach		reg-shift = <2>;
268abae938SDave Gerlach		reg-io-width = <4>;
278abae938SDave Gerlach		interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
288abae938SDave Gerlach		clock-frequency = <48000000>;
298abae938SDave Gerlach		current-speed = <115200>;
308abae938SDave Gerlach		power-domains = <&k3_pds 160 TI_SCI_PD_EXCLUSIVE>;
318abae938SDave Gerlach		clocks = <&k3_clks 160 0>;
328abae938SDave Gerlach		clock-names = "fclk";
338abae938SDave Gerlach	};
348abae938SDave Gerlach
358abae938SDave Gerlach	mcu_i2c0: i2c@4900000 {
368abae938SDave Gerlach		compatible = "ti,am64-i2c", "ti,omap4-i2c";
378abae938SDave Gerlach		reg = <0x00 0x04900000 0x00 0x100>;
388abae938SDave Gerlach		interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
398abae938SDave Gerlach		#address-cells = <1>;
408abae938SDave Gerlach		#size-cells = <0>;
418abae938SDave Gerlach		power-domains = <&k3_pds 106 TI_SCI_PD_EXCLUSIVE>;
428abae938SDave Gerlach		clocks = <&k3_clks 106 2>;
438abae938SDave Gerlach		clock-names = "fck";
448abae938SDave Gerlach	};
458abae938SDave Gerlach
468abae938SDave Gerlach	mcu_i2c1: i2c@4910000 {
478abae938SDave Gerlach		compatible = "ti,am64-i2c", "ti,omap4-i2c";
488abae938SDave Gerlach		reg = <0x00 0x04910000 0x00 0x100>;
498abae938SDave Gerlach		interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
508abae938SDave Gerlach		#address-cells = <1>;
518abae938SDave Gerlach		#size-cells = <0>;
528abae938SDave Gerlach		power-domains = <&k3_pds 107 TI_SCI_PD_EXCLUSIVE>;
538abae938SDave Gerlach		clocks = <&k3_clks 107 2>;
548abae938SDave Gerlach		clock-names = "fck";
558abae938SDave Gerlach	};
568abae938SDave Gerlach
578abae938SDave Gerlach	mcu_spi0: spi@4b00000 {
588abae938SDave Gerlach		compatible = "ti,am654-mcspi", "ti,omap4-mcspi";
598abae938SDave Gerlach		reg = <0x00 0x04b00000 0x00 0x400>;
608abae938SDave Gerlach		interrupts = <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>;
618abae938SDave Gerlach		#address-cells = <1>;
628abae938SDave Gerlach		#size-cells = <0>;
638abae938SDave Gerlach		power-domains = <&k3_pds 147 TI_SCI_PD_EXCLUSIVE>;
648abae938SDave Gerlach		clocks = <&k3_clks 147 0>;
658abae938SDave Gerlach	};
668abae938SDave Gerlach
678abae938SDave Gerlach	mcu_spi1: spi@4b10000 {
688abae938SDave Gerlach		compatible = "ti,am654-mcspi","ti,omap4-mcspi";
698abae938SDave Gerlach		reg = <0x00 0x04b10000 0x00 0x400>;
708abae938SDave Gerlach		interrupts = <GIC_SPI 177 IRQ_TYPE_LEVEL_HIGH>;
718abae938SDave Gerlach		#address-cells = <1>;
728abae938SDave Gerlach		#size-cells = <0>;
738abae938SDave Gerlach		power-domains = <&k3_pds 148 TI_SCI_PD_EXCLUSIVE>;
748abae938SDave Gerlach		clocks = <&k3_clks 148 0>;
758abae938SDave Gerlach	};
76*01a91e01SAswath Govindraju
77*01a91e01SAswath Govindraju	mcu_gpio_intr: interrupt-controller1 {
78*01a91e01SAswath Govindraju		compatible = "ti,sci-intr";
79*01a91e01SAswath Govindraju		ti,intr-trigger-type = <1>;
80*01a91e01SAswath Govindraju		interrupt-controller;
81*01a91e01SAswath Govindraju		interrupt-parent = <&gic500>;
82*01a91e01SAswath Govindraju		#interrupt-cells = <1>;
83*01a91e01SAswath Govindraju		ti,sci = <&dmsc>;
84*01a91e01SAswath Govindraju		ti,sci-dev-id = <5>;
85*01a91e01SAswath Govindraju		ti,interrupt-ranges = <0 104 4>;
86*01a91e01SAswath Govindraju	};
87*01a91e01SAswath Govindraju
88*01a91e01SAswath Govindraju	mcu_gpio0: gpio@4201000 {
89*01a91e01SAswath Govindraju		compatible = "ti,am64-gpio", "keystone-gpio";
90*01a91e01SAswath Govindraju		reg = <0x0 0x4201000 0x0 0x100>;
91*01a91e01SAswath Govindraju		gpio-controller;
92*01a91e01SAswath Govindraju		#gpio-cells = <2>;
93*01a91e01SAswath Govindraju		interrupt-parent = <&mcu_gpio_intr>;
94*01a91e01SAswath Govindraju		interrupts = <30>, <31>;
95*01a91e01SAswath Govindraju		interrupt-controller;
96*01a91e01SAswath Govindraju		#interrupt-cells = <2>;
97*01a91e01SAswath Govindraju		ti,ngpio = <23>;
98*01a91e01SAswath Govindraju		ti,davinci-gpio-unbanked = <0>;
99*01a91e01SAswath Govindraju		power-domains = <&k3_pds 79 TI_SCI_PD_EXCLUSIVE>;
100*01a91e01SAswath Govindraju		clocks = <&k3_clks 79 0>;
101*01a91e01SAswath Govindraju		clock-names = "gpio";
102*01a91e01SAswath Govindraju	};
1038abae938SDave Gerlach};
104