Merge branch 'master' of git://git.denx.de/u-boot
[oweals/u-boot.git] / arch / arm / dts / k3-am65-wakeup.dtsi
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3  * Device Tree Source for AM6 SoC Family Wakeup Domain peripherals
4  *
5  * Copyright (C) 2016-2018 Texas Instruments Incorporated - http://www.ti.com/
6  */
7
8 &cbass_wakeup {
9         dmsc: dmsc {
10                 compatible = "ti,am654-sci";
11                 ti,host-id = <12>;
12                 #address-cells = <1>;
13                 #size-cells = <1>;
14                 ranges;
15
16                 mbox-names = "rx", "tx";
17
18                 mboxes= <&secure_proxy_main 11>,
19                         <&secure_proxy_main 13>;
20
21                 k3_pds: power-controller {
22                         compatible = "ti,sci-pm-domain";
23                         #power-domain-cells = <2>;
24                 };
25
26                 k3_clks: clocks {
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
37         wkup_pmx0: pinmux@4301c000 {
38                 compatible = "pinctrl-single";
39                 reg = <0x4301c000 0x118>;
40                 #pinctrl-cells = <1>;
41                 pinctrl-single,register-width = <32>;
42                 pinctrl-single,function-mask = <0xffffffff>;
43         };
44
45         wkup_uart0: serial@42300000 {
46                 compatible = "ti,am654-uart";
47                 reg = <0x42300000 0x100>;
48                 reg-shift = <2>;
49                 reg-io-width = <4>;
50                 interrupts = <GIC_SPI 697 IRQ_TYPE_LEVEL_HIGH>;
51                 clock-frequency = <48000000>;
52                 current-speed = <115200>;
53         };
54
55         wkup_i2c0: i2c@42120000 {
56                 compatible = "ti,am654-i2c", "ti,omap4-i2c";
57                 reg = <0x42120000 0x100>;
58                 interrupts = <GIC_SPI 696 IRQ_TYPE_LEVEL_HIGH>;
59                 #address-cells = <1>;
60                 #size-cells = <0>;
61                 clock-names = "fck";
62                 clocks = <&k3_clks 115 1>;
63                 power-domains = <&k3_pds 115 TI_SCI_PD_EXCLUSIVE>;
64         };
65 };