Eric Holmberg | d5af7de | 2013-01-08 18:33:52 -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 | */ |
| 12 | / { |
| 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 | d5af7de | 2013-01-08 18:33:52 -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 | d5af7de | 2013-01-08 18:33:52 -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 | d5af7de | 2013-01-08 18:33:52 -0700 | [diff] [blame] | 32 | qcom,remote-pid = <4>; |
| 33 | qcom,irq-bitmask = <0x40000>; |
| 34 | interrupts = <0 143 1>; |
| 35 | }; |
| 36 | |
| 37 | /* SMP2P Test Driver for inbound entries */ |
| 38 | smp2pgpio_smp2p_7_in: qcom,smp2pgpio-smp2p-7-in { |
| 39 | compatible = "qcom,smp2pgpio"; |
| 40 | qcom,entry-name = "smp2p"; |
| 41 | qcom,remote-pid = <7>; |
| 42 | qcom,is-inbound; |
| 43 | gpio-controller; |
| 44 | #gpio-cells = <2>; |
| 45 | interrupt-controller; |
| 46 | #interrupt-cells = <2>; |
| 47 | }; |
| 48 | |
| 49 | qcom,smp2pgpio_test_smp2p_7_in { |
| 50 | compatible = "qcom,smp2pgpio_test_smp2p_7_in"; |
| 51 | gpios = <&smp2pgpio_smp2p_7_in 0 0>; |
| 52 | }; |
| 53 | |
| 54 | /* SMP2P Test Driver for outbound entries */ |
| 55 | smp2pgpio_smp2p_7_out: qcom,smp2pgpio-smp2p-7-out { |
| 56 | compatible = "qcom,smp2pgpio"; |
| 57 | qcom,entry-name = "smp2p"; |
| 58 | qcom,remote-pid = <7>; |
| 59 | gpio-controller; |
| 60 | #gpio-cells = <2>; |
| 61 | interrupt-controller; |
| 62 | #interrupt-cells = <2>; |
| 63 | }; |
| 64 | |
| 65 | qcom,smp2pgpio_test_smp2p_7_out { |
| 66 | compatible = "qcom,smp2pgpio_test_smp2p_7_out"; |
| 67 | gpios = <&smp2pgpio_smp2p_7_out 0 0>; |
| 68 | }; |
| 69 | |
| 70 | /* SMP2P Test Driver for modem inbound */ |
| 71 | smp2pgpio_smp2p_1_in: qcom,smp2pgpio-smp2p-1-in { |
| 72 | compatible = "qcom,smp2pgpio"; |
| 73 | qcom,entry-name = "smp2p"; |
| 74 | qcom,remote-pid = <1>; |
| 75 | qcom,is-inbound; |
| 76 | gpio-controller; |
| 77 | #gpio-cells = <2>; |
| 78 | interrupt-controller; |
| 79 | #interrupt-cells = <2>; |
| 80 | }; |
| 81 | |
| 82 | qcom,smp2pgpio_test_smp2p_1_in { |
| 83 | compatible = "qcom,smp2pgpio_test_smp2p_1_in"; |
| 84 | gpios = <&smp2pgpio_smp2p_1_in 0 0>; |
| 85 | }; |
| 86 | |
| 87 | /* SMP2P Test Driver for modem output */ |
| 88 | smp2pgpio_smp2p_1_out: qcom,smp2pgpio-smp2p-1-out { |
| 89 | compatible = "qcom,smp2pgpio"; |
| 90 | qcom,entry-name = "smp2p"; |
| 91 | qcom,remote-pid = <1>; |
| 92 | gpio-controller; |
| 93 | #gpio-cells = <2>; |
| 94 | interrupt-controller; |
| 95 | #interrupt-cells = <2>; |
| 96 | }; |
| 97 | |
| 98 | qcom,smp2pgpio_test_smp2p_1_out { |
| 99 | compatible = "qcom,smp2pgpio_test_smp2p_1_out"; |
| 100 | gpios = <&smp2pgpio_smp2p_1_out 0 0>; |
| 101 | }; |
| 102 | |
Seemanta Dutta | 6e58f54 | 2013-03-04 19:28:16 -0800 | [diff] [blame] | 103 | /* SMP2P SSR Driver for inbound entry from modem. */ |
| 104 | smp2pgpio_ssr_smp2p_1_in: qcom,smp2pgpio-ssr-smp2p-1-in { |
| 105 | compatible = "qcom,smp2pgpio"; |
| 106 | qcom,entry-name = "slave-kernel"; |
| 107 | qcom,remote-pid = <1>; |
| 108 | qcom,is-inbound; |
| 109 | gpio-controller; |
| 110 | #gpio-cells = <2>; |
| 111 | interrupt-controller; |
| 112 | #interrupt-cells = <2>; |
| 113 | }; |
| 114 | |
| 115 | /* SMP2P SSR Driver for outbound entry to modem */ |
| 116 | smp2pgpio_ssr_smp2p_1_out: qcom,smp2pgpio-ssr-smp2p-1-out { |
| 117 | compatible = "qcom,smp2pgpio"; |
| 118 | qcom,entry-name = "master-kernel"; |
| 119 | qcom,remote-pid = <1>; |
| 120 | gpio-controller; |
| 121 | #gpio-cells = <2>; |
| 122 | interrupt-controller; |
| 123 | #interrupt-cells = <2>; |
| 124 | }; |
| 125 | |
Eric Holmberg | d5af7de | 2013-01-08 18:33:52 -0700 | [diff] [blame] | 126 | /* SMP2P Test Driver for adsp inbound */ |
| 127 | smp2pgpio_smp2p_2_in: qcom,smp2pgpio-smp2p-2-in { |
| 128 | compatible = "qcom,smp2pgpio"; |
| 129 | qcom,entry-name = "smp2p"; |
| 130 | qcom,remote-pid = <2>; |
| 131 | qcom,is-inbound; |
| 132 | gpio-controller; |
| 133 | #gpio-cells = <2>; |
| 134 | interrupt-controller; |
| 135 | #interrupt-cells = <2>; |
| 136 | }; |
| 137 | |
| 138 | qcom,smp2pgpio_test_smp2p_2_in { |
| 139 | compatible = "qcom,smp2pgpio_test_smp2p_2_in"; |
| 140 | gpios = <&smp2pgpio_smp2p_2_in 0 0>; |
| 141 | }; |
| 142 | |
| 143 | /* SMP2P Test Driver for adsp output */ |
| 144 | smp2pgpio_smp2p_2_out: qcom,smp2pgpio-smp2p-2-out { |
| 145 | compatible = "qcom,smp2pgpio"; |
| 146 | qcom,entry-name = "smp2p"; |
| 147 | qcom,remote-pid = <2>; |
| 148 | gpio-controller; |
| 149 | #gpio-cells = <2>; |
| 150 | interrupt-controller; |
| 151 | #interrupt-cells = <2>; |
| 152 | }; |
| 153 | |
| 154 | qcom,smp2pgpio_test_smp2p_2_out { |
| 155 | compatible = "qcom,smp2pgpio_test_smp2p_2_out"; |
| 156 | gpios = <&smp2pgpio_smp2p_2_out 0 0>; |
| 157 | }; |
| 158 | |
| 159 | /* SMP2P Test Driver for wcnss inbound */ |
| 160 | smp2pgpio_smp2p_4_in: qcom,smp2pgpio-smp2p-4-in { |
| 161 | compatible = "qcom,smp2pgpio"; |
| 162 | qcom,entry-name = "smp2p"; |
| 163 | qcom,remote-pid = <4>; |
| 164 | qcom,is-inbound; |
| 165 | gpio-controller; |
| 166 | #gpio-cells = <2>; |
| 167 | interrupt-controller; |
| 168 | #interrupt-cells = <2>; |
| 169 | }; |
| 170 | |
| 171 | qcom,smp2pgpio_test_smp2p_4_in { |
| 172 | compatible = "qcom,smp2pgpio_test_smp2p_4_in"; |
| 173 | gpios = <&smp2pgpio_smp2p_4_in 0 0>; |
| 174 | }; |
| 175 | |
| 176 | /* SMP2P Test Driver for wcnss output */ |
| 177 | smp2pgpio_smp2p_4_out: qcom,smp2pgpio-smp2p-4-out { |
| 178 | compatible = "qcom,smp2pgpio"; |
| 179 | qcom,entry-name = "smp2p"; |
| 180 | qcom,remote-pid = <4>; |
| 181 | gpio-controller; |
| 182 | #gpio-cells = <2>; |
| 183 | interrupt-controller; |
| 184 | #interrupt-cells = <2>; |
| 185 | }; |
| 186 | |
| 187 | qcom,smp2pgpio_test_smp2p_4_out { |
| 188 | compatible = "qcom,smp2pgpio_test_smp2p_4_out"; |
| 189 | gpios = <&smp2pgpio_smp2p_4_out 0 0>; |
| 190 | }; |
| 191 | }; |