Eric Holmberg | 3d112ee | 2013-01-29 19:12:39 -0700 | [diff] [blame] | 1 | /* 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 | */ |
Stepan Moskovchenko | 7d8cdcaa | 2013-04-25 17:10:55 -0700 | [diff] [blame] | 12 | &soc { |
Eric Holmberg | 3d112ee | 2013-01-29 19:12:39 -0700 | [diff] [blame] | 13 | qcom,smp2p-modem { |
| 14 | compatible = "qcom,smp2p"; |
Brent Hronik | 435a4f9 | 2013-03-13 10:06:01 -0600 | [diff] [blame] | 15 | reg = <0xf9011008 0x4>; |
Eric Holmberg | 3d112ee | 2013-01-29 19:12:39 -0700 | [diff] [blame] | 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"; |
Brent Hronik | 435a4f9 | 2013-03-13 10:06:01 -0600 | [diff] [blame] | 23 | reg = <0xf9011008 0x4>; |
Eric Holmberg | 3d112ee | 2013-01-29 19:12:39 -0700 | [diff] [blame] | 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"; |
Brent Hronik | 435a4f9 | 2013-03-13 10:06:01 -0600 | [diff] [blame] | 31 | reg = <0xf9011008 0x4>; |
Eric Holmberg | 3d112ee | 2013-01-29 19:12:39 -0700 | [diff] [blame] | 32 | qcom,remote-pid = <4>; |
| 33 | qcom,irq-bitmask = <0x40000>; |
| 34 | interrupts = <0 143 1>; |
| 35 | }; |
| 36 | |
Eric Holmberg | 3d112ee | 2013-01-29 19:12:39 -0700 | [diff] [blame] | 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 | |
Eric Holmberg | 3d112ee | 2013-01-29 19:12:39 -0700 | [diff] [blame] | 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 | |
Eric Holmberg | 3d112ee | 2013-01-29 19:12:39 -0700 | [diff] [blame] | 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 | |
Eric Holmberg | 3d112ee | 2013-01-29 19:12:39 -0700 | [diff] [blame] | 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 | |
Eric Holmberg | 3d112ee | 2013-01-29 19:12:39 -0700 | [diff] [blame] | 99 | smp2pgpio_ssr_smp2p_1_in: qcom,smp2pgpio-ssr-smp2p-1-in { |
| 100 | compatible = "qcom,smp2pgpio"; |
| 101 | qcom,entry-name = "slave-kernel"; |
| 102 | qcom,remote-pid = <1>; |
| 103 | qcom,is-inbound; |
| 104 | gpio-controller; |
| 105 | #gpio-cells = <2>; |
| 106 | interrupt-controller; |
| 107 | #interrupt-cells = <2>; |
| 108 | }; |
| 109 | |
Eric Holmberg | 3d112ee | 2013-01-29 19:12:39 -0700 | [diff] [blame] | 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 | |
Eric Holmberg | 3d112ee | 2013-01-29 19:12:39 -0700 | [diff] [blame] | 120 | smp2pgpio_smp2p_2_in: qcom,smp2pgpio-smp2p-2-in { |
| 121 | compatible = "qcom,smp2pgpio"; |
| 122 | qcom,entry-name = "smp2p"; |
| 123 | qcom,remote-pid = <2>; |
| 124 | qcom,is-inbound; |
| 125 | gpio-controller; |
| 126 | #gpio-cells = <2>; |
| 127 | interrupt-controller; |
| 128 | #interrupt-cells = <2>; |
| 129 | }; |
| 130 | |
| 131 | qcom,smp2pgpio_test_smp2p_2_in { |
| 132 | compatible = "qcom,smp2pgpio_test_smp2p_2_in"; |
| 133 | gpios = <&smp2pgpio_smp2p_2_in 0 0>; |
| 134 | }; |
| 135 | |
Eric Holmberg | 3d112ee | 2013-01-29 19:12:39 -0700 | [diff] [blame] | 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 | |
Ravishankar Sarawadi | 2e8ac7d | 2013-03-28 15:23:30 -0700 | [diff] [blame] | 151 | /* SMP2P SSR Driver for inbound entry from lpass. */ |
| 152 | smp2pgpio_ssr_smp2p_2_in: qcom,smp2pgpio-ssr-smp2p-2-in { |
| 153 | compatible = "qcom,smp2pgpio"; |
| 154 | qcom,entry-name = "slave-kernel"; |
| 155 | qcom,remote-pid = <2>; |
| 156 | qcom,is-inbound; |
| 157 | gpio-controller; |
| 158 | #gpio-cells = <2>; |
| 159 | interrupt-controller; |
| 160 | #interrupt-cells = <2>; |
| 161 | }; |
| 162 | |
| 163 | /* SMP2P SSR Driver for outbound entry to lpass */ |
| 164 | smp2pgpio_ssr_smp2p_2_out: qcom,smp2pgpio-ssr-smp2p-2-out { |
| 165 | compatible = "qcom,smp2pgpio"; |
| 166 | qcom,entry-name = "master-kernel"; |
| 167 | qcom,remote-pid = <2>; |
| 168 | gpio-controller; |
| 169 | #gpio-cells = <2>; |
| 170 | interrupt-controller; |
| 171 | #interrupt-cells = <2>; |
| 172 | }; |
| 173 | |
Eric Holmberg | 3d112ee | 2013-01-29 19:12:39 -0700 | [diff] [blame] | 174 | smp2pgpio_smp2p_4_in: qcom,smp2pgpio-smp2p-4-in { |
| 175 | compatible = "qcom,smp2pgpio"; |
| 176 | qcom,entry-name = "smp2p"; |
| 177 | qcom,remote-pid = <4>; |
| 178 | qcom,is-inbound; |
| 179 | gpio-controller; |
| 180 | #gpio-cells = <2>; |
| 181 | interrupt-controller; |
| 182 | #interrupt-cells = <2>; |
| 183 | }; |
| 184 | |
| 185 | qcom,smp2pgpio_test_smp2p_4_in { |
| 186 | compatible = "qcom,smp2pgpio_test_smp2p_4_in"; |
| 187 | gpios = <&smp2pgpio_smp2p_4_in 0 0>; |
| 188 | }; |
| 189 | |
Eric Holmberg | 3d112ee | 2013-01-29 19:12:39 -0700 | [diff] [blame] | 190 | smp2pgpio_smp2p_4_out: qcom,smp2pgpio-smp2p-4-out { |
| 191 | compatible = "qcom,smp2pgpio"; |
| 192 | qcom,entry-name = "smp2p"; |
| 193 | qcom,remote-pid = <4>; |
| 194 | gpio-controller; |
| 195 | #gpio-cells = <2>; |
| 196 | interrupt-controller; |
| 197 | #interrupt-cells = <2>; |
| 198 | }; |
| 199 | |
Sameer Thalappil | 5c2c41b | 2013-04-02 11:08:21 -0700 | [diff] [blame] | 200 | smp2pgpio_ssr_smp2p_4_in: qcom,smp2pgpio-ssr-smp2p-4-in { |
| 201 | compatible = "qcom,smp2pgpio"; |
| 202 | qcom,entry-name = "slave-kernel"; |
| 203 | qcom,remote-pid = <4>; |
| 204 | qcom,is-inbound; |
| 205 | gpio-controller; |
| 206 | #gpio-cells = <2>; |
| 207 | interrupt-controller; |
| 208 | #interrupt-cells = <2>; |
| 209 | }; |
| 210 | |
| 211 | smp2pgpio_ssr_smp2p_4_out: qcom,smp2pgpio-ssr-smp2p-4-out { |
| 212 | compatible = "qcom,smp2pgpio"; |
| 213 | qcom,entry-name = "master-kernel"; |
| 214 | qcom,remote-pid = <4>; |
| 215 | gpio-controller; |
| 216 | #gpio-cells = <2>; |
| 217 | interrupt-controller; |
| 218 | #interrupt-cells = <2>; |
| 219 | }; |
| 220 | |
Eric Holmberg | 3d112ee | 2013-01-29 19:12:39 -0700 | [diff] [blame] | 221 | qcom,smp2pgpio_test_smp2p_4_out { |
| 222 | compatible = "qcom,smp2pgpio_test_smp2p_4_out"; |
| 223 | gpios = <&smp2pgpio_smp2p_4_out 0 0>; |
| 224 | }; |
| 225 | }; |