1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * IPQ9574 SoC device tree source
5 * Copyright (c) 2020-2021 The Linux Foundation. All rights reserved.
6 * Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights reserved.
9 #include <dt-bindings/interrupt-controller/arm-gic.h>
10 #include <dt-bindings/clock/qcom,ipq9574-gcc.h>
11 #include <dt-bindings/reset/qcom,ipq9574-gcc.h>
14 interrupt-parent = <&intc>;
19 bias_pll_ubi_nc_clk: bias-pll-ubi-nc-clk {
20 compatible = "fixed-clock";
21 clock-frequency = <353000000>;
25 sleep_clk: sleep-clk {
26 compatible = "fixed-clock";
30 xo_board_clk: xo-board-clk {
31 compatible = "fixed-clock";
42 compatible = "arm,cortex-a73";
44 enable-method = "psci";
45 next-level-cache = <&L2_0>;
50 compatible = "arm,cortex-a73";
52 enable-method = "psci";
53 next-level-cache = <&L2_0>;
58 compatible = "arm,cortex-a73";
60 enable-method = "psci";
61 next-level-cache = <&L2_0>;
66 compatible = "arm,cortex-a73";
68 enable-method = "psci";
69 next-level-cache = <&L2_0>;
80 device_type = "memory";
81 /* We expect the bootloader to fill in the size */
82 reg = <0x0 0x40000000 0x0 0x0>;
86 compatible = "arm,cortex-a73-pmu";
87 interrupts = <GIC_PPI 7 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
91 compatible = "arm,psci-1.0";
100 tz_region: tz@4a600000 {
101 reg = <0x0 0x4a600000 0x0 0x400000>;
107 compatible = "simple-bus";
108 #address-cells = <1>;
110 ranges = <0 0 0 0xffffffff>;
112 tlmm: pinctrl@1000000 {
113 compatible = "qcom,ipq9574-tlmm";
114 reg = <0x01000000 0x300000>;
115 interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
118 gpio-ranges = <&tlmm 0 0 65>;
119 interrupt-controller;
120 #interrupt-cells = <2>;
122 uart2_pins: uart2-state {
123 pins = "gpio34", "gpio35";
124 function = "blsp2_uart";
125 drive-strength = <8>;
130 gcc: clock-controller@1800000 {
131 compatible = "qcom,ipq9574-gcc";
132 reg = <0x01800000 0x80000>;
133 clocks = <&xo_board_clk>,
135 <&bias_pll_ubi_nc_clk>,
143 #power-domain-cells = <1>;
146 sdhc_1: mmc@7804000 {
147 compatible = "qcom,ipq9574-sdhci", "qcom,sdhci-msm-v5";
148 reg = <0x07804000 0x1000>, <0x07805000 0x1000>;
149 reg-names = "hc", "cqhci";
151 interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
152 <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
153 interrupt-names = "hc_irq", "pwr_irq";
155 clocks = <&gcc GCC_SDCC1_AHB_CLK>,
156 <&gcc GCC_SDCC1_APPS_CLK>,
158 clock-names = "iface", "core", "xo";
163 blsp1_uart2: serial@78b1000 {
164 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
165 reg = <0x078b1000 0x200>;
166 interrupts = <GIC_SPI 306 IRQ_TYPE_LEVEL_HIGH>;
167 clocks = <&gcc GCC_BLSP1_UART3_APPS_CLK>,
168 <&gcc GCC_BLSP1_AHB_CLK>;
169 clock-names = "core", "iface";
173 intc: interrupt-controller@b000000 {
174 compatible = "qcom,msm-qgic2";
175 reg = <0x0b000000 0x1000>, /* GICD */
176 <0x0b002000 0x1000>, /* GICC */
177 <0x0b001000 0x1000>, /* GICH */
178 <0x0b004000 0x1000>; /* GICV */
179 #address-cells = <1>;
181 interrupt-controller;
182 #interrupt-cells = <3>;
183 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
184 ranges = <0 0x0b00c000 0x3000>;
187 compatible = "arm,gic-v2m-frame";
188 reg = <0x00000000 0xffd>;
193 compatible = "arm,gic-v2m-frame";
194 reg = <0x00001000 0xffd>;
199 compatible = "arm,gic-v2m-frame";
200 reg = <0x00002000 0xffd>;
206 compatible = "arm,armv7-timer-mem";
207 reg = <0x0b120000 0x1000>;
208 #address-cells = <1>;
213 reg = <0x0b121000 0x1000>,
216 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
217 <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
221 reg = <0x0b123000 0x1000>;
223 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
228 reg = <0x0b124000 0x1000>;
230 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
235 reg = <0x0b125000 0x1000>;
237 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
242 reg = <0x0b126000 0x1000>;
244 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
249 reg = <0x0b127000 0x1000>;
251 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
256 reg = <0x0b128000 0x1000>;
258 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
265 compatible = "arm,armv8-timer";
266 interrupts = <GIC_PPI 2 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
267 <GIC_PPI 3 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
268 <GIC_PPI 4 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
269 <GIC_PPI 1 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;