xref: /freebsd/sys/contrib/device-tree/src/arm64/ti/k3-am65-wakeup.dtsi (revision 8d13bc63c0e1d50bc9e47ac1f26329c999bfecf0)
1c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2c66ec88fSEmmanuel Vadot/*
3c66ec88fSEmmanuel Vadot * Device Tree Source for AM6 SoC Family Wakeup Domain peripherals
4c66ec88fSEmmanuel Vadot *
5c66ec88fSEmmanuel Vadot * Copyright (C) 2016-2018 Texas Instruments Incorporated - https://www.ti.com/
6c66ec88fSEmmanuel Vadot */
7c66ec88fSEmmanuel Vadot
8c66ec88fSEmmanuel Vadot&cbass_wakeup {
92eb4d8dcSEmmanuel Vadot	dmsc: system-controller@44083000 {
10c66ec88fSEmmanuel Vadot		compatible = "ti,am654-sci";
11c66ec88fSEmmanuel Vadot		ti,host-id = <12>;
12c66ec88fSEmmanuel Vadot
13c66ec88fSEmmanuel Vadot		mbox-names = "rx", "tx";
14c66ec88fSEmmanuel Vadot
15c66ec88fSEmmanuel Vadot		mboxes = <&secure_proxy_main 11>,
16c66ec88fSEmmanuel Vadot			 <&secure_proxy_main 13>;
17c66ec88fSEmmanuel Vadot
182eb4d8dcSEmmanuel Vadot		reg-names = "debug_messages";
192eb4d8dcSEmmanuel Vadot		reg = <0x44083000 0x1000>;
202eb4d8dcSEmmanuel Vadot
21c66ec88fSEmmanuel Vadot		k3_pds: power-controller {
22c66ec88fSEmmanuel Vadot			compatible = "ti,sci-pm-domain";
23c66ec88fSEmmanuel Vadot			#power-domain-cells = <2>;
24c66ec88fSEmmanuel Vadot		};
25c66ec88fSEmmanuel Vadot
262eb4d8dcSEmmanuel Vadot		k3_clks: clock-controller {
27c66ec88fSEmmanuel Vadot			compatible = "ti,k2g-sci-clk";
28c66ec88fSEmmanuel Vadot			#clock-cells = <2>;
29c66ec88fSEmmanuel Vadot		};
30c66ec88fSEmmanuel Vadot
31c66ec88fSEmmanuel Vadot		k3_reset: reset-controller {
32c66ec88fSEmmanuel Vadot			compatible = "ti,sci-reset";
33c66ec88fSEmmanuel Vadot			#reset-cells = <2>;
34c66ec88fSEmmanuel Vadot		};
35c66ec88fSEmmanuel Vadot	};
36c66ec88fSEmmanuel Vadot
37*8d13bc63SEmmanuel Vadot	wkup_conf: bus@43000000 {
38*8d13bc63SEmmanuel Vadot		compatible = "simple-bus";
39*8d13bc63SEmmanuel Vadot		#address-cells = <1>;
40*8d13bc63SEmmanuel Vadot		#size-cells = <1>;
41*8d13bc63SEmmanuel Vadot		ranges = <0x0 0x43000000 0x20000>;
42*8d13bc63SEmmanuel Vadot
43*8d13bc63SEmmanuel Vadot		chipid: chipid@14 {
44c66ec88fSEmmanuel Vadot			compatible = "ti,am654-chipid";
45*8d13bc63SEmmanuel Vadot			reg = <0x14 0x4>;
46*8d13bc63SEmmanuel Vadot		};
47c66ec88fSEmmanuel Vadot	};
48c66ec88fSEmmanuel Vadot
496be33864SEmmanuel Vadot	wkup_pmx0: pinctrl@4301c000 {
50c66ec88fSEmmanuel Vadot		compatible = "pinctrl-single";
51c66ec88fSEmmanuel Vadot		reg = <0x4301c000 0x118>;
52c66ec88fSEmmanuel Vadot		#pinctrl-cells = <1>;
53c66ec88fSEmmanuel Vadot		pinctrl-single,register-width = <32>;
54c66ec88fSEmmanuel Vadot		pinctrl-single,function-mask = <0xffffffff>;
55c66ec88fSEmmanuel Vadot	};
56c66ec88fSEmmanuel Vadot
57c66ec88fSEmmanuel Vadot	wkup_uart0: serial@42300000 {
58c66ec88fSEmmanuel Vadot		compatible = "ti,am654-uart";
59c66ec88fSEmmanuel Vadot		reg = <0x42300000 0x100>;
60c66ec88fSEmmanuel Vadot		interrupts = <GIC_SPI 697 IRQ_TYPE_LEVEL_HIGH>;
61c66ec88fSEmmanuel Vadot		clock-frequency = <48000000>;
62c66ec88fSEmmanuel Vadot		current-speed = <115200>;
63c66ec88fSEmmanuel Vadot		power-domains = <&k3_pds 150 TI_SCI_PD_EXCLUSIVE>;
648bab661aSEmmanuel Vadot		status = "disabled";
65c66ec88fSEmmanuel Vadot	};
66c66ec88fSEmmanuel Vadot
67c66ec88fSEmmanuel Vadot	wkup_i2c0: i2c@42120000 {
68c66ec88fSEmmanuel Vadot		compatible = "ti,am654-i2c", "ti,omap4-i2c";
69c66ec88fSEmmanuel Vadot		reg = <0x42120000 0x100>;
70c66ec88fSEmmanuel Vadot		interrupts = <GIC_SPI 696 IRQ_TYPE_LEVEL_HIGH>;
71c66ec88fSEmmanuel Vadot		#address-cells = <1>;
72c66ec88fSEmmanuel Vadot		#size-cells = <0>;
73c66ec88fSEmmanuel Vadot		clock-names = "fck";
74c66ec88fSEmmanuel Vadot		clocks = <&k3_clks 115 1>;
75c66ec88fSEmmanuel Vadot		power-domains = <&k3_pds 115 TI_SCI_PD_EXCLUSIVE>;
768bab661aSEmmanuel Vadot		status = "disabled";
77c66ec88fSEmmanuel Vadot	};
78c66ec88fSEmmanuel Vadot
792eb4d8dcSEmmanuel Vadot	intr_wkup_gpio: interrupt-controller@42200000 {
80c66ec88fSEmmanuel Vadot		compatible = "ti,sci-intr";
812eb4d8dcSEmmanuel Vadot		reg = <0x42200000 0x200>;
82c66ec88fSEmmanuel Vadot		ti,intr-trigger-type = <1>;
83c66ec88fSEmmanuel Vadot		interrupt-controller;
84c66ec88fSEmmanuel Vadot		interrupt-parent = <&gic500>;
85c66ec88fSEmmanuel Vadot		#interrupt-cells = <1>;
86c66ec88fSEmmanuel Vadot		ti,sci = <&dmsc>;
87c66ec88fSEmmanuel Vadot		ti,sci-dev-id = <156>;
88c66ec88fSEmmanuel Vadot		ti,interrupt-ranges = <0 712 16>;
89c66ec88fSEmmanuel Vadot	};
90c66ec88fSEmmanuel Vadot
916be33864SEmmanuel Vadot	wkup_gpio0: gpio@42110000 {
92c66ec88fSEmmanuel Vadot		compatible = "ti,am654-gpio", "ti,keystone-gpio";
93c66ec88fSEmmanuel Vadot		reg = <0x42110000 0x100>;
94c66ec88fSEmmanuel Vadot		gpio-controller;
95c66ec88fSEmmanuel Vadot		#gpio-cells = <2>;
96c66ec88fSEmmanuel Vadot		interrupt-parent = <&intr_wkup_gpio>;
97c66ec88fSEmmanuel Vadot		interrupts = <60>, <61>, <62>, <63>;
98c66ec88fSEmmanuel Vadot		interrupt-controller;
99c66ec88fSEmmanuel Vadot		#interrupt-cells = <2>;
100c66ec88fSEmmanuel Vadot		ti,ngpio = <56>;
101c66ec88fSEmmanuel Vadot		ti,davinci-gpio-unbanked = <0>;
102c66ec88fSEmmanuel Vadot		clocks = <&k3_clks 59 0>;
103c66ec88fSEmmanuel Vadot		clock-names = "gpio";
104c66ec88fSEmmanuel Vadot	};
105c66ec88fSEmmanuel Vadot
1066be33864SEmmanuel Vadot	wkup_vtm0: temperature-sensor@42050000 {
107c66ec88fSEmmanuel Vadot		compatible = "ti,am654-vtm";
108c66ec88fSEmmanuel Vadot		reg = <0x42050000 0x25c>;
109c66ec88fSEmmanuel Vadot		power-domains = <&k3_pds 80 TI_SCI_PD_EXCLUSIVE>;
110c66ec88fSEmmanuel Vadot		#thermal-sensor-cells = <1>;
111c66ec88fSEmmanuel Vadot	};
112c66ec88fSEmmanuel Vadot};
113