blob: 8ea25dea885dd35554c0ad4a0c1bacc03a3386cd [file] [log] [blame]
Lokesh Vutlaa7551cf2020-08-05 22:44:28 +05301// SPDX-License-Identifier: GPL-2.0
2/*
3 * Device Tree Source for J7200 SoC Family MCU/WAKEUP Domain peripherals
4 *
5 * Copyright (C) 2020 Texas Instruments Incorporated - https://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 chipid: chipid@43000014 {
38 compatible = "ti,am654-chipid";
39 reg = <0x0 0x43000014 0x0 0x4>;
40 };
41
42 wkup_pmx0: pinmux@4301c000 {
43 compatible = "pinctrl-single";
44 /* Proxy 0 addressing */
45 reg = <0x00 0x4301c000 0x00 0x178>;
46 #pinctrl-cells = <1>;
47 pinctrl-single,register-width = <32>;
48 pinctrl-single,function-mask = <0xffffffff>;
49 };
50
51 mcu_ram: sram@41c00000 {
52 compatible = "mmio-sram";
53 reg = <0x00 0x41c00000 0x00 0x100000>;
54 ranges = <0x0 0x00 0x41c00000 0x100000>;
55 #address-cells = <1>;
56 #size-cells = <1>;
57 };
58
59 wkup_uart0: serial@42300000 {
60 compatible = "ti,j721e-uart", "ti,am654-uart";
61 reg = <0x00 0x42300000 0x00 0x100>;
62 reg-shift = <2>;
63 reg-io-width = <4>;
64 interrupts = <GIC_SPI 897 IRQ_TYPE_LEVEL_HIGH>;
65 clock-frequency = <48000000>;
66 current-speed = <115200>;
67 power-domains = <&k3_pds 287 TI_SCI_PD_EXCLUSIVE>;
68 clocks = <&k3_clks 287 2>;
69 clock-names = "fclk";
70 };
71
72 wkup_i2c0: i2c@42120000 {
73 compatible = "ti,j721e-i2c", "ti,omap4-i2c";
74 reg = <0x0 0x42120000 0x0 0x100>;
75 interrupts = <GIC_SPI 896 IRQ_TYPE_LEVEL_HIGH>;
76 #address-cells = <1>;
77 #size-cells = <0>;
78 clock-names = "fck";
79 clocks = <&k3_clks 197 1>;
80 power-domains = <&k3_pds 197 TI_SCI_PD_EXCLUSIVE>;
81 };
82
83 mcu_uart0: serial@40a00000 {
84 compatible = "ti,j721e-uart", "ti,am654-uart";
85 reg = <0x00 0x40a00000 0x00 0x100>;
86 reg-shift = <2>;
87 reg-io-width = <4>;
88 interrupts = <GIC_SPI 846 IRQ_TYPE_LEVEL_HIGH>;
89 clock-frequency = <96000000>;
90 current-speed = <115200>;
91 power-domains = <&k3_pds 149 TI_SCI_PD_EXCLUSIVE>;
92 clocks = <&k3_clks 149 2>;
93 clock-names = "fclk";
94 };
95
Vignesh Raghavendra28e29fb2020-08-07 00:26:59 +053096 fss: system-controller@47000000 {
97 compatible = "syscon", "simple-mfd";
98 reg = <0x0 0x47000000 0x0 0x100>;
99 #address-cells = <2>;
100 #size-cells = <2>;
101 ranges;
102
103 hbmc_mux: hbmc-mux {
104 compatible = "mmio-mux";
105 #mux-control-cells = <1>;
106 mux-reg-masks = <0x4 0x2>; /* HBMC select */
107 };
108
109 hbmc: hyperbus@47034000 {
110 compatible = "ti,am654-hbmc";
111 reg = <0x0 0x47034000 0x0 0x100>,
112 <0x5 0x00000000 0x1 0x0000000>;
113 power-domains = <&k3_pds 102 TI_SCI_PD_EXCLUSIVE>;
114 #address-cells = <2>;
115 #size-cells = <1>;
116 mux-controls = <&hbmc_mux 0>;
117 clocks = <&k3_clks 102 5>;
118 assigned-clocks = <&k3_clks 102 5>;
119 assigned-clock-rates = <333333333>;
120 };
121 };
122
Lokesh Vutlaa7551cf2020-08-05 22:44:28 +0530123 mcu_i2c0: i2c@40b00000 {
124 compatible = "ti,j721e-i2c", "ti,omap4-i2c";
125 reg = <0x0 0x40b00000 0x0 0x100>;
126 interrupts = <GIC_SPI 852 IRQ_TYPE_LEVEL_HIGH>;
127 #address-cells = <1>;
128 #size-cells = <0>;
129 clock-names = "fck";
130 clocks = <&k3_clks 194 1>;
131 power-domains = <&k3_pds 194 TI_SCI_PD_EXCLUSIVE>;
132 };
133
134 mcu_i2c1: i2c@40b10000 {
135 compatible = "ti,j721e-i2c", "ti,omap4-i2c";
136 reg = <0x0 0x40b10000 0x0 0x100>;
137 interrupts = <GIC_SPI 853 IRQ_TYPE_LEVEL_HIGH>;
138 #address-cells = <1>;
139 #size-cells = <0>;
140 clock-names = "fck";
141 clocks = <&k3_clks 195 1>;
142 power-domains = <&k3_pds 195 TI_SCI_PD_EXCLUSIVE>;
143 };
Vignesh Raghavendra9e8a9b62020-08-07 00:26:58 +0530144
145 wkup_gpio0: gpio@42110000 {
146 compatible = "ti,j721e-gpio", "ti,keystone-gpio";
147 reg = <0x0 0x42110000 0x0 0x100>;
148 gpio-controller;
149 #gpio-cells = <2>;
150 ti,ngpio = <84>;
151 ti,davinci-gpio-unbanked = <0>;
152 power-domains = <&k3_pds 113 TI_SCI_PD_EXCLUSIVE>;
153 clocks = <&k3_clks 113 0>;
154 clock-names = "gpio";
155 };
Lokesh Vutlaa7551cf2020-08-05 22:44:28 +0530156};