1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-only 2724ba675SRob Herring/* 3724ba675SRob Herring * Copyright (c) 2015, The Linux Foundation. All rights reserved. 4724ba675SRob Herring */ 5724ba675SRob Herring 6724ba675SRob Herring/dts-v1/; 7724ba675SRob Herring 8724ba675SRob Herring#include <dt-bindings/clock/qcom,gcc-ipq4019.h> 9724ba675SRob Herring#include <dt-bindings/interrupt-controller/arm-gic.h> 10724ba675SRob Herring#include <dt-bindings/interrupt-controller/irq.h> 11724ba675SRob Herring 12724ba675SRob Herring/ { 13724ba675SRob Herring #address-cells = <1>; 14724ba675SRob Herring #size-cells = <1>; 15724ba675SRob Herring 16724ba675SRob Herring model = "Qualcomm Technologies, Inc. IPQ4019"; 17724ba675SRob Herring compatible = "qcom,ipq4019"; 18724ba675SRob Herring interrupt-parent = <&intc>; 19724ba675SRob Herring 20724ba675SRob Herring reserved-memory { 21724ba675SRob Herring #address-cells = <0x1>; 22724ba675SRob Herring #size-cells = <0x1>; 23724ba675SRob Herring ranges; 24724ba675SRob Herring 25724ba675SRob Herring smem_region: smem@87e00000 { 26724ba675SRob Herring reg = <0x87e00000 0x080000>; 27724ba675SRob Herring no-map; 28724ba675SRob Herring }; 29724ba675SRob Herring 30724ba675SRob Herring tz@87e80000 { 31724ba675SRob Herring reg = <0x87e80000 0x180000>; 32724ba675SRob Herring no-map; 33724ba675SRob Herring }; 34724ba675SRob Herring }; 35724ba675SRob Herring 36724ba675SRob Herring aliases { 37724ba675SRob Herring spi0 = &blsp1_spi1; 38724ba675SRob Herring spi1 = &blsp1_spi2; 39724ba675SRob Herring i2c0 = &blsp1_i2c3; 40724ba675SRob Herring i2c1 = &blsp1_i2c4; 41724ba675SRob Herring }; 42724ba675SRob Herring 43724ba675SRob Herring cpus { 44724ba675SRob Herring #address-cells = <1>; 45724ba675SRob Herring #size-cells = <0>; 46724ba675SRob Herring cpu@0 { 47724ba675SRob Herring device_type = "cpu"; 48724ba675SRob Herring compatible = "arm,cortex-a7"; 49724ba675SRob Herring enable-method = "qcom,kpss-acc-v2"; 50724ba675SRob Herring next-level-cache = <&L2>; 51724ba675SRob Herring qcom,acc = <&acc0>; 52724ba675SRob Herring qcom,saw = <&saw0>; 53724ba675SRob Herring reg = <0x0>; 54724ba675SRob Herring clocks = <&gcc GCC_APPS_CLK_SRC>; 55724ba675SRob Herring clock-frequency = <0>; 56724ba675SRob Herring clock-latency = <256000>; 57724ba675SRob Herring operating-points-v2 = <&cpu0_opp_table>; 58724ba675SRob Herring }; 59724ba675SRob Herring 60724ba675SRob Herring cpu@1 { 61724ba675SRob Herring device_type = "cpu"; 62724ba675SRob Herring compatible = "arm,cortex-a7"; 63724ba675SRob Herring enable-method = "qcom,kpss-acc-v2"; 64724ba675SRob Herring next-level-cache = <&L2>; 65724ba675SRob Herring qcom,acc = <&acc1>; 66724ba675SRob Herring qcom,saw = <&saw1>; 67724ba675SRob Herring reg = <0x1>; 68724ba675SRob Herring clocks = <&gcc GCC_APPS_CLK_SRC>; 69724ba675SRob Herring clock-frequency = <0>; 70724ba675SRob Herring clock-latency = <256000>; 71724ba675SRob Herring operating-points-v2 = <&cpu0_opp_table>; 72724ba675SRob Herring }; 73724ba675SRob Herring 74724ba675SRob Herring cpu@2 { 75724ba675SRob Herring device_type = "cpu"; 76724ba675SRob Herring compatible = "arm,cortex-a7"; 77724ba675SRob Herring enable-method = "qcom,kpss-acc-v2"; 78724ba675SRob Herring next-level-cache = <&L2>; 79724ba675SRob Herring qcom,acc = <&acc2>; 80724ba675SRob Herring qcom,saw = <&saw2>; 81724ba675SRob Herring reg = <0x2>; 82724ba675SRob Herring clocks = <&gcc GCC_APPS_CLK_SRC>; 83724ba675SRob Herring clock-frequency = <0>; 84724ba675SRob Herring clock-latency = <256000>; 85724ba675SRob Herring operating-points-v2 = <&cpu0_opp_table>; 86724ba675SRob Herring }; 87724ba675SRob Herring 88724ba675SRob Herring cpu@3 { 89724ba675SRob Herring device_type = "cpu"; 90724ba675SRob Herring compatible = "arm,cortex-a7"; 91724ba675SRob Herring enable-method = "qcom,kpss-acc-v2"; 92724ba675SRob Herring next-level-cache = <&L2>; 93724ba675SRob Herring qcom,acc = <&acc3>; 94724ba675SRob Herring qcom,saw = <&saw3>; 95724ba675SRob Herring reg = <0x3>; 96724ba675SRob Herring clocks = <&gcc GCC_APPS_CLK_SRC>; 97724ba675SRob Herring clock-frequency = <0>; 98724ba675SRob Herring clock-latency = <256000>; 99724ba675SRob Herring operating-points-v2 = <&cpu0_opp_table>; 100724ba675SRob Herring }; 101724ba675SRob Herring 102724ba675SRob Herring L2: l2-cache { 103724ba675SRob Herring compatible = "cache"; 104724ba675SRob Herring cache-level = <2>; 1056c1561fbSLinus Torvalds cache-unified; 106724ba675SRob Herring qcom,saw = <&saw_l2>; 107724ba675SRob Herring }; 108724ba675SRob Herring }; 109724ba675SRob Herring 110724ba675SRob Herring cpu0_opp_table: opp-table { 111724ba675SRob Herring compatible = "operating-points-v2"; 112724ba675SRob Herring opp-shared; 113724ba675SRob Herring 114724ba675SRob Herring opp-48000000 { 115724ba675SRob Herring opp-hz = /bits/ 64 <48000000>; 116724ba675SRob Herring clock-latency-ns = <256000>; 117724ba675SRob Herring }; 118724ba675SRob Herring opp-200000000 { 119724ba675SRob Herring opp-hz = /bits/ 64 <200000000>; 120724ba675SRob Herring clock-latency-ns = <256000>; 121724ba675SRob Herring }; 122724ba675SRob Herring opp-500000000 { 123724ba675SRob Herring opp-hz = /bits/ 64 <500000000>; 124724ba675SRob Herring clock-latency-ns = <256000>; 125724ba675SRob Herring }; 126724ba675SRob Herring opp-716000000 { 127724ba675SRob Herring opp-hz = /bits/ 64 <716000000>; 128724ba675SRob Herring clock-latency-ns = <256000>; 129724ba675SRob Herring }; 130724ba675SRob Herring }; 131724ba675SRob Herring 132724ba675SRob Herring memory { 133724ba675SRob Herring device_type = "memory"; 134724ba675SRob Herring reg = <0x0 0x0>; 135724ba675SRob Herring }; 136724ba675SRob Herring 137724ba675SRob Herring pmu { 138724ba675SRob Herring compatible = "arm,cortex-a7-pmu"; 139724ba675SRob Herring interrupts = <GIC_PPI 7 (GIC_CPU_MASK_SIMPLE(4) | 140724ba675SRob Herring IRQ_TYPE_LEVEL_HIGH)>; 141724ba675SRob Herring }; 142724ba675SRob Herring 143724ba675SRob Herring clocks { 144724ba675SRob Herring sleep_clk: sleep_clk { 145724ba675SRob Herring compatible = "fixed-clock"; 146724ba675SRob Herring clock-frequency = <32000>; 147724ba675SRob Herring #clock-cells = <0>; 148724ba675SRob Herring }; 149724ba675SRob Herring 150724ba675SRob Herring xo: xo { 151724ba675SRob Herring compatible = "fixed-clock"; 152724ba675SRob Herring clock-frequency = <48000000>; 153724ba675SRob Herring #clock-cells = <0>; 154724ba675SRob Herring }; 155724ba675SRob Herring }; 156724ba675SRob Herring 157724ba675SRob Herring firmware { 158724ba675SRob Herring scm { 159724ba675SRob Herring compatible = "qcom,scm-ipq4019", "qcom,scm"; 160724ba675SRob Herring }; 161724ba675SRob Herring }; 162724ba675SRob Herring 163724ba675SRob Herring timer { 164724ba675SRob Herring compatible = "arm,armv7-timer"; 165724ba675SRob Herring interrupts = <1 2 0xf08>, 166724ba675SRob Herring <1 3 0xf08>, 167724ba675SRob Herring <1 4 0xf08>, 168724ba675SRob Herring <1 1 0xf08>; 169724ba675SRob Herring clock-frequency = <48000000>; 170724ba675SRob Herring always-on; 171724ba675SRob Herring }; 172724ba675SRob Herring 173724ba675SRob Herring soc { 174724ba675SRob Herring #address-cells = <1>; 175724ba675SRob Herring #size-cells = <1>; 176724ba675SRob Herring ranges; 177724ba675SRob Herring compatible = "simple-bus"; 178724ba675SRob Herring 179724ba675SRob Herring intc: interrupt-controller@b000000 { 180724ba675SRob Herring compatible = "qcom,msm-qgic2"; 181724ba675SRob Herring interrupt-controller; 182724ba675SRob Herring #interrupt-cells = <3>; 183724ba675SRob Herring reg = <0x0b000000 0x1000>, 184724ba675SRob Herring <0x0b002000 0x1000>; 185724ba675SRob Herring }; 186724ba675SRob Herring 187724ba675SRob Herring gcc: clock-controller@1800000 { 188724ba675SRob Herring compatible = "qcom,gcc-ipq4019"; 189724ba675SRob Herring #clock-cells = <1>; 190724ba675SRob Herring #power-domain-cells = <1>; 191724ba675SRob Herring #reset-cells = <1>; 192724ba675SRob Herring reg = <0x1800000 0x60000>; 193724ba675SRob Herring clocks = <&xo>, <&sleep_clk>; 194724ba675SRob Herring clock-names = "xo", "sleep_clk"; 195724ba675SRob Herring }; 196724ba675SRob Herring 197724ba675SRob Herring prng: rng@22000 { 198724ba675SRob Herring compatible = "qcom,prng"; 199724ba675SRob Herring reg = <0x22000 0x140>; 200724ba675SRob Herring clocks = <&gcc GCC_PRNG_AHB_CLK>; 201724ba675SRob Herring clock-names = "core"; 202724ba675SRob Herring status = "disabled"; 203724ba675SRob Herring }; 204724ba675SRob Herring 205724ba675SRob Herring tlmm: pinctrl@1000000 { 206724ba675SRob Herring compatible = "qcom,ipq4019-pinctrl"; 207724ba675SRob Herring reg = <0x01000000 0x300000>; 208724ba675SRob Herring gpio-controller; 209724ba675SRob Herring gpio-ranges = <&tlmm 0 0 100>; 210724ba675SRob Herring #gpio-cells = <2>; 211724ba675SRob Herring interrupt-controller; 212724ba675SRob Herring #interrupt-cells = <2>; 213724ba675SRob Herring interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>; 214724ba675SRob Herring }; 215724ba675SRob Herring 216724ba675SRob Herring vqmmc: regulator@1948000 { 217724ba675SRob Herring compatible = "qcom,vqmmc-ipq4019-regulator"; 218724ba675SRob Herring reg = <0x01948000 0x4>; 219724ba675SRob Herring regulator-name = "vqmmc"; 220724ba675SRob Herring regulator-min-microvolt = <1500000>; 221724ba675SRob Herring regulator-max-microvolt = <3000000>; 222724ba675SRob Herring regulator-always-on; 223724ba675SRob Herring status = "disabled"; 224724ba675SRob Herring }; 225724ba675SRob Herring 226724ba675SRob Herring sdhci: mmc@7824900 { 227724ba675SRob Herring compatible = "qcom,sdhci-msm-v4"; 228724ba675SRob Herring reg = <0x7824900 0x11c>, <0x7824000 0x800>; 229724ba675SRob Herring reg-names = "hc", "core"; 230724ba675SRob Herring interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>; 231724ba675SRob Herring interrupt-names = "hc_irq", "pwr_irq"; 232724ba675SRob Herring bus-width = <8>; 233724ba675SRob Herring clocks = <&gcc GCC_SDCC1_AHB_CLK>, <&gcc GCC_SDCC1_APPS_CLK>, 234724ba675SRob Herring <&gcc GCC_DCD_XO_CLK>; 235724ba675SRob Herring clock-names = "iface", "core", "xo"; 236724ba675SRob Herring status = "disabled"; 237724ba675SRob Herring }; 238724ba675SRob Herring 239724ba675SRob Herring blsp_dma: dma-controller@7884000 { 240724ba675SRob Herring compatible = "qcom,bam-v1.7.0"; 241724ba675SRob Herring reg = <0x07884000 0x23000>; 242724ba675SRob Herring interrupts = <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>; 243724ba675SRob Herring clocks = <&gcc GCC_BLSP1_AHB_CLK>; 244724ba675SRob Herring clock-names = "bam_clk"; 245724ba675SRob Herring #dma-cells = <1>; 246724ba675SRob Herring qcom,ee = <0>; 247724ba675SRob Herring status = "disabled"; 248724ba675SRob Herring }; 249724ba675SRob Herring 250724ba675SRob Herring blsp1_spi1: spi@78b5000 { /* BLSP1 QUP1 */ 251724ba675SRob Herring compatible = "qcom,spi-qup-v2.2.1"; 252724ba675SRob Herring reg = <0x78b5000 0x600>; 253724ba675SRob Herring interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>; 254724ba675SRob Herring clocks = <&gcc GCC_BLSP1_QUP1_SPI_APPS_CLK>, 255724ba675SRob Herring <&gcc GCC_BLSP1_AHB_CLK>; 256724ba675SRob Herring clock-names = "core", "iface"; 257724ba675SRob Herring #address-cells = <1>; 258724ba675SRob Herring #size-cells = <0>; 259724ba675SRob Herring dmas = <&blsp_dma 4>, <&blsp_dma 5>; 260724ba675SRob Herring dma-names = "tx", "rx"; 261724ba675SRob Herring status = "disabled"; 262724ba675SRob Herring }; 263724ba675SRob Herring 264724ba675SRob Herring blsp1_spi2: spi@78b6000 { /* BLSP1 QUP2 */ 265724ba675SRob Herring compatible = "qcom,spi-qup-v2.2.1"; 266724ba675SRob Herring reg = <0x78b6000 0x600>; 267724ba675SRob Herring interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>; 268724ba675SRob Herring clocks = <&gcc GCC_BLSP1_QUP2_SPI_APPS_CLK>, 269724ba675SRob Herring <&gcc GCC_BLSP1_AHB_CLK>; 270724ba675SRob Herring clock-names = "core", "iface"; 271724ba675SRob Herring #address-cells = <1>; 272724ba675SRob Herring #size-cells = <0>; 273724ba675SRob Herring dmas = <&blsp_dma 6>, <&blsp_dma 7>; 274724ba675SRob Herring dma-names = "tx", "rx"; 275724ba675SRob Herring status = "disabled"; 276724ba675SRob Herring }; 277724ba675SRob Herring 278724ba675SRob Herring blsp1_i2c3: i2c@78b7000 { /* BLSP1 QUP3 */ 279724ba675SRob Herring compatible = "qcom,i2c-qup-v2.2.1"; 280724ba675SRob Herring reg = <0x78b7000 0x600>; 281724ba675SRob Herring interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>; 282724ba675SRob Herring clocks = <&gcc GCC_BLSP1_QUP1_I2C_APPS_CLK>, 283724ba675SRob Herring <&gcc GCC_BLSP1_AHB_CLK>; 284724ba675SRob Herring clock-names = "core", "iface"; 285724ba675SRob Herring #address-cells = <1>; 286724ba675SRob Herring #size-cells = <0>; 287724ba675SRob Herring dmas = <&blsp_dma 8>, <&blsp_dma 9>; 288724ba675SRob Herring dma-names = "tx", "rx"; 289724ba675SRob Herring status = "disabled"; 290724ba675SRob Herring }; 291724ba675SRob Herring 292724ba675SRob Herring blsp1_i2c4: i2c@78b8000 { /* BLSP1 QUP4 */ 293724ba675SRob Herring compatible = "qcom,i2c-qup-v2.2.1"; 294724ba675SRob Herring reg = <0x78b8000 0x600>; 295724ba675SRob Herring interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>; 296724ba675SRob Herring clocks = <&gcc GCC_BLSP1_QUP2_I2C_APPS_CLK>, 297724ba675SRob Herring <&gcc GCC_BLSP1_AHB_CLK>; 298724ba675SRob Herring clock-names = "core", "iface"; 299724ba675SRob Herring #address-cells = <1>; 300724ba675SRob Herring #size-cells = <0>; 301724ba675SRob Herring dmas = <&blsp_dma 10>, <&blsp_dma 11>; 302724ba675SRob Herring dma-names = "tx", "rx"; 303724ba675SRob Herring status = "disabled"; 304724ba675SRob Herring }; 305724ba675SRob Herring 306724ba675SRob Herring cryptobam: dma-controller@8e04000 { 307724ba675SRob Herring compatible = "qcom,bam-v1.7.0"; 308724ba675SRob Herring reg = <0x08e04000 0x20000>; 309724ba675SRob Herring interrupts = <GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH>; 310724ba675SRob Herring clocks = <&gcc GCC_CRYPTO_AHB_CLK>; 311724ba675SRob Herring clock-names = "bam_clk"; 312724ba675SRob Herring #dma-cells = <1>; 313724ba675SRob Herring qcom,ee = <1>; 314724ba675SRob Herring qcom,controlled-remotely; 315724ba675SRob Herring status = "disabled"; 316724ba675SRob Herring }; 317724ba675SRob Herring 318724ba675SRob Herring crypto: crypto@8e3a000 { 319724ba675SRob Herring compatible = "qcom,crypto-v5.1"; 320724ba675SRob Herring reg = <0x08e3a000 0x6000>; 321724ba675SRob Herring clocks = <&gcc GCC_CRYPTO_AHB_CLK>, 322724ba675SRob Herring <&gcc GCC_CRYPTO_AXI_CLK>, 323724ba675SRob Herring <&gcc GCC_CRYPTO_CLK>; 324724ba675SRob Herring clock-names = "iface", "bus", "core"; 325724ba675SRob Herring dmas = <&cryptobam 2>, <&cryptobam 3>; 326724ba675SRob Herring dma-names = "rx", "tx"; 327724ba675SRob Herring status = "disabled"; 328724ba675SRob Herring }; 329724ba675SRob Herring 330724ba675SRob Herring acc0: power-manager@b088000 { 331724ba675SRob Herring compatible = "qcom,kpss-acc-v2"; 332724ba675SRob Herring reg = <0x0b088000 0x1000>, <0xb008000 0x1000>; 333724ba675SRob Herring }; 334724ba675SRob Herring 335724ba675SRob Herring acc1: power-manager@b098000 { 336724ba675SRob Herring compatible = "qcom,kpss-acc-v2"; 337724ba675SRob Herring reg = <0x0b098000 0x1000>, <0xb008000 0x1000>; 338724ba675SRob Herring }; 339724ba675SRob Herring 340724ba675SRob Herring acc2: power-manager@b0a8000 { 341724ba675SRob Herring compatible = "qcom,kpss-acc-v2"; 342724ba675SRob Herring reg = <0x0b0a8000 0x1000>, <0xb008000 0x1000>; 343724ba675SRob Herring }; 344724ba675SRob Herring 345724ba675SRob Herring acc3: power-manager@b0b8000 { 346724ba675SRob Herring compatible = "qcom,kpss-acc-v2"; 347724ba675SRob Herring reg = <0x0b0b8000 0x1000>, <0xb008000 0x1000>; 348724ba675SRob Herring }; 349724ba675SRob Herring 350724ba675SRob Herring saw0: regulator@b089000 { 351724ba675SRob Herring compatible = "qcom,saw2"; 352724ba675SRob Herring reg = <0x0b089000 0x1000>, <0x0b009000 0x1000>; 353724ba675SRob Herring regulator; 354724ba675SRob Herring }; 355724ba675SRob Herring 356724ba675SRob Herring saw1: regulator@b099000 { 357724ba675SRob Herring compatible = "qcom,saw2"; 358724ba675SRob Herring reg = <0x0b099000 0x1000>, <0x0b009000 0x1000>; 359724ba675SRob Herring regulator; 360724ba675SRob Herring }; 361724ba675SRob Herring 362724ba675SRob Herring saw2: regulator@b0a9000 { 363724ba675SRob Herring compatible = "qcom,saw2"; 364724ba675SRob Herring reg = <0x0b0a9000 0x1000>, <0x0b009000 0x1000>; 365724ba675SRob Herring regulator; 366724ba675SRob Herring }; 367724ba675SRob Herring 368724ba675SRob Herring saw3: regulator@b0b9000 { 369724ba675SRob Herring compatible = "qcom,saw2"; 370724ba675SRob Herring reg = <0x0b0b9000 0x1000>, <0x0b009000 0x1000>; 371724ba675SRob Herring regulator; 372724ba675SRob Herring }; 373724ba675SRob Herring 374724ba675SRob Herring saw_l2: regulator@b012000 { 375724ba675SRob Herring compatible = "qcom,saw2"; 376724ba675SRob Herring reg = <0xb012000 0x1000>; 377724ba675SRob Herring regulator; 378724ba675SRob Herring }; 379724ba675SRob Herring 380724ba675SRob Herring blsp1_uart1: serial@78af000 { 381724ba675SRob Herring compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; 382724ba675SRob Herring reg = <0x78af000 0x200>; 383724ba675SRob Herring interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>; 384724ba675SRob Herring status = "disabled"; 385724ba675SRob Herring clocks = <&gcc GCC_BLSP1_UART1_APPS_CLK>, 386724ba675SRob Herring <&gcc GCC_BLSP1_AHB_CLK>; 387724ba675SRob Herring clock-names = "core", "iface"; 388724ba675SRob Herring dmas = <&blsp_dma 0>, <&blsp_dma 1>; 389724ba675SRob Herring dma-names = "tx", "rx"; 390724ba675SRob Herring }; 391724ba675SRob Herring 392724ba675SRob Herring blsp1_uart2: serial@78b0000 { 393724ba675SRob Herring compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; 394724ba675SRob Herring reg = <0x78b0000 0x200>; 395724ba675SRob Herring interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>; 396724ba675SRob Herring status = "disabled"; 397724ba675SRob Herring clocks = <&gcc GCC_BLSP1_UART2_APPS_CLK>, 398724ba675SRob Herring <&gcc GCC_BLSP1_AHB_CLK>; 399724ba675SRob Herring clock-names = "core", "iface"; 400724ba675SRob Herring dmas = <&blsp_dma 2>, <&blsp_dma 3>; 401724ba675SRob Herring dma-names = "tx", "rx"; 402724ba675SRob Herring }; 403724ba675SRob Herring 404724ba675SRob Herring watchdog: watchdog@b017000 { 405724ba675SRob Herring compatible = "qcom,kpss-wdt-ipq4019", "qcom,kpss-wdt"; 406724ba675SRob Herring reg = <0xb017000 0x40>; 407724ba675SRob Herring clocks = <&sleep_clk>; 408724ba675SRob Herring timeout-sec = <10>; 409724ba675SRob Herring status = "disabled"; 410724ba675SRob Herring }; 411724ba675SRob Herring 412724ba675SRob Herring restart@4ab000 { 413724ba675SRob Herring compatible = "qcom,pshold"; 414724ba675SRob Herring reg = <0x4ab000 0x4>; 415724ba675SRob Herring }; 416724ba675SRob Herring 417724ba675SRob Herring pcie0: pci@40000000 { 418724ba675SRob Herring compatible = "qcom,pcie-ipq4019"; 419724ba675SRob Herring reg = <0x40000000 0xf1d 420724ba675SRob Herring 0x40000f20 0xa8 421724ba675SRob Herring 0x80000 0x2000 422724ba675SRob Herring 0x40100000 0x1000>; 423724ba675SRob Herring reg-names = "dbi", "elbi", "parf", "config"; 424724ba675SRob Herring device_type = "pci"; 425724ba675SRob Herring linux,pci-domain = <0>; 426724ba675SRob Herring bus-range = <0x00 0xff>; 427724ba675SRob Herring num-lanes = <1>; 428724ba675SRob Herring #address-cells = <3>; 429724ba675SRob Herring #size-cells = <2>; 430724ba675SRob Herring 431724ba675SRob Herring ranges = <0x81000000 0x0 0x00000000 0x40200000 0x0 0x00100000>, 432724ba675SRob Herring <0x82000000 0x0 0x40300000 0x40300000 0x0 0x00d00000>; 433724ba675SRob Herring 434724ba675SRob Herring interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>; 435724ba675SRob Herring interrupt-names = "msi"; 436724ba675SRob Herring #interrupt-cells = <1>; 437724ba675SRob Herring interrupt-map-mask = <0 0 0 0x7>; 438724ba675SRob Herring interrupt-map = <0 0 0 1 &intc 0 142 IRQ_TYPE_LEVEL_HIGH>, /* int_a */ 439724ba675SRob Herring <0 0 0 2 &intc 0 143 IRQ_TYPE_LEVEL_HIGH>, /* int_b */ 440724ba675SRob Herring <0 0 0 3 &intc 0 144 IRQ_TYPE_LEVEL_HIGH>, /* int_c */ 441724ba675SRob Herring <0 0 0 4 &intc 0 145 IRQ_TYPE_LEVEL_HIGH>; /* int_d */ 442724ba675SRob Herring clocks = <&gcc GCC_PCIE_AHB_CLK>, 443724ba675SRob Herring <&gcc GCC_PCIE_AXI_M_CLK>, 444724ba675SRob Herring <&gcc GCC_PCIE_AXI_S_CLK>; 445724ba675SRob Herring clock-names = "aux", 446724ba675SRob Herring "master_bus", 447724ba675SRob Herring "slave_bus"; 448724ba675SRob Herring 449724ba675SRob Herring resets = <&gcc PCIE_AXI_M_ARES>, 450724ba675SRob Herring <&gcc PCIE_AXI_S_ARES>, 451724ba675SRob Herring <&gcc PCIE_PIPE_ARES>, 452724ba675SRob Herring <&gcc PCIE_AXI_M_VMIDMT_ARES>, 453724ba675SRob Herring <&gcc PCIE_AXI_S_XPU_ARES>, 454724ba675SRob Herring <&gcc PCIE_PARF_XPU_ARES>, 455724ba675SRob Herring <&gcc PCIE_PHY_ARES>, 456724ba675SRob Herring <&gcc PCIE_AXI_M_STICKY_ARES>, 457724ba675SRob Herring <&gcc PCIE_PIPE_STICKY_ARES>, 458724ba675SRob Herring <&gcc PCIE_PWR_ARES>, 459724ba675SRob Herring <&gcc PCIE_AHB_ARES>, 460724ba675SRob Herring <&gcc PCIE_PHY_AHB_ARES>; 461724ba675SRob Herring reset-names = "axi_m", 462724ba675SRob Herring "axi_s", 463724ba675SRob Herring "pipe", 464724ba675SRob Herring "axi_m_vmid", 465724ba675SRob Herring "axi_s_xpu", 466724ba675SRob Herring "parf", 467724ba675SRob Herring "phy", 468724ba675SRob Herring "axi_m_sticky", 469724ba675SRob Herring "pipe_sticky", 470724ba675SRob Herring "pwr", 471724ba675SRob Herring "ahb", 472724ba675SRob Herring "phy_ahb"; 473724ba675SRob Herring 474724ba675SRob Herring status = "disabled"; 475724ba675SRob Herring }; 476724ba675SRob Herring 477724ba675SRob Herring qpic_bam: dma-controller@7984000 { 478724ba675SRob Herring compatible = "qcom,bam-v1.7.0"; 479724ba675SRob Herring reg = <0x7984000 0x1a000>; 480724ba675SRob Herring interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>; 481724ba675SRob Herring clocks = <&gcc GCC_QPIC_CLK>; 482724ba675SRob Herring clock-names = "bam_clk"; 483724ba675SRob Herring #dma-cells = <1>; 484724ba675SRob Herring qcom,ee = <0>; 485724ba675SRob Herring status = "disabled"; 486724ba675SRob Herring }; 487724ba675SRob Herring 488724ba675SRob Herring nand: nand-controller@79b0000 { 489724ba675SRob Herring compatible = "qcom,ipq4019-nand"; 490724ba675SRob Herring reg = <0x79b0000 0x1000>; 491724ba675SRob Herring #address-cells = <1>; 492724ba675SRob Herring #size-cells = <0>; 493724ba675SRob Herring clocks = <&gcc GCC_QPIC_CLK>, 494724ba675SRob Herring <&gcc GCC_QPIC_AHB_CLK>; 495724ba675SRob Herring clock-names = "core", "aon"; 496724ba675SRob Herring 497724ba675SRob Herring dmas = <&qpic_bam 0>, 498724ba675SRob Herring <&qpic_bam 1>, 499724ba675SRob Herring <&qpic_bam 2>; 500724ba675SRob Herring dma-names = "tx", "rx", "cmd"; 501724ba675SRob Herring status = "disabled"; 502724ba675SRob Herring 503724ba675SRob Herring nand@0 { 504724ba675SRob Herring reg = <0>; 505724ba675SRob Herring 506724ba675SRob Herring nand-ecc-strength = <4>; 507724ba675SRob Herring nand-ecc-step-size = <512>; 508724ba675SRob Herring nand-bus-width = <8>; 509724ba675SRob Herring }; 510724ba675SRob Herring }; 511724ba675SRob Herring 512724ba675SRob Herring wifi0: wifi@a000000 { 513724ba675SRob Herring compatible = "qcom,ipq4019-wifi"; 514724ba675SRob Herring reg = <0xa000000 0x200000>; 515724ba675SRob Herring resets = <&gcc WIFI0_CPU_INIT_RESET>, 516724ba675SRob Herring <&gcc WIFI0_RADIO_SRIF_RESET>, 517724ba675SRob Herring <&gcc WIFI0_RADIO_WARM_RESET>, 518724ba675SRob Herring <&gcc WIFI0_RADIO_COLD_RESET>, 519724ba675SRob Herring <&gcc WIFI0_CORE_WARM_RESET>, 520724ba675SRob Herring <&gcc WIFI0_CORE_COLD_RESET>; 521724ba675SRob Herring reset-names = "wifi_cpu_init", "wifi_radio_srif", 522724ba675SRob Herring "wifi_radio_warm", "wifi_radio_cold", 523724ba675SRob Herring "wifi_core_warm", "wifi_core_cold"; 524724ba675SRob Herring clocks = <&gcc GCC_WCSS2G_CLK>, 525724ba675SRob Herring <&gcc GCC_WCSS2G_REF_CLK>, 526724ba675SRob Herring <&gcc GCC_WCSS2G_RTC_CLK>; 527724ba675SRob Herring clock-names = "wifi_wcss_cmd", "wifi_wcss_ref", 528724ba675SRob Herring "wifi_wcss_rtc"; 529724ba675SRob Herring interrupts = <GIC_SPI 32 IRQ_TYPE_EDGE_RISING>, 530724ba675SRob Herring <GIC_SPI 33 IRQ_TYPE_EDGE_RISING>, 531724ba675SRob Herring <GIC_SPI 34 IRQ_TYPE_EDGE_RISING>, 532724ba675SRob Herring <GIC_SPI 35 IRQ_TYPE_EDGE_RISING>, 533724ba675SRob Herring <GIC_SPI 36 IRQ_TYPE_EDGE_RISING>, 534724ba675SRob Herring <GIC_SPI 37 IRQ_TYPE_EDGE_RISING>, 535724ba675SRob Herring <GIC_SPI 38 IRQ_TYPE_EDGE_RISING>, 536724ba675SRob Herring <GIC_SPI 39 IRQ_TYPE_EDGE_RISING>, 537724ba675SRob Herring <GIC_SPI 40 IRQ_TYPE_EDGE_RISING>, 538724ba675SRob Herring <GIC_SPI 41 IRQ_TYPE_EDGE_RISING>, 539724ba675SRob Herring <GIC_SPI 42 IRQ_TYPE_EDGE_RISING>, 540724ba675SRob Herring <GIC_SPI 43 IRQ_TYPE_EDGE_RISING>, 541724ba675SRob Herring <GIC_SPI 44 IRQ_TYPE_EDGE_RISING>, 542724ba675SRob Herring <GIC_SPI 45 IRQ_TYPE_EDGE_RISING>, 543724ba675SRob Herring <GIC_SPI 46 IRQ_TYPE_EDGE_RISING>, 544724ba675SRob Herring <GIC_SPI 47 IRQ_TYPE_EDGE_RISING>, 545724ba675SRob Herring <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>; 546724ba675SRob Herring interrupt-names = "msi0", "msi1", "msi2", "msi3", 547724ba675SRob Herring "msi4", "msi5", "msi6", "msi7", 548724ba675SRob Herring "msi8", "msi9", "msi10", "msi11", 549724ba675SRob Herring "msi12", "msi13", "msi14", "msi15", 550724ba675SRob Herring "legacy"; 551724ba675SRob Herring status = "disabled"; 552724ba675SRob Herring }; 553724ba675SRob Herring 554724ba675SRob Herring wifi1: wifi@a800000 { 555724ba675SRob Herring compatible = "qcom,ipq4019-wifi"; 556724ba675SRob Herring reg = <0xa800000 0x200000>; 557724ba675SRob Herring resets = <&gcc WIFI1_CPU_INIT_RESET>, 558724ba675SRob Herring <&gcc WIFI1_RADIO_SRIF_RESET>, 559724ba675SRob Herring <&gcc WIFI1_RADIO_WARM_RESET>, 560724ba675SRob Herring <&gcc WIFI1_RADIO_COLD_RESET>, 561724ba675SRob Herring <&gcc WIFI1_CORE_WARM_RESET>, 562724ba675SRob Herring <&gcc WIFI1_CORE_COLD_RESET>; 563724ba675SRob Herring reset-names = "wifi_cpu_init", "wifi_radio_srif", 564724ba675SRob Herring "wifi_radio_warm", "wifi_radio_cold", 565724ba675SRob Herring "wifi_core_warm", "wifi_core_cold"; 566724ba675SRob Herring clocks = <&gcc GCC_WCSS5G_CLK>, 567724ba675SRob Herring <&gcc GCC_WCSS5G_REF_CLK>, 568724ba675SRob Herring <&gcc GCC_WCSS5G_RTC_CLK>; 569724ba675SRob Herring clock-names = "wifi_wcss_cmd", "wifi_wcss_ref", 570724ba675SRob Herring "wifi_wcss_rtc"; 571724ba675SRob Herring interrupts = <GIC_SPI 48 IRQ_TYPE_EDGE_RISING>, 572724ba675SRob Herring <GIC_SPI 49 IRQ_TYPE_EDGE_RISING>, 573724ba675SRob Herring <GIC_SPI 50 IRQ_TYPE_EDGE_RISING>, 574724ba675SRob Herring <GIC_SPI 51 IRQ_TYPE_EDGE_RISING>, 575724ba675SRob Herring <GIC_SPI 52 IRQ_TYPE_EDGE_RISING>, 576724ba675SRob Herring <GIC_SPI 53 IRQ_TYPE_EDGE_RISING>, 577724ba675SRob Herring <GIC_SPI 54 IRQ_TYPE_EDGE_RISING>, 578724ba675SRob Herring <GIC_SPI 55 IRQ_TYPE_EDGE_RISING>, 579724ba675SRob Herring <GIC_SPI 56 IRQ_TYPE_EDGE_RISING>, 580724ba675SRob Herring <GIC_SPI 57 IRQ_TYPE_EDGE_RISING>, 581724ba675SRob Herring <GIC_SPI 58 IRQ_TYPE_EDGE_RISING>, 582724ba675SRob Herring <GIC_SPI 59 IRQ_TYPE_EDGE_RISING>, 583724ba675SRob Herring <GIC_SPI 60 IRQ_TYPE_EDGE_RISING>, 584724ba675SRob Herring <GIC_SPI 61 IRQ_TYPE_EDGE_RISING>, 585724ba675SRob Herring <GIC_SPI 62 IRQ_TYPE_EDGE_RISING>, 586724ba675SRob Herring <GIC_SPI 63 IRQ_TYPE_EDGE_RISING>, 587724ba675SRob Herring <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>; 588724ba675SRob Herring interrupt-names = "msi0", "msi1", "msi2", "msi3", 589724ba675SRob Herring "msi4", "msi5", "msi6", "msi7", 590724ba675SRob Herring "msi8", "msi9", "msi10", "msi11", 591724ba675SRob Herring "msi12", "msi13", "msi14", "msi15", 592724ba675SRob Herring "legacy"; 593724ba675SRob Herring status = "disabled"; 594724ba675SRob Herring }; 595724ba675SRob Herring 596724ba675SRob Herring mdio: mdio@90000 { 597724ba675SRob Herring #address-cells = <1>; 598724ba675SRob Herring #size-cells = <0>; 599724ba675SRob Herring compatible = "qcom,ipq4019-mdio"; 600724ba675SRob Herring reg = <0x90000 0x64>; 601724ba675SRob Herring status = "disabled"; 602724ba675SRob Herring 603724ba675SRob Herring ethphy0: ethernet-phy@0 { 604724ba675SRob Herring reg = <0>; 605724ba675SRob Herring }; 606724ba675SRob Herring 607724ba675SRob Herring ethphy1: ethernet-phy@1 { 608724ba675SRob Herring reg = <1>; 609724ba675SRob Herring }; 610724ba675SRob Herring 611724ba675SRob Herring ethphy2: ethernet-phy@2 { 612724ba675SRob Herring reg = <2>; 613724ba675SRob Herring }; 614724ba675SRob Herring 615724ba675SRob Herring ethphy3: ethernet-phy@3 { 616724ba675SRob Herring reg = <3>; 617724ba675SRob Herring }; 618724ba675SRob Herring 619724ba675SRob Herring ethphy4: ethernet-phy@4 { 620724ba675SRob Herring reg = <4>; 621724ba675SRob Herring }; 622724ba675SRob Herring }; 623724ba675SRob Herring 624*7caf0921SKrzysztof Kozlowski usb3_ss_phy: usb-phy@9a000 { 625724ba675SRob Herring compatible = "qcom,usb-ss-ipq4019-phy"; 626724ba675SRob Herring #phy-cells = <0>; 627724ba675SRob Herring reg = <0x9a000 0x800>; 628724ba675SRob Herring reg-names = "phy_base"; 629724ba675SRob Herring resets = <&gcc USB3_UNIPHY_PHY_ARES>; 630724ba675SRob Herring reset-names = "por_rst"; 631724ba675SRob Herring status = "disabled"; 632724ba675SRob Herring }; 633724ba675SRob Herring 634*7caf0921SKrzysztof Kozlowski usb3_hs_phy: usb-phy@a6000 { 635724ba675SRob Herring compatible = "qcom,usb-hs-ipq4019-phy"; 636724ba675SRob Herring #phy-cells = <0>; 637724ba675SRob Herring reg = <0xa6000 0x40>; 638724ba675SRob Herring reg-names = "phy_base"; 639724ba675SRob Herring resets = <&gcc USB3_HSPHY_POR_ARES>, <&gcc USB3_HSPHY_S_ARES>; 640724ba675SRob Herring reset-names = "por_rst", "srif_rst"; 641724ba675SRob Herring status = "disabled"; 642724ba675SRob Herring }; 643724ba675SRob Herring 644*7caf0921SKrzysztof Kozlowski usb3: usb@8af8800 { 645724ba675SRob Herring compatible = "qcom,ipq4019-dwc3", "qcom,dwc3"; 646724ba675SRob Herring reg = <0x8af8800 0x100>; 647724ba675SRob Herring #address-cells = <1>; 648724ba675SRob Herring #size-cells = <1>; 649724ba675SRob Herring clocks = <&gcc GCC_USB3_MASTER_CLK>, 650724ba675SRob Herring <&gcc GCC_USB3_SLEEP_CLK>, 651724ba675SRob Herring <&gcc GCC_USB3_MOCK_UTMI_CLK>; 652724ba675SRob Herring clock-names = "core", "sleep", "mock_utmi"; 653724ba675SRob Herring ranges; 654724ba675SRob Herring status = "disabled"; 655724ba675SRob Herring 656*7caf0921SKrzysztof Kozlowski usb3_dwc: usb@8a00000 { 657724ba675SRob Herring compatible = "snps,dwc3"; 658724ba675SRob Herring reg = <0x8a00000 0xf8000>; 659724ba675SRob Herring interrupts = <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>; 660724ba675SRob Herring phys = <&usb3_hs_phy>, <&usb3_ss_phy>; 661724ba675SRob Herring phy-names = "usb2-phy", "usb3-phy"; 662724ba675SRob Herring dr_mode = "host"; 663724ba675SRob Herring }; 664724ba675SRob Herring }; 665724ba675SRob Herring 666*7caf0921SKrzysztof Kozlowski usb2_hs_phy: usb-phy@a8000 { 667724ba675SRob Herring compatible = "qcom,usb-hs-ipq4019-phy"; 668724ba675SRob Herring #phy-cells = <0>; 669724ba675SRob Herring reg = <0xa8000 0x40>; 670724ba675SRob Herring reg-names = "phy_base"; 671724ba675SRob Herring resets = <&gcc USB2_HSPHY_POR_ARES>, <&gcc USB2_HSPHY_S_ARES>; 672724ba675SRob Herring reset-names = "por_rst", "srif_rst"; 673724ba675SRob Herring status = "disabled"; 674724ba675SRob Herring }; 675724ba675SRob Herring 676*7caf0921SKrzysztof Kozlowski usb2: usb@60f8800 { 677724ba675SRob Herring compatible = "qcom,ipq4019-dwc3", "qcom,dwc3"; 678724ba675SRob Herring reg = <0x60f8800 0x100>; 679724ba675SRob Herring #address-cells = <1>; 680724ba675SRob Herring #size-cells = <1>; 681724ba675SRob Herring clocks = <&gcc GCC_USB2_MASTER_CLK>, 682724ba675SRob Herring <&gcc GCC_USB2_SLEEP_CLK>, 683724ba675SRob Herring <&gcc GCC_USB2_MOCK_UTMI_CLK>; 684724ba675SRob Herring clock-names = "master", "sleep", "mock_utmi"; 685724ba675SRob Herring ranges; 686724ba675SRob Herring status = "disabled"; 687724ba675SRob Herring 688*7caf0921SKrzysztof Kozlowski usb@6000000 { 689724ba675SRob Herring compatible = "snps,dwc3"; 690724ba675SRob Herring reg = <0x6000000 0xf8000>; 691724ba675SRob Herring interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>; 692724ba675SRob Herring phys = <&usb2_hs_phy>; 693724ba675SRob Herring phy-names = "usb2-phy"; 694724ba675SRob Herring dr_mode = "host"; 695724ba675SRob Herring }; 696724ba675SRob Herring }; 697724ba675SRob Herring }; 698724ba675SRob Herring}; 699