xref: /linux/arch/arm64/boot/dts/ti/k3-am62p-j722s-common-wakeup.dtsi (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
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		cpsw_mac_syscon: ethernet-mac-syscon@200 {
24			compatible = "ti,am62p-cpsw-mac-efuse", "syscon";
25			reg = <0x200 0x8>;
26		};
27
28		usb0_phy_ctrl: syscon@4008 {
29			compatible = "ti,am62-usb-phy-ctrl", "syscon";
30			reg = <0x4008 0x4>;
31		};
32
33		usb1_phy_ctrl: syscon@4018 {
34			compatible = "ti,am62-usb-phy-ctrl", "syscon";
35			reg = <0x4018 0x4>;
36		};
37	};
38
39	wkup_uart0: serial@2b300000 {
40		compatible = "ti,am64-uart", "ti,am654-uart";
41		reg = <0x00 0x2b300000 0x00 0x100>;
42		interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
43		power-domains = <&k3_pds 114 TI_SCI_PD_EXCLUSIVE>;
44		clocks = <&k3_clks 114 0>;
45		clock-names = "fclk";
46		status = "disabled";
47	};
48
49	wkup_i2c0: i2c@2b200000 {
50		compatible = "ti,am64-i2c", "ti,omap4-i2c";
51		reg = <0x00 0x2b200000 0x00 0x100>;
52		interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
53		#address-cells = <1>;
54		#size-cells = <0>;
55		power-domains = <&k3_pds 107 TI_SCI_PD_EXCLUSIVE>;
56		clocks = <&k3_clks 107 4>;
57		clock-names = "fck";
58		status = "disabled";
59	};
60
61	wkup_rtc0: rtc@2b1f0000 {
62		compatible = "ti,am62-rtc";
63		reg = <0x00 0x2b1f0000 0x00 0x100>;
64		interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
65		clocks = <&k3_clks 117 6> , <&k3_clks 117 0>;
66		clock-names = "vbus", "osc32k";
67		power-domains = <&k3_pds 117 TI_SCI_PD_EXCLUSIVE>;
68		wakeup-source;
69	};
70
71	wkup_rti0: watchdog@2b000000 {
72		compatible = "ti,j7-rti-wdt";
73		reg = <0x00 0x2b000000 0x00 0x100>;
74		clocks = <&k3_clks 132 0>;
75		power-domains = <&k3_pds 132 TI_SCI_PD_EXCLUSIVE>;
76		assigned-clocks = <&k3_clks 132 0>;
77		assigned-clock-parents = <&k3_clks 132 2>;
78		/* Used by DM firmware */
79		status = "reserved";
80	};
81
82	wkup_vtm0: temperature-sensor@b00000 {
83		compatible = "ti,j7200-vtm";
84		reg = <0x00 0xb00000 0x00 0x400>,
85		      <0x00 0xb01000 0x00 0x400>;
86		power-domains = <&k3_pds 95 TI_SCI_PD_EXCLUSIVE>;
87		#thermal-sensor-cells = <1>;
88	};
89
90	wkup_r5fss0: r5fss@78000000 {
91		compatible = "ti,am62-r5fss";
92		#address-cells = <1>;
93		#size-cells = <1>;
94		ranges = <0x78000000 0x00 0x78000000 0x8000>,
95			 <0x78100000 0x00 0x78100000 0x8000>;
96		power-domains = <&k3_pds 119 TI_SCI_PD_EXCLUSIVE>;
97		status = "disabled";
98
99		wkup_r5fss0_core0: r5f@78000000 {
100			compatible = "ti,am62-r5f";
101			reg = <0x78000000 0x00008000>,
102			      <0x78100000 0x00008000>;
103			reg-names = "atcm", "btcm";
104			ti,sci = <&dmsc>;
105			ti,sci-dev-id = <121>;
106			ti,sci-proc-ids = <0x01 0xff>;
107			resets = <&k3_reset 121 1>;
108			firmware-name = "am62-wkup-r5f0_0-fw";
109			ti,atcm-enable = <1>;
110			ti,btcm-enable = <1>;
111			ti,loczrama = <1>;
112		};
113	};
114};
115