blob: fcd288049353314e4c56c40395ecf057727434e8 [file] [log] [blame]
Jeff Hugod9a3c262013-07-12 14:53:07 -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 smp2pgpio_smp2p_7_in: qcom,smp2pgpio-smp2p-7-in {
30 compatible = "qcom,smp2pgpio";
31 qcom,entry-name = "smp2p";
32 qcom,remote-pid = <7>;
33 qcom,is-inbound;
34 gpio-controller;
35 #gpio-cells = <2>;
36 interrupt-controller;
37 #interrupt-cells = <2>;
38 };
39
40 qcom,smp2pgpio_test_smp2p_7_in {
41 compatible = "qcom,smp2pgpio_test_smp2p_7_in";
42 gpios = <&smp2pgpio_smp2p_7_in 0 0>;
43 };
44
45 smp2pgpio_smp2p_7_out: qcom,smp2pgpio-smp2p-7-out {
46 compatible = "qcom,smp2pgpio";
47 qcom,entry-name = "smp2p";
48 qcom,remote-pid = <7>;
49 gpio-controller;
50 #gpio-cells = <2>;
51 interrupt-controller;
52 #interrupt-cells = <2>;
53 };
54
55 qcom,smp2pgpio_test_smp2p_7_out {
56 compatible = "qcom,smp2pgpio_test_smp2p_7_out";
57 gpios = <&smp2pgpio_smp2p_7_out 0 0>;
58 };
59
60 smp2pgpio_smp2p_1_in: qcom,smp2pgpio-smp2p-1-in {
61 compatible = "qcom,smp2pgpio";
62 qcom,entry-name = "smp2p";
63 qcom,remote-pid = <1>;
64 qcom,is-inbound;
65 gpio-controller;
66 #gpio-cells = <2>;
67 interrupt-controller;
68 #interrupt-cells = <2>;
69 };
70
71 qcom,smp2pgpio_test_smp2p_1_in {
72 compatible = "qcom,smp2pgpio_test_smp2p_1_in";
73 gpios = <&smp2pgpio_smp2p_1_in 0 0>;
74 };
75
76 smp2pgpio_smp2p_1_out: qcom,smp2pgpio-smp2p-1-out {
77 compatible = "qcom,smp2pgpio";
78 qcom,entry-name = "smp2p";
79 qcom,remote-pid = <1>;
80 gpio-controller;
81 #gpio-cells = <2>;
82 interrupt-controller;
83 #interrupt-cells = <2>;
84 };
85
86 qcom,smp2pgpio_test_smp2p_1_out {
87 compatible = "qcom,smp2pgpio_test_smp2p_1_out";
88 gpios = <&smp2pgpio_smp2p_1_out 0 0>;
89 };
90
91 smp2pgpio_smp2p_2_in: qcom,smp2pgpio-smp2p-2-in {
92 compatible = "qcom,smp2pgpio";
93 qcom,entry-name = "smp2p";
94 qcom,remote-pid = <2>;
95 qcom,is-inbound;
96 gpio-controller;
97 #gpio-cells = <2>;
98 interrupt-controller;
99 #interrupt-cells = <2>;
100 };
101
102 qcom,smp2pgpio_test_smp2p_2_in {
103 compatible = "qcom,smp2pgpio_test_smp2p_2_in";
104 gpios = <&smp2pgpio_smp2p_2_in 0 0>;
105 };
106
107 smp2pgpio_smp2p_2_out: qcom,smp2pgpio-smp2p-2-out {
108 compatible = "qcom,smp2pgpio";
109 qcom,entry-name = "smp2p";
110 qcom,remote-pid = <2>;
111 gpio-controller;
112 #gpio-cells = <2>;
113 interrupt-controller;
114 #interrupt-cells = <2>;
115 };
116
117 qcom,smp2pgpio_test_smp2p_2_out {
118 compatible = "qcom,smp2pgpio_test_smp2p_2_out";
119 gpios = <&smp2pgpio_smp2p_2_out 0 0>;
120 };
121
122};