Mukesh Kumar Savaliya | 065ca48 | 2017-06-06 14:44:45 +0530 | [diff] [blame] | 1 | /* Copyright (c) 2017, 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 | #include <dt-bindings/msm/msm-bus-ids.h> |
| 14 | |
| 15 | &soc { |
| 16 | /* QUPv3 South instances */ |
| 17 | qupv3_0: qcom,qupv3_0_geni_se@8c0000 { |
| 18 | compatible = "qcom,qupv3-geni-se"; |
| 19 | reg = <0x8c0000 0x6000>; |
| 20 | qcom,bus-mas-id = <MSM_BUS_MASTER_BLSP_1>; |
| 21 | qcom,bus-slv-id = <MSM_BUS_SLAVE_EBI_CH0>; |
| 22 | qcom,iommu-s1-bypass; |
| 23 | |
| 24 | iommu_qupv3_0_geni_se_cb: qcom,iommu_qupv3_0_geni_se_cb { |
| 25 | compatible = "qcom,qupv3-geni-se-cb"; |
| 26 | iommus = <&apps_smmu 0x003 0x0>; |
| 27 | }; |
| 28 | }; |
| 29 | |
| 30 | /* |
| 31 | * HS UART instances. HS UART usecases can be supported on these |
| 32 | * instances only. |
| 33 | */ |
| 34 | qupv3_se6_4uart: qcom,qup_uart@0x898000 { |
| 35 | compatible = "qcom,msm-geni-serial-hs", "qcom,msm-geni-uart"; |
| 36 | reg = <0x898000 0x4000>; |
| 37 | reg-names = "se_phys"; |
| 38 | clock-names = "se-clk", "m-ahb", "s-ahb"; |
| 39 | clocks = <&clock_gcc GCC_QUPV3_WRAP0_S6_CLK>, |
| 40 | <&clock_gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>, |
| 41 | <&clock_gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>; |
| 42 | pinctrl-names = "default", "sleep"; |
| 43 | pinctrl-0 = <&qupv3_se6_4uart_active>; |
| 44 | pinctrl-1 = <&qupv3_se6_4uart_sleep>; |
Maulik Shah | 30ebbde | 2017-06-15 10:02:54 +0530 | [diff] [blame] | 45 | interrupts-extended = <&pdc GIC_SPI 607 0>, |
Mukesh Kumar Savaliya | 065ca48 | 2017-06-06 14:44:45 +0530 | [diff] [blame] | 46 | <&tlmm 48 0>; |
| 47 | status = "disabled"; |
| 48 | qcom,wakeup-byte = <0xFD>; |
| 49 | qcom,wrapper-core = <&qupv3_0>; |
| 50 | }; |
| 51 | |
| 52 | qupv3_se7_4uart: qcom,qup_uart@0x89c000 { |
| 53 | compatible = "qcom,msm-geni-serial-hs", "qcom,msm-geni-uart"; |
| 54 | reg = <0x89c000 0x4000>; |
| 55 | reg-names = "se_phys"; |
| 56 | clock-names = "se-clk", "m-ahb", "s-ahb"; |
| 57 | clocks = <&clock_gcc GCC_QUPV3_WRAP0_S7_CLK>, |
| 58 | <&clock_gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>, |
| 59 | <&clock_gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>; |
| 60 | pinctrl-names = "default", "sleep"; |
| 61 | pinctrl-0 = <&qupv3_se7_4uart_active>; |
| 62 | pinctrl-1 = <&qupv3_se7_4uart_sleep>; |
Maulik Shah | 30ebbde | 2017-06-15 10:02:54 +0530 | [diff] [blame] | 63 | interrupts-extended = <&pdc GIC_SPI 608 0>, |
Mukesh Kumar Savaliya | 065ca48 | 2017-06-06 14:44:45 +0530 | [diff] [blame] | 64 | <&tlmm 96 0>; |
| 65 | status = "disabled"; |
| 66 | qcom,wakeup-byte = <0xFD>; |
| 67 | qcom,wrapper-core = <&qupv3_0>; |
| 68 | }; |
| 69 | |
| 70 | /* I2C */ |
| 71 | qupv3_se0_i2c: i2c@880000 { |
| 72 | compatible = "qcom,i2c-geni"; |
| 73 | reg = <0x880000 0x4000>; |
| 74 | interrupts = <GIC_SPI 601 0>; |
| 75 | #address-cells = <1>; |
| 76 | #size-cells = <0>; |
| 77 | clock-names = "se-clk", "m-ahb", "s-ahb"; |
| 78 | clocks = <&clock_gcc GCC_QUPV3_WRAP0_S0_CLK>, |
| 79 | <&clock_gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>, |
| 80 | <&clock_gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>; |
| 81 | pinctrl-names = "default", "sleep"; |
| 82 | pinctrl-0 = <&qupv3_se0_i2c_active>; |
| 83 | pinctrl-1 = <&qupv3_se0_i2c_sleep>; |
| 84 | qcom,wrapper-core = <&qupv3_0>; |
| 85 | status = "disabled"; |
| 86 | }; |
| 87 | |
| 88 | qupv3_se1_i2c: i2c@884000 { |
| 89 | compatible = "qcom,i2c-geni"; |
| 90 | reg = <0x884000 0x4000>; |
| 91 | interrupts = <GIC_SPI 602 0>; |
| 92 | #address-cells = <1>; |
| 93 | #size-cells = <0>; |
| 94 | clock-names = "se-clk", "m-ahb", "s-ahb"; |
| 95 | clocks = <&clock_gcc GCC_QUPV3_WRAP0_S1_CLK>, |
| 96 | <&clock_gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>, |
| 97 | <&clock_gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>; |
| 98 | pinctrl-names = "default", "sleep"; |
| 99 | pinctrl-0 = <&qupv3_se1_i2c_active>; |
| 100 | pinctrl-1 = <&qupv3_se1_i2c_sleep>; |
| 101 | qcom,wrapper-core = <&qupv3_0>; |
| 102 | status = "disabled"; |
| 103 | }; |
| 104 | |
| 105 | qupv3_se2_i2c: i2c@888000 { |
| 106 | compatible = "qcom,i2c-geni"; |
| 107 | reg = <0x888000 0x4000>; |
| 108 | interrupts = <GIC_SPI 603 0>; |
| 109 | #address-cells = <1>; |
| 110 | #size-cells = <0>; |
| 111 | clock-names = "se-clk", "m-ahb", "s-ahb"; |
| 112 | clocks = <&clock_gcc GCC_QUPV3_WRAP0_S2_CLK>, |
| 113 | <&clock_gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>, |
| 114 | <&clock_gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>; |
| 115 | pinctrl-names = "default", "sleep"; |
| 116 | pinctrl-0 = <&qupv3_se2_i2c_active>; |
| 117 | pinctrl-1 = <&qupv3_se2_i2c_sleep>; |
| 118 | qcom,wrapper-core = <&qupv3_0>; |
| 119 | status = "disabled"; |
| 120 | }; |
| 121 | |
| 122 | qupv3_se3_i2c: i2c@88c000 { |
| 123 | compatible = "qcom,i2c-geni"; |
| 124 | reg = <0x88c000 0x4000>; |
| 125 | interrupts = <GIC_SPI 604 0>; |
| 126 | #address-cells = <1>; |
| 127 | #size-cells = <0>; |
| 128 | clock-names = "se-clk", "m-ahb", "s-ahb"; |
| 129 | clocks = <&clock_gcc GCC_QUPV3_WRAP0_S3_CLK>, |
| 130 | <&clock_gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>, |
| 131 | <&clock_gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>; |
| 132 | pinctrl-names = "default", "sleep"; |
| 133 | pinctrl-0 = <&qupv3_se3_i2c_active>; |
| 134 | pinctrl-1 = <&qupv3_se3_i2c_sleep>; |
| 135 | qcom,wrapper-core = <&qupv3_0>; |
| 136 | status = "disabled"; |
| 137 | }; |
| 138 | |
| 139 | qupv3_se4_i2c: i2c@890000 { |
| 140 | compatible = "qcom,i2c-geni"; |
| 141 | reg = <0x890000 0x4000>; |
| 142 | interrupts = <GIC_SPI 605 0>; |
| 143 | #address-cells = <1>; |
| 144 | #size-cells = <0>; |
| 145 | clock-names = "se-clk", "m-ahb", "s-ahb"; |
| 146 | clocks = <&clock_gcc GCC_QUPV3_WRAP0_S4_CLK>, |
| 147 | <&clock_gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>, |
| 148 | <&clock_gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>; |
| 149 | pinctrl-names = "default", "sleep"; |
| 150 | pinctrl-0 = <&qupv3_se4_i2c_active>; |
| 151 | pinctrl-1 = <&qupv3_se4_i2c_sleep>; |
| 152 | qcom,wrapper-core = <&qupv3_0>; |
| 153 | status = "disabled"; |
| 154 | }; |
| 155 | |
| 156 | qupv3_se5_i2c: i2c@894000 { |
| 157 | compatible = "qcom,i2c-geni"; |
| 158 | reg = <0x894000 0x4000>; |
| 159 | interrupts = <GIC_SPI 606 0>; |
| 160 | #address-cells = <1>; |
| 161 | #size-cells = <0>; |
| 162 | clock-names = "se-clk", "m-ahb", "s-ahb"; |
| 163 | clocks = <&clock_gcc GCC_QUPV3_WRAP0_S5_CLK>, |
| 164 | <&clock_gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>, |
| 165 | <&clock_gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>; |
| 166 | pinctrl-names = "default", "sleep"; |
| 167 | pinctrl-0 = <&qupv3_se5_i2c_active>; |
| 168 | pinctrl-1 = <&qupv3_se5_i2c_sleep>; |
| 169 | qcom,wrapper-core = <&qupv3_0>; |
| 170 | status = "disabled"; |
| 171 | }; |
| 172 | |
| 173 | qupv3_se6_i2c: i2c@898000 { |
| 174 | compatible = "qcom,i2c-geni"; |
| 175 | reg = <0x898000 0x4000>; |
| 176 | interrupts = <GIC_SPI 607 0>; |
| 177 | #address-cells = <1>; |
| 178 | #size-cells = <0>; |
| 179 | clock-names = "se-clk", "m-ahb", "s-ahb"; |
| 180 | clocks = <&clock_gcc GCC_QUPV3_WRAP0_S6_CLK>, |
| 181 | <&clock_gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>, |
| 182 | <&clock_gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>; |
| 183 | pinctrl-names = "default", "sleep"; |
| 184 | pinctrl-0 = <&qupv3_se6_i2c_active>; |
| 185 | pinctrl-1 = <&qupv3_se6_i2c_sleep>; |
| 186 | qcom,wrapper-core = <&qupv3_0>; |
| 187 | status = "disabled"; |
| 188 | }; |
| 189 | |
| 190 | qupv3_se7_i2c: i2c@89c000 { |
| 191 | compatible = "qcom,i2c-geni"; |
| 192 | reg = <0x89c000 0x4000>; |
| 193 | interrupts = <GIC_SPI 608 0>; |
| 194 | #address-cells = <1>; |
| 195 | #size-cells = <0>; |
| 196 | clock-names = "se-clk", "m-ahb", "s-ahb"; |
| 197 | clocks = <&clock_gcc GCC_QUPV3_WRAP0_S7_CLK>, |
| 198 | <&clock_gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>, |
| 199 | <&clock_gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>; |
| 200 | pinctrl-names = "default", "sleep"; |
| 201 | pinctrl-0 = <&qupv3_se7_i2c_active>; |
| 202 | pinctrl-1 = <&qupv3_se7_i2c_sleep>; |
| 203 | qcom,wrapper-core = <&qupv3_0>; |
| 204 | status = "disabled"; |
| 205 | }; |
| 206 | |
| 207 | /* SPI */ |
| 208 | qupv3_se0_spi: spi@880000 { |
| 209 | compatible = "qcom,spi-geni"; |
| 210 | #address-cells = <1>; |
| 211 | #size-cells = <0>; |
| 212 | reg = <0x880000 0x4000>; |
| 213 | reg-names = "se_phys"; |
| 214 | clock-names = "se-clk", "m-ahb", "s-ahb"; |
| 215 | clocks = <&clock_gcc GCC_QUPV3_WRAP0_S0_CLK>, |
| 216 | <&clock_gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>, |
| 217 | <&clock_gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>; |
| 218 | pinctrl-names = "default", "sleep"; |
| 219 | pinctrl-0 = <&qupv3_se0_spi_active>; |
| 220 | pinctrl-1 = <&qupv3_se0_spi_sleep>; |
| 221 | interrupts = <GIC_SPI 601 0>; |
| 222 | spi-max-frequency = <50000000>; |
| 223 | qcom,wrapper-core = <&qupv3_0>; |
| 224 | status = "disabled"; |
| 225 | }; |
| 226 | |
| 227 | qupv3_se1_spi: spi@884000 { |
| 228 | compatible = "qcom,spi-geni"; |
| 229 | #address-cells = <1>; |
| 230 | #size-cells = <0>; |
| 231 | reg = <0x884000 0x4000>; |
| 232 | reg-names = "se_phys"; |
| 233 | clock-names = "se-clk", "m-ahb", "s-ahb"; |
| 234 | clocks = <&clock_gcc GCC_QUPV3_WRAP0_S1_CLK>, |
| 235 | <&clock_gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>, |
| 236 | <&clock_gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>; |
| 237 | pinctrl-names = "default", "sleep"; |
| 238 | pinctrl-0 = <&qupv3_se1_spi_active>; |
| 239 | pinctrl-1 = <&qupv3_se1_spi_sleep>; |
| 240 | interrupts = <GIC_SPI 602 0>; |
| 241 | spi-max-frequency = <50000000>; |
| 242 | qcom,wrapper-core = <&qupv3_0>; |
| 243 | status = "disabled"; |
| 244 | }; |
| 245 | |
| 246 | qupv3_se2_spi: spi@888000 { |
| 247 | compatible = "qcom,spi-geni"; |
| 248 | #address-cells = <1>; |
| 249 | #size-cells = <0>; |
| 250 | reg = <0x888000 0x4000>; |
| 251 | reg-names = "se_phys"; |
| 252 | clock-names = "se-clk", "m-ahb", "s-ahb"; |
| 253 | clocks = <&clock_gcc GCC_QUPV3_WRAP0_S2_CLK>, |
| 254 | <&clock_gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>, |
| 255 | <&clock_gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>; |
| 256 | pinctrl-names = "default", "sleep"; |
| 257 | pinctrl-0 = <&qupv3_se2_spi_active>; |
| 258 | pinctrl-1 = <&qupv3_se2_spi_sleep>; |
| 259 | interrupts = <GIC_SPI 603 0>; |
| 260 | spi-max-frequency = <50000000>; |
| 261 | qcom,wrapper-core = <&qupv3_0>; |
| 262 | status = "disabled"; |
| 263 | }; |
| 264 | |
| 265 | qupv3_se3_spi: spi@88c000 { |
| 266 | compatible = "qcom,spi-geni"; |
| 267 | #address-cells = <1>; |
| 268 | #size-cells = <0>; |
| 269 | reg = <0x88c000 0x4000>; |
| 270 | reg-names = "se_phys"; |
| 271 | clock-names = "se-clk", "m-ahb", "s-ahb"; |
| 272 | clocks = <&clock_gcc GCC_QUPV3_WRAP0_S3_CLK>, |
| 273 | <&clock_gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>, |
| 274 | <&clock_gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>; |
| 275 | pinctrl-names = "default", "sleep"; |
| 276 | pinctrl-0 = <&qupv3_se3_spi_active>; |
| 277 | pinctrl-1 = <&qupv3_se3_spi_sleep>; |
| 278 | interrupts = <GIC_SPI 604 0>; |
| 279 | spi-max-frequency = <50000000>; |
| 280 | qcom,wrapper-core = <&qupv3_0>; |
| 281 | status = "disabled"; |
| 282 | }; |
| 283 | |
| 284 | qupv3_se4_spi: spi@890000 { |
| 285 | compatible = "qcom,spi-geni"; |
| 286 | #address-cells = <1>; |
| 287 | #size-cells = <0>; |
| 288 | reg = <0x890000 0x4000>; |
| 289 | reg-names = "se_phys"; |
| 290 | clock-names = "se-clk", "m-ahb", "s-ahb"; |
| 291 | clocks = <&clock_gcc GCC_QUPV3_WRAP0_S4_CLK>, |
| 292 | <&clock_gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>, |
| 293 | <&clock_gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>; |
| 294 | pinctrl-names = "default", "sleep"; |
| 295 | pinctrl-0 = <&qupv3_se4_spi_active>; |
| 296 | pinctrl-1 = <&qupv3_se4_spi_sleep>; |
| 297 | interrupts = <GIC_SPI 605 0>; |
| 298 | spi-max-frequency = <50000000>; |
| 299 | qcom,wrapper-core = <&qupv3_0>; |
| 300 | status = "disabled"; |
| 301 | }; |
| 302 | |
| 303 | qupv3_se5_spi: spi@894000 { |
| 304 | compatible = "qcom,spi-geni"; |
| 305 | #address-cells = <1>; |
| 306 | #size-cells = <0>; |
| 307 | reg = <0x894000 0x4000>; |
| 308 | reg-names = "se_phys"; |
| 309 | clock-names = "se-clk", "m-ahb", "s-ahb"; |
| 310 | clocks = <&clock_gcc GCC_QUPV3_WRAP0_S5_CLK>, |
| 311 | <&clock_gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>, |
| 312 | <&clock_gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>; |
| 313 | pinctrl-names = "default", "sleep"; |
| 314 | pinctrl-0 = <&qupv3_se5_spi_active>; |
| 315 | pinctrl-1 = <&qupv3_se5_spi_sleep>; |
| 316 | interrupts = <GIC_SPI 606 0>; |
| 317 | spi-max-frequency = <50000000>; |
| 318 | qcom,wrapper-core = <&qupv3_0>; |
| 319 | status = "disabled"; |
| 320 | }; |
| 321 | |
| 322 | qupv3_se6_spi: spi@898000 { |
| 323 | compatible = "qcom,spi-geni"; |
| 324 | #address-cells = <1>; |
| 325 | #size-cells = <0>; |
| 326 | reg = <0x898000 0x4000>; |
| 327 | reg-names = "se_phys"; |
| 328 | clock-names = "se-clk", "m-ahb", "s-ahb"; |
| 329 | clocks = <&clock_gcc GCC_QUPV3_WRAP0_S6_CLK>, |
| 330 | <&clock_gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>, |
| 331 | <&clock_gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>; |
| 332 | pinctrl-names = "default", "sleep"; |
| 333 | pinctrl-0 = <&qupv3_se6_spi_active>; |
| 334 | pinctrl-1 = <&qupv3_se6_spi_sleep>; |
| 335 | interrupts = <GIC_SPI 607 0>; |
| 336 | spi-max-frequency = <50000000>; |
| 337 | qcom,wrapper-core = <&qupv3_0>; |
| 338 | status = "disabled"; |
| 339 | }; |
| 340 | |
| 341 | qupv3_se7_spi: spi@89c000 { |
| 342 | compatible = "qcom,spi-geni"; |
| 343 | #address-cells = <1>; |
| 344 | #size-cells = <0>; |
| 345 | reg = <0x89c000 0x4000>; |
| 346 | reg-names = "se_phys"; |
| 347 | clock-names = "se-clk", "m-ahb", "s-ahb"; |
| 348 | clocks = <&clock_gcc GCC_QUPV3_WRAP0_S7_CLK>, |
| 349 | <&clock_gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>, |
| 350 | <&clock_gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>; |
| 351 | pinctrl-names = "default", "sleep"; |
| 352 | pinctrl-0 = <&qupv3_se7_spi_active>; |
| 353 | pinctrl-1 = <&qupv3_se7_spi_sleep>; |
| 354 | interrupts = <GIC_SPI 608 0>; |
| 355 | spi-max-frequency = <50000000>; |
| 356 | qcom,wrapper-core = <&qupv3_0>; |
| 357 | status = "disabled"; |
| 358 | }; |
| 359 | |
| 360 | /* QUPv3 North Instances */ |
| 361 | qupv3_1: qcom,qupv3_1_geni_se@ac0000 { |
| 362 | compatible = "qcom,qupv3-geni-se"; |
| 363 | reg = <0xac0000 0x6000>; |
| 364 | qcom,bus-mas-id = <MSM_BUS_MASTER_BLSP_2>; |
| 365 | qcom,bus-slv-id = <MSM_BUS_SLAVE_EBI_CH0>; |
| 366 | qcom,iommu-s1-bypass; |
| 367 | |
| 368 | iommu_qupv3_1_geni_se_cb: qcom,iommu_qupv3_1_geni_se_cb { |
| 369 | compatible = "qcom,qupv3-geni-se-cb"; |
| 370 | iommus = <&apps_smmu 0x6c3 0x0>; |
| 371 | }; |
| 372 | }; |
| 373 | |
| 374 | /* 2-wire UART */ |
| 375 | |
| 376 | /* Debug UART Instance for CDP/MTP platform */ |
| 377 | qupv3_se9_2uart: qcom,qup_uart@0xa84000 { |
| 378 | compatible = "qcom,msm-geni-console", "qcom,msm-geni-uart"; |
| 379 | reg = <0xa84000 0x4000>; |
| 380 | reg-names = "se_phys"; |
| 381 | clock-names = "se-clk", "m-ahb", "s-ahb"; |
| 382 | clocks = <&clock_gcc GCC_QUPV3_WRAP1_S1_CLK>, |
| 383 | <&clock_gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>, |
| 384 | <&clock_gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>; |
| 385 | pinctrl-names = "default", "sleep"; |
| 386 | pinctrl-0 = <&qupv3_se9_2uart_active>; |
| 387 | pinctrl-1 = <&qupv3_se9_2uart_sleep>; |
| 388 | interrupts = <GIC_SPI 354 0>; |
| 389 | qcom,wrapper-core = <&qupv3_1>; |
| 390 | status = "disabled"; |
| 391 | }; |
| 392 | |
| 393 | /* Debug UART Instance for RUMI platform */ |
| 394 | qupv3_se10_2uart: qcom,qup_uart@0xa88000 { |
| 395 | compatible = "qcom,msm-geni-console", "qcom,msm-geni-uart"; |
| 396 | reg = <0xa88000 0x4000>; |
| 397 | reg-names = "se_phys"; |
| 398 | clock-names = "se-clk", "m-ahb", "s-ahb"; |
| 399 | clocks = <&clock_gcc GCC_QUPV3_WRAP1_S2_CLK>, |
| 400 | <&clock_gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>, |
| 401 | <&clock_gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>; |
| 402 | pinctrl-names = "default", "sleep"; |
| 403 | pinctrl-0 = <&qupv3_se10_2uart_active>; |
| 404 | pinctrl-1 = <&qupv3_se10_2uart_sleep>; |
| 405 | interrupts = <GIC_SPI 355 0>; |
| 406 | qcom,wrapper-core = <&qupv3_1>; |
| 407 | status = "disabled"; |
| 408 | }; |
| 409 | |
Mukesh Kumar Savaliya | 7b27254 | 2017-07-10 19:35:29 +0530 | [diff] [blame^] | 410 | /* Debug UART Instance for CDP/MTP platform on SDM670 */ |
| 411 | qupv3_se12_2uart: qcom,qup_uart@0xa90000 { |
| 412 | compatible = "qcom,msm-geni-console", "qcom,msm-geni-uart"; |
| 413 | reg = <0xa90000 0x4000>; |
| 414 | reg-names = "se_phys"; |
| 415 | clock-names = "se-clk", "m-ahb", "s-ahb"; |
| 416 | clocks = <&clock_gcc GCC_QUPV3_WRAP1_S4_CLK>, |
| 417 | <&clock_gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>, |
| 418 | <&clock_gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>; |
| 419 | pinctrl-names = "default", "sleep"; |
| 420 | pinctrl-0 = <&qupv3_se12_2uart_active>; |
| 421 | pinctrl-1 = <&qupv3_se12_2uart_sleep>; |
| 422 | interrupts = <GIC_SPI 357 0>; |
| 423 | qcom,wrapper-core = <&qupv3_1>; |
| 424 | status = "disabled"; |
| 425 | }; |
| 426 | |
Mukesh Kumar Savaliya | 065ca48 | 2017-06-06 14:44:45 +0530 | [diff] [blame] | 427 | /* I2C */ |
| 428 | qupv3_se8_i2c: i2c@a80000 { |
| 429 | compatible = "qcom,i2c-geni"; |
| 430 | reg = <0xa80000 0x4000>; |
| 431 | interrupts = <GIC_SPI 353 0>; |
| 432 | #address-cells = <1>; |
| 433 | #size-cells = <0>; |
| 434 | clock-names = "se-clk", "m-ahb", "s-ahb"; |
| 435 | clocks = <&clock_gcc GCC_QUPV3_WRAP1_S0_CLK>, |
| 436 | <&clock_gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>, |
| 437 | <&clock_gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>; |
| 438 | pinctrl-names = "default", "sleep"; |
| 439 | pinctrl-0 = <&qupv3_se8_i2c_active>; |
| 440 | pinctrl-1 = <&qupv3_se8_i2c_sleep>; |
| 441 | qcom,wrapper-core = <&qupv3_1>; |
| 442 | status = "disabled"; |
| 443 | }; |
| 444 | |
| 445 | qupv3_se9_i2c: i2c@a84000 { |
| 446 | compatible = "qcom,i2c-geni"; |
| 447 | reg = <0xa84000 0x4000>; |
| 448 | interrupts = <GIC_SPI 354 0>; |
| 449 | #address-cells = <1>; |
| 450 | #size-cells = <0>; |
| 451 | clock-names = "se-clk", "m-ahb", "s-ahb"; |
| 452 | clocks = <&clock_gcc GCC_QUPV3_WRAP1_S1_CLK>, |
| 453 | <&clock_gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>, |
| 454 | <&clock_gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>; |
| 455 | pinctrl-names = "default", "sleep"; |
| 456 | pinctrl-0 = <&qupv3_se9_i2c_active>; |
| 457 | pinctrl-1 = <&qupv3_se9_i2c_sleep>; |
| 458 | qcom,wrapper-core = <&qupv3_1>; |
| 459 | status = "disabled"; |
| 460 | }; |
| 461 | |
| 462 | qupv3_se10_i2c: i2c@a88000 { |
| 463 | compatible = "qcom,i2c-geni"; |
| 464 | reg = <0xa88000 0x4000>; |
| 465 | interrupts = <GIC_SPI 355 0>; |
| 466 | #address-cells = <1>; |
| 467 | #size-cells = <0>; |
| 468 | clock-names = "se-clk", "m-ahb", "s-ahb"; |
| 469 | clocks = <&clock_gcc GCC_QUPV3_WRAP1_S2_CLK>, |
| 470 | <&clock_gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>, |
| 471 | <&clock_gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>; |
| 472 | pinctrl-names = "default", "sleep"; |
| 473 | pinctrl-0 = <&qupv3_se10_i2c_active>; |
| 474 | pinctrl-1 = <&qupv3_se10_i2c_sleep>; |
| 475 | qcom,wrapper-core = <&qupv3_1>; |
| 476 | status = "disabled"; |
| 477 | }; |
| 478 | |
| 479 | qupv3_se11_i2c: i2c@a8c000 { |
| 480 | compatible = "qcom,i2c-geni"; |
| 481 | reg = <0xa8c000 0x4000>; |
| 482 | interrupts = <GIC_SPI 356 0>; |
| 483 | #address-cells = <1>; |
| 484 | #size-cells = <0>; |
| 485 | clock-names = "se-clk", "m-ahb", "s-ahb"; |
| 486 | clocks = <&clock_gcc GCC_QUPV3_WRAP1_S3_CLK>, |
| 487 | <&clock_gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>, |
| 488 | <&clock_gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>; |
| 489 | pinctrl-names = "default", "sleep"; |
| 490 | pinctrl-0 = <&qupv3_se11_i2c_active>; |
| 491 | pinctrl-1 = <&qupv3_se11_i2c_sleep>; |
| 492 | qcom,wrapper-core = <&qupv3_1>; |
| 493 | status = "disabled"; |
| 494 | }; |
| 495 | |
| 496 | qupv3_se12_i2c: i2c@a90000 { |
| 497 | compatible = "qcom,i2c-geni"; |
| 498 | reg = <0xa90000 0x4000>; |
| 499 | interrupts = <GIC_SPI 357 0>; |
| 500 | #address-cells = <1>; |
| 501 | #size-cells = <0>; |
| 502 | clock-names = "se-clk", "m-ahb", "s-ahb"; |
| 503 | clocks = <&clock_gcc GCC_QUPV3_WRAP1_S4_CLK>, |
| 504 | <&clock_gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>, |
| 505 | <&clock_gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>; |
| 506 | pinctrl-names = "default", "sleep"; |
| 507 | pinctrl-0 = <&qupv3_se12_i2c_active>; |
| 508 | pinctrl-1 = <&qupv3_se12_i2c_sleep>; |
| 509 | qcom,wrapper-core = <&qupv3_1>; |
| 510 | status = "disabled"; |
| 511 | }; |
| 512 | |
| 513 | qupv3_se13_i2c: i2c@a94000 { |
| 514 | compatible = "qcom,i2c-geni"; |
| 515 | reg = <0xa94000 0x4000>; |
| 516 | interrupts = <GIC_SPI 358 0>; |
| 517 | #address-cells = <1>; |
| 518 | #size-cells = <0>; |
| 519 | clock-names = "se-clk", "m-ahb", "s-ahb"; |
| 520 | clocks = <&clock_gcc GCC_QUPV3_WRAP1_S5_CLK>, |
| 521 | <&clock_gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>, |
| 522 | <&clock_gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>; |
| 523 | pinctrl-names = "default", "sleep"; |
| 524 | pinctrl-0 = <&qupv3_se13_i2c_active>; |
| 525 | pinctrl-1 = <&qupv3_se13_i2c_sleep>; |
| 526 | qcom,wrapper-core = <&qupv3_1>; |
| 527 | status = "disabled"; |
| 528 | }; |
| 529 | |
| 530 | qupv3_se14_i2c: i2c@a98000 { |
| 531 | compatible = "qcom,i2c-geni"; |
| 532 | reg = <0xa98000 0x4000>; |
| 533 | interrupts = <GIC_SPI 359 0>; |
| 534 | #address-cells = <1>; |
| 535 | #size-cells = <0>; |
| 536 | clock-names = "se-clk", "m-ahb", "s-ahb"; |
| 537 | clocks = <&clock_gcc GCC_QUPV3_WRAP1_S6_CLK>, |
| 538 | <&clock_gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>, |
| 539 | <&clock_gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>; |
| 540 | pinctrl-names = "default", "sleep"; |
| 541 | pinctrl-0 = <&qupv3_se14_i2c_active>; |
| 542 | pinctrl-1 = <&qupv3_se14_i2c_sleep>; |
| 543 | qcom,wrapper-core = <&qupv3_1>; |
| 544 | status = "disabled"; |
| 545 | }; |
| 546 | |
| 547 | qupv3_se15_i2c: i2c@a9c000 { |
| 548 | compatible = "qcom,i2c-geni"; |
| 549 | reg = <0xa9c000 0x4000>; |
| 550 | interrupts = <GIC_SPI 360 0>; |
| 551 | #address-cells = <1>; |
| 552 | #size-cells = <0>; |
| 553 | clock-names = "se-clk", "m-ahb", "s-ahb"; |
| 554 | clocks = <&clock_gcc GCC_QUPV3_WRAP1_S7_CLK>, |
| 555 | <&clock_gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>, |
| 556 | <&clock_gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>; |
| 557 | pinctrl-names = "default", "sleep"; |
| 558 | pinctrl-0 = <&qupv3_se15_i2c_active>; |
| 559 | pinctrl-1 = <&qupv3_se15_i2c_sleep>; |
| 560 | qcom,wrapper-core = <&qupv3_1>; |
| 561 | status = "disabled"; |
| 562 | }; |
| 563 | |
| 564 | /* SPI */ |
| 565 | qupv3_se8_spi: spi@a80000 { |
| 566 | compatible = "qcom,spi-geni"; |
| 567 | #address-cells = <1>; |
| 568 | #size-cells = <0>; |
| 569 | reg = <0xa80000 0x4000>; |
| 570 | reg-names = "se_phys"; |
| 571 | clock-names = "se-clk", "m-ahb", "s-ahb"; |
| 572 | clocks = <&clock_gcc GCC_QUPV3_WRAP1_S0_CLK>, |
| 573 | <&clock_gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>, |
| 574 | <&clock_gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>; |
| 575 | pinctrl-names = "default", "sleep"; |
| 576 | pinctrl-0 = <&qupv3_se8_spi_active>; |
| 577 | pinctrl-1 = <&qupv3_se8_spi_sleep>; |
| 578 | interrupts = <GIC_SPI 353 0>; |
| 579 | spi-max-frequency = <50000000>; |
| 580 | qcom,wrapper-core = <&qupv3_1>; |
| 581 | status = "disabled"; |
| 582 | }; |
| 583 | |
| 584 | qupv3_se9_spi: spi@a84000 { |
| 585 | compatible = "qcom,spi-geni"; |
| 586 | #address-cells = <1>; |
| 587 | #size-cells = <0>; |
| 588 | reg = <0xa84000 0x4000>; |
| 589 | reg-names = "se_phys"; |
| 590 | clock-names = "se-clk", "m-ahb", "s-ahb"; |
| 591 | clocks = <&clock_gcc GCC_QUPV3_WRAP1_S1_CLK>, |
| 592 | <&clock_gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>, |
| 593 | <&clock_gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>; |
| 594 | pinctrl-names = "default", "sleep"; |
| 595 | pinctrl-0 = <&qupv3_se9_spi_active>; |
| 596 | pinctrl-1 = <&qupv3_se9_spi_sleep>; |
| 597 | interrupts = <GIC_SPI 354 0>; |
| 598 | spi-max-frequency = <50000000>; |
| 599 | qcom,wrapper-core = <&qupv3_1>; |
| 600 | status = "disabled"; |
| 601 | }; |
| 602 | |
| 603 | qupv3_se10_spi: spi@a88000 { |
| 604 | compatible = "qcom,spi-geni"; |
| 605 | #address-cells = <1>; |
| 606 | #size-cells = <0>; |
| 607 | reg = <0xa88000 0x4000>; |
| 608 | reg-names = "se_phys"; |
| 609 | clock-names = "se-clk", "m-ahb", "s-ahb"; |
| 610 | clocks = <&clock_gcc GCC_QUPV3_WRAP1_S2_CLK>, |
| 611 | <&clock_gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>, |
| 612 | <&clock_gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>; |
| 613 | pinctrl-names = "default", "sleep"; |
| 614 | pinctrl-0 = <&qupv3_se10_spi_active>; |
| 615 | pinctrl-1 = <&qupv3_se10_spi_sleep>; |
| 616 | interrupts = <GIC_SPI 355 0>; |
| 617 | spi-max-frequency = <50000000>; |
| 618 | qcom,wrapper-core = <&qupv3_1>; |
| 619 | status = "disabled"; |
| 620 | }; |
| 621 | |
| 622 | qupv3_se11_spi: spi@a8c000 { |
| 623 | compatible = "qcom,spi-geni"; |
| 624 | #address-cells = <1>; |
| 625 | #size-cells = <0>; |
| 626 | reg = <0xa8c000 0x4000>; |
| 627 | reg-names = "se_phys"; |
| 628 | clock-names = "se-clk", "m-ahb", "s-ahb"; |
| 629 | clocks = <&clock_gcc GCC_QUPV3_WRAP1_S3_CLK>, |
| 630 | <&clock_gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>, |
| 631 | <&clock_gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>; |
| 632 | pinctrl-names = "default", "sleep"; |
| 633 | pinctrl-0 = <&qupv3_se11_spi_active>; |
| 634 | pinctrl-1 = <&qupv3_se11_spi_sleep>; |
| 635 | interrupts = <GIC_SPI 356 0>; |
| 636 | spi-max-frequency = <50000000>; |
| 637 | qcom,wrapper-core = <&qupv3_1>; |
| 638 | status = "disabled"; |
| 639 | }; |
| 640 | |
| 641 | qupv3_se12_spi: spi@a90000 { |
| 642 | compatible = "qcom,spi-geni"; |
| 643 | #address-cells = <1>; |
| 644 | #size-cells = <0>; |
| 645 | reg = <0xa90000 0x4000>; |
| 646 | reg-names = "se_phys"; |
| 647 | clock-names = "se-clk", "m-ahb", "s-ahb"; |
| 648 | clocks = <&clock_gcc GCC_QUPV3_WRAP1_S4_CLK>, |
| 649 | <&clock_gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>, |
| 650 | <&clock_gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>; |
| 651 | pinctrl-names = "default", "sleep"; |
| 652 | pinctrl-0 = <&qupv3_se12_spi_active>; |
| 653 | pinctrl-1 = <&qupv3_se12_spi_sleep>; |
| 654 | interrupts = <GIC_SPI 357 0>; |
| 655 | spi-max-frequency = <50000000>; |
| 656 | qcom,wrapper-core = <&qupv3_1>; |
| 657 | status = "disabled"; |
| 658 | }; |
| 659 | |
| 660 | qupv3_se13_spi: spi@a94000 { |
| 661 | compatible = "qcom,spi-geni"; |
| 662 | #address-cells = <1>; |
| 663 | #size-cells = <0>; |
| 664 | reg = <0xa94000 0x4000>; |
| 665 | reg-names = "se_phys"; |
| 666 | clock-names = "se-clk", "m-ahb", "s-ahb"; |
| 667 | clocks = <&clock_gcc GCC_QUPV3_WRAP1_S5_CLK>, |
| 668 | <&clock_gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>, |
| 669 | <&clock_gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>; |
| 670 | pinctrl-names = "default", "sleep"; |
| 671 | pinctrl-0 = <&qupv3_se13_spi_active>; |
| 672 | pinctrl-1 = <&qupv3_se13_spi_sleep>; |
| 673 | interrupts = <GIC_SPI 358 0>; |
| 674 | spi-max-frequency = <50000000>; |
| 675 | qcom,wrapper-core = <&qupv3_1>; |
| 676 | status = "disabled"; |
| 677 | }; |
| 678 | |
| 679 | qupv3_se14_spi: spi@a98000 { |
| 680 | compatible = "qcom,spi-geni"; |
| 681 | #address-cells = <1>; |
| 682 | #size-cells = <0>; |
| 683 | reg = <0xa98000 0x4000>; |
| 684 | reg-names = "se_phys"; |
| 685 | clock-names = "se-clk", "m-ahb", "s-ahb"; |
| 686 | clocks = <&clock_gcc GCC_QUPV3_WRAP1_S6_CLK>, |
| 687 | <&clock_gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>, |
| 688 | <&clock_gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>; |
| 689 | pinctrl-names = "default", "sleep"; |
| 690 | pinctrl-0 = <&qupv3_se14_spi_active>; |
| 691 | pinctrl-1 = <&qupv3_se14_spi_sleep>; |
| 692 | interrupts = <GIC_SPI 359 0>; |
| 693 | spi-max-frequency = <50000000>; |
| 694 | qcom,wrapper-core = <&qupv3_1>; |
| 695 | status = "disabled"; |
| 696 | }; |
| 697 | |
| 698 | qupv3_se15_spi: spi@a9c000 { |
| 699 | compatible = "qcom,spi-geni"; |
| 700 | #address-cells = <1>; |
| 701 | #size-cells = <0>; |
| 702 | reg = <0xa9c000 0x4000>; |
| 703 | reg-names = "se_phys"; |
| 704 | clock-names = "se-clk", "m-ahb", "s-ahb"; |
| 705 | clocks = <&clock_gcc GCC_QUPV3_WRAP1_S7_CLK>, |
| 706 | <&clock_gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>, |
| 707 | <&clock_gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>; |
| 708 | pinctrl-names = "default", "sleep"; |
| 709 | pinctrl-0 = <&qupv3_se15_spi_active>; |
| 710 | pinctrl-1 = <&qupv3_se15_spi_sleep>; |
| 711 | interrupts = <GIC_SPI 360 0>; |
| 712 | spi-max-frequency = <50000000>; |
| 713 | qcom,wrapper-core = <&qupv3_1>; |
| 714 | status = "disabled"; |
| 715 | }; |
| 716 | }; |