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