Merge tag 'armsoc-late' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
[sfrench/cifs-2.6.git] / arch / arm64 / boot / dts / ti / k3-j721e-mcu-wakeup.dtsi
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3  * Device Tree Source for J721E SoC Family MCU/WAKEUP Domain peripherals
4  *
5  * Copyright (C) 2016-2019 Texas Instruments Incorporated - http://www.ti.com/
6  */
7
8 &cbass_mcu_wakeup {
9         dmsc: dmsc@44083000 {
10                 compatible = "ti,k2g-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 = <0x00 0x44083000 0x0 0x1000>;
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                 /* Proxy 0 addressing */
40                 reg = <0x00 0x4301c000 0x00 0x178>;
41                 #pinctrl-cells = <1>;
42                 pinctrl-single,register-width = <32>;
43                 pinctrl-single,function-mask = <0xffffffff>;
44         };
45
46         mcu_ram: sram@41c00000 {
47                 compatible = "mmio-sram";
48                 reg = <0x00 0x41c00000 0x00 0x100000>;
49                 ranges = <0x0 0x00 0x41c00000 0x100000>;
50                 #address-cells = <1>;
51                 #size-cells = <1>;
52         };
53
54         wkup_uart0: serial@42300000 {
55                 compatible = "ti,j721e-uart", "ti,am654-uart";
56                 reg = <0x00 0x42300000 0x00 0x100>;
57                 reg-shift = <2>;
58                 reg-io-width = <4>;
59                 interrupts = <GIC_SPI 897 IRQ_TYPE_LEVEL_HIGH>;
60                 clock-frequency = <48000000>;
61                 current-speed = <115200>;
62                 power-domains = <&k3_pds 287 TI_SCI_PD_EXCLUSIVE>;
63                 clocks = <&k3_clks 287 0>;
64                 clock-names = "fclk";
65         };
66
67         mcu_uart0: serial@40a00000 {
68                 compatible = "ti,j721e-uart", "ti,am654-uart";
69                 reg = <0x00 0x40a00000 0x00 0x100>;
70                 reg-shift = <2>;
71                 reg-io-width = <4>;
72                 interrupts = <GIC_SPI 846 IRQ_TYPE_LEVEL_HIGH>;
73                 clock-frequency = <96000000>;
74                 current-speed = <115200>;
75                 power-domains = <&k3_pds 149 TI_SCI_PD_EXCLUSIVE>;
76                 clocks = <&k3_clks 149 0>;
77                 clock-names = "fclk";
78         };
79
80         wkup_gpio_intr: interrupt-controller2 {
81                 compatible = "ti,sci-intr";
82                 ti,intr-trigger-type = <1>;
83                 interrupt-controller;
84                 interrupt-parent = <&gic500>;
85                 #interrupt-cells = <2>;
86                 ti,sci = <&dmsc>;
87                 ti,sci-dst-id = <14>;
88                 ti,sci-rm-range-girq = <0x5>;
89         };
90
91         wkup_gpio0: gpio@42110000 {
92                 compatible = "ti,j721e-gpio", "ti,keystone-gpio";
93                 reg = <0x0 0x42110000 0x0 0x100>;
94                 gpio-controller;
95                 #gpio-cells = <2>;
96                 interrupt-parent = <&wkup_gpio_intr>;
97                 interrupts = <113 0>, <113 1>, <113 2>,
98                              <113 3>, <113 4>, <113 5>;
99                 interrupt-controller;
100                 #interrupt-cells = <2>;
101                 ti,ngpio = <84>;
102                 ti,davinci-gpio-unbanked = <0>;
103                 power-domains = <&k3_pds 113 TI_SCI_PD_EXCLUSIVE>;
104                 clocks = <&k3_clks 113 0>;
105                 clock-names = "gpio";
106         };
107
108         wkup_gpio1: gpio@42100000 {
109                 compatible = "ti,j721e-gpio", "ti,keystone-gpio";
110                 reg = <0x0 0x42100000 0x0 0x100>;
111                 gpio-controller;
112                 #gpio-cells = <2>;
113                 interrupt-parent = <&wkup_gpio_intr>;
114                 interrupts = <114 0>, <114 1>, <114 2>,
115                              <114 3>, <114 4>, <114 5>;
116                 interrupt-controller;
117                 #interrupt-cells = <2>;
118                 ti,ngpio = <84>;
119                 ti,davinci-gpio-unbanked = <0>;
120                 power-domains = <&k3_pds 114 TI_SCI_PD_EXCLUSIVE>;
121                 clocks = <&k3_clks 114 0>;
122                 clock-names = "gpio";
123         };
124 };