1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0 2f126890aSEmmanuel Vadot/dts-v1/; 3f126890aSEmmanuel Vadot 4f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/arm-gic.h> 5f126890aSEmmanuel Vadot#include <dt-bindings/mfd/qcom-rpm.h> 6f126890aSEmmanuel Vadot#include <dt-bindings/clock/qcom,rpmcc.h> 7f126890aSEmmanuel Vadot#include <dt-bindings/clock/qcom,gcc-ipq806x.h> 8f126890aSEmmanuel Vadot#include <dt-bindings/clock/qcom,lcc-ipq806x.h> 9f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h> 10f126890aSEmmanuel Vadot#include <dt-bindings/reset/qcom,gcc-ipq806x.h> 11f126890aSEmmanuel Vadot#include <dt-bindings/soc/qcom,gsbi.h> 12f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/arm-gic.h> 13f126890aSEmmanuel Vadot 14f126890aSEmmanuel Vadot/ { 15f126890aSEmmanuel Vadot #address-cells = <1>; 16f126890aSEmmanuel Vadot #size-cells = <1>; 17f126890aSEmmanuel Vadot model = "Qualcomm IPQ8064"; 18f126890aSEmmanuel Vadot compatible = "qcom,ipq8064"; 19f126890aSEmmanuel Vadot interrupt-parent = <&intc>; 20f126890aSEmmanuel Vadot 21f126890aSEmmanuel Vadot cpus { 22f126890aSEmmanuel Vadot #address-cells = <1>; 23f126890aSEmmanuel Vadot #size-cells = <0>; 24f126890aSEmmanuel Vadot 25f126890aSEmmanuel Vadot cpu0: cpu@0 { 26f126890aSEmmanuel Vadot compatible = "qcom,krait"; 27f126890aSEmmanuel Vadot enable-method = "qcom,kpss-acc-v1"; 28f126890aSEmmanuel Vadot device_type = "cpu"; 29f126890aSEmmanuel Vadot reg = <0>; 30f126890aSEmmanuel Vadot next-level-cache = <&L2>; 31f126890aSEmmanuel Vadot qcom,acc = <&acc0>; 32f126890aSEmmanuel Vadot qcom,saw = <&saw0>; 33f126890aSEmmanuel Vadot }; 34f126890aSEmmanuel Vadot 35f126890aSEmmanuel Vadot cpu1: cpu@1 { 36f126890aSEmmanuel Vadot compatible = "qcom,krait"; 37f126890aSEmmanuel Vadot enable-method = "qcom,kpss-acc-v1"; 38f126890aSEmmanuel Vadot device_type = "cpu"; 39f126890aSEmmanuel Vadot reg = <1>; 40f126890aSEmmanuel Vadot next-level-cache = <&L2>; 41f126890aSEmmanuel Vadot qcom,acc = <&acc1>; 42f126890aSEmmanuel Vadot qcom,saw = <&saw1>; 43f126890aSEmmanuel Vadot }; 44f126890aSEmmanuel Vadot 45f126890aSEmmanuel Vadot L2: l2-cache { 46f126890aSEmmanuel Vadot compatible = "cache"; 47f126890aSEmmanuel Vadot cache-level = <2>; 48f126890aSEmmanuel Vadot cache-unified; 49f126890aSEmmanuel Vadot }; 50f126890aSEmmanuel Vadot }; 51f126890aSEmmanuel Vadot 52f126890aSEmmanuel Vadot thermal-zones { 53f126890aSEmmanuel Vadot sensor0-thermal { 54f126890aSEmmanuel Vadot polling-delay-passive = <0>; 55f126890aSEmmanuel Vadot polling-delay = <0>; 56f126890aSEmmanuel Vadot thermal-sensors = <&tsens 0>; 57f126890aSEmmanuel Vadot 58f126890aSEmmanuel Vadot trips { 59f126890aSEmmanuel Vadot cpu-critical { 60f126890aSEmmanuel Vadot temperature = <105000>; 61f126890aSEmmanuel Vadot hysteresis = <2000>; 62f126890aSEmmanuel Vadot type = "critical"; 63f126890aSEmmanuel Vadot }; 64f126890aSEmmanuel Vadot 65f126890aSEmmanuel Vadot cpu-hot { 66f126890aSEmmanuel Vadot temperature = <95000>; 67f126890aSEmmanuel Vadot hysteresis = <2000>; 68f126890aSEmmanuel Vadot type = "hot"; 69f126890aSEmmanuel Vadot }; 70f126890aSEmmanuel Vadot }; 71f126890aSEmmanuel Vadot }; 72f126890aSEmmanuel Vadot 73f126890aSEmmanuel Vadot sensor1-thermal { 74f126890aSEmmanuel Vadot polling-delay-passive = <0>; 75f126890aSEmmanuel Vadot polling-delay = <0>; 76f126890aSEmmanuel Vadot thermal-sensors = <&tsens 1>; 77f126890aSEmmanuel Vadot 78f126890aSEmmanuel Vadot trips { 79f126890aSEmmanuel Vadot cpu-critical { 80f126890aSEmmanuel Vadot temperature = <105000>; 81f126890aSEmmanuel Vadot hysteresis = <2000>; 82f126890aSEmmanuel Vadot type = "critical"; 83f126890aSEmmanuel Vadot }; 84f126890aSEmmanuel Vadot 85f126890aSEmmanuel Vadot cpu-hot { 86f126890aSEmmanuel Vadot temperature = <95000>; 87f126890aSEmmanuel Vadot hysteresis = <2000>; 88f126890aSEmmanuel Vadot type = "hot"; 89f126890aSEmmanuel Vadot }; 90f126890aSEmmanuel Vadot }; 91f126890aSEmmanuel Vadot }; 92f126890aSEmmanuel Vadot 93f126890aSEmmanuel Vadot sensor2-thermal { 94f126890aSEmmanuel Vadot polling-delay-passive = <0>; 95f126890aSEmmanuel Vadot polling-delay = <0>; 96f126890aSEmmanuel Vadot thermal-sensors = <&tsens 2>; 97f126890aSEmmanuel Vadot 98f126890aSEmmanuel Vadot trips { 99f126890aSEmmanuel Vadot cpu-critical { 100f126890aSEmmanuel Vadot temperature = <105000>; 101f126890aSEmmanuel Vadot hysteresis = <2000>; 102f126890aSEmmanuel Vadot type = "critical"; 103f126890aSEmmanuel Vadot }; 104f126890aSEmmanuel Vadot 105f126890aSEmmanuel Vadot cpu-hot { 106f126890aSEmmanuel Vadot temperature = <95000>; 107f126890aSEmmanuel Vadot hysteresis = <2000>; 108f126890aSEmmanuel Vadot type = "hot"; 109f126890aSEmmanuel Vadot }; 110f126890aSEmmanuel Vadot }; 111f126890aSEmmanuel Vadot }; 112f126890aSEmmanuel Vadot 113f126890aSEmmanuel Vadot sensor3-thermal { 114f126890aSEmmanuel Vadot polling-delay-passive = <0>; 115f126890aSEmmanuel Vadot polling-delay = <0>; 116f126890aSEmmanuel Vadot thermal-sensors = <&tsens 3>; 117f126890aSEmmanuel Vadot 118f126890aSEmmanuel Vadot trips { 119f126890aSEmmanuel Vadot cpu-critical { 120f126890aSEmmanuel Vadot temperature = <105000>; 121f126890aSEmmanuel Vadot hysteresis = <2000>; 122f126890aSEmmanuel Vadot type = "critical"; 123f126890aSEmmanuel Vadot }; 124f126890aSEmmanuel Vadot 125f126890aSEmmanuel Vadot cpu-hot { 126f126890aSEmmanuel Vadot temperature = <95000>; 127f126890aSEmmanuel Vadot hysteresis = <2000>; 128f126890aSEmmanuel Vadot type = "hot"; 129f126890aSEmmanuel Vadot }; 130f126890aSEmmanuel Vadot }; 131f126890aSEmmanuel Vadot }; 132f126890aSEmmanuel Vadot 133f126890aSEmmanuel Vadot sensor4-thermal { 134f126890aSEmmanuel Vadot polling-delay-passive = <0>; 135f126890aSEmmanuel Vadot polling-delay = <0>; 136f126890aSEmmanuel Vadot thermal-sensors = <&tsens 4>; 137f126890aSEmmanuel Vadot 138f126890aSEmmanuel Vadot trips { 139f126890aSEmmanuel Vadot cpu-critical { 140f126890aSEmmanuel Vadot temperature = <105000>; 141f126890aSEmmanuel Vadot hysteresis = <2000>; 142f126890aSEmmanuel Vadot type = "critical"; 143f126890aSEmmanuel Vadot }; 144f126890aSEmmanuel Vadot 145f126890aSEmmanuel Vadot cpu-hot { 146f126890aSEmmanuel Vadot temperature = <95000>; 147f126890aSEmmanuel Vadot hysteresis = <2000>; 148f126890aSEmmanuel Vadot type = "hot"; 149f126890aSEmmanuel Vadot }; 150f126890aSEmmanuel Vadot }; 151f126890aSEmmanuel Vadot }; 152f126890aSEmmanuel Vadot 153f126890aSEmmanuel Vadot sensor5-thermal { 154f126890aSEmmanuel Vadot polling-delay-passive = <0>; 155f126890aSEmmanuel Vadot polling-delay = <0>; 156f126890aSEmmanuel Vadot thermal-sensors = <&tsens 5>; 157f126890aSEmmanuel Vadot 158f126890aSEmmanuel Vadot trips { 159f126890aSEmmanuel Vadot cpu-critical { 160f126890aSEmmanuel Vadot temperature = <105000>; 161f126890aSEmmanuel Vadot hysteresis = <2000>; 162f126890aSEmmanuel Vadot type = "critical"; 163f126890aSEmmanuel Vadot }; 164f126890aSEmmanuel Vadot 165f126890aSEmmanuel Vadot cpu-hot { 166f126890aSEmmanuel Vadot temperature = <95000>; 167f126890aSEmmanuel Vadot hysteresis = <2000>; 168f126890aSEmmanuel Vadot type = "hot"; 169f126890aSEmmanuel Vadot }; 170f126890aSEmmanuel Vadot }; 171f126890aSEmmanuel Vadot }; 172f126890aSEmmanuel Vadot 173f126890aSEmmanuel Vadot sensor6-thermal { 174f126890aSEmmanuel Vadot polling-delay-passive = <0>; 175f126890aSEmmanuel Vadot polling-delay = <0>; 176f126890aSEmmanuel Vadot thermal-sensors = <&tsens 6>; 177f126890aSEmmanuel Vadot 178f126890aSEmmanuel Vadot trips { 179f126890aSEmmanuel Vadot cpu-critical { 180f126890aSEmmanuel Vadot temperature = <105000>; 181f126890aSEmmanuel Vadot hysteresis = <2000>; 182f126890aSEmmanuel Vadot type = "critical"; 183f126890aSEmmanuel Vadot }; 184f126890aSEmmanuel Vadot 185f126890aSEmmanuel Vadot cpu-hot { 186f126890aSEmmanuel Vadot temperature = <95000>; 187f126890aSEmmanuel Vadot hysteresis = <2000>; 188f126890aSEmmanuel Vadot type = "hot"; 189f126890aSEmmanuel Vadot }; 190f126890aSEmmanuel Vadot }; 191f126890aSEmmanuel Vadot }; 192f126890aSEmmanuel Vadot 193f126890aSEmmanuel Vadot sensor7-thermal { 194f126890aSEmmanuel Vadot polling-delay-passive = <0>; 195f126890aSEmmanuel Vadot polling-delay = <0>; 196f126890aSEmmanuel Vadot thermal-sensors = <&tsens 7>; 197f126890aSEmmanuel Vadot 198f126890aSEmmanuel Vadot trips { 199f126890aSEmmanuel Vadot cpu-critical { 200f126890aSEmmanuel Vadot temperature = <105000>; 201f126890aSEmmanuel Vadot hysteresis = <2000>; 202f126890aSEmmanuel Vadot type = "critical"; 203f126890aSEmmanuel Vadot }; 204f126890aSEmmanuel Vadot 205f126890aSEmmanuel Vadot cpu-hot { 206f126890aSEmmanuel Vadot temperature = <95000>; 207f126890aSEmmanuel Vadot hysteresis = <2000>; 208f126890aSEmmanuel Vadot type = "hot"; 209f126890aSEmmanuel Vadot }; 210f126890aSEmmanuel Vadot }; 211f126890aSEmmanuel Vadot }; 212f126890aSEmmanuel Vadot 213f126890aSEmmanuel Vadot sensor8-thermal { 214f126890aSEmmanuel Vadot polling-delay-passive = <0>; 215f126890aSEmmanuel Vadot polling-delay = <0>; 216f126890aSEmmanuel Vadot thermal-sensors = <&tsens 8>; 217f126890aSEmmanuel Vadot 218f126890aSEmmanuel Vadot trips { 219f126890aSEmmanuel Vadot cpu-critical { 220f126890aSEmmanuel Vadot temperature = <105000>; 221f126890aSEmmanuel Vadot hysteresis = <2000>; 222f126890aSEmmanuel Vadot type = "critical"; 223f126890aSEmmanuel Vadot }; 224f126890aSEmmanuel Vadot 225f126890aSEmmanuel Vadot cpu-hot { 226f126890aSEmmanuel Vadot temperature = <95000>; 227f126890aSEmmanuel Vadot hysteresis = <2000>; 228f126890aSEmmanuel Vadot type = "hot"; 229f126890aSEmmanuel Vadot }; 230f126890aSEmmanuel Vadot }; 231f126890aSEmmanuel Vadot }; 232f126890aSEmmanuel Vadot 233f126890aSEmmanuel Vadot sensor9-thermal { 234f126890aSEmmanuel Vadot polling-delay-passive = <0>; 235f126890aSEmmanuel Vadot polling-delay = <0>; 236f126890aSEmmanuel Vadot thermal-sensors = <&tsens 9>; 237f126890aSEmmanuel Vadot 238f126890aSEmmanuel Vadot trips { 239f126890aSEmmanuel Vadot cpu-critical { 240f126890aSEmmanuel Vadot temperature = <105000>; 241f126890aSEmmanuel Vadot hysteresis = <2000>; 242f126890aSEmmanuel Vadot type = "critical"; 243f126890aSEmmanuel Vadot }; 244f126890aSEmmanuel Vadot 245f126890aSEmmanuel Vadot cpu-hot { 246f126890aSEmmanuel Vadot temperature = <95000>; 247f126890aSEmmanuel Vadot hysteresis = <2000>; 248f126890aSEmmanuel Vadot type = "hot"; 249f126890aSEmmanuel Vadot }; 250f126890aSEmmanuel Vadot }; 251f126890aSEmmanuel Vadot }; 252f126890aSEmmanuel Vadot 253f126890aSEmmanuel Vadot sensor10-thermal { 254f126890aSEmmanuel Vadot polling-delay-passive = <0>; 255f126890aSEmmanuel Vadot polling-delay = <0>; 256f126890aSEmmanuel Vadot thermal-sensors = <&tsens 10>; 257f126890aSEmmanuel Vadot 258f126890aSEmmanuel Vadot trips { 259f126890aSEmmanuel Vadot cpu-critical { 260f126890aSEmmanuel Vadot temperature = <105000>; 261f126890aSEmmanuel Vadot hysteresis = <2000>; 262f126890aSEmmanuel Vadot type = "critical"; 263f126890aSEmmanuel Vadot }; 264f126890aSEmmanuel Vadot 265f126890aSEmmanuel Vadot cpu-hot { 266f126890aSEmmanuel Vadot temperature = <95000>; 267f126890aSEmmanuel Vadot hysteresis = <2000>; 268f126890aSEmmanuel Vadot type = "hot"; 269f126890aSEmmanuel Vadot }; 270f126890aSEmmanuel Vadot }; 271f126890aSEmmanuel Vadot }; 272f126890aSEmmanuel Vadot }; 273f126890aSEmmanuel Vadot 274f126890aSEmmanuel Vadot memory { 275f126890aSEmmanuel Vadot device_type = "memory"; 276f126890aSEmmanuel Vadot reg = <0x0 0x0>; 277f126890aSEmmanuel Vadot }; 278f126890aSEmmanuel Vadot 279f126890aSEmmanuel Vadot cpu-pmu { 280f126890aSEmmanuel Vadot compatible = "qcom,krait-pmu"; 281f126890aSEmmanuel Vadot interrupts = <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | 282f126890aSEmmanuel Vadot IRQ_TYPE_LEVEL_HIGH)>; 283f126890aSEmmanuel Vadot }; 284f126890aSEmmanuel Vadot 285f126890aSEmmanuel Vadot reserved-memory { 286f126890aSEmmanuel Vadot #address-cells = <1>; 287f126890aSEmmanuel Vadot #size-cells = <1>; 288f126890aSEmmanuel Vadot ranges; 289f126890aSEmmanuel Vadot 290f126890aSEmmanuel Vadot nss@40000000 { 291f126890aSEmmanuel Vadot reg = <0x40000000 0x1000000>; 292f126890aSEmmanuel Vadot no-map; 293f126890aSEmmanuel Vadot }; 294f126890aSEmmanuel Vadot 295f126890aSEmmanuel Vadot smem: smem@41000000 { 296f126890aSEmmanuel Vadot compatible = "qcom,smem"; 297f126890aSEmmanuel Vadot reg = <0x41000000 0x200000>; 298f126890aSEmmanuel Vadot no-map; 299f126890aSEmmanuel Vadot 300f126890aSEmmanuel Vadot hwlocks = <&sfpb_mutex 3>; 301f126890aSEmmanuel Vadot }; 302f126890aSEmmanuel Vadot }; 303f126890aSEmmanuel Vadot 304f126890aSEmmanuel Vadot clocks { 305f126890aSEmmanuel Vadot cxo_board: cxo_board { 306f126890aSEmmanuel Vadot compatible = "fixed-clock"; 307f126890aSEmmanuel Vadot #clock-cells = <0>; 308f126890aSEmmanuel Vadot clock-frequency = <25000000>; 309f126890aSEmmanuel Vadot }; 310f126890aSEmmanuel Vadot 311f126890aSEmmanuel Vadot pxo_board: pxo_board { 312f126890aSEmmanuel Vadot compatible = "fixed-clock"; 313f126890aSEmmanuel Vadot #clock-cells = <0>; 314f126890aSEmmanuel Vadot clock-frequency = <25000000>; 315f126890aSEmmanuel Vadot }; 316f126890aSEmmanuel Vadot 317f126890aSEmmanuel Vadot sleep_clk: sleep_clk { 318f126890aSEmmanuel Vadot compatible = "fixed-clock"; 319f126890aSEmmanuel Vadot clock-frequency = <32768>; 320f126890aSEmmanuel Vadot #clock-cells = <0>; 321f126890aSEmmanuel Vadot }; 322f126890aSEmmanuel Vadot }; 323f126890aSEmmanuel Vadot 324f126890aSEmmanuel Vadot firmware { 325f126890aSEmmanuel Vadot scm { 326f126890aSEmmanuel Vadot compatible = "qcom,scm-ipq806x", "qcom,scm"; 327f126890aSEmmanuel Vadot }; 328f126890aSEmmanuel Vadot }; 329f126890aSEmmanuel Vadot 330f126890aSEmmanuel Vadot stmmac_axi_setup: stmmac-axi-config { 331f126890aSEmmanuel Vadot snps,wr_osr_lmt = <7>; 332f126890aSEmmanuel Vadot snps,rd_osr_lmt = <7>; 333f126890aSEmmanuel Vadot snps,blen = <16 0 0 0 0 0 0>; 334f126890aSEmmanuel Vadot }; 335f126890aSEmmanuel Vadot 336f126890aSEmmanuel Vadot vsdcc_fixed: vsdcc-regulator { 337f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 338f126890aSEmmanuel Vadot regulator-name = "SDCC Power"; 339f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 340f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 341f126890aSEmmanuel Vadot regulator-always-on; 342f126890aSEmmanuel Vadot }; 343f126890aSEmmanuel Vadot 344f126890aSEmmanuel Vadot soc: soc { 345f126890aSEmmanuel Vadot #address-cells = <1>; 346f126890aSEmmanuel Vadot #size-cells = <1>; 347f126890aSEmmanuel Vadot ranges; 348f126890aSEmmanuel Vadot compatible = "simple-bus"; 349f126890aSEmmanuel Vadot 350f126890aSEmmanuel Vadot rpm: rpm@108000 { 351f126890aSEmmanuel Vadot compatible = "qcom,rpm-ipq8064"; 352f126890aSEmmanuel Vadot reg = <0x00108000 0x1000>; 353f126890aSEmmanuel Vadot qcom,ipc = <&l2cc 0x8 2>; 354f126890aSEmmanuel Vadot 355f126890aSEmmanuel Vadot interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>, 356f126890aSEmmanuel Vadot <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>, 357f126890aSEmmanuel Vadot <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>; 358f126890aSEmmanuel Vadot interrupt-names = "ack", "err", "wakeup"; 359f126890aSEmmanuel Vadot 360f126890aSEmmanuel Vadot clocks = <&gcc RPM_MSG_RAM_H_CLK>; 361f126890aSEmmanuel Vadot clock-names = "ram"; 362f126890aSEmmanuel Vadot 363f126890aSEmmanuel Vadot rpmcc: clock-controller { 364f126890aSEmmanuel Vadot compatible = "qcom,rpmcc-ipq806x", "qcom,rpmcc"; 365f126890aSEmmanuel Vadot #clock-cells = <1>; 366f126890aSEmmanuel Vadot }; 367f126890aSEmmanuel Vadot }; 368f126890aSEmmanuel Vadot 3698d13bc63SEmmanuel Vadot ssbi@500000 { 370f126890aSEmmanuel Vadot compatible = "qcom,ssbi"; 371f126890aSEmmanuel Vadot reg = <0x00500000 0x1000>; 372f126890aSEmmanuel Vadot qcom,controller-type = "pmic-arbiter"; 373f126890aSEmmanuel Vadot }; 374f126890aSEmmanuel Vadot 3750e8011faSEmmanuel Vadot qfprom: efuse@700000 { 376f126890aSEmmanuel Vadot compatible = "qcom,ipq8064-qfprom", "qcom,qfprom"; 377f126890aSEmmanuel Vadot reg = <0x00700000 0x1000>; 378f126890aSEmmanuel Vadot #address-cells = <1>; 379f126890aSEmmanuel Vadot #size-cells = <1>; 380f126890aSEmmanuel Vadot speedbin_efuse: speedbin@c0 { 381f126890aSEmmanuel Vadot reg = <0xc0 0x4>; 382f126890aSEmmanuel Vadot }; 383f126890aSEmmanuel Vadot tsens_calib: calib@400 { 384f126890aSEmmanuel Vadot reg = <0x400 0xb>; 385f126890aSEmmanuel Vadot }; 386f126890aSEmmanuel Vadot tsens_calib_backup: calib_backup@410 { 387f126890aSEmmanuel Vadot reg = <0x410 0xb>; 388f126890aSEmmanuel Vadot }; 389f126890aSEmmanuel Vadot }; 390f126890aSEmmanuel Vadot 391f126890aSEmmanuel Vadot qcom_pinmux: pinmux@800000 { 392f126890aSEmmanuel Vadot compatible = "qcom,ipq8064-pinctrl"; 393f126890aSEmmanuel Vadot reg = <0x00800000 0x4000>; 394f126890aSEmmanuel Vadot 395f126890aSEmmanuel Vadot gpio-controller; 396f126890aSEmmanuel Vadot gpio-ranges = <&qcom_pinmux 0 0 69>; 397f126890aSEmmanuel Vadot #gpio-cells = <2>; 398f126890aSEmmanuel Vadot interrupt-controller; 399f126890aSEmmanuel Vadot #interrupt-cells = <2>; 400f126890aSEmmanuel Vadot interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>; 401f126890aSEmmanuel Vadot 402*b2d2a78aSEmmanuel Vadot pcie0_pins: pcie0-state { 403f126890aSEmmanuel Vadot pins = "gpio3"; 404f126890aSEmmanuel Vadot function = "pcie1_rst"; 405f126890aSEmmanuel Vadot drive-strength = <12>; 406f126890aSEmmanuel Vadot bias-disable; 407f126890aSEmmanuel Vadot }; 408f126890aSEmmanuel Vadot 409*b2d2a78aSEmmanuel Vadot pcie1_pins: pcie1-state { 410f126890aSEmmanuel Vadot pins = "gpio48"; 411f126890aSEmmanuel Vadot function = "pcie2_rst"; 412f126890aSEmmanuel Vadot drive-strength = <12>; 413f126890aSEmmanuel Vadot bias-disable; 414f126890aSEmmanuel Vadot }; 415f126890aSEmmanuel Vadot 416*b2d2a78aSEmmanuel Vadot pcie2_pins: pcie2-state { 417f126890aSEmmanuel Vadot pins = "gpio63"; 418f126890aSEmmanuel Vadot function = "pcie3_rst"; 419f126890aSEmmanuel Vadot drive-strength = <12>; 420f126890aSEmmanuel Vadot bias-disable; 421f126890aSEmmanuel Vadot }; 422f126890aSEmmanuel Vadot 423*b2d2a78aSEmmanuel Vadot i2c4_pins: i2c4-state { 424f126890aSEmmanuel Vadot pins = "gpio12", "gpio13"; 425f126890aSEmmanuel Vadot function = "gsbi4"; 426f126890aSEmmanuel Vadot drive-strength = <12>; 427f126890aSEmmanuel Vadot bias-disable; 428f126890aSEmmanuel Vadot }; 429f126890aSEmmanuel Vadot 430*b2d2a78aSEmmanuel Vadot spi_pins: spi-state { 431f126890aSEmmanuel Vadot pins = "gpio18", "gpio19", "gpio21"; 432f126890aSEmmanuel Vadot function = "gsbi5"; 433f126890aSEmmanuel Vadot drive-strength = <10>; 434*b2d2a78aSEmmanuel Vadot bias-disable; 435f126890aSEmmanuel Vadot }; 436f126890aSEmmanuel Vadot 437*b2d2a78aSEmmanuel Vadot leds_pins: leds-state { 438f126890aSEmmanuel Vadot pins = "gpio7", "gpio8", "gpio9", 439f126890aSEmmanuel Vadot "gpio26", "gpio53"; 440f126890aSEmmanuel Vadot function = "gpio"; 441f126890aSEmmanuel Vadot drive-strength = <2>; 442f126890aSEmmanuel Vadot bias-pull-down; 443f126890aSEmmanuel Vadot output-low; 444f126890aSEmmanuel Vadot }; 445f126890aSEmmanuel Vadot 446*b2d2a78aSEmmanuel Vadot buttons_pins: buttons-state { 447f126890aSEmmanuel Vadot pins = "gpio54"; 448f126890aSEmmanuel Vadot drive-strength = <2>; 449f126890aSEmmanuel Vadot bias-pull-up; 450f126890aSEmmanuel Vadot }; 451f126890aSEmmanuel Vadot 452*b2d2a78aSEmmanuel Vadot nand_pins: nand-state { 453*b2d2a78aSEmmanuel Vadot nand-pins { 454f126890aSEmmanuel Vadot pins = "gpio34", "gpio35", "gpio36", 455f126890aSEmmanuel Vadot "gpio37", "gpio38", "gpio39", 456f126890aSEmmanuel Vadot "gpio40", "gpio41", "gpio42", 457f126890aSEmmanuel Vadot "gpio43", "gpio44", "gpio45", 458f126890aSEmmanuel Vadot "gpio46", "gpio47"; 459f126890aSEmmanuel Vadot function = "nand"; 460f126890aSEmmanuel Vadot drive-strength = <10>; 461f126890aSEmmanuel Vadot bias-disable; 462f126890aSEmmanuel Vadot }; 463f126890aSEmmanuel Vadot 464*b2d2a78aSEmmanuel Vadot nand-pullup-pins { 465f126890aSEmmanuel Vadot pins = "gpio39"; 466f126890aSEmmanuel Vadot function = "nand"; 467f126890aSEmmanuel Vadot drive-strength = <10>; 468f126890aSEmmanuel Vadot bias-pull-up; 469f126890aSEmmanuel Vadot }; 470f126890aSEmmanuel Vadot 471*b2d2a78aSEmmanuel Vadot nand-hold-pins { 472f126890aSEmmanuel Vadot pins = "gpio40", "gpio41", "gpio42", 473f126890aSEmmanuel Vadot "gpio43", "gpio44", "gpio45", 474f126890aSEmmanuel Vadot "gpio46", "gpio47"; 475f126890aSEmmanuel Vadot function = "nand"; 476f126890aSEmmanuel Vadot drive-strength = <10>; 477f126890aSEmmanuel Vadot bias-bus-hold; 478f126890aSEmmanuel Vadot }; 479f126890aSEmmanuel Vadot }; 480f126890aSEmmanuel Vadot 481*b2d2a78aSEmmanuel Vadot mdio0_pins: mdio0-state { 482f126890aSEmmanuel Vadot pins = "gpio0", "gpio1"; 483f126890aSEmmanuel Vadot function = "mdio"; 484f126890aSEmmanuel Vadot drive-strength = <8>; 485f126890aSEmmanuel Vadot bias-disable; 486f126890aSEmmanuel Vadot }; 487f126890aSEmmanuel Vadot 488*b2d2a78aSEmmanuel Vadot rgmii2_pins: rgmii2-state { 489f126890aSEmmanuel Vadot pins = "gpio27", "gpio28", "gpio29", 490f126890aSEmmanuel Vadot "gpio30", "gpio31", "gpio32", 491f126890aSEmmanuel Vadot "gpio51", "gpio52", "gpio59", 492f126890aSEmmanuel Vadot "gpio60", "gpio61", "gpio62"; 493f126890aSEmmanuel Vadot function = "rgmii2"; 494f126890aSEmmanuel Vadot drive-strength = <8>; 495f126890aSEmmanuel Vadot bias-disable; 496f126890aSEmmanuel Vadot }; 497f126890aSEmmanuel Vadot }; 498f126890aSEmmanuel Vadot 499f126890aSEmmanuel Vadot gcc: clock-controller@900000 { 500f126890aSEmmanuel Vadot compatible = "qcom,gcc-ipq8064", "syscon"; 501f126890aSEmmanuel Vadot clocks = <&pxo_board>, <&cxo_board>, <&lcc PLL4>; 502f126890aSEmmanuel Vadot clock-names = "pxo", "cxo", "pll4"; 503f126890aSEmmanuel Vadot reg = <0x00900000 0x4000>; 504f126890aSEmmanuel Vadot #clock-cells = <1>; 505f126890aSEmmanuel Vadot #reset-cells = <1>; 506f126890aSEmmanuel Vadot 507f126890aSEmmanuel Vadot tsens: thermal-sensor { 508f126890aSEmmanuel Vadot compatible = "qcom,ipq8064-tsens"; 509f126890aSEmmanuel Vadot 510f126890aSEmmanuel Vadot nvmem-cells = <&tsens_calib>, <&tsens_calib_backup>; 511f126890aSEmmanuel Vadot nvmem-cell-names = "calib", "calib_backup"; 512f126890aSEmmanuel Vadot interrupts = <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>; 513f126890aSEmmanuel Vadot interrupt-names = "uplow"; 514f126890aSEmmanuel Vadot 515f126890aSEmmanuel Vadot #qcom,sensors = <11>; 516f126890aSEmmanuel Vadot #thermal-sensor-cells = <1>; 517f126890aSEmmanuel Vadot }; 518f126890aSEmmanuel Vadot }; 519f126890aSEmmanuel Vadot 520f126890aSEmmanuel Vadot sfpb_mutex: hwlock@1200600 { 521f126890aSEmmanuel Vadot compatible = "qcom,sfpb-mutex"; 522f126890aSEmmanuel Vadot reg = <0x01200600 0x100>; 523f126890aSEmmanuel Vadot 524f126890aSEmmanuel Vadot #hwlock-cells = <1>; 525f126890aSEmmanuel Vadot }; 526f126890aSEmmanuel Vadot 527f126890aSEmmanuel Vadot intc: interrupt-controller@2000000 { 528f126890aSEmmanuel Vadot compatible = "qcom,msm-qgic2"; 529f126890aSEmmanuel Vadot interrupt-controller; 530f126890aSEmmanuel Vadot #interrupt-cells = <3>; 531f126890aSEmmanuel Vadot reg = <0x02000000 0x1000>, 532f126890aSEmmanuel Vadot <0x02002000 0x1000>; 533f126890aSEmmanuel Vadot }; 534f126890aSEmmanuel Vadot 535f126890aSEmmanuel Vadot timer@200a000 { 536f126890aSEmmanuel Vadot compatible = "qcom,kpss-wdt-ipq8064", "qcom,kpss-timer", 537f126890aSEmmanuel Vadot "qcom,msm-timer"; 538f126890aSEmmanuel Vadot interrupts = <GIC_PPI 1 (GIC_CPU_MASK_SIMPLE(2) | 539f126890aSEmmanuel Vadot IRQ_TYPE_EDGE_RISING)>, 540f126890aSEmmanuel Vadot <GIC_PPI 2 (GIC_CPU_MASK_SIMPLE(2) | 541f126890aSEmmanuel Vadot IRQ_TYPE_EDGE_RISING)>, 542f126890aSEmmanuel Vadot <GIC_PPI 3 (GIC_CPU_MASK_SIMPLE(2) | 543f126890aSEmmanuel Vadot IRQ_TYPE_EDGE_RISING)>, 544f126890aSEmmanuel Vadot <GIC_PPI 4 (GIC_CPU_MASK_SIMPLE(2) | 545f126890aSEmmanuel Vadot IRQ_TYPE_EDGE_RISING)>, 546f126890aSEmmanuel Vadot <GIC_PPI 5 (GIC_CPU_MASK_SIMPLE(2) | 547f126890aSEmmanuel Vadot IRQ_TYPE_EDGE_RISING)>; 548f126890aSEmmanuel Vadot reg = <0x0200a000 0x100>; 549f126890aSEmmanuel Vadot clock-frequency = <25000000>; 550f126890aSEmmanuel Vadot clocks = <&sleep_clk>; 551f126890aSEmmanuel Vadot clock-names = "sleep"; 552f126890aSEmmanuel Vadot cpu-offset = <0x80000>; 553f126890aSEmmanuel Vadot }; 554f126890aSEmmanuel Vadot 555f126890aSEmmanuel Vadot l2cc: clock-controller@2011000 { 556f126890aSEmmanuel Vadot compatible = "qcom,kpss-gcc-ipq8064", "qcom,kpss-gcc", "syscon"; 557f126890aSEmmanuel Vadot reg = <0x02011000 0x1000>; 558f126890aSEmmanuel Vadot clocks = <&gcc PLL8_VOTE>, <&pxo_board>; 559f126890aSEmmanuel Vadot clock-names = "pll8_vote", "pxo"; 560f126890aSEmmanuel Vadot #clock-cells = <0>; 561f126890aSEmmanuel Vadot }; 562f126890aSEmmanuel Vadot 563f126890aSEmmanuel Vadot acc0: clock-controller@2088000 { 564f126890aSEmmanuel Vadot compatible = "qcom,kpss-acc-v1"; 565f126890aSEmmanuel Vadot reg = <0x02088000 0x1000>, <0x02008000 0x1000>; 566f126890aSEmmanuel Vadot clocks = <&gcc PLL8_VOTE>, <&pxo_board>; 567f126890aSEmmanuel Vadot clock-names = "pll8_vote", "pxo"; 568f126890aSEmmanuel Vadot clock-output-names = "acpu0_aux"; 569f126890aSEmmanuel Vadot #clock-cells = <0>; 570f126890aSEmmanuel Vadot }; 571f126890aSEmmanuel Vadot 57201950c46SEmmanuel Vadot saw0: power-manager@2089000 { 57301950c46SEmmanuel Vadot compatible = "qcom,ipq8064-saw2-cpu", "qcom,saw2"; 574f126890aSEmmanuel Vadot reg = <0x02089000 0x1000>, <0x02009000 0x1000>; 575f126890aSEmmanuel Vadot }; 576f126890aSEmmanuel Vadot 577f126890aSEmmanuel Vadot acc1: clock-controller@2098000 { 578f126890aSEmmanuel Vadot compatible = "qcom,kpss-acc-v1"; 579f126890aSEmmanuel Vadot reg = <0x02098000 0x1000>, <0x02008000 0x1000>; 580f126890aSEmmanuel Vadot clocks = <&gcc PLL8_VOTE>, <&pxo_board>; 581f126890aSEmmanuel Vadot clock-names = "pll8_vote", "pxo"; 582f126890aSEmmanuel Vadot clock-output-names = "acpu1_aux"; 583f126890aSEmmanuel Vadot #clock-cells = <0>; 584f126890aSEmmanuel Vadot }; 585f126890aSEmmanuel Vadot 58601950c46SEmmanuel Vadot saw1: power-manager@2099000 { 58701950c46SEmmanuel Vadot compatible = "qcom,ipq8064-saw2-cpu", "qcom,saw2"; 588f126890aSEmmanuel Vadot reg = <0x02099000 0x1000>, <0x02009000 0x1000>; 589f126890aSEmmanuel Vadot }; 590f126890aSEmmanuel Vadot 591f126890aSEmmanuel Vadot nss_common: syscon@3000000 { 592f126890aSEmmanuel Vadot compatible = "syscon"; 593f126890aSEmmanuel Vadot reg = <0x03000000 0x0000FFFF>; 594f126890aSEmmanuel Vadot }; 595f126890aSEmmanuel Vadot 596f126890aSEmmanuel Vadot usb3_0: usb@100f8800 { 597f126890aSEmmanuel Vadot compatible = "qcom,ipq8064-dwc3", "qcom,dwc3"; 598f126890aSEmmanuel Vadot #address-cells = <1>; 599f126890aSEmmanuel Vadot #size-cells = <1>; 600f126890aSEmmanuel Vadot reg = <0x100f8800 0x8000>; 601f126890aSEmmanuel Vadot clocks = <&gcc USB30_0_MASTER_CLK>; 602f126890aSEmmanuel Vadot clock-names = "core"; 603f126890aSEmmanuel Vadot 604f126890aSEmmanuel Vadot ranges; 605f126890aSEmmanuel Vadot 606f126890aSEmmanuel Vadot resets = <&gcc USB30_0_MASTER_RESET>; 607f126890aSEmmanuel Vadot 608f126890aSEmmanuel Vadot status = "disabled"; 609f126890aSEmmanuel Vadot 610f126890aSEmmanuel Vadot dwc3_0: usb@10000000 { 611f126890aSEmmanuel Vadot compatible = "snps,dwc3"; 612f126890aSEmmanuel Vadot reg = <0x10000000 0xcd00>; 613f126890aSEmmanuel Vadot interrupts = <GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH>; 614f126890aSEmmanuel Vadot phys = <&hs_phy_0>, <&ss_phy_0>; 615f126890aSEmmanuel Vadot phy-names = "usb2-phy", "usb3-phy"; 616f126890aSEmmanuel Vadot dr_mode = "host"; 617f126890aSEmmanuel Vadot snps,dis_u3_susphy_quirk; 618f126890aSEmmanuel Vadot }; 619f126890aSEmmanuel Vadot }; 620f126890aSEmmanuel Vadot 621f126890aSEmmanuel Vadot hs_phy_0: phy@100f8800 { 622f126890aSEmmanuel Vadot compatible = "qcom,ipq806x-usb-phy-hs"; 623f126890aSEmmanuel Vadot reg = <0x100f8800 0x30>; 624f126890aSEmmanuel Vadot clocks = <&gcc USB30_0_UTMI_CLK>; 625f126890aSEmmanuel Vadot clock-names = "ref"; 626f126890aSEmmanuel Vadot #phy-cells = <0>; 627f126890aSEmmanuel Vadot 628f126890aSEmmanuel Vadot status = "disabled"; 629f126890aSEmmanuel Vadot }; 630f126890aSEmmanuel Vadot 631f126890aSEmmanuel Vadot ss_phy_0: phy@100f8830 { 632f126890aSEmmanuel Vadot compatible = "qcom,ipq806x-usb-phy-ss"; 633f126890aSEmmanuel Vadot reg = <0x100f8830 0x30>; 634f126890aSEmmanuel Vadot clocks = <&gcc USB30_0_MASTER_CLK>; 635f126890aSEmmanuel Vadot clock-names = "ref"; 636f126890aSEmmanuel Vadot #phy-cells = <0>; 637f126890aSEmmanuel Vadot 638f126890aSEmmanuel Vadot status = "disabled"; 639f126890aSEmmanuel Vadot }; 640f126890aSEmmanuel Vadot 641f126890aSEmmanuel Vadot usb3_1: usb@110f8800 { 642f126890aSEmmanuel Vadot compatible = "qcom,ipq8064-dwc3", "qcom,dwc3"; 643f126890aSEmmanuel Vadot #address-cells = <1>; 644f126890aSEmmanuel Vadot #size-cells = <1>; 645f126890aSEmmanuel Vadot reg = <0x110f8800 0x8000>; 646f126890aSEmmanuel Vadot clocks = <&gcc USB30_1_MASTER_CLK>; 647f126890aSEmmanuel Vadot clock-names = "core"; 648f126890aSEmmanuel Vadot 649f126890aSEmmanuel Vadot ranges; 650f126890aSEmmanuel Vadot 651f126890aSEmmanuel Vadot resets = <&gcc USB30_1_MASTER_RESET>; 652f126890aSEmmanuel Vadot 653f126890aSEmmanuel Vadot status = "disabled"; 654f126890aSEmmanuel Vadot 655f126890aSEmmanuel Vadot dwc3_1: usb@11000000 { 656f126890aSEmmanuel Vadot compatible = "snps,dwc3"; 657f126890aSEmmanuel Vadot reg = <0x11000000 0xcd00>; 658f126890aSEmmanuel Vadot interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>; 659f126890aSEmmanuel Vadot phys = <&hs_phy_1>, <&ss_phy_1>; 660f126890aSEmmanuel Vadot phy-names = "usb2-phy", "usb3-phy"; 661f126890aSEmmanuel Vadot dr_mode = "host"; 662f126890aSEmmanuel Vadot snps,dis_u3_susphy_quirk; 663f126890aSEmmanuel Vadot }; 664f126890aSEmmanuel Vadot }; 665f126890aSEmmanuel Vadot 666f126890aSEmmanuel Vadot hs_phy_1: phy@110f8800 { 667f126890aSEmmanuel Vadot compatible = "qcom,ipq806x-usb-phy-hs"; 668f126890aSEmmanuel Vadot reg = <0x110f8800 0x30>; 669f126890aSEmmanuel Vadot clocks = <&gcc USB30_1_UTMI_CLK>; 670f126890aSEmmanuel Vadot clock-names = "ref"; 671f126890aSEmmanuel Vadot #phy-cells = <0>; 672f126890aSEmmanuel Vadot 673f126890aSEmmanuel Vadot status = "disabled"; 674f126890aSEmmanuel Vadot }; 675f126890aSEmmanuel Vadot 676f126890aSEmmanuel Vadot ss_phy_1: phy@110f8830 { 677f126890aSEmmanuel Vadot compatible = "qcom,ipq806x-usb-phy-ss"; 678f126890aSEmmanuel Vadot reg = <0x110f8830 0x30>; 679f126890aSEmmanuel Vadot clocks = <&gcc USB30_1_MASTER_CLK>; 680f126890aSEmmanuel Vadot clock-names = "ref"; 681f126890aSEmmanuel Vadot #phy-cells = <0>; 682f126890aSEmmanuel Vadot 683f126890aSEmmanuel Vadot status = "disabled"; 684f126890aSEmmanuel Vadot }; 685f126890aSEmmanuel Vadot 686f126890aSEmmanuel Vadot sdcc3bam: dma-controller@12182000 { 687f126890aSEmmanuel Vadot compatible = "qcom,bam-v1.3.0"; 688f126890aSEmmanuel Vadot reg = <0x12182000 0x8000>; 689f126890aSEmmanuel Vadot interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>; 690f126890aSEmmanuel Vadot clocks = <&gcc SDC3_H_CLK>; 691f126890aSEmmanuel Vadot clock-names = "bam_clk"; 692f126890aSEmmanuel Vadot #dma-cells = <1>; 693f126890aSEmmanuel Vadot qcom,ee = <0>; 694f126890aSEmmanuel Vadot }; 695f126890aSEmmanuel Vadot 696f126890aSEmmanuel Vadot sdcc1bam: dma-controller@12402000 { 697f126890aSEmmanuel Vadot compatible = "qcom,bam-v1.3.0"; 698f126890aSEmmanuel Vadot reg = <0x12402000 0x8000>; 699f126890aSEmmanuel Vadot interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>; 700f126890aSEmmanuel Vadot clocks = <&gcc SDC1_H_CLK>; 701f126890aSEmmanuel Vadot clock-names = "bam_clk"; 702f126890aSEmmanuel Vadot #dma-cells = <1>; 703f126890aSEmmanuel Vadot qcom,ee = <0>; 704f126890aSEmmanuel Vadot }; 705f126890aSEmmanuel Vadot 706f126890aSEmmanuel Vadot amba: amba { 707f126890aSEmmanuel Vadot compatible = "simple-bus"; 708f126890aSEmmanuel Vadot #address-cells = <1>; 709f126890aSEmmanuel Vadot #size-cells = <1>; 710f126890aSEmmanuel Vadot ranges; 711f126890aSEmmanuel Vadot 712f126890aSEmmanuel Vadot sdcc3: mmc@12180000 { 713f126890aSEmmanuel Vadot compatible = "arm,pl18x", "arm,primecell"; 714f126890aSEmmanuel Vadot arm,primecell-periphid = <0x00051180>; 715f126890aSEmmanuel Vadot status = "disabled"; 716f126890aSEmmanuel Vadot reg = <0x12180000 0x2000>; 717f126890aSEmmanuel Vadot interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>; 718f126890aSEmmanuel Vadot clocks = <&gcc SDC3_CLK>, <&gcc SDC3_H_CLK>; 719f126890aSEmmanuel Vadot clock-names = "mclk", "apb_pclk"; 720f126890aSEmmanuel Vadot bus-width = <8>; 721f126890aSEmmanuel Vadot cap-sd-highspeed; 722f126890aSEmmanuel Vadot cap-mmc-highspeed; 723f126890aSEmmanuel Vadot max-frequency = <192000000>; 724f126890aSEmmanuel Vadot sd-uhs-sdr104; 725f126890aSEmmanuel Vadot sd-uhs-ddr50; 726f126890aSEmmanuel Vadot vqmmc-supply = <&vsdcc_fixed>; 727f126890aSEmmanuel Vadot dmas = <&sdcc3bam 2>, <&sdcc3bam 1>; 728f126890aSEmmanuel Vadot dma-names = "tx", "rx"; 729f126890aSEmmanuel Vadot }; 730f126890aSEmmanuel Vadot 731f126890aSEmmanuel Vadot sdcc1: mmc@12400000 { 732f126890aSEmmanuel Vadot status = "disabled"; 733f126890aSEmmanuel Vadot compatible = "arm,pl18x", "arm,primecell"; 734f126890aSEmmanuel Vadot arm,primecell-periphid = <0x00051180>; 735f126890aSEmmanuel Vadot reg = <0x12400000 0x2000>; 736f126890aSEmmanuel Vadot interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>; 737f126890aSEmmanuel Vadot clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>; 738f126890aSEmmanuel Vadot clock-names = "mclk", "apb_pclk"; 739f126890aSEmmanuel Vadot bus-width = <8>; 740f126890aSEmmanuel Vadot max-frequency = <96000000>; 741f126890aSEmmanuel Vadot non-removable; 742f126890aSEmmanuel Vadot cap-sd-highspeed; 743f126890aSEmmanuel Vadot cap-mmc-highspeed; 744f126890aSEmmanuel Vadot vmmc-supply = <&vsdcc_fixed>; 745f126890aSEmmanuel Vadot dmas = <&sdcc1bam 2>, <&sdcc1bam 1>; 746f126890aSEmmanuel Vadot dma-names = "tx", "rx"; 747f126890aSEmmanuel Vadot }; 748f126890aSEmmanuel Vadot }; 749f126890aSEmmanuel Vadot 750f126890aSEmmanuel Vadot gsbi1: gsbi@12440000 { 751f126890aSEmmanuel Vadot compatible = "qcom,gsbi-v1.0.0"; 752f126890aSEmmanuel Vadot reg = <0x12440000 0x100>; 753f126890aSEmmanuel Vadot cell-index = <1>; 754f126890aSEmmanuel Vadot clocks = <&gcc GSBI1_H_CLK>; 755f126890aSEmmanuel Vadot clock-names = "iface"; 756f126890aSEmmanuel Vadot #address-cells = <1>; 757f126890aSEmmanuel Vadot #size-cells = <1>; 758f126890aSEmmanuel Vadot ranges; 759f126890aSEmmanuel Vadot 760f126890aSEmmanuel Vadot syscon-tcsr = <&tcsr>; 761f126890aSEmmanuel Vadot 762f126890aSEmmanuel Vadot status = "disabled"; 763f126890aSEmmanuel Vadot 764f126890aSEmmanuel Vadot gsbi1_serial: serial@12450000 { 765f126890aSEmmanuel Vadot compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm"; 766f126890aSEmmanuel Vadot reg = <0x12450000 0x100>, 767f126890aSEmmanuel Vadot <0x12400000 0x03>; 768f126890aSEmmanuel Vadot interrupts = <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>; 769f126890aSEmmanuel Vadot clocks = <&gcc GSBI1_UART_CLK>, <&gcc GSBI1_H_CLK>; 770f126890aSEmmanuel Vadot clock-names = "core", "iface"; 771f126890aSEmmanuel Vadot 772f126890aSEmmanuel Vadot status = "disabled"; 773f126890aSEmmanuel Vadot }; 774f126890aSEmmanuel Vadot 775f126890aSEmmanuel Vadot gsbi1_i2c: i2c@12460000 { 776f126890aSEmmanuel Vadot compatible = "qcom,i2c-qup-v1.1.1"; 777f126890aSEmmanuel Vadot reg = <0x12460000 0x1000>; 778f126890aSEmmanuel Vadot interrupts = <GIC_SPI 194 IRQ_TYPE_LEVEL_HIGH>; 779f126890aSEmmanuel Vadot clocks = <&gcc GSBI1_QUP_CLK>, <&gcc GSBI1_H_CLK>; 780f126890aSEmmanuel Vadot clock-names = "core", "iface"; 781f126890aSEmmanuel Vadot #address-cells = <1>; 782f126890aSEmmanuel Vadot #size-cells = <0>; 783f126890aSEmmanuel Vadot 784f126890aSEmmanuel Vadot status = "disabled"; 785f126890aSEmmanuel Vadot }; 786f126890aSEmmanuel Vadot }; 787f126890aSEmmanuel Vadot 788f126890aSEmmanuel Vadot gsbi2: gsbi@12480000 { 789f126890aSEmmanuel Vadot compatible = "qcom,gsbi-v1.0.0"; 790f126890aSEmmanuel Vadot cell-index = <2>; 791f126890aSEmmanuel Vadot reg = <0x12480000 0x100>; 792f126890aSEmmanuel Vadot clocks = <&gcc GSBI2_H_CLK>; 793f126890aSEmmanuel Vadot clock-names = "iface"; 794f126890aSEmmanuel Vadot #address-cells = <1>; 795f126890aSEmmanuel Vadot #size-cells = <1>; 796f126890aSEmmanuel Vadot ranges; 797f126890aSEmmanuel Vadot status = "disabled"; 798f126890aSEmmanuel Vadot 799f126890aSEmmanuel Vadot syscon-tcsr = <&tcsr>; 800f126890aSEmmanuel Vadot 801f126890aSEmmanuel Vadot gsbi2_serial: serial@12490000 { 802f126890aSEmmanuel Vadot compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm"; 803f126890aSEmmanuel Vadot reg = <0x12490000 0x1000>, 804f126890aSEmmanuel Vadot <0x12480000 0x1000>; 805f126890aSEmmanuel Vadot interrupts = <GIC_SPI 195 IRQ_TYPE_LEVEL_HIGH>; 806f126890aSEmmanuel Vadot clocks = <&gcc GSBI2_UART_CLK>, <&gcc GSBI2_H_CLK>; 807f126890aSEmmanuel Vadot clock-names = "core", "iface"; 808f126890aSEmmanuel Vadot status = "disabled"; 809f126890aSEmmanuel Vadot }; 810f126890aSEmmanuel Vadot 811f126890aSEmmanuel Vadot gsbi2_i2c: i2c@124a0000 { 812f126890aSEmmanuel Vadot compatible = "qcom,i2c-qup-v1.1.1"; 813f126890aSEmmanuel Vadot reg = <0x124a0000 0x1000>; 814f126890aSEmmanuel Vadot interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>; 815f126890aSEmmanuel Vadot 816f126890aSEmmanuel Vadot clocks = <&gcc GSBI2_QUP_CLK>, <&gcc GSBI2_H_CLK>; 817f126890aSEmmanuel Vadot clock-names = "core", "iface"; 818f126890aSEmmanuel Vadot status = "disabled"; 819f126890aSEmmanuel Vadot 820f126890aSEmmanuel Vadot #address-cells = <1>; 821f126890aSEmmanuel Vadot #size-cells = <0>; 822f126890aSEmmanuel Vadot }; 823f126890aSEmmanuel Vadot }; 824f126890aSEmmanuel Vadot 825f126890aSEmmanuel Vadot gsbi4: gsbi@16300000 { 826f126890aSEmmanuel Vadot compatible = "qcom,gsbi-v1.0.0"; 827f126890aSEmmanuel Vadot cell-index = <4>; 828f126890aSEmmanuel Vadot reg = <0x16300000 0x100>; 829f126890aSEmmanuel Vadot clocks = <&gcc GSBI4_H_CLK>; 830f126890aSEmmanuel Vadot clock-names = "iface"; 831f126890aSEmmanuel Vadot #address-cells = <1>; 832f126890aSEmmanuel Vadot #size-cells = <1>; 833f126890aSEmmanuel Vadot ranges; 834f126890aSEmmanuel Vadot status = "disabled"; 835f126890aSEmmanuel Vadot 836f126890aSEmmanuel Vadot syscon-tcsr = <&tcsr>; 837f126890aSEmmanuel Vadot 838f126890aSEmmanuel Vadot gsbi4_serial: serial@16340000 { 839f126890aSEmmanuel Vadot compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm"; 840f126890aSEmmanuel Vadot reg = <0x16340000 0x1000>, 841f126890aSEmmanuel Vadot <0x16300000 0x1000>; 842f126890aSEmmanuel Vadot interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>; 843f126890aSEmmanuel Vadot clocks = <&gcc GSBI4_UART_CLK>, <&gcc GSBI4_H_CLK>; 844f126890aSEmmanuel Vadot clock-names = "core", "iface"; 845f126890aSEmmanuel Vadot status = "disabled"; 846f126890aSEmmanuel Vadot }; 847f126890aSEmmanuel Vadot 848f126890aSEmmanuel Vadot i2c@16380000 { 849f126890aSEmmanuel Vadot compatible = "qcom,i2c-qup-v1.1.1"; 850f126890aSEmmanuel Vadot reg = <0x16380000 0x1000>; 851f126890aSEmmanuel Vadot interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>; 852f126890aSEmmanuel Vadot 853f126890aSEmmanuel Vadot clocks = <&gcc GSBI4_QUP_CLK>, <&gcc GSBI4_H_CLK>; 854f126890aSEmmanuel Vadot clock-names = "core", "iface"; 855f126890aSEmmanuel Vadot status = "disabled"; 856f126890aSEmmanuel Vadot 857f126890aSEmmanuel Vadot #address-cells = <1>; 858f126890aSEmmanuel Vadot #size-cells = <0>; 859f126890aSEmmanuel Vadot }; 860f126890aSEmmanuel Vadot }; 861f126890aSEmmanuel Vadot 862f126890aSEmmanuel Vadot gsbi6: gsbi@16500000 { 863f126890aSEmmanuel Vadot compatible = "qcom,gsbi-v1.0.0"; 864f126890aSEmmanuel Vadot reg = <0x16500000 0x100>; 865f126890aSEmmanuel Vadot cell-index = <6>; 866f126890aSEmmanuel Vadot clocks = <&gcc GSBI6_H_CLK>; 867f126890aSEmmanuel Vadot clock-names = "iface"; 868f126890aSEmmanuel Vadot #address-cells = <1>; 869f126890aSEmmanuel Vadot #size-cells = <1>; 870f126890aSEmmanuel Vadot ranges; 871f126890aSEmmanuel Vadot 872f126890aSEmmanuel Vadot syscon-tcsr = <&tcsr>; 873f126890aSEmmanuel Vadot 874f126890aSEmmanuel Vadot status = "disabled"; 875f126890aSEmmanuel Vadot 876f126890aSEmmanuel Vadot gsbi6_i2c: i2c@16580000 { 877f126890aSEmmanuel Vadot compatible = "qcom,i2c-qup-v1.1.1"; 878f126890aSEmmanuel Vadot reg = <0x16580000 0x1000>; 879f126890aSEmmanuel Vadot interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>; 880f126890aSEmmanuel Vadot 881f126890aSEmmanuel Vadot clocks = <&gcc GSBI6_QUP_CLK>, <&gcc GSBI6_H_CLK>; 882f126890aSEmmanuel Vadot clock-names = "core", "iface"; 883f126890aSEmmanuel Vadot 884f126890aSEmmanuel Vadot #address-cells = <1>; 885f126890aSEmmanuel Vadot #size-cells = <0>; 886f126890aSEmmanuel Vadot 887f126890aSEmmanuel Vadot status = "disabled"; 888f126890aSEmmanuel Vadot }; 889f126890aSEmmanuel Vadot 890f126890aSEmmanuel Vadot gsbi6_spi: spi@16580000 { 891f126890aSEmmanuel Vadot compatible = "qcom,spi-qup-v1.1.1"; 892f126890aSEmmanuel Vadot reg = <0x16580000 0x1000>; 893f126890aSEmmanuel Vadot interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>; 894f126890aSEmmanuel Vadot 895f126890aSEmmanuel Vadot clocks = <&gcc GSBI6_QUP_CLK>, <&gcc GSBI6_H_CLK>; 896f126890aSEmmanuel Vadot clock-names = "core", "iface"; 897f126890aSEmmanuel Vadot 898f126890aSEmmanuel Vadot #address-cells = <1>; 899f126890aSEmmanuel Vadot #size-cells = <0>; 900f126890aSEmmanuel Vadot 901f126890aSEmmanuel Vadot status = "disabled"; 902f126890aSEmmanuel Vadot }; 903f126890aSEmmanuel Vadot }; 904f126890aSEmmanuel Vadot 905f126890aSEmmanuel Vadot gsbi7: gsbi@16600000 { 906f126890aSEmmanuel Vadot status = "disabled"; 907f126890aSEmmanuel Vadot compatible = "qcom,gsbi-v1.0.0"; 908f126890aSEmmanuel Vadot cell-index = <7>; 909f126890aSEmmanuel Vadot reg = <0x16600000 0x100>; 910f126890aSEmmanuel Vadot clocks = <&gcc GSBI7_H_CLK>; 911f126890aSEmmanuel Vadot clock-names = "iface"; 912f126890aSEmmanuel Vadot #address-cells = <1>; 913f126890aSEmmanuel Vadot #size-cells = <1>; 914f126890aSEmmanuel Vadot ranges; 915f126890aSEmmanuel Vadot syscon-tcsr = <&tcsr>; 916f126890aSEmmanuel Vadot 917f126890aSEmmanuel Vadot gsbi7_serial: serial@16640000 { 918f126890aSEmmanuel Vadot compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm"; 919f126890aSEmmanuel Vadot reg = <0x16640000 0x1000>, 920f126890aSEmmanuel Vadot <0x16600000 0x1000>; 921f126890aSEmmanuel Vadot interrupts = <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>; 922f126890aSEmmanuel Vadot clocks = <&gcc GSBI7_UART_CLK>, <&gcc GSBI7_H_CLK>; 923f126890aSEmmanuel Vadot clock-names = "core", "iface"; 924f126890aSEmmanuel Vadot status = "disabled"; 925f126890aSEmmanuel Vadot }; 926f126890aSEmmanuel Vadot 927f126890aSEmmanuel Vadot gsbi7_i2c: i2c@16680000 { 928f126890aSEmmanuel Vadot compatible = "qcom,i2c-qup-v1.1.1"; 929f126890aSEmmanuel Vadot reg = <0x16680000 0x1000>; 930f126890aSEmmanuel Vadot interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>; 931f126890aSEmmanuel Vadot 932f126890aSEmmanuel Vadot clocks = <&gcc GSBI7_QUP_CLK>, <&gcc GSBI7_H_CLK>; 933f126890aSEmmanuel Vadot clock-names = "core", "iface"; 934f126890aSEmmanuel Vadot 935f126890aSEmmanuel Vadot #address-cells = <1>; 936f126890aSEmmanuel Vadot #size-cells = <0>; 937f126890aSEmmanuel Vadot 938f126890aSEmmanuel Vadot status = "disabled"; 939f126890aSEmmanuel Vadot }; 940f126890aSEmmanuel Vadot }; 941f126890aSEmmanuel Vadot 942f126890aSEmmanuel Vadot adm_dma: dma-controller@18300000 { 943f126890aSEmmanuel Vadot compatible = "qcom,adm"; 944f126890aSEmmanuel Vadot reg = <0x18300000 0x100000>; 945f126890aSEmmanuel Vadot interrupts = <GIC_SPI 170 IRQ_TYPE_LEVEL_HIGH>; 946f126890aSEmmanuel Vadot #dma-cells = <1>; 947f126890aSEmmanuel Vadot 948f126890aSEmmanuel Vadot clocks = <&gcc ADM0_CLK>, <&gcc ADM0_PBUS_CLK>; 949f126890aSEmmanuel Vadot clock-names = "core", "iface"; 950f126890aSEmmanuel Vadot 951f126890aSEmmanuel Vadot resets = <&gcc ADM0_RESET>, 952f126890aSEmmanuel Vadot <&gcc ADM0_PBUS_RESET>, 953f126890aSEmmanuel Vadot <&gcc ADM0_C0_RESET>, 954f126890aSEmmanuel Vadot <&gcc ADM0_C1_RESET>, 955f126890aSEmmanuel Vadot <&gcc ADM0_C2_RESET>; 956f126890aSEmmanuel Vadot reset-names = "clk", "pbus", "c0", "c1", "c2"; 957f126890aSEmmanuel Vadot qcom,ee = <0>; 958f126890aSEmmanuel Vadot 959f126890aSEmmanuel Vadot status = "disabled"; 960f126890aSEmmanuel Vadot }; 961f126890aSEmmanuel Vadot 962f126890aSEmmanuel Vadot gsbi5: gsbi@1a200000 { 963f126890aSEmmanuel Vadot compatible = "qcom,gsbi-v1.0.0"; 964f126890aSEmmanuel Vadot cell-index = <5>; 965f126890aSEmmanuel Vadot reg = <0x1a200000 0x100>; 966f126890aSEmmanuel Vadot clocks = <&gcc GSBI5_H_CLK>; 967f126890aSEmmanuel Vadot clock-names = "iface"; 968f126890aSEmmanuel Vadot #address-cells = <1>; 969f126890aSEmmanuel Vadot 970f126890aSEmmanuel Vadot #size-cells = <1>; 971f126890aSEmmanuel Vadot ranges; 972f126890aSEmmanuel Vadot status = "disabled"; 973f126890aSEmmanuel Vadot 974f126890aSEmmanuel Vadot syscon-tcsr = <&tcsr>; 975f126890aSEmmanuel Vadot 976f126890aSEmmanuel Vadot gsbi5_serial: serial@1a240000 { 977f126890aSEmmanuel Vadot compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm"; 978f126890aSEmmanuel Vadot reg = <0x1a240000 0x1000>, 979f126890aSEmmanuel Vadot <0x1a200000 0x1000>; 980f126890aSEmmanuel Vadot interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>; 981f126890aSEmmanuel Vadot clocks = <&gcc GSBI5_UART_CLK>, <&gcc GSBI5_H_CLK>; 982f126890aSEmmanuel Vadot clock-names = "core", "iface"; 983f126890aSEmmanuel Vadot status = "disabled"; 984f126890aSEmmanuel Vadot }; 985f126890aSEmmanuel Vadot 986f126890aSEmmanuel Vadot i2c@1a280000 { 987f126890aSEmmanuel Vadot compatible = "qcom,i2c-qup-v1.1.1"; 988f126890aSEmmanuel Vadot reg = <0x1a280000 0x1000>; 989f126890aSEmmanuel Vadot interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>; 990f126890aSEmmanuel Vadot 991f126890aSEmmanuel Vadot clocks = <&gcc GSBI5_QUP_CLK>, <&gcc GSBI5_H_CLK>; 992f126890aSEmmanuel Vadot clock-names = "core", "iface"; 993f126890aSEmmanuel Vadot status = "disabled"; 994f126890aSEmmanuel Vadot 995f126890aSEmmanuel Vadot #address-cells = <1>; 996f126890aSEmmanuel Vadot #size-cells = <0>; 997f126890aSEmmanuel Vadot }; 998f126890aSEmmanuel Vadot 999f126890aSEmmanuel Vadot spi@1a280000 { 1000f126890aSEmmanuel Vadot compatible = "qcom,spi-qup-v1.1.1"; 1001f126890aSEmmanuel Vadot reg = <0x1a280000 0x1000>; 1002f126890aSEmmanuel Vadot interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>; 1003f126890aSEmmanuel Vadot 1004f126890aSEmmanuel Vadot clocks = <&gcc GSBI5_QUP_CLK>, <&gcc GSBI5_H_CLK>; 1005f126890aSEmmanuel Vadot clock-names = "core", "iface"; 1006f126890aSEmmanuel Vadot status = "disabled"; 1007f126890aSEmmanuel Vadot 1008f126890aSEmmanuel Vadot #address-cells = <1>; 1009f126890aSEmmanuel Vadot #size-cells = <0>; 1010f126890aSEmmanuel Vadot }; 1011f126890aSEmmanuel Vadot }; 1012f126890aSEmmanuel Vadot 1013f126890aSEmmanuel Vadot tcsr: syscon@1a400000 { 1014f126890aSEmmanuel Vadot compatible = "qcom,tcsr-ipq8064", "syscon"; 1015f126890aSEmmanuel Vadot reg = <0x1a400000 0x100>; 1016f126890aSEmmanuel Vadot }; 1017f126890aSEmmanuel Vadot 1018f126890aSEmmanuel Vadot rng@1a500000 { 1019f126890aSEmmanuel Vadot compatible = "qcom,prng"; 1020f126890aSEmmanuel Vadot reg = <0x1a500000 0x200>; 1021f126890aSEmmanuel Vadot clocks = <&gcc PRNG_CLK>; 1022f126890aSEmmanuel Vadot clock-names = "core"; 1023f126890aSEmmanuel Vadot }; 1024f126890aSEmmanuel Vadot 1025f126890aSEmmanuel Vadot nand: nand-controller@1ac00000 { 1026f126890aSEmmanuel Vadot compatible = "qcom,ipq806x-nand"; 1027f126890aSEmmanuel Vadot reg = <0x1ac00000 0x800>; 1028f126890aSEmmanuel Vadot 1029f126890aSEmmanuel Vadot pinctrl-0 = <&nand_pins>; 1030f126890aSEmmanuel Vadot pinctrl-names = "default"; 1031f126890aSEmmanuel Vadot 1032f126890aSEmmanuel Vadot clocks = <&gcc EBI2_CLK>, 1033f126890aSEmmanuel Vadot <&gcc EBI2_AON_CLK>; 1034f126890aSEmmanuel Vadot clock-names = "core", "aon"; 1035f126890aSEmmanuel Vadot 1036f126890aSEmmanuel Vadot dmas = <&adm_dma 3>; 1037f126890aSEmmanuel Vadot dma-names = "rxtx"; 1038f126890aSEmmanuel Vadot qcom,cmd-crci = <15>; 1039f126890aSEmmanuel Vadot qcom,data-crci = <3>; 1040f126890aSEmmanuel Vadot 1041f126890aSEmmanuel Vadot #address-cells = <1>; 1042f126890aSEmmanuel Vadot #size-cells = <0>; 1043f126890aSEmmanuel Vadot 1044f126890aSEmmanuel Vadot status = "disabled"; 1045f126890aSEmmanuel Vadot }; 1046f126890aSEmmanuel Vadot 1047f126890aSEmmanuel Vadot sata_phy: sata-phy@1b400000 { 1048f126890aSEmmanuel Vadot compatible = "qcom,ipq806x-sata-phy"; 1049f126890aSEmmanuel Vadot reg = <0x1b400000 0x200>; 1050f126890aSEmmanuel Vadot 1051f126890aSEmmanuel Vadot clocks = <&gcc SATA_PHY_CFG_CLK>; 1052f126890aSEmmanuel Vadot clock-names = "cfg"; 1053f126890aSEmmanuel Vadot 1054f126890aSEmmanuel Vadot #phy-cells = <0>; 1055f126890aSEmmanuel Vadot status = "disabled"; 1056f126890aSEmmanuel Vadot }; 1057f126890aSEmmanuel Vadot 10588d13bc63SEmmanuel Vadot pcie0: pcie@1b500000 { 1059f126890aSEmmanuel Vadot compatible = "qcom,pcie-ipq8064"; 1060f126890aSEmmanuel Vadot reg = <0x1b500000 0x1000 1061f126890aSEmmanuel Vadot 0x1b502000 0x80 1062f126890aSEmmanuel Vadot 0x1b600000 0x100 1063f126890aSEmmanuel Vadot 0x0ff00000 0x100000>; 1064f126890aSEmmanuel Vadot reg-names = "dbi", "elbi", "parf", "config"; 1065f126890aSEmmanuel Vadot device_type = "pci"; 1066f126890aSEmmanuel Vadot linux,pci-domain = <0>; 1067f126890aSEmmanuel Vadot bus-range = <0x00 0xff>; 1068f126890aSEmmanuel Vadot num-lanes = <1>; 1069f126890aSEmmanuel Vadot #address-cells = <3>; 1070f126890aSEmmanuel Vadot #size-cells = <2>; 1071f126890aSEmmanuel Vadot 1072f126890aSEmmanuel Vadot ranges = <0x81000000 0x0 0x00000000 0x0fe00000 0x0 0x00010000 /* I/O */ 1073f126890aSEmmanuel Vadot 0x82000000 0x0 0x08000000 0x08000000 0x0 0x07e00000>; /* MEM */ 1074f126890aSEmmanuel Vadot 1075f126890aSEmmanuel Vadot interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; 1076f126890aSEmmanuel Vadot interrupt-names = "msi"; 1077f126890aSEmmanuel Vadot #interrupt-cells = <1>; 1078f126890aSEmmanuel Vadot interrupt-map-mask = <0 0 0 0x7>; 1079f126890aSEmmanuel Vadot interrupt-map = <0 0 0 1 &intc 0 36 IRQ_TYPE_LEVEL_HIGH>, /* int_a */ 1080f126890aSEmmanuel Vadot <0 0 0 2 &intc 0 37 IRQ_TYPE_LEVEL_HIGH>, /* int_b */ 1081f126890aSEmmanuel Vadot <0 0 0 3 &intc 0 38 IRQ_TYPE_LEVEL_HIGH>, /* int_c */ 1082f126890aSEmmanuel Vadot <0 0 0 4 &intc 0 39 IRQ_TYPE_LEVEL_HIGH>; /* int_d */ 1083f126890aSEmmanuel Vadot 1084f126890aSEmmanuel Vadot clocks = <&gcc PCIE_A_CLK>, 1085f126890aSEmmanuel Vadot <&gcc PCIE_H_CLK>, 1086f126890aSEmmanuel Vadot <&gcc PCIE_PHY_CLK>, 1087f126890aSEmmanuel Vadot <&gcc PCIE_AUX_CLK>, 1088f126890aSEmmanuel Vadot <&gcc PCIE_ALT_REF_CLK>; 1089f126890aSEmmanuel Vadot clock-names = "core", "iface", "phy", "aux", "ref"; 1090f126890aSEmmanuel Vadot 1091f126890aSEmmanuel Vadot assigned-clocks = <&gcc PCIE_ALT_REF_CLK>; 1092f126890aSEmmanuel Vadot assigned-clock-rates = <100000000>; 1093f126890aSEmmanuel Vadot 1094f126890aSEmmanuel Vadot resets = <&gcc PCIE_ACLK_RESET>, 1095f126890aSEmmanuel Vadot <&gcc PCIE_HCLK_RESET>, 1096f126890aSEmmanuel Vadot <&gcc PCIE_POR_RESET>, 1097f126890aSEmmanuel Vadot <&gcc PCIE_PCI_RESET>, 1098f126890aSEmmanuel Vadot <&gcc PCIE_PHY_RESET>, 1099f126890aSEmmanuel Vadot <&gcc PCIE_EXT_RESET>; 1100f126890aSEmmanuel Vadot reset-names = "axi", "ahb", "por", "pci", "phy", "ext"; 1101f126890aSEmmanuel Vadot 1102f126890aSEmmanuel Vadot pinctrl-0 = <&pcie0_pins>; 1103f126890aSEmmanuel Vadot pinctrl-names = "default"; 1104f126890aSEmmanuel Vadot 1105f126890aSEmmanuel Vadot status = "disabled"; 1106f126890aSEmmanuel Vadot perst-gpios = <&qcom_pinmux 3 GPIO_ACTIVE_LOW>; 11077d0873ebSEmmanuel Vadot 11087d0873ebSEmmanuel Vadot pcie@0 { 11097d0873ebSEmmanuel Vadot device_type = "pci"; 11107d0873ebSEmmanuel Vadot reg = <0x0 0x0 0x0 0x0 0x0>; 11117d0873ebSEmmanuel Vadot bus-range = <0x01 0xff>; 11127d0873ebSEmmanuel Vadot 11137d0873ebSEmmanuel Vadot #address-cells = <3>; 11147d0873ebSEmmanuel Vadot #size-cells = <2>; 11157d0873ebSEmmanuel Vadot ranges; 11167d0873ebSEmmanuel Vadot }; 1117f126890aSEmmanuel Vadot }; 1118f126890aSEmmanuel Vadot 11198d13bc63SEmmanuel Vadot pcie1: pcie@1b700000 { 1120f126890aSEmmanuel Vadot compatible = "qcom,pcie-ipq8064"; 1121f126890aSEmmanuel Vadot reg = <0x1b700000 0x1000 1122f126890aSEmmanuel Vadot 0x1b702000 0x80 1123f126890aSEmmanuel Vadot 0x1b800000 0x100 1124f126890aSEmmanuel Vadot 0x31f00000 0x100000>; 1125f126890aSEmmanuel Vadot reg-names = "dbi", "elbi", "parf", "config"; 1126f126890aSEmmanuel Vadot device_type = "pci"; 1127f126890aSEmmanuel Vadot linux,pci-domain = <1>; 1128f126890aSEmmanuel Vadot bus-range = <0x00 0xff>; 1129f126890aSEmmanuel Vadot num-lanes = <1>; 1130f126890aSEmmanuel Vadot #address-cells = <3>; 1131f126890aSEmmanuel Vadot #size-cells = <2>; 1132f126890aSEmmanuel Vadot 1133f126890aSEmmanuel Vadot ranges = <0x81000000 0x0 0x00000000 0x31e00000 0x0 0x00010000 /* I/O */ 1134f126890aSEmmanuel Vadot 0x82000000 0x0 0x2e000000 0x2e000000 0x0 0x03e00000>; /* MEM */ 1135f126890aSEmmanuel Vadot 1136f126890aSEmmanuel Vadot interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>; 1137f126890aSEmmanuel Vadot interrupt-names = "msi"; 1138f126890aSEmmanuel Vadot #interrupt-cells = <1>; 1139f126890aSEmmanuel Vadot interrupt-map-mask = <0 0 0 0x7>; 1140f126890aSEmmanuel Vadot interrupt-map = <0 0 0 1 &intc 0 58 IRQ_TYPE_LEVEL_HIGH>, /* int_a */ 1141f126890aSEmmanuel Vadot <0 0 0 2 &intc 0 59 IRQ_TYPE_LEVEL_HIGH>, /* int_b */ 1142f126890aSEmmanuel Vadot <0 0 0 3 &intc 0 60 IRQ_TYPE_LEVEL_HIGH>, /* int_c */ 1143f126890aSEmmanuel Vadot <0 0 0 4 &intc 0 61 IRQ_TYPE_LEVEL_HIGH>; /* int_d */ 1144f126890aSEmmanuel Vadot 1145f126890aSEmmanuel Vadot clocks = <&gcc PCIE_1_A_CLK>, 1146f126890aSEmmanuel Vadot <&gcc PCIE_1_H_CLK>, 1147f126890aSEmmanuel Vadot <&gcc PCIE_1_PHY_CLK>, 1148f126890aSEmmanuel Vadot <&gcc PCIE_1_AUX_CLK>, 1149f126890aSEmmanuel Vadot <&gcc PCIE_1_ALT_REF_CLK>; 1150f126890aSEmmanuel Vadot clock-names = "core", "iface", "phy", "aux", "ref"; 1151f126890aSEmmanuel Vadot 1152f126890aSEmmanuel Vadot assigned-clocks = <&gcc PCIE_1_ALT_REF_CLK>; 1153f126890aSEmmanuel Vadot assigned-clock-rates = <100000000>; 1154f126890aSEmmanuel Vadot 1155f126890aSEmmanuel Vadot resets = <&gcc PCIE_1_ACLK_RESET>, 1156f126890aSEmmanuel Vadot <&gcc PCIE_1_HCLK_RESET>, 1157f126890aSEmmanuel Vadot <&gcc PCIE_1_POR_RESET>, 1158f126890aSEmmanuel Vadot <&gcc PCIE_1_PCI_RESET>, 1159f126890aSEmmanuel Vadot <&gcc PCIE_1_PHY_RESET>, 1160f126890aSEmmanuel Vadot <&gcc PCIE_1_EXT_RESET>; 1161f126890aSEmmanuel Vadot reset-names = "axi", "ahb", "por", "pci", "phy", "ext"; 1162f126890aSEmmanuel Vadot 1163f126890aSEmmanuel Vadot pinctrl-0 = <&pcie1_pins>; 1164f126890aSEmmanuel Vadot pinctrl-names = "default"; 1165f126890aSEmmanuel Vadot 1166f126890aSEmmanuel Vadot status = "disabled"; 1167f126890aSEmmanuel Vadot perst-gpios = <&qcom_pinmux 48 GPIO_ACTIVE_LOW>; 11687d0873ebSEmmanuel Vadot 11697d0873ebSEmmanuel Vadot pcie@0 { 11707d0873ebSEmmanuel Vadot device_type = "pci"; 11717d0873ebSEmmanuel Vadot reg = <0x0 0x0 0x0 0x0 0x0>; 11727d0873ebSEmmanuel Vadot bus-range = <0x01 0xff>; 11737d0873ebSEmmanuel Vadot 11747d0873ebSEmmanuel Vadot #address-cells = <3>; 11757d0873ebSEmmanuel Vadot #size-cells = <2>; 11767d0873ebSEmmanuel Vadot ranges; 11777d0873ebSEmmanuel Vadot }; 1178f126890aSEmmanuel Vadot }; 1179f126890aSEmmanuel Vadot 11808d13bc63SEmmanuel Vadot pcie2: pcie@1b900000 { 1181f126890aSEmmanuel Vadot compatible = "qcom,pcie-ipq8064"; 1182f126890aSEmmanuel Vadot reg = <0x1b900000 0x1000 1183f126890aSEmmanuel Vadot 0x1b902000 0x80 1184f126890aSEmmanuel Vadot 0x1ba00000 0x100 1185f126890aSEmmanuel Vadot 0x35f00000 0x100000>; 1186f126890aSEmmanuel Vadot reg-names = "dbi", "elbi", "parf", "config"; 1187f126890aSEmmanuel Vadot device_type = "pci"; 1188f126890aSEmmanuel Vadot linux,pci-domain = <2>; 1189f126890aSEmmanuel Vadot bus-range = <0x00 0xff>; 1190f126890aSEmmanuel Vadot num-lanes = <1>; 1191f126890aSEmmanuel Vadot #address-cells = <3>; 1192f126890aSEmmanuel Vadot #size-cells = <2>; 1193f126890aSEmmanuel Vadot 1194f126890aSEmmanuel Vadot ranges = <0x81000000 0x0 0x00000000 0x35e00000 0x0 0x00010000 /* I/O */ 1195f126890aSEmmanuel Vadot 0x82000000 0x0 0x32000000 0x32000000 0x0 0x03e00000>; /* MEM */ 1196f126890aSEmmanuel Vadot 1197f126890aSEmmanuel Vadot interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>; 1198f126890aSEmmanuel Vadot interrupt-names = "msi"; 1199f126890aSEmmanuel Vadot #interrupt-cells = <1>; 1200f126890aSEmmanuel Vadot interrupt-map-mask = <0 0 0 0x7>; 1201f126890aSEmmanuel Vadot interrupt-map = <0 0 0 1 &intc 0 72 IRQ_TYPE_LEVEL_HIGH>, /* int_a */ 1202f126890aSEmmanuel Vadot <0 0 0 2 &intc 0 73 IRQ_TYPE_LEVEL_HIGH>, /* int_b */ 1203f126890aSEmmanuel Vadot <0 0 0 3 &intc 0 74 IRQ_TYPE_LEVEL_HIGH>, /* int_c */ 1204f126890aSEmmanuel Vadot <0 0 0 4 &intc 0 75 IRQ_TYPE_LEVEL_HIGH>; /* int_d */ 1205f126890aSEmmanuel Vadot 1206f126890aSEmmanuel Vadot clocks = <&gcc PCIE_2_A_CLK>, 1207f126890aSEmmanuel Vadot <&gcc PCIE_2_H_CLK>, 1208f126890aSEmmanuel Vadot <&gcc PCIE_2_PHY_CLK>, 1209f126890aSEmmanuel Vadot <&gcc PCIE_2_AUX_CLK>, 1210f126890aSEmmanuel Vadot <&gcc PCIE_2_ALT_REF_CLK>; 1211f126890aSEmmanuel Vadot clock-names = "core", "iface", "phy", "aux", "ref"; 1212f126890aSEmmanuel Vadot 1213f126890aSEmmanuel Vadot assigned-clocks = <&gcc PCIE_2_ALT_REF_CLK>; 1214f126890aSEmmanuel Vadot assigned-clock-rates = <100000000>; 1215f126890aSEmmanuel Vadot 1216f126890aSEmmanuel Vadot resets = <&gcc PCIE_2_ACLK_RESET>, 1217f126890aSEmmanuel Vadot <&gcc PCIE_2_HCLK_RESET>, 1218f126890aSEmmanuel Vadot <&gcc PCIE_2_POR_RESET>, 1219f126890aSEmmanuel Vadot <&gcc PCIE_2_PCI_RESET>, 1220f126890aSEmmanuel Vadot <&gcc PCIE_2_PHY_RESET>, 1221f126890aSEmmanuel Vadot <&gcc PCIE_2_EXT_RESET>; 1222f126890aSEmmanuel Vadot reset-names = "axi", "ahb", "por", "pci", "phy", "ext"; 1223f126890aSEmmanuel Vadot 1224f126890aSEmmanuel Vadot pinctrl-0 = <&pcie2_pins>; 1225f126890aSEmmanuel Vadot pinctrl-names = "default"; 1226f126890aSEmmanuel Vadot 1227f126890aSEmmanuel Vadot status = "disabled"; 1228f126890aSEmmanuel Vadot perst-gpios = <&qcom_pinmux 63 GPIO_ACTIVE_LOW>; 12297d0873ebSEmmanuel Vadot 12307d0873ebSEmmanuel Vadot pcie@0 { 12317d0873ebSEmmanuel Vadot device_type = "pci"; 12327d0873ebSEmmanuel Vadot reg = <0x0 0x0 0x0 0x0 0x0>; 12337d0873ebSEmmanuel Vadot bus-range = <0x01 0xff>; 12347d0873ebSEmmanuel Vadot 12357d0873ebSEmmanuel Vadot #address-cells = <3>; 12367d0873ebSEmmanuel Vadot #size-cells = <2>; 12377d0873ebSEmmanuel Vadot ranges; 12387d0873ebSEmmanuel Vadot }; 1239f126890aSEmmanuel Vadot }; 1240f126890aSEmmanuel Vadot 1241f126890aSEmmanuel Vadot qsgmii_csr: syscon@1bb00000 { 1242f126890aSEmmanuel Vadot compatible = "syscon"; 1243f126890aSEmmanuel Vadot reg = <0x1bb00000 0x000001FF>; 1244f126890aSEmmanuel Vadot }; 1245f126890aSEmmanuel Vadot 1246f126890aSEmmanuel Vadot lcc: clock-controller@28000000 { 1247f126890aSEmmanuel Vadot compatible = "qcom,lcc-ipq8064"; 1248f126890aSEmmanuel Vadot reg = <0x28000000 0x1000>; 1249f126890aSEmmanuel Vadot #clock-cells = <1>; 1250f126890aSEmmanuel Vadot #reset-cells = <1>; 1251f126890aSEmmanuel Vadot }; 1252f126890aSEmmanuel Vadot 1253f126890aSEmmanuel Vadot lpass@28100000 { 1254f126890aSEmmanuel Vadot compatible = "qcom,lpass-cpu"; 1255f126890aSEmmanuel Vadot status = "disabled"; 1256f126890aSEmmanuel Vadot clocks = <&lcc AHBIX_CLK>, 1257f126890aSEmmanuel Vadot <&lcc MI2S_OSR_CLK>, 1258f126890aSEmmanuel Vadot <&lcc MI2S_BIT_CLK>; 1259f126890aSEmmanuel Vadot clock-names = "ahbix-clk", 1260f126890aSEmmanuel Vadot "mi2s-osr-clk", 1261f126890aSEmmanuel Vadot "mi2s-bit-clk"; 1262f126890aSEmmanuel Vadot interrupts = <GIC_SPI 85 IRQ_TYPE_EDGE_RISING>; 1263f126890aSEmmanuel Vadot interrupt-names = "lpass-irq-lpaif"; 1264f126890aSEmmanuel Vadot reg = <0x28100000 0x10000>; 1265f126890aSEmmanuel Vadot reg-names = "lpass-lpaif"; 1266f126890aSEmmanuel Vadot }; 1267f126890aSEmmanuel Vadot 1268f126890aSEmmanuel Vadot sata: sata@29000000 { 1269f126890aSEmmanuel Vadot compatible = "qcom,ipq806x-ahci", "generic-ahci"; 1270f126890aSEmmanuel Vadot reg = <0x29000000 0x180>; 1271f126890aSEmmanuel Vadot 1272f126890aSEmmanuel Vadot interrupts = <GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH>; 1273f126890aSEmmanuel Vadot 1274f126890aSEmmanuel Vadot clocks = <&gcc SFAB_SATA_S_H_CLK>, 1275f126890aSEmmanuel Vadot <&gcc SATA_H_CLK>, 1276f126890aSEmmanuel Vadot <&gcc SATA_A_CLK>, 1277f126890aSEmmanuel Vadot <&gcc SATA_RXOOB_CLK>, 1278f126890aSEmmanuel Vadot <&gcc SATA_PMALIVE_CLK>; 1279*b2d2a78aSEmmanuel Vadot clock-names = "slave_iface", "iface", "core", 1280f126890aSEmmanuel Vadot "rxoob", "pmalive"; 1281f126890aSEmmanuel Vadot 1282f126890aSEmmanuel Vadot assigned-clocks = <&gcc SATA_RXOOB_CLK>, <&gcc SATA_PMALIVE_CLK>; 1283f126890aSEmmanuel Vadot assigned-clock-rates = <100000000>, <100000000>; 1284f126890aSEmmanuel Vadot 1285f126890aSEmmanuel Vadot phys = <&sata_phy>; 1286f126890aSEmmanuel Vadot phy-names = "sata-phy"; 1287f126890aSEmmanuel Vadot status = "disabled"; 1288f126890aSEmmanuel Vadot }; 1289f126890aSEmmanuel Vadot 1290f126890aSEmmanuel Vadot gmac0: ethernet@37000000 { 1291f126890aSEmmanuel Vadot device_type = "network"; 1292f126890aSEmmanuel Vadot compatible = "qcom,ipq806x-gmac", "snps,dwmac"; 1293f126890aSEmmanuel Vadot reg = <0x37000000 0x200000>; 1294f126890aSEmmanuel Vadot interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>; 1295f126890aSEmmanuel Vadot interrupt-names = "macirq"; 1296f126890aSEmmanuel Vadot 1297f126890aSEmmanuel Vadot snps,axi-config = <&stmmac_axi_setup>; 1298f126890aSEmmanuel Vadot snps,pbl = <32>; 1299f126890aSEmmanuel Vadot snps,aal; 1300f126890aSEmmanuel Vadot 1301f126890aSEmmanuel Vadot qcom,nss-common = <&nss_common>; 1302f126890aSEmmanuel Vadot qcom,qsgmii-csr = <&qsgmii_csr>; 1303f126890aSEmmanuel Vadot 1304f126890aSEmmanuel Vadot clocks = <&gcc GMAC_CORE1_CLK>; 1305f126890aSEmmanuel Vadot clock-names = "stmmaceth"; 1306f126890aSEmmanuel Vadot 1307f126890aSEmmanuel Vadot resets = <&gcc GMAC_CORE1_RESET>, 1308f126890aSEmmanuel Vadot <&gcc GMAC_AHB_RESET>; 1309f126890aSEmmanuel Vadot reset-names = "stmmaceth", "ahb"; 1310f126890aSEmmanuel Vadot 1311f126890aSEmmanuel Vadot status = "disabled"; 1312f126890aSEmmanuel Vadot }; 1313f126890aSEmmanuel Vadot 1314f126890aSEmmanuel Vadot gmac1: ethernet@37200000 { 1315f126890aSEmmanuel Vadot device_type = "network"; 1316f126890aSEmmanuel Vadot compatible = "qcom,ipq806x-gmac", "snps,dwmac"; 1317f126890aSEmmanuel Vadot reg = <0x37200000 0x200000>; 1318f126890aSEmmanuel Vadot interrupts = <GIC_SPI 223 IRQ_TYPE_LEVEL_HIGH>; 1319f126890aSEmmanuel Vadot interrupt-names = "macirq"; 1320f126890aSEmmanuel Vadot 1321f126890aSEmmanuel Vadot snps,axi-config = <&stmmac_axi_setup>; 1322f126890aSEmmanuel Vadot snps,pbl = <32>; 1323f126890aSEmmanuel Vadot snps,aal; 1324f126890aSEmmanuel Vadot 1325f126890aSEmmanuel Vadot qcom,nss-common = <&nss_common>; 1326f126890aSEmmanuel Vadot qcom,qsgmii-csr = <&qsgmii_csr>; 1327f126890aSEmmanuel Vadot 1328f126890aSEmmanuel Vadot clocks = <&gcc GMAC_CORE2_CLK>; 1329f126890aSEmmanuel Vadot clock-names = "stmmaceth"; 1330f126890aSEmmanuel Vadot 1331f126890aSEmmanuel Vadot resets = <&gcc GMAC_CORE2_RESET>, 1332f126890aSEmmanuel Vadot <&gcc GMAC_AHB_RESET>; 1333f126890aSEmmanuel Vadot reset-names = "stmmaceth", "ahb"; 1334f126890aSEmmanuel Vadot 1335f126890aSEmmanuel Vadot status = "disabled"; 1336f126890aSEmmanuel Vadot }; 1337f126890aSEmmanuel Vadot 1338f126890aSEmmanuel Vadot gmac2: ethernet@37400000 { 1339f126890aSEmmanuel Vadot device_type = "network"; 1340f126890aSEmmanuel Vadot compatible = "qcom,ipq806x-gmac", "snps,dwmac"; 1341f126890aSEmmanuel Vadot reg = <0x37400000 0x200000>; 1342f126890aSEmmanuel Vadot interrupts = <GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>; 1343f126890aSEmmanuel Vadot interrupt-names = "macirq"; 1344f126890aSEmmanuel Vadot 1345f126890aSEmmanuel Vadot snps,axi-config = <&stmmac_axi_setup>; 1346f126890aSEmmanuel Vadot snps,pbl = <32>; 1347f126890aSEmmanuel Vadot snps,aal; 1348f126890aSEmmanuel Vadot 1349f126890aSEmmanuel Vadot qcom,nss-common = <&nss_common>; 1350f126890aSEmmanuel Vadot qcom,qsgmii-csr = <&qsgmii_csr>; 1351f126890aSEmmanuel Vadot 1352f126890aSEmmanuel Vadot clocks = <&gcc GMAC_CORE3_CLK>; 1353f126890aSEmmanuel Vadot clock-names = "stmmaceth"; 1354f126890aSEmmanuel Vadot 1355f126890aSEmmanuel Vadot resets = <&gcc GMAC_CORE3_RESET>, 1356f126890aSEmmanuel Vadot <&gcc GMAC_AHB_RESET>; 1357f126890aSEmmanuel Vadot reset-names = "stmmaceth", "ahb"; 1358f126890aSEmmanuel Vadot 1359f126890aSEmmanuel Vadot status = "disabled"; 1360f126890aSEmmanuel Vadot }; 1361f126890aSEmmanuel Vadot 1362f126890aSEmmanuel Vadot gmac3: ethernet@37600000 { 1363f126890aSEmmanuel Vadot device_type = "network"; 1364f126890aSEmmanuel Vadot compatible = "qcom,ipq806x-gmac", "snps,dwmac"; 1365f126890aSEmmanuel Vadot reg = <0x37600000 0x200000>; 1366f126890aSEmmanuel Vadot interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>; 1367f126890aSEmmanuel Vadot interrupt-names = "macirq"; 1368f126890aSEmmanuel Vadot 1369f126890aSEmmanuel Vadot snps,axi-config = <&stmmac_axi_setup>; 1370f126890aSEmmanuel Vadot snps,pbl = <32>; 1371f126890aSEmmanuel Vadot snps,aal; 1372f126890aSEmmanuel Vadot 1373f126890aSEmmanuel Vadot qcom,nss-common = <&nss_common>; 1374f126890aSEmmanuel Vadot qcom,qsgmii-csr = <&qsgmii_csr>; 1375f126890aSEmmanuel Vadot 1376f126890aSEmmanuel Vadot clocks = <&gcc GMAC_CORE4_CLK>; 1377f126890aSEmmanuel Vadot clock-names = "stmmaceth"; 1378f126890aSEmmanuel Vadot 1379f126890aSEmmanuel Vadot resets = <&gcc GMAC_CORE4_RESET>, 1380f126890aSEmmanuel Vadot <&gcc GMAC_AHB_RESET>; 1381f126890aSEmmanuel Vadot reset-names = "stmmaceth", "ahb"; 1382f126890aSEmmanuel Vadot 1383f126890aSEmmanuel Vadot status = "disabled"; 1384f126890aSEmmanuel Vadot }; 1385f126890aSEmmanuel Vadot }; 1386f126890aSEmmanuel Vadot}; 1387