xref: /freebsd/sys/contrib/device-tree/src/arm64/ti/k3-am62p-wakeup.dtsi (revision 8d13bc63c0e1d50bc9e47ac1f26329c999bfecf0)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Device Tree file for the AM62P wakeup domain peripherals
4 * Copyright (C) 2023 Texas Instruments Incorporated - https://www.ti.com/
5 */
6
7&cbass_wakeup {
8	wkup_conf: bus@43000000 {
9		compatible = "simple-bus";
10		reg = <0x00 0x43000000 0x00 0x20000>;
11		#address-cells = <1>;
12		#size-cells = <1>;
13		ranges = <0x00 0x00 0x43000000 0x20000>;
14		bootph-all;
15
16		chipid: chipid@14 {
17			compatible = "ti,am654-chipid";
18			reg = <0x14 0x4>;
19			bootph-all;
20		};
21	};
22
23	wkup_uart0: serial@2b300000 {
24		compatible = "ti,am64-uart", "ti,am654-uart";
25		reg = <0x00 0x2b300000 0x00 0x100>;
26		interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
27		power-domains = <&k3_pds 114 TI_SCI_PD_EXCLUSIVE>;
28		clocks = <&k3_clks 114 0>;
29		clock-names = "fclk";
30		status = "disabled";
31	};
32
33	wkup_i2c0: i2c@2b200000 {
34		compatible = "ti,am64-i2c", "ti,omap4-i2c";
35		reg = <0x00 0x2b200000 0x00 0x100>;
36		interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
37		#address-cells = <1>;
38		#size-cells = <0>;
39		power-domains = <&k3_pds 107 TI_SCI_PD_EXCLUSIVE>;
40		clocks = <&k3_clks 107 4>;
41		clock-names = "fck";
42		status = "disabled";
43	};
44
45	wkup_rtc0: rtc@2b1f0000 {
46		compatible = "ti,am62-rtc";
47		reg = <0x00 0x2b1f0000 0x00 0x100>;
48		interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
49		clocks = <&k3_clks 117 6> , <&k3_clks 117 0>;
50		clock-names = "vbus", "osc32k";
51		power-domains = <&k3_pds 117 TI_SCI_PD_EXCLUSIVE>;
52		wakeup-source;
53	};
54
55	wkup_rti0: watchdog@2b000000 {
56		compatible = "ti,j7-rti-wdt";
57		reg = <0x00 0x2b000000 0x00 0x100>;
58		clocks = <&k3_clks 132 0>;
59		power-domains = <&k3_pds 132 TI_SCI_PD_EXCLUSIVE>;
60		assigned-clocks = <&k3_clks 132 0>;
61		assigned-clock-parents = <&k3_clks 132 2>;
62		/* Used by DM firmware */
63		status = "reserved";
64	};
65
66	wkup_vtm0: temperature-sensor@b00000 {
67		compatible = "ti,j7200-vtm";
68		reg = <0x00 0xb00000 0x00 0x400>,
69		      <0x00 0xb01000 0x00 0x400>;
70		power-domains = <&k3_pds 95 TI_SCI_PD_EXCLUSIVE>;
71		#thermal-sensor-cells = <1>;
72	};
73
74	wkup_r5fss0: r5fss@78000000 {
75		compatible = "ti,am62-r5fss";
76		#address-cells = <1>;
77		#size-cells = <1>;
78		ranges = <0x78000000 0x00 0x78000000 0x8000>,
79			 <0x78100000 0x00 0x78100000 0x8000>;
80		power-domains = <&k3_pds 119 TI_SCI_PD_EXCLUSIVE>;
81
82		wkup_r5fss0_core0: r5f@78000000 {
83			compatible = "ti,am62-r5f";
84			reg = <0x78000000 0x00008000>,
85			      <0x78100000 0x00008000>;
86			reg-names = "atcm", "btcm";
87			ti,sci = <&dmsc>;
88			ti,sci-dev-id = <121>;
89			ti,sci-proc-ids = <0x01 0xff>;
90			resets = <&k3_reset 121 1>;
91			firmware-name = "am62-wkup-r5f0_0-fw";
92			ti,atcm-enable = <1>;
93			ti,btcm-enable = <1>;
94			ti,loczrama = <1>;
95		};
96	};
97};
98