xref: /openbmc/linux/arch/arm64/boot/dts/qcom/ipq9574.dtsi (revision 84c4a652db1cf764ebaeea56e6e3372cc52bf708)
197cb36ffSDevi Priya// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
297cb36ffSDevi Priya/*
397cb36ffSDevi Priya * IPQ9574 SoC device tree source
497cb36ffSDevi Priya *
597cb36ffSDevi Priya * Copyright (c) 2020-2021 The Linux Foundation. All rights reserved.
697cb36ffSDevi Priya * Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights reserved.
797cb36ffSDevi Priya */
897cb36ffSDevi Priya
997cb36ffSDevi Priya#include <dt-bindings/interrupt-controller/arm-gic.h>
1097cb36ffSDevi Priya#include <dt-bindings/clock/qcom,ipq9574-gcc.h>
1197cb36ffSDevi Priya#include <dt-bindings/reset/qcom,ipq9574-gcc.h>
1297cb36ffSDevi Priya
1397cb36ffSDevi Priya/ {
1497cb36ffSDevi Priya	interrupt-parent = <&intc>;
1597cb36ffSDevi Priya	#address-cells = <2>;
1697cb36ffSDevi Priya	#size-cells = <2>;
1797cb36ffSDevi Priya
1897cb36ffSDevi Priya	clocks {
1997cb36ffSDevi Priya		sleep_clk: sleep-clk {
2097cb36ffSDevi Priya			compatible = "fixed-clock";
2197cb36ffSDevi Priya			#clock-cells = <0>;
2297cb36ffSDevi Priya		};
2397cb36ffSDevi Priya
2497cb36ffSDevi Priya		xo_board_clk: xo-board-clk {
2597cb36ffSDevi Priya			compatible = "fixed-clock";
2697cb36ffSDevi Priya			#clock-cells = <0>;
2797cb36ffSDevi Priya		};
2897cb36ffSDevi Priya	};
2997cb36ffSDevi Priya
3097cb36ffSDevi Priya	cpus {
3197cb36ffSDevi Priya		#address-cells = <1>;
3297cb36ffSDevi Priya		#size-cells = <0>;
3397cb36ffSDevi Priya
3497cb36ffSDevi Priya		CPU0: cpu@0 {
3597cb36ffSDevi Priya			device_type = "cpu";
3697cb36ffSDevi Priya			compatible = "arm,cortex-a73";
3797cb36ffSDevi Priya			reg = <0x0>;
3897cb36ffSDevi Priya			enable-method = "psci";
3997cb36ffSDevi Priya			next-level-cache = <&L2_0>;
4097cb36ffSDevi Priya		};
4197cb36ffSDevi Priya
4297cb36ffSDevi Priya		CPU1: cpu@1 {
4397cb36ffSDevi Priya			device_type = "cpu";
4497cb36ffSDevi Priya			compatible = "arm,cortex-a73";
4597cb36ffSDevi Priya			reg = <0x1>;
4697cb36ffSDevi Priya			enable-method = "psci";
4797cb36ffSDevi Priya			next-level-cache = <&L2_0>;
4897cb36ffSDevi Priya		};
4997cb36ffSDevi Priya
5097cb36ffSDevi Priya		CPU2: cpu@2 {
5197cb36ffSDevi Priya			device_type = "cpu";
5297cb36ffSDevi Priya			compatible = "arm,cortex-a73";
5397cb36ffSDevi Priya			reg = <0x2>;
5497cb36ffSDevi Priya			enable-method = "psci";
5597cb36ffSDevi Priya			next-level-cache = <&L2_0>;
5697cb36ffSDevi Priya		};
5797cb36ffSDevi Priya
5897cb36ffSDevi Priya		CPU3: cpu@3 {
5997cb36ffSDevi Priya			device_type = "cpu";
6097cb36ffSDevi Priya			compatible = "arm,cortex-a73";
6197cb36ffSDevi Priya			reg = <0x3>;
6297cb36ffSDevi Priya			enable-method = "psci";
6397cb36ffSDevi Priya			next-level-cache = <&L2_0>;
6497cb36ffSDevi Priya		};
6597cb36ffSDevi Priya
6697cb36ffSDevi Priya		L2_0: l2-cache {
6797cb36ffSDevi Priya			compatible = "cache";
6897cb36ffSDevi Priya			cache-level = <2>;
6997cb36ffSDevi Priya		};
7097cb36ffSDevi Priya	};
7197cb36ffSDevi Priya
72590db411SPoovendhan Selvaraj	firmware {
73590db411SPoovendhan Selvaraj		scm {
74590db411SPoovendhan Selvaraj			compatible = "qcom,scm-ipq9574", "qcom,scm";
75590db411SPoovendhan Selvaraj			qcom,dload-mode = <&tcsr 0x6100>;
76590db411SPoovendhan Selvaraj		};
77590db411SPoovendhan Selvaraj	};
78590db411SPoovendhan Selvaraj
7997cb36ffSDevi Priya	memory@40000000 {
8097cb36ffSDevi Priya		device_type = "memory";
8197cb36ffSDevi Priya		/* We expect the bootloader to fill in the size */
8297cb36ffSDevi Priya		reg = <0x0 0x40000000 0x0 0x0>;
8397cb36ffSDevi Priya	};
8497cb36ffSDevi Priya
8597cb36ffSDevi Priya	pmu {
8697cb36ffSDevi Priya		compatible = "arm,cortex-a73-pmu";
8797cb36ffSDevi Priya		interrupts = <GIC_PPI 7 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
8897cb36ffSDevi Priya	};
8997cb36ffSDevi Priya
9097cb36ffSDevi Priya	psci {
9197cb36ffSDevi Priya		compatible = "arm,psci-1.0";
9297cb36ffSDevi Priya		method = "smc";
9397cb36ffSDevi Priya	};
9497cb36ffSDevi Priya
9597cb36ffSDevi Priya	reserved-memory {
9697cb36ffSDevi Priya		#address-cells = <2>;
9797cb36ffSDevi Priya		#size-cells = <2>;
9897cb36ffSDevi Priya		ranges;
9997cb36ffSDevi Priya
10097cb36ffSDevi Priya		tz_region: tz@4a600000 {
10197cb36ffSDevi Priya			reg = <0x0 0x4a600000 0x0 0x400000>;
10297cb36ffSDevi Priya			no-map;
10397cb36ffSDevi Priya		};
10446384ac7SPoovendhan Selvaraj
10546384ac7SPoovendhan Selvaraj		smem@4aa00000 {
10646384ac7SPoovendhan Selvaraj			compatible = "qcom,smem";
10746384ac7SPoovendhan Selvaraj			reg = <0x0 0x4aa00000 0x0 0x00100000>;
10846384ac7SPoovendhan Selvaraj			hwlocks = <&tcsr_mutex 0>;
10946384ac7SPoovendhan Selvaraj			no-map;
11046384ac7SPoovendhan Selvaraj		};
11197cb36ffSDevi Priya	};
11297cb36ffSDevi Priya
11397cb36ffSDevi Priya	soc: soc@0 {
11497cb36ffSDevi Priya		compatible = "simple-bus";
11597cb36ffSDevi Priya		#address-cells = <1>;
11697cb36ffSDevi Priya		#size-cells = <1>;
11797cb36ffSDevi Priya		ranges = <0 0 0 0xffffffff>;
11897cb36ffSDevi Priya
1199ef42640SKathiravan T		rng: rng@e3000 {
1209ef42640SKathiravan T			compatible = "qcom,prng-ee";
1219ef42640SKathiravan T			reg = <0x000e3000 0x1000>;
1229ef42640SKathiravan T			clocks = <&gcc GCC_PRNG_AHB_CLK>;
1239ef42640SKathiravan T			clock-names = "core";
1249ef42640SKathiravan T		};
1259ef42640SKathiravan T
12697cb36ffSDevi Priya		tlmm: pinctrl@1000000 {
12797cb36ffSDevi Priya			compatible = "qcom,ipq9574-tlmm";
12897cb36ffSDevi Priya			reg = <0x01000000 0x300000>;
12997cb36ffSDevi Priya			interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
13097cb36ffSDevi Priya			gpio-controller;
13197cb36ffSDevi Priya			#gpio-cells = <2>;
13297cb36ffSDevi Priya			gpio-ranges = <&tlmm 0 0 65>;
13397cb36ffSDevi Priya			interrupt-controller;
13497cb36ffSDevi Priya			#interrupt-cells = <2>;
13597cb36ffSDevi Priya
13697cb36ffSDevi Priya			uart2_pins: uart2-state {
13797cb36ffSDevi Priya				pins = "gpio34", "gpio35";
13897cb36ffSDevi Priya				function = "blsp2_uart";
13997cb36ffSDevi Priya				drive-strength = <8>;
14097cb36ffSDevi Priya				bias-disable;
14197cb36ffSDevi Priya			};
14297cb36ffSDevi Priya		};
14397cb36ffSDevi Priya
14497cb36ffSDevi Priya		gcc: clock-controller@1800000 {
14597cb36ffSDevi Priya			compatible = "qcom,ipq9574-gcc";
14697cb36ffSDevi Priya			reg = <0x01800000 0x80000>;
14797cb36ffSDevi Priya			clocks = <&xo_board_clk>,
14897cb36ffSDevi Priya				 <&sleep_clk>,
1494fc6a939SDevi Priya				 <0>,
15097cb36ffSDevi Priya				 <0>,
15197cb36ffSDevi Priya				 <0>,
15297cb36ffSDevi Priya				 <0>,
15397cb36ffSDevi Priya				 <0>,
15497cb36ffSDevi Priya				 <0>;
15597cb36ffSDevi Priya			#clock-cells = <1>;
15697cb36ffSDevi Priya			#reset-cells = <1>;
15797cb36ffSDevi Priya			#power-domain-cells = <1>;
15897cb36ffSDevi Priya		};
15997cb36ffSDevi Priya
16046384ac7SPoovendhan Selvaraj		tcsr_mutex: hwlock@1905000 {
16146384ac7SPoovendhan Selvaraj			compatible = "qcom,tcsr-mutex";
16246384ac7SPoovendhan Selvaraj			reg = <0x01905000 0x20000>;
16346384ac7SPoovendhan Selvaraj			#hwlock-cells = <1>;
16446384ac7SPoovendhan Selvaraj		};
16546384ac7SPoovendhan Selvaraj
166590db411SPoovendhan Selvaraj		tcsr: syscon@1937000 {
167590db411SPoovendhan Selvaraj			compatible = "qcom,tcsr-ipq9574", "syscon";
168590db411SPoovendhan Selvaraj			reg = <0x01937000 0x21000>;
169590db411SPoovendhan Selvaraj		};
170590db411SPoovendhan Selvaraj
17197cb36ffSDevi Priya		sdhc_1: mmc@7804000 {
17297cb36ffSDevi Priya			compatible = "qcom,ipq9574-sdhci", "qcom,sdhci-msm-v5";
17397cb36ffSDevi Priya			reg = <0x07804000 0x1000>, <0x07805000 0x1000>;
17497cb36ffSDevi Priya			reg-names = "hc", "cqhci";
17597cb36ffSDevi Priya
17697cb36ffSDevi Priya			interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
17797cb36ffSDevi Priya				     <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
17897cb36ffSDevi Priya			interrupt-names = "hc_irq", "pwr_irq";
17997cb36ffSDevi Priya
18097cb36ffSDevi Priya			clocks = <&gcc GCC_SDCC1_AHB_CLK>,
18197cb36ffSDevi Priya				 <&gcc GCC_SDCC1_APPS_CLK>,
18297cb36ffSDevi Priya				 <&xo_board_clk>;
18397cb36ffSDevi Priya			clock-names = "iface", "core", "xo";
18497cb36ffSDevi Priya			non-removable;
18597cb36ffSDevi Priya			status = "disabled";
18697cb36ffSDevi Priya		};
18797cb36ffSDevi Priya
1889ef42640SKathiravan T		blsp_dma: dma-controller@7884000 {
1899ef42640SKathiravan T			compatible = "qcom,bam-v1.7.0";
1909ef42640SKathiravan T			reg = <0x07884000 0x2b000>;
1919ef42640SKathiravan T			interrupts = <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>;
1929ef42640SKathiravan T			clocks = <&gcc GCC_BLSP1_AHB_CLK>;
1939ef42640SKathiravan T			clock-names = "bam_clk";
1949ef42640SKathiravan T			#dma-cells = <1>;
1959ef42640SKathiravan T			qcom,ee = <0>;
1969ef42640SKathiravan T		};
1979ef42640SKathiravan T
1989ef42640SKathiravan T		blsp1_uart0: serial@78af000 {
1999ef42640SKathiravan T			compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
2009ef42640SKathiravan T			reg = <0x078af000 0x200>;
2019ef42640SKathiravan T			interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
2029ef42640SKathiravan T			clocks = <&gcc GCC_BLSP1_UART1_APPS_CLK>,
2039ef42640SKathiravan T				 <&gcc GCC_BLSP1_AHB_CLK>;
2049ef42640SKathiravan T			clock-names = "core", "iface";
2059ef42640SKathiravan T			status = "disabled";
2069ef42640SKathiravan T		};
2079ef42640SKathiravan T
2089ef42640SKathiravan T		blsp1_uart1: serial@78b0000 {
2099ef42640SKathiravan T			compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
2109ef42640SKathiravan T			reg = <0x078b0000 0x200>;
2119ef42640SKathiravan T			interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
2129ef42640SKathiravan T			clocks = <&gcc GCC_BLSP1_UART2_APPS_CLK>,
2139ef42640SKathiravan T				 <&gcc GCC_BLSP1_AHB_CLK>;
2149ef42640SKathiravan T			clock-names = "core", "iface";
2159ef42640SKathiravan T			status = "disabled";
2169ef42640SKathiravan T		};
2179ef42640SKathiravan T
21897cb36ffSDevi Priya		blsp1_uart2: serial@78b1000 {
21997cb36ffSDevi Priya			compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
22097cb36ffSDevi Priya			reg = <0x078b1000 0x200>;
22197cb36ffSDevi Priya			interrupts = <GIC_SPI 306 IRQ_TYPE_LEVEL_HIGH>;
22297cb36ffSDevi Priya			clocks = <&gcc GCC_BLSP1_UART3_APPS_CLK>,
22397cb36ffSDevi Priya				 <&gcc GCC_BLSP1_AHB_CLK>;
22497cb36ffSDevi Priya			clock-names = "core", "iface";
22597cb36ffSDevi Priya			status = "disabled";
22697cb36ffSDevi Priya		};
22797cb36ffSDevi Priya
2289ef42640SKathiravan T		blsp1_uart3: serial@78b2000 {
2299ef42640SKathiravan T			compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
2309ef42640SKathiravan T			reg = <0x078b2000 0x200>;
2319ef42640SKathiravan T			interrupts = <GIC_SPI 307 IRQ_TYPE_LEVEL_HIGH>;
2329ef42640SKathiravan T			clocks = <&gcc GCC_BLSP1_UART4_APPS_CLK>,
2339ef42640SKathiravan T				 <&gcc GCC_BLSP1_AHB_CLK>;
2349ef42640SKathiravan T			clock-names = "core", "iface";
2359ef42640SKathiravan T			status = "disabled";
2369ef42640SKathiravan T		};
2379ef42640SKathiravan T
2389ef42640SKathiravan T		blsp1_uart4: serial@78b3000 {
2399ef42640SKathiravan T			compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
2409ef42640SKathiravan T			reg = <0x078b3000 0x200>;
2419ef42640SKathiravan T			interrupts = <GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH>;
2429ef42640SKathiravan T			clocks = <&gcc GCC_BLSP1_UART5_APPS_CLK>,
2439ef42640SKathiravan T				 <&gcc GCC_BLSP1_AHB_CLK>;
2449ef42640SKathiravan T			clock-names = "core", "iface";
2459ef42640SKathiravan T			status = "disabled";
2469ef42640SKathiravan T		};
2479ef42640SKathiravan T
2489ef42640SKathiravan T		blsp1_uart5: serial@78b4000 {
2499ef42640SKathiravan T			compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
2509ef42640SKathiravan T			reg = <0x078b4000 0x200>;
2519ef42640SKathiravan T			interrupts = <GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH>;
2529ef42640SKathiravan T			clocks = <&gcc GCC_BLSP1_UART6_APPS_CLK>,
2539ef42640SKathiravan T				 <&gcc GCC_BLSP1_AHB_CLK>;
2549ef42640SKathiravan T			clock-names = "core", "iface";
2559ef42640SKathiravan T			status = "disabled";
2569ef42640SKathiravan T		};
2579ef42640SKathiravan T
2589ef42640SKathiravan T		blsp1_spi0: spi@78b5000 {
2599ef42640SKathiravan T			compatible = "qcom,spi-qup-v2.2.1";
2609ef42640SKathiravan T			reg = <0x078b5000 0x600>;
2619ef42640SKathiravan T			#address-cells = <1>;
2629ef42640SKathiravan T			#size-cells = <0>;
2639ef42640SKathiravan T			interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
2649ef42640SKathiravan T			clocks = <&gcc GCC_BLSP1_QUP1_SPI_APPS_CLK>,
2659ef42640SKathiravan T				 <&gcc GCC_BLSP1_AHB_CLK>;
2669ef42640SKathiravan T			clock-names = "core", "iface";
2679ef42640SKathiravan T			dmas = <&blsp_dma 12>, <&blsp_dma 13>;
2689ef42640SKathiravan T			dma-names = "tx", "rx";
2699ef42640SKathiravan T			status = "disabled";
2709ef42640SKathiravan T		};
2719ef42640SKathiravan T
2729ef42640SKathiravan T		blsp1_i2c1: i2c@78b6000 {
2739ef42640SKathiravan T			compatible = "qcom,i2c-qup-v2.2.1";
2749ef42640SKathiravan T			reg = <0x078b6000 0x600>;
2759ef42640SKathiravan T			#address-cells = <1>;
2769ef42640SKathiravan T			#size-cells = <0>;
2779ef42640SKathiravan T			interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
2789ef42640SKathiravan T			clocks = <&gcc GCC_BLSP1_QUP2_I2C_APPS_CLK>,
2799ef42640SKathiravan T				 <&gcc GCC_BLSP1_AHB_CLK>;
2809ef42640SKathiravan T			clock-names = "core", "iface";
2819ef42640SKathiravan T			dmas = <&blsp_dma 14>, <&blsp_dma 15>;
2829ef42640SKathiravan T			dma-names = "tx", "rx";
2839ef42640SKathiravan T			status = "disabled";
2849ef42640SKathiravan T		};
2859ef42640SKathiravan T
2869ef42640SKathiravan T		blsp1_spi1: spi@78b6000 {
2879ef42640SKathiravan T			compatible = "qcom,spi-qup-v2.2.1";
2889ef42640SKathiravan T			reg = <0x078b6000 0x600>;
2899ef42640SKathiravan T			#address-cells = <1>;
2909ef42640SKathiravan T			#size-cells = <0>;
2919ef42640SKathiravan T			interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
2929ef42640SKathiravan T			clocks = <&gcc GCC_BLSP1_QUP2_SPI_APPS_CLK>,
2939ef42640SKathiravan T				 <&gcc GCC_BLSP1_AHB_CLK>;
2949ef42640SKathiravan T			clock-names = "core", "iface";
2959ef42640SKathiravan T			dmas = <&blsp_dma 14>, <&blsp_dma 15>;
2969ef42640SKathiravan T			dma-names = "tx", "rx";
2979ef42640SKathiravan T			status = "disabled";
2989ef42640SKathiravan T		};
2999ef42640SKathiravan T
3009ef42640SKathiravan T		blsp1_i2c2: i2c@78b7000 {
3019ef42640SKathiravan T			compatible = "qcom,i2c-qup-v2.2.1";
3029ef42640SKathiravan T			reg = <0x078b7000 0x600>;
3039ef42640SKathiravan T			#address-cells = <1>;
3049ef42640SKathiravan T			#size-cells = <0>;
3059ef42640SKathiravan T			interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
3069ef42640SKathiravan T			clocks = <&gcc GCC_BLSP1_QUP3_I2C_APPS_CLK>,
3079ef42640SKathiravan T				 <&gcc GCC_BLSP1_AHB_CLK>;
3089ef42640SKathiravan T			clock-names = "core", "iface";
3099ef42640SKathiravan T			dmas = <&blsp_dma 16>, <&blsp_dma 17>;
3109ef42640SKathiravan T			dma-names = "tx", "rx";
3119ef42640SKathiravan T			status = "disabled";
3129ef42640SKathiravan T		};
3139ef42640SKathiravan T
3149ef42640SKathiravan T		blsp1_spi2: spi@78b7000 {
3159ef42640SKathiravan T			compatible = "qcom,spi-qup-v2.2.1";
3169ef42640SKathiravan T			reg = <0x078b7000 0x600>;
3179ef42640SKathiravan T			#address-cells = <1>;
3189ef42640SKathiravan T			#size-cells = <0>;
3199ef42640SKathiravan T			interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
3209ef42640SKathiravan T			clocks = <&gcc GCC_BLSP1_QUP3_SPI_APPS_CLK>,
3219ef42640SKathiravan T				 <&gcc GCC_BLSP1_AHB_CLK>;
3229ef42640SKathiravan T			clock-names = "core", "iface";
3239ef42640SKathiravan T			dmas = <&blsp_dma 16>, <&blsp_dma 17>;
3249ef42640SKathiravan T			dma-names = "tx", "rx";
3259ef42640SKathiravan T			status = "disabled";
3269ef42640SKathiravan T		};
3279ef42640SKathiravan T
3289ef42640SKathiravan T		blsp1_i2c3: i2c@78b8000 {
3299ef42640SKathiravan T			compatible = "qcom,i2c-qup-v2.2.1";
3309ef42640SKathiravan T			reg = <0x078b8000 0x600>;
3319ef42640SKathiravan T			#address-cells = <1>;
3329ef42640SKathiravan T			#size-cells = <0>;
3339ef42640SKathiravan T			interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
3349ef42640SKathiravan T			clocks = <&gcc GCC_BLSP1_QUP4_I2C_APPS_CLK>,
3359ef42640SKathiravan T				 <&gcc GCC_BLSP1_AHB_CLK>;
3369ef42640SKathiravan T			clock-names = "core", "iface";
3379ef42640SKathiravan T			dmas = <&blsp_dma 18>, <&blsp_dma 19>;
3389ef42640SKathiravan T			dma-names = "tx", "rx";
3399ef42640SKathiravan T			status = "disabled";
3409ef42640SKathiravan T		};
3419ef42640SKathiravan T
3429ef42640SKathiravan T		blsp1_spi3: spi@78b8000 {
3439ef42640SKathiravan T			compatible = "qcom,spi-qup-v2.2.1";
3449ef42640SKathiravan T			reg = <0x078b8000 0x600>;
3459ef42640SKathiravan T			#address-cells = <1>;
3469ef42640SKathiravan T			#size-cells = <0>;
3479ef42640SKathiravan T			interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
3489ef42640SKathiravan T			spi-max-frequency = <50000000>;
3499ef42640SKathiravan T			clocks = <&gcc GCC_BLSP1_QUP4_SPI_APPS_CLK>,
3509ef42640SKathiravan T				 <&gcc GCC_BLSP1_AHB_CLK>;
3519ef42640SKathiravan T			clock-names = "core", "iface";
3529ef42640SKathiravan T			dmas = <&blsp_dma 18>, <&blsp_dma 19>;
3539ef42640SKathiravan T			dma-names = "tx", "rx";
3549ef42640SKathiravan T			status = "disabled";
3559ef42640SKathiravan T		};
3569ef42640SKathiravan T
3579ef42640SKathiravan T		blsp1_i2c4: i2c@78b9000 {
3589ef42640SKathiravan T			compatible = "qcom,i2c-qup-v2.2.1";
3599ef42640SKathiravan T			reg = <0x078b9000 0x600>;
3609ef42640SKathiravan T			#address-cells = <1>;
3619ef42640SKathiravan T			#size-cells = <0>;
3629ef42640SKathiravan T			interrupts = <GIC_SPI 299 IRQ_TYPE_LEVEL_HIGH>;
3639ef42640SKathiravan T			clocks = <&gcc GCC_BLSP1_QUP5_I2C_APPS_CLK>,
3649ef42640SKathiravan T				 <&gcc GCC_BLSP1_AHB_CLK>;
3659ef42640SKathiravan T			clock-names = "core", "iface";
3669ef42640SKathiravan T			dmas = <&blsp_dma 20>, <&blsp_dma 21>;
3679ef42640SKathiravan T			dma-names = "tx", "rx";
3689ef42640SKathiravan T			status = "disabled";
3699ef42640SKathiravan T		};
3709ef42640SKathiravan T
3719ef42640SKathiravan T		blsp1_spi4: spi@78b9000 {
3729ef42640SKathiravan T			compatible = "qcom,spi-qup-v2.2.1";
3739ef42640SKathiravan T			reg = <0x078b9000 0x600>;
3749ef42640SKathiravan T			#address-cells = <1>;
3759ef42640SKathiravan T			#size-cells = <0>;
3769ef42640SKathiravan T			interrupts = <GIC_SPI 299 IRQ_TYPE_LEVEL_HIGH>;
3779ef42640SKathiravan T			clocks = <&gcc GCC_BLSP1_QUP5_SPI_APPS_CLK>,
3789ef42640SKathiravan T				 <&gcc GCC_BLSP1_AHB_CLK>;
3799ef42640SKathiravan T			clock-names = "core", "iface";
3809ef42640SKathiravan T			dmas = <&blsp_dma 20>, <&blsp_dma 21>;
3819ef42640SKathiravan T			dma-names = "tx", "rx";
3829ef42640SKathiravan T			status = "disabled";
3839ef42640SKathiravan T		};
3849ef42640SKathiravan T
38597cb36ffSDevi Priya		intc: interrupt-controller@b000000 {
38697cb36ffSDevi Priya			compatible = "qcom,msm-qgic2";
38797cb36ffSDevi Priya			reg = <0x0b000000 0x1000>,  /* GICD */
3886fb45762SDevi Priya			      <0x0b002000 0x2000>,  /* GICC */
38997cb36ffSDevi Priya			      <0x0b001000 0x1000>,  /* GICH */
3906fb45762SDevi Priya			      <0x0b004000 0x2000>;  /* GICV */
39197cb36ffSDevi Priya			#address-cells = <1>;
39297cb36ffSDevi Priya			#size-cells = <1>;
39397cb36ffSDevi Priya			interrupt-controller;
39497cb36ffSDevi Priya			#interrupt-cells = <3>;
3956fb45762SDevi Priya			interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
39697cb36ffSDevi Priya			ranges = <0 0x0b00c000 0x3000>;
39797cb36ffSDevi Priya
39897cb36ffSDevi Priya			v2m0: v2m@0 {
39997cb36ffSDevi Priya				compatible = "arm,gic-v2m-frame";
40097cb36ffSDevi Priya				reg = <0x00000000 0xffd>;
40197cb36ffSDevi Priya				msi-controller;
40297cb36ffSDevi Priya			};
40397cb36ffSDevi Priya
40497cb36ffSDevi Priya			v2m1: v2m@1000 {
40597cb36ffSDevi Priya				compatible = "arm,gic-v2m-frame";
40697cb36ffSDevi Priya				reg = <0x00001000 0xffd>;
40797cb36ffSDevi Priya				msi-controller;
40897cb36ffSDevi Priya			};
40997cb36ffSDevi Priya
41097cb36ffSDevi Priya			v2m2: v2m@2000 {
41197cb36ffSDevi Priya				compatible = "arm,gic-v2m-frame";
41297cb36ffSDevi Priya				reg = <0x00002000 0xffd>;
41397cb36ffSDevi Priya				msi-controller;
41497cb36ffSDevi Priya			};
41597cb36ffSDevi Priya		};
41697cb36ffSDevi Priya
4179ef42640SKathiravan T		watchdog: watchdog@b017000 {
4189ef42640SKathiravan T			compatible = "qcom,apss-wdt-ipq9574", "qcom,kpss-wdt";
4199ef42640SKathiravan T			reg = <0x0b017000 0x1000>;
4209ef42640SKathiravan T			interrupts = <GIC_SPI 3 IRQ_TYPE_EDGE_RISING>;
4219ef42640SKathiravan T			clocks = <&sleep_clk>;
4229ef42640SKathiravan T			timeout-sec = <30>;
4239ef42640SKathiravan T		};
4249ef42640SKathiravan T
425*84c4a652SDevi Priya		apcs_glb: mailbox@b111000 {
426*84c4a652SDevi Priya			compatible = "qcom,ipq9574-apcs-apps-global",
427*84c4a652SDevi Priya				     "qcom,ipq6018-apcs-apps-global";
428*84c4a652SDevi Priya			reg = <0x0b111000 0x1000>;
429*84c4a652SDevi Priya			#clock-cells = <1>;
430*84c4a652SDevi Priya			clocks = <&a73pll>, <&xo_board_clk>;
431*84c4a652SDevi Priya			clock-names = "pll", "xo";
432*84c4a652SDevi Priya			#mbox-cells = <1>;
433*84c4a652SDevi Priya		};
434*84c4a652SDevi Priya
435*84c4a652SDevi Priya		a73pll: clock@b116000 {
436*84c4a652SDevi Priya			compatible = "qcom,ipq9574-a73pll";
437*84c4a652SDevi Priya			reg = <0x0b116000 0x40>;
438*84c4a652SDevi Priya			#clock-cells = <0>;
439*84c4a652SDevi Priya			clocks = <&xo_board_clk>;
440*84c4a652SDevi Priya			clock-names = "xo";
441*84c4a652SDevi Priya		};
442*84c4a652SDevi Priya
44397cb36ffSDevi Priya		timer@b120000 {
44497cb36ffSDevi Priya			compatible = "arm,armv7-timer-mem";
44597cb36ffSDevi Priya			reg = <0x0b120000 0x1000>;
44697cb36ffSDevi Priya			#address-cells = <1>;
44797cb36ffSDevi Priya			#size-cells = <1>;
44897cb36ffSDevi Priya			ranges;
44997cb36ffSDevi Priya
45097cb36ffSDevi Priya			frame@b120000 {
45197cb36ffSDevi Priya				reg = <0x0b121000 0x1000>,
45297cb36ffSDevi Priya				      <0x0b122000 0x1000>;
45397cb36ffSDevi Priya				frame-number = <0>;
45497cb36ffSDevi Priya				interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
45597cb36ffSDevi Priya					     <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
45697cb36ffSDevi Priya			};
45797cb36ffSDevi Priya
45897cb36ffSDevi Priya			frame@b123000 {
45997cb36ffSDevi Priya				reg = <0x0b123000 0x1000>;
46097cb36ffSDevi Priya				frame-number = <1>;
46197cb36ffSDevi Priya				interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
46297cb36ffSDevi Priya				status = "disabled";
46397cb36ffSDevi Priya			};
46497cb36ffSDevi Priya
46597cb36ffSDevi Priya			frame@b124000 {
46697cb36ffSDevi Priya				reg = <0x0b124000 0x1000>;
46797cb36ffSDevi Priya				frame-number = <2>;
46897cb36ffSDevi Priya				interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
46997cb36ffSDevi Priya				status = "disabled";
47097cb36ffSDevi Priya			};
47197cb36ffSDevi Priya
47297cb36ffSDevi Priya			frame@b125000 {
47397cb36ffSDevi Priya				reg = <0x0b125000 0x1000>;
47497cb36ffSDevi Priya				frame-number = <3>;
47597cb36ffSDevi Priya				interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
47697cb36ffSDevi Priya				status = "disabled";
47797cb36ffSDevi Priya			};
47897cb36ffSDevi Priya
47997cb36ffSDevi Priya			frame@b126000 {
48097cb36ffSDevi Priya				reg = <0x0b126000 0x1000>;
48197cb36ffSDevi Priya				frame-number = <4>;
48297cb36ffSDevi Priya				interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
48397cb36ffSDevi Priya				status = "disabled";
48497cb36ffSDevi Priya			};
48597cb36ffSDevi Priya
48697cb36ffSDevi Priya			frame@b127000 {
48797cb36ffSDevi Priya				reg = <0x0b127000 0x1000>;
48897cb36ffSDevi Priya				frame-number = <5>;
48997cb36ffSDevi Priya				interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
49097cb36ffSDevi Priya				status = "disabled";
49197cb36ffSDevi Priya			};
49297cb36ffSDevi Priya
49397cb36ffSDevi Priya			frame@b128000 {
49497cb36ffSDevi Priya				reg = <0x0b128000 0x1000>;
49597cb36ffSDevi Priya				frame-number = <6>;
49697cb36ffSDevi Priya				interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
49797cb36ffSDevi Priya				status = "disabled";
49897cb36ffSDevi Priya			};
49997cb36ffSDevi Priya		};
50097cb36ffSDevi Priya	};
50197cb36ffSDevi Priya
50297cb36ffSDevi Priya	timer {
50397cb36ffSDevi Priya		compatible = "arm,armv8-timer";
50497cb36ffSDevi Priya		interrupts = <GIC_PPI 2 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
50597cb36ffSDevi Priya			     <GIC_PPI 3 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
50697cb36ffSDevi Priya			     <GIC_PPI 4 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
50797cb36ffSDevi Priya			     <GIC_PPI 1 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
50897cb36ffSDevi Priya	};
50997cb36ffSDevi Priya};
510