11d0ea069SThomas Gleixner// SPDX-License-Identifier: GPL-2.0-only 2aa8d3e74SKefeng Wang/** 3aa8d3e74SKefeng Wang * dts file for Hisilicon D03 Development Board 4aa8d3e74SKefeng Wang * 5aa8d3e74SKefeng Wang * Copyright (C) 2016 Hisilicon Ltd. 6aa8d3e74SKefeng Wang */ 7aa8d3e74SKefeng Wang 8aa8d3e74SKefeng Wang#include <dt-bindings/interrupt-controller/arm-gic.h> 9aa8d3e74SKefeng Wang 10aa8d3e74SKefeng Wang/ { 11aa8d3e74SKefeng Wang compatible = "hisilicon,hip06-d03"; 12aa8d3e74SKefeng Wang interrupt-parent = <&gic>; 13aa8d3e74SKefeng Wang #address-cells = <2>; 14aa8d3e74SKefeng Wang #size-cells = <2>; 15aa8d3e74SKefeng Wang 16aa8d3e74SKefeng Wang psci { 17aa8d3e74SKefeng Wang compatible = "arm,psci-0.2"; 18aa8d3e74SKefeng Wang method = "smc"; 19aa8d3e74SKefeng Wang }; 20aa8d3e74SKefeng Wang 21aa8d3e74SKefeng Wang cpus { 22aa8d3e74SKefeng Wang #address-cells = <1>; 23aa8d3e74SKefeng Wang #size-cells = <0>; 24aa8d3e74SKefeng Wang 25aa8d3e74SKefeng Wang cpu-map { 26aa8d3e74SKefeng Wang cluster0 { 27aa8d3e74SKefeng Wang core0 { 28aa8d3e74SKefeng Wang cpu = <&cpu0>; 29aa8d3e74SKefeng Wang }; 30aa8d3e74SKefeng Wang core1 { 31aa8d3e74SKefeng Wang cpu = <&cpu1>; 32aa8d3e74SKefeng Wang }; 33aa8d3e74SKefeng Wang core2 { 34aa8d3e74SKefeng Wang cpu = <&cpu2>; 35aa8d3e74SKefeng Wang }; 36aa8d3e74SKefeng Wang core3 { 37aa8d3e74SKefeng Wang cpu = <&cpu3>; 38aa8d3e74SKefeng Wang }; 39aa8d3e74SKefeng Wang }; 40aa8d3e74SKefeng Wang cluster1 { 41aa8d3e74SKefeng Wang core0 { 42aa8d3e74SKefeng Wang cpu = <&cpu4>; 43aa8d3e74SKefeng Wang }; 44aa8d3e74SKefeng Wang core1 { 45aa8d3e74SKefeng Wang cpu = <&cpu5>; 46aa8d3e74SKefeng Wang }; 47aa8d3e74SKefeng Wang core2 { 48aa8d3e74SKefeng Wang cpu = <&cpu6>; 49aa8d3e74SKefeng Wang }; 50aa8d3e74SKefeng Wang core3 { 51aa8d3e74SKefeng Wang cpu = <&cpu7>; 52aa8d3e74SKefeng Wang }; 53aa8d3e74SKefeng Wang }; 54aa8d3e74SKefeng Wang cluster2 { 55aa8d3e74SKefeng Wang core0 { 56aa8d3e74SKefeng Wang cpu = <&cpu8>; 57aa8d3e74SKefeng Wang }; 58aa8d3e74SKefeng Wang core1 { 59aa8d3e74SKefeng Wang cpu = <&cpu9>; 60aa8d3e74SKefeng Wang }; 61aa8d3e74SKefeng Wang core2 { 62aa8d3e74SKefeng Wang cpu = <&cpu10>; 63aa8d3e74SKefeng Wang }; 64aa8d3e74SKefeng Wang core3 { 65aa8d3e74SKefeng Wang cpu = <&cpu11>; 66aa8d3e74SKefeng Wang }; 67aa8d3e74SKefeng Wang }; 68aa8d3e74SKefeng Wang cluster3 { 69aa8d3e74SKefeng Wang core0 { 70aa8d3e74SKefeng Wang cpu = <&cpu12>; 71aa8d3e74SKefeng Wang }; 72aa8d3e74SKefeng Wang core1 { 73aa8d3e74SKefeng Wang cpu = <&cpu13>; 74aa8d3e74SKefeng Wang }; 75aa8d3e74SKefeng Wang core2 { 76aa8d3e74SKefeng Wang cpu = <&cpu14>; 77aa8d3e74SKefeng Wang }; 78aa8d3e74SKefeng Wang core3 { 79aa8d3e74SKefeng Wang cpu = <&cpu15>; 80aa8d3e74SKefeng Wang }; 81aa8d3e74SKefeng Wang }; 82aa8d3e74SKefeng Wang }; 83aa8d3e74SKefeng Wang 84aa8d3e74SKefeng Wang cpu0: cpu@10000 { 85aa8d3e74SKefeng Wang device_type = "cpu"; 8631af04cdSRob Herring compatible = "arm,cortex-a57"; 87aa8d3e74SKefeng Wang reg = <0x10000>; 88aa8d3e74SKefeng Wang enable-method = "psci"; 89aa8d3e74SKefeng Wang next-level-cache = <&cluster0_l2>; 90aa8d3e74SKefeng Wang }; 91aa8d3e74SKefeng Wang 92aa8d3e74SKefeng Wang cpu1: cpu@10001 { 93aa8d3e74SKefeng Wang device_type = "cpu"; 9431af04cdSRob Herring compatible = "arm,cortex-a57"; 95aa8d3e74SKefeng Wang reg = <0x10001>; 96aa8d3e74SKefeng Wang enable-method = "psci"; 97aa8d3e74SKefeng Wang next-level-cache = <&cluster0_l2>; 98aa8d3e74SKefeng Wang }; 99aa8d3e74SKefeng Wang 100aa8d3e74SKefeng Wang cpu2: cpu@10002 { 101aa8d3e74SKefeng Wang device_type = "cpu"; 10231af04cdSRob Herring compatible = "arm,cortex-a57"; 103aa8d3e74SKefeng Wang reg = <0x10002>; 104aa8d3e74SKefeng Wang enable-method = "psci"; 105aa8d3e74SKefeng Wang next-level-cache = <&cluster0_l2>; 106aa8d3e74SKefeng Wang }; 107aa8d3e74SKefeng Wang 108aa8d3e74SKefeng Wang cpu3: cpu@10003 { 109aa8d3e74SKefeng Wang device_type = "cpu"; 11031af04cdSRob Herring compatible = "arm,cortex-a57"; 111aa8d3e74SKefeng Wang reg = <0x10003>; 112aa8d3e74SKefeng Wang enable-method = "psci"; 113aa8d3e74SKefeng Wang next-level-cache = <&cluster0_l2>; 114aa8d3e74SKefeng Wang }; 115aa8d3e74SKefeng Wang 116aa8d3e74SKefeng Wang cpu4: cpu@10100 { 117aa8d3e74SKefeng Wang device_type = "cpu"; 11831af04cdSRob Herring compatible = "arm,cortex-a57"; 119aa8d3e74SKefeng Wang reg = <0x10100>; 120aa8d3e74SKefeng Wang enable-method = "psci"; 121aa8d3e74SKefeng Wang next-level-cache = <&cluster1_l2>; 122aa8d3e74SKefeng Wang }; 123aa8d3e74SKefeng Wang 124aa8d3e74SKefeng Wang cpu5: cpu@10101 { 125aa8d3e74SKefeng Wang device_type = "cpu"; 12631af04cdSRob Herring compatible = "arm,cortex-a57"; 127aa8d3e74SKefeng Wang reg = <0x10101>; 128aa8d3e74SKefeng Wang enable-method = "psci"; 129aa8d3e74SKefeng Wang next-level-cache = <&cluster1_l2>; 130aa8d3e74SKefeng Wang }; 131aa8d3e74SKefeng Wang 132aa8d3e74SKefeng Wang cpu6: cpu@10102 { 133aa8d3e74SKefeng Wang device_type = "cpu"; 13431af04cdSRob Herring compatible = "arm,cortex-a57"; 135aa8d3e74SKefeng Wang reg = <0x10102>; 136aa8d3e74SKefeng Wang enable-method = "psci"; 137aa8d3e74SKefeng Wang next-level-cache = <&cluster1_l2>; 138aa8d3e74SKefeng Wang }; 139aa8d3e74SKefeng Wang 140aa8d3e74SKefeng Wang cpu7: cpu@10103 { 141aa8d3e74SKefeng Wang device_type = "cpu"; 14231af04cdSRob Herring compatible = "arm,cortex-a57"; 143aa8d3e74SKefeng Wang reg = <0x10103>; 144aa8d3e74SKefeng Wang enable-method = "psci"; 145aa8d3e74SKefeng Wang next-level-cache = <&cluster1_l2>; 146aa8d3e74SKefeng Wang }; 147aa8d3e74SKefeng Wang 148aa8d3e74SKefeng Wang cpu8: cpu@10200 { 149aa8d3e74SKefeng Wang device_type = "cpu"; 15031af04cdSRob Herring compatible = "arm,cortex-a57"; 151aa8d3e74SKefeng Wang reg = <0x10200>; 152aa8d3e74SKefeng Wang enable-method = "psci"; 153aa8d3e74SKefeng Wang next-level-cache = <&cluster2_l2>; 154aa8d3e74SKefeng Wang }; 155aa8d3e74SKefeng Wang 156aa8d3e74SKefeng Wang cpu9: cpu@10201 { 157aa8d3e74SKefeng Wang device_type = "cpu"; 15831af04cdSRob Herring compatible = "arm,cortex-a57"; 159aa8d3e74SKefeng Wang reg = <0x10201>; 160aa8d3e74SKefeng Wang enable-method = "psci"; 161aa8d3e74SKefeng Wang next-level-cache = <&cluster2_l2>; 162aa8d3e74SKefeng Wang }; 163aa8d3e74SKefeng Wang 164aa8d3e74SKefeng Wang cpu10: cpu@10202 { 165aa8d3e74SKefeng Wang device_type = "cpu"; 16631af04cdSRob Herring compatible = "arm,cortex-a57"; 167aa8d3e74SKefeng Wang reg = <0x10202>; 168aa8d3e74SKefeng Wang enable-method = "psci"; 169aa8d3e74SKefeng Wang next-level-cache = <&cluster2_l2>; 170aa8d3e74SKefeng Wang }; 171aa8d3e74SKefeng Wang 172aa8d3e74SKefeng Wang cpu11: cpu@10203 { 173aa8d3e74SKefeng Wang device_type = "cpu"; 17431af04cdSRob Herring compatible = "arm,cortex-a57"; 175aa8d3e74SKefeng Wang reg = <0x10203>; 176aa8d3e74SKefeng Wang enable-method = "psci"; 177aa8d3e74SKefeng Wang next-level-cache = <&cluster2_l2>; 178aa8d3e74SKefeng Wang }; 179aa8d3e74SKefeng Wang 180aa8d3e74SKefeng Wang cpu12: cpu@10300 { 181aa8d3e74SKefeng Wang device_type = "cpu"; 18231af04cdSRob Herring compatible = "arm,cortex-a57"; 183aa8d3e74SKefeng Wang reg = <0x10300>; 184aa8d3e74SKefeng Wang enable-method = "psci"; 185aa8d3e74SKefeng Wang next-level-cache = <&cluster3_l2>; 186aa8d3e74SKefeng Wang }; 187aa8d3e74SKefeng Wang 188aa8d3e74SKefeng Wang cpu13: cpu@10301 { 189aa8d3e74SKefeng Wang device_type = "cpu"; 19031af04cdSRob Herring compatible = "arm,cortex-a57"; 191aa8d3e74SKefeng Wang reg = <0x10301>; 192aa8d3e74SKefeng Wang enable-method = "psci"; 193aa8d3e74SKefeng Wang next-level-cache = <&cluster3_l2>; 194aa8d3e74SKefeng Wang }; 195aa8d3e74SKefeng Wang 196aa8d3e74SKefeng Wang cpu14: cpu@10302 { 197aa8d3e74SKefeng Wang device_type = "cpu"; 19831af04cdSRob Herring compatible = "arm,cortex-a57"; 199aa8d3e74SKefeng Wang reg = <0x10302>; 200aa8d3e74SKefeng Wang enable-method = "psci"; 201aa8d3e74SKefeng Wang next-level-cache = <&cluster3_l2>; 202aa8d3e74SKefeng Wang }; 203aa8d3e74SKefeng Wang 204aa8d3e74SKefeng Wang cpu15: cpu@10303 { 205aa8d3e74SKefeng Wang device_type = "cpu"; 20631af04cdSRob Herring compatible = "arm,cortex-a57"; 207aa8d3e74SKefeng Wang reg = <0x10303>; 208aa8d3e74SKefeng Wang enable-method = "psci"; 209aa8d3e74SKefeng Wang next-level-cache = <&cluster3_l2>; 210aa8d3e74SKefeng Wang }; 211aa8d3e74SKefeng Wang 212aa8d3e74SKefeng Wang cluster0_l2: l2-cache0 { 213aa8d3e74SKefeng Wang compatible = "cache"; 214aa8d3e74SKefeng Wang }; 215aa8d3e74SKefeng Wang 216aa8d3e74SKefeng Wang cluster1_l2: l2-cache1 { 217aa8d3e74SKefeng Wang compatible = "cache"; 218aa8d3e74SKefeng Wang }; 219aa8d3e74SKefeng Wang 220aa8d3e74SKefeng Wang cluster2_l2: l2-cache2 { 221aa8d3e74SKefeng Wang compatible = "cache"; 222aa8d3e74SKefeng Wang }; 223aa8d3e74SKefeng Wang 224aa8d3e74SKefeng Wang cluster3_l2: l2-cache3 { 225aa8d3e74SKefeng Wang compatible = "cache"; 226aa8d3e74SKefeng Wang }; 227aa8d3e74SKefeng Wang }; 228aa8d3e74SKefeng Wang 229aa8d3e74SKefeng Wang gic: interrupt-controller@4d000000 { 230aa8d3e74SKefeng Wang compatible = "arm,gic-v3"; 231aa8d3e74SKefeng Wang #interrupt-cells = <3>; 232aa8d3e74SKefeng Wang #address-cells = <2>; 233aa8d3e74SKefeng Wang #size-cells = <2>; 234aa8d3e74SKefeng Wang ranges; 235aa8d3e74SKefeng Wang interrupt-controller; 236aa8d3e74SKefeng Wang #redistributor-regions = <1>; 237aa8d3e74SKefeng Wang redistributor-stride = <0x0 0x30000>; 238aa8d3e74SKefeng Wang reg = <0x0 0x4d000000 0 0x10000>, /* GICD */ 239aa8d3e74SKefeng Wang <0x0 0x4d100000 0 0x300000>, /* GICR */ 240aa8d3e74SKefeng Wang <0x0 0xfe000000 0 0x10000>, /* GICC */ 241aa8d3e74SKefeng Wang <0x0 0xfe010000 0 0x10000>, /* GICH */ 242aa8d3e74SKefeng Wang <0x0 0xfe020000 0 0x10000>; /* GICV */ 243aa8d3e74SKefeng Wang interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>; 244aa8d3e74SKefeng Wang 245*c25b8464SZhen Lei its_dsa: msi-controller@c6000000 { 246aa8d3e74SKefeng Wang compatible = "arm,gic-v3-its"; 247aa8d3e74SKefeng Wang msi-controller; 248aa8d3e74SKefeng Wang #msi-cells = <1>; 249aa8d3e74SKefeng Wang reg = <0x0 0xc6000000 0x0 0x40000>; 250aa8d3e74SKefeng Wang }; 251aa8d3e74SKefeng Wang }; 252aa8d3e74SKefeng Wang 253aa8d3e74SKefeng Wang timer { 254aa8d3e74SKefeng Wang compatible = "arm,armv8-timer"; 255aa8d3e74SKefeng Wang interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>, 256aa8d3e74SKefeng Wang <GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>, 257aa8d3e74SKefeng Wang <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>, 258aa8d3e74SKefeng Wang <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>; 259aa8d3e74SKefeng Wang }; 260aa8d3e74SKefeng Wang 261aa8d3e74SKefeng Wang pmu { 262aa8d3e74SKefeng Wang compatible = "arm,cortex-a57-pmu"; 263aa8d3e74SKefeng Wang interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>; 264aa8d3e74SKefeng Wang }; 265aa8d3e74SKefeng Wang 266aa8d3e74SKefeng Wang mbigen_pcie@a0080000 { 267aa8d3e74SKefeng Wang compatible = "hisilicon,mbigen-v2"; 268aa8d3e74SKefeng Wang reg = <0x0 0xa0080000 0x0 0x10000>; 269aa8d3e74SKefeng Wang 270aa8d3e74SKefeng Wang mbigen_usb: intc_usb { 271aa8d3e74SKefeng Wang msi-parent = <&its_dsa 0x40080>; 272aa8d3e74SKefeng Wang interrupt-controller; 273aa8d3e74SKefeng Wang #interrupt-cells = <2>; 274aa8d3e74SKefeng Wang num-pins = <2>; 275aa8d3e74SKefeng Wang }; 2767e01e7a1SKefeng Wang 2777e01e7a1SKefeng Wang mbigen_sas1: intc_sas1 { 2787e01e7a1SKefeng Wang msi-parent = <&its_dsa 0x40000>; 2797e01e7a1SKefeng Wang interrupt-controller; 2807e01e7a1SKefeng Wang #interrupt-cells = <2>; 2817e01e7a1SKefeng Wang num-pins = <128>; 2827e01e7a1SKefeng Wang }; 2837e01e7a1SKefeng Wang 2847e01e7a1SKefeng Wang mbigen_sas2: intc_sas2 { 2857e01e7a1SKefeng Wang msi-parent = <&its_dsa 0x40040>; 2867e01e7a1SKefeng Wang interrupt-controller; 2877e01e7a1SKefeng Wang #interrupt-cells = <2>; 2887e01e7a1SKefeng Wang num-pins = <128>; 2897e01e7a1SKefeng Wang }; 29017f21343SShameerali Kolothum Thodi 29117f21343SShameerali Kolothum Thodi mbigen_pcie0: intc_pcie0 { 29217f21343SShameerali Kolothum Thodi msi-parent = <&its_dsa 0x40085>; 29317f21343SShameerali Kolothum Thodi interrupt-controller; 29417f21343SShameerali Kolothum Thodi #interrupt-cells = <2>; 29517f21343SShameerali Kolothum Thodi num-pins = <10>; 29617f21343SShameerali Kolothum Thodi }; 297aa8d3e74SKefeng Wang }; 298aa8d3e74SKefeng Wang 2995350419fSKefeng Wang mbigen_dsa@c0080000 { 3005350419fSKefeng Wang compatible = "hisilicon,mbigen-v2"; 3015350419fSKefeng Wang reg = <0x0 0xc0080000 0x0 0x10000>; 3025350419fSKefeng Wang 3035350419fSKefeng Wang mbigen_dsaf0: intc_dsaf0 { 3045350419fSKefeng Wang msi-parent = <&its_dsa 0x40800>; 3055350419fSKefeng Wang interrupt-controller; 3065350419fSKefeng Wang #interrupt-cells = <2>; 3075350419fSKefeng Wang num-pins = <409>; 3085350419fSKefeng Wang }; 3097e01e7a1SKefeng Wang 3107e01e7a1SKefeng Wang mbigen_sas0: intc-sas0 { 3117e01e7a1SKefeng Wang msi-parent = <&its_dsa 0x40900>; 3127e01e7a1SKefeng Wang interrupt-controller; 3137e01e7a1SKefeng Wang #interrupt-cells = <2>; 3147e01e7a1SKefeng Wang num-pins = <128>; 3157e01e7a1SKefeng Wang }; 3165350419fSKefeng Wang }; 3175350419fSKefeng Wang 31817f21343SShameerali Kolothum Thodi /** 31917f21343SShameerali Kolothum Thodi * HiSilicon erratum 161010801: This describes the limitation 32017f21343SShameerali Kolothum Thodi * of HiSilicon platforms hip06/hip07 to support the SMMUv3 32117f21343SShameerali Kolothum Thodi * mappings for PCIe MSI transactions. 32217f21343SShameerali Kolothum Thodi * PCIe controller on these platforms has to differentiate the 32317f21343SShameerali Kolothum Thodi * MSI payload against other DMA payload and has to modify the 32417f21343SShameerali Kolothum Thodi * MSI payload. This makes it difficult for these platforms to 32517f21343SShameerali Kolothum Thodi * have a SMMU translation for MSI. In order to workaround this, 32617f21343SShameerali Kolothum Thodi * ARM SMMUv3 driver requires a quirk to treat the MSI regions 32717f21343SShameerali Kolothum Thodi * separately. Such a quirk is currently missing for DT based 32817f21343SShameerali Kolothum Thodi * systems. Hence please make sure that the smmu pcie node on 32917f21343SShameerali Kolothum Thodi * hip06 is disabled as this will break the PCIe functionality 33017f21343SShameerali Kolothum Thodi * when iommu-map entry is used along with the PCIe node. 33117f21343SShameerali Kolothum Thodi * Refer:https://www.spinics.net/lists/arm-kernel/msg602812.html 33217f21343SShameerali Kolothum Thodi */ 33317f21343SShameerali Kolothum Thodi smmu0: smmu_pcie { 33417f21343SShameerali Kolothum Thodi compatible = "arm,smmu-v3"; 33517f21343SShameerali Kolothum Thodi reg = <0x0 0xa0040000 0x0 0x20000>; 33617f21343SShameerali Kolothum Thodi #iommu-cells = <1>; 33717f21343SShameerali Kolothum Thodi dma-coherent; 33817f21343SShameerali Kolothum Thodi smmu-cb-memtype = <0x0 0x1>; 33917f21343SShameerali Kolothum Thodi hisilicon,broken-prefetch-cmd; 34017f21343SShameerali Kolothum Thodi status = "disabled"; 34117f21343SShameerali Kolothum Thodi }; 34217f21343SShameerali Kolothum Thodi 343aa8d3e74SKefeng Wang soc { 344aa8d3e74SKefeng Wang compatible = "simple-bus"; 345aa8d3e74SKefeng Wang #address-cells = <2>; 346aa8d3e74SKefeng Wang #size-cells = <2>; 347aa8d3e74SKefeng Wang ranges; 348aa8d3e74SKefeng Wang 349291985c4SJohn Garry isa@a01b0000 { 350291985c4SJohn Garry compatible = "hisilicon,hip06-lpc"; 351291985c4SJohn Garry #size-cells = <1>; 352291985c4SJohn Garry #address-cells = <2>; 353291985c4SJohn Garry reg = <0x0 0xa01b0000 0x0 0x1000>; 354291985c4SJohn Garry 355291985c4SJohn Garry ipmi0: bt@e4 { 356291985c4SJohn Garry compatible = "ipmi-bt"; 357291985c4SJohn Garry device_type = "ipmi"; 358291985c4SJohn Garry reg = <0x01 0xe4 0x04>; 359291985c4SJohn Garry status = "disabled"; 360291985c4SJohn Garry }; 361291985c4SJohn Garry 362291985c4SJohn Garry uart0: lpc-uart@2f8 { 363291985c4SJohn Garry compatible = "ns16550a"; 364291985c4SJohn Garry clock-frequency = <1843200>; 365291985c4SJohn Garry reg = <0x01 0x2f8 0x08>; 366291985c4SJohn Garry status = "disabled"; 367291985c4SJohn Garry }; 368291985c4SJohn Garry }; 369291985c4SJohn Garry 37085f5bd9eSJohn Garry refclk: refclk { 37185f5bd9eSJohn Garry compatible = "fixed-clock"; 37285f5bd9eSJohn Garry clock-frequency = <50000000>; 37385f5bd9eSJohn Garry #clock-cells = <0>; 37485f5bd9eSJohn Garry }; 37585f5bd9eSJohn Garry 376aa8d3e74SKefeng Wang usb_ohci: ohci@a7030000 { 377aa8d3e74SKefeng Wang compatible = "generic-ohci"; 378aa8d3e74SKefeng Wang reg = <0x0 0xa7030000 0x0 0x10000>; 379aa8d3e74SKefeng Wang interrupt-parent = <&mbigen_usb>; 3804d75a171SKefeng Wang interrupts = <640 4>; 381aa8d3e74SKefeng Wang dma-coherent; 382aa8d3e74SKefeng Wang status = "disabled"; 383aa8d3e74SKefeng Wang }; 384aa8d3e74SKefeng Wang 385aa8d3e74SKefeng Wang usb_ehci: ehci@a7020000 { 386aa8d3e74SKefeng Wang compatible = "generic-ehci"; 387aa8d3e74SKefeng Wang reg = <0x0 0xa7020000 0x0 0x10000>; 388aa8d3e74SKefeng Wang interrupt-parent = <&mbigen_usb>; 3894d75a171SKefeng Wang interrupts = <641 4>; 390aa8d3e74SKefeng Wang dma-coherent; 391aa8d3e74SKefeng Wang status = "disabled"; 392aa8d3e74SKefeng Wang }; 3935350419fSKefeng Wang 3945350419fSKefeng Wang peri_c_subctrl: sub_ctrl_c@60000000 { 3955350419fSKefeng Wang compatible = "hisilicon,peri-subctrl","syscon"; 3965350419fSKefeng Wang reg = <0 0x60000000 0x0 0x10000>; 3975350419fSKefeng Wang }; 3985350419fSKefeng Wang 3995350419fSKefeng Wang dsa_subctrl: dsa_subctrl@c0000000 { 4005350419fSKefeng Wang compatible = "hisilicon,dsa-subctrl", "syscon"; 4015350419fSKefeng Wang reg = <0x0 0xc0000000 0x0 0x10000>; 4025350419fSKefeng Wang }; 4035350419fSKefeng Wang 4047e01e7a1SKefeng Wang pcie_subctl: pcie_subctl@a0000000 { 4057e01e7a1SKefeng Wang compatible = "hisilicon,pcie-sas-subctrl", "syscon"; 4067e01e7a1SKefeng Wang reg = <0x0 0xa0000000 0x0 0x10000>; 4077e01e7a1SKefeng Wang }; 4087e01e7a1SKefeng Wang 4095350419fSKefeng Wang serdes_ctrl: sds_ctrl@c2200000 { 4105350419fSKefeng Wang compatible = "syscon"; 4115350419fSKefeng Wang reg = <0 0xc2200000 0x0 0x80000>; 4125350419fSKefeng Wang }; 4135350419fSKefeng Wang 4145350419fSKefeng Wang mdio@603c0000 { 4155350419fSKefeng Wang compatible = "hisilicon,hns-mdio"; 4165350419fSKefeng Wang reg = <0x0 0x603c0000 0x0 0x1000>; 4175350419fSKefeng Wang subctrl-vbase = <&peri_c_subctrl 0x338 0xa38 0x531c 0x5a1c>; 4185350419fSKefeng Wang #address-cells = <1>; 4195350419fSKefeng Wang #size-cells = <0>; 4205350419fSKefeng Wang 4215350419fSKefeng Wang phy0: ethernet-phy@0 { 4225350419fSKefeng Wang compatible = "ethernet-phy-ieee802.3-c22"; 4235350419fSKefeng Wang reg = <0>; 4245350419fSKefeng Wang }; 4255350419fSKefeng Wang 4265350419fSKefeng Wang phy1: ethernet-phy@1 { 4275350419fSKefeng Wang compatible = "ethernet-phy-ieee802.3-c22"; 4285350419fSKefeng Wang reg = <1>; 4295350419fSKefeng Wang }; 4305350419fSKefeng Wang }; 4315350419fSKefeng Wang 4325350419fSKefeng Wang dsaf0: dsa@c7000000 { 4335350419fSKefeng Wang #address-cells = <1>; 4345350419fSKefeng Wang #size-cells = <0>; 4355350419fSKefeng Wang compatible = "hisilicon,hns-dsaf-v2"; 4365350419fSKefeng Wang mode = "6port-16rss"; 4375350419fSKefeng Wang reg = <0x0 0xc5000000 0x0 0x890000 4385350419fSKefeng Wang 0x0 0xc7000000 0x0 0x600000>; 4395350419fSKefeng Wang reg-names = "ppe-base", "dsaf-base"; 4405350419fSKefeng Wang interrupt-parent = <&mbigen_dsaf0>; 4415350419fSKefeng Wang subctrl-syscon = <&dsa_subctrl>; 4425350419fSKefeng Wang reset-field-offset = <0>; 4435350419fSKefeng Wang interrupts = 4445350419fSKefeng Wang <576 1>, <577 1>, <578 1>, <579 1>, <580 1>, 4455350419fSKefeng Wang <581 1>, <582 1>, <583 1>, <584 1>, <585 1>, 4465350419fSKefeng Wang <586 1>, <587 1>, <588 1>, <589 1>, <590 1>, 4475350419fSKefeng Wang <591 1>, <592 1>, <593 1>, <594 1>, <595 1>, 4485350419fSKefeng Wang <596 1>, <597 1>, <598 1>, <599 1>, <600 1>, 4495350419fSKefeng Wang <960 1>, <961 1>, <962 1>, <963 1>, <964 1>, 4505350419fSKefeng Wang <965 1>, <966 1>, <967 1>, <968 1>, <969 1>, 4515350419fSKefeng Wang <970 1>, <971 1>, <972 1>, <973 1>, <974 1>, 4525350419fSKefeng Wang <975 1>, <976 1>, <977 1>, <978 1>, <979 1>, 4535350419fSKefeng Wang <980 1>, <981 1>, <982 1>, <983 1>, <984 1>, 4545350419fSKefeng Wang <985 1>, <986 1>, <987 1>, <988 1>, <989 1>, 4555350419fSKefeng Wang <990 1>, <991 1>, <992 1>, <993 1>, <994 1>, 4565350419fSKefeng Wang <995 1>, <996 1>, <997 1>, <998 1>, <999 1>, 4575350419fSKefeng Wang <1000 1>, <1001 1>, <1002 1>, <1003 1>, <1004 1>, 4585350419fSKefeng Wang <1005 1>, <1006 1>, <1007 1>, <1008 1>, <1009 1>, 4595350419fSKefeng Wang <1010 1>, <1011 1>, <1012 1>, <1013 1>, <1014 1>, 4605350419fSKefeng Wang <1015 1>, <1016 1>, <1017 1>, <1018 1>, <1019 1>, 4615350419fSKefeng Wang <1020 1>, <1021 1>, <1022 1>, <1023 1>, <1024 1>, 4625350419fSKefeng Wang <1025 1>, <1026 1>, <1027 1>, <1028 1>, <1029 1>, 4635350419fSKefeng Wang <1030 1>, <1031 1>, <1032 1>, <1033 1>, <1034 1>, 4645350419fSKefeng Wang <1035 1>, <1036 1>, <1037 1>, <1038 1>, <1039 1>, 4655350419fSKefeng Wang <1040 1>, <1041 1>, <1042 1>, <1043 1>, <1044 1>, 4665350419fSKefeng Wang <1045 1>, <1046 1>, <1047 1>, <1048 1>, <1049 1>, 4675350419fSKefeng Wang <1050 1>, <1051 1>, <1052 1>, <1053 1>, <1054 1>, 4685350419fSKefeng Wang <1055 1>, <1056 1>, <1057 1>, <1058 1>, <1059 1>, 4695350419fSKefeng Wang <1060 1>, <1061 1>, <1062 1>, <1063 1>, <1064 1>, 4705350419fSKefeng Wang <1065 1>, <1066 1>, <1067 1>, <1068 1>, <1069 1>, 4715350419fSKefeng Wang <1070 1>, <1071 1>, <1072 1>, <1073 1>, <1074 1>, 4725350419fSKefeng Wang <1075 1>, <1076 1>, <1077 1>, <1078 1>, <1079 1>, 4735350419fSKefeng Wang <1080 1>, <1081 1>, <1082 1>, <1083 1>, <1084 1>, 4745350419fSKefeng Wang <1085 1>, <1086 1>, <1087 1>, <1088 1>, <1089 1>, 4755350419fSKefeng Wang <1090 1>, <1091 1>, <1092 1>, <1093 1>, <1094 1>, 4765350419fSKefeng Wang <1095 1>, <1096 1>, <1097 1>, <1098 1>, <1099 1>, 4775350419fSKefeng Wang <1100 1>, <1101 1>, <1102 1>, <1103 1>, <1104 1>, 4785350419fSKefeng Wang <1105 1>, <1106 1>, <1107 1>, <1108 1>, <1109 1>, 4795350419fSKefeng Wang <1110 1>, <1111 1>, <1112 1>, <1113 1>, <1114 1>, 4805350419fSKefeng Wang <1115 1>, <1116 1>, <1117 1>, <1118 1>, <1119 1>, 4815350419fSKefeng Wang <1120 1>, <1121 1>, <1122 1>, <1123 1>, <1124 1>, 4825350419fSKefeng Wang <1125 1>, <1126 1>, <1127 1>, <1128 1>, <1129 1>, 4835350419fSKefeng Wang <1130 1>, <1131 1>, <1132 1>, <1133 1>, <1134 1>, 4845350419fSKefeng Wang <1135 1>, <1136 1>, <1137 1>, <1138 1>, <1139 1>, 4855350419fSKefeng Wang <1140 1>, <1141 1>, <1142 1>, <1143 1>, <1144 1>, 4865350419fSKefeng Wang <1145 1>, <1146 1>, <1147 1>, <1148 1>, <1149 1>, 4875350419fSKefeng Wang <1150 1>, <1151 1>, <1152 1>, <1153 1>, <1154 1>, 4885350419fSKefeng Wang <1155 1>, <1156 1>, <1157 1>, <1158 1>, <1159 1>, 4895350419fSKefeng Wang <1160 1>, <1161 1>, <1162 1>, <1163 1>, <1164 1>, 4905350419fSKefeng Wang <1165 1>, <1166 1>, <1167 1>, <1168 1>, <1169 1>, 4915350419fSKefeng Wang <1170 1>, <1171 1>, <1172 1>, <1173 1>, <1174 1>, 4925350419fSKefeng Wang <1175 1>, <1176 1>, <1177 1>, <1178 1>, <1179 1>, 4935350419fSKefeng Wang <1180 1>, <1181 1>, <1182 1>, <1183 1>, <1184 1>, 4945350419fSKefeng Wang <1185 1>, <1186 1>, <1187 1>, <1188 1>, <1189 1>, 4955350419fSKefeng Wang <1190 1>, <1191 1>, <1192 1>, <1193 1>, <1194 1>, 4965350419fSKefeng Wang <1195 1>, <1196 1>, <1197 1>, <1198 1>, <1199 1>, 4975350419fSKefeng Wang <1200 1>, <1201 1>, <1202 1>, <1203 1>, <1204 1>, 4985350419fSKefeng Wang <1205 1>, <1206 1>, <1207 1>, <1208 1>, <1209 1>, 4995350419fSKefeng Wang <1210 1>, <1211 1>, <1212 1>, <1213 1>, <1214 1>, 5005350419fSKefeng Wang <1215 1>, <1216 1>, <1217 1>, <1218 1>, <1219 1>, 5015350419fSKefeng Wang <1220 1>, <1221 1>, <1222 1>, <1223 1>, <1224 1>, 5025350419fSKefeng Wang <1225 1>, <1226 1>, <1227 1>, <1228 1>, <1229 1>, 5035350419fSKefeng Wang <1230 1>, <1231 1>, <1232 1>, <1233 1>, <1234 1>, 5045350419fSKefeng Wang <1235 1>, <1236 1>, <1237 1>, <1238 1>, <1239 1>, 5055350419fSKefeng Wang <1240 1>, <1241 1>, <1242 1>, <1243 1>, <1244 1>, 5065350419fSKefeng Wang <1245 1>, <1246 1>, <1247 1>, <1248 1>, <1249 1>, 5075350419fSKefeng Wang <1250 1>, <1251 1>, <1252 1>, <1253 1>, <1254 1>, 5085350419fSKefeng Wang <1255 1>, <1256 1>, <1257 1>, <1258 1>, <1259 1>, 5095350419fSKefeng Wang <1260 1>, <1261 1>, <1262 1>, <1263 1>, <1264 1>, 5105350419fSKefeng Wang <1265 1>, <1266 1>, <1267 1>, <1268 1>, <1269 1>, 5115350419fSKefeng Wang <1270 1>, <1271 1>, <1272 1>, <1273 1>, <1274 1>, 5125350419fSKefeng Wang <1275 1>, <1276 1>, <1277 1>, <1278 1>, <1279 1>, 5135350419fSKefeng Wang <1280 1>, <1281 1>, <1282 1>, <1283 1>, <1284 1>, 5145350419fSKefeng Wang <1285 1>, <1286 1>, <1287 1>, <1288 1>, <1289 1>, 5155350419fSKefeng Wang <1290 1>, <1291 1>, <1292 1>, <1293 1>, <1294 1>, 5165350419fSKefeng Wang <1295 1>, <1296 1>, <1297 1>, <1298 1>, <1299 1>, 5175350419fSKefeng Wang <1300 1>, <1301 1>, <1302 1>, <1303 1>, <1304 1>, 5185350419fSKefeng Wang <1305 1>, <1306 1>, <1307 1>, <1308 1>, <1309 1>, 5195350419fSKefeng Wang <1310 1>, <1311 1>, <1312 1>, <1313 1>, <1314 1>, 5205350419fSKefeng Wang <1315 1>, <1316 1>, <1317 1>, <1318 1>, <1319 1>, 5215350419fSKefeng Wang <1320 1>, <1321 1>, <1322 1>, <1323 1>, <1324 1>, 5225350419fSKefeng Wang <1325 1>, <1326 1>, <1327 1>, <1328 1>, <1329 1>, 5235350419fSKefeng Wang <1330 1>, <1331 1>, <1332 1>, <1333 1>, <1334 1>, 5245350419fSKefeng Wang <1335 1>, <1336 1>, <1337 1>, <1338 1>, <1339 1>, 5255350419fSKefeng Wang <1340 1>, <1341 1>, <1342 1>, <1343 1>; 5265350419fSKefeng Wang 5275350419fSKefeng Wang desc-num = <0x400>; 5285350419fSKefeng Wang buf-size = <0x1000>; 5295350419fSKefeng Wang dma-coherent; 5305350419fSKefeng Wang 5315350419fSKefeng Wang port@0 { 5325350419fSKefeng Wang reg = <0>; 5335350419fSKefeng Wang serdes-syscon = <&serdes_ctrl>; 5345350419fSKefeng Wang port-rst-offset = <0>; 5355350419fSKefeng Wang port-mode-offset = <0>; 5365350419fSKefeng Wang media-type = "fiber"; 5375350419fSKefeng Wang }; 5385350419fSKefeng Wang 5395350419fSKefeng Wang port@1 { 5405350419fSKefeng Wang reg = <1>; 5415350419fSKefeng Wang serdes-syscon= <&serdes_ctrl>; 5425350419fSKefeng Wang port-rst-offset = <1>; 5435350419fSKefeng Wang port-mode-offset = <1>; 5445350419fSKefeng Wang media-type = "fiber"; 5455350419fSKefeng Wang }; 5465350419fSKefeng Wang 5475350419fSKefeng Wang port@4 { 5485350419fSKefeng Wang reg = <4>; 5495350419fSKefeng Wang phy-handle = <&phy0>; 5505350419fSKefeng Wang serdes-syscon= <&serdes_ctrl>; 5515350419fSKefeng Wang port-rst-offset = <4>; 5525350419fSKefeng Wang port-mode-offset = <2>; 5535350419fSKefeng Wang media-type = "copper"; 5545350419fSKefeng Wang }; 5555350419fSKefeng Wang 5565350419fSKefeng Wang port@5 { 5575350419fSKefeng Wang reg = <5>; 5585350419fSKefeng Wang phy-handle = <&phy1>; 5595350419fSKefeng Wang serdes-syscon= <&serdes_ctrl>; 5605350419fSKefeng Wang port-rst-offset = <5>; 5615350419fSKefeng Wang port-mode-offset = <3>; 5625350419fSKefeng Wang media-type = "copper"; 5635350419fSKefeng Wang }; 5645350419fSKefeng Wang }; 5655350419fSKefeng Wang 56606b29676SKefeng Wang eth0: ethernet-4{ 5675350419fSKefeng Wang compatible = "hisilicon,hns-nic-v2"; 5685350419fSKefeng Wang ae-handle = <&dsaf0>; 5695350419fSKefeng Wang port-idx-in-ae = <4>; 5705350419fSKefeng Wang local-mac-address = [00 00 00 00 00 00]; 5715350419fSKefeng Wang status = "disabled"; 5725350419fSKefeng Wang dma-coherent; 5735350419fSKefeng Wang }; 5745350419fSKefeng Wang 57506b29676SKefeng Wang eth1: ethernet-5{ 5765350419fSKefeng Wang compatible = "hisilicon,hns-nic-v2"; 5775350419fSKefeng Wang ae-handle = <&dsaf0>; 5785350419fSKefeng Wang port-idx-in-ae = <5>; 5795350419fSKefeng Wang local-mac-address = [00 00 00 00 00 00]; 5805350419fSKefeng Wang status = "disabled"; 5815350419fSKefeng Wang dma-coherent; 5825350419fSKefeng Wang }; 5835350419fSKefeng Wang 58406b29676SKefeng Wang eth2: ethernet-0{ 5855350419fSKefeng Wang compatible = "hisilicon,hns-nic-v2"; 5865350419fSKefeng Wang ae-handle = <&dsaf0>; 5875350419fSKefeng Wang port-idx-in-ae = <0>; 5885350419fSKefeng Wang local-mac-address = [00 00 00 00 00 00]; 5895350419fSKefeng Wang status = "disabled"; 5905350419fSKefeng Wang dma-coherent; 5915350419fSKefeng Wang }; 5925350419fSKefeng Wang 59306b29676SKefeng Wang eth3: ethernet-1{ 5945350419fSKefeng Wang compatible = "hisilicon,hns-nic-v2"; 5955350419fSKefeng Wang ae-handle = <&dsaf0>; 5965350419fSKefeng Wang port-idx-in-ae = <1>; 5975350419fSKefeng Wang local-mac-address = [00 00 00 00 00 00]; 5985350419fSKefeng Wang status = "disabled"; 5995350419fSKefeng Wang dma-coherent; 6005350419fSKefeng Wang }; 6017e01e7a1SKefeng Wang 6027e01e7a1SKefeng Wang sas0: sas@c3000000 { 6037e01e7a1SKefeng Wang compatible = "hisilicon,hip06-sas-v2"; 6047e01e7a1SKefeng Wang reg = <0 0xc3000000 0 0x10000>; 6057e01e7a1SKefeng Wang sas-addr = [50 01 88 20 16 00 00 00]; 6067e01e7a1SKefeng Wang hisilicon,sas-syscon = <&dsa_subctrl>; 6077e01e7a1SKefeng Wang ctrl-reset-reg = <0xa60>; 6087e01e7a1SKefeng Wang ctrl-reset-sts-reg = <0x5a30>; 6097e01e7a1SKefeng Wang ctrl-clock-ena-reg = <0x338>; 61085f5bd9eSJohn Garry clocks = <&refclk 0>; 6117e01e7a1SKefeng Wang queue-count = <16>; 6127e01e7a1SKefeng Wang phy-count = <8>; 6137e01e7a1SKefeng Wang dma-coherent; 6147e01e7a1SKefeng Wang interrupt-parent = <&mbigen_sas0>; 6157e01e7a1SKefeng Wang interrupts = <64 4>,<65 4>,<66 4>,<67 4>,<68 4>, 6167e01e7a1SKefeng Wang <69 4>,<70 4>,<71 4>,<72 4>,<73 4>, 6177e01e7a1SKefeng Wang <75 4>,<76 4>,<77 4>,<78 4>,<79 4>, 6187e01e7a1SKefeng Wang <80 4>,<81 4>,<82 4>,<83 4>,<84 4>, 6197e01e7a1SKefeng Wang <85 4>,<86 4>,<87 4>,<88 4>,<89 4>, 6207e01e7a1SKefeng Wang <90 4>,<91 4>,<92 4>,<93 4>,<94 4>, 6217e01e7a1SKefeng Wang <95 4>,<96 4>,<97 4>,<98 4>,<99 4>, 6227e01e7a1SKefeng Wang <100 4>,<101 4>,<102 4>,<103 4>,<104 4>, 6237e01e7a1SKefeng Wang <105 4>,<106 4>,<107 4>,<108 4>,<109 4>, 6247e01e7a1SKefeng Wang <110 4>,<111 4>,<112 4>,<113 4>,<114 4>, 6257e01e7a1SKefeng Wang <115 4>,<116 4>,<117 4>,<118 4>,<119 4>, 6267e01e7a1SKefeng Wang <120 4>,<121 4>,<122 4>,<123 4>,<124 4>, 6277e01e7a1SKefeng Wang <125 4>,<126 4>,<127 4>,<128 4>,<129 4>, 6287e01e7a1SKefeng Wang <130 4>,<131 4>,<132 4>,<133 4>,<134 4>, 6297e01e7a1SKefeng Wang <135 4>,<136 4>,<137 4>,<138 4>,<139 4>, 6307e01e7a1SKefeng Wang <140 4>,<141 4>,<142 4>,<143 4>,<144 4>, 6317e01e7a1SKefeng Wang <145 4>,<146 4>,<147 4>,<148 4>,<149 4>, 6327e01e7a1SKefeng Wang <150 4>,<151 4>,<152 4>,<153 4>,<154 4>, 6337e01e7a1SKefeng Wang <155 4>,<156 4>,<157 4>,<158 4>,<159 4>, 6347e01e7a1SKefeng Wang <160 4>,<601 1>,<602 1>,<603 1>,<604 1>, 6357e01e7a1SKefeng Wang <605 1>,<606 1>,<607 1>,<608 1>,<609 1>, 6367e01e7a1SKefeng Wang <610 1>,<611 1>,<612 1>,<613 1>,<614 1>, 6377e01e7a1SKefeng Wang <615 1>,<616 1>,<617 1>,<618 1>,<619 1>, 6387e01e7a1SKefeng Wang <620 1>,<621 1>,<622 1>,<623 1>,<624 1>, 6397e01e7a1SKefeng Wang <625 1>,<626 1>,<627 1>,<628 1>,<629 1>, 6407e01e7a1SKefeng Wang <630 1>,<631 1>,<632 1>; 6417e01e7a1SKefeng Wang status = "disabled"; 6427e01e7a1SKefeng Wang }; 6437e01e7a1SKefeng Wang 6447e01e7a1SKefeng Wang sas1: sas@a2000000 { 6457e01e7a1SKefeng Wang compatible = "hisilicon,hip06-sas-v2"; 6467e01e7a1SKefeng Wang reg = <0 0xa2000000 0 0x10000>; 6477e01e7a1SKefeng Wang sas-addr = [50 01 88 20 16 00 00 00]; 6487e01e7a1SKefeng Wang hisilicon,sas-syscon = <&pcie_subctl>; 649f65e7866SJohn Garry hip06-sas-v2-quirk-amt; 6507e01e7a1SKefeng Wang ctrl-reset-reg = <0xa18>; 6517e01e7a1SKefeng Wang ctrl-reset-sts-reg = <0x5a0c>; 6527e01e7a1SKefeng Wang ctrl-clock-ena-reg = <0x318>; 65385f5bd9eSJohn Garry clocks = <&refclk 0>; 6547e01e7a1SKefeng Wang queue-count = <16>; 6557e01e7a1SKefeng Wang phy-count = <8>; 6567e01e7a1SKefeng Wang dma-coherent; 6577e01e7a1SKefeng Wang interrupt-parent = <&mbigen_sas1>; 6587e01e7a1SKefeng Wang interrupts = <64 4>,<65 4>,<66 4>,<67 4>,<68 4>, 6597e01e7a1SKefeng Wang <69 4>,<70 4>,<71 4>,<72 4>,<73 4>, 6607e01e7a1SKefeng Wang <74 4>,<75 4>,<76 4>,<77 4>,<78 4>, 6617e01e7a1SKefeng Wang <79 4>,<80 4>,<81 4>,<82 4>,<83 4>, 6627e01e7a1SKefeng Wang <84 4>,<85 4>,<86 4>,<87 4>,<88 4>, 6637e01e7a1SKefeng Wang <89 4>,<90 4>,<91 4>,<92 4>,<93 4>, 6647e01e7a1SKefeng Wang <94 4>,<95 4>,<96 4>,<97 4>,<98 4>, 6657e01e7a1SKefeng Wang <99 4>,<100 4>,<101 4>,<102 4>,<103 4>, 6667e01e7a1SKefeng Wang <104 4>,<105 4>,<106 4>,<107 4>,<108 4>, 6677e01e7a1SKefeng Wang <109 4>,<110 4>,<111 4>,<112 4>,<113 4>, 6687e01e7a1SKefeng Wang <114 4>,<115 4>,<116 4>,<117 4>,<118 4>, 6697e01e7a1SKefeng Wang <119 4>,<120 4>,<121 4>,<122 4>,<123 4>, 6707e01e7a1SKefeng Wang <124 4>,<125 4>,<126 4>,<127 4>,<128 4>, 6717e01e7a1SKefeng Wang <129 4>,<130 4>,<131 4>,<132 4>,<133 4>, 6727e01e7a1SKefeng Wang <134 4>,<135 4>,<136 4>,<137 4>,<138 4>, 6737e01e7a1SKefeng Wang <139 4>,<140 4>,<141 4>,<142 4>,<143 4>, 6747e01e7a1SKefeng Wang <144 4>,<145 4>,<146 4>,<147 4>,<148 4>, 6757e01e7a1SKefeng Wang <149 4>,<150 4>,<151 4>,<152 4>,<153 4>, 6767e01e7a1SKefeng Wang <154 4>,<155 4>,<156 4>,<157 4>,<158 4>, 6777e01e7a1SKefeng Wang <159 4>,<576 1>,<577 1>,<578 1>,<579 1>, 6787e01e7a1SKefeng Wang <580 1>,<581 1>,<582 1>,<583 1>,<584 1>, 6797e01e7a1SKefeng Wang <585 1>,<586 1>,<587 1>,<588 1>,<589 1>, 6807e01e7a1SKefeng Wang <590 1>,<591 1>,<592 1>,<593 1>,<594 1>, 6817e01e7a1SKefeng Wang <595 1>,<596 1>,<597 1>,<598 1>,<599 1>, 6827e01e7a1SKefeng Wang <600 1>,<601 1>,<602 1>,<603 1>,<604 1>, 6837e01e7a1SKefeng Wang <605 1>,<606 1>,<607 1>; 6847e01e7a1SKefeng Wang status = "disabled"; 6857e01e7a1SKefeng Wang }; 6867e01e7a1SKefeng Wang 6877e01e7a1SKefeng Wang sas2: sas@a3000000 { 6887e01e7a1SKefeng Wang compatible = "hisilicon,hip06-sas-v2"; 6897e01e7a1SKefeng Wang reg = <0 0xa3000000 0 0x10000>; 6907e01e7a1SKefeng Wang sas-addr = [50 01 88 20 16 00 00 00]; 6917e01e7a1SKefeng Wang hisilicon,sas-syscon = <&pcie_subctl>; 6927e01e7a1SKefeng Wang ctrl-reset-reg = <0xae0>; 6937e01e7a1SKefeng Wang ctrl-reset-sts-reg = <0x5a70>; 6947e01e7a1SKefeng Wang ctrl-clock-ena-reg = <0x3a8>; 69585f5bd9eSJohn Garry clocks = <&refclk 0>; 6967e01e7a1SKefeng Wang queue-count = <16>; 6977e01e7a1SKefeng Wang phy-count = <9>; 6987e01e7a1SKefeng Wang dma-coherent; 6997e01e7a1SKefeng Wang interrupt-parent = <&mbigen_sas2>; 7007e01e7a1SKefeng Wang interrupts = <192 4>,<193 4>,<194 4>,<195 4>,<196 4>, 7017e01e7a1SKefeng Wang <197 4>,<198 4>,<199 4>,<200 4>,<201 4>, 7027e01e7a1SKefeng Wang <202 4>,<203 4>,<204 4>,<205 4>,<206 4>, 7037e01e7a1SKefeng Wang <207 4>,<208 4>,<209 4>,<210 4>,<211 4>, 7047e01e7a1SKefeng Wang <212 4>,<213 4>,<214 4>,<215 4>,<216 4>, 7057e01e7a1SKefeng Wang <217 4>,<218 4>,<219 4>,<220 4>,<221 4>, 7067e01e7a1SKefeng Wang <222 4>,<223 4>,<224 4>,<225 4>,<226 4>, 7077e01e7a1SKefeng Wang <227 4>,<228 4>,<229 4>,<230 4>,<231 4>, 7087e01e7a1SKefeng Wang <232 4>,<233 4>,<234 4>,<235 4>,<236 4>, 7097e01e7a1SKefeng Wang <237 4>,<238 4>,<239 4>,<240 4>,<241 4>, 7107e01e7a1SKefeng Wang <242 4>,<243 4>,<244 4>,<245 4>,<246 4>, 7117e01e7a1SKefeng Wang <247 4>,<248 4>,<249 4>,<250 4>,<251 4>, 7127e01e7a1SKefeng Wang <252 4>,<253 4>,<254 4>,<255 4>,<256 4>, 7137e01e7a1SKefeng Wang <257 4>,<258 4>,<259 4>,<260 4>,<261 4>, 7147e01e7a1SKefeng Wang <262 4>,<263 4>,<264 4>,<265 4>,<266 4>, 7157e01e7a1SKefeng Wang <267 4>,<268 4>,<269 4>,<270 4>,<271 4>, 7167e01e7a1SKefeng Wang <272 4>,<273 4>,<274 4>,<275 4>,<276 4>, 7177e01e7a1SKefeng Wang <277 4>,<278 4>,<279 4>,<280 4>,<281 4>, 7187e01e7a1SKefeng Wang <282 4>,<283 4>,<284 4>,<285 4>,<286 4>, 7197e01e7a1SKefeng Wang <287 4>,<608 1>,<609 1>,<610 1>,<611 1>, 7207e01e7a1SKefeng Wang <612 1>,<613 1>,<614 1>,<615 1>,<616 1>, 7217e01e7a1SKefeng Wang <617 1>,<618 1>,<619 1>,<620 1>,<621 1>, 7227e01e7a1SKefeng Wang <622 1>,<623 1>,<624 1>,<625 1>,<626 1>, 7237e01e7a1SKefeng Wang <627 1>,<628 1>,<629 1>,<630 1>,<631 1>, 7247e01e7a1SKefeng Wang <632 1>,<633 1>,<634 1>,<635 1>,<636 1>, 7257e01e7a1SKefeng Wang <637 1>,<638 1>,<639 1>; 7267e01e7a1SKefeng Wang status = "disabled"; 7277e01e7a1SKefeng Wang }; 72817f21343SShameerali Kolothum Thodi 72917f21343SShameerali Kolothum Thodi pcie0: pcie@a0090000 { 73017f21343SShameerali Kolothum Thodi compatible = "hisilicon,hip06-pcie-ecam"; 73117f21343SShameerali Kolothum Thodi reg = <0 0xb0000000 0 0x2000000>, 73217f21343SShameerali Kolothum Thodi <0 0xa0090000 0 0x10000>; 73317f21343SShameerali Kolothum Thodi bus-range = <0 31>; 73417f21343SShameerali Kolothum Thodi msi-map = <0x0000 &its_dsa 0x0000 0x2000>; 73517f21343SShameerali Kolothum Thodi msi-map-mask = <0xffff>; 73617f21343SShameerali Kolothum Thodi #address-cells = <3>; 73717f21343SShameerali Kolothum Thodi #size-cells = <2>; 73817f21343SShameerali Kolothum Thodi device_type = "pci"; 73917f21343SShameerali Kolothum Thodi dma-coherent; 74017f21343SShameerali Kolothum Thodi ranges = <0x02000000 0 0xb2000000 0x0 0xb2000000 0 74117f21343SShameerali Kolothum Thodi 0x5ff0000 0x01000000 0 0 0 0xb7ff0000 74217f21343SShameerali Kolothum Thodi 0 0x10000>; 74317f21343SShameerali Kolothum Thodi #interrupt-cells = <1>; 74417f21343SShameerali Kolothum Thodi interrupt-map-mask = <0xf800 0 0 7>; 74517f21343SShameerali Kolothum Thodi interrupt-map = <0x0 0 0 1 &mbigen_pcie0 650 4 74617f21343SShameerali Kolothum Thodi 0x0 0 0 2 &mbigen_pcie0 650 4 74717f21343SShameerali Kolothum Thodi 0x0 0 0 3 &mbigen_pcie0 650 4 74817f21343SShameerali Kolothum Thodi 0x0 0 0 4 &mbigen_pcie0 650 4>; 74917f21343SShameerali Kolothum Thodi status = "disabled"; 75017f21343SShameerali Kolothum Thodi }; 75117f21343SShameerali Kolothum Thodi 752aa8d3e74SKefeng Wang }; 753aa8d3e74SKefeng Wang 754aa8d3e74SKefeng Wang}; 755