Jay Chokshi | 7080ce9 | 2013-05-10 17:57:45 -0700 | [diff] [blame] | 1 | /* Copyright (c) 2013, The Linux Foundation. All rights reserved. |
| 2 | * |
| 3 | * This program is free software; you can redistribute it and/or modify |
| 4 | * it under the terms of the GNU General Public License version 2 and |
| 5 | * only version 2 as published by the Free Software Foundation. |
| 6 | * |
| 7 | * This program is distributed in the hope that it will be useful, |
| 8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 10 | * GNU General Public License for more details. |
| 11 | */ |
| 12 | |
| 13 | /include/ "skeleton.dtsi" |
| 14 | |
| 15 | / { |
| 16 | model = "Qualcomm MSM SAMARIUM"; |
| 17 | compatible = "qcom,msmsamarium"; |
| 18 | interrupt-parent = <&intc>; |
| 19 | soc: soc { }; |
| 20 | }; |
| 21 | |
Jay Chokshi | 832f53a | 2013-05-13 12:49:41 -0700 | [diff] [blame] | 22 | /include/ "msmsamarium-ion.dtsi" |
Jeff Hugo | 864f08c | 2013-06-13 15:23:34 -0600 | [diff] [blame] | 23 | /include/ "msmsamarium-smp2p.dtsi" |
Jay Chokshi | 832f53a | 2013-05-13 12:49:41 -0700 | [diff] [blame] | 24 | |
Jay Chokshi | 7080ce9 | 2013-05-10 17:57:45 -0700 | [diff] [blame] | 25 | &soc { |
| 26 | #address-cells = <1>; |
| 27 | #size-cells = <1>; |
| 28 | ranges; |
| 29 | |
| 30 | intc: interrupt-controller@f9000000 { |
| 31 | compatible = "qcom,msm-qgic2"; |
| 32 | interrupt-controller; |
| 33 | #interrupt-cells = <3>; |
| 34 | reg = <0xf9000000 0x1000>, |
| 35 | <0xf9002000 0x1000>; |
| 36 | }; |
| 37 | |
| 38 | msmgpio: gpio@fd510000 { |
| 39 | compatible = "qcom,msm-gpio"; |
| 40 | gpio-controller; |
| 41 | #gpio-cells = <2>; |
| 42 | interrupt-controller; |
| 43 | #interrupt-cells = <2>; |
| 44 | reg = <0xfd510000 0x4000>; |
Osvaldo Banuelos | 249c9eb | 2013-06-21 15:27:39 -0700 | [diff] [blame] | 45 | ngpio = <146>; |
Jay Chokshi | 7080ce9 | 2013-05-10 17:57:45 -0700 | [diff] [blame] | 46 | interrupts = <0 208 0>; |
| 47 | qcom,direct-connect-irqs = <8>; |
| 48 | }; |
| 49 | |
| 50 | timer { |
| 51 | compatible = "arm,armv7-timer"; |
| 52 | interrupts = <1 2 0 1 3 0>; |
| 53 | clock-frequency = <19200000>; |
| 54 | }; |
| 55 | |
| 56 | uartblsp0dm2: serial@f991f000 { |
| 57 | compatible = "qcom,msm-lsuart-v14"; |
| 58 | reg = <0xf991f000 0x1000>; |
| 59 | interrupts = <0 109 0>; |
| 60 | status = "disabled"; |
| 61 | }; |
| 62 | |
| 63 | qcom,msm-imem@fe805000 { |
| 64 | compatible = "qcom,msm-imem"; |
| 65 | reg = <0xfe805000 0x1000>; /* Address and size of IMEM */ |
| 66 | }; |
Venkat Gopalakrishnan | 3425097 | 2013-05-20 17:55:08 -0700 | [diff] [blame] | 67 | |
Pratibhasagar V | c20526a | 2013-10-09 18:59:45 +0530 | [diff] [blame] | 68 | rmtfs_sharedmem { |
| 69 | compatible = "qcom,sharedmem-uio"; |
| 70 | reg = <0x0fd80000 0x00180000>; |
| 71 | reg-names = "rmtfs"; |
| 72 | }; |
| 73 | |
| 74 | dsp_sharedmem { |
| 75 | compatible = "qcom,sharedmem-uio"; |
| 76 | reg = <0x0fd60000 0x00020000>; |
| 77 | reg-names = "rfsa_dsp"; |
| 78 | }; |
| 79 | |
| 80 | mdm_sharedmem { |
| 81 | compatible = "qcom,sharedmem-uio"; |
| 82 | reg = <0x0fd60000 0x00020000>; |
| 83 | reg-names = "rfsa_mdm"; |
| 84 | }; |
| 85 | |
Venkat Gopalakrishnan | 3425097 | 2013-05-20 17:55:08 -0700 | [diff] [blame] | 86 | sdcc1: qcom,sdcc@f9824000 { |
| 87 | cell-index = <1>; /* SDC1 eMMC slot */ |
| 88 | compatible = "qcom,msm-sdcc"; |
| 89 | reg = <0xf9824000 0x800>; |
| 90 | reg-names = "core_mem"; |
| 91 | interrupts = <0 123 0>; |
| 92 | interrupt-names = "core_irq"; |
| 93 | |
| 94 | qcom,bus-width = <8>; |
| 95 | status = "disabled"; |
| 96 | }; |
| 97 | |
| 98 | sdcc2: qcom,sdcc@f98a4000 { |
| 99 | cell-index = <2>; /* SDC2 SD card slot */ |
| 100 | compatible = "qcom,msm-sdcc"; |
| 101 | reg = <0xf98a4000 0x800>; |
| 102 | reg-names = "core_mem"; |
| 103 | interrupts = <0 125 0>; |
| 104 | interrupt-names = "core_irq"; |
| 105 | |
| 106 | qcom,bus-width = <4>; |
| 107 | status = "disabled"; |
| 108 | }; |
Jay Chokshi | 19431a1 | 2013-06-05 12:02:23 -0700 | [diff] [blame] | 109 | |
Yan He | ee72fcb | 2013-07-18 14:28:13 -0700 | [diff] [blame] | 110 | qcom,sps@f9980000 { |
| 111 | compatible = "qcom,msm_sps"; |
| 112 | reg = <0xf9984000 0x15000>, |
| 113 | <0xf9999000 0xb000>; |
| 114 | reg-names = "bam_mem", "core_mem"; |
| 115 | interrupts = <0 94 0>; |
| 116 | }; |
| 117 | |
Jay Chokshi | 19431a1 | 2013-06-05 12:02:23 -0700 | [diff] [blame] | 118 | qcom,wdt@f9017000 { |
| 119 | compatible = "qcom,msm-watchdog"; |
| 120 | reg = <0xf9017000 0x1000>; |
| 121 | interrupts = <0 3 0>, <0 4 0>; |
| 122 | qcom,bark-time = <11000>; |
| 123 | qcom,pet-time = <10000>; |
| 124 | qcom,ipi-ping; |
| 125 | }; |
Neeti Desai | 6ad65eb | 2013-06-13 17:50:33 -0700 | [diff] [blame] | 126 | |
| 127 | qcom,msm-mem-hole { |
| 128 | compatible = "qcom,msm-mem-hole"; |
| 129 | qcom,memblock-remove = <0x07f00000 0x8000000>; /* Address and size of hole */ |
| 130 | }; |
Jeff Hugo | a0a9752 | 2013-06-13 15:00:38 -0600 | [diff] [blame] | 131 | |
| 132 | qcom,ipc-spinlock@fd484000 { |
| 133 | compatible = "qcom,ipc-spinlock-sfpb"; |
| 134 | reg = <0xfd484000 0x400>; |
| 135 | qcom,num-locks = <8>; |
| 136 | }; |
Jeff Hugo | faba818 | 2013-06-13 15:06:11 -0600 | [diff] [blame] | 137 | |
| 138 | qcom,smem@fa00000 { |
| 139 | compatible = "qcom,smem"; |
| 140 | reg = <0xfa00000 0x200000>, |
| 141 | <0xf9011000 0x1000>, |
| 142 | <0xfc428000 0x4000>; |
| 143 | reg-names = "smem", "irq-reg-base", "aux-mem1"; |
| 144 | |
| 145 | qcom,smd-modem { |
| 146 | compatible = "qcom,smd"; |
| 147 | qcom,smd-edge = <0>; |
| 148 | qcom,smd-irq-offset = <0x8>; |
| 149 | qcom,smd-irq-bitmask = <0x1000>; |
| 150 | qcom,pil-string = "modem"; |
| 151 | interrupts = <0 25 1>; |
| 152 | }; |
| 153 | |
| 154 | qcom,smsm-modem { |
| 155 | compatible = "qcom,smsm"; |
| 156 | qcom,smsm-edge = <0>; |
| 157 | qcom,smsm-irq-offset = <0x8>; |
| 158 | qcom,smsm-irq-bitmask = <0x2000>; |
| 159 | interrupts = <0 26 1>; |
| 160 | }; |
| 161 | |
| 162 | qcom,smd-adsp { |
| 163 | compatible = "qcom,smd"; |
| 164 | qcom,smd-edge = <1>; |
| 165 | qcom,smd-irq-offset = <0x8>; |
| 166 | qcom,smd-irq-bitmask = <0x100>; |
| 167 | qcom,pil-string = "adsp"; |
| 168 | interrupts = <0 156 1>; |
| 169 | }; |
| 170 | |
| 171 | qcom,smsm-adsp { |
| 172 | compatible = "qcom,smsm"; |
| 173 | qcom,smsm-edge = <1>; |
| 174 | qcom,smsm-irq-offset = <0x8>; |
| 175 | qcom,smsm-irq-bitmask = <0x200>; |
| 176 | interrupts = <0 157 1>; |
| 177 | }; |
| 178 | |
| 179 | qcom,smd-wcnss { |
| 180 | compatible = "qcom,smd"; |
| 181 | qcom,smd-edge = <6>; |
| 182 | qcom,smd-irq-offset = <0x8>; |
| 183 | qcom,smd-irq-bitmask = <0x20000>; |
| 184 | qcom,pil-string = "wcnss"; |
| 185 | interrupts = <0 142 1>; |
| 186 | }; |
| 187 | |
| 188 | qcom,smsm-wcnss { |
| 189 | compatible = "qcom,smsm"; |
| 190 | qcom,smsm-edge = <6>; |
| 191 | qcom,smsm-irq-offset = <0x8>; |
| 192 | qcom,smsm-irq-bitmask = <0x80000>; |
| 193 | interrupts = <0 144 1>; |
| 194 | }; |
| 195 | |
| 196 | qcom,smd-rpm { |
| 197 | compatible = "qcom,smd"; |
| 198 | qcom,smd-edge = <15>; |
| 199 | qcom,smd-irq-offset = <0x8>; |
| 200 | qcom,smd-irq-bitmask = <0x1>; |
| 201 | interrupts = <0 168 1>; |
| 202 | qcom,irq-no-suspend; |
| 203 | }; |
| 204 | }; |
Jeff Hugo | 02ded59 | 2013-06-13 15:31:34 -0600 | [diff] [blame] | 205 | |
Manu Gautam | ff29ea9 | 2013-06-21 17:08:24 +0530 | [diff] [blame] | 206 | android_usb@fe8050c8 { |
| 207 | compatible = "qcom,android-usb"; |
| 208 | reg = <0xfe8050c8 0xc8>; |
| 209 | qcom,android-usb-swfi-latency = <1>; |
| 210 | }; |
| 211 | |
| 212 | usb_otg: usb@f9a55000 { |
| 213 | compatible = "qcom,hsusb-otg"; |
| 214 | status = "disabled"; |
| 215 | |
| 216 | reg = <0xf9a55000 0x400>; |
| 217 | interrupts = <0 134 0>, <0 140 0>; |
| 218 | interrupt-names = "core_irq", "async_irq"; |
| 219 | HSUSB_VDDCX-supply = ""; |
| 220 | HSUSB_1p8-supply = ""; |
| 221 | HSUSB_3p3-supply = ""; |
| 222 | qcom,vdd-voltage-level = <1 5 7>; |
| 223 | |
| 224 | qcom,hsusb-otg-phy-type = <2>; |
| 225 | qcom,hsusb-otg-phy-init-seq = |
| 226 | <0x44 0x80 0x68 0x81 0x24 0x82 0x13 0x83 0xffffffff>; |
| 227 | qcom,hsusb-otg-mode = <1>; |
| 228 | qcom,hsusb-otg-otg-control = <1>; |
| 229 | qcom,hsusb-otg-disable-reset; |
| 230 | |
| 231 | qcom,msm-bus,name = "usb2"; |
| 232 | qcom,msm-bus,num-cases = <3>; |
| 233 | qcom,msm-bus,num-paths = <1>; |
| 234 | qcom,msm-bus,vectors-KBps = |
| 235 | <87 512 0 0>, |
| 236 | <87 512 60000 960000>, |
| 237 | <87 512 6000 6000>; |
| 238 | }; |
| 239 | |
Jeff Hugo | 02ded59 | 2013-06-13 15:31:34 -0600 | [diff] [blame] | 240 | qcom,bam_dmux@fc834000 { |
| 241 | compatible = "qcom,bam_dmux"; |
| 242 | reg = <0xfc834000 0x7000>; |
| 243 | interrupts = <0 29 1>; |
| 244 | qcom,rx-ring-size = <64>; |
| 245 | }; |
David Collins | 9431ace | 2013-07-15 16:09:19 -0700 | [diff] [blame] | 246 | |
| 247 | spmi_bus: qcom,spmi@fc4c0000 { |
| 248 | compatible = "qcom,spmi-pmic-arb"; |
| 249 | reg = <0xfc4cf000 0x1000>, |
| 250 | <0Xfc4cb000 0x1000>, |
| 251 | <0Xfc4ca000 0x1000>; |
| 252 | reg-names = "core", "intr", "cnfg"; |
| 253 | interrupts = <0 190 0>; |
| 254 | qcom,pmic-arb-channel = <0>; |
| 255 | qcom,pmic-arb-ee = <0>; |
| 256 | #interrupt-cells = <3>; |
| 257 | interrupt-controller; |
| 258 | #address-cells = <1>; |
| 259 | #size-cells = <0>; |
| 260 | cell-index = <0>; |
| 261 | qcom,not-wakeup; /* Needed until MPM is fully configured. */ |
| 262 | }; |
Siddartha Mohanadoss | 35c654a | 2013-07-22 16:21:19 -0700 | [diff] [blame] | 263 | |
| 264 | tsens: tsens@fc4a8000 { |
| 265 | compatible = "qcom,msm-tsens"; |
| 266 | reg = <0xfc4a8000 0x2000>, |
| 267 | <0xfc4bc000 0x1000>; |
| 268 | reg-names = "tsens_physical", "tsens_eeprom_physical"; |
| 269 | interrupts = <0 184 0>; |
| 270 | qcom,sensors = <11>; |
| 271 | qcom,slope = <3200 3200 3200 3200 3200 3200 3200 3200 3200 |
| 272 | 3200 3200>; |
| 273 | qcom,calib-mode = "fuse_map1"; |
| 274 | }; |
Jay Chokshi | 7080ce9 | 2013-05-10 17:57:45 -0700 | [diff] [blame] | 275 | }; |
David Collins | e54885a | 2013-07-15 16:40:12 -0700 | [diff] [blame] | 276 | |
| 277 | /include/ "msm-pma8084.dtsi" |
David Collins | 319ff74 | 2013-07-16 13:35:17 -0700 | [diff] [blame] | 278 | /include/ "msmsamarium-regulator.dtsi" |