blob: 3d8441bf5b2a57ee2baf39827180fb1991d98667 [file] [log] [blame]
Jeff Hugo864f08c2013-06-13 15:23:34 -06001/* 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&soc {
13 qcom,smp2p-modem {
14 compatible = "qcom,smp2p";
15 reg = <0xf9011008 0x4>;
16 qcom,remote-pid = <1>;
17 qcom,irq-bitmask = <0x4000>;
18 interrupts = <0 27 1>;
19 };
20
21 qcom,smp2p-adsp {
22 compatible = "qcom,smp2p";
23 reg = <0xf9011008 0x4>;
24 qcom,remote-pid = <2>;
25 qcom,irq-bitmask = <0x400>;
26 interrupts = <0 158 1>;
27 };
28
29 qcom,smp2p-wcnss {
30 compatible = "qcom,smp2p";
31 reg = <0xf9011008 0x4>;
32 qcom,remote-pid = <4>;
33 qcom,irq-bitmask = <0x40000>;
34 interrupts = <0 143 1>;
35 };
36
37 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
53 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
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_2_in: qcom,smp2pgpio-smp2p-2-in {
100 compatible = "qcom,smp2pgpio";
101 qcom,entry-name = "smp2p";
102 qcom,remote-pid = <2>;
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_2_in {
111 compatible = "qcom,smp2pgpio_test_smp2p_2_in";
112 gpios = <&smp2pgpio_smp2p_2_in 0 0>;
113 };
114
115 smp2pgpio_smp2p_2_out: qcom,smp2pgpio-smp2p-2-out {
116 compatible = "qcom,smp2pgpio";
117 qcom,entry-name = "smp2p";
118 qcom,remote-pid = <2>;
119 gpio-controller;
120 #gpio-cells = <2>;
121 interrupt-controller;
122 #interrupt-cells = <2>;
123 };
124
125 qcom,smp2pgpio_test_smp2p_2_out {
126 compatible = "qcom,smp2pgpio_test_smp2p_2_out";
127 gpios = <&smp2pgpio_smp2p_2_out 0 0>;
128 };
129
130 smp2pgpio_smp2p_4_in: qcom,smp2pgpio-smp2p-4-in {
131 compatible = "qcom,smp2pgpio";
132 qcom,entry-name = "smp2p";
133 qcom,remote-pid = <4>;
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_4_in {
142 compatible = "qcom,smp2pgpio_test_smp2p_4_in";
143 gpios = <&smp2pgpio_smp2p_4_in 0 0>;
144 };
145
146 smp2pgpio_smp2p_4_out: qcom,smp2pgpio-smp2p-4-out {
147 compatible = "qcom,smp2pgpio";
148 qcom,entry-name = "smp2p";
149 qcom,remote-pid = <4>;
150 gpio-controller;
151 #gpio-cells = <2>;
152 interrupt-controller;
153 #interrupt-cells = <2>;
154 };
155
156 qcom,smp2pgpio_test_smp2p_4_out {
157 compatible = "qcom,smp2pgpio_test_smp2p_4_out";
158 gpios = <&smp2pgpio_smp2p_4_out 0 0>;
159 };
160};