blob: 425bf0076b42aa9c5d5c7d1ad6067c512eee06e9 [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";
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 /* SMP2P Test Driver for inbound entries */
32 smp2pgpio_smp2p_7_in: qcom,smp2pgpio-smp2p-7-in {
33 compatible = "qcom,smp2pgpio";
34 qcom,entry-name = "smp2p";
35 qcom,remote-pid = <7>;
36 qcom,is-inbound;
37 gpio-controller;
38 #gpio-cells = <2>;
39 interrupt-controller;
40 #interrupt-cells = <2>;
41 };
42
43 qcom,smp2pgpio_test_smp2p_7_in {
44 compatible = "qcom,smp2pgpio_test_smp2p_7_in";
45 gpios = <&smp2pgpio_smp2p_7_in 0 0>;
46 };
47
48 /* SMP2P Test Driver for outbound entries */
49 smp2pgpio_smp2p_7_out: qcom,smp2pgpio-smp2p-7-out {
50 compatible = "qcom,smp2pgpio";
51 qcom,entry-name = "smp2p";
52 qcom,remote-pid = <7>;
53 gpio-controller;
54 #gpio-cells = <2>;
55 interrupt-controller;
56 #interrupt-cells = <2>;
57 };
58
59 qcom,smp2pgpio_test_smp2p_7_out {
60 compatible = "qcom,smp2pgpio_test_smp2p_7_out";
61 gpios = <&smp2pgpio_smp2p_7_out 0 0>;
62 };
63
64 /* SMP2P Test Driver for modem inbound */
65 smp2pgpio_smp2p_1_in: qcom,smp2pgpio-smp2p-1-in {
66 compatible = "qcom,smp2pgpio";
67 qcom,entry-name = "smp2p";
68 qcom,remote-pid = <1>;
69 qcom,is-inbound;
70 gpio-controller;
71 #gpio-cells = <2>;
72 interrupt-controller;
73 #interrupt-cells = <2>;
74 };
75
76 qcom,smp2pgpio_test_smp2p_1_in {
77 compatible = "qcom,smp2pgpio_test_smp2p_1_in";
78 gpios = <&smp2pgpio_smp2p_1_in 0 0>;
79 };
80
81 /* SMP2P Test Driver for modem output */
82 smp2pgpio_smp2p_1_out: qcom,smp2pgpio-smp2p-1-out {
83 compatible = "qcom,smp2pgpio";
84 qcom,entry-name = "smp2p";
85 qcom,remote-pid = <1>;
86 gpio-controller;
87 #gpio-cells = <2>;
88 interrupt-controller;
89 #interrupt-cells = <2>;
90 };
91
92 qcom,smp2pgpio_test_smp2p_1_out {
93 compatible = "qcom,smp2pgpio_test_smp2p_1_out";
94 gpios = <&smp2pgpio_smp2p_1_out 0 0>;
95 };
96
97 /* SMP2P SSR Driver for inbound entry from modem. */
98 smp2pgpio_ssr_smp2p_1_in: qcom,smp2pgpio-ssr-smp2p-1-in {
99 compatible = "qcom,smp2pgpio";
100 qcom,entry-name = "slave-kernel";
101 qcom,remote-pid = <1>;
102 qcom,is-inbound;
103 gpio-controller;
104 #gpio-cells = <2>;
105 interrupt-controller;
106 #interrupt-cells = <2>;
107 };
108
109 /* SMP2P SSR Driver for outbound entry to modem */
110 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
120 /* SMP2P Test Driver for adsp inbound */
121 smp2pgpio_smp2p_2_in: qcom,smp2pgpio-smp2p-2-in {
122 compatible = "qcom,smp2pgpio";
123 qcom,entry-name = "smp2p";
124 qcom,remote-pid = <2>;
125 qcom,is-inbound;
126 gpio-controller;
127 #gpio-cells = <2>;
128 interrupt-controller;
129 #interrupt-cells = <2>;
130 };
131
132 qcom,smp2pgpio_test_smp2p_2_in {
133 compatible = "qcom,smp2pgpio_test_smp2p_2_in";
134 gpios = <&smp2pgpio_smp2p_2_in 0 0>;
135 };
136
137 /* SMP2P Test Driver for adsp output */
138 smp2pgpio_smp2p_2_out: qcom,smp2pgpio-smp2p-2-out {
139 compatible = "qcom,smp2pgpio";
140 qcom,entry-name = "smp2p";
141 qcom,remote-pid = <2>;
142 gpio-controller;
143 #gpio-cells = <2>;
144 interrupt-controller;
145 #interrupt-cells = <2>;
146 };
147
148 qcom,smp2pgpio_test_smp2p_2_out {
149 compatible = "qcom,smp2pgpio_test_smp2p_2_out";
150 gpios = <&smp2pgpio_smp2p_2_out 0 0>;
151 };
152};