blob: d5537e96f9b6b9aeb655f01c2e7e098e054c34a6 [file] [log] [blame]
Arun Kumar Neelakantamb05538f2018-02-12 14:26:10 +05301/* Copyright (c) 2015, 2018 The Linux Foundation. All rights reserved.
2 *
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 */
12&soc {
13 qcom,smp2p-modem@0xb011008 {
14 compatible = "qcom,smp2p";
15 reg = <0xb011008 0x4>;
16 qcom,remote-pid = <1>;
17 qcom,irq-bitmask = <0x4000>;
18 interrupts = <0 27 1>;
19 };
20
21 qcom,smp2p-wcnss@0xb011008 {
22 compatible = "qcom,smp2p";
23 reg = <0xb011008 0x4>;
24 qcom,remote-pid = <4>;
25 qcom,irq-bitmask = <0x40000>;
26 interrupts = <0 143 1>;
27 };
28
29 qcom,smp2p-adsp@0xb011008 {
30 compatible = "qcom,smp2p";
31 reg = <0xb011008 0x4>;
32 qcom,remote-pid = <2>;
33 qcom,irq-bitmask = <0x400>;
34 interrupts = <0 291 1>;
35 };
36
37 smp2pgpio_smp2p_15_in: qcom,smp2pgpio-smp2p-15-in {
38 compatible = "qcom,smp2pgpio";
39 qcom,entry-name = "smp2p";
40 qcom,remote-pid = <15>;
41 qcom,is-inbound;
42 gpio-controller;
43 #gpio-cells = <2>;
44 interrupt-controller;
45 #interrupt-cells = <2>;
46 };
47
48 qcom,smp2pgpio_test_smp2p_15_in {
49 compatible = "qcom,smp2pgpio_test_smp2p_15_in";
50 gpios = <&smp2pgpio_smp2p_15_in 0 0>;
51 };
52
53 smp2pgpio_smp2p_15_out: qcom,smp2pgpio-smp2p-15-out {
54 compatible = "qcom,smp2pgpio";
55 qcom,entry-name = "smp2p";
56 qcom,remote-pid = <15>;
57 gpio-controller;
58 #gpio-cells = <2>;
59 interrupt-controller;
60 #interrupt-cells = <2>;
61 };
62
63 qcom,smp2pgpio_test_smp2p_15_out {
64 compatible = "qcom,smp2pgpio_test_smp2p_15_out";
65 gpios = <&smp2pgpio_smp2p_15_out 0 0>;
66 };
67
68 smp2pgpio_smp2p_1_in: qcom,smp2pgpio-smp2p-1-in {
69 compatible = "qcom,smp2pgpio";
70 qcom,entry-name = "smp2p";
71 qcom,remote-pid = <1>;
72 qcom,is-inbound;
73 gpio-controller;
74 #gpio-cells = <2>;
75 interrupt-controller;
76 #interrupt-cells = <2>;
77 };
78
79 qcom,smp2pgpio_test_smp2p_1_in {
80 compatible = "qcom,smp2pgpio_test_smp2p_1_in";
81 gpios = <&smp2pgpio_smp2p_1_in 0 0>;
82 };
83
84 smp2pgpio_smp2p_1_out: qcom,smp2pgpio-smp2p-1-out {
85 compatible = "qcom,smp2pgpio";
86 qcom,entry-name = "smp2p";
87 qcom,remote-pid = <1>;
88 gpio-controller;
89 #gpio-cells = <2>;
90 interrupt-controller;
91 #interrupt-cells = <2>;
92 };
93
94 qcom,smp2pgpio_test_smp2p_1_out {
95 compatible = "qcom,smp2pgpio_test_smp2p_1_out";
96 gpios = <&smp2pgpio_smp2p_1_out 0 0>;
97 };
98
99 smp2pgpio_smp2p_4_in: qcom,smp2pgpio-smp2p-4-in {
100 compatible = "qcom,smp2pgpio";
101 qcom,entry-name = "smp2p";
102 qcom,remote-pid = <4>;
103 qcom,is-inbound;
104 gpio-controller;
105 #gpio-cells = <2>;
106 interrupt-controller;
107 #interrupt-cells = <2>;
108 };
109
110 qcom,smp2pgpio_test_smp2p_4_in {
111 compatible = "qcom,smp2pgpio_test_smp2p_4_in";
112 gpios = <&smp2pgpio_smp2p_4_in 0 0>;
113 };
114
115 smp2pgpio_smp2p_4_out: qcom,smp2pgpio-smp2p-4-out {
116 compatible = "qcom,smp2pgpio";
117 qcom,entry-name = "smp2p";
118 qcom,remote-pid = <4>;
119 gpio-controller;
120 #gpio-cells = <2>;
121 interrupt-controller;
122 #interrupt-cells = <2>;
123 };
124
125 qcom,smp2pgpio_test_smp2p_4_out {
126 compatible = "qcom,smp2pgpio_test_smp2p_4_out";
127 gpios = <&smp2pgpio_smp2p_4_out 0 0>;
128 };
129
130 smp2pgpio_smp2p_2_in: qcom,smp2pgpio-smp2p-2-in {
131 compatible = "qcom,smp2pgpio";
132 qcom,entry-name = "smp2p";
133 qcom,remote-pid = <2>;
134 qcom,is-inbound;
135 gpio-controller;
136 #gpio-cells = <2>;
137 interrupt-controller;
138 #interrupt-cells = <2>;
139 };
140
141 qcom,smp2pgpio_test_smp2p_2_in {
142 compatible = "qcom,smp2pgpio_test_smp2p_2_in";
143 gpios = <&smp2pgpio_smp2p_2_in 0 0>;
144 };
145
146 smp2pgpio_smp2p_2_out: qcom,smp2pgpio-smp2p-2-out {
147 compatible = "qcom,smp2pgpio";
148 qcom,entry-name = "smp2p";
149 qcom,remote-pid = <2>;
150 gpio-controller;
151 #gpio-cells = <2>;
152 interrupt-controller;
153 #interrupt-cells = <2>;
154 };
155
156 qcom,smp2pgpio_test_smp2p_2_out {
157 compatible = "qcom,smp2pgpio_test_smp2p_2_out";
158 gpios = <&smp2pgpio_smp2p_2_out 0 0>;
159 };
160
161 /* ssr - inbound entry from mss. */
162 smp2pgpio_ssr_smp2p_1_in: qcom,smp2pgpio-ssr-smp2p-1-in {
163 compatible = "qcom,smp2pgpio";
164 qcom,entry-name = "slave-kernel";
165 qcom,remote-pid = <1>;
166 qcom,is-inbound;
167 gpio-controller;
168 #gpio-cells = <2>;
169 interrupt-controller;
170 #interrupt-cells = <2>;
171 };
172
173 /* ssr - outbound entry to mss */
174 smp2pgpio_ssr_smp2p_1_out: qcom,smp2pgpio-ssr-smp2p-1-out {
175 compatible = "qcom,smp2pgpio";
176 qcom,entry-name = "master-kernel";
177 qcom,remote-pid = <1>;
178 gpio-controller;
179 #gpio-cells = <2>;
180 interrupt-controller;
181 #interrupt-cells = <2>;
182 };
183
184 /* ssr - inbound entry from lpass. */
185 smp2pgpio_ssr_smp2p_2_in: qcom,smp2pgpio-ssr-smp2p-2-in {
186 compatible = "qcom,smp2pgpio";
187 qcom,entry-name = "slave-kernel";
188 qcom,remote-pid = <2>;
189 qcom,is-inbound;
190 gpio-controller;
191 #gpio-cells = <2>;
192 interrupt-controller;
193 #interrupt-cells = <2>;
194 };
195
196 /* ssr - outbound entry to lpass */
197 smp2pgpio_ssr_smp2p_2_out: qcom,smp2pgpio-ssr-smp2p-2-out {
198 compatible = "qcom,smp2pgpio";
199 qcom,entry-name = "master-kernel";
200 qcom,remote-pid = <2>;
201 gpio-controller;
202 #gpio-cells = <2>;
203 interrupt-controller;
204 #interrupt-cells = <2>;
205 };
206
207 /* ssr - inbound entry from wcnss. */
208 smp2pgpio_ssr_smp2p_4_in: qcom,smp2pgpio-ssr-smp2p-4-in {
209 compatible = "qcom,smp2pgpio";
210 qcom,entry-name = "slave-kernel";
211 qcom,remote-pid = <4>;
212 qcom,is-inbound;
213 gpio-controller;
214 #gpio-cells = <2>;
215 interrupt-controller;
216 #interrupt-cells = <2>;
217 };
218
219 /* ssr - outbound entry to wcnss */
220 smp2pgpio_ssr_smp2p_4_out: qcom,smp2pgpio-ssr-smp2p-4-out {
221 compatible = "qcom,smp2pgpio";
222 qcom,entry-name = "master-kernel";
223 qcom,remote-pid = <4>;
224 gpio-controller;
225 #gpio-cells = <2>;
226 interrupt-controller;
227 #interrupt-cells = <2>;
228 };
229};