14201af25SNishanth Menon// SPDX-License-Identifier: GPL-2.0
24201af25SNishanth Menon/*
34201af25SNishanth Menon * Device Tree Source for AM6 SoC Family MCU Domain peripherals
44201af25SNishanth Menon *
54201af25SNishanth Menon * Copyright (C) 2016-2018 Texas Instruments Incorporated - http://www.ti.com/
64201af25SNishanth Menon */
74201af25SNishanth Menon
84201af25SNishanth Menon&cbass_mcu {
9f2965b99SGrygorii Strashko	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>;
15f2965b99SGrygorii Strashko	};
16f2965b99SGrygorii Strashko
174201af25SNishanth Menon	mcu_uart0: serial@40a00000 {
184201af25SNishanth Menon		compatible = "ti,am654-uart";
194201af25SNishanth Menon			reg = <0x00 0x40a00000 0x00 0x100>;
204201af25SNishanth Menon			reg-shift = <2>;
214201af25SNishanth Menon			reg-io-width = <4>;
224201af25SNishanth Menon			interrupts = <GIC_SPI 565 IRQ_TYPE_LEVEL_HIGH>;
234201af25SNishanth Menon			clock-frequency = <96000000>;
244201af25SNishanth Menon			current-speed = <115200>;
25c68272cbSLokesh Vutla			power-domains = <&k3_pds 149 TI_SCI_PD_EXCLUSIVE>;
264201af25SNishanth Menon	};
2719a1768fSVignesh R
28f853f005SSuman Anna	mcu_ram: sram@41c00000 {
29f853f005SSuman Anna		compatible = "mmio-sram";
30f853f005SSuman Anna		reg = <0x00 0x41c00000 0x00 0x80000>;
31f853f005SSuman Anna		ranges = <0x0 0x00 0x41c00000 0x80000>;
32f853f005SSuman Anna		#address-cells = <1>;
33f853f005SSuman Anna		#size-cells = <1>;
34f853f005SSuman Anna	};
35f853f005SSuman Anna
3619a1768fSVignesh R	mcu_i2c0: i2c@40b00000 {
3719a1768fSVignesh R		compatible = "ti,am654-i2c", "ti,omap4-i2c";
3819a1768fSVignesh R		reg = <0x0 0x40b00000 0x0 0x100>;
3919a1768fSVignesh R		interrupts = <GIC_SPI 564 IRQ_TYPE_LEVEL_HIGH>;
4019a1768fSVignesh R		#address-cells = <1>;
4119a1768fSVignesh R		#size-cells = <0>;
4219a1768fSVignesh R		clock-names = "fck";
4319a1768fSVignesh R		clocks = <&k3_clks 114 1>;
44c68272cbSLokesh Vutla		power-domains = <&k3_pds 114 TI_SCI_PD_EXCLUSIVE>;
4519a1768fSVignesh R	};
462cd7d393SVignesh R
472cd7d393SVignesh R	mcu_spi0: spi@40300000 {
482cd7d393SVignesh R		compatible = "ti,am654-mcspi","ti,omap4-mcspi";
492cd7d393SVignesh R		reg = <0x0 0x40300000 0x0 0x400>;
502cd7d393SVignesh R		interrupts = <GIC_SPI 560 IRQ_TYPE_LEVEL_HIGH>;
512cd7d393SVignesh R		clocks = <&k3_clks 142 1>;
52c68272cbSLokesh Vutla		power-domains = <&k3_pds 142 TI_SCI_PD_EXCLUSIVE>;
532cd7d393SVignesh R		#address-cells = <1>;
542cd7d393SVignesh R		#size-cells = <0>;
552cd7d393SVignesh R	};
562cd7d393SVignesh R
572cd7d393SVignesh R	mcu_spi1: spi@40310000 {
582cd7d393SVignesh R		compatible = "ti,am654-mcspi","ti,omap4-mcspi";
592cd7d393SVignesh R		reg = <0x0 0x40310000 0x0 0x400>;
602cd7d393SVignesh R		interrupts = <GIC_SPI 561 IRQ_TYPE_LEVEL_HIGH>;
612cd7d393SVignesh R		clocks = <&k3_clks 143 1>;
62c68272cbSLokesh Vutla		power-domains = <&k3_pds 143 TI_SCI_PD_EXCLUSIVE>;
632cd7d393SVignesh R		#address-cells = <1>;
642cd7d393SVignesh R		#size-cells = <0>;
652cd7d393SVignesh R	};
662cd7d393SVignesh R
672cd7d393SVignesh R	mcu_spi2: spi@40320000 {
682cd7d393SVignesh R		compatible = "ti,am654-mcspi","ti,omap4-mcspi";
692cd7d393SVignesh R		reg = <0x0 0x40320000 0x0 0x400>;
702cd7d393SVignesh R		interrupts = <GIC_SPI 562 IRQ_TYPE_LEVEL_HIGH>;
712cd7d393SVignesh R		clocks = <&k3_clks 144 1>;
72c68272cbSLokesh Vutla		power-domains = <&k3_pds 144 TI_SCI_PD_EXCLUSIVE>;
732cd7d393SVignesh R		#address-cells = <1>;
742cd7d393SVignesh R		#size-cells = <0>;
752cd7d393SVignesh R	};
76aa6eaaa2SVignesh R
77aa6eaaa2SVignesh R	tscadc0: tscadc@40200000 {
78aa6eaaa2SVignesh R		compatible = "ti,am654-tscadc", "ti,am3359-tscadc";
79aa6eaaa2SVignesh R		reg = <0x0 0x40200000 0x0 0x1000>;
80aa6eaaa2SVignesh R		interrupts = <GIC_SPI 580 IRQ_TYPE_LEVEL_HIGH>;
81aa6eaaa2SVignesh R		clocks = <&k3_clks 0 2>;
82aa6eaaa2SVignesh R		assigned-clocks = <&k3_clks 0 2>;
83aa6eaaa2SVignesh R		assigned-clock-rates = <60000000>;
84aa6eaaa2SVignesh R		clock-names = "adc_tsc_fck";
85aa6eaaa2SVignesh R
86aa6eaaa2SVignesh R		adc {
87aa6eaaa2SVignesh R			#io-channel-cells = <1>;
88aa6eaaa2SVignesh R			compatible = "ti,am654-adc", "ti,am3359-adc";
89aa6eaaa2SVignesh R		};
90aa6eaaa2SVignesh R	};
91aa6eaaa2SVignesh R
92aa6eaaa2SVignesh R	tscadc1: tscadc@40210000 {
93aa6eaaa2SVignesh R		compatible = "ti,am654-tscadc", "ti,am3359-tscadc";
94aa6eaaa2SVignesh R		reg = <0x0 0x40210000 0x0 0x1000>;
95aa6eaaa2SVignesh R		interrupts = <GIC_SPI 581 IRQ_TYPE_LEVEL_HIGH>;
96aa6eaaa2SVignesh R		clocks = <&k3_clks 1 2>;
97aa6eaaa2SVignesh R		assigned-clocks = <&k3_clks 1 2>;
98aa6eaaa2SVignesh R		assigned-clock-rates = <60000000>;
99aa6eaaa2SVignesh R		clock-names = "adc_tsc_fck";
100aa6eaaa2SVignesh R
101aa6eaaa2SVignesh R		adc {
102aa6eaaa2SVignesh R			#io-channel-cells = <1>;
103aa6eaaa2SVignesh R			compatible = "ti,am654-adc", "ti,am3359-adc";
104aa6eaaa2SVignesh R		};
105aa6eaaa2SVignesh R	};
10607481770SVignesh Raghavendra
10707481770SVignesh Raghavendra	fss: fss@47000000 {
10807481770SVignesh Raghavendra		compatible = "simple-bus";
10907481770SVignesh Raghavendra		#address-cells = <2>;
11007481770SVignesh Raghavendra		#size-cells = <2>;
11107481770SVignesh Raghavendra		ranges;
11207481770SVignesh Raghavendra
11307481770SVignesh Raghavendra		ospi0: spi@47040000 {
11407481770SVignesh Raghavendra			compatible = "ti,am654-ospi", "cdns,qspi-nor";
11507481770SVignesh Raghavendra			reg = <0x0 0x47040000 0x0 0x100>,
11607481770SVignesh Raghavendra				<0x5 0x00000000 0x1 0x0000000>;
11707481770SVignesh Raghavendra			interrupts = <GIC_SPI 552 IRQ_TYPE_LEVEL_HIGH>;
11807481770SVignesh Raghavendra			cdns,fifo-depth = <256>;
11907481770SVignesh Raghavendra			cdns,fifo-width = <4>;
12007481770SVignesh Raghavendra			cdns,trigger-address = <0x0>;
12107481770SVignesh Raghavendra			clocks = <&k3_clks 248 0>;
12207481770SVignesh Raghavendra			assigned-clocks = <&k3_clks 248 0>;
12307481770SVignesh Raghavendra			assigned-clock-parents = <&k3_clks 248 2>;
12407481770SVignesh Raghavendra			assigned-clock-rates = <166666666>;
12507481770SVignesh Raghavendra			power-domains = <&k3_pds 248 TI_SCI_PD_EXCLUSIVE>;
12607481770SVignesh Raghavendra			#address-cells = <1>;
12707481770SVignesh Raghavendra			#size-cells = <0>;
12807481770SVignesh Raghavendra		};
12907481770SVignesh Raghavendra
13007481770SVignesh Raghavendra		ospi1: spi@47050000 {
13107481770SVignesh Raghavendra			compatible = "ti,am654-ospi", "cdns,qspi-nor";
13207481770SVignesh Raghavendra			reg = <0x0 0x47050000 0x0 0x100>,
13307481770SVignesh Raghavendra				<0x7 0x00000000 0x1 0x00000000>;
13407481770SVignesh Raghavendra			interrupts = <GIC_SPI 553 IRQ_TYPE_LEVEL_HIGH>;
13507481770SVignesh Raghavendra			cdns,fifo-depth = <256>;
13607481770SVignesh Raghavendra			cdns,fifo-width = <4>;
13707481770SVignesh Raghavendra			cdns,trigger-address = <0x0>;
13807481770SVignesh Raghavendra			clocks = <&k3_clks 249 6>;
13907481770SVignesh Raghavendra			power-domains = <&k3_pds 249 TI_SCI_PD_EXCLUSIVE>;
14007481770SVignesh Raghavendra			#address-cells = <1>;
14107481770SVignesh Raghavendra			#size-cells = <0>;
14207481770SVignesh Raghavendra		};
14307481770SVignesh Raghavendra	};
1444201af25SNishanth Menon};
145