Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 1 | /* |
Tingwei Zhang | 5ac9677 | 2018-01-04 09:54:03 +0800 | [diff] [blame] | 2 | * Copyright (c) 2015-2018, The Linux Foundation. All rights reserved. |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 3 | * |
| 4 | * This program is free software; you can redistribute it and/or modify |
| 5 | * it under the terms of the GNU General Public License version 2 and |
| 6 | * only version 2 as published by the Free Software Foundation. |
| 7 | * |
| 8 | * This program is distributed in the hope that it will be useful, |
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 | * GNU General Public License for more details. |
| 12 | */ |
| 13 | |
| 14 | #include "skeleton64.dtsi" |
| 15 | #include <dt-bindings/gpio/gpio.h> |
Kiran Gunda | 0954f39 | 2017-10-16 16:24:55 +0530 | [diff] [blame] | 16 | #include <dt-bindings/spmi/spmi.h> |
Kiran Gunda | af6a0b6 | 2017-10-23 16:03:10 +0530 | [diff] [blame] | 17 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
Kiran Gunda | 0954f39 | 2017-10-16 16:24:55 +0530 | [diff] [blame] | 18 | #include <dt-bindings/regulator/qcom,rpm-smd-regulator.h> |
Shefali Jain | 44e24ad | 2017-11-23 12:27:33 +0530 | [diff] [blame] | 19 | #include <dt-bindings/clock/msm-clocks-8953.h> |
Patrick Daly | f891f37 | 2018-04-27 18:09:23 -0700 | [diff] [blame] | 20 | #include <dt-bindings/msm/msm-bus-ids.h> |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 21 | |
| 22 | / { |
Maria Yu | f307a0f | 2017-11-24 16:34:30 +0800 | [diff] [blame] | 23 | model = "Qualcomm Technologies, Inc. MSM8953"; |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 24 | compatible = "qcom,msm8953"; |
| 25 | qcom,msm-id = <293 0x0>; |
Maria Yu | f307a0f | 2017-11-24 16:34:30 +0800 | [diff] [blame] | 26 | qcom,msm-name = "MSM8953"; |
Raju P.L.S.S.S.N | 3f64cd3 | 2017-12-06 19:26:03 +0530 | [diff] [blame] | 27 | interrupt-parent = <&wakegic>; |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 28 | |
Maria Yu | 6f333b3b | 2018-03-06 16:10:03 +0800 | [diff] [blame] | 29 | chosen { |
Lingutla Chandrasekhar | 5fb437c | 2018-02-27 18:04:53 +0530 | [diff] [blame] | 30 | bootargs = "core_ctl_disable_cpumask=0-7 kpti=0"; |
Maria Yu | 6f333b3b | 2018-03-06 16:10:03 +0800 | [diff] [blame] | 31 | }; |
| 32 | |
Vamshi Krishna B V | 4279b56 | 2018-06-13 16:17:56 +0530 | [diff] [blame] | 33 | vendor: vendor { |
| 34 | #address-cells = <1>; |
| 35 | #size-cells = <1>; |
| 36 | ranges = <0 0 0 0xffffffff>; |
| 37 | compatible = "simple-bus"; |
| 38 | }; |
| 39 | |
Tingwei Zhang | 5ac9677 | 2018-01-04 09:54:03 +0800 | [diff] [blame] | 40 | firmware: firmware { |
| 41 | android { |
| 42 | compatible = "android,firmware"; |
Monika Singh | 5ce35af | 2018-02-24 17:25:08 +0530 | [diff] [blame] | 43 | vbmeta { |
| 44 | compatible = "android,vbmeta"; |
| 45 | parts = "vbmeta,boot,system,vendor,dtbo,recovery"; |
| 46 | }; |
| 47 | |
Tingwei Zhang | 5ac9677 | 2018-01-04 09:54:03 +0800 | [diff] [blame] | 48 | fstab { |
| 49 | compatible = "android,fstab"; |
| 50 | vendor { |
| 51 | compatible = "android,vendor"; |
| 52 | dev = "/dev/block/platform/soc/7824900.sdhci/by-name/vendor"; |
| 53 | type = "ext4"; |
| 54 | mnt_flags = "ro,barrier=1,discard"; |
Monika Singh | 5ce35af | 2018-02-24 17:25:08 +0530 | [diff] [blame] | 55 | fsmgr_flags = "wait,avb"; |
Tingwei Zhang | 5ac9677 | 2018-01-04 09:54:03 +0800 | [diff] [blame] | 56 | status = "ok"; |
| 57 | }; |
Tingwei Zhang | 5ac9677 | 2018-01-04 09:54:03 +0800 | [diff] [blame] | 58 | |
| 59 | }; |
| 60 | }; |
| 61 | }; |
| 62 | |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 63 | reserved-memory { |
| 64 | #address-cells = <2>; |
| 65 | #size-cells = <2>; |
| 66 | ranges; |
| 67 | |
| 68 | other_ext_mem: other_ext_region@0 { |
| 69 | compatible = "removed-dma-pool"; |
| 70 | no-map; |
| 71 | reg = <0x0 0x85b00000 0x0 0xd00000>; |
| 72 | }; |
| 73 | |
| 74 | modem_mem: modem_region@0 { |
| 75 | compatible = "removed-dma-pool"; |
Zhenhua Huang | cdaab09 | 2018-04-20 12:33:09 +0800 | [diff] [blame] | 76 | no-map; |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 77 | reg = <0x0 0x86c00000 0x0 0x6a00000>; |
| 78 | }; |
| 79 | |
| 80 | adsp_fw_mem: adsp_fw_region@0 { |
| 81 | compatible = "removed-dma-pool"; |
| 82 | no-map; |
| 83 | reg = <0x0 0x8d600000 0x0 0x1100000>; |
| 84 | }; |
| 85 | |
| 86 | wcnss_fw_mem: wcnss_fw_region@0 { |
| 87 | compatible = "removed-dma-pool"; |
| 88 | no-map; |
| 89 | reg = <0x0 0x8e700000 0x0 0x700000>; |
| 90 | }; |
| 91 | |
| 92 | venus_mem: venus_region@0 { |
| 93 | compatible = "shared-dma-pool"; |
| 94 | reusable; |
| 95 | alloc-ranges = <0x0 0x80000000 0x0 0x10000000>; |
| 96 | alignment = <0 0x400000>; |
| 97 | size = <0 0x0800000>; |
| 98 | }; |
| 99 | |
| 100 | secure_mem: secure_region@0 { |
| 101 | compatible = "shared-dma-pool"; |
| 102 | reusable; |
| 103 | alignment = <0 0x400000>; |
Zhenhua Huang | f64e43f | 2018-06-21 13:31:25 +0800 | [diff] [blame] | 104 | size = <0 0x0b400000>; |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 105 | }; |
| 106 | |
| 107 | qseecom_mem: qseecom_region@0 { |
| 108 | compatible = "shared-dma-pool"; |
| 109 | reusable; |
| 110 | alignment = <0 0x400000>; |
mohamed sunfeer | 5fb3ea7 | 2018-03-07 19:58:17 +0530 | [diff] [blame] | 111 | size = <0 0x1000000>; |
mohamed sunfeer | eaba274 | 2018-02-12 15:39:32 +0530 | [diff] [blame] | 112 | }; |
| 113 | |
| 114 | qseecom_ta_mem: qseecom_ta_region { |
| 115 | compatible = "shared-dma-pool"; |
| 116 | alloc-ranges = <0 0x00000000 0 0xffffffff>; |
| 117 | reusable; |
| 118 | alignment = <0 0x400000>; |
mohamed sunfeer | 5fb3ea7 | 2018-03-07 19:58:17 +0530 | [diff] [blame] | 119 | size = <0 0x400000>; |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 120 | }; |
| 121 | |
| 122 | adsp_mem: adsp_region@0 { |
| 123 | compatible = "shared-dma-pool"; |
| 124 | reusable; |
| 125 | size = <0 0x400000>; |
| 126 | }; |
| 127 | |
| 128 | dfps_data_mem: dfps_data_mem@90000000 { |
Sachin Bhayare | e25c1f0 | 2018-01-16 14:04:54 +0530 | [diff] [blame] | 129 | reg = <0 0x90000000 0 0x1000>; |
| 130 | label = "dfps_data_mem"; |
| 131 | status = "disabled"; |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 132 | }; |
| 133 | |
| 134 | cont_splash_mem: splash_region@0x90001000 { |
| 135 | reg = <0x0 0x90001000 0x0 0x13ff000>; |
| 136 | label = "cont_splash_mem"; |
| 137 | }; |
| 138 | |
Milen Mitkov | db26e51 | 2018-07-31 11:55:54 +0300 | [diff] [blame^] | 139 | adsp_shmem_device_mem: adsp_shmem_device_region@0xc0100000 { |
| 140 | reg = <0x0 0xc0100000 0x0 0x1f400000>; |
| 141 | label = "adsp_shmem_device_mem"; |
| 142 | }; |
| 143 | |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 144 | gpu_mem: gpu_region@0 { |
| 145 | compatible = "shared-dma-pool"; |
| 146 | reusable; |
| 147 | alloc-ranges = <0x0 0x80000000 0x0 0x10000000>; |
| 148 | alignment = <0 0x400000>; |
| 149 | size = <0 0x800000>; |
| 150 | }; |
Mao Jinlong | 8ae9c21 | 2018-02-28 17:39:25 +0800 | [diff] [blame] | 151 | |
| 152 | dump_mem: mem_dump_region { |
| 153 | compatible = "shared-dma-pool"; |
| 154 | reusable; |
Mao Jinlong | 18c5b4e | 2018-06-05 21:11:12 +0800 | [diff] [blame] | 155 | size = <0x400000>; |
Mao Jinlong | 8ae9c21 | 2018-02-28 17:39:25 +0800 | [diff] [blame] | 156 | }; |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 157 | }; |
| 158 | |
| 159 | aliases { |
| 160 | /* smdtty devices */ |
Arun Kumar Neelakantam | 36151aa | 2017-11-02 21:34:33 +0530 | [diff] [blame] | 161 | smd1 = &smdtty_apps_fm; |
| 162 | smd2 = &smdtty_apps_riva_bt_acl; |
| 163 | smd3 = &smdtty_apps_riva_bt_cmd; |
| 164 | smd4 = &smdtty_mbalbridge; |
| 165 | smd5 = &smdtty_apps_riva_ant_cmd; |
| 166 | smd6 = &smdtty_apps_riva_ant_data; |
| 167 | smd7 = &smdtty_data1; |
| 168 | smd8 = &smdtty_data4; |
| 169 | smd11 = &smdtty_data11; |
| 170 | smd21 = &smdtty_data21; |
| 171 | smd36 = &smdtty_loopback; |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 172 | sdhc1 = &sdhc_1; /* SDC1 eMMC slot */ |
| 173 | sdhc2 = &sdhc_2; /* SDC2 for SD card */ |
Md Mansoor Ahmed | 19ca485 | 2018-04-23 11:50:38 +0530 | [diff] [blame] | 174 | i2c1 = &i2c_1; |
Shrey Vijay | 88eddb5 | 2017-11-30 14:47:52 +0530 | [diff] [blame] | 175 | i2c2 = &i2c_2; |
| 176 | i2c3 = &i2c_3; |
| 177 | i2c5 = &i2c_5; |
| 178 | spi3 = &spi_3; |
Venkataraman Nerellapalli | a9ce233 | 2018-07-03 14:17:42 +0530 | [diff] [blame] | 179 | spi6 = &spi_6; |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 180 | }; |
| 181 | |
Patrick Daly | f891f37 | 2018-04-27 18:09:23 -0700 | [diff] [blame] | 182 | soc: soc { |
| 183 | /* |
| 184 | * The ordering of these devices is important to boot time |
| 185 | * for iot projects. |
| 186 | */ |
| 187 | smem: qcom,smem@86300000 {}; |
| 188 | rpm_bus: qcom,rpm-smd {}; |
| 189 | clock_gcc: qcom,gcc@1800000 {}; |
| 190 | ad_hoc_bus: ad-hoc-bus@580000 {}; |
| 191 | tlmm: pinctrl@1000000 {}; |
| 192 | sdhc_1: sdhci@7824900 {}; |
| 193 | }; |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 194 | |
| 195 | }; |
| 196 | |
| 197 | #include "msm8953-pinctrl.dtsi" |
| 198 | #include "msm8953-cpu.dtsi" |
Raju P.L.S.S.S.N | e0b22c9 | 2017-11-02 13:42:27 +0530 | [diff] [blame] | 199 | #include "msm8953-pm.dtsi" |
Odelu Kukatla | 1a81104 | 2017-10-29 17:26:44 +0530 | [diff] [blame] | 200 | #include "msm8953-bus.dtsi" |
Mukesh Ojha | e07d80e | 2017-11-28 20:22:44 +0530 | [diff] [blame] | 201 | #include "msm8953-coresight.dtsi" |
Charan Teja Reddy | 6f1f829 | 2017-12-26 20:54:26 +0530 | [diff] [blame] | 202 | #include "msm8953-ion.dtsi" |
Charan Teja Reddy | f20a02f | 2017-10-20 11:12:39 +0530 | [diff] [blame] | 203 | #include "msm-arm-smmu-8953.dtsi" |
Deepak Kushwah | a56fa31 | 2018-01-24 12:25:40 +0530 | [diff] [blame] | 204 | #include "msm8953-vidc.dtsi" |
Sunil Khatri | fc03ac6 | 2018-01-03 12:31:08 +0530 | [diff] [blame] | 205 | #include "msm8953-gpu.dtsi" |
Sachin Bhayare | e25c1f0 | 2018-01-16 14:04:54 +0530 | [diff] [blame] | 206 | #include "msm8953-mdss.dtsi" |
| 207 | #include "msm8953-mdss-pll.dtsi" |
Arun Kumar Neelakantam | 6eb5858 | 2018-02-12 13:46:53 +0530 | [diff] [blame] | 208 | #include "msm8953-smp2p.dtsi" |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 209 | |
| 210 | &soc { |
| 211 | #address-cells = <1>; |
| 212 | #size-cells = <1>; |
| 213 | ranges = <0 0 0 0xffffffff>; |
| 214 | compatible = "simple-bus"; |
| 215 | |
Mukesh Ojha | e07d80e | 2017-11-28 20:22:44 +0530 | [diff] [blame] | 216 | dcc: dcc@b3000 { |
| 217 | compatible = "qcom,dcc"; |
| 218 | reg = <0xb3000 0x1000>, |
| 219 | <0xb4000 0x800>; |
| 220 | reg-names = "dcc-base", "dcc-ram-base"; |
| 221 | |
| 222 | clocks = <&clock_gcc clk_gcc_dcc_clk>; |
| 223 | clock-names = "apb_pclk"; |
| 224 | qcom,save-reg; |
| 225 | }; |
| 226 | |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 227 | apc_apm: apm@b111000 { |
| 228 | compatible = "qcom,msm8953-apm"; |
| 229 | reg = <0xb111000 0x1000>; |
| 230 | reg-names = "pm-apcc-glb"; |
| 231 | qcom,apm-post-halt-delay = <0x2>; |
| 232 | qcom,apm-halt-clk-delay = <0x11>; |
| 233 | qcom,apm-resume-clk-delay = <0x10>; |
| 234 | qcom,apm-sel-switch-delay = <0x01>; |
| 235 | }; |
| 236 | |
| 237 | intc: interrupt-controller@b000000 { |
| 238 | compatible = "qcom,msm-qgic2"; |
| 239 | interrupt-controller; |
Raju P.L.S.S.S.N | 3f64cd3 | 2017-12-06 19:26:03 +0530 | [diff] [blame] | 240 | interrupt-parent = <&intc>; |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 241 | #interrupt-cells = <3>; |
| 242 | reg = <0x0b000000 0x1000>, |
| 243 | <0x0b002000 0x1000>; |
| 244 | }; |
| 245 | |
Raghavendra Kakarla | 21b9631 | 2018-02-23 08:45:00 +0530 | [diff] [blame] | 246 | wakegic: wake-gic@601d4 { |
| 247 | compatible = "qcom,mpm-gic-msm8953", "qcom,mpm-gic"; |
Raju P.L.S.S.S.N | 3f64cd3 | 2017-12-06 19:26:03 +0530 | [diff] [blame] | 248 | interrupts = <GIC_SPI 171 IRQ_TYPE_EDGE_RISING>; |
| 249 | reg = <0x601d4 0x1000>, |
| 250 | <0xb011008 0x4>; /* MSM_APCS_GCC_BASE 4K */ |
| 251 | reg-names = "vmpm", "ipc"; |
| 252 | qcom,num-mpm-irqs = <96>; |
Raghavendra Kakarla | 21b9631 | 2018-02-23 08:45:00 +0530 | [diff] [blame] | 253 | interrupt-controller; |
| 254 | interrupt-parent = <&intc>; |
| 255 | #interrupt-cells = <3>; |
| 256 | }; |
Raju P.L.S.S.S.N | 3f64cd3 | 2017-12-06 19:26:03 +0530 | [diff] [blame] | 257 | |
Raghavendra Kakarla | 21b9631 | 2018-02-23 08:45:00 +0530 | [diff] [blame] | 258 | wakegpio: wake-gpio { |
| 259 | compatible = "qcom,mpm-gpio-msm8953", "qcom,mpm-gpio"; |
| 260 | interrupt-controller; |
Raghavendra Kakarla | 168d482 | 2018-03-07 17:30:53 +0530 | [diff] [blame] | 261 | interrupt-parent = <&intc>; |
Raghavendra Kakarla | 21b9631 | 2018-02-23 08:45:00 +0530 | [diff] [blame] | 262 | #interrupt-cells = <2>; |
Raju P.L.S.S.S.N | 3f64cd3 | 2017-12-06 19:26:03 +0530 | [diff] [blame] | 263 | }; |
| 264 | |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 265 | qcom,msm-gladiator@b1c0000 { |
| 266 | compatible = "qcom,msm-gladiator"; |
| 267 | reg = <0x0b1c0000 0x4000>; |
| 268 | reg-names = "gladiator_base"; |
| 269 | interrupts = <0 22 0>; |
| 270 | }; |
| 271 | |
| 272 | timer { |
| 273 | compatible = "arm,armv8-timer"; |
| 274 | interrupts = <1 2 0xff08>, |
| 275 | <1 3 0xff08>, |
| 276 | <1 4 0xff08>, |
| 277 | <1 1 0xff08>; |
| 278 | clock-frequency = <19200000>; |
| 279 | }; |
| 280 | |
| 281 | timer@b120000 { |
| 282 | #address-cells = <1>; |
| 283 | #size-cells = <1>; |
| 284 | ranges; |
| 285 | compatible = "arm,armv7-timer-mem"; |
| 286 | reg = <0xb120000 0x1000>; |
| 287 | clock-frequency = <19200000>; |
| 288 | |
| 289 | frame@b121000 { |
| 290 | frame-number = <0>; |
| 291 | interrupts = <0 8 0x4>, |
| 292 | <0 7 0x4>; |
| 293 | reg = <0xb121000 0x1000>, |
| 294 | <0xb122000 0x1000>; |
| 295 | }; |
| 296 | |
| 297 | frame@b123000 { |
| 298 | frame-number = <1>; |
| 299 | interrupts = <0 9 0x4>; |
| 300 | reg = <0xb123000 0x1000>; |
| 301 | status = "disabled"; |
| 302 | }; |
| 303 | |
| 304 | frame@b124000 { |
| 305 | frame-number = <2>; |
| 306 | interrupts = <0 10 0x4>; |
| 307 | reg = <0xb124000 0x1000>; |
| 308 | status = "disabled"; |
| 309 | }; |
| 310 | |
| 311 | frame@b125000 { |
| 312 | frame-number = <3>; |
| 313 | interrupts = <0 11 0x4>; |
| 314 | reg = <0xb125000 0x1000>; |
| 315 | status = "disabled"; |
| 316 | }; |
| 317 | |
| 318 | frame@b126000 { |
| 319 | frame-number = <4>; |
| 320 | interrupts = <0 12 0x4>; |
| 321 | reg = <0xb126000 0x1000>; |
| 322 | status = "disabled"; |
| 323 | }; |
| 324 | |
| 325 | frame@b127000 { |
| 326 | frame-number = <5>; |
| 327 | interrupts = <0 13 0x4>; |
| 328 | reg = <0xb127000 0x1000>; |
| 329 | status = "disabled"; |
| 330 | }; |
| 331 | |
| 332 | frame@b128000 { |
| 333 | frame-number = <6>; |
| 334 | interrupts = <0 14 0x4>; |
| 335 | reg = <0xb128000 0x1000>; |
| 336 | status = "disabled"; |
| 337 | }; |
| 338 | }; |
| 339 | qcom,rmtfs_sharedmem@00000000 { |
| 340 | compatible = "qcom,sharedmem-uio"; |
| 341 | reg = <0x00000000 0x00180000>; |
| 342 | reg-names = "rmtfs"; |
| 343 | qcom,client-id = <0x00000001>; |
| 344 | }; |
| 345 | |
| 346 | restart@4ab000 { |
| 347 | compatible = "qcom,pshold"; |
| 348 | reg = <0x4ab000 0x4>, |
| 349 | <0x193d100 0x4>; |
| 350 | reg-names = "pshold-base", "tcsr-boot-misc-detect"; |
| 351 | }; |
| 352 | |
| 353 | qcom,mpm2-sleep-counter@4a3000 { |
| 354 | compatible = "qcom,mpm2-sleep-counter"; |
| 355 | reg = <0x4a3000 0x1000>; |
| 356 | clock-frequency = <32768>; |
| 357 | }; |
| 358 | |
| 359 | cpu-pmu { |
| 360 | compatible = "arm,armv8-pmuv3"; |
| 361 | interrupts = <1 7 0xff00>; |
| 362 | }; |
| 363 | |
| 364 | qcom,sps { |
| 365 | compatible = "qcom,msm_sps_4k"; |
| 366 | qcom,pipe-attr-ee; |
| 367 | }; |
| 368 | |
Manaf Meethalavalappu Pallikunhi | 4eb2b27 | 2018-01-02 17:29:37 +0530 | [diff] [blame] | 369 | thermal_zones: thermal-zones {}; |
Ashok Jammigumpula | db43f57 | 2017-12-06 18:05:57 +0530 | [diff] [blame] | 370 | |
Mao Jinlong | 8ae9c21 | 2018-02-28 17:39:25 +0800 | [diff] [blame] | 371 | mem_dump { |
| 372 | compatible = "qcom,mem-dump"; |
| 373 | memory-region = <&dump_mem>; |
| 374 | |
Mao Jinlong | 8ae9c21 | 2018-02-28 17:39:25 +0800 | [diff] [blame] | 375 | rpm_sw_dump { |
| 376 | qcom,dump-size = <0x28000>; |
| 377 | qcom,dump-id = <0xea>; |
| 378 | }; |
| 379 | |
| 380 | pmic_dump { |
| 381 | qcom,dump-size = <0x10000>; |
| 382 | qcom,dump-id = <0xe4>; |
| 383 | }; |
| 384 | |
Jinlong Mao | c226865 | 2018-03-15 11:14:58 +0530 | [diff] [blame] | 385 | vsense_dump { |
| 386 | qcom,dump-size = <0x10000>; |
| 387 | qcom,dump-id = <0xe9>; |
| 388 | }; |
| 389 | |
Mao Jinlong | 8ae9c21 | 2018-02-28 17:39:25 +0800 | [diff] [blame] | 390 | tmc_etf_dump { |
| 391 | qcom,dump-size = <0x10000>; |
| 392 | qcom,dump-id = <0xf0>; |
| 393 | }; |
| 394 | |
| 395 | tmc_etr_reg_dump { |
| 396 | qcom,dump-size = <0x1000>; |
| 397 | qcom,dump-id = <0x100>; |
| 398 | }; |
| 399 | |
| 400 | tmc_etf_reg_dump { |
| 401 | qcom,dump-size = <0x1000>; |
| 402 | qcom,dump-id = <0x101>; |
| 403 | }; |
| 404 | |
| 405 | misc_data_dump { |
| 406 | qcom,dump-size = <0x1000>; |
| 407 | qcom,dump-id = <0xe8>; |
| 408 | }; |
| 409 | |
| 410 | }; |
| 411 | |
Ashok Jammigumpula | db43f57 | 2017-12-06 18:05:57 +0530 | [diff] [blame] | 412 | tsens0: tsens@4a8000 { |
| 413 | compatible = "qcom,msm8953-tsens"; |
| 414 | reg = <0x4a8000 0x1000>, |
| 415 | <0x4a9000 0x1000>; |
| 416 | reg-names = "tsens_srot_physical", |
| 417 | "tsens_tm_physical"; |
| 418 | interrupts = <0 184 0>, <0 314 0>; |
| 419 | interrupt-names = "tsens-upper-lower", "tsens-critical"; |
| 420 | #thermal-sensor-cells = <1>; |
| 421 | }; |
| 422 | |
mohamed sunfeer | 2bfd8c8 | 2017-11-30 13:08:36 +0530 | [diff] [blame] | 423 | qcom_seecom: qseecom@85b00000 { |
| 424 | compatible = "qcom,qseecom"; |
| 425 | reg = <0x85b00000 0x800000>; |
| 426 | reg-names = "secapp-region"; |
| 427 | qcom,hlos-num-ce-hw-instances = <1>; |
| 428 | qcom,hlos-ce-hw-instance = <0>; |
| 429 | qcom,qsee-ce-hw-instance = <0>; |
| 430 | qcom,disk-encrypt-pipe-pair = <2>; |
| 431 | qcom,support-fde; |
Ramandeep Trehan | cd2dc37 | 2018-08-27 19:22:08 +0530 | [diff] [blame] | 432 | qcom,commonlib64-loaded-by-uefi; |
mohamed sunfeer | 2bfd8c8 | 2017-11-30 13:08:36 +0530 | [diff] [blame] | 433 | qcom,msm-bus,name = "qseecom-noc"; |
| 434 | qcom,msm-bus,num-cases = <4>; |
| 435 | qcom,msm-bus,num-paths = <1>; |
| 436 | qcom,support-bus-scaling; |
| 437 | qcom,msm-bus,vectors-KBps = |
| 438 | <55 512 0 0>, |
| 439 | <55 512 0 0>, |
| 440 | <55 512 120000 1200000>, |
| 441 | <55 512 393600 3936000>; |
| 442 | clocks = <&clock_gcc clk_crypto_clk_src>, |
| 443 | <&clock_gcc clk_gcc_crypto_clk>, |
| 444 | <&clock_gcc clk_gcc_crypto_ahb_clk>, |
| 445 | <&clock_gcc clk_gcc_crypto_axi_clk>; |
| 446 | clock-names = "core_clk_src", "core_clk", |
| 447 | "iface_clk", "bus_clk"; |
| 448 | qcom,ce-opp-freq = <100000000>; |
Brahmaji K | 2219183 | 2017-12-27 13:42:35 +0530 | [diff] [blame] | 449 | status = "okay"; |
mohamed sunfeer | 2bfd8c8 | 2017-11-30 13:08:36 +0530 | [diff] [blame] | 450 | }; |
| 451 | |
mohamed sunfeer | d9761e6 | 2017-11-30 13:33:02 +0530 | [diff] [blame] | 452 | qcom_tzlog: tz-log@08600720 { |
| 453 | compatible = "qcom,tz-log"; |
| 454 | reg = <0x08600720 0x2000>; |
Brahmaji K | 2219183 | 2017-12-27 13:42:35 +0530 | [diff] [blame] | 455 | status = "okay"; |
mohamed sunfeer | d9761e6 | 2017-11-30 13:33:02 +0530 | [diff] [blame] | 456 | }; |
| 457 | |
mohamed sunfeer | 0d62322 | 2017-11-30 13:51:20 +0530 | [diff] [blame] | 458 | qcom_rng: qrng@e3000 { |
| 459 | compatible = "qcom,msm-rng"; |
| 460 | reg = <0xe3000 0x1000>; |
| 461 | qcom,msm-rng-iface-clk; |
| 462 | qcom,no-qrng-config; |
| 463 | qcom,msm-bus,name = "msm-rng-noc"; |
| 464 | qcom,msm-bus,num-cases = <2>; |
| 465 | qcom,msm-bus,num-paths = <1>; |
| 466 | qcom,msm-bus,vectors-KBps = |
| 467 | <1 618 0 0>, /* No vote */ |
| 468 | <1 618 0 800>; /* 100 MB/s */ |
| 469 | clocks = <&clock_gcc clk_gcc_prng_ahb_clk>; |
| 470 | clock-names = "iface_clk"; |
Brahmaji K | 2219183 | 2017-12-27 13:42:35 +0530 | [diff] [blame] | 471 | status = "okay"; |
mohamed sunfeer | 0d62322 | 2017-11-30 13:51:20 +0530 | [diff] [blame] | 472 | }; |
| 473 | |
mohamed sunfeer | 1f6a4e0 | 2017-11-30 14:07:28 +0530 | [diff] [blame] | 474 | qcom_crypto: qcrypto@720000 { |
| 475 | compatible = "qcom,qcrypto"; |
| 476 | reg = <0x720000 0x20000>, |
| 477 | <0x704000 0x20000>; |
| 478 | reg-names = "crypto-base","crypto-bam-base"; |
| 479 | interrupts = <0 207 0>; |
| 480 | qcom,bam-pipe-pair = <2>; |
| 481 | qcom,ce-hw-instance = <0>; |
| 482 | qcom,ce-device = <0>; |
| 483 | qcom,ce-hw-shared; |
| 484 | qcom,clk-mgmt-sus-res; |
| 485 | qcom,msm-bus,name = "qcrypto-noc"; |
| 486 | qcom,msm-bus,num-cases = <2>; |
| 487 | qcom,msm-bus,num-paths = <1>; |
| 488 | qcom,msm-bus,vectors-KBps = |
| 489 | <55 512 0 0>, |
| 490 | <55 512 393600 393600>; |
| 491 | clocks = <&clock_gcc clk_crypto_clk_src>, |
| 492 | <&clock_gcc clk_gcc_crypto_clk>, |
| 493 | <&clock_gcc clk_gcc_crypto_ahb_clk>, |
| 494 | <&clock_gcc clk_gcc_crypto_axi_clk>; |
| 495 | clock-names = "core_clk_src", "core_clk", |
| 496 | "iface_clk", "bus_clk"; |
| 497 | qcom,use-sw-aes-cbc-ecb-ctr-algo; |
| 498 | qcom,use-sw-aes-xts-algo; |
| 499 | qcom,use-sw-aes-ccm-algo; |
| 500 | qcom,use-sw-ahash-algo; |
| 501 | qcom,use-sw-hmac-algo; |
| 502 | qcom,use-sw-aead-algo; |
| 503 | qcom,ce-opp-freq = <100000000>; |
Brahmaji K | 2219183 | 2017-12-27 13:42:35 +0530 | [diff] [blame] | 504 | status = "okay"; |
mohamed sunfeer | 1f6a4e0 | 2017-11-30 14:07:28 +0530 | [diff] [blame] | 505 | }; |
| 506 | |
| 507 | qcom_cedev: qcedev@720000 { |
| 508 | compatible = "qcom,qcedev"; |
| 509 | reg = <0x720000 0x20000>, |
| 510 | <0x704000 0x20000>; |
| 511 | reg-names = "crypto-base","crypto-bam-base"; |
| 512 | interrupts = <0 207 0>; |
| 513 | qcom,bam-pipe-pair = <1>; |
| 514 | qcom,ce-hw-instance = <0>; |
| 515 | qcom,ce-device = <0>; |
| 516 | qcom,ce-hw-shared; |
| 517 | qcom,msm-bus,name = "qcedev-noc"; |
| 518 | qcom,msm-bus,num-cases = <2>; |
| 519 | qcom,msm-bus,num-paths = <1>; |
| 520 | qcom,msm-bus,vectors-KBps = |
| 521 | <55 512 0 0>, |
| 522 | <55 512 393600 393600>; |
| 523 | clocks = <&clock_gcc clk_crypto_clk_src>, |
| 524 | <&clock_gcc clk_gcc_crypto_clk>, |
| 525 | <&clock_gcc clk_gcc_crypto_ahb_clk>, |
| 526 | <&clock_gcc clk_gcc_crypto_axi_clk>; |
| 527 | clock-names = "core_clk_src", "core_clk", |
| 528 | "iface_clk", "bus_clk"; |
| 529 | qcom,ce-opp-freq = <100000000>; |
Brahmaji K | 2219183 | 2017-12-27 13:42:35 +0530 | [diff] [blame] | 530 | status = "okay"; |
mohamed sunfeer | 1f6a4e0 | 2017-11-30 14:07:28 +0530 | [diff] [blame] | 531 | }; |
| 532 | |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 533 | blsp1_uart0: serial@78af000 { |
| 534 | compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; |
| 535 | reg = <0x78af000 0x200>; |
| 536 | interrupts = <0 107 0>; |
Maria Yu | af0e925 | 2017-11-30 19:58:44 +0800 | [diff] [blame] | 537 | clocks = <&clock_gcc clk_gcc_blsp1_uart1_apps_clk>, |
| 538 | <&clock_gcc clk_gcc_blsp1_ahb_clk>; |
| 539 | clock-names = "core", "iface"; |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 540 | status = "disabled"; |
| 541 | }; |
| 542 | |
Shrey Vijay | 88eddb5 | 2017-11-30 14:47:52 +0530 | [diff] [blame] | 543 | blsp1_uart1: uart@78b0000 { |
| 544 | compatible = "qcom,msm-hsuart-v14"; |
| 545 | reg = <0x78b0000 0x200>, |
| 546 | <0x7884000 0x1f000>; |
| 547 | reg-names = "core_mem", "bam_mem"; |
| 548 | |
| 549 | interrupt-names = "core_irq", "bam_irq", "wakeup_irq"; |
| 550 | #address-cells = <0>; |
| 551 | interrupt-parent = <&blsp1_uart1>; |
| 552 | interrupts = <0 1 2>; |
| 553 | #interrupt-cells = <1>; |
| 554 | interrupt-map-mask = <0xffffffff>; |
| 555 | interrupt-map = <0 &intc 0 108 0 |
| 556 | 1 &intc 0 238 0 |
| 557 | 2 &tlmm 13 0>; |
| 558 | |
| 559 | qcom,inject-rx-on-wakeup; |
| 560 | qcom,rx-char-to-inject = <0xFD>; |
| 561 | qcom,master-id = <86>; |
| 562 | clock-names = "core_clk", "iface_clk"; |
| 563 | clocks = <&clock_gcc clk_gcc_blsp1_uart2_apps_clk>, |
| 564 | <&clock_gcc clk_gcc_blsp1_ahb_clk>; |
| 565 | pinctrl-names = "sleep", "default"; |
| 566 | pinctrl-0 = <&hsuart_sleep>; |
| 567 | pinctrl-1 = <&hsuart_active>; |
| 568 | qcom,bam-tx-ep-pipe-index = <2>; |
| 569 | qcom,bam-rx-ep-pipe-index = <3>; |
| 570 | qcom,msm-bus,name = "blsp1_uart1"; |
| 571 | qcom,msm-bus,num-cases = <2>; |
| 572 | qcom,msm-bus,num-paths = <1>; |
| 573 | qcom,msm-bus,vectors-KBps = |
| 574 | <86 512 0 0>, |
| 575 | <86 512 500 800>; |
| 576 | status = "disabled"; |
| 577 | }; |
| 578 | |
| 579 | blsp2_uart0: uart@7aef000 { |
| 580 | compatible = "qcom,msm-hsuart-v14"; |
| 581 | reg = <0x7aef000 0x200>, |
| 582 | <0x7ac4000 0x1f000>; |
| 583 | reg-names = "core_mem", "bam_mem"; |
| 584 | |
| 585 | interrupt-names = "core_irq", "bam_irq", "wakeup_irq"; |
| 586 | #address-cells = <0>; |
| 587 | interrupt-parent = <&blsp2_uart0>; |
| 588 | interrupts = <0 1 2>; |
| 589 | #interrupt-cells = <1>; |
| 590 | interrupt-map-mask = <0xffffffff>; |
| 591 | interrupt-map = <0 &intc 0 306 0 |
| 592 | 1 &intc 0 239 0 |
| 593 | 2 &tlmm 17 0>; |
| 594 | |
| 595 | qcom,inject-rx-on-wakeup; |
| 596 | qcom,rx-char-to-inject = <0xFD>; |
| 597 | qcom,master-id = <84>; |
| 598 | clock-names = "core_clk", "iface_clk"; |
| 599 | clocks = <&clock_gcc clk_gcc_blsp2_uart1_apps_clk>, |
| 600 | <&clock_gcc clk_gcc_blsp2_ahb_clk>; |
| 601 | pinctrl-names = "sleep", "default"; |
| 602 | pinctrl-0 = <&blsp2_uart0_sleep>; |
| 603 | pinctrl-1 = <&blsp2_uart0_active>; |
| 604 | qcom,bam-tx-ep-pipe-index = <0>; |
| 605 | qcom,bam-rx-ep-pipe-index = <1>; |
| 606 | qcom,msm-bus,name = "blsp2_uart0"; |
| 607 | qcom,msm-bus,num-cases = <2>; |
| 608 | qcom,msm-bus,num-paths = <1>; |
| 609 | qcom,msm-bus,vectors-KBps = |
| 610 | <84 512 0 0>, |
| 611 | <84 512 500 800>; |
| 612 | status = "disabled"; |
| 613 | }; |
| 614 | |
Venkataraman Nerellapalli | 5d54a0b | 2018-07-02 12:48:48 +0530 | [diff] [blame] | 615 | blsp2_uart1: uart@7af0000 { |
| 616 | compatible = "qcom,msm-hsuart-v14"; |
| 617 | reg = <0x7af0000 0x200>, |
| 618 | <0x7ac4000 0x1f000>; |
| 619 | reg-names = "core_mem", "bam_mem"; |
| 620 | |
| 621 | interrupt-names = "core_irq", "bam_irq", "wakeup_irq"; |
| 622 | #address-cells = <0>; |
| 623 | interrupt-parent = <&blsp2_uart1>; |
| 624 | interrupts = <0 1 2>; |
| 625 | #interrupt-cells = <1>; |
| 626 | interrupt-map-mask = <0xffffffff>; |
| 627 | interrupt-map = <0 &intc 0 307 0 |
| 628 | 1 &intc 0 239 0 |
| 629 | 2 &tlmm 21 0>; |
| 630 | |
| 631 | qcom,inject-rx-on-wakeup; |
| 632 | qcom,rx-char-to-inject = <0xFD>; |
| 633 | qcom,master-id = <84>; |
| 634 | clock-names = "core_clk", "iface_clk"; |
| 635 | clocks = <&clock_gcc clk_gcc_blsp2_uart2_apps_clk>, |
| 636 | <&clock_gcc clk_gcc_blsp2_ahb_clk>; |
| 637 | pinctrl-names = "sleep", "default"; |
| 638 | pinctrl-0 = <&blsp2_uart1_sleep>; |
| 639 | pinctrl-1 = <&blsp2_uart1_active>; |
| 640 | qcom,bam-tx-ep-pipe-index = <2>; |
| 641 | qcom,bam-rx-ep-pipe-index = <3>; |
| 642 | qcom,msm-bus,name = "blsp2_uart1"; |
| 643 | qcom,msm-bus,num-cases = <2>; |
| 644 | qcom,msm-bus,num-paths = <1>; |
| 645 | qcom,msm-bus,vectors-KBps = |
| 646 | <84 512 0 0>, |
| 647 | <84 512 500 800>; |
| 648 | status = "disabled"; |
| 649 | }; |
| 650 | |
Maria Yu | f16c160 | 2017-12-22 13:05:17 +0800 | [diff] [blame] | 651 | blsp1_serial1: serial@78b0000 { |
| 652 | compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; |
| 653 | reg = <0x78b0000 0x200>; |
| 654 | interrupts = <0 108 0>; |
| 655 | clocks = <&clock_gcc clk_gcc_blsp1_uart2_apps_clk>, |
| 656 | <&clock_gcc clk_gcc_blsp1_ahb_clk>; |
| 657 | clock-names = "core", "iface"; |
| 658 | status = "disabled"; |
| 659 | }; |
| 660 | |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 661 | dma_blsp1: qcom,sps-dma@7884000 { /* BLSP1 */ |
| 662 | #dma-cells = <4>; |
| 663 | compatible = "qcom,sps-dma"; |
| 664 | reg = <0x7884000 0x1f000>; |
| 665 | interrupts = <0 238 0>; |
| 666 | qcom,summing-threshold = <10>; |
| 667 | }; |
| 668 | |
| 669 | dma_blsp2: qcom,sps-dma@7ac4000 { /* BLSP2 */ |
| 670 | #dma-cells = <4>; |
| 671 | compatible = "qcom,sps-dma"; |
| 672 | reg = <0x7ac4000 0x1f000>; |
| 673 | interrupts = <0 239 0>; |
| 674 | qcom,summing-threshold = <10>; |
| 675 | }; |
| 676 | |
Shrey Vijay | 88eddb5 | 2017-11-30 14:47:52 +0530 | [diff] [blame] | 677 | spi_3: spi@78b7000 { /* BLSP1 QUP3 */ |
| 678 | compatible = "qcom,spi-qup-v2"; |
| 679 | #address-cells = <1>; |
| 680 | #size-cells = <0>; |
| 681 | reg-names = "spi_physical", "spi_bam_physical"; |
| 682 | reg = <0x78b7000 0x600>, |
| 683 | <0x7884000 0x1f000>; |
| 684 | interrupt-names = "spi_irq", "spi_bam_irq"; |
| 685 | interrupts = <0 97 0>, <0 238 0>; |
| 686 | spi-max-frequency = <19200000>; |
| 687 | pinctrl-names = "spi_default", "spi_sleep"; |
| 688 | pinctrl-0 = <&spi3_default &spi3_cs0_active>; |
| 689 | pinctrl-1 = <&spi3_sleep &spi3_cs0_sleep>; |
| 690 | clocks = <&clock_gcc clk_gcc_blsp1_ahb_clk>, |
| 691 | <&clock_gcc clk_gcc_blsp1_qup3_spi_apps_clk>; |
| 692 | clock-names = "iface_clk", "core_clk"; |
| 693 | qcom,infinite-mode = <0>; |
| 694 | qcom,use-bam; |
| 695 | qcom,use-pinctrl; |
| 696 | qcom,ver-reg-exists; |
| 697 | qcom,bam-consumer-pipe-index = <8>; |
| 698 | qcom,bam-producer-pipe-index = <9>; |
| 699 | qcom,master-id = <86>; |
| 700 | status = "disabled"; |
| 701 | }; |
Venkataraman Nerellapalli | a9ce233 | 2018-07-03 14:17:42 +0530 | [diff] [blame] | 702 | |
| 703 | spi_6: spi@7af6000 { /* BLSP2 QUP2 */ |
| 704 | compatible = "qcom,spi-qup-v2"; |
| 705 | #address-cells = <1>; |
| 706 | #size-cells = <0>; |
| 707 | reg-names = "spi_physical", "spi_bam_physical"; |
| 708 | reg = <0x7af6000 0x600>, |
| 709 | <0x7ac4000 0x1f000>; |
| 710 | interrupt-names = "spi_irq", "spi_bam_irq"; |
| 711 | interrupts = <0 300 0>, <0 239 0>; |
| 712 | spi-max-frequency = <19200000>; |
| 713 | pinctrl-names = "spi_default", "spi_sleep"; |
| 714 | pinctrl-0 = <&spi6_default &spi6_cs0_active>; |
| 715 | pinctrl-1 = <&spi6_sleep &spi6_cs0_sleep>; |
| 716 | clocks = <&clock_gcc clk_gcc_blsp2_ahb_clk>, |
| 717 | <&clock_gcc clk_gcc_blsp2_qup2_spi_apps_clk>; |
| 718 | clock-names = "iface_clk", "core_clk"; |
| 719 | qcom,infinite-mode = <0>; |
| 720 | qcom,use-bam; |
| 721 | qcom,use-pinctrl; |
| 722 | qcom,ver-reg-exists; |
| 723 | qcom,bam-consumer-pipe-index = <6>; |
| 724 | qcom,bam-producer-pipe-index = <7>; |
| 725 | qcom,master-id = <84>; |
| 726 | status = "disabled"; |
| 727 | }; |
| 728 | |
Md Mansoor Ahmed | 19ca485 | 2018-04-23 11:50:38 +0530 | [diff] [blame] | 729 | i2c_1: i2c@78b5000 { /* BLSP1 QUP1 */ |
| 730 | compatible = "qcom,i2c-msm-v2"; |
| 731 | #address-cells = <1>; |
| 732 | #size-cells = <0>; |
| 733 | reg-names = "qup_phys_addr"; |
| 734 | reg = <0x78b5000 0x600>; |
| 735 | interrupt-names = "qup_irq"; |
| 736 | interrupts = <0 95 0>; |
| 737 | qcom,master-id = <86>; |
| 738 | qcom,clk-freq-out = <100000>; |
| 739 | qcom,clk-freq-in = <19200000>; |
| 740 | clock-names = "iface_clk", "core_clk"; |
| 741 | clocks = <&clock_gcc clk_gcc_blsp1_ahb_clk>, |
| 742 | <&clock_gcc clk_gcc_blsp1_qup1_i2c_apps_clk>; |
| 743 | pinctrl-names = "i2c_active", "i2c_sleep"; |
| 744 | pinctrl-0 = <&i2c_1_active>; |
| 745 | pinctrl-1 = <&i2c_1_sleep>; |
| 746 | qcom,noise-rjct-scl = <0>; |
| 747 | qcom,noise-rjct-sda = <0>; |
| 748 | dmas = <&dma_blsp1 4 64 0x20000020 0x20>, |
| 749 | <&dma_blsp1 5 32 0x20000020 0x20>; |
| 750 | dma-names = "tx", "rx"; |
| 751 | status = "disabled"; |
| 752 | }; |
Shrey Vijay | 88eddb5 | 2017-11-30 14:47:52 +0530 | [diff] [blame] | 753 | |
| 754 | i2c_2: i2c@78b6000 { /* BLSP1 QUP2 */ |
| 755 | compatible = "qcom,i2c-msm-v2"; |
| 756 | #address-cells = <1>; |
| 757 | #size-cells = <0>; |
| 758 | reg-names = "qup_phys_addr"; |
| 759 | reg = <0x78b6000 0x600>; |
| 760 | interrupt-names = "qup_irq"; |
| 761 | interrupts = <0 96 0>; |
| 762 | qcom,clk-freq-out = <400000>; |
| 763 | qcom,clk-freq-in = <19200000>; |
| 764 | clock-names = "iface_clk", "core_clk"; |
| 765 | clocks = <&clock_gcc clk_gcc_blsp1_ahb_clk>, |
| 766 | <&clock_gcc clk_gcc_blsp1_qup2_i2c_apps_clk>; |
| 767 | |
| 768 | pinctrl-names = "i2c_active", "i2c_sleep"; |
| 769 | pinctrl-0 = <&i2c_2_active>; |
| 770 | pinctrl-1 = <&i2c_2_sleep>; |
| 771 | qcom,noise-rjct-scl = <0>; |
| 772 | qcom,noise-rjct-sda = <0>; |
| 773 | qcom,master-id = <86>; |
| 774 | dmas = <&dma_blsp1 6 64 0x20000020 0x20>, |
| 775 | <&dma_blsp1 7 32 0x20000020 0x20>; |
| 776 | dma-names = "tx", "rx"; |
| 777 | status = "disabled"; |
| 778 | }; |
| 779 | |
| 780 | i2c_3: i2c@78b7000 { /* BLSP1 QUP3 */ |
| 781 | compatible = "qcom,i2c-msm-v2"; |
| 782 | #address-cells = <1>; |
| 783 | #size-cells = <0>; |
| 784 | reg-names = "qup_phys_addr"; |
| 785 | reg = <0x78b7000 0x600>; |
| 786 | interrupt-names = "qup_irq"; |
| 787 | interrupts = <0 97 0>; |
| 788 | qcom,clk-freq-out = <400000>; |
| 789 | qcom,clk-freq-in = <19200000>; |
| 790 | clock-names = "iface_clk", "core_clk"; |
| 791 | clocks = <&clock_gcc clk_gcc_blsp1_ahb_clk>, |
| 792 | <&clock_gcc clk_gcc_blsp1_qup3_i2c_apps_clk>; |
| 793 | |
| 794 | pinctrl-names = "i2c_active", "i2c_sleep"; |
| 795 | pinctrl-0 = <&i2c_3_active>; |
| 796 | pinctrl-1 = <&i2c_3_sleep>; |
| 797 | qcom,noise-rjct-scl = <0>; |
| 798 | qcom,noise-rjct-sda = <0>; |
| 799 | qcom,master-id = <86>; |
| 800 | dmas = <&dma_blsp1 8 64 0x20000020 0x20>, |
| 801 | <&dma_blsp1 9 32 0x20000020 0x20>; |
| 802 | dma-names = "tx", "rx"; |
| 803 | status = "disabled"; |
| 804 | }; |
| 805 | |
| 806 | i2c_5: i2c@7af5000 { /* BLSP2 QUP1 */ |
| 807 | compatible = "qcom,i2c-msm-v2"; |
| 808 | #address-cells = <1>; |
| 809 | #size-cells = <0>; |
| 810 | reg-names = "qup_phys_addr"; |
| 811 | reg = <0x7af5000 0x600>; |
| 812 | interrupt-names = "qup_irq"; |
| 813 | interrupts = <0 299 0>; |
| 814 | qcom,clk-freq-out = <400000>; |
| 815 | qcom,clk-freq-in = <19200000>; |
| 816 | clock-names = "iface_clk", "core_clk"; |
| 817 | clocks = <&clock_gcc clk_gcc_blsp2_ahb_clk>, |
| 818 | <&clock_gcc clk_gcc_blsp2_qup1_i2c_apps_clk>; |
| 819 | |
| 820 | pinctrl-names = "i2c_active", "i2c_sleep"; |
| 821 | pinctrl-0 = <&i2c_5_active>; |
| 822 | pinctrl-1 = <&i2c_5_sleep>; |
| 823 | qcom,noise-rjct-scl = <0>; |
| 824 | qcom,noise-rjct-sda = <0>; |
| 825 | qcom,master-id = <84>; |
| 826 | dmas = <&dma_blsp2 4 64 0x20000020 0x20>, |
| 827 | <&dma_blsp2 5 32 0x20000020 0x20>; |
| 828 | dma-names = "tx", "rx"; |
| 829 | status = "disabled"; |
| 830 | }; |
| 831 | |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 832 | slim_msm: slim@c140000{ |
| 833 | cell-index = <1>; |
| 834 | compatible = "qcom,slim-ngd"; |
| 835 | reg = <0xc140000 0x2c000>, |
| 836 | <0xc104000 0x2a000>; |
| 837 | reg-names = "slimbus_physical", "slimbus_bam_physical"; |
| 838 | interrupts = <0 163 0>, <0 180 0>; |
| 839 | interrupt-names = "slimbus_irq", "slimbus_bam_irq"; |
| 840 | qcom,apps-ch-pipes = <0x600000>; |
| 841 | qcom,ea-pc = <0x200>; |
| 842 | status = "disabled"; |
| 843 | }; |
| 844 | |
Sachin Bhayare | e25c1f0 | 2018-01-16 14:04:54 +0530 | [diff] [blame] | 845 | clock_gcc_mdss: qcom,gcc-mdss@1800000 { |
| 846 | compatible = "qcom,gcc-mdss-8953"; |
| 847 | reg = <0x1800000 0x80000>; |
| 848 | reg-names = "cc_base"; |
| 849 | clock-names = "pclk0_src", "pclk1_src", |
| 850 | "byte0_src", "byte1_src"; |
| 851 | clocks = <&mdss_dsi0_pll clk_dsi0pll_pixel_clk_mux>, |
| 852 | <&mdss_dsi1_pll clk_dsi1pll_pixel_clk_mux>, |
| 853 | <&mdss_dsi0_pll clk_dsi0pll_byte_clk_mux>, |
| 854 | <&mdss_dsi1_pll clk_dsi1pll_byte_clk_mux>; |
| 855 | #clock-cells = <1>; |
| 856 | }; |
| 857 | |
Shefali Jain | 44e24ad | 2017-11-23 12:27:33 +0530 | [diff] [blame] | 858 | clock_gcc: qcom,gcc@1800000 { |
| 859 | compatible = "qcom,gcc-8953"; |
| 860 | reg = <0x1800000 0x80000>, |
| 861 | <0x00a4124 0x08>; |
| 862 | reg-names = "cc_base", "efuse"; |
| 863 | vdd_dig-supply = <&pm8953_s2_level>; |
| 864 | #clock-cells = <1>; |
| 865 | #reset-cells = <1>; |
| 866 | }; |
| 867 | |
| 868 | clock_debug: qcom,cc-debug@1874000 { |
| 869 | compatible = "qcom,cc-debug-8953"; |
| 870 | reg = <0x1874000 0x4>; |
| 871 | reg-names = "cc_base"; |
| 872 | clocks = <&clock_cpu clk_cpu_debug_pri_mux>; |
| 873 | clock-names = "debug_cpu_clk"; |
| 874 | #clock-cells = <1>; |
| 875 | }; |
| 876 | |
| 877 | clock_gcc_gfx: qcom,gcc-gfx@1800000 { |
| 878 | compatible = "qcom,gcc-gfx-8953"; |
| 879 | reg = <0x1800000 0x80000>; |
| 880 | reg-names = "cc_base"; |
| 881 | vdd_gfx-supply = <&gfx_vreg_corner>; |
Amit Nischal | 6b27af6 | 2018-01-17 18:01:18 +0530 | [diff] [blame] | 882 | clocks = <&clock_gcc clk_xo_clk_src>; |
| 883 | clock-names = "xo"; |
Amit Nischal | 5778fc2 | 2018-01-18 10:55:04 +0530 | [diff] [blame] | 884 | qcom,gcc_oxili_gfx3d_clk-opp-handle = <&msm_gpu>; |
Shefali Jain | 44e24ad | 2017-11-23 12:27:33 +0530 | [diff] [blame] | 885 | qcom,gfxfreq-corner = |
| 886 | < 0 0 >, |
| 887 | < 133330000 1 >, /* Min SVS */ |
| 888 | < 216000000 2 >, /* Low SVS */ |
| 889 | < 320000000 3 >, /* SVS */ |
| 890 | < 400000000 4 >, /* SVS Plus */ |
| 891 | < 510000000 5 >, /* NOM */ |
| 892 | < 560000000 6 >, /* Nom Plus */ |
| 893 | < 650000000 7 >; /* Turbo */ |
| 894 | #clock-cells = <1>; |
| 895 | }; |
| 896 | |
| 897 | clock_cpu: qcom,cpu-clock-8953@b116000 { |
| 898 | compatible = "qcom,cpu-clock-8953"; |
| 899 | reg = <0xb114000 0x68>, |
| 900 | <0xb014000 0x68>, |
| 901 | <0xb116000 0x400>, |
| 902 | <0xb111050 0x08>, |
| 903 | <0xb011050 0x08>, |
| 904 | <0xb1d1050 0x08>, |
| 905 | <0x00a4124 0x08>; |
| 906 | reg-names = "rcgwr-c0-base", "rcgwr-c1-base", |
| 907 | "c0-pll", "c0-mux", "c1-mux", |
| 908 | "cci-mux", "efuse"; |
| 909 | vdd-mx-supply = <&pm8953_s7_level_ao>; |
| 910 | vdd-cl-supply = <&apc_vreg>; |
| 911 | clocks = <&clock_gcc clk_xo_a_clk_src>; |
| 912 | clock-names = "xo_a"; |
| 913 | qcom,num-clusters = <2>; |
| 914 | qcom,speed0-bin-v0-cl = |
| 915 | < 0 0>, |
| 916 | < 652800000 1>, |
| 917 | < 1036800000 2>, |
| 918 | < 1401600000 3>, |
| 919 | < 1689600000 4>, |
| 920 | < 1804800000 5>, |
| 921 | < 1958400000 6>, |
| 922 | < 2016000000 7>; |
| 923 | qcom,speed0-bin-v0-cci = |
| 924 | < 0 0>, |
| 925 | < 261120000 1>, |
| 926 | < 414720000 2>, |
| 927 | < 560640000 3>, |
| 928 | < 675840000 4>, |
| 929 | < 721920000 5>, |
| 930 | < 783360000 6>, |
| 931 | < 806400000 7>; |
| 932 | qcom,speed2-bin-v0-cl = |
| 933 | < 0 0>, |
| 934 | < 652800000 1>, |
| 935 | < 1036800000 2>, |
| 936 | < 1401600000 3>, |
| 937 | < 1689600000 4>, |
| 938 | < 1804800000 5>, |
| 939 | < 1958400000 6>, |
| 940 | < 2016000000 7>; |
| 941 | qcom,speed2-bin-v0-cci = |
| 942 | < 0 0>, |
| 943 | < 261120000 1>, |
| 944 | < 414720000 2>, |
| 945 | < 560640000 3>, |
| 946 | < 675840000 4>, |
| 947 | < 721920000 5>, |
| 948 | < 783360000 6>, |
| 949 | < 806400000 7>; |
| 950 | qcom,speed7-bin-v0-cl = |
| 951 | < 0 0>, |
| 952 | < 652800000 1>, |
| 953 | < 1036800000 2>, |
| 954 | < 1401600000 3>, |
| 955 | < 1689600000 4>, |
| 956 | < 1804800000 5>, |
| 957 | < 1958400000 6>, |
| 958 | < 2016000000 7>, |
| 959 | < 2150400000 8>, |
| 960 | < 2208000000 9>; |
| 961 | qcom,speed7-bin-v0-cci = |
| 962 | < 0 0>, |
| 963 | < 261120000 1>, |
| 964 | < 414720000 2>, |
| 965 | < 560640000 3>, |
| 966 | < 675840000 4>, |
| 967 | < 721920000 5>, |
| 968 | < 783360000 6>, |
| 969 | < 806400000 7>, |
| 970 | < 860160000 8>, |
| 971 | < 883200000 9>; |
| 972 | qcom,speed6-bin-v0-cl = |
| 973 | < 0 0>, |
| 974 | < 652800000 1>, |
| 975 | < 1036800000 2>, |
| 976 | < 1401600000 3>, |
| 977 | < 1689600000 4>, |
| 978 | < 1804800000 5>; |
| 979 | qcom,speed6-bin-v0-cci = |
| 980 | < 0 0>, |
| 981 | < 261120000 1>, |
| 982 | < 414720000 2>, |
| 983 | < 560640000 3>, |
| 984 | < 675840000 4>, |
| 985 | < 721920000 5>; |
| 986 | #clock-cells = <1>; |
Maria Yu | b90c548 | 2017-12-01 13:28:56 +0800 | [diff] [blame] | 987 | }; |
| 988 | |
| 989 | msm_cpufreq: qcom,msm-cpufreq { |
| 990 | compatible = "qcom,msm-cpufreq"; |
| 991 | clock-names = "l2_clk", "cpu0_clk", "cpu1_clk", "cpu2_clk", |
| 992 | "cpu3_clk", "cpu4_clk", "cpu5_clk", |
| 993 | "cpu6_clk", "cpu7_clk"; |
| 994 | clocks = <&clock_cpu clk_cci_clk>, |
| 995 | <&clock_cpu clk_a53_pwr_clk>, |
| 996 | <&clock_cpu clk_a53_pwr_clk>, |
| 997 | <&clock_cpu clk_a53_pwr_clk>, |
| 998 | <&clock_cpu clk_a53_pwr_clk>, |
| 999 | <&clock_cpu clk_a53_pwr_clk>, |
| 1000 | <&clock_cpu clk_a53_pwr_clk>, |
| 1001 | <&clock_cpu clk_a53_pwr_clk>, |
| 1002 | <&clock_cpu clk_a53_pwr_clk>; |
| 1003 | |
| 1004 | qcom,cpufreq-table = |
| 1005 | < 652800 >, |
| 1006 | < 1036800 >, |
| 1007 | < 1401600 >, |
| 1008 | < 1689600 >, |
| 1009 | < 1804800 >, |
| 1010 | < 1958400 >, |
| 1011 | < 2016000 >, |
| 1012 | < 2150400 >, |
| 1013 | < 2208000 >; |
Shefali Jain | 44e24ad | 2017-11-23 12:27:33 +0530 | [diff] [blame] | 1014 | }; |
| 1015 | |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 1016 | cpubw: qcom,cpubw { |
| 1017 | compatible = "qcom,devbw"; |
| 1018 | governor = "cpufreq"; |
| 1019 | qcom,src-dst-ports = <1 512>; |
| 1020 | qcom,active-only; |
| 1021 | qcom,bw-tbl = |
| 1022 | < 769 /* 100.8 MHz */ >, |
| 1023 | < 1611 /* 211.2 MHz */ >, /*Low SVS*/ |
| 1024 | < 2124 /* 278.4 MHz */ >, |
| 1025 | < 2929 /* 384 MHz */ >, |
| 1026 | < 3221 /* 422.4 MHz */ >, /* SVS */ |
| 1027 | < 4248 /* 556.8 MHz */ >, |
| 1028 | < 5126 /* 672 MHz */ >, |
| 1029 | < 5859 /* 768 MHz */ >, /* SVS+ */ |
| 1030 | < 6152 /* 806.4 MHz */ >, |
| 1031 | < 6445 /* 844.8 MHz */ >, /* NOM */ |
| 1032 | < 7104 /* 931.2 MHz */ >; /* TURBO */ |
| 1033 | }; |
| 1034 | |
| 1035 | mincpubw: qcom,mincpubw { |
| 1036 | compatible = "qcom,devbw"; |
| 1037 | governor = "cpufreq"; |
| 1038 | qcom,src-dst-ports = <1 512>; |
| 1039 | qcom,active-only; |
| 1040 | qcom,bw-tbl = |
| 1041 | < 769 /* 100.8 MHz */ >, |
| 1042 | < 1611 /* 211.2 MHz */ >, /*Low SVS*/ |
| 1043 | < 2124 /* 278.4 MHz */ >, |
| 1044 | < 2929 /* 384 MHz */ >, |
| 1045 | < 3221 /* 422.4 MHz */ >, /* SVS */ |
| 1046 | < 4248 /* 556.8 MHz */ >, |
| 1047 | < 5126 /* 672 MHz */ >, |
| 1048 | < 5859 /* 768 MHz */ >, /* SVS+ */ |
| 1049 | < 6152 /* 806.4 MHz */ >, |
| 1050 | < 6445 /* 844.8 MHz */ >, /* NOM */ |
| 1051 | < 7104 /* 931.2 MHz */ >; /* TURBO */ |
| 1052 | }; |
| 1053 | |
| 1054 | qcom,cpu-bwmon { |
| 1055 | compatible = "qcom,bimc-bwmon2"; |
| 1056 | reg = <0x408000 0x300>, <0x401000 0x200>; |
| 1057 | reg-names = "base", "global_base"; |
| 1058 | interrupts = <0 183 4>; |
| 1059 | qcom,mport = <0>; |
| 1060 | qcom,target-dev = <&cpubw>; |
| 1061 | }; |
| 1062 | |
| 1063 | devfreq-cpufreq { |
| 1064 | cpubw-cpufreq { |
| 1065 | target-dev = <&cpubw>; |
| 1066 | cpu-to-dev-map = |
| 1067 | < 652800 1611>, |
| 1068 | < 1036800 3221>, |
| 1069 | < 1401600 5859>, |
| 1070 | < 1689600 6445>, |
| 1071 | < 1804800 7104>, |
| 1072 | < 1958400 7104>, |
| 1073 | < 2208000 7104>; |
| 1074 | }; |
| 1075 | |
| 1076 | mincpubw-cpufreq { |
| 1077 | target-dev = <&mincpubw>; |
| 1078 | cpu-to-dev-map = |
| 1079 | < 652800 1611 >, |
| 1080 | < 1401600 3221 >, |
| 1081 | < 2208000 5859 >; |
| 1082 | }; |
| 1083 | }; |
| 1084 | |
Jonathan Avila | c7a6fd5 | 2017-10-12 15:24:05 -0700 | [diff] [blame] | 1085 | cpubw_compute: qcom,cpubw-compute { |
| 1086 | compatible = "qcom,arm-cpu-mon"; |
| 1087 | qcom,cpulist = < &CPU0 &CPU1 &CPU2 &CPU3 |
| 1088 | &CPU4 &CPU5 &CPU6 &CPU7 >; |
| 1089 | qcom,target-dev = <&cpubw>; |
| 1090 | qcom,core-dev-table = |
| 1091 | < 652800 1611>, |
| 1092 | < 1036800 3221>, |
| 1093 | < 1401600 5859>, |
| 1094 | < 1689600 6445>, |
| 1095 | < 1804800 7104>, |
| 1096 | < 1958400 7104>, |
| 1097 | < 2208000 7104>; |
| 1098 | }; |
| 1099 | |
| 1100 | mincpubw_compute: qcom,mincpubw-compute { |
| 1101 | compatible = "qcom,arm-cpu-mon"; |
| 1102 | qcom,cpulist = < &CPU0 &CPU1 &CPU2 &CPU3 |
| 1103 | &CPU4 &CPU5 &CPU6 &CPU7 >; |
| 1104 | qcom,target-dev = <&mincpubw>; |
| 1105 | qcom,core-dev-table = |
| 1106 | < 652800 1611 >, |
| 1107 | < 1401600 3221 >, |
| 1108 | < 2208000 5859 >; |
| 1109 | }; |
| 1110 | |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 1111 | qcom,ipc-spinlock@1905000 { |
| 1112 | compatible = "qcom,ipc-spinlock-sfpb"; |
| 1113 | reg = <0x1905000 0x8000>; |
| 1114 | qcom,num-locks = <8>; |
| 1115 | }; |
| 1116 | |
| 1117 | qcom,smem@86300000 { |
| 1118 | compatible = "qcom,smem"; |
| 1119 | reg = <0x86300000 0x100000>, |
| 1120 | <0x0b011008 0x4>, |
| 1121 | <0x60000 0x8000>, |
| 1122 | <0x193d000 0x8>; |
| 1123 | reg-names = "smem", "irq-reg-base", |
| 1124 | "aux-mem1", "smem_targ_info_reg"; |
| 1125 | qcom,mpu-enabled; |
| 1126 | |
| 1127 | qcom,smd-modem { |
| 1128 | compatible = "qcom,smd"; |
| 1129 | qcom,smd-edge = <0>; |
| 1130 | qcom,smd-irq-offset = <0x0>; |
| 1131 | qcom,smd-irq-bitmask = <0x1000>; |
| 1132 | interrupts = <0 25 1>; |
| 1133 | label = "modem"; |
| 1134 | qcom,not-loadable; |
| 1135 | }; |
| 1136 | |
| 1137 | qcom,smsm-modem { |
| 1138 | compatible = "qcom,smsm"; |
| 1139 | qcom,smsm-edge = <0>; |
| 1140 | qcom,smsm-irq-offset = <0x0>; |
| 1141 | qcom,smsm-irq-bitmask = <0x2000>; |
| 1142 | interrupts = <0 26 1>; |
| 1143 | }; |
| 1144 | |
| 1145 | qcom,smd-wcnss { |
| 1146 | compatible = "qcom,smd"; |
| 1147 | qcom,smd-edge = <6>; |
| 1148 | qcom,smd-irq-offset = <0x0>; |
| 1149 | qcom,smd-irq-bitmask = <0x20000>; |
| 1150 | interrupts = <0 142 1>; |
| 1151 | label = "wcnss"; |
| 1152 | }; |
| 1153 | |
| 1154 | qcom,smsm-wcnss { |
| 1155 | compatible = "qcom,smsm"; |
| 1156 | qcom,smsm-edge = <6>; |
| 1157 | qcom,smsm-irq-offset = <0x0>; |
| 1158 | qcom,smsm-irq-bitmask = <0x80000>; |
| 1159 | interrupts = <0 144 1>; |
| 1160 | }; |
| 1161 | |
| 1162 | qcom,smd-adsp { |
| 1163 | compatible = "qcom,smd"; |
| 1164 | qcom,smd-edge = <1>; |
| 1165 | qcom,smd-irq-offset = <0x0>; |
| 1166 | qcom,smd-irq-bitmask = <0x100>; |
| 1167 | interrupts = <0 289 1>; |
| 1168 | label = "adsp"; |
| 1169 | }; |
| 1170 | |
| 1171 | qcom,smsm-adsp { |
| 1172 | compatible = "qcom,smsm"; |
| 1173 | qcom,smsm-edge = <1>; |
| 1174 | qcom,smsm-irq-offset = <0x0>; |
| 1175 | qcom,smsm-irq-bitmask = <0x200>; |
| 1176 | interrupts = <0 290 1>; |
| 1177 | }; |
| 1178 | |
| 1179 | qcom,smd-rpm { |
| 1180 | compatible = "qcom,smd"; |
| 1181 | qcom,smd-edge = <15>; |
| 1182 | qcom,smd-irq-offset = <0x0>; |
| 1183 | qcom,smd-irq-bitmask = <0x1>; |
| 1184 | interrupts = <0 168 1>; |
| 1185 | label = "rpm"; |
| 1186 | qcom,irq-no-suspend; |
| 1187 | qcom,not-loadable; |
| 1188 | }; |
| 1189 | }; |
| 1190 | |
Arun Kumar Neelakantam | 36151aa | 2017-11-02 21:34:33 +0530 | [diff] [blame] | 1191 | qcom,smdtty { |
| 1192 | compatible = "qcom,smdtty"; |
| 1193 | |
| 1194 | smdtty_apps_fm: qcom,smdtty-apps-fm { |
| 1195 | qcom,smdtty-remote = "wcnss"; |
| 1196 | qcom,smdtty-port-name = "APPS_FM"; |
| 1197 | }; |
| 1198 | |
| 1199 | smdtty_apps_riva_bt_acl: smdtty-apps-riva-bt-acl { |
| 1200 | qcom,smdtty-remote = "wcnss"; |
| 1201 | qcom,smdtty-port-name = "APPS_RIVA_BT_ACL"; |
| 1202 | }; |
| 1203 | |
| 1204 | smdtty_apps_riva_bt_cmd: qcom,smdtty-apps-riva-bt-cmd { |
| 1205 | qcom,smdtty-remote = "wcnss"; |
| 1206 | qcom,smdtty-port-name = "APPS_RIVA_BT_CMD"; |
| 1207 | }; |
| 1208 | |
| 1209 | smdtty_mbalbridge: qcom,smdtty-mbalbridge { |
| 1210 | qcom,smdtty-remote = "modem"; |
| 1211 | qcom,smdtty-port-name = "MBALBRIDGE"; |
| 1212 | }; |
| 1213 | |
| 1214 | smdtty_apps_riva_ant_cmd: smdtty-apps-riva-ant-cmd { |
| 1215 | qcom,smdtty-remote = "wcnss"; |
| 1216 | qcom,smdtty-port-name = "APPS_RIVA_ANT_CMD"; |
| 1217 | }; |
| 1218 | |
| 1219 | smdtty_apps_riva_ant_data: smdtty-apps-riva-ant-data { |
| 1220 | qcom,smdtty-remote = "wcnss"; |
| 1221 | qcom,smdtty-port-name = "APPS_RIVA_ANT_DATA"; |
| 1222 | }; |
| 1223 | |
| 1224 | smdtty_data1: qcom,smdtty-data1 { |
| 1225 | qcom,smdtty-remote = "modem"; |
| 1226 | qcom,smdtty-port-name = "DATA1"; |
| 1227 | }; |
| 1228 | |
| 1229 | smdtty_data4: qcom,smdtty-data4 { |
| 1230 | qcom,smdtty-remote = "modem"; |
| 1231 | qcom,smdtty-port-name = "DATA4"; |
| 1232 | }; |
| 1233 | |
| 1234 | smdtty_data11: qcom,smdtty-data11 { |
| 1235 | qcom,smdtty-remote = "modem"; |
| 1236 | qcom,smdtty-port-name = "DATA11"; |
| 1237 | }; |
| 1238 | |
| 1239 | smdtty_data21: qcom,smdtty-data21 { |
| 1240 | qcom,smdtty-remote = "modem"; |
| 1241 | qcom,smdtty-port-name = "DATA21"; |
| 1242 | }; |
| 1243 | |
| 1244 | smdtty_loopback: smdtty-loopback { |
| 1245 | qcom,smdtty-remote = "modem"; |
| 1246 | qcom,smdtty-port-name = "LOOPBACK"; |
| 1247 | qcom,smdtty-dev-name = "LOOPBACK_TTY"; |
| 1248 | }; |
| 1249 | }; |
| 1250 | |
Arun Kumar Neelakantam | ea07e3d | 2017-11-02 21:27:50 +0530 | [diff] [blame] | 1251 | qcom,smdpkt { |
| 1252 | compatible = "qcom,smdpkt"; |
| 1253 | |
| 1254 | qcom,smdpkt-data5-cntl { |
| 1255 | qcom,smdpkt-remote = "modem"; |
| 1256 | qcom,smdpkt-port-name = "DATA5_CNTL"; |
| 1257 | qcom,smdpkt-dev-name = "smdcntl0"; |
| 1258 | }; |
| 1259 | |
| 1260 | qcom,smdpkt-data22 { |
| 1261 | qcom,smdpkt-remote = "modem"; |
| 1262 | qcom,smdpkt-port-name = "DATA22"; |
| 1263 | qcom,smdpkt-dev-name = "smd22"; |
| 1264 | }; |
| 1265 | |
| 1266 | qcom,smdpkt-data40-cntl { |
| 1267 | qcom,smdpkt-remote = "modem"; |
| 1268 | qcom,smdpkt-port-name = "DATA40_CNTL"; |
| 1269 | qcom,smdpkt-dev-name = "smdcntl8"; |
| 1270 | }; |
| 1271 | |
Arun Kumar Neelakantam | 977aa51 | 2018-03-08 17:42:47 +0530 | [diff] [blame] | 1272 | qcom,smdpkt-data2 { |
| 1273 | qcom,smdpkt-remote = "modem"; |
| 1274 | qcom,smdpkt-port-name = "DATA2"; |
| 1275 | qcom,smdpkt-dev-name = "at_mdm0"; |
| 1276 | }; |
| 1277 | |
Arun Kumar Neelakantam | ea07e3d | 2017-11-02 21:27:50 +0530 | [diff] [blame] | 1278 | qcom,smdpkt-apr-apps2 { |
| 1279 | qcom,smdpkt-remote = "adsp"; |
| 1280 | qcom,smdpkt-port-name = "apr_apps2"; |
| 1281 | qcom,smdpkt-dev-name = "apr_apps2"; |
| 1282 | }; |
| 1283 | |
| 1284 | qcom,smdpkt-loopback { |
| 1285 | qcom,smdpkt-remote = "modem"; |
| 1286 | qcom,smdpkt-port-name = "LOOPBACK"; |
| 1287 | qcom,smdpkt-dev-name = "smd_pkt_loopback"; |
| 1288 | }; |
| 1289 | }; |
| 1290 | |
himta ram | d2cef3e | 2018-04-02 12:26:28 +0530 | [diff] [blame] | 1291 | qcom,iris-fm { |
| 1292 | compatible = "qcom,iris_fm"; |
| 1293 | }; |
| 1294 | |
Raju P.L.S.S.S.N | 786994d | 2017-11-08 17:03:56 +0530 | [diff] [blame] | 1295 | rpm_bus: qcom,rpm-smd { |
| 1296 | compatible = "qcom,rpm-smd"; |
| 1297 | rpm-channel-name = "rpm_requests"; |
| 1298 | rpm-channel-type = <15>; /* SMD_APPS_RPM */ |
| 1299 | }; |
| 1300 | |
Maria Yu | f16c160 | 2017-12-22 13:05:17 +0800 | [diff] [blame] | 1301 | wdog: qcom,wdt@b017000 { |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 1302 | compatible = "qcom,msm-watchdog"; |
| 1303 | reg = <0xb017000 0x1000>; |
| 1304 | reg-names = "wdt-base"; |
| 1305 | interrupts = <0 3 0>, <0 4 0>; |
| 1306 | qcom,bark-time = <11000>; |
Maria Yu | 40db175 | 2018-06-21 15:44:36 +0800 | [diff] [blame] | 1307 | qcom,pet-time = <9360>; |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 1308 | qcom,ipi-ping; |
| 1309 | qcom,wakeup-enable; |
Jinlong Mao | c226865 | 2018-03-15 11:14:58 +0530 | [diff] [blame] | 1310 | qcom,scandump-size = <0x40000>; |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 1311 | }; |
| 1312 | |
Teng Fei Fan | 0477006 | 2018-02-28 09:30:42 +0800 | [diff] [blame] | 1313 | qcom,chd_silver { |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 1314 | compatible = "qcom,core-hang-detect"; |
Teng Fei Fan | 0477006 | 2018-02-28 09:30:42 +0800 | [diff] [blame] | 1315 | label = "silver"; |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 1316 | qcom,threshold-arr = <0xb1880b0 0xb1980b0 0xb1a80b0 |
Teng Fei Fan | 0477006 | 2018-02-28 09:30:42 +0800 | [diff] [blame] | 1317 | 0xb1b80b0>; |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 1318 | qcom,config-arr = <0xb1880b8 0xb1980b8 0xb1a80b8 |
Teng Fei Fan | 0477006 | 2018-02-28 09:30:42 +0800 | [diff] [blame] | 1319 | 0xb1b80b8>; |
| 1320 | }; |
| 1321 | |
| 1322 | qcom,chd_gold { |
| 1323 | compatible = "qcom,core-hang-detect"; |
| 1324 | label = "gold"; |
| 1325 | qcom,threshold-arr = <0xb0880b0 0xb0980b0 0xb0a80b0 |
| 1326 | 0xb0b80b0>; |
| 1327 | qcom,config-arr = <0xb0880b8 0xb0980b8 0xb0a80b8 |
| 1328 | 0xb0b80b8>; |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 1329 | }; |
| 1330 | |
| 1331 | qcom,msm-rtb { |
| 1332 | compatible = "qcom,msm-rtb"; |
| 1333 | qcom,rtb-size = <0x100000>; |
| 1334 | }; |
| 1335 | |
| 1336 | qcom,msm-imem@8600000 { |
| 1337 | compatible = "qcom,msm-imem"; |
| 1338 | reg = <0x08600000 0x1000>; |
| 1339 | ranges = <0x0 0x08600000 0x1000>; |
| 1340 | #address-cells = <1>; |
| 1341 | #size-cells = <1>; |
| 1342 | |
| 1343 | mem_dump_table@10 { |
| 1344 | compatible = "qcom,msm-imem-mem_dump_table"; |
| 1345 | reg = <0x10 8>; |
| 1346 | }; |
| 1347 | |
Maria Yu | 06cf96e | 2017-09-21 17:35:13 +0800 | [diff] [blame] | 1348 | dload_type@18 { |
| 1349 | compatible = "qcom,msm-imem-dload-type"; |
| 1350 | reg = <0x18 4>; |
| 1351 | }; |
| 1352 | |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 1353 | restart_reason@65c { |
| 1354 | compatible = "qcom,msm-imem-restart_reason"; |
| 1355 | reg = <0x65c 4>; |
| 1356 | }; |
| 1357 | |
| 1358 | boot_stats@6b0 { |
| 1359 | compatible = "qcom,msm-imem-boot_stats"; |
| 1360 | reg = <0x6b0 32>; |
| 1361 | }; |
| 1362 | |
Maria Yu | 575d67f | 2017-12-05 16:31:19 +0800 | [diff] [blame] | 1363 | kaslr_offset@6d0 { |
| 1364 | compatible = "qcom,msm-imem-kaslr_offset"; |
| 1365 | reg = <0x6d0 12>; |
| 1366 | }; |
| 1367 | |
| 1368 | pil@94c { |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 1369 | compatible = "qcom,msm-imem-pil"; |
| 1370 | reg = <0x94c 200>; |
| 1371 | |
| 1372 | }; |
Sriharsha Allenki | a5bcba7 | 2018-02-13 15:22:34 +0530 | [diff] [blame] | 1373 | |
| 1374 | diag_dload@c8 { |
| 1375 | compatible = "qcom,msm-imem-diag-dload"; |
| 1376 | reg = <0xc8 200>; |
| 1377 | }; |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 1378 | }; |
| 1379 | |
| 1380 | qcom,memshare { |
| 1381 | compatible = "qcom,memshare"; |
| 1382 | |
| 1383 | qcom,client_1 { |
| 1384 | compatible = "qcom,memshare-peripheral"; |
| 1385 | qcom,peripheral-size = <0x200000>; |
| 1386 | qcom,client-id = <0>; |
| 1387 | qcom,allocate-boot-time; |
| 1388 | label = "modem"; |
| 1389 | }; |
| 1390 | |
| 1391 | qcom,client_2 { |
| 1392 | compatible = "qcom,memshare-peripheral"; |
| 1393 | qcom,peripheral-size = <0x300000>; |
| 1394 | qcom,client-id = <2>; |
| 1395 | label = "modem"; |
| 1396 | }; |
| 1397 | |
Manoj Prabhu B | 4dd89f8 | 2018-02-06 12:42:52 +0530 | [diff] [blame] | 1398 | qcom,client_3 { |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 1399 | compatible = "qcom,memshare-peripheral"; |
Manoj Prabhu B | 4dd89f8 | 2018-02-06 12:42:52 +0530 | [diff] [blame] | 1400 | qcom,peripheral-size = <0x500000>; |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 1401 | qcom,client-id = <1>; |
Manoj Prabhu B | 4dd89f8 | 2018-02-06 12:42:52 +0530 | [diff] [blame] | 1402 | qcom,allocate-boot-time; |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 1403 | label = "modem"; |
| 1404 | }; |
| 1405 | }; |
Mao Jinlong | f77a1ca | 2018-03-15 14:59:57 +0800 | [diff] [blame] | 1406 | |
| 1407 | jtag_mm0: jtagmm@619c000 { |
| 1408 | compatible = "qcom,jtagv8-mm"; |
| 1409 | reg = <0x619c000 0x1000>; |
| 1410 | reg-names = "etm-base"; |
| 1411 | |
| 1412 | qcom,coresight-jtagmm-cpu = <&CPU0>; |
| 1413 | |
| 1414 | clocks = <&clock_gcc clk_qdss_clk>, |
| 1415 | <&clock_gcc clk_qdss_a_clk>; |
| 1416 | clock-names = "core_clk"; |
| 1417 | }; |
| 1418 | |
| 1419 | jtag_mm1: jtagmm@619d000 { |
| 1420 | compatible = "qcom,jtagv8-mm"; |
| 1421 | reg = <0x619d000 0x1000>; |
| 1422 | reg-names = "etm-base"; |
| 1423 | |
| 1424 | qcom,coresight-jtagmm-cpu = <&CPU1>; |
| 1425 | |
| 1426 | clocks = <&clock_gcc clk_qdss_clk>, |
| 1427 | <&clock_gcc clk_qdss_a_clk>; |
| 1428 | clock-names = "core_clk"; |
| 1429 | }; |
| 1430 | |
| 1431 | jtag_mm2: jtagmm@619e000 { |
| 1432 | compatible = "qcom,jtagv8-mm"; |
| 1433 | reg = <0x619e000 0x1000>; |
| 1434 | reg-names = "etm-base"; |
| 1435 | |
| 1436 | qcom,coresight-jtagmm-cpu = <&CPU2>; |
| 1437 | |
| 1438 | clocks = <&clock_gcc clk_qdss_clk>, |
| 1439 | <&clock_gcc clk_qdss_a_clk>; |
| 1440 | clock-names = "core_clk"; |
| 1441 | }; |
| 1442 | |
| 1443 | jtag_mm3: jtagmm@619f000 { |
| 1444 | compatible = "qcom,jtagv8-mm"; |
| 1445 | reg = <0x619f000 0x1000>; |
| 1446 | reg-names = "etm-base"; |
| 1447 | |
| 1448 | qcom,coresight-jtagmm-cpu = <&CPU3>; |
| 1449 | |
| 1450 | clocks = <&clock_gcc clk_qdss_clk>, |
| 1451 | <&clock_gcc clk_qdss_a_clk>; |
| 1452 | clock-names = "core_clk"; |
| 1453 | }; |
| 1454 | |
| 1455 | jtag_mm4: jtagmm@61bc000 { |
| 1456 | compatible = "qcom,jtagv8-mm"; |
| 1457 | reg = <0x61bc000 0x1000>; |
| 1458 | reg-names = "etm-base"; |
| 1459 | |
| 1460 | qcom,coresight-jtagmm-cpu = <&CPU4>; |
| 1461 | |
| 1462 | clocks = <&clock_gcc clk_qdss_clk>, |
| 1463 | <&clock_gcc clk_qdss_a_clk>; |
| 1464 | clock-names = "core_clk"; |
| 1465 | }; |
| 1466 | |
| 1467 | jtag_mm5: jtagmm@61bd000 { |
| 1468 | compatible = "qcom,jtagv8-mm"; |
| 1469 | reg = <0x61bd000 0x1000>; |
| 1470 | reg-names = "etm-base"; |
| 1471 | |
| 1472 | qcom,coresight-jtagmm-cpu = <&CPU5>; |
| 1473 | |
| 1474 | clocks = <&clock_gcc clk_qdss_clk>, |
| 1475 | <&clock_gcc clk_qdss_a_clk>; |
| 1476 | clock-names = "core_clk"; |
| 1477 | }; |
| 1478 | |
| 1479 | jtag_mm6: jtagmm@61be000 { |
| 1480 | compatible = "qcom,jtagv8-mm"; |
| 1481 | reg = <0x61be000 0x1000>; |
| 1482 | reg-names = "etm-base"; |
| 1483 | |
| 1484 | qcom,coresight-jtagmm-cpu = <&CPU6>; |
| 1485 | |
| 1486 | clocks = <&clock_gcc clk_qdss_clk>, |
| 1487 | <&clock_gcc clk_qdss_a_clk>; |
| 1488 | clock-names = "core_clk"; |
| 1489 | }; |
| 1490 | |
| 1491 | jtag_mm7: jtagmm@61bf000 { |
| 1492 | compatible = "qcom,jtagv8-mm"; |
| 1493 | reg = <0x61bf000 0x1000>; |
| 1494 | reg-names = "etm-base"; |
| 1495 | |
| 1496 | qcom,coresight-jtagmm-cpu = <&CPU7>; |
| 1497 | |
| 1498 | clocks = <&clock_gcc clk_qdss_clk>, |
| 1499 | <&clock_gcc clk_qdss_a_clk>; |
| 1500 | clock-names = "core_clk"; |
| 1501 | }; |
| 1502 | |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 1503 | sdcc1_ice: sdcc1ice@7803000 { |
| 1504 | compatible = "qcom,ice"; |
| 1505 | reg = <0x7803000 0x8000>; |
| 1506 | interrupt-names = "sdcc_ice_nonsec_level_irq", |
| 1507 | "sdcc_ice_sec_level_irq"; |
| 1508 | interrupts = <0 312 0>, <0 313 0>; |
| 1509 | qcom,enable-ice-clk; |
Sayali Lokhande | 3129993 | 2017-12-06 09:41:17 +0530 | [diff] [blame] | 1510 | clock-names = "ice_core_clk_src", "ice_core_clk", |
| 1511 | "bus_clk", "iface_clk"; |
| 1512 | clocks = <&clock_gcc clk_sdcc1_ice_core_clk_src>, |
| 1513 | <&clock_gcc clk_gcc_sdcc1_ice_core_clk>, |
| 1514 | <&clock_gcc clk_gcc_sdcc1_apps_clk>, |
| 1515 | <&clock_gcc clk_gcc_sdcc1_ahb_clk>; |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 1516 | qcom,op-freq-hz = <270000000>, <0>, <0>, <0>; |
| 1517 | qcom,msm-bus,name = "sdcc_ice_noc"; |
| 1518 | qcom,msm-bus,num-cases = <2>; |
| 1519 | qcom,msm-bus,num-paths = <1>; |
| 1520 | qcom,msm-bus,vectors-KBps = |
| 1521 | <78 512 0 0>, /* No vote */ |
| 1522 | <78 512 1000 0>; /* Max. bandwidth */ |
| 1523 | qcom,bus-vector-names = "MIN", "MAX"; |
| 1524 | qcom,instance-type = "sdcc"; |
| 1525 | }; |
| 1526 | |
| 1527 | sdhc_1: sdhci@7824900 { |
| 1528 | compatible = "qcom,sdhci-msm"; |
Pradeep P V K | 0bf9359 | 2018-06-25 19:34:48 +0530 | [diff] [blame] | 1529 | reg = <0x7824900 0x500>, <0x7824000 0x800>, <0x7824e00 0x200>, |
| 1530 | <0x0119d000 0x4>; |
| 1531 | reg-names = "hc_mem", "core_mem", "cmdq_mem", |
| 1532 | "tlmm_mem"; |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 1533 | |
| 1534 | interrupts = <0 123 0>, <0 138 0>; |
| 1535 | interrupt-names = "hc_irq", "pwr_irq"; |
| 1536 | |
| 1537 | sdhc-msm-crypto = <&sdcc1_ice>; |
| 1538 | qcom,bus-width = <8>; |
| 1539 | |
| 1540 | qcom,devfreq,freq-table = <50000000 200000000>; |
| 1541 | |
| 1542 | qcom,pm-qos-irq-type = "affine_irq"; |
| 1543 | qcom,pm-qos-irq-latency = <2 213>; |
| 1544 | |
| 1545 | qcom,pm-qos-cpu-groups = <0x0f 0xf0>; |
| 1546 | qcom,pm-qos-cmdq-latency-us = <2 213>, <2 213>; |
| 1547 | |
| 1548 | qcom,pm-qos-legacy-latency-us = <2 213>, <2 213>; |
| 1549 | |
| 1550 | qcom,msm-bus,name = "sdhc1"; |
| 1551 | qcom,msm-bus,num-cases = <9>; |
| 1552 | qcom,msm-bus,num-paths = <1>; |
| 1553 | qcom,msm-bus,vectors-KBps = <78 512 0 0>, /* No vote */ |
| 1554 | <78 512 1046 3200>, /* 400 KB/s*/ |
| 1555 | <78 512 52286 160000>, /* 20 MB/s */ |
| 1556 | <78 512 65360 200000>, /* 25 MB/s */ |
| 1557 | <78 512 130718 400000>, /* 50 MB/s */ |
| 1558 | <78 512 130718 400000>, /* 100 MB/s */ |
| 1559 | <78 512 261438 800000>, /* 200 MB/s */ |
| 1560 | <78 512 261438 800000>, /* 400 MB/s */ |
| 1561 | <78 512 1338562 4096000>; /* Max. bandwidth */ |
| 1562 | qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 |
| 1563 | 100000000 200000000 400000000 4294967295>; |
| 1564 | |
Sayali Lokhande | 3129993 | 2017-12-06 09:41:17 +0530 | [diff] [blame] | 1565 | clocks = <&clock_gcc clk_gcc_sdcc1_ahb_clk>, |
| 1566 | <&clock_gcc clk_gcc_sdcc1_apps_clk>, |
| 1567 | <&clock_gcc clk_gcc_sdcc1_ice_core_clk>; |
| 1568 | clock-names = "iface_clk", "core_clk", "ice_core_clk"; |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 1569 | qcom,ice-clk-rates = <270000000 160000000>; |
| 1570 | qcom,large-address-bus; |
| 1571 | |
| 1572 | status = "disabled"; |
| 1573 | }; |
| 1574 | |
| 1575 | sdhc_2: sdhci@7864900 { |
| 1576 | compatible = "qcom,sdhci-msm"; |
| 1577 | reg = <0x7864900 0x500>, <0x7864000 0x800>; |
| 1578 | reg-names = "hc_mem", "core_mem"; |
| 1579 | |
| 1580 | interrupts = <0 125 0>, <0 221 0>; |
| 1581 | interrupt-names = "hc_irq", "pwr_irq"; |
| 1582 | |
| 1583 | qcom,bus-width = <4>; |
| 1584 | |
| 1585 | qcom,pm-qos-irq-type = "affine_irq"; |
| 1586 | qcom,pm-qos-irq-latency = <2 213>; |
| 1587 | |
| 1588 | qcom,pm-qos-cpu-groups = <0x0f 0xf0>; |
| 1589 | qcom,pm-qos-legacy-latency-us = <2 213>, <2 213>; |
| 1590 | |
| 1591 | qcom,devfreq,freq-table = <50000000 200000000>; |
| 1592 | |
| 1593 | qcom,msm-bus,name = "sdhc2"; |
| 1594 | qcom,msm-bus,num-cases = <8>; |
| 1595 | qcom,msm-bus,num-paths = <1>; |
| 1596 | qcom,msm-bus,vectors-KBps = <81 512 0 0>, /* No vote */ |
| 1597 | <81 512 1046 3200>, /* 400 KB/s*/ |
| 1598 | <81 512 52286 160000>, /* 20 MB/s */ |
| 1599 | <81 512 65360 200000>, /* 25 MB/s */ |
| 1600 | <81 512 130718 400000>, /* 50 MB/s */ |
| 1601 | <81 512 261438 800000>, /* 100 MB/s */ |
| 1602 | <81 512 261438 800000>, /* 200 MB/s */ |
| 1603 | <81 512 1338562 4096000>; /* Max. bandwidth */ |
| 1604 | qcom,bus-bw-vectors-bps = <0 400000 20000000 25000000 50000000 |
| 1605 | 100000000 200000000 4294967295>; |
| 1606 | |
Sayali Lokhande | 3129993 | 2017-12-06 09:41:17 +0530 | [diff] [blame] | 1607 | clocks = <&clock_gcc clk_gcc_sdcc2_ahb_clk>, |
| 1608 | <&clock_gcc clk_gcc_sdcc2_apps_clk>; |
| 1609 | clock-names = "iface_clk", "core_clk"; |
| 1610 | |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 1611 | qcom,large-address-bus; |
| 1612 | status = "disabled"; |
| 1613 | }; |
| 1614 | |
Tharun Kumar Merugu | c1413e7 | 2018-01-22 19:23:58 +0530 | [diff] [blame] | 1615 | qcom,msm-adsprpc-mem { |
| 1616 | compatible = "qcom,msm-adsprpc-mem-region"; |
| 1617 | memory-region = <&adsp_mem>; |
| 1618 | }; |
| 1619 | |
| 1620 | qcom,msm_fastrpc { |
| 1621 | compatible = "qcom,msm-fastrpc-legacy-compute"; |
| 1622 | qcom,msm_fastrpc_compute_cb { |
| 1623 | compatible = "qcom,msm-fastrpc-legacy-compute-cb"; |
| 1624 | label = "adsprpc-smd"; |
| 1625 | iommus = <&apps_iommu 0x2408 0x7>; |
| 1626 | sids = <0x8 0x9 0xa 0xb 0xc 0xd 0xe 0xf>; |
| 1627 | }; |
| 1628 | }; |
| 1629 | |
| 1630 | |
Mohammed Javid | f62ec62 | 2017-11-29 20:07:32 +0530 | [diff] [blame] | 1631 | ipa_hw: qcom,ipa@07900000 { |
| 1632 | compatible = "qcom,ipa"; |
| 1633 | reg = <0x07900000 0x4effc>, <0x07904000 0x26934>; |
| 1634 | reg-names = "ipa-base", "bam-base"; |
| 1635 | interrupts = <0 228 0>, |
| 1636 | <0 230 0>; |
| 1637 | interrupt-names = "ipa-irq", "bam-irq"; |
| 1638 | qcom,ipa-hw-ver = <6>; /* IPA core version = IPAv2.6L */ |
| 1639 | qcom,ipa-hw-mode = <0>; /* IPA hw type = Normal */ |
| 1640 | qcom,wan-rx-ring-size = <192>; /* IPA WAN-rx-ring-size*/ |
| 1641 | qcom,lan-rx-ring-size = <192>; /* IPA LAN-rx-ring-size*/ |
| 1642 | clock-names = "core_clk"; |
| 1643 | clocks = <&clock_gcc clk_ipa_clk>; |
| 1644 | qcom,ee = <0>; |
| 1645 | qcom,use-ipa-tethering-bridge; |
| 1646 | qcom,modem-cfg-emb-pipe-flt; |
| 1647 | qcom,msm-bus,name = "ipa"; |
| 1648 | qcom,msm-bus,num-cases = <3>; |
| 1649 | qcom,msm-bus,num-paths = <1>; |
| 1650 | qcom,msm-bus,vectors-KBps = |
| 1651 | <90 512 0 0>, /* No BIMC vote (ab=0 Mbps, ib=0 Mbps ~ 0MHZ) */ |
| 1652 | <90 512 100000 800000>, /* SVS (ab=100, ib=800 ~ 50MHz) */ |
| 1653 | <90 512 100000 1200000>; /* PERF (ab=100, ib=1200 ~ 75MHz) */ |
| 1654 | qcom,bus-vector-names = "MIN", "SVS", "PERF"; |
| 1655 | }; |
| 1656 | |
| 1657 | qcom,rmnet-ipa { |
| 1658 | compatible = "qcom,rmnet-ipa"; |
| 1659 | qcom,rmnet-ipa-ssr; |
| 1660 | qcom,ipa-loaduC; |
| 1661 | qcom,ipa-advertise-sg-support; |
| 1662 | }; |
| 1663 | |
Kiran Gunda | af6a0b6 | 2017-10-23 16:03:10 +0530 | [diff] [blame] | 1664 | spmi_bus: qcom,spmi@200f000 { |
| 1665 | compatible = "qcom,spmi-pmic-arb"; |
| 1666 | reg = <0x200f000 0x1000>, |
| 1667 | <0x2400000 0x800000>, |
| 1668 | <0x2c00000 0x800000>, |
| 1669 | <0x3800000 0x200000>, |
| 1670 | <0x200a000 0x2100>; |
| 1671 | reg-names = "core", "chnls", "obsrvr", "intr", "cnfg"; |
| 1672 | interrupt-names = "periph_irq"; |
| 1673 | interrupts = <GIC_SPI 190 IRQ_TYPE_NONE>; |
| 1674 | qcom,ee = <0>; |
| 1675 | qcom,channel = <0>; |
Anirudh Ghayal | d77f8f6 | 2018-03-04 20:05:25 +0530 | [diff] [blame] | 1676 | #address-cells = <1>; |
| 1677 | #size-cells = <1>; |
Kiran Gunda | af6a0b6 | 2017-10-23 16:03:10 +0530 | [diff] [blame] | 1678 | interrupt-controller; |
Kiran Gunda | 90e356a | 2017-11-22 17:04:46 +0530 | [diff] [blame] | 1679 | #interrupt-cells = <4>; |
Kiran Gunda | af6a0b6 | 2017-10-23 16:03:10 +0530 | [diff] [blame] | 1680 | cell-index = <0>; |
| 1681 | }; |
Chandana Kishori Chiluveru | 34872ee | 2017-11-30 17:35:26 +0530 | [diff] [blame] | 1682 | |
| 1683 | usb3: ssusb@7000000{ |
| 1684 | compatible = "qcom,dwc-usb3-msm"; |
| 1685 | reg = <0x07000000 0xfc000>, |
| 1686 | <0x0007e000 0x400>; |
| 1687 | reg-names = "core_base", |
| 1688 | "ahb2phy_base"; |
| 1689 | #address-cells = <1>; |
| 1690 | #size-cells = <1>; |
| 1691 | ranges; |
| 1692 | |
| 1693 | interrupts = <0 136 0>, <0 220 0>, <0 134 0>; |
| 1694 | interrupt-names = "hs_phy_irq", "ss_phy_irq", "pwr_event_irq"; |
| 1695 | |
| 1696 | USB3_GDSC-supply = <&gdsc_usb30>; |
| 1697 | qcom,usb-dbm = <&dbm_1p5>; |
| 1698 | qcom,msm-bus,name = "usb3"; |
| 1699 | qcom,msm-bus,num-cases = <3>; |
| 1700 | qcom,msm-bus,num-paths = <1>; |
| 1701 | qcom,msm-bus,vectors-KBps = |
| 1702 | <61 512 0 0>, |
| 1703 | <61 512 240000 800000>, |
| 1704 | <61 512 240000 800000>; |
| 1705 | |
| 1706 | /* CPU-CLUSTER-WFI-LVL latency +1 */ |
| 1707 | qcom,pm-qos-latency = <2>; |
| 1708 | |
| 1709 | qcom,dwc-usb3-msm-tx-fifo-size = <21288>; |
| 1710 | |
| 1711 | clocks = <&clock_gcc clk_gcc_usb30_master_clk>, |
| 1712 | <&clock_gcc clk_gcc_pcnoc_usb3_axi_clk>, |
| 1713 | <&clock_gcc clk_gcc_usb30_mock_utmi_clk>, |
| 1714 | <&clock_gcc clk_gcc_usb30_sleep_clk>, |
| 1715 | <&clock_gcc clk_xo_dwc3_clk>, |
| 1716 | <&clock_gcc clk_gcc_usb_phy_cfg_ahb_clk>; |
| 1717 | |
| 1718 | clock-names = "core_clk", "iface_clk", "utmi_clk", |
| 1719 | "sleep_clk", "xo", "cfg_ahb_clk"; |
| 1720 | |
| 1721 | qcom,core-clk-rate = <133333333>; /* NOM */ |
| 1722 | qcom,core-clk-rate-hs = <60000000>; /* LOW SVS */ |
| 1723 | |
| 1724 | resets = <&clock_gcc GCC_USB_30_BCR>; |
| 1725 | reset-names = "core_reset"; |
| 1726 | |
| 1727 | dwc3@7000000 { |
| 1728 | compatible = "snps,dwc3"; |
| 1729 | reg = <0x07000000 0xc8d0>; |
| 1730 | interrupt-parent = <&intc>; |
| 1731 | interrupts = <0 140 0>; |
| 1732 | usb-phy = <&qusb_phy>, <&ssphy>; |
| 1733 | tx-fifo-resize; |
| 1734 | snps,usb3-u1u2-disable; |
Chandana Kishori Chiluveru | 34872ee | 2017-11-30 17:35:26 +0530 | [diff] [blame] | 1735 | snps,is-utmi-l1-suspend; |
Sriharsha Allenki | a727b82 | 2018-03-13 18:17:35 +0530 | [diff] [blame] | 1736 | snps,usb2-l1-disable; |
Chandana Kishori Chiluveru | 34872ee | 2017-11-30 17:35:26 +0530 | [diff] [blame] | 1737 | snps,hird-threshold = /bits/ 8 <0x0>; |
| 1738 | }; |
| 1739 | |
| 1740 | qcom,usbbam@7104000 { |
| 1741 | compatible = "qcom,usb-bam-msm"; |
| 1742 | reg = <0x07104000 0x1a934>; |
| 1743 | interrupt-parent = <&intc>; |
| 1744 | interrupts = <0 135 0>; |
| 1745 | |
| 1746 | qcom,bam-type = <0>; |
| 1747 | qcom,usb-bam-fifo-baseaddr = <0x08605000>; |
| 1748 | qcom,usb-bam-num-pipes = <8>; |
| 1749 | qcom,ignore-core-reset-ack; |
| 1750 | qcom,disable-clk-gating; |
| 1751 | qcom,usb-bam-override-threshold = <0x4001>; |
| 1752 | qcom,usb-bam-max-mbps-highspeed = <400>; |
| 1753 | qcom,usb-bam-max-mbps-superspeed = <3600>; |
| 1754 | qcom,reset-bam-on-connect; |
| 1755 | |
| 1756 | qcom,pipe0 { |
| 1757 | label = "ssusb-ipa-out-0"; |
| 1758 | qcom,usb-bam-mem-type = <1>; |
| 1759 | qcom,dir = <0>; |
| 1760 | qcom,pipe-num = <0>; |
| 1761 | qcom,peer-bam = <1>; |
| 1762 | qcom,src-bam-pipe-index = <1>; |
| 1763 | qcom,data-fifo-size = <0x8000>; |
| 1764 | qcom,descriptor-fifo-size = <0x2000>; |
| 1765 | }; |
| 1766 | |
| 1767 | qcom,pipe1 { |
| 1768 | label = "ssusb-ipa-in-0"; |
| 1769 | qcom,usb-bam-mem-type = <1>; |
| 1770 | qcom,dir = <1>; |
| 1771 | qcom,pipe-num = <0>; |
| 1772 | qcom,peer-bam = <1>; |
| 1773 | qcom,dst-bam-pipe-index = <0>; |
| 1774 | qcom,data-fifo-size = <0x8000>; |
| 1775 | qcom,descriptor-fifo-size = <0x2000>; |
| 1776 | }; |
| 1777 | |
| 1778 | qcom,pipe2 { |
| 1779 | label = "ssusb-qdss-in-0"; |
| 1780 | qcom,usb-bam-mem-type = <2>; |
| 1781 | qcom,dir = <1>; |
| 1782 | qcom,pipe-num = <0>; |
| 1783 | qcom,peer-bam = <0>; |
| 1784 | qcom,peer-bam-physical-address = <0x06044000>; |
| 1785 | qcom,src-bam-pipe-index = <0>; |
| 1786 | qcom,dst-bam-pipe-index = <2>; |
| 1787 | qcom,data-fifo-offset = <0x0>; |
| 1788 | qcom,data-fifo-size = <0xe00>; |
| 1789 | qcom,descriptor-fifo-offset = <0xe00>; |
| 1790 | qcom,descriptor-fifo-size = <0x200>; |
| 1791 | }; |
| 1792 | |
| 1793 | qcom,pipe3 { |
| 1794 | label = "ssusb-dpl-ipa-in-1"; |
| 1795 | qcom,usb-bam-mem-type = <1>; |
| 1796 | qcom,dir = <1>; |
| 1797 | qcom,pipe-num = <1>; |
| 1798 | qcom,peer-bam = <1>; |
| 1799 | qcom,dst-bam-pipe-index = <2>; |
| 1800 | qcom,data-fifo-size = <0x8000>; |
| 1801 | qcom,descriptor-fifo-size = <0x2000>; |
| 1802 | }; |
| 1803 | }; |
| 1804 | }; |
| 1805 | |
| 1806 | qusb_phy: qusb@79000 { |
| 1807 | compatible = "qcom,qusb2phy"; |
| 1808 | reg = <0x079000 0x180>, |
| 1809 | <0x01841030 0x4>, |
| 1810 | <0x0193f020 0x4>; |
| 1811 | reg-names = "qusb_phy_base", |
| 1812 | "ref_clk_addr", |
| 1813 | "tcsr_clamp_dig_n_1p8"; |
| 1814 | |
| 1815 | USB3_GDSC-supply = <&gdsc_usb30>; |
| 1816 | vdd-supply = <&pm8953_l3>; |
| 1817 | vdda18-supply = <&pm8953_l7>; |
| 1818 | vdda33-supply = <&pm8953_l13>; |
| 1819 | qcom,vdd-voltage-level = <0 925000 925000>; |
| 1820 | |
| 1821 | qcom,qusb-phy-init-seq = <0xf8 0x80 |
| 1822 | 0xb3 0x84 |
| 1823 | 0x83 0x88 |
| 1824 | 0xc0 0x8c |
| 1825 | 0x14 0x9c |
| 1826 | 0x30 0x08 |
| 1827 | 0x79 0x0c |
| 1828 | 0x21 0x10 |
| 1829 | 0x00 0x90 |
| 1830 | 0x9f 0x1c |
| 1831 | 0x00 0x18>; |
| 1832 | phy_type= "utmi"; |
| 1833 | qcom,phy-clk-scheme = "cml"; |
| 1834 | qcom,major-rev = <1>; |
| 1835 | |
| 1836 | clocks = <&clock_gcc clk_bb_clk1>, |
| 1837 | <&clock_gcc clk_gcc_qusb_ref_clk>, |
| 1838 | <&clock_gcc clk_gcc_usb_phy_cfg_ahb_clk>, |
| 1839 | <&clock_gcc clk_gcc_pcnoc_usb3_axi_clk>, |
| 1840 | <&clock_gcc clk_gcc_usb30_master_clk>; |
| 1841 | |
| 1842 | clock-names = "ref_clk_src", "ref_clk", "cfg_ahb_clk", |
| 1843 | "iface_clk", "core_clk"; |
| 1844 | |
| 1845 | resets = <&clock_gcc GCC_QUSB2_PHY_BCR>; |
| 1846 | reset-names = "phy_reset"; |
| 1847 | }; |
| 1848 | |
| 1849 | ssphy: ssphy@78000 { |
| 1850 | compatible = "qcom,usb-ssphy-qmp"; |
| 1851 | reg = <0x78000 0x9f8>, |
| 1852 | <0x0193f244 0x4>; |
| 1853 | reg-names = "qmp_phy_base", |
| 1854 | "vls_clamp_reg"; |
| 1855 | |
| 1856 | qcom,qmp-phy-init-seq = /*<reg_offset, value, delay>*/ |
| 1857 | <0xac 0x14 0x00 |
| 1858 | 0x34 0x08 0x00 |
| 1859 | 0x174 0x30 0x00 |
| 1860 | 0x3c 0x06 0x00 |
| 1861 | 0xb4 0x00 0x00 |
| 1862 | 0xb8 0x08 0x00 |
| 1863 | 0x194 0x06 0x3e8 |
| 1864 | 0x19c 0x01 0x00 |
| 1865 | 0x178 0x00 0x00 |
| 1866 | 0xd0 0x82 0x00 |
| 1867 | 0xdc 0x55 0x00 |
| 1868 | 0xe0 0x55 0x00 |
| 1869 | 0xe4 0x03 0x00 |
| 1870 | 0x78 0x0b 0x00 |
| 1871 | 0x84 0x16 0x00 |
| 1872 | 0x90 0x28 0x00 |
| 1873 | 0x108 0x80 0x00 |
| 1874 | 0x10c 0x00 0x00 |
| 1875 | 0x184 0x0a 0x00 |
| 1876 | 0x4c 0x15 0x00 |
| 1877 | 0x50 0x34 0x00 |
| 1878 | 0x54 0x00 0x00 |
| 1879 | 0xc8 0x00 0x00 |
| 1880 | 0x18c 0x00 0x00 |
| 1881 | 0xcc 0x00 0x00 |
| 1882 | 0x128 0x00 0x00 |
| 1883 | 0x0c 0x0a 0x00 |
| 1884 | 0x10 0x01 0x00 |
| 1885 | 0x1c 0x31 0x00 |
| 1886 | 0x20 0x01 0x00 |
| 1887 | 0x14 0x00 0x00 |
| 1888 | 0x18 0x00 0x00 |
| 1889 | 0x24 0xde 0x00 |
| 1890 | 0x28 0x07 0x00 |
| 1891 | 0x48 0x0f 0x00 |
| 1892 | 0x70 0x0f 0x00 |
| 1893 | 0x100 0x80 0x00 |
| 1894 | 0x440 0x0b 0x00 |
| 1895 | 0x4d8 0x02 0x00 |
| 1896 | 0x4dc 0x6c 0x00 |
| 1897 | 0x4e0 0xbb 0x00 |
| 1898 | 0x508 0x77 0x00 |
| 1899 | 0x50c 0x80 0x00 |
| 1900 | 0x514 0x03 0x00 |
| 1901 | 0x51c 0x16 0x00 |
| 1902 | 0x448 0x75 0x00 |
| 1903 | 0x454 0x00 0x00 |
| 1904 | 0x40c 0x0a 0x00 |
| 1905 | 0x41c 0x06 0x00 |
| 1906 | 0x510 0x00 0x00 |
| 1907 | 0x268 0x45 0x00 |
| 1908 | 0x2ac 0x12 0x00 |
| 1909 | 0x294 0x06 0x00 |
| 1910 | 0x254 0x00 0x00 |
| 1911 | 0x8c8 0x83 0x00 |
| 1912 | 0x8c4 0x02 0x00 |
| 1913 | 0x8cc 0x09 0x00 |
| 1914 | 0x8d0 0xa2 0x00 |
| 1915 | 0x8d4 0x85 0x00 |
| 1916 | 0x880 0xd1 0x00 |
| 1917 | 0x884 0x1f 0x00 |
| 1918 | 0x888 0x47 0x00 |
| 1919 | 0x80c 0x9f 0x00 |
| 1920 | 0x824 0x17 0x00 |
| 1921 | 0x828 0x0f 0x00 |
| 1922 | 0x8b8 0x75 0x00 |
| 1923 | 0x8bc 0x13 0x00 |
| 1924 | 0x8b0 0x86 0x00 |
| 1925 | 0x8a0 0x04 0x00 |
| 1926 | 0x88c 0x44 0x00 |
| 1927 | 0x870 0xe7 0x00 |
| 1928 | 0x874 0x03 0x00 |
| 1929 | 0x878 0x40 0x00 |
| 1930 | 0x87c 0x00 0x00 |
| 1931 | 0x9d8 0x88 0x00 |
| 1932 | 0xffffffff 0x00 0x00>; |
| 1933 | qcom,qmp-phy-reg-offset = |
| 1934 | <0x974 /* USB3_PHY_PCS_STATUS */ |
| 1935 | 0x8d8 /* USB3_PHY_AUTONOMOUS_MODE_CTRL */ |
| 1936 | 0x8dc /* USB3_PHY_LFPS_RXTERM_IRQ_CLEAR */ |
| 1937 | 0x804 /* USB3_PHY_POWER_DOWN_CONTROL */ |
| 1938 | 0x800 /* USB3_PHY_SW_RESET */ |
| 1939 | 0x808>; /* USB3_PHY_START */ |
| 1940 | |
| 1941 | vdd-supply = <&pm8953_l3>; |
| 1942 | core-supply = <&pm8953_l7>; |
| 1943 | qcom,vdd-voltage-level = <0 925000 925000>; |
| 1944 | qcom,core-voltage-level = <0 1800000 1800000>; |
| 1945 | qcom,vbus-valid-override; |
| 1946 | |
| 1947 | clocks = <&clock_gcc clk_gcc_usb3_aux_clk>, |
| 1948 | <&clock_gcc clk_gcc_usb3_pipe_clk>, |
| 1949 | <&clock_gcc clk_gcc_usb_phy_cfg_ahb_clk>, |
| 1950 | <&clock_gcc clk_bb_clk1>, |
| 1951 | <&clock_gcc clk_gcc_usb_ss_ref_clk>; |
| 1952 | |
| 1953 | clock-names = "aux_clk", "pipe_clk", "cfg_ahb_clk", |
| 1954 | "ref_clk_src", "ref_clk"; |
| 1955 | |
| 1956 | resets = <&clock_gcc GCC_USB3_PHY_BCR>, |
| 1957 | <&clock_gcc GCC_USB3PHY_PHY_BCR>; |
| 1958 | |
| 1959 | reset-names = "phy_reset", "phy_phy_reset"; |
| 1960 | }; |
| 1961 | |
| 1962 | dbm_1p5: dbm@70f8000 { |
| 1963 | compatible = "qcom,usb-dbm-1p5"; |
| 1964 | reg = <0x070f8000 0x300>; |
| 1965 | qcom,reset-ep-after-lpm-resume; |
| 1966 | }; |
Jitendra Sharma | c5c3197 | 2017-11-10 14:26:13 +0530 | [diff] [blame] | 1967 | |
Jingbiao Lu | e44c5e5 | 2018-01-03 15:26:26 +0800 | [diff] [blame] | 1968 | qcom,mss@4080000 { |
| 1969 | compatible = "qcom,pil-q6v55-mss"; |
| 1970 | reg = <0x04080000 0x100>, |
| 1971 | <0x0194f000 0x010>, |
| 1972 | <0x01950000 0x008>, |
| 1973 | <0x01951000 0x008>, |
| 1974 | <0x04020000 0x040>, |
| 1975 | <0x01871000 0x004>; |
| 1976 | reg-names = "qdsp6_base", "halt_q6", "halt_modem", "halt_nc", |
| 1977 | "rmb_base", "restart_reg"; |
| 1978 | |
| 1979 | interrupts = <GIC_SPI 24 IRQ_TYPE_EDGE_RISING>; |
| 1980 | vdd_mss-supply = <&pm8953_s1>; |
| 1981 | vdd_cx-supply = <&pm8953_s2_level>; |
| 1982 | vdd_cx-voltage = <RPM_SMD_REGULATOR_LEVEL_TURBO>; |
| 1983 | vdd_mx-supply = <&pm8953_s7_level_ao>; |
| 1984 | vdd_mx-uV = <RPM_SMD_REGULATOR_LEVEL_TURBO>; |
| 1985 | vdd_pll-supply = <&pm8953_l7>; |
| 1986 | qcom,vdd_pll = <1800000>; |
| 1987 | vdd_mss-uV = <RPM_SMD_REGULATOR_LEVEL_TURBO>; |
| 1988 | |
| 1989 | clocks = <&clock_gcc clk_xo_pil_mss_clk>, |
| 1990 | <&clock_gcc clk_gcc_mss_cfg_ahb_clk>, |
| 1991 | <&clock_gcc clk_gcc_mss_q6_bimc_axi_clk>, |
| 1992 | <&clock_gcc clk_gcc_boot_rom_ahb_clk>; |
| 1993 | clock-names = "xo", "iface_clk", "bus_clk", "mem_clk"; |
| 1994 | qcom,proxy-clock-names = "xo"; |
| 1995 | qcom,active-clock-names = "iface_clk", "bus_clk", "mem_clk"; |
| 1996 | |
| 1997 | qcom,pas-id = <5>; |
| 1998 | qcom,pil-mss-memsetup; |
| 1999 | qcom,firmware-name = "modem"; |
| 2000 | qcom,pil-self-auth; |
| 2001 | qcom,sysmon-id = <0>; |
| 2002 | qcom,ssctl-instance-id = <0x12>; |
| 2003 | qcom,qdsp6v56-1-10; |
| 2004 | qcom,reset-clk; |
| 2005 | |
Jitendra Sharma | 1b581f7 | 2018-02-23 17:10:12 +0530 | [diff] [blame] | 2006 | /* GPIO inputs from mss */ |
| 2007 | qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_1_in 0 0>; |
| 2008 | qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_1_in 1 0>; |
| 2009 | qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_1_in 2 0>; |
| 2010 | qcom,gpio-stop-ack = <&smp2pgpio_ssr_smp2p_1_in 3 0>; |
| 2011 | qcom,gpio-shutdown-ack = <&smp2pgpio_ssr_smp2p_1_in 7 0>; |
| 2012 | |
| 2013 | /* GPIO output to mss */ |
| 2014 | qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_1_out 0 0>; |
Jingbiao Lu | e44c5e5 | 2018-01-03 15:26:26 +0800 | [diff] [blame] | 2015 | memory-region = <&modem_mem>; |
| 2016 | }; |
| 2017 | |
Jitendra Sharma | c5c3197 | 2017-11-10 14:26:13 +0530 | [diff] [blame] | 2018 | qcom,lpass@c200000 { |
| 2019 | compatible = "qcom,pil-tz-generic"; |
| 2020 | reg = <0xc200000 0x00100>; |
| 2021 | interrupts = <0 293 1>; |
| 2022 | |
| 2023 | vdd_cx-supply = <&pm8953_s2_level>; |
| 2024 | qcom,proxy-reg-names = "vdd_cx"; |
| 2025 | qcom,vdd_cx-uV-uA = <RPM_SMD_REGULATOR_LEVEL_TURBO 100000>; |
Jingbiao Lu | 60bda87 | 2017-12-27 10:54:21 +0800 | [diff] [blame] | 2026 | qcom,mas-crypto = <&mas_crypto>; |
Jitendra Sharma | c5c3197 | 2017-11-10 14:26:13 +0530 | [diff] [blame] | 2027 | |
| 2028 | clocks = <&clock_gcc clk_xo_pil_lpass_clk>, |
| 2029 | <&clock_gcc clk_gcc_crypto_clk>, |
| 2030 | <&clock_gcc clk_gcc_crypto_ahb_clk>, |
| 2031 | <&clock_gcc clk_gcc_crypto_axi_clk>, |
| 2032 | <&clock_gcc clk_crypto_clk_src>; |
| 2033 | clock-names = "xo", "scm_core_clk", "scm_iface_clk", |
| 2034 | "scm_bus_clk", "scm_core_clk_src"; |
| 2035 | qcom,proxy-clock-names = "xo", "scm_core_clk", "scm_iface_clk", |
| 2036 | "scm_bus_clk", "scm_core_clk_src"; |
| 2037 | qcom,scm_core_clk_src-freq = <80000000>; |
| 2038 | |
| 2039 | qcom,pas-id = <1>; |
| 2040 | qcom,complete-ramdump; |
| 2041 | qcom,proxy-timeout-ms = <10000>; |
| 2042 | qcom,smem-id = <423>; |
| 2043 | qcom,sysmon-id = <1>; |
| 2044 | qcom,ssctl-instance-id = <0x14>; |
| 2045 | qcom,firmware-name = "adsp"; |
| 2046 | |
Jitendra Sharma | 1b581f7 | 2018-02-23 17:10:12 +0530 | [diff] [blame] | 2047 | /* GPIO inputs from lpass */ |
| 2048 | qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_2_in 0 0>; |
| 2049 | qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_2_in 2 0>; |
| 2050 | qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_2_in 1 0>; |
| 2051 | qcom,gpio-stop-ack = <&smp2pgpio_ssr_smp2p_2_in 3 0>; |
| 2052 | |
| 2053 | /* GPIO output to lpass */ |
| 2054 | qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_2_out 0 0>; |
| 2055 | |
Jitendra Sharma | c5c3197 | 2017-11-10 14:26:13 +0530 | [diff] [blame] | 2056 | memory-region = <&adsp_fw_mem>; |
| 2057 | }; |
Jitendra Sharma | a50d808 | 2017-11-10 14:33:32 +0530 | [diff] [blame] | 2058 | |
| 2059 | qcom,pronto@a21b000 { |
| 2060 | compatible = "qcom,pil-tz-generic"; |
| 2061 | reg = <0x0a21b000 0x3000>; |
| 2062 | interrupts = <0 149 1>; |
| 2063 | |
| 2064 | vdd_pronto_pll-supply = <&pm8953_l7>; |
| 2065 | proxy-reg-names = "vdd_pronto_pll"; |
| 2066 | vdd_pronto_pll-uV-uA = <1800000 18000>; |
Jingbiao Lu | 60bda87 | 2017-12-27 10:54:21 +0800 | [diff] [blame] | 2067 | qcom,mas-crypto = <&mas_crypto>; |
| 2068 | |
Jitendra Sharma | a50d808 | 2017-11-10 14:33:32 +0530 | [diff] [blame] | 2069 | clocks = <&clock_gcc clk_xo_pil_pronto_clk>, |
| 2070 | <&clock_gcc clk_gcc_crypto_clk>, |
| 2071 | <&clock_gcc clk_gcc_crypto_ahb_clk>, |
| 2072 | <&clock_gcc clk_gcc_crypto_axi_clk>, |
| 2073 | <&clock_gcc clk_crypto_clk_src>; |
| 2074 | |
| 2075 | clock-names = "xo", "scm_core_clk", "scm_iface_clk", |
| 2076 | "scm_bus_clk", "scm_core_clk_src"; |
| 2077 | qcom,proxy-clock-names = "xo", "scm_core_clk", "scm_iface_clk", |
| 2078 | "scm_bus_clk", "scm_core_clk_src"; |
| 2079 | qcom,scm_core_clk_src = <80000000>; |
| 2080 | |
| 2081 | qcom,pas-id = <6>; |
| 2082 | qcom,proxy-timeout-ms = <10000>; |
| 2083 | qcom,smem-id = <422>; |
| 2084 | qcom,sysmon-id = <6>; |
| 2085 | qcom,ssctl-instance-id = <0x13>; |
| 2086 | qcom,firmware-name = "wcnss"; |
| 2087 | |
Jitendra Sharma | 1b581f7 | 2018-02-23 17:10:12 +0530 | [diff] [blame] | 2088 | /* GPIO inputs from wcnss */ |
| 2089 | qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_4_in 0 0>; |
| 2090 | qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_4_in 1 0>; |
| 2091 | qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_4_in 2 0>; |
| 2092 | qcom,gpio-stop-ack = <&smp2pgpio_ssr_smp2p_4_in 3 0>; |
| 2093 | |
| 2094 | /* GPIO output to wcnss */ |
| 2095 | qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_4_out 0 0>; |
Jitendra Sharma | a50d808 | 2017-11-10 14:33:32 +0530 | [diff] [blame] | 2096 | memory-region = <&wcnss_fw_mem>; |
| 2097 | }; |
| 2098 | |
Tingwei Zhang | 63c1b7d | 2017-12-22 16:38:16 +0800 | [diff] [blame] | 2099 | qcom,venus@1de0000 { |
| 2100 | compatible = "qcom,pil-tz-generic"; |
| 2101 | reg = <0x1de0000 0x4000>; |
| 2102 | |
| 2103 | vdd-supply = <&gdsc_venus>; |
| 2104 | qcom,proxy-reg-names = "vdd"; |
Tingwei Zhang | 7f3d05b | 2018-01-18 21:08:07 +0800 | [diff] [blame] | 2105 | qcom,mas-crypto = <&mas_crypto>; |
Tingwei Zhang | 63c1b7d | 2017-12-22 16:38:16 +0800 | [diff] [blame] | 2106 | |
| 2107 | clocks = <&clock_gcc clk_gcc_venus0_vcodec0_clk>, |
| 2108 | <&clock_gcc clk_gcc_venus0_ahb_clk>, |
| 2109 | <&clock_gcc clk_gcc_venus0_axi_clk>, |
| 2110 | <&clock_gcc clk_gcc_crypto_clk>, |
| 2111 | <&clock_gcc clk_gcc_crypto_ahb_clk>, |
| 2112 | <&clock_gcc clk_gcc_crypto_axi_clk>, |
| 2113 | <&clock_gcc clk_crypto_clk_src>; |
| 2114 | |
| 2115 | clock-names = "core_clk", "iface_clk", "bus_clk", |
| 2116 | "scm_core_clk", "scm_iface_clk", |
| 2117 | "scm_bus_clk", "scm_core_clk_src"; |
| 2118 | |
| 2119 | qcom,proxy-clock-names = "core_clk", "iface_clk", |
| 2120 | "bus_clk", "scm_core_clk", |
| 2121 | "scm_iface_clk", "scm_bus_clk", |
| 2122 | "scm_core_clk_src"; |
| 2123 | qcom,scm_core_clk_src-freq = <80000000>; |
| 2124 | |
| 2125 | qcom,msm-bus,name = "pil-venus"; |
| 2126 | qcom,msm-bus,num-cases = <2>; |
| 2127 | qcom,msm-bus,num-paths = <1>; |
| 2128 | qcom,msm-bus,vectors-KBps = |
| 2129 | <63 512 0 0>, |
| 2130 | <63 512 0 304000>; |
| 2131 | qcom,pas-id = <9>; |
| 2132 | qcom,proxy-timeout-ms = <100>; |
| 2133 | qcom,firmware-name = "venus"; |
| 2134 | memory-region = <&venus_mem>; |
| 2135 | }; |
Anurag Chouhan | 0c6dba8 | 2018-01-08 15:20:30 +0530 | [diff] [blame] | 2136 | |
| 2137 | qcom,wcnss-wlan@0a000000 { |
| 2138 | compatible = "qcom,wcnss_wlan"; |
| 2139 | reg = <0x0a000000 0x280000>, |
| 2140 | <0x0b011008 0x04>, |
| 2141 | <0x0a21b000 0x3000>, |
| 2142 | <0x03204000 0x00000100>, |
| 2143 | <0x03200800 0x00000200>, |
| 2144 | <0x0a100400 0x00000200>, |
| 2145 | <0x0a205050 0x00000200>, |
| 2146 | <0x0a219000 0x00000020>, |
| 2147 | <0x0a080488 0x00000008>, |
| 2148 | <0x0a080fb0 0x00000008>, |
| 2149 | <0x0a08040c 0x00000008>, |
| 2150 | <0x0a0120a8 0x00000008>, |
| 2151 | <0x0a012448 0x00000008>, |
| 2152 | <0x0a080c00 0x00000001>; |
| 2153 | |
| 2154 | reg-names = "wcnss_mmio", "wcnss_fiq", |
| 2155 | "pronto_phy_base", "riva_phy_base", |
| 2156 | "riva_ccu_base", "pronto_a2xb_base", |
| 2157 | "pronto_ccpu_base", "pronto_saw2_base", |
| 2158 | "wlan_tx_phy_aborts","wlan_brdg_err_source", |
| 2159 | "wlan_tx_status", "alarms_txctl", |
| 2160 | "alarms_tactl", "pronto_mcu_base"; |
| 2161 | |
| 2162 | interrupts = <0 145 0 0 146 0>; |
| 2163 | interrupt-names = "wcnss_wlantx_irq", "wcnss_wlanrx_irq"; |
| 2164 | |
| 2165 | qcom,pronto-vddmx-supply = <&pm8953_s7_level_ao>; |
| 2166 | qcom,pronto-vddcx-supply = <&pm8953_s2_level>; |
| 2167 | qcom,pronto-vddpx-supply = <&pm8953_l5>; |
| 2168 | qcom,iris-vddxo-supply = <&pm8953_l7>; |
| 2169 | qcom,iris-vddrfa-supply = <&pm8953_l19>; |
| 2170 | qcom,iris-vddpa-supply = <&pm8953_l9>; |
| 2171 | qcom,iris-vdddig-supply = <&pm8953_l5>; |
| 2172 | |
| 2173 | qcom,iris-vddxo-voltage-level = <1800000 0 1800000>; |
| 2174 | qcom,iris-vddrfa-voltage-level = <1300000 0 1300000>; |
| 2175 | qcom,iris-vddpa-voltage-level = <3300000 0 3300000>; |
| 2176 | qcom,iris-vdddig-voltage-level = <1800000 0 1800000>; |
| 2177 | |
| 2178 | qcom,vddmx-voltage-level = <RPM_SMD_REGULATOR_LEVEL_TURBO |
| 2179 | RPM_SMD_REGULATOR_LEVEL_NONE |
| 2180 | RPM_SMD_REGULATOR_LEVEL_TURBO>; |
| 2181 | qcom,vddcx-voltage-level = <RPM_SMD_REGULATOR_LEVEL_NOM |
| 2182 | RPM_SMD_REGULATOR_LEVEL_NONE |
| 2183 | RPM_SMD_REGULATOR_LEVEL_TURBO>; |
| 2184 | qcom,vddpx-voltage-level = <1800000 0 1800000>; |
| 2185 | |
| 2186 | qcom,iris-vddxo-current = <10000>; |
| 2187 | qcom,iris-vddrfa-current = <100000>; |
| 2188 | qcom,iris-vddpa-current = <515000>; |
| 2189 | qcom,iris-vdddig-current = <10000>; |
| 2190 | |
| 2191 | qcom,pronto-vddmx-current = <0>; |
| 2192 | qcom,pronto-vddcx-current = <0>; |
| 2193 | qcom,pronto-vddpx-current = <0>; |
| 2194 | |
| 2195 | pinctrl-names = "wcnss_default", "wcnss_sleep", |
| 2196 | "wcnss_gpio_default"; |
| 2197 | pinctrl-0 = <&wcnss_default>; |
| 2198 | pinctrl-1 = <&wcnss_sleep>; |
| 2199 | pinctrl-2 = <&wcnss_gpio_default>; |
| 2200 | |
| 2201 | gpios = <&tlmm 76 0>, <&tlmm 77 0>, <&tlmm 78 0>, |
| 2202 | <&tlmm 79 0>, <&tlmm 80 0>; |
| 2203 | |
| 2204 | clocks = <&clock_gcc clk_xo_wlan_clk>, |
| 2205 | <&clock_gcc clk_rf_clk2>, |
| 2206 | <&clock_debug clk_gcc_debug_mux>, |
| 2207 | <&clock_gcc clk_wcnss_m_clk>; |
| 2208 | |
| 2209 | clock-names = "xo", "rf_clk", "measure", "wcnss_debug"; |
| 2210 | |
| 2211 | qcom,has-autodetect-xo; |
| 2212 | qcom,is-pronto-v3; |
| 2213 | qcom,has-pronto-hw; |
| 2214 | qcom,has-vsys-adc-channel; |
| 2215 | qcom,has-a2xb-split-reg; |
| 2216 | qcom,wcnss-adc_tm = <&pm8953_adc_tm>; |
| 2217 | }; |
| 2218 | |
Shaikh Shadul | f38749c | 2018-02-09 18:06:28 +0530 | [diff] [blame] | 2219 | ssc_sensors: qcom,msm-ssc-sensors { |
| 2220 | compatible = "qcom,msm-ssc-sensors"; |
| 2221 | status = "ok"; |
| 2222 | }; |
| 2223 | |
Srinivas Ramana | 3cac278 | 2017-09-13 16:31:17 +0530 | [diff] [blame] | 2224 | }; |
Kiran Gunda | 0954f39 | 2017-10-16 16:24:55 +0530 | [diff] [blame] | 2225 | |
| 2226 | #include "pm8953-rpm-regulator.dtsi" |
| 2227 | #include "pm8953.dtsi" |
| 2228 | #include "msm8953-regulator.dtsi" |
Shefali Jain | 44e24ad | 2017-11-23 12:27:33 +0530 | [diff] [blame] | 2229 | #include "msm-gdsc-8916.dtsi" |
Manaf Meethalavalappu Pallikunhi | 4eb2b27 | 2018-01-02 17:29:37 +0530 | [diff] [blame] | 2230 | #include "msm8953-thermal.dtsi" |
Pratap Nirujogi | 6e75991 | 2018-01-17 17:51:17 +0530 | [diff] [blame] | 2231 | #include "msm8953-camera.dtsi" |
Soumya Managoli | 91ec950 | 2018-01-18 16:53:47 +0530 | [diff] [blame] | 2232 | #include "msm8953-audio.dtsi" |
Shefali Jain | 44e24ad | 2017-11-23 12:27:33 +0530 | [diff] [blame] | 2233 | |
| 2234 | &gdsc_venus { |
| 2235 | clock-names = "bus_clk", "core_clk"; |
| 2236 | clocks = <&clock_gcc clk_gcc_venus0_axi_clk>, |
| 2237 | <&clock_gcc clk_gcc_venus0_vcodec0_clk>; |
| 2238 | status = "okay"; |
| 2239 | }; |
| 2240 | |
| 2241 | &gdsc_venus_core0 { |
| 2242 | qcom,support-hw-trigger; |
| 2243 | clock-names ="core0_clk"; |
| 2244 | clocks = <&clock_gcc clk_gcc_venus0_core0_vcodec0_clk>; |
| 2245 | status = "okay"; |
| 2246 | }; |
| 2247 | |
| 2248 | &gdsc_mdss { |
| 2249 | clock-names = "core_clk", "bus_clk"; |
| 2250 | clocks = <&clock_gcc clk_gcc_mdss_mdp_clk>, |
| 2251 | <&clock_gcc clk_gcc_mdss_axi_clk>; |
| 2252 | proxy-supply = <&gdsc_mdss>; |
| 2253 | qcom,proxy-consumer-enable; |
| 2254 | status = "okay"; |
| 2255 | }; |
| 2256 | |
| 2257 | &gdsc_oxili_gx { |
| 2258 | clock-names = "core_root_clk"; |
| 2259 | clocks =<&clock_gcc_gfx clk_gfx3d_clk_src>; |
| 2260 | qcom,force-enable-root-clk; |
| 2261 | parent-supply = <&gfx_vreg_corner>; |
| 2262 | status = "okay"; |
| 2263 | }; |
| 2264 | |
| 2265 | &gdsc_jpeg { |
| 2266 | clock-names = "core_clk", "bus_clk"; |
| 2267 | clocks = <&clock_gcc clk_gcc_camss_jpeg0_clk>, |
| 2268 | <&clock_gcc clk_gcc_camss_jpeg_axi_clk>; |
| 2269 | status = "okay"; |
| 2270 | }; |
| 2271 | |
| 2272 | &gdsc_vfe { |
| 2273 | clock-names = "core_clk", "bus_clk", "micro_clk", |
| 2274 | "csi_clk"; |
| 2275 | clocks = <&clock_gcc clk_gcc_camss_vfe0_clk>, |
| 2276 | <&clock_gcc clk_gcc_camss_vfe_axi_clk>, |
| 2277 | <&clock_gcc clk_gcc_camss_micro_ahb_clk>, |
| 2278 | <&clock_gcc clk_gcc_camss_csi_vfe0_clk>; |
| 2279 | status = "okay"; |
| 2280 | }; |
| 2281 | |
| 2282 | &gdsc_vfe1 { |
| 2283 | clock-names = "core_clk", "bus_clk", "micro_clk", |
| 2284 | "csi_clk"; |
| 2285 | clocks = <&clock_gcc clk_gcc_camss_vfe1_clk>, |
| 2286 | <&clock_gcc clk_gcc_camss_vfe1_axi_clk>, |
| 2287 | <&clock_gcc clk_gcc_camss_micro_ahb_clk>, |
| 2288 | <&clock_gcc clk_gcc_camss_csi_vfe1_clk>; |
| 2289 | status = "okay"; |
| 2290 | }; |
| 2291 | |
| 2292 | &gdsc_cpp { |
| 2293 | clock-names = "core_clk", "bus_clk"; |
| 2294 | clocks = <&clock_gcc clk_gcc_camss_cpp_clk>, |
| 2295 | <&clock_gcc clk_gcc_camss_cpp_axi_clk>; |
| 2296 | status = "okay"; |
| 2297 | }; |
| 2298 | |
| 2299 | &gdsc_oxili_cx { |
| 2300 | clock-names = "core_clk"; |
| 2301 | clocks = <&clock_gcc_gfx clk_gcc_oxili_gfx3d_clk>; |
| 2302 | status = "okay"; |
| 2303 | }; |
| 2304 | |
| 2305 | &gdsc_usb30 { |
| 2306 | status = "okay"; |
| 2307 | }; |