blob: 511f91ff03fc71010b8798c988ae1c5ef1cdc0d4 [file] [log] [blame]
Eric Holmbergd5af7de2013-01-08 18:33:52 -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
Eric Holmbergd5af7de2013-01-08 18:33:52 -0700106 /* SMP2P Test Driver for adsp inbound */
107 smp2pgpio_smp2p_2_in: qcom,smp2pgpio-smp2p-2-in {
108 compatible = "qcom,smp2pgpio";
109 qcom,entry-name = "smp2p";
110 qcom,remote-pid = <2>;
111 qcom,is-inbound;
112 gpio-controller;
113 #gpio-cells = <2>;
114 interrupt-controller;
115 #interrupt-cells = <2>;
116 };
117
118 qcom,smp2pgpio_test_smp2p_2_in {
119 compatible = "qcom,smp2pgpio_test_smp2p_2_in";
120 gpios = <&smp2pgpio_smp2p_2_in 0 0>;
121 };
122
123 /* SMP2P Test Driver for adsp output */
124 smp2pgpio_smp2p_2_out: qcom,smp2pgpio-smp2p-2-out {
125 compatible = "qcom,smp2pgpio";
126 qcom,entry-name = "smp2p";
127 qcom,remote-pid = <2>;
128 gpio-controller;
129 #gpio-cells = <2>;
130 interrupt-controller;
131 #interrupt-cells = <2>;
132 };
133
134 qcom,smp2pgpio_test_smp2p_2_out {
135 compatible = "qcom,smp2pgpio_test_smp2p_2_out";
136 gpios = <&smp2pgpio_smp2p_2_out 0 0>;
137 };
138
139 /* SMP2P Test Driver for wcnss inbound */
140 smp2pgpio_smp2p_4_in: qcom,smp2pgpio-smp2p-4-in {
141 compatible = "qcom,smp2pgpio";
142 qcom,entry-name = "smp2p";
143 qcom,remote-pid = <4>;
144 qcom,is-inbound;
145 gpio-controller;
146 #gpio-cells = <2>;
147 interrupt-controller;
148 #interrupt-cells = <2>;
149 };
150
151 qcom,smp2pgpio_test_smp2p_4_in {
152 compatible = "qcom,smp2pgpio_test_smp2p_4_in";
153 gpios = <&smp2pgpio_smp2p_4_in 0 0>;
154 };
155
156 /* SMP2P Test Driver for wcnss output */
157 smp2pgpio_smp2p_4_out: qcom,smp2pgpio-smp2p-4-out {
158 compatible = "qcom,smp2pgpio";
159 qcom,entry-name = "smp2p";
160 qcom,remote-pid = <4>;
161 gpio-controller;
162 #gpio-cells = <2>;
163 interrupt-controller;
164 #interrupt-cells = <2>;
165 };
166
167 qcom,smp2pgpio_test_smp2p_4_out {
168 compatible = "qcom,smp2pgpio_test_smp2p_4_out";
169 gpios = <&smp2pgpio_smp2p_4_out 0 0>;
170 };
171};