blob: 37527890ddeaf9a5517d037deb7d7e98696e638d [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 Source for AM6 SoC Family Wakeup Domain peripherals
4 *
Tom Rini6bb92fc2024-05-20 09:54:58 -06005 * Copyright (C) 2016-2024 Texas Instruments Incorporated - https://www.ti.com/
Tom Rini53633a82024-02-29 12:33:36 -05006 */
7
8&cbass_wakeup {
9 dmsc: system-controller@44083000 {
10 compatible = "ti,am654-sci";
11 ti,host-id = <12>;
12
13 mbox-names = "rx", "tx";
14
15 mboxes = <&secure_proxy_main 11>,
16 <&secure_proxy_main 13>;
17
18 reg-names = "debug_messages";
19 reg = <0x44083000 0x1000>;
20
21 k3_pds: power-controller {
22 compatible = "ti,sci-pm-domain";
23 #power-domain-cells = <2>;
24 };
25
26 k3_clks: clock-controller {
27 compatible = "ti,k2g-sci-clk";
28 #clock-cells = <2>;
29 };
30
31 k3_reset: reset-controller {
32 compatible = "ti,sci-reset";
33 #reset-cells = <2>;
34 };
35 };
36
Tom Rini93743d22024-04-01 09:08:13 -040037 wkup_conf: bus@43000000 {
38 compatible = "simple-bus";
39 #address-cells = <1>;
40 #size-cells = <1>;
41 ranges = <0x0 0x43000000 0x20000>;
42
43 chipid: chipid@14 {
44 compatible = "ti,am654-chipid";
45 reg = <0x14 0x4>;
46 };
Tom Rini53633a82024-02-29 12:33:36 -050047 };
48
49 wkup_pmx0: pinctrl@4301c000 {
50 compatible = "pinctrl-single";
51 reg = <0x4301c000 0x118>;
52 #pinctrl-cells = <1>;
53 pinctrl-single,register-width = <32>;
54 pinctrl-single,function-mask = <0xffffffff>;
55 };
56
57 wkup_uart0: serial@42300000 {
58 compatible = "ti,am654-uart";
59 reg = <0x42300000 0x100>;
60 interrupts = <GIC_SPI 697 IRQ_TYPE_LEVEL_HIGH>;
61 clock-frequency = <48000000>;
62 current-speed = <115200>;
63 power-domains = <&k3_pds 150 TI_SCI_PD_EXCLUSIVE>;
64 status = "disabled";
65 };
66
67 wkup_i2c0: i2c@42120000 {
68 compatible = "ti,am654-i2c", "ti,omap4-i2c";
69 reg = <0x42120000 0x100>;
70 interrupts = <GIC_SPI 696 IRQ_TYPE_LEVEL_HIGH>;
71 #address-cells = <1>;
72 #size-cells = <0>;
73 clock-names = "fck";
74 clocks = <&k3_clks 115 1>;
75 power-domains = <&k3_pds 115 TI_SCI_PD_EXCLUSIVE>;
76 status = "disabled";
77 };
78
79 intr_wkup_gpio: interrupt-controller@42200000 {
80 compatible = "ti,sci-intr";
81 reg = <0x42200000 0x200>;
82 ti,intr-trigger-type = <1>;
83 interrupt-controller;
84 interrupt-parent = <&gic500>;
85 #interrupt-cells = <1>;
86 ti,sci = <&dmsc>;
87 ti,sci-dev-id = <156>;
88 ti,interrupt-ranges = <0 712 16>;
89 };
90
91 wkup_gpio0: gpio@42110000 {
92 compatible = "ti,am654-gpio", "ti,keystone-gpio";
93 reg = <0x42110000 0x100>;
94 gpio-controller;
95 #gpio-cells = <2>;
96 interrupt-parent = <&intr_wkup_gpio>;
97 interrupts = <60>, <61>, <62>, <63>;
98 interrupt-controller;
99 #interrupt-cells = <2>;
100 ti,ngpio = <56>;
101 ti,davinci-gpio-unbanked = <0>;
102 clocks = <&k3_clks 59 0>;
103 clock-names = "gpio";
104 };
105
106 wkup_vtm0: temperature-sensor@42050000 {
107 compatible = "ti,am654-vtm";
108 reg = <0x42050000 0x25c>;
109 power-domains = <&k3_pds 80 TI_SCI_PD_EXCLUSIVE>;
110 #thermal-sensor-cells = <1>;
111 };
112};