190db71e4SRajendra Nayak// SPDX-License-Identifier: BSD-3-Clause 290db71e4SRajendra Nayak/* 390db71e4SRajendra Nayak * SC7180 SoC device tree source 490db71e4SRajendra Nayak * 590db71e4SRajendra Nayak * Copyright (c) 2019, The Linux Foundation. All rights reserved. 690db71e4SRajendra Nayak */ 790db71e4SRajendra Nayak 890db71e4SRajendra Nayak#include <dt-bindings/clock/qcom,gcc-sc7180.h> 990db71e4SRajendra Nayak#include <dt-bindings/interrupt-controller/arm-gic.h> 10fec6359cSMaulik Shah#include <dt-bindings/soc/qcom,rpmh-rsc.h> 1190db71e4SRajendra Nayak 1290db71e4SRajendra Nayak/ { 1390db71e4SRajendra Nayak interrupt-parent = <&intc>; 1490db71e4SRajendra Nayak 1590db71e4SRajendra Nayak #address-cells = <2>; 1690db71e4SRajendra Nayak #size-cells = <2>; 1790db71e4SRajendra Nayak 1890db71e4SRajendra Nayak chosen { }; 1990db71e4SRajendra Nayak 2090db71e4SRajendra Nayak clocks { 2190db71e4SRajendra Nayak xo_board: xo-board { 2290db71e4SRajendra Nayak compatible = "fixed-clock"; 2390db71e4SRajendra Nayak clock-frequency = <38400000>; 2490db71e4SRajendra Nayak #clock-cells = <0>; 2590db71e4SRajendra Nayak }; 2690db71e4SRajendra Nayak 2790db71e4SRajendra Nayak sleep_clk: sleep-clk { 2890db71e4SRajendra Nayak compatible = "fixed-clock"; 2990db71e4SRajendra Nayak clock-frequency = <32764>; 3090db71e4SRajendra Nayak #clock-cells = <0>; 3190db71e4SRajendra Nayak }; 3290db71e4SRajendra Nayak }; 3390db71e4SRajendra Nayak 34e0abc5ebSMaulik Shah reserved_memory: reserved-memory { 35e0abc5ebSMaulik Shah #address-cells = <2>; 36e0abc5ebSMaulik Shah #size-cells = <2>; 37e0abc5ebSMaulik Shah ranges; 38e0abc5ebSMaulik Shah 39e0abc5ebSMaulik Shah aop_cmd_db_mem: memory@80820000 { 40e0abc5ebSMaulik Shah reg = <0x0 0x80820000 0x0 0x20000>; 41e0abc5ebSMaulik Shah compatible = "qcom,cmd-db"; 42e0abc5ebSMaulik Shah no-map; 43e0abc5ebSMaulik Shah }; 44e0abc5ebSMaulik Shah }; 45e0abc5ebSMaulik Shah 4690db71e4SRajendra Nayak cpus { 4790db71e4SRajendra Nayak #address-cells = <2>; 4890db71e4SRajendra Nayak #size-cells = <0>; 4990db71e4SRajendra Nayak 5090db71e4SRajendra Nayak CPU0: cpu@0 { 5190db71e4SRajendra Nayak device_type = "cpu"; 5290db71e4SRajendra Nayak compatible = "arm,armv8"; 5390db71e4SRajendra Nayak reg = <0x0 0x0>; 5490db71e4SRajendra Nayak enable-method = "psci"; 5590db71e4SRajendra Nayak next-level-cache = <&L2_0>; 5690db71e4SRajendra Nayak L2_0: l2-cache { 5790db71e4SRajendra Nayak compatible = "cache"; 5890db71e4SRajendra Nayak next-level-cache = <&L3_0>; 5990db71e4SRajendra Nayak L3_0: l3-cache { 6090db71e4SRajendra Nayak compatible = "cache"; 6190db71e4SRajendra Nayak }; 6290db71e4SRajendra Nayak }; 6390db71e4SRajendra Nayak }; 6490db71e4SRajendra Nayak 6590db71e4SRajendra Nayak CPU1: cpu@100 { 6690db71e4SRajendra Nayak device_type = "cpu"; 6790db71e4SRajendra Nayak compatible = "arm,armv8"; 6890db71e4SRajendra Nayak reg = <0x0 0x100>; 6990db71e4SRajendra Nayak enable-method = "psci"; 7090db71e4SRajendra Nayak next-level-cache = <&L2_100>; 7190db71e4SRajendra Nayak L2_100: l2-cache { 7290db71e4SRajendra Nayak compatible = "cache"; 7390db71e4SRajendra Nayak next-level-cache = <&L3_0>; 7490db71e4SRajendra Nayak }; 7590db71e4SRajendra Nayak }; 7690db71e4SRajendra Nayak 7790db71e4SRajendra Nayak CPU2: cpu@200 { 7890db71e4SRajendra Nayak device_type = "cpu"; 7990db71e4SRajendra Nayak compatible = "arm,armv8"; 8090db71e4SRajendra Nayak reg = <0x0 0x200>; 8190db71e4SRajendra Nayak enable-method = "psci"; 8290db71e4SRajendra Nayak next-level-cache = <&L2_200>; 8390db71e4SRajendra Nayak L2_200: l2-cache { 8490db71e4SRajendra Nayak compatible = "cache"; 8590db71e4SRajendra Nayak next-level-cache = <&L3_0>; 8690db71e4SRajendra Nayak }; 8790db71e4SRajendra Nayak }; 8890db71e4SRajendra Nayak 8990db71e4SRajendra Nayak CPU3: cpu@300 { 9090db71e4SRajendra Nayak device_type = "cpu"; 9190db71e4SRajendra Nayak compatible = "arm,armv8"; 9290db71e4SRajendra Nayak reg = <0x0 0x300>; 9390db71e4SRajendra Nayak enable-method = "psci"; 9490db71e4SRajendra Nayak next-level-cache = <&L2_300>; 9590db71e4SRajendra Nayak L2_300: l2-cache { 9690db71e4SRajendra Nayak compatible = "cache"; 9790db71e4SRajendra Nayak next-level-cache = <&L3_0>; 9890db71e4SRajendra Nayak }; 9990db71e4SRajendra Nayak }; 10090db71e4SRajendra Nayak 10190db71e4SRajendra Nayak CPU4: cpu@400 { 10290db71e4SRajendra Nayak device_type = "cpu"; 10390db71e4SRajendra Nayak compatible = "arm,armv8"; 10490db71e4SRajendra Nayak reg = <0x0 0x400>; 10590db71e4SRajendra Nayak enable-method = "psci"; 10690db71e4SRajendra Nayak next-level-cache = <&L2_400>; 10790db71e4SRajendra Nayak L2_400: l2-cache { 10890db71e4SRajendra Nayak compatible = "cache"; 10990db71e4SRajendra Nayak next-level-cache = <&L3_0>; 11090db71e4SRajendra Nayak }; 11190db71e4SRajendra Nayak }; 11290db71e4SRajendra Nayak 11390db71e4SRajendra Nayak CPU5: cpu@500 { 11490db71e4SRajendra Nayak device_type = "cpu"; 11590db71e4SRajendra Nayak compatible = "arm,armv8"; 11690db71e4SRajendra Nayak reg = <0x0 0x500>; 11790db71e4SRajendra Nayak enable-method = "psci"; 11890db71e4SRajendra Nayak next-level-cache = <&L2_500>; 11990db71e4SRajendra Nayak L2_500: l2-cache { 12090db71e4SRajendra Nayak compatible = "cache"; 12190db71e4SRajendra Nayak next-level-cache = <&L3_0>; 12290db71e4SRajendra Nayak }; 12390db71e4SRajendra Nayak }; 12490db71e4SRajendra Nayak 12590db71e4SRajendra Nayak CPU6: cpu@600 { 12690db71e4SRajendra Nayak device_type = "cpu"; 12790db71e4SRajendra Nayak compatible = "arm,armv8"; 12890db71e4SRajendra Nayak reg = <0x0 0x600>; 12990db71e4SRajendra Nayak enable-method = "psci"; 13090db71e4SRajendra Nayak next-level-cache = <&L2_600>; 13190db71e4SRajendra Nayak L2_600: l2-cache { 13290db71e4SRajendra Nayak compatible = "cache"; 13390db71e4SRajendra Nayak next-level-cache = <&L3_0>; 13490db71e4SRajendra Nayak }; 13590db71e4SRajendra Nayak }; 13690db71e4SRajendra Nayak 13790db71e4SRajendra Nayak CPU7: cpu@700 { 13890db71e4SRajendra Nayak device_type = "cpu"; 13990db71e4SRajendra Nayak compatible = "arm,armv8"; 14090db71e4SRajendra Nayak reg = <0x0 0x700>; 14190db71e4SRajendra Nayak enable-method = "psci"; 14290db71e4SRajendra Nayak next-level-cache = <&L2_700>; 14390db71e4SRajendra Nayak L2_700: l2-cache { 14490db71e4SRajendra Nayak compatible = "cache"; 14590db71e4SRajendra Nayak next-level-cache = <&L3_0>; 14690db71e4SRajendra Nayak }; 14790db71e4SRajendra Nayak }; 14890db71e4SRajendra Nayak }; 14990db71e4SRajendra Nayak 15090db71e4SRajendra Nayak memory@80000000 { 15190db71e4SRajendra Nayak device_type = "memory"; 15290db71e4SRajendra Nayak /* We expect the bootloader to fill in the size */ 15390db71e4SRajendra Nayak reg = <0 0x80000000 0 0>; 15490db71e4SRajendra Nayak }; 15590db71e4SRajendra Nayak 15690db71e4SRajendra Nayak pmu { 15790db71e4SRajendra Nayak compatible = "arm,armv8-pmuv3"; 15890db71e4SRajendra Nayak interrupts = <GIC_PPI 5 IRQ_TYPE_LEVEL_HIGH>; 15990db71e4SRajendra Nayak }; 16090db71e4SRajendra Nayak 16190db71e4SRajendra Nayak psci { 16290db71e4SRajendra Nayak compatible = "arm,psci-1.0"; 16390db71e4SRajendra Nayak method = "smc"; 16490db71e4SRajendra Nayak }; 16590db71e4SRajendra Nayak 16690db71e4SRajendra Nayak soc: soc { 16790db71e4SRajendra Nayak #address-cells = <2>; 16890db71e4SRajendra Nayak #size-cells = <2>; 16990db71e4SRajendra Nayak ranges = <0 0 0 0 0x10 0>; 17090db71e4SRajendra Nayak dma-ranges = <0 0 0 0 0x10 0>; 17190db71e4SRajendra Nayak compatible = "simple-bus"; 17290db71e4SRajendra Nayak 17390db71e4SRajendra Nayak gcc: clock-controller@100000 { 17490db71e4SRajendra Nayak compatible = "qcom,gcc-sc7180"; 17590db71e4SRajendra Nayak reg = <0 0x00100000 0 0x1f0000>; 17690db71e4SRajendra Nayak #clock-cells = <1>; 17790db71e4SRajendra Nayak #reset-cells = <1>; 17890db71e4SRajendra Nayak #power-domain-cells = <1>; 17990db71e4SRajendra Nayak }; 18090db71e4SRajendra Nayak 18190db71e4SRajendra Nayak qupv3_id_1: geniqup@ac0000 { 18290db71e4SRajendra Nayak compatible = "qcom,geni-se-qup"; 18390db71e4SRajendra Nayak reg = <0 0x00ac0000 0 0x6000>; 18490db71e4SRajendra Nayak clock-names = "m-ahb", "s-ahb"; 18590db71e4SRajendra Nayak clocks = <&gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>, 18690db71e4SRajendra Nayak <&gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>; 18790db71e4SRajendra Nayak #address-cells = <2>; 18890db71e4SRajendra Nayak #size-cells = <2>; 18990db71e4SRajendra Nayak ranges; 19090db71e4SRajendra Nayak status = "disabled"; 19190db71e4SRajendra Nayak 19290db71e4SRajendra Nayak uart8: serial@a88000 { 19390db71e4SRajendra Nayak compatible = "qcom,geni-debug-uart"; 19490db71e4SRajendra Nayak reg = <0 0x00a88000 0 0x4000>; 19590db71e4SRajendra Nayak clock-names = "se"; 19690db71e4SRajendra Nayak clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>; 19790db71e4SRajendra Nayak pinctrl-names = "default"; 19890db71e4SRajendra Nayak pinctrl-0 = <&qup_uart8_default>; 19990db71e4SRajendra Nayak interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>; 20090db71e4SRajendra Nayak status = "disabled"; 20190db71e4SRajendra Nayak }; 20290db71e4SRajendra Nayak }; 20390db71e4SRajendra Nayak 20422f185eeSMaulik Shah pdc: interrupt-controller@b220000 { 20522f185eeSMaulik Shah compatible = "qcom,sc7180-pdc", "qcom,pdc"; 20622f185eeSMaulik Shah reg = <0 0xb220000 0 0x30000>; 20722f185eeSMaulik Shah qcom,pdc-ranges = <0 480 15>, <17 497 98>, 20822f185eeSMaulik Shah <119 634 4>, <124 639 1>; 20922f185eeSMaulik Shah #interrupt-cells = <2>; 21022f185eeSMaulik Shah interrupt-parent = <&intc>; 21122f185eeSMaulik Shah interrupt-controller; 21222f185eeSMaulik Shah }; 21322f185eeSMaulik Shah 21490db71e4SRajendra Nayak tlmm: pinctrl@3500000 { 21590db71e4SRajendra Nayak compatible = "qcom,sc7180-pinctrl"; 21690db71e4SRajendra Nayak reg = <0 0x03500000 0 0x300000>, 21790db71e4SRajendra Nayak <0 0x03900000 0 0x300000>, 21890db71e4SRajendra Nayak <0 0x03d00000 0 0x300000>; 21990db71e4SRajendra Nayak reg-names = "west", "north", "south"; 22090db71e4SRajendra Nayak interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>; 22190db71e4SRajendra Nayak gpio-controller; 22290db71e4SRajendra Nayak #gpio-cells = <2>; 22390db71e4SRajendra Nayak interrupt-controller; 22490db71e4SRajendra Nayak #interrupt-cells = <2>; 22590db71e4SRajendra Nayak gpio-ranges = <&tlmm 0 0 120>; 22690db71e4SRajendra Nayak 22790db71e4SRajendra Nayak qup_uart8_default: qup-uart8-default { 22890db71e4SRajendra Nayak pinmux { 22990db71e4SRajendra Nayak pins = "gpio44", "gpio45"; 23090db71e4SRajendra Nayak function = "qup12"; 23190db71e4SRajendra Nayak }; 23290db71e4SRajendra Nayak }; 23390db71e4SRajendra Nayak }; 23490db71e4SRajendra Nayak 235*0f9dc5f0SKiran Gunda spmi_bus: spmi@c440000 { 236*0f9dc5f0SKiran Gunda compatible = "qcom,spmi-pmic-arb"; 237*0f9dc5f0SKiran Gunda reg = <0 0x0c440000 0 0x1100>, 238*0f9dc5f0SKiran Gunda <0 0x0c600000 0 0x2000000>, 239*0f9dc5f0SKiran Gunda <0 0x0e600000 0 0x100000>, 240*0f9dc5f0SKiran Gunda <0 0x0e700000 0 0xa0000>, 241*0f9dc5f0SKiran Gunda <0 0x0c40a000 0 0x26000>; 242*0f9dc5f0SKiran Gunda reg-names = "core", "chnls", "obsrvr", "intr", "cnfg"; 243*0f9dc5f0SKiran Gunda interrupt-names = "periph_irq"; 244*0f9dc5f0SKiran Gunda interrupts-extended = <&pdc 1 IRQ_TYPE_LEVEL_HIGH>; 245*0f9dc5f0SKiran Gunda qcom,ee = <0>; 246*0f9dc5f0SKiran Gunda qcom,channel = <0>; 247*0f9dc5f0SKiran Gunda #address-cells = <1>; 248*0f9dc5f0SKiran Gunda #size-cells = <1>; 249*0f9dc5f0SKiran Gunda interrupt-controller; 250*0f9dc5f0SKiran Gunda #interrupt-cells = <4>; 251*0f9dc5f0SKiran Gunda cell-index = <0>; 252*0f9dc5f0SKiran Gunda }; 253*0f9dc5f0SKiran Gunda 254d66df624SVivek Gautam apps_smmu: iommu@15000000 { 255d66df624SVivek Gautam compatible = "qcom,sc7180-smmu-500", "arm,mmu-500"; 256d66df624SVivek Gautam reg = <0 0x15000000 0 0x100000>; 257d66df624SVivek Gautam #iommu-cells = <2>; 258d66df624SVivek Gautam #global-interrupts = <1>; 259d66df624SVivek Gautam interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, 260d66df624SVivek Gautam <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>, 261d66df624SVivek Gautam <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>, 262d66df624SVivek Gautam <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>, 263d66df624SVivek Gautam <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>, 264d66df624SVivek Gautam <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>, 265d66df624SVivek Gautam <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>, 266d66df624SVivek Gautam <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>, 267d66df624SVivek Gautam <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>, 268d66df624SVivek Gautam <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>, 269d66df624SVivek Gautam <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>, 270d66df624SVivek Gautam <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>, 271d66df624SVivek Gautam <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>, 272d66df624SVivek Gautam <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>, 273d66df624SVivek Gautam <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>, 274d66df624SVivek Gautam <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>, 275d66df624SVivek Gautam <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>, 276d66df624SVivek Gautam <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>, 277d66df624SVivek Gautam <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>, 278d66df624SVivek Gautam <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>, 279d66df624SVivek Gautam <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>, 280d66df624SVivek Gautam <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>, 281d66df624SVivek Gautam <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>, 282d66df624SVivek Gautam <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>, 283d66df624SVivek Gautam <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>, 284d66df624SVivek Gautam <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>, 285d66df624SVivek Gautam <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>, 286d66df624SVivek Gautam <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>, 287d66df624SVivek Gautam <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>, 288d66df624SVivek Gautam <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>, 289d66df624SVivek Gautam <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>, 290d66df624SVivek Gautam <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>, 291d66df624SVivek Gautam <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>, 292d66df624SVivek Gautam <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>, 293d66df624SVivek Gautam <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>, 294d66df624SVivek Gautam <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>, 295d66df624SVivek Gautam <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>, 296d66df624SVivek Gautam <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>, 297d66df624SVivek Gautam <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>, 298d66df624SVivek Gautam <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>, 299d66df624SVivek Gautam <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>, 300d66df624SVivek Gautam <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>, 301d66df624SVivek Gautam <GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>, 302d66df624SVivek Gautam <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>, 303d66df624SVivek Gautam <GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH>, 304d66df624SVivek Gautam <GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH>, 305d66df624SVivek Gautam <GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH>, 306d66df624SVivek Gautam <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>, 307d66df624SVivek Gautam <GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH>, 308d66df624SVivek Gautam <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>, 309d66df624SVivek Gautam <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>, 310d66df624SVivek Gautam <GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH>, 311d66df624SVivek Gautam <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>, 312d66df624SVivek Gautam <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>, 313d66df624SVivek Gautam <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>, 314d66df624SVivek Gautam <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>, 315d66df624SVivek Gautam <GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH>, 316d66df624SVivek Gautam <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>, 317d66df624SVivek Gautam <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>, 318d66df624SVivek Gautam <GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH>, 319d66df624SVivek Gautam <GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH>, 320d66df624SVivek Gautam <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>, 321d66df624SVivek Gautam <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>, 322d66df624SVivek Gautam <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>, 323d66df624SVivek Gautam <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>, 324d66df624SVivek Gautam <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>, 325d66df624SVivek Gautam <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>, 326d66df624SVivek Gautam <GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH>, 327d66df624SVivek Gautam <GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>, 328d66df624SVivek Gautam <GIC_SPI 401 IRQ_TYPE_LEVEL_HIGH>, 329d66df624SVivek Gautam <GIC_SPI 402 IRQ_TYPE_LEVEL_HIGH>, 330d66df624SVivek Gautam <GIC_SPI 403 IRQ_TYPE_LEVEL_HIGH>, 331d66df624SVivek Gautam <GIC_SPI 404 IRQ_TYPE_LEVEL_HIGH>, 332d66df624SVivek Gautam <GIC_SPI 405 IRQ_TYPE_LEVEL_HIGH>, 333d66df624SVivek Gautam <GIC_SPI 406 IRQ_TYPE_LEVEL_HIGH>, 334d66df624SVivek Gautam <GIC_SPI 407 IRQ_TYPE_LEVEL_HIGH>, 335d66df624SVivek Gautam <GIC_SPI 408 IRQ_TYPE_LEVEL_HIGH>, 336d66df624SVivek Gautam <GIC_SPI 409 IRQ_TYPE_LEVEL_HIGH>, 337d66df624SVivek Gautam <GIC_SPI 410 IRQ_TYPE_LEVEL_HIGH>, 338d66df624SVivek Gautam <GIC_SPI 411 IRQ_TYPE_LEVEL_HIGH>, 339d66df624SVivek Gautam <GIC_SPI 412 IRQ_TYPE_LEVEL_HIGH>; 340d66df624SVivek Gautam }; 341d66df624SVivek Gautam 34290db71e4SRajendra Nayak intc: interrupt-controller@17a00000 { 34390db71e4SRajendra Nayak compatible = "arm,gic-v3"; 34490db71e4SRajendra Nayak #address-cells = <2>; 34590db71e4SRajendra Nayak #size-cells = <2>; 34690db71e4SRajendra Nayak ranges; 34790db71e4SRajendra Nayak #interrupt-cells = <3>; 34890db71e4SRajendra Nayak interrupt-controller; 34990db71e4SRajendra Nayak reg = <0 0x17a00000 0 0x10000>, /* GICD */ 35090db71e4SRajendra Nayak <0 0x17a60000 0 0x100000>; /* GICR * 8 */ 35190db71e4SRajendra Nayak interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>; 35290db71e4SRajendra Nayak 35390db71e4SRajendra Nayak gic-its@17a40000 { 35490db71e4SRajendra Nayak compatible = "arm,gic-v3-its"; 35590db71e4SRajendra Nayak msi-controller; 35690db71e4SRajendra Nayak #msi-cells = <1>; 35790db71e4SRajendra Nayak reg = <0 0x17a40000 0 0x20000>; 35890db71e4SRajendra Nayak status = "disabled"; 35990db71e4SRajendra Nayak }; 36090db71e4SRajendra Nayak }; 36190db71e4SRajendra Nayak 36290db71e4SRajendra Nayak timer@17c20000{ 36390db71e4SRajendra Nayak #address-cells = <2>; 36490db71e4SRajendra Nayak #size-cells = <2>; 36590db71e4SRajendra Nayak ranges; 36690db71e4SRajendra Nayak compatible = "arm,armv7-timer-mem"; 36790db71e4SRajendra Nayak reg = <0 0x17c20000 0 0x1000>; 36890db71e4SRajendra Nayak 36990db71e4SRajendra Nayak frame@17c21000 { 37090db71e4SRajendra Nayak frame-number = <0>; 37190db71e4SRajendra Nayak interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>, 37290db71e4SRajendra Nayak <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>; 37390db71e4SRajendra Nayak reg = <0 0x17c21000 0 0x1000>, 37490db71e4SRajendra Nayak <0 0x17c22000 0 0x1000>; 37590db71e4SRajendra Nayak }; 37690db71e4SRajendra Nayak 37790db71e4SRajendra Nayak frame@17c23000 { 37890db71e4SRajendra Nayak frame-number = <1>; 37990db71e4SRajendra Nayak interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>; 38090db71e4SRajendra Nayak reg = <0 0x17c23000 0 0x1000>; 38190db71e4SRajendra Nayak status = "disabled"; 38290db71e4SRajendra Nayak }; 38390db71e4SRajendra Nayak 38490db71e4SRajendra Nayak frame@17c25000 { 38590db71e4SRajendra Nayak frame-number = <2>; 38690db71e4SRajendra Nayak interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; 38790db71e4SRajendra Nayak reg = <0 0x17c25000 0 0x1000>; 38890db71e4SRajendra Nayak status = "disabled"; 38990db71e4SRajendra Nayak }; 39090db71e4SRajendra Nayak 39190db71e4SRajendra Nayak frame@17c27000 { 39290db71e4SRajendra Nayak frame-number = <3>; 39390db71e4SRajendra Nayak interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; 39490db71e4SRajendra Nayak reg = <0 0x17c27000 0 0x1000>; 39590db71e4SRajendra Nayak status = "disabled"; 39690db71e4SRajendra Nayak }; 39790db71e4SRajendra Nayak 39890db71e4SRajendra Nayak frame@17c29000 { 39990db71e4SRajendra Nayak frame-number = <4>; 40090db71e4SRajendra Nayak interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; 40190db71e4SRajendra Nayak reg = <0 0x17c29000 0 0x1000>; 40290db71e4SRajendra Nayak status = "disabled"; 40390db71e4SRajendra Nayak }; 40490db71e4SRajendra Nayak 40590db71e4SRajendra Nayak frame@17c2b000 { 40690db71e4SRajendra Nayak frame-number = <5>; 40790db71e4SRajendra Nayak interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>; 40890db71e4SRajendra Nayak reg = <0 0x17c2b000 0 0x1000>; 40990db71e4SRajendra Nayak status = "disabled"; 41090db71e4SRajendra Nayak }; 41190db71e4SRajendra Nayak 41290db71e4SRajendra Nayak frame@17c2d000 { 41390db71e4SRajendra Nayak frame-number = <6>; 41490db71e4SRajendra Nayak interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; 41590db71e4SRajendra Nayak reg = <0 0x17c2d000 0 0x1000>; 41690db71e4SRajendra Nayak status = "disabled"; 41790db71e4SRajendra Nayak }; 41890db71e4SRajendra Nayak }; 419fec6359cSMaulik Shah 420fec6359cSMaulik Shah apps_rsc: rsc@18200000 { 421fec6359cSMaulik Shah compatible = "qcom,rpmh-rsc"; 422fec6359cSMaulik Shah reg = <0 0x18200000 0 0x10000>, 423fec6359cSMaulik Shah <0 0x18210000 0 0x10000>, 424fec6359cSMaulik Shah <0 0x18220000 0 0x10000>; 425fec6359cSMaulik Shah reg-names = "drv-0", "drv-1", "drv-2"; 426fec6359cSMaulik Shah interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>, 427fec6359cSMaulik Shah <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>, 428fec6359cSMaulik Shah <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>; 429fec6359cSMaulik Shah qcom,tcs-offset = <0xd00>; 430fec6359cSMaulik Shah qcom,drv-id = <2>; 431fec6359cSMaulik Shah qcom,tcs-config = <ACTIVE_TCS 2>, 432fec6359cSMaulik Shah <SLEEP_TCS 3>, 433fec6359cSMaulik Shah <WAKE_TCS 3>, 434fec6359cSMaulik Shah <CONTROL_TCS 1>; 435fec6359cSMaulik Shah }; 43690db71e4SRajendra Nayak }; 43790db71e4SRajendra Nayak 43890db71e4SRajendra Nayak timer { 43990db71e4SRajendra Nayak compatible = "arm,armv8-timer"; 44090db71e4SRajendra Nayak interrupts = <GIC_PPI 1 IRQ_TYPE_LEVEL_LOW>, 44190db71e4SRajendra Nayak <GIC_PPI 2 IRQ_TYPE_LEVEL_LOW>, 44290db71e4SRajendra Nayak <GIC_PPI 3 IRQ_TYPE_LEVEL_LOW>, 44390db71e4SRajendra Nayak <GIC_PPI 0 IRQ_TYPE_LEVEL_LOW>; 44490db71e4SRajendra Nayak }; 44590db71e4SRajendra Nayak}; 446