blob: 60f63a859365a0f9ba6e7142d41c24264a0e669c [file] [log] [blame]
Eric Holmberg3d112ee2013-01-29 19:12:39 -07001/* Copyright (c) 2013, 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/ {
13 qcom,smp2p-modem {
14 compatible = "qcom,smp2p";
15 reg = <0xfa006000 0x1000>, <0x8 0x0>;
16 reg-names = "irq-reg-base", "irq-reg-offset";
17 qcom,remote-pid = <1>;
18 qcom,irq-bitmask = <0x4000>;
19 interrupts = <0 27 1>;
20 };
21
22 qcom,smp2p-adsp {
23 compatible = "qcom,smp2p";
24 reg = <0xfa006000 0x1000>, <0x8 0x0>;
25 reg-names = "irq-reg-base", "irq-reg-offset";
26 qcom,remote-pid = <2>;
27 qcom,irq-bitmask = <0x400>;
28 interrupts = <0 158 1>;
29 };
30
31 qcom,smp2p-wcnss {
32 compatible = "qcom,smp2p";
33 reg = <0xfa006000 0x1000>, <0x8 0x0>;
34 reg-names = "irq-reg-base", "irq-reg-offset";
35 qcom,remote-pid = <4>;
36 qcom,irq-bitmask = <0x40000>;
37 interrupts = <0 143 1>;
38 };
39
40 /* SMP2P Test Driver for inbound entries */
41 smp2pgpio_smp2p_7_in: qcom,smp2pgpio-smp2p-7-in {
42 compatible = "qcom,smp2pgpio";
43 qcom,entry-name = "smp2p";
44 qcom,remote-pid = <7>;
45 qcom,is-inbound;
46 gpio-controller;
47 #gpio-cells = <2>;
48 interrupt-controller;
49 #interrupt-cells = <2>;
50 };
51
52 qcom,smp2pgpio_test_smp2p_7_in {
53 compatible = "qcom,smp2pgpio_test_smp2p_7_in";
54 gpios = <&smp2pgpio_smp2p_7_in 0 0>;
55 };
56
57 /* SMP2P Test Driver for outbound entries */
58 smp2pgpio_smp2p_7_out: qcom,smp2pgpio-smp2p-7-out {
59 compatible = "qcom,smp2pgpio";
60 qcom,entry-name = "smp2p";
61 qcom,remote-pid = <7>;
62 gpio-controller;
63 #gpio-cells = <2>;
64 interrupt-controller;
65 #interrupt-cells = <2>;
66 };
67
68 qcom,smp2pgpio_test_smp2p_7_out {
69 compatible = "qcom,smp2pgpio_test_smp2p_7_out";
70 gpios = <&smp2pgpio_smp2p_7_out 0 0>;
71 };
72
73 /* SMP2P Test Driver for modem inbound */
74 smp2pgpio_smp2p_1_in: qcom,smp2pgpio-smp2p-1-in {
75 compatible = "qcom,smp2pgpio";
76 qcom,entry-name = "smp2p";
77 qcom,remote-pid = <1>;
78 qcom,is-inbound;
79 gpio-controller;
80 #gpio-cells = <2>;
81 interrupt-controller;
82 #interrupt-cells = <2>;
83 };
84
85 qcom,smp2pgpio_test_smp2p_1_in {
86 compatible = "qcom,smp2pgpio_test_smp2p_1_in";
87 gpios = <&smp2pgpio_smp2p_1_in 0 0>;
88 };
89
90 /* SMP2P Test Driver for modem output */
91 smp2pgpio_smp2p_1_out: qcom,smp2pgpio-smp2p-1-out {
92 compatible = "qcom,smp2pgpio";
93 qcom,entry-name = "smp2p";
94 qcom,remote-pid = <1>;
95 gpio-controller;
96 #gpio-cells = <2>;
97 interrupt-controller;
98 #interrupt-cells = <2>;
99 };
100
101 qcom,smp2pgpio_test_smp2p_1_out {
102 compatible = "qcom,smp2pgpio_test_smp2p_1_out";
103 gpios = <&smp2pgpio_smp2p_1_out 0 0>;
104 };
105
106 /* SMP2P SSR Driver for inbound entry from modem. */
107 smp2pgpio_ssr_smp2p_1_in: qcom,smp2pgpio-ssr-smp2p-1-in {
108 compatible = "qcom,smp2pgpio";
109 qcom,entry-name = "slave-kernel";
110 qcom,remote-pid = <1>;
111 qcom,is-inbound;
112 gpio-controller;
113 #gpio-cells = <2>;
114 interrupt-controller;
115 #interrupt-cells = <2>;
116 };
117
118 /* SMP2P SSR Driver for outbound entry to modem */
119 smp2pgpio_ssr_smp2p_1_out: qcom,smp2pgpio-ssr-smp2p-1-out {
120 compatible = "qcom,smp2pgpio";
121 qcom,entry-name = "master-kernel";
122 qcom,remote-pid = <1>;
123 gpio-controller;
124 #gpio-cells = <2>;
125 interrupt-controller;
126 #interrupt-cells = <2>;
127 };
128
129 /* SMP2P Test Driver for adsp inbound */
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 /* SMP2P Test Driver for adsp output */
147 smp2pgpio_smp2p_2_out: qcom,smp2pgpio-smp2p-2-out {
148 compatible = "qcom,smp2pgpio";
149 qcom,entry-name = "smp2p";
150 qcom,remote-pid = <2>;
151 gpio-controller;
152 #gpio-cells = <2>;
153 interrupt-controller;
154 #interrupt-cells = <2>;
155 };
156
157 qcom,smp2pgpio_test_smp2p_2_out {
158 compatible = "qcom,smp2pgpio_test_smp2p_2_out";
159 gpios = <&smp2pgpio_smp2p_2_out 0 0>;
160 };
161
162 /* SMP2P Test Driver for wcnss inbound */
163 smp2pgpio_smp2p_4_in: qcom,smp2pgpio-smp2p-4-in {
164 compatible = "qcom,smp2pgpio";
165 qcom,entry-name = "smp2p";
166 qcom,remote-pid = <4>;
167 qcom,is-inbound;
168 gpio-controller;
169 #gpio-cells = <2>;
170 interrupt-controller;
171 #interrupt-cells = <2>;
172 };
173
174 qcom,smp2pgpio_test_smp2p_4_in {
175 compatible = "qcom,smp2pgpio_test_smp2p_4_in";
176 gpios = <&smp2pgpio_smp2p_4_in 0 0>;
177 };
178
179 /* SMP2P Test Driver for wcnss output */
180 smp2pgpio_smp2p_4_out: qcom,smp2pgpio-smp2p-4-out {
181 compatible = "qcom,smp2pgpio";
182 qcom,entry-name = "smp2p";
183 qcom,remote-pid = <4>;
184 gpio-controller;
185 #gpio-cells = <2>;
186 interrupt-controller;
187 #interrupt-cells = <2>;
188 };
189
190 qcom,smp2pgpio_test_smp2p_4_out {
191 compatible = "qcom,smp2pgpio_test_smp2p_4_out";
192 gpios = <&smp2pgpio_smp2p_4_out 0 0>;
193 };
194};