1c9ccf3a3SEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2c9ccf3a3SEmmanuel Vadot/*
3c9ccf3a3SEmmanuel Vadot * Device Tree Source for AM625 SoC Family Wakeup Domain peripherals
4c9ccf3a3SEmmanuel Vadot *
5c9ccf3a3SEmmanuel Vadot * Copyright (C) 2020-2022 Texas Instruments Incorporated - https://www.ti.com/
6c9ccf3a3SEmmanuel Vadot */
7c9ccf3a3SEmmanuel Vadot
8c9ccf3a3SEmmanuel Vadot&cbass_wakeup {
9c9ccf3a3SEmmanuel Vadot	wkup_conf: syscon@43000000 {
10*84943d6fSEmmanuel Vadot		bootph-all;
11c9ccf3a3SEmmanuel Vadot		compatible = "syscon", "simple-mfd";
12c9ccf3a3SEmmanuel Vadot		reg = <0x00 0x43000000 0x00 0x20000>;
13c9ccf3a3SEmmanuel Vadot		#address-cells = <1>;
14c9ccf3a3SEmmanuel Vadot		#size-cells = <1>;
15c9ccf3a3SEmmanuel Vadot		ranges = <0x0 0x00 0x43000000 0x20000>;
16c9ccf3a3SEmmanuel Vadot
17c9ccf3a3SEmmanuel Vadot		chipid: chipid@14 {
18*84943d6fSEmmanuel Vadot			bootph-all;
19c9ccf3a3SEmmanuel Vadot			compatible = "ti,am654-chipid";
20c9ccf3a3SEmmanuel Vadot			reg = <0x14 0x4>;
21c9ccf3a3SEmmanuel Vadot		};
22c9ccf3a3SEmmanuel Vadot	};
23c9ccf3a3SEmmanuel Vadot
24c9ccf3a3SEmmanuel Vadot	wkup_uart0: serial@2b300000 {
25c9ccf3a3SEmmanuel Vadot		compatible = "ti,am64-uart", "ti,am654-uart";
26c9ccf3a3SEmmanuel Vadot		reg = <0x00 0x2b300000 0x00 0x100>;
27c9ccf3a3SEmmanuel Vadot		interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
28c9ccf3a3SEmmanuel Vadot		power-domains = <&k3_pds 114 TI_SCI_PD_EXCLUSIVE>;
29c9ccf3a3SEmmanuel Vadot		clocks = <&k3_clks 114 0>;
30c9ccf3a3SEmmanuel Vadot		clock-names = "fclk";
318bab661aSEmmanuel Vadot		status = "disabled";
32c9ccf3a3SEmmanuel Vadot	};
33c9ccf3a3SEmmanuel Vadot
34c9ccf3a3SEmmanuel Vadot	wkup_i2c0: i2c@2b200000 {
35c9ccf3a3SEmmanuel Vadot		compatible = "ti,am64-i2c", "ti,omap4-i2c";
368bab661aSEmmanuel Vadot		reg = <0x00 0x2b200000 0x00 0x100>;
37c9ccf3a3SEmmanuel Vadot		interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
38c9ccf3a3SEmmanuel Vadot		#address-cells = <1>;
39c9ccf3a3SEmmanuel Vadot		#size-cells = <0>;
40c9ccf3a3SEmmanuel Vadot		power-domains = <&k3_pds 107 TI_SCI_PD_EXCLUSIVE>;
41c9ccf3a3SEmmanuel Vadot		clocks = <&k3_clks 107 4>;
42c9ccf3a3SEmmanuel Vadot		clock-names = "fck";
438bab661aSEmmanuel Vadot		status = "disabled";
44c9ccf3a3SEmmanuel Vadot	};
45fac71e4eSEmmanuel Vadot
46fac71e4eSEmmanuel Vadot	wkup_rtc0: rtc@2b1f0000 {
47fac71e4eSEmmanuel Vadot		compatible = "ti,am62-rtc";
48fac71e4eSEmmanuel Vadot		reg = <0x00 0x2b1f0000 0x00 0x100>;
49fac71e4eSEmmanuel Vadot		interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
50fac71e4eSEmmanuel Vadot		clocks = <&k3_clks 117 6> , <&k3_clks 117 0>;
51fac71e4eSEmmanuel Vadot		clock-names = "vbus", "osc32k";
52fac71e4eSEmmanuel Vadot		power-domains = <&k3_pds 117 TI_SCI_PD_EXCLUSIVE>;
53fac71e4eSEmmanuel Vadot		wakeup-source;
54fac71e4eSEmmanuel Vadot	};
55fac71e4eSEmmanuel Vadot
56fac71e4eSEmmanuel Vadot	wkup_rti0: watchdog@2b000000 {
57fac71e4eSEmmanuel Vadot		compatible = "ti,j7-rti-wdt";
58fac71e4eSEmmanuel Vadot		reg = <0x00 0x2b000000 0x00 0x100>;
59fac71e4eSEmmanuel Vadot		clocks = <&k3_clks 132 0>;
60fac71e4eSEmmanuel Vadot		power-domains = <&k3_pds 132 TI_SCI_PD_EXCLUSIVE>;
61fac71e4eSEmmanuel Vadot		assigned-clocks = <&k3_clks 132 0>;
62fac71e4eSEmmanuel Vadot		assigned-clock-parents = <&k3_clks 132 2>;
63fac71e4eSEmmanuel Vadot		/* Used by DM firmware */
64fac71e4eSEmmanuel Vadot		status = "reserved";
65fac71e4eSEmmanuel Vadot	};
66f126890aSEmmanuel Vadot
67f126890aSEmmanuel Vadot	wkup_vtm0: temperature-sensor@b00000 {
68f126890aSEmmanuel Vadot		compatible = "ti,j7200-vtm";
69f126890aSEmmanuel Vadot		reg = <0x00 0xb00000 0x00 0x400>,
70f126890aSEmmanuel Vadot		      <0x00 0xb01000 0x00 0x400>;
71f126890aSEmmanuel Vadot		power-domains = <&k3_pds 95 TI_SCI_PD_EXCLUSIVE>;
72f126890aSEmmanuel Vadot		#thermal-sensor-cells = <1>;
73f126890aSEmmanuel Vadot	};
74c9ccf3a3SEmmanuel Vadot};
75