blob: c71d9624ea27712c6034679d0ea8fe31395bdc20 [file] [log] [blame]
Tom Rini6bb92fc2024-05-20 09:54:58 -06001// SPDX-License-Identifier: GPL-2.0-only OR MIT
Tom Rini53633a82024-02-29 12:33:36 -05002/*
3 * Device Tree file for the AM62P wakeup domain peripherals
Tom Rini6bb92fc2024-05-20 09:54:58 -06004 * Copyright (C) 2023-2024 Texas Instruments Incorporated - https://www.ti.com/
Tom Rini53633a82024-02-29 12:33:36 -05005 */
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 };
Tom Rini762f85b2024-07-20 11:15:10 -060021
22 usb0_phy_ctrl: syscon@4008 {
23 compatible = "ti,am62-usb-phy-ctrl", "syscon";
24 reg = <0x4008 0x4>;
25 };
26
27 usb1_phy_ctrl: syscon@4018 {
28 compatible = "ti,am62-usb-phy-ctrl", "syscon";
29 reg = <0x4018 0x4>;
30 };
Tom Rini53633a82024-02-29 12:33:36 -050031 };
32
33 wkup_uart0: serial@2b300000 {
34 compatible = "ti,am64-uart", "ti,am654-uart";
35 reg = <0x00 0x2b300000 0x00 0x100>;
36 interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
37 power-domains = <&k3_pds 114 TI_SCI_PD_EXCLUSIVE>;
38 clocks = <&k3_clks 114 0>;
39 clock-names = "fclk";
40 status = "disabled";
41 };
42
43 wkup_i2c0: i2c@2b200000 {
44 compatible = "ti,am64-i2c", "ti,omap4-i2c";
45 reg = <0x00 0x2b200000 0x00 0x100>;
46 interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
47 #address-cells = <1>;
48 #size-cells = <0>;
49 power-domains = <&k3_pds 107 TI_SCI_PD_EXCLUSIVE>;
50 clocks = <&k3_clks 107 4>;
51 clock-names = "fck";
52 status = "disabled";
53 };
54
55 wkup_rtc0: rtc@2b1f0000 {
56 compatible = "ti,am62-rtc";
57 reg = <0x00 0x2b1f0000 0x00 0x100>;
58 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
59 clocks = <&k3_clks 117 6> , <&k3_clks 117 0>;
60 clock-names = "vbus", "osc32k";
61 power-domains = <&k3_pds 117 TI_SCI_PD_EXCLUSIVE>;
62 wakeup-source;
63 };
64
65 wkup_rti0: watchdog@2b000000 {
66 compatible = "ti,j7-rti-wdt";
67 reg = <0x00 0x2b000000 0x00 0x100>;
68 clocks = <&k3_clks 132 0>;
69 power-domains = <&k3_pds 132 TI_SCI_PD_EXCLUSIVE>;
70 assigned-clocks = <&k3_clks 132 0>;
71 assigned-clock-parents = <&k3_clks 132 2>;
72 /* Used by DM firmware */
73 status = "reserved";
74 };
75
76 wkup_vtm0: temperature-sensor@b00000 {
77 compatible = "ti,j7200-vtm";
78 reg = <0x00 0xb00000 0x00 0x400>,
79 <0x00 0xb01000 0x00 0x400>;
80 power-domains = <&k3_pds 95 TI_SCI_PD_EXCLUSIVE>;
81 #thermal-sensor-cells = <1>;
82 };
83
84 wkup_r5fss0: r5fss@78000000 {
85 compatible = "ti,am62-r5fss";
86 #address-cells = <1>;
87 #size-cells = <1>;
88 ranges = <0x78000000 0x00 0x78000000 0x8000>,
89 <0x78100000 0x00 0x78100000 0x8000>;
90 power-domains = <&k3_pds 119 TI_SCI_PD_EXCLUSIVE>;
Tom Rini6bb92fc2024-05-20 09:54:58 -060091 status = "disabled";
Tom Rini53633a82024-02-29 12:33:36 -050092
93 wkup_r5fss0_core0: r5f@78000000 {
94 compatible = "ti,am62-r5f";
95 reg = <0x78000000 0x00008000>,
96 <0x78100000 0x00008000>;
97 reg-names = "atcm", "btcm";
98 ti,sci = <&dmsc>;
99 ti,sci-dev-id = <121>;
100 ti,sci-proc-ids = <0x01 0xff>;
101 resets = <&k3_reset 121 1>;
102 firmware-name = "am62-wkup-r5f0_0-fw";
103 ti,atcm-enable = <1>;
104 ti,btcm-enable = <1>;
105 ti,loczrama = <1>;
106 };
107 };
108};