1 // SPDX-License-Identifier: GPL-2.0
3 * SDM845 SoC device tree source
5 * Copyright (c) 2018, The Linux Foundation. All rights reserved.
8 #include <dt-bindings/interrupt-controller/arm-gic.h>
11 interrupt-parent = <&intc>;
19 device_type = "memory";
20 /* We expect the bootloader to fill in the size */
21 reg = <0 0x80000000 0 0>;
30 reg = <0 0x85fc0000 0 0x20000>;
35 compatible = "qcom,cmd-db";
36 reg = <0x0 0x85fe0000 0x0 0x20000>;
40 smem_mem: memory@86000000 {
41 reg = <0x0 0x86000000 0x0 0x200000>;
46 reg = <0 0x86200000 0 0x2d00000>;
57 compatible = "qcom,kryo385";
59 enable-method = "psci";
60 next-level-cache = <&L2_0>;
63 next-level-cache = <&L3_0>;
72 compatible = "qcom,kryo385";
74 enable-method = "psci";
75 next-level-cache = <&L2_100>;
78 next-level-cache = <&L3_0>;
84 compatible = "qcom,kryo385";
86 enable-method = "psci";
87 next-level-cache = <&L2_200>;
90 next-level-cache = <&L3_0>;
96 compatible = "qcom,kryo385";
98 enable-method = "psci";
99 next-level-cache = <&L2_300>;
101 compatible = "cache";
102 next-level-cache = <&L3_0>;
108 compatible = "qcom,kryo385";
110 enable-method = "psci";
111 next-level-cache = <&L2_400>;
113 compatible = "cache";
114 next-level-cache = <&L3_0>;
120 compatible = "qcom,kryo385";
122 enable-method = "psci";
123 next-level-cache = <&L2_500>;
125 compatible = "cache";
126 next-level-cache = <&L3_0>;
132 compatible = "qcom,kryo385";
134 enable-method = "psci";
135 next-level-cache = <&L2_600>;
137 compatible = "cache";
138 next-level-cache = <&L3_0>;
144 compatible = "qcom,kryo385";
146 enable-method = "psci";
147 next-level-cache = <&L2_700>;
149 compatible = "cache";
150 next-level-cache = <&L3_0>;
156 compatible = "arm,armv8-timer";
157 interrupts = <GIC_PPI 1 IRQ_TYPE_LEVEL_LOW>,
158 <GIC_PPI 2 IRQ_TYPE_LEVEL_LOW>,
159 <GIC_PPI 3 IRQ_TYPE_LEVEL_LOW>,
160 <GIC_PPI 0 IRQ_TYPE_LEVEL_LOW>;
165 compatible = "fixed-clock";
167 clock-frequency = <38400000>;
168 clock-output-names = "xo_board";
171 sleep_clk: sleep-clk {
172 compatible = "fixed-clock";
174 clock-frequency = <32764>;
179 compatible = "qcom,tcsr-mutex";
180 syscon = <&tcsr_mutex_regs 0 0x1000>;
185 compatible = "qcom,smem";
186 memory-region = <&smem_mem>;
187 hwlocks = <&tcsr_mutex 3>;
191 compatible = "arm,psci-1.0";
196 #address-cells = <1>;
198 ranges = <0 0 0 0xffffffff>;
199 compatible = "simple-bus";
201 gcc: clock-controller@100000 {
202 compatible = "qcom,gcc-sdm845";
203 reg = <0x100000 0x1f0000>;
206 #power-domain-cells = <1>;
209 tcsr_mutex_regs: syscon@1f40000 {
210 compatible = "syscon";
211 reg = <0x1f40000 0x40000>;
214 tlmm: pinctrl@3400000 {
215 compatible = "qcom,sdm845-pinctrl";
216 reg = <0x03400000 0xc00000>;
217 interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
220 interrupt-controller;
221 #interrupt-cells = <2>;
224 spmi_bus: spmi@c440000 {
225 compatible = "qcom,spmi-pmic-arb";
226 reg = <0xc440000 0x1100>,
227 <0xc600000 0x2000000>,
228 <0xe600000 0x100000>,
231 reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
232 interrupt-names = "periph_irq";
233 interrupts = <GIC_SPI 481 IRQ_TYPE_LEVEL_HIGH>;
236 #address-cells = <2>;
238 interrupt-controller;
239 #interrupt-cells = <4>;
243 apss_shared: mailbox@17990000 {
244 compatible = "qcom,sdm845-apss-shared";
245 reg = <0x17990000 0x1000>;
249 intc: interrupt-controller@17a00000 {
250 compatible = "arm,gic-v3";
251 #address-cells = <1>;
254 #interrupt-cells = <3>;
255 interrupt-controller;
256 reg = <0x17a00000 0x10000>, /* GICD */
257 <0x17a60000 0x100000>; /* GICR * 8 */
258 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
261 compatible = "arm,gic-v3-its";
264 reg = <0x17a40000 0x20000>;
270 #address-cells = <1>;
273 compatible = "arm,armv7-timer-mem";
274 reg = <0x17c90000 0x1000>;
278 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,
279 <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
280 reg = <0x17ca0000 0x1000>,
286 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
287 reg = <0x17cc0000 0x1000>;
293 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
294 reg = <0x17cd0000 0x1000>;
300 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
301 reg = <0x17ce0000 0x1000>;
307 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
308 reg = <0x17cf0000 0x1000>;
314 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
315 reg = <0x17d00000 0x1000>;
321 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
322 reg = <0x17d10000 0x1000>;