xref: /linux/arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi (revision 6efc0ab3b05de0d7bab8ec0597214e4788251071)
1// SPDX-License-Identifier: GPL-2.0-only OR MIT
2/*
3 * Device Tree Source for AM625 SoC Family Wakeup Domain peripherals
4 *
5 * Copyright (C) 2020-2024 Texas Instruments Incorporated - https://www.ti.com/
6 */
7
8#include <dt-bindings/bus/ti-sysc.h>
9
10&cbass_wakeup {
11	wkup_conf: syscon@43000000 {
12		bootph-all;
13		compatible = "syscon", "simple-mfd";
14		reg = <0x00 0x43000000 0x00 0x20000>;
15		#address-cells = <1>;
16		#size-cells = <1>;
17		ranges = <0x0 0x00 0x43000000 0x20000>;
18
19		chipid: chipid@14 {
20			bootph-all;
21			compatible = "ti,am654-chipid";
22			reg = <0x14 0x4>;
23		};
24
25		cpsw_mac_syscon: ethernet-mac-syscon@200 {
26			compatible = "ti,am62p-cpsw-mac-efuse", "syscon";
27			reg = <0x200 0x8>;
28		};
29
30		usb0_phy_ctrl: syscon@4008 {
31			compatible = "ti,am62-usb-phy-ctrl", "syscon";
32			reg = <0x4008 0x4>;
33		};
34
35		usb1_phy_ctrl: syscon@4018 {
36			compatible = "ti,am62-usb-phy-ctrl", "syscon";
37			reg = <0x4018 0x4>;
38		};
39	};
40
41	target-module@2b300050 {
42		compatible = "ti,sysc-omap2", "ti,sysc";
43		reg = <0x00 0x2b300050 0x00 0x4>,
44		      <0x00 0x2b300054 0x00 0x4>,
45		      <0x00 0x2b300058 0x00 0x4>;
46		reg-names = "rev", "sysc", "syss";
47		ti,sysc-mask = <(SYSC_OMAP2_ENAWAKEUP |
48				 SYSC_OMAP2_SOFTRESET |
49				 SYSC_OMAP2_AUTOIDLE)>;
50		ti,sysc-sidle = <SYSC_IDLE_FORCE>,
51				<SYSC_IDLE_NO>,
52				<SYSC_IDLE_SMART>,
53				<SYSC_IDLE_SMART_WKUP>;
54		ti,syss-mask = <1>;
55		ti,no-reset-on-init;
56		power-domains = <&k3_pds 114 TI_SCI_PD_EXCLUSIVE>;
57		clocks = <&k3_clks 114 0>;
58		clock-names = "fck";
59		#address-cells = <1>;
60		#size-cells = <1>;
61		ranges = <0x0 0x00 0x2b300000 0x100000>;
62
63		wkup_uart0: serial@0 {
64			compatible = "ti,am64-uart", "ti,am654-uart";
65			reg = <0x0 0x100>;
66			interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
67			status = "disabled";
68		};
69	};
70
71	wkup_i2c0: i2c@2b200000 {
72		compatible = "ti,am64-i2c", "ti,omap4-i2c";
73		reg = <0x00 0x2b200000 0x00 0x100>;
74		interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
75		#address-cells = <1>;
76		#size-cells = <0>;
77		power-domains = <&k3_pds 107 TI_SCI_PD_EXCLUSIVE>;
78		clocks = <&k3_clks 107 4>;
79		clock-names = "fck";
80		status = "disabled";
81	};
82
83	wkup_rtc0: rtc@2b1f0000 {
84		compatible = "ti,am62-rtc";
85		reg = <0x00 0x2b1f0000 0x00 0x100>;
86		interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
87		clocks = <&k3_clks 117 6> , <&k3_clks 117 0>;
88		clock-names = "vbus", "osc32k";
89		power-domains = <&k3_pds 117 TI_SCI_PD_EXCLUSIVE>;
90		wakeup-source;
91	};
92
93	wkup_rti0: watchdog@2b000000 {
94		compatible = "ti,j7-rti-wdt";
95		reg = <0x00 0x2b000000 0x00 0x100>;
96		clocks = <&k3_clks 132 0>;
97		power-domains = <&k3_pds 132 TI_SCI_PD_EXCLUSIVE>;
98		assigned-clocks = <&k3_clks 132 0>;
99		assigned-clock-parents = <&k3_clks 132 2>;
100		/* Used by DM firmware */
101		status = "reserved";
102	};
103
104	wkup_vtm0: temperature-sensor@b00000 {
105		compatible = "ti,j7200-vtm";
106		reg = <0x00 0xb00000 0x00 0x400>,
107		      <0x00 0xb01000 0x00 0x400>;
108		power-domains = <&k3_pds 95 TI_SCI_PD_EXCLUSIVE>;
109		#thermal-sensor-cells = <1>;
110	};
111};
112