blob: 91029e2acd4b28cd11efbb714aed5454ab0afc10 [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";
Brent Hronik435a4f92013-03-13 10:06:01 -060015 reg = <0xf9011008 0x4>;
Eric Holmberg3d112ee2013-01-29 19:12:39 -070016 qcom,remote-pid = <1>;
17 qcom,irq-bitmask = <0x4000>;
18 interrupts = <0 27 1>;
19 };
20
21 qcom,smp2p-adsp {
22 compatible = "qcom,smp2p";
Brent Hronik435a4f92013-03-13 10:06:01 -060023 reg = <0xf9011008 0x4>;
Eric Holmberg3d112ee2013-01-29 19:12:39 -070024 qcom,remote-pid = <2>;
25 qcom,irq-bitmask = <0x400>;
26 interrupts = <0 158 1>;
27 };
28
29 qcom,smp2p-wcnss {
30 compatible = "qcom,smp2p";
Brent Hronik435a4f92013-03-13 10:06:01 -060031 reg = <0xf9011008 0x4>;
Eric Holmberg3d112ee2013-01-29 19:12:39 -070032 qcom,remote-pid = <4>;
33 qcom,irq-bitmask = <0x40000>;
34 interrupts = <0 143 1>;
35 };
36
Eric Holmberg3d112ee2013-01-29 19:12:39 -070037 smp2pgpio_smp2p_7_in: qcom,smp2pgpio-smp2p-7-in {
38 compatible = "qcom,smp2pgpio";
39 qcom,entry-name = "smp2p";
40 qcom,remote-pid = <7>;
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_7_in {
49 compatible = "qcom,smp2pgpio_test_smp2p_7_in";
50 gpios = <&smp2pgpio_smp2p_7_in 0 0>;
51 };
52
Eric Holmberg3d112ee2013-01-29 19:12:39 -070053 smp2pgpio_smp2p_7_out: qcom,smp2pgpio-smp2p-7-out {
54 compatible = "qcom,smp2pgpio";
55 qcom,entry-name = "smp2p";
56 qcom,remote-pid = <7>;
57 gpio-controller;
58 #gpio-cells = <2>;
59 interrupt-controller;
60 #interrupt-cells = <2>;
61 };
62
63 qcom,smp2pgpio_test_smp2p_7_out {
64 compatible = "qcom,smp2pgpio_test_smp2p_7_out";
65 gpios = <&smp2pgpio_smp2p_7_out 0 0>;
66 };
67
Eric Holmberg3d112ee2013-01-29 19:12:39 -070068 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
Eric Holmberg3d112ee2013-01-29 19:12:39 -070084 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
Eric Holmberg3d112ee2013-01-29 19:12:39 -070099 smp2pgpio_ssr_smp2p_1_in: qcom,smp2pgpio-ssr-smp2p-1-in {
100 compatible = "qcom,smp2pgpio";
101 qcom,entry-name = "slave-kernel";
102 qcom,remote-pid = <1>;
103 qcom,is-inbound;
104 gpio-controller;
105 #gpio-cells = <2>;
106 interrupt-controller;
107 #interrupt-cells = <2>;
108 };
109
Eric Holmberg3d112ee2013-01-29 19:12:39 -0700110 smp2pgpio_ssr_smp2p_1_out: qcom,smp2pgpio-ssr-smp2p-1-out {
111 compatible = "qcom,smp2pgpio";
112 qcom,entry-name = "master-kernel";
113 qcom,remote-pid = <1>;
114 gpio-controller;
115 #gpio-cells = <2>;
116 interrupt-controller;
117 #interrupt-cells = <2>;
118 };
119
Eric Holmberg3d112ee2013-01-29 19:12:39 -0700120 smp2pgpio_smp2p_2_in: qcom,smp2pgpio-smp2p-2-in {
121 compatible = "qcom,smp2pgpio";
122 qcom,entry-name = "smp2p";
123 qcom,remote-pid = <2>;
124 qcom,is-inbound;
125 gpio-controller;
126 #gpio-cells = <2>;
127 interrupt-controller;
128 #interrupt-cells = <2>;
129 };
130
131 qcom,smp2pgpio_test_smp2p_2_in {
132 compatible = "qcom,smp2pgpio_test_smp2p_2_in";
133 gpios = <&smp2pgpio_smp2p_2_in 0 0>;
134 };
135
Eric Holmberg3d112ee2013-01-29 19:12:39 -0700136 smp2pgpio_smp2p_2_out: qcom,smp2pgpio-smp2p-2-out {
137 compatible = "qcom,smp2pgpio";
138 qcom,entry-name = "smp2p";
139 qcom,remote-pid = <2>;
140 gpio-controller;
141 #gpio-cells = <2>;
142 interrupt-controller;
143 #interrupt-cells = <2>;
144 };
145
146 qcom,smp2pgpio_test_smp2p_2_out {
147 compatible = "qcom,smp2pgpio_test_smp2p_2_out";
148 gpios = <&smp2pgpio_smp2p_2_out 0 0>;
149 };
150
Eric Holmberg3d112ee2013-01-29 19:12:39 -0700151 smp2pgpio_smp2p_4_in: qcom,smp2pgpio-smp2p-4-in {
152 compatible = "qcom,smp2pgpio";
153 qcom,entry-name = "smp2p";
154 qcom,remote-pid = <4>;
155 qcom,is-inbound;
156 gpio-controller;
157 #gpio-cells = <2>;
158 interrupt-controller;
159 #interrupt-cells = <2>;
160 };
161
162 qcom,smp2pgpio_test_smp2p_4_in {
163 compatible = "qcom,smp2pgpio_test_smp2p_4_in";
164 gpios = <&smp2pgpio_smp2p_4_in 0 0>;
165 };
166
Eric Holmberg3d112ee2013-01-29 19:12:39 -0700167 smp2pgpio_smp2p_4_out: qcom,smp2pgpio-smp2p-4-out {
168 compatible = "qcom,smp2pgpio";
169 qcom,entry-name = "smp2p";
170 qcom,remote-pid = <4>;
171 gpio-controller;
172 #gpio-cells = <2>;
173 interrupt-controller;
174 #interrupt-cells = <2>;
175 };
176
Sameer Thalappil5c2c41b2013-04-02 11:08:21 -0700177 smp2pgpio_ssr_smp2p_4_in: qcom,smp2pgpio-ssr-smp2p-4-in {
178 compatible = "qcom,smp2pgpio";
179 qcom,entry-name = "slave-kernel";
180 qcom,remote-pid = <4>;
181 qcom,is-inbound;
182 gpio-controller;
183 #gpio-cells = <2>;
184 interrupt-controller;
185 #interrupt-cells = <2>;
186 };
187
188 smp2pgpio_ssr_smp2p_4_out: qcom,smp2pgpio-ssr-smp2p-4-out {
189 compatible = "qcom,smp2pgpio";
190 qcom,entry-name = "master-kernel";
191 qcom,remote-pid = <4>;
192 gpio-controller;
193 #gpio-cells = <2>;
194 interrupt-controller;
195 #interrupt-cells = <2>;
196 };
197
Eric Holmberg3d112ee2013-01-29 19:12:39 -0700198 qcom,smp2pgpio_test_smp2p_4_out {
199 compatible = "qcom,smp2pgpio_test_smp2p_4_out";
200 gpios = <&smp2pgpio_smp2p_4_out 0 0>;
201 };
202};