blob: 02c95e406440304efcd39d5633bbd87ac10dddf9 [file] [log] [blame]
Seemanta Dutta519dfd12013-01-22 17:34:36 -08001/* 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>;
Seemanta Dutta519dfd12013-01-22 17:34:36 -080016 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>;
Seemanta Dutta519dfd12013-01-22 17:34:36 -080024 qcom,remote-pid = <2>;
25 qcom,irq-bitmask = <0x400>;
26 interrupts = <0 158 1>;
27 };
28
29 /* SMP2P Test Driver for inbound entries */
30 smp2pgpio_smp2p_7_in: qcom,smp2pgpio-smp2p-7-in {
31 compatible = "qcom,smp2pgpio";
32 qcom,entry-name = "smp2p";
33 qcom,remote-pid = <7>;
34 qcom,is-inbound;
35 gpio-controller;
36 #gpio-cells = <2>;
37 interrupt-controller;
38 #interrupt-cells = <2>;
39 };
40
41 qcom,smp2pgpio_test_smp2p_7_in {
42 compatible = "qcom,smp2pgpio_test_smp2p_7_in";
43 gpios = <&smp2pgpio_smp2p_7_in 0 0>;
44 };
45
46 /* SMP2P Test Driver for outbound entries */
47 smp2pgpio_smp2p_7_out: qcom,smp2pgpio-smp2p-7-out {
48 compatible = "qcom,smp2pgpio";
49 qcom,entry-name = "smp2p";
50 qcom,remote-pid = <7>;
51 gpio-controller;
52 #gpio-cells = <2>;
53 interrupt-controller;
54 #interrupt-cells = <2>;
55 };
56
57 qcom,smp2pgpio_test_smp2p_7_out {
58 compatible = "qcom,smp2pgpio_test_smp2p_7_out";
59 gpios = <&smp2pgpio_smp2p_7_out 0 0>;
60 };
61
62 /* SMP2P Test Driver for modem inbound */
63 smp2pgpio_smp2p_1_in: qcom,smp2pgpio-smp2p-1-in {
64 compatible = "qcom,smp2pgpio";
65 qcom,entry-name = "smp2p";
66 qcom,remote-pid = <1>;
67 qcom,is-inbound;
68 gpio-controller;
69 #gpio-cells = <2>;
70 interrupt-controller;
71 #interrupt-cells = <2>;
72 };
73
74 qcom,smp2pgpio_test_smp2p_1_in {
75 compatible = "qcom,smp2pgpio_test_smp2p_1_in";
76 gpios = <&smp2pgpio_smp2p_1_in 0 0>;
77 };
78
79 /* SMP2P Test Driver for modem output */
80 smp2pgpio_smp2p_1_out: qcom,smp2pgpio-smp2p-1-out {
81 compatible = "qcom,smp2pgpio";
82 qcom,entry-name = "smp2p";
83 qcom,remote-pid = <1>;
84 gpio-controller;
85 #gpio-cells = <2>;
86 interrupt-controller;
87 #interrupt-cells = <2>;
88 };
89
90 qcom,smp2pgpio_test_smp2p_1_out {
91 compatible = "qcom,smp2pgpio_test_smp2p_1_out";
92 gpios = <&smp2pgpio_smp2p_1_out 0 0>;
93 };
94
95 /* SMP2P SSR Driver for inbound entry from modem. */
96 smp2pgpio_ssr_smp2p_1_in: qcom,smp2pgpio-ssr-smp2p-1-in {
97 compatible = "qcom,smp2pgpio";
98 qcom,entry-name = "slave-kernel";
99 qcom,remote-pid = <1>;
100 qcom,is-inbound;
101 gpio-controller;
102 #gpio-cells = <2>;
103 interrupt-controller;
104 #interrupt-cells = <2>;
105 };
106
107 /* SMP2P SSR Driver for outbound entry to modem */
108 smp2pgpio_ssr_smp2p_1_out: qcom,smp2pgpio-ssr-smp2p-1-out {
109 compatible = "qcom,smp2pgpio";
110 qcom,entry-name = "master-kernel";
111 qcom,remote-pid = <1>;
112 gpio-controller;
113 #gpio-cells = <2>;
114 interrupt-controller;
115 #interrupt-cells = <2>;
116 };
117
118 /* SMP2P Test Driver for adsp inbound */
119 smp2pgpio_smp2p_2_in: qcom,smp2pgpio-smp2p-2-in {
120 compatible = "qcom,smp2pgpio";
121 qcom,entry-name = "smp2p";
122 qcom,remote-pid = <2>;
123 qcom,is-inbound;
124 gpio-controller;
125 #gpio-cells = <2>;
126 interrupt-controller;
127 #interrupt-cells = <2>;
128 };
129
130 qcom,smp2pgpio_test_smp2p_2_in {
131 compatible = "qcom,smp2pgpio_test_smp2p_2_in";
132 gpios = <&smp2pgpio_smp2p_2_in 0 0>;
133 };
134
135 /* SMP2P Test Driver for adsp output */
136 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};