| .. | .. |
|---|
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0 |
|---|
| 2 | 2 | /dts-v1/; |
|---|
| 3 | 3 | |
|---|
| 4 | | -/include/ "skeleton.dtsi" |
|---|
| 5 | | - |
|---|
| 6 | 4 | #include <dt-bindings/interrupt-controller/irq.h> |
|---|
| 7 | 5 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
|---|
| 8 | 6 | #include <dt-bindings/clock/qcom,gcc-msm8660.h> |
|---|
| 9 | 7 | #include <dt-bindings/soc/qcom,gsbi.h> |
|---|
| 10 | 8 | |
|---|
| 11 | 9 | / { |
|---|
| 10 | + #address-cells = <1>; |
|---|
| 11 | + #size-cells = <1>; |
|---|
| 12 | 12 | model = "Qualcomm MSM8660"; |
|---|
| 13 | 13 | compatible = "qcom,msm8660"; |
|---|
| 14 | 14 | interrupt-parent = <&intc>; |
|---|
| .. | .. |
|---|
| 37 | 37 | compatible = "cache"; |
|---|
| 38 | 38 | cache-level = <2>; |
|---|
| 39 | 39 | }; |
|---|
| 40 | + }; |
|---|
| 41 | + |
|---|
| 42 | + memory { |
|---|
| 43 | + device_type = "memory"; |
|---|
| 44 | + reg = <0x0 0x0>; |
|---|
| 40 | 45 | }; |
|---|
| 41 | 46 | |
|---|
| 42 | 47 | cpu-pmu { |
|---|
| .. | .. |
|---|
| 110 | 115 | reg = <0x800000 0x4000>; |
|---|
| 111 | 116 | |
|---|
| 112 | 117 | gpio-controller; |
|---|
| 118 | + gpio-ranges = <&tlmm 0 0 173>; |
|---|
| 113 | 119 | #gpio-cells = <2>; |
|---|
| 114 | 120 | interrupts = <0 16 0x4>; |
|---|
| 115 | 121 | interrupt-controller; |
|---|
| .. | .. |
|---|
| 133 | 139 | #address-cells = <1>; |
|---|
| 134 | 140 | #size-cells = <1>; |
|---|
| 135 | 141 | ranges; |
|---|
| 142 | + status = "disabled"; |
|---|
| 136 | 143 | |
|---|
| 137 | 144 | syscon-tcsr = <&tcsr>; |
|---|
| 138 | 145 | |
|---|
| .. | .. |
|---|
| 140 | 147 | compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm"; |
|---|
| 141 | 148 | reg = <0x16540000 0x1000>, |
|---|
| 142 | 149 | <0x16500000 0x1000>; |
|---|
| 143 | | - interrupts = <GIC_SPI 156 IRQ_TYPE_NONE>; |
|---|
| 150 | + interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 144 | 151 | clocks = <&gcc GSBI6_UART_CLK>, <&gcc GSBI6_H_CLK>; |
|---|
| 145 | 152 | clock-names = "core", "iface"; |
|---|
| 146 | 153 | status = "disabled"; |
|---|
| .. | .. |
|---|
| 149 | 156 | gsbi6_i2c: i2c@16580000 { |
|---|
| 150 | 157 | compatible = "qcom,i2c-qup-v1.1.1"; |
|---|
| 151 | 158 | reg = <0x16580000 0x1000>; |
|---|
| 152 | | - interrupts = <GIC_SPI 157 IRQ_TYPE_NONE>; |
|---|
| 159 | + interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 153 | 160 | clocks = <&gcc GSBI6_QUP_CLK>, <&gcc GSBI6_H_CLK>; |
|---|
| 154 | 161 | clock-names = "core", "iface"; |
|---|
| 155 | 162 | #address-cells = <1>; |
|---|
| .. | .. |
|---|
| 167 | 174 | #address-cells = <1>; |
|---|
| 168 | 175 | #size-cells = <1>; |
|---|
| 169 | 176 | ranges; |
|---|
| 177 | + status = "disabled"; |
|---|
| 170 | 178 | |
|---|
| 171 | 179 | syscon-tcsr = <&tcsr>; |
|---|
| 172 | 180 | |
|---|
| .. | .. |
|---|
| 174 | 182 | compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm"; |
|---|
| 175 | 183 | reg = <0x16640000 0x1000>, |
|---|
| 176 | 184 | <0x16600000 0x1000>; |
|---|
| 177 | | - interrupts = <GIC_SPI 158 IRQ_TYPE_NONE>; |
|---|
| 185 | + interrupts = <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 178 | 186 | clocks = <&gcc GSBI7_UART_CLK>, <&gcc GSBI7_H_CLK>; |
|---|
| 179 | 187 | clock-names = "core", "iface"; |
|---|
| 180 | 188 | status = "disabled"; |
|---|
| .. | .. |
|---|
| 183 | 191 | gsbi7_i2c: i2c@16680000 { |
|---|
| 184 | 192 | compatible = "qcom,i2c-qup-v1.1.1"; |
|---|
| 185 | 193 | reg = <0x16680000 0x1000>; |
|---|
| 186 | | - interrupts = <GIC_SPI 159 IRQ_TYPE_NONE>; |
|---|
| 194 | + interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 187 | 195 | clocks = <&gcc GSBI7_QUP_CLK>, <&gcc GSBI7_H_CLK>; |
|---|
| 188 | 196 | clock-names = "core", "iface"; |
|---|
| 189 | 197 | #address-cells = <1>; |
|---|
| .. | .. |
|---|
| 207 | 215 | gsbi8_i2c: i2c@19880000 { |
|---|
| 208 | 216 | compatible = "qcom,i2c-qup-v1.1.1"; |
|---|
| 209 | 217 | reg = <0x19880000 0x1000>; |
|---|
| 210 | | - interrupts = <GIC_SPI 161 IRQ_TYPE_NONE>; |
|---|
| 218 | + interrupts = <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 211 | 219 | clocks = <&gcc GSBI8_QUP_CLK>, <&gcc GSBI8_H_CLK>; |
|---|
| 212 | 220 | clock-names = "core", "iface"; |
|---|
| 213 | 221 | #address-cells = <1>; |
|---|
| .. | .. |
|---|
| 232 | 240 | compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm"; |
|---|
| 233 | 241 | reg = <0x19c40000 0x1000>, |
|---|
| 234 | 242 | <0x19c00000 0x1000>; |
|---|
| 235 | | - interrupts = <0 195 IRQ_TYPE_NONE>; |
|---|
| 243 | + interrupts = <0 195 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 236 | 244 | clocks = <&gcc GSBI12_UART_CLK>, <&gcc GSBI12_H_CLK>; |
|---|
| 237 | 245 | clock-names = "core", "iface"; |
|---|
| 238 | 246 | status = "disabled"; |
|---|
| .. | .. |
|---|
| 241 | 249 | gsbi12_i2c: i2c@19c80000 { |
|---|
| 242 | 250 | compatible = "qcom,i2c-qup-v1.1.1"; |
|---|
| 243 | 251 | reg = <0x19c80000 0x1000>; |
|---|
| 244 | | - interrupts = <0 196 IRQ_TYPE_NONE>; |
|---|
| 252 | + interrupts = <0 196 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 245 | 253 | clocks = <&gcc GSBI12_QUP_CLK>, <&gcc GSBI12_H_CLK>; |
|---|
| 246 | 254 | clock-names = "core", "iface"; |
|---|
| 247 | 255 | #address-cells = <1>; |
|---|
| .. | .. |
|---|
| 285 | 293 | compatible = "qcom,pm8058-gpio", |
|---|
| 286 | 294 | "qcom,ssbi-gpio"; |
|---|
| 287 | 295 | reg = <0x150>; |
|---|
| 288 | | - interrupt-parent = <&pm8058>; |
|---|
| 289 | | - interrupts = <192 IRQ_TYPE_NONE>, |
|---|
| 290 | | - <193 IRQ_TYPE_NONE>, |
|---|
| 291 | | - <194 IRQ_TYPE_NONE>, |
|---|
| 292 | | - <195 IRQ_TYPE_NONE>, |
|---|
| 293 | | - <196 IRQ_TYPE_NONE>, |
|---|
| 294 | | - <197 IRQ_TYPE_NONE>, |
|---|
| 295 | | - <198 IRQ_TYPE_NONE>, |
|---|
| 296 | | - <199 IRQ_TYPE_NONE>, |
|---|
| 297 | | - <200 IRQ_TYPE_NONE>, |
|---|
| 298 | | - <201 IRQ_TYPE_NONE>, |
|---|
| 299 | | - <202 IRQ_TYPE_NONE>, |
|---|
| 300 | | - <203 IRQ_TYPE_NONE>, |
|---|
| 301 | | - <204 IRQ_TYPE_NONE>, |
|---|
| 302 | | - <205 IRQ_TYPE_NONE>, |
|---|
| 303 | | - <206 IRQ_TYPE_NONE>, |
|---|
| 304 | | - <207 IRQ_TYPE_NONE>, |
|---|
| 305 | | - <208 IRQ_TYPE_NONE>, |
|---|
| 306 | | - <209 IRQ_TYPE_NONE>, |
|---|
| 307 | | - <210 IRQ_TYPE_NONE>, |
|---|
| 308 | | - <211 IRQ_TYPE_NONE>, |
|---|
| 309 | | - <212 IRQ_TYPE_NONE>, |
|---|
| 310 | | - <213 IRQ_TYPE_NONE>, |
|---|
| 311 | | - <214 IRQ_TYPE_NONE>, |
|---|
| 312 | | - <215 IRQ_TYPE_NONE>, |
|---|
| 313 | | - <216 IRQ_TYPE_NONE>, |
|---|
| 314 | | - <217 IRQ_TYPE_NONE>, |
|---|
| 315 | | - <218 IRQ_TYPE_NONE>, |
|---|
| 316 | | - <219 IRQ_TYPE_NONE>, |
|---|
| 317 | | - <220 IRQ_TYPE_NONE>, |
|---|
| 318 | | - <221 IRQ_TYPE_NONE>, |
|---|
| 319 | | - <222 IRQ_TYPE_NONE>, |
|---|
| 320 | | - <223 IRQ_TYPE_NONE>, |
|---|
| 321 | | - <224 IRQ_TYPE_NONE>, |
|---|
| 322 | | - <225 IRQ_TYPE_NONE>, |
|---|
| 323 | | - <226 IRQ_TYPE_NONE>, |
|---|
| 324 | | - <227 IRQ_TYPE_NONE>, |
|---|
| 325 | | - <228 IRQ_TYPE_NONE>, |
|---|
| 326 | | - <229 IRQ_TYPE_NONE>, |
|---|
| 327 | | - <230 IRQ_TYPE_NONE>, |
|---|
| 328 | | - <231 IRQ_TYPE_NONE>, |
|---|
| 329 | | - <232 IRQ_TYPE_NONE>, |
|---|
| 330 | | - <233 IRQ_TYPE_NONE>, |
|---|
| 331 | | - <234 IRQ_TYPE_NONE>, |
|---|
| 332 | | - <235 IRQ_TYPE_NONE>; |
|---|
| 296 | + interrupt-controller; |
|---|
| 297 | + #interrupt-cells = <2>; |
|---|
| 333 | 298 | gpio-controller; |
|---|
| 299 | + gpio-ranges = <&pm8058_gpio 0 0 44>; |
|---|
| 334 | 300 | #gpio-cells = <2>; |
|---|
| 335 | 301 | |
|---|
| 336 | 302 | }; |
|---|