11d0ea069SThomas Gleixner// SPDX-License-Identifier: GPL-2.0-only 2aa8d3e74SKefeng Wang/** 3aa8d3e74SKefeng Wang * dts file for Hisilicon D03 Development Board 4aa8d3e74SKefeng Wang * 5e3211e41SHao Fang * 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"; 2140de459a3SPierre Gondois cache-level = <2>; 215a0936e9eSKrzysztof Kozlowski cache-unified; 216aa8d3e74SKefeng Wang }; 217aa8d3e74SKefeng Wang 218aa8d3e74SKefeng Wang cluster1_l2: l2-cache1 { 219aa8d3e74SKefeng Wang compatible = "cache"; 2200de459a3SPierre Gondois cache-level = <2>; 221a0936e9eSKrzysztof Kozlowski cache-unified; 222aa8d3e74SKefeng Wang }; 223aa8d3e74SKefeng Wang 224aa8d3e74SKefeng Wang cluster2_l2: l2-cache2 { 225aa8d3e74SKefeng Wang compatible = "cache"; 2260de459a3SPierre Gondois cache-level = <2>; 227a0936e9eSKrzysztof Kozlowski cache-unified; 228aa8d3e74SKefeng Wang }; 229aa8d3e74SKefeng Wang 230aa8d3e74SKefeng Wang cluster3_l2: l2-cache3 { 231aa8d3e74SKefeng Wang compatible = "cache"; 2320de459a3SPierre Gondois cache-level = <2>; 233a0936e9eSKrzysztof Kozlowski cache-unified; 234aa8d3e74SKefeng Wang }; 235aa8d3e74SKefeng Wang }; 236aa8d3e74SKefeng Wang 237aa8d3e74SKefeng Wang gic: interrupt-controller@4d000000 { 238aa8d3e74SKefeng Wang compatible = "arm,gic-v3"; 239aa8d3e74SKefeng Wang #interrupt-cells = <3>; 240aa8d3e74SKefeng Wang #address-cells = <2>; 241aa8d3e74SKefeng Wang #size-cells = <2>; 242aa8d3e74SKefeng Wang ranges; 243aa8d3e74SKefeng Wang interrupt-controller; 244aa8d3e74SKefeng Wang #redistributor-regions = <1>; 245aa8d3e74SKefeng Wang redistributor-stride = <0x0 0x30000>; 246aa8d3e74SKefeng Wang reg = <0x0 0x4d000000 0 0x10000>, /* GICD */ 247aa8d3e74SKefeng Wang <0x0 0x4d100000 0 0x300000>, /* GICR */ 248aa8d3e74SKefeng Wang <0x0 0xfe000000 0 0x10000>, /* GICC */ 249aa8d3e74SKefeng Wang <0x0 0xfe010000 0 0x10000>, /* GICH */ 250aa8d3e74SKefeng Wang <0x0 0xfe020000 0 0x10000>; /* GICV */ 251aa8d3e74SKefeng Wang interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>; 252aa8d3e74SKefeng Wang 253c25b8464SZhen Lei its_dsa: msi-controller@c6000000 { 254aa8d3e74SKefeng Wang compatible = "arm,gic-v3-its"; 255aa8d3e74SKefeng Wang msi-controller; 256aa8d3e74SKefeng Wang #msi-cells = <1>; 257aa8d3e74SKefeng Wang reg = <0x0 0xc6000000 0x0 0x40000>; 258aa8d3e74SKefeng Wang }; 259aa8d3e74SKefeng Wang }; 260aa8d3e74SKefeng Wang 2614889c8e0SKrzysztof Kozlowski eth2: ethernet-0 { 2624889c8e0SKrzysztof Kozlowski compatible = "hisilicon,hns-nic-v2"; 2634889c8e0SKrzysztof Kozlowski ae-handle = <&dsaf0>; 2644889c8e0SKrzysztof Kozlowski port-idx-in-ae = <0>; 2654889c8e0SKrzysztof Kozlowski local-mac-address = [00 00 00 00 00 00]; 2664889c8e0SKrzysztof Kozlowski status = "disabled"; 2674889c8e0SKrzysztof Kozlowski dma-coherent; 2684889c8e0SKrzysztof Kozlowski }; 2694889c8e0SKrzysztof Kozlowski 2704889c8e0SKrzysztof Kozlowski eth3: ethernet-1 { 2714889c8e0SKrzysztof Kozlowski compatible = "hisilicon,hns-nic-v2"; 2724889c8e0SKrzysztof Kozlowski ae-handle = <&dsaf0>; 2734889c8e0SKrzysztof Kozlowski port-idx-in-ae = <1>; 2744889c8e0SKrzysztof Kozlowski local-mac-address = [00 00 00 00 00 00]; 2754889c8e0SKrzysztof Kozlowski status = "disabled"; 2764889c8e0SKrzysztof Kozlowski dma-coherent; 2774889c8e0SKrzysztof Kozlowski }; 2784889c8e0SKrzysztof Kozlowski 2794889c8e0SKrzysztof Kozlowski eth0: ethernet-4 { 2804889c8e0SKrzysztof Kozlowski compatible = "hisilicon,hns-nic-v2"; 2814889c8e0SKrzysztof Kozlowski ae-handle = <&dsaf0>; 2824889c8e0SKrzysztof Kozlowski port-idx-in-ae = <4>; 2834889c8e0SKrzysztof Kozlowski local-mac-address = [00 00 00 00 00 00]; 2844889c8e0SKrzysztof Kozlowski status = "disabled"; 2854889c8e0SKrzysztof Kozlowski dma-coherent; 2864889c8e0SKrzysztof Kozlowski }; 2874889c8e0SKrzysztof Kozlowski 2884889c8e0SKrzysztof Kozlowski eth1: ethernet-5 { 2894889c8e0SKrzysztof Kozlowski compatible = "hisilicon,hns-nic-v2"; 2904889c8e0SKrzysztof Kozlowski ae-handle = <&dsaf0>; 2914889c8e0SKrzysztof Kozlowski port-idx-in-ae = <5>; 2924889c8e0SKrzysztof Kozlowski local-mac-address = [00 00 00 00 00 00]; 2934889c8e0SKrzysztof Kozlowski status = "disabled"; 2944889c8e0SKrzysztof Kozlowski dma-coherent; 2954889c8e0SKrzysztof Kozlowski }; 2964889c8e0SKrzysztof Kozlowski 2974889c8e0SKrzysztof Kozlowski refclk: refclk { 2984889c8e0SKrzysztof Kozlowski compatible = "fixed-clock"; 2994889c8e0SKrzysztof Kozlowski clock-frequency = <50000000>; 3004889c8e0SKrzysztof Kozlowski #clock-cells = <0>; 3014889c8e0SKrzysztof Kozlowski }; 3024889c8e0SKrzysztof Kozlowski 303aa8d3e74SKefeng Wang timer { 304aa8d3e74SKefeng Wang compatible = "arm,armv8-timer"; 305aa8d3e74SKefeng Wang interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>, 306aa8d3e74SKefeng Wang <GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>, 307aa8d3e74SKefeng Wang <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>, 308aa8d3e74SKefeng Wang <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>; 309aa8d3e74SKefeng Wang }; 310aa8d3e74SKefeng Wang 311aa8d3e74SKefeng Wang pmu { 312aa8d3e74SKefeng Wang compatible = "arm,cortex-a57-pmu"; 313aa8d3e74SKefeng Wang interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>; 314aa8d3e74SKefeng Wang }; 315aa8d3e74SKefeng Wang 316aa8d3e74SKefeng Wang mbigen_pcie@a0080000 { 317aa8d3e74SKefeng Wang compatible = "hisilicon,mbigen-v2"; 318aa8d3e74SKefeng Wang reg = <0x0 0xa0080000 0x0 0x10000>; 319aa8d3e74SKefeng Wang 320aa8d3e74SKefeng Wang mbigen_usb: intc_usb { 321aa8d3e74SKefeng Wang msi-parent = <&its_dsa 0x40080>; 322aa8d3e74SKefeng Wang interrupt-controller; 323aa8d3e74SKefeng Wang #interrupt-cells = <2>; 324aa8d3e74SKefeng Wang num-pins = <2>; 325aa8d3e74SKefeng Wang }; 3267e01e7a1SKefeng Wang 3277e01e7a1SKefeng Wang mbigen_sas1: intc_sas1 { 3287e01e7a1SKefeng Wang msi-parent = <&its_dsa 0x40000>; 3297e01e7a1SKefeng Wang interrupt-controller; 3307e01e7a1SKefeng Wang #interrupt-cells = <2>; 3317e01e7a1SKefeng Wang num-pins = <128>; 3327e01e7a1SKefeng Wang }; 3337e01e7a1SKefeng Wang 3347e01e7a1SKefeng Wang mbigen_sas2: intc_sas2 { 3357e01e7a1SKefeng Wang msi-parent = <&its_dsa 0x40040>; 3367e01e7a1SKefeng Wang interrupt-controller; 3377e01e7a1SKefeng Wang #interrupt-cells = <2>; 3387e01e7a1SKefeng Wang num-pins = <128>; 3397e01e7a1SKefeng Wang }; 34017f21343SShameerali Kolothum Thodi 34117f21343SShameerali Kolothum Thodi mbigen_pcie0: intc_pcie0 { 34217f21343SShameerali Kolothum Thodi msi-parent = <&its_dsa 0x40085>; 34317f21343SShameerali Kolothum Thodi interrupt-controller; 34417f21343SShameerali Kolothum Thodi #interrupt-cells = <2>; 34517f21343SShameerali Kolothum Thodi num-pins = <10>; 34617f21343SShameerali Kolothum Thodi }; 347aa8d3e74SKefeng Wang }; 348aa8d3e74SKefeng Wang 3495350419fSKefeng Wang mbigen_dsa@c0080000 { 3505350419fSKefeng Wang compatible = "hisilicon,mbigen-v2"; 3515350419fSKefeng Wang reg = <0x0 0xc0080000 0x0 0x10000>; 3525350419fSKefeng Wang 3535350419fSKefeng Wang mbigen_dsaf0: intc_dsaf0 { 3545350419fSKefeng Wang msi-parent = <&its_dsa 0x40800>; 3555350419fSKefeng Wang interrupt-controller; 3565350419fSKefeng Wang #interrupt-cells = <2>; 3575350419fSKefeng Wang num-pins = <409>; 3585350419fSKefeng Wang }; 3597e01e7a1SKefeng Wang 3607e01e7a1SKefeng Wang mbigen_sas0: intc-sas0 { 3617e01e7a1SKefeng Wang msi-parent = <&its_dsa 0x40900>; 3627e01e7a1SKefeng Wang interrupt-controller; 3637e01e7a1SKefeng Wang #interrupt-cells = <2>; 3647e01e7a1SKefeng Wang num-pins = <128>; 3657e01e7a1SKefeng Wang }; 3665350419fSKefeng Wang }; 3675350419fSKefeng Wang 36817f21343SShameerali Kolothum Thodi /** 36917f21343SShameerali Kolothum Thodi * HiSilicon erratum 161010801: This describes the limitation 37017f21343SShameerali Kolothum Thodi * of HiSilicon platforms hip06/hip07 to support the SMMUv3 37117f21343SShameerali Kolothum Thodi * mappings for PCIe MSI transactions. 37217f21343SShameerali Kolothum Thodi * PCIe controller on these platforms has to differentiate the 37317f21343SShameerali Kolothum Thodi * MSI payload against other DMA payload and has to modify the 37417f21343SShameerali Kolothum Thodi * MSI payload. This makes it difficult for these platforms to 37517f21343SShameerali Kolothum Thodi * have a SMMU translation for MSI. In order to workaround this, 37617f21343SShameerali Kolothum Thodi * ARM SMMUv3 driver requires a quirk to treat the MSI regions 37717f21343SShameerali Kolothum Thodi * separately. Such a quirk is currently missing for DT based 37817f21343SShameerali Kolothum Thodi * systems. Hence please make sure that the smmu pcie node on 37917f21343SShameerali Kolothum Thodi * hip06 is disabled as this will break the PCIe functionality 38017f21343SShameerali Kolothum Thodi * when iommu-map entry is used along with the PCIe node. 38117f21343SShameerali Kolothum Thodi * Refer:https://www.spinics.net/lists/arm-kernel/msg602812.html 38217f21343SShameerali Kolothum Thodi */ 383d7d45d5dSZhen Lei smmu0: iommu@a0040000 { 38417f21343SShameerali Kolothum Thodi compatible = "arm,smmu-v3"; 38517f21343SShameerali Kolothum Thodi reg = <0x0 0xa0040000 0x0 0x20000>; 38617f21343SShameerali Kolothum Thodi #iommu-cells = <1>; 38717f21343SShameerali Kolothum Thodi dma-coherent; 38817f21343SShameerali Kolothum Thodi hisilicon,broken-prefetch-cmd; 38917f21343SShameerali Kolothum Thodi status = "disabled"; 39017f21343SShameerali Kolothum Thodi }; 39117f21343SShameerali Kolothum Thodi 392aa8d3e74SKefeng Wang soc { 393aa8d3e74SKefeng Wang compatible = "simple-bus"; 394aa8d3e74SKefeng Wang #address-cells = <2>; 395aa8d3e74SKefeng Wang #size-cells = <2>; 396aa8d3e74SKefeng Wang ranges; 397aa8d3e74SKefeng Wang 398291985c4SJohn Garry isa@a01b0000 { 399291985c4SJohn Garry compatible = "hisilicon,hip06-lpc"; 400291985c4SJohn Garry #size-cells = <1>; 401291985c4SJohn Garry #address-cells = <2>; 402291985c4SJohn Garry reg = <0x0 0xa01b0000 0x0 0x1000>; 403291985c4SJohn Garry 404291985c4SJohn Garry ipmi0: bt@e4 { 405291985c4SJohn Garry compatible = "ipmi-bt"; 406291985c4SJohn Garry device_type = "ipmi"; 407291985c4SJohn Garry reg = <0x01 0xe4 0x04>; 408291985c4SJohn Garry status = "disabled"; 409291985c4SJohn Garry }; 410291985c4SJohn Garry 411bf69b862SZhen Lei uart0: serial@2f8 { 412291985c4SJohn Garry compatible = "ns16550a"; 413291985c4SJohn Garry clock-frequency = <1843200>; 414291985c4SJohn Garry reg = <0x01 0x2f8 0x08>; 415291985c4SJohn Garry status = "disabled"; 416291985c4SJohn Garry }; 417291985c4SJohn Garry }; 418291985c4SJohn Garry 4194d2b9b98SZhen Lei usb_ohci: usb@a7030000 { 420aa8d3e74SKefeng Wang compatible = "generic-ohci"; 421aa8d3e74SKefeng Wang reg = <0x0 0xa7030000 0x0 0x10000>; 422aa8d3e74SKefeng Wang interrupt-parent = <&mbigen_usb>; 4234d75a171SKefeng Wang interrupts = <640 4>; 424aa8d3e74SKefeng Wang dma-coherent; 425aa8d3e74SKefeng Wang status = "disabled"; 426aa8d3e74SKefeng Wang }; 427aa8d3e74SKefeng Wang 4284d2b9b98SZhen Lei usb_ehci: usb@a7020000 { 429aa8d3e74SKefeng Wang compatible = "generic-ehci"; 430aa8d3e74SKefeng Wang reg = <0x0 0xa7020000 0x0 0x10000>; 431aa8d3e74SKefeng Wang interrupt-parent = <&mbigen_usb>; 4324d75a171SKefeng Wang interrupts = <641 4>; 433aa8d3e74SKefeng Wang dma-coherent; 434aa8d3e74SKefeng Wang status = "disabled"; 435aa8d3e74SKefeng Wang }; 4365350419fSKefeng Wang 4375350419fSKefeng Wang peri_c_subctrl: sub_ctrl_c@60000000 { 4385350419fSKefeng Wang compatible = "hisilicon,peri-subctrl","syscon"; 4395350419fSKefeng Wang reg = <0 0x60000000 0x0 0x10000>; 4405350419fSKefeng Wang }; 4415350419fSKefeng Wang 4425350419fSKefeng Wang dsa_subctrl: dsa_subctrl@c0000000 { 4435350419fSKefeng Wang compatible = "hisilicon,dsa-subctrl", "syscon"; 4445350419fSKefeng Wang reg = <0x0 0xc0000000 0x0 0x10000>; 4455350419fSKefeng Wang }; 4465350419fSKefeng Wang 4477e01e7a1SKefeng Wang pcie_subctl: pcie_subctl@a0000000 { 4487e01e7a1SKefeng Wang compatible = "hisilicon,pcie-sas-subctrl", "syscon"; 4497e01e7a1SKefeng Wang reg = <0x0 0xa0000000 0x0 0x10000>; 4507e01e7a1SKefeng Wang }; 4517e01e7a1SKefeng Wang 4525350419fSKefeng Wang serdes_ctrl: sds_ctrl@c2200000 { 4535350419fSKefeng Wang compatible = "syscon"; 4545350419fSKefeng Wang reg = <0 0xc2200000 0x0 0x80000>; 4555350419fSKefeng Wang }; 4565350419fSKefeng Wang 4575350419fSKefeng Wang mdio@603c0000 { 4585350419fSKefeng Wang compatible = "hisilicon,hns-mdio"; 4595350419fSKefeng Wang reg = <0x0 0x603c0000 0x0 0x1000>; 4605350419fSKefeng Wang subctrl-vbase = <&peri_c_subctrl 0x338 0xa38 0x531c 0x5a1c>; 4615350419fSKefeng Wang #address-cells = <1>; 4625350419fSKefeng Wang #size-cells = <0>; 4635350419fSKefeng Wang 4645350419fSKefeng Wang phy0: ethernet-phy@0 { 4655350419fSKefeng Wang compatible = "ethernet-phy-ieee802.3-c22"; 4665350419fSKefeng Wang reg = <0>; 4675350419fSKefeng Wang }; 4685350419fSKefeng Wang 4695350419fSKefeng Wang phy1: ethernet-phy@1 { 4705350419fSKefeng Wang compatible = "ethernet-phy-ieee802.3-c22"; 4715350419fSKefeng Wang reg = <1>; 4725350419fSKefeng Wang }; 4735350419fSKefeng Wang }; 4745350419fSKefeng Wang 475*a2c4daf4SKrzysztof Kozlowski dsaf0: dsa@c5000000 { 4765350419fSKefeng Wang #address-cells = <1>; 4775350419fSKefeng Wang #size-cells = <0>; 4785350419fSKefeng Wang compatible = "hisilicon,hns-dsaf-v2"; 4795350419fSKefeng Wang mode = "6port-16rss"; 48024402ce1SZhen Lei reg = <0x0 0xc5000000 0x0 0x890000>, 48124402ce1SZhen Lei <0x0 0xc7000000 0x0 0x600000>; 4825350419fSKefeng Wang reg-names = "ppe-base", "dsaf-base"; 4835350419fSKefeng Wang interrupt-parent = <&mbigen_dsaf0>; 4845350419fSKefeng Wang subctrl-syscon = <&dsa_subctrl>; 4855350419fSKefeng Wang reset-field-offset = <0>; 4865350419fSKefeng Wang interrupts = 4875350419fSKefeng Wang <576 1>, <577 1>, <578 1>, <579 1>, <580 1>, 4885350419fSKefeng Wang <581 1>, <582 1>, <583 1>, <584 1>, <585 1>, 4895350419fSKefeng Wang <586 1>, <587 1>, <588 1>, <589 1>, <590 1>, 4905350419fSKefeng Wang <591 1>, <592 1>, <593 1>, <594 1>, <595 1>, 4915350419fSKefeng Wang <596 1>, <597 1>, <598 1>, <599 1>, <600 1>, 4925350419fSKefeng Wang <960 1>, <961 1>, <962 1>, <963 1>, <964 1>, 4935350419fSKefeng Wang <965 1>, <966 1>, <967 1>, <968 1>, <969 1>, 4945350419fSKefeng Wang <970 1>, <971 1>, <972 1>, <973 1>, <974 1>, 4955350419fSKefeng Wang <975 1>, <976 1>, <977 1>, <978 1>, <979 1>, 4965350419fSKefeng Wang <980 1>, <981 1>, <982 1>, <983 1>, <984 1>, 4975350419fSKefeng Wang <985 1>, <986 1>, <987 1>, <988 1>, <989 1>, 4985350419fSKefeng Wang <990 1>, <991 1>, <992 1>, <993 1>, <994 1>, 4995350419fSKefeng Wang <995 1>, <996 1>, <997 1>, <998 1>, <999 1>, 5005350419fSKefeng Wang <1000 1>, <1001 1>, <1002 1>, <1003 1>, <1004 1>, 5015350419fSKefeng Wang <1005 1>, <1006 1>, <1007 1>, <1008 1>, <1009 1>, 5025350419fSKefeng Wang <1010 1>, <1011 1>, <1012 1>, <1013 1>, <1014 1>, 5035350419fSKefeng Wang <1015 1>, <1016 1>, <1017 1>, <1018 1>, <1019 1>, 5045350419fSKefeng Wang <1020 1>, <1021 1>, <1022 1>, <1023 1>, <1024 1>, 5055350419fSKefeng Wang <1025 1>, <1026 1>, <1027 1>, <1028 1>, <1029 1>, 5065350419fSKefeng Wang <1030 1>, <1031 1>, <1032 1>, <1033 1>, <1034 1>, 5075350419fSKefeng Wang <1035 1>, <1036 1>, <1037 1>, <1038 1>, <1039 1>, 5085350419fSKefeng Wang <1040 1>, <1041 1>, <1042 1>, <1043 1>, <1044 1>, 5095350419fSKefeng Wang <1045 1>, <1046 1>, <1047 1>, <1048 1>, <1049 1>, 5105350419fSKefeng Wang <1050 1>, <1051 1>, <1052 1>, <1053 1>, <1054 1>, 5115350419fSKefeng Wang <1055 1>, <1056 1>, <1057 1>, <1058 1>, <1059 1>, 5125350419fSKefeng Wang <1060 1>, <1061 1>, <1062 1>, <1063 1>, <1064 1>, 5135350419fSKefeng Wang <1065 1>, <1066 1>, <1067 1>, <1068 1>, <1069 1>, 5145350419fSKefeng Wang <1070 1>, <1071 1>, <1072 1>, <1073 1>, <1074 1>, 5155350419fSKefeng Wang <1075 1>, <1076 1>, <1077 1>, <1078 1>, <1079 1>, 5165350419fSKefeng Wang <1080 1>, <1081 1>, <1082 1>, <1083 1>, <1084 1>, 5175350419fSKefeng Wang <1085 1>, <1086 1>, <1087 1>, <1088 1>, <1089 1>, 5185350419fSKefeng Wang <1090 1>, <1091 1>, <1092 1>, <1093 1>, <1094 1>, 5195350419fSKefeng Wang <1095 1>, <1096 1>, <1097 1>, <1098 1>, <1099 1>, 5205350419fSKefeng Wang <1100 1>, <1101 1>, <1102 1>, <1103 1>, <1104 1>, 5215350419fSKefeng Wang <1105 1>, <1106 1>, <1107 1>, <1108 1>, <1109 1>, 5225350419fSKefeng Wang <1110 1>, <1111 1>, <1112 1>, <1113 1>, <1114 1>, 5235350419fSKefeng Wang <1115 1>, <1116 1>, <1117 1>, <1118 1>, <1119 1>, 5245350419fSKefeng Wang <1120 1>, <1121 1>, <1122 1>, <1123 1>, <1124 1>, 5255350419fSKefeng Wang <1125 1>, <1126 1>, <1127 1>, <1128 1>, <1129 1>, 5265350419fSKefeng Wang <1130 1>, <1131 1>, <1132 1>, <1133 1>, <1134 1>, 5275350419fSKefeng Wang <1135 1>, <1136 1>, <1137 1>, <1138 1>, <1139 1>, 5285350419fSKefeng Wang <1140 1>, <1141 1>, <1142 1>, <1143 1>, <1144 1>, 5295350419fSKefeng Wang <1145 1>, <1146 1>, <1147 1>, <1148 1>, <1149 1>, 5305350419fSKefeng Wang <1150 1>, <1151 1>, <1152 1>, <1153 1>, <1154 1>, 5315350419fSKefeng Wang <1155 1>, <1156 1>, <1157 1>, <1158 1>, <1159 1>, 5325350419fSKefeng Wang <1160 1>, <1161 1>, <1162 1>, <1163 1>, <1164 1>, 5335350419fSKefeng Wang <1165 1>, <1166 1>, <1167 1>, <1168 1>, <1169 1>, 5345350419fSKefeng Wang <1170 1>, <1171 1>, <1172 1>, <1173 1>, <1174 1>, 5355350419fSKefeng Wang <1175 1>, <1176 1>, <1177 1>, <1178 1>, <1179 1>, 5365350419fSKefeng Wang <1180 1>, <1181 1>, <1182 1>, <1183 1>, <1184 1>, 5375350419fSKefeng Wang <1185 1>, <1186 1>, <1187 1>, <1188 1>, <1189 1>, 5385350419fSKefeng Wang <1190 1>, <1191 1>, <1192 1>, <1193 1>, <1194 1>, 5395350419fSKefeng Wang <1195 1>, <1196 1>, <1197 1>, <1198 1>, <1199 1>, 5405350419fSKefeng Wang <1200 1>, <1201 1>, <1202 1>, <1203 1>, <1204 1>, 5415350419fSKefeng Wang <1205 1>, <1206 1>, <1207 1>, <1208 1>, <1209 1>, 5425350419fSKefeng Wang <1210 1>, <1211 1>, <1212 1>, <1213 1>, <1214 1>, 5435350419fSKefeng Wang <1215 1>, <1216 1>, <1217 1>, <1218 1>, <1219 1>, 5445350419fSKefeng Wang <1220 1>, <1221 1>, <1222 1>, <1223 1>, <1224 1>, 5455350419fSKefeng Wang <1225 1>, <1226 1>, <1227 1>, <1228 1>, <1229 1>, 5465350419fSKefeng Wang <1230 1>, <1231 1>, <1232 1>, <1233 1>, <1234 1>, 5475350419fSKefeng Wang <1235 1>, <1236 1>, <1237 1>, <1238 1>, <1239 1>, 5485350419fSKefeng Wang <1240 1>, <1241 1>, <1242 1>, <1243 1>, <1244 1>, 5495350419fSKefeng Wang <1245 1>, <1246 1>, <1247 1>, <1248 1>, <1249 1>, 5505350419fSKefeng Wang <1250 1>, <1251 1>, <1252 1>, <1253 1>, <1254 1>, 5515350419fSKefeng Wang <1255 1>, <1256 1>, <1257 1>, <1258 1>, <1259 1>, 5525350419fSKefeng Wang <1260 1>, <1261 1>, <1262 1>, <1263 1>, <1264 1>, 5535350419fSKefeng Wang <1265 1>, <1266 1>, <1267 1>, <1268 1>, <1269 1>, 5545350419fSKefeng Wang <1270 1>, <1271 1>, <1272 1>, <1273 1>, <1274 1>, 5555350419fSKefeng Wang <1275 1>, <1276 1>, <1277 1>, <1278 1>, <1279 1>, 5565350419fSKefeng Wang <1280 1>, <1281 1>, <1282 1>, <1283 1>, <1284 1>, 5575350419fSKefeng Wang <1285 1>, <1286 1>, <1287 1>, <1288 1>, <1289 1>, 5585350419fSKefeng Wang <1290 1>, <1291 1>, <1292 1>, <1293 1>, <1294 1>, 5595350419fSKefeng Wang <1295 1>, <1296 1>, <1297 1>, <1298 1>, <1299 1>, 5605350419fSKefeng Wang <1300 1>, <1301 1>, <1302 1>, <1303 1>, <1304 1>, 5615350419fSKefeng Wang <1305 1>, <1306 1>, <1307 1>, <1308 1>, <1309 1>, 5625350419fSKefeng Wang <1310 1>, <1311 1>, <1312 1>, <1313 1>, <1314 1>, 5635350419fSKefeng Wang <1315 1>, <1316 1>, <1317 1>, <1318 1>, <1319 1>, 5645350419fSKefeng Wang <1320 1>, <1321 1>, <1322 1>, <1323 1>, <1324 1>, 5655350419fSKefeng Wang <1325 1>, <1326 1>, <1327 1>, <1328 1>, <1329 1>, 5665350419fSKefeng Wang <1330 1>, <1331 1>, <1332 1>, <1333 1>, <1334 1>, 5675350419fSKefeng Wang <1335 1>, <1336 1>, <1337 1>, <1338 1>, <1339 1>, 5685350419fSKefeng Wang <1340 1>, <1341 1>, <1342 1>, <1343 1>; 5695350419fSKefeng Wang 5705350419fSKefeng Wang desc-num = <0x400>; 5715350419fSKefeng Wang buf-size = <0x1000>; 5725350419fSKefeng Wang dma-coherent; 5735350419fSKefeng Wang 5745350419fSKefeng Wang port@0 { 5755350419fSKefeng Wang reg = <0>; 5765350419fSKefeng Wang serdes-syscon = <&serdes_ctrl>; 5775350419fSKefeng Wang port-rst-offset = <0>; 5785350419fSKefeng Wang port-mode-offset = <0>; 5795350419fSKefeng Wang media-type = "fiber"; 5805350419fSKefeng Wang }; 5815350419fSKefeng Wang 5825350419fSKefeng Wang port@1 { 5835350419fSKefeng Wang reg = <1>; 5845350419fSKefeng Wang serdes-syscon = <&serdes_ctrl>; 5855350419fSKefeng Wang port-rst-offset = <1>; 5865350419fSKefeng Wang port-mode-offset = <1>; 5875350419fSKefeng Wang media-type = "fiber"; 5885350419fSKefeng Wang }; 5895350419fSKefeng Wang 5905350419fSKefeng Wang port@4 { 5915350419fSKefeng Wang reg = <4>; 5925350419fSKefeng Wang phy-handle = <&phy0>; 5935350419fSKefeng Wang serdes-syscon = <&serdes_ctrl>; 5945350419fSKefeng Wang port-rst-offset = <4>; 5955350419fSKefeng Wang port-mode-offset = <2>; 5965350419fSKefeng Wang media-type = "copper"; 5975350419fSKefeng Wang }; 5985350419fSKefeng Wang 5995350419fSKefeng Wang port@5 { 6005350419fSKefeng Wang reg = <5>; 6015350419fSKefeng Wang phy-handle = <&phy1>; 6025350419fSKefeng Wang serdes-syscon = <&serdes_ctrl>; 6035350419fSKefeng Wang port-rst-offset = <5>; 6045350419fSKefeng Wang port-mode-offset = <3>; 6055350419fSKefeng Wang media-type = "copper"; 6065350419fSKefeng Wang }; 6075350419fSKefeng Wang }; 6085350419fSKefeng Wang 6097e01e7a1SKefeng Wang sas0: sas@c3000000 { 6107e01e7a1SKefeng Wang compatible = "hisilicon,hip06-sas-v2"; 6117e01e7a1SKefeng Wang reg = <0 0xc3000000 0 0x10000>; 6127e01e7a1SKefeng Wang sas-addr = [50 01 88 20 16 00 00 00]; 6137e01e7a1SKefeng Wang hisilicon,sas-syscon = <&dsa_subctrl>; 6147e01e7a1SKefeng Wang ctrl-reset-reg = <0xa60>; 6157e01e7a1SKefeng Wang ctrl-reset-sts-reg = <0x5a30>; 6167e01e7a1SKefeng Wang ctrl-clock-ena-reg = <0x338>; 61785f5bd9eSJohn Garry clocks = <&refclk 0>; 6187e01e7a1SKefeng Wang queue-count = <16>; 6197e01e7a1SKefeng Wang phy-count = <8>; 6207e01e7a1SKefeng Wang dma-coherent; 6217e01e7a1SKefeng Wang interrupt-parent = <&mbigen_sas0>; 6227e01e7a1SKefeng Wang interrupts = <64 4>,<65 4>,<66 4>,<67 4>,<68 4>, 6237e01e7a1SKefeng Wang <69 4>,<70 4>,<71 4>,<72 4>,<73 4>, 6247e01e7a1SKefeng Wang <75 4>,<76 4>,<77 4>,<78 4>,<79 4>, 6257e01e7a1SKefeng Wang <80 4>,<81 4>,<82 4>,<83 4>,<84 4>, 6267e01e7a1SKefeng Wang <85 4>,<86 4>,<87 4>,<88 4>,<89 4>, 6277e01e7a1SKefeng Wang <90 4>,<91 4>,<92 4>,<93 4>,<94 4>, 6287e01e7a1SKefeng Wang <95 4>,<96 4>,<97 4>,<98 4>,<99 4>, 6297e01e7a1SKefeng Wang <100 4>,<101 4>,<102 4>,<103 4>,<104 4>, 6307e01e7a1SKefeng Wang <105 4>,<106 4>,<107 4>,<108 4>,<109 4>, 6317e01e7a1SKefeng Wang <110 4>,<111 4>,<112 4>,<113 4>,<114 4>, 6327e01e7a1SKefeng Wang <115 4>,<116 4>,<117 4>,<118 4>,<119 4>, 6337e01e7a1SKefeng Wang <120 4>,<121 4>,<122 4>,<123 4>,<124 4>, 6347e01e7a1SKefeng Wang <125 4>,<126 4>,<127 4>,<128 4>,<129 4>, 6357e01e7a1SKefeng Wang <130 4>,<131 4>,<132 4>,<133 4>,<134 4>, 6367e01e7a1SKefeng Wang <135 4>,<136 4>,<137 4>,<138 4>,<139 4>, 6377e01e7a1SKefeng Wang <140 4>,<141 4>,<142 4>,<143 4>,<144 4>, 6387e01e7a1SKefeng Wang <145 4>,<146 4>,<147 4>,<148 4>,<149 4>, 6397e01e7a1SKefeng Wang <150 4>,<151 4>,<152 4>,<153 4>,<154 4>, 6407e01e7a1SKefeng Wang <155 4>,<156 4>,<157 4>,<158 4>,<159 4>, 6417e01e7a1SKefeng Wang <160 4>,<601 1>,<602 1>,<603 1>,<604 1>, 6427e01e7a1SKefeng Wang <605 1>,<606 1>,<607 1>,<608 1>,<609 1>, 6437e01e7a1SKefeng Wang <610 1>,<611 1>,<612 1>,<613 1>,<614 1>, 6447e01e7a1SKefeng Wang <615 1>,<616 1>,<617 1>,<618 1>,<619 1>, 6457e01e7a1SKefeng Wang <620 1>,<621 1>,<622 1>,<623 1>,<624 1>, 6467e01e7a1SKefeng Wang <625 1>,<626 1>,<627 1>,<628 1>,<629 1>, 6477e01e7a1SKefeng Wang <630 1>,<631 1>,<632 1>; 6487e01e7a1SKefeng Wang status = "disabled"; 6497e01e7a1SKefeng Wang }; 6507e01e7a1SKefeng Wang 6517e01e7a1SKefeng Wang sas1: sas@a2000000 { 6527e01e7a1SKefeng Wang compatible = "hisilicon,hip06-sas-v2"; 6537e01e7a1SKefeng Wang reg = <0 0xa2000000 0 0x10000>; 6547e01e7a1SKefeng Wang sas-addr = [50 01 88 20 16 00 00 00]; 6557e01e7a1SKefeng Wang hisilicon,sas-syscon = <&pcie_subctl>; 656f65e7866SJohn Garry hip06-sas-v2-quirk-amt; 6577e01e7a1SKefeng Wang ctrl-reset-reg = <0xa18>; 6587e01e7a1SKefeng Wang ctrl-reset-sts-reg = <0x5a0c>; 6597e01e7a1SKefeng Wang ctrl-clock-ena-reg = <0x318>; 66085f5bd9eSJohn Garry clocks = <&refclk 0>; 6617e01e7a1SKefeng Wang queue-count = <16>; 6627e01e7a1SKefeng Wang phy-count = <8>; 6637e01e7a1SKefeng Wang dma-coherent; 6647e01e7a1SKefeng Wang interrupt-parent = <&mbigen_sas1>; 6657e01e7a1SKefeng Wang interrupts = <64 4>,<65 4>,<66 4>,<67 4>,<68 4>, 6667e01e7a1SKefeng Wang <69 4>,<70 4>,<71 4>,<72 4>,<73 4>, 6677e01e7a1SKefeng Wang <74 4>,<75 4>,<76 4>,<77 4>,<78 4>, 6687e01e7a1SKefeng Wang <79 4>,<80 4>,<81 4>,<82 4>,<83 4>, 6697e01e7a1SKefeng Wang <84 4>,<85 4>,<86 4>,<87 4>,<88 4>, 6707e01e7a1SKefeng Wang <89 4>,<90 4>,<91 4>,<92 4>,<93 4>, 6717e01e7a1SKefeng Wang <94 4>,<95 4>,<96 4>,<97 4>,<98 4>, 6727e01e7a1SKefeng Wang <99 4>,<100 4>,<101 4>,<102 4>,<103 4>, 6737e01e7a1SKefeng Wang <104 4>,<105 4>,<106 4>,<107 4>,<108 4>, 6747e01e7a1SKefeng Wang <109 4>,<110 4>,<111 4>,<112 4>,<113 4>, 6757e01e7a1SKefeng Wang <114 4>,<115 4>,<116 4>,<117 4>,<118 4>, 6767e01e7a1SKefeng Wang <119 4>,<120 4>,<121 4>,<122 4>,<123 4>, 6777e01e7a1SKefeng Wang <124 4>,<125 4>,<126 4>,<127 4>,<128 4>, 6787e01e7a1SKefeng Wang <129 4>,<130 4>,<131 4>,<132 4>,<133 4>, 6797e01e7a1SKefeng Wang <134 4>,<135 4>,<136 4>,<137 4>,<138 4>, 6807e01e7a1SKefeng Wang <139 4>,<140 4>,<141 4>,<142 4>,<143 4>, 6817e01e7a1SKefeng Wang <144 4>,<145 4>,<146 4>,<147 4>,<148 4>, 6827e01e7a1SKefeng Wang <149 4>,<150 4>,<151 4>,<152 4>,<153 4>, 6837e01e7a1SKefeng Wang <154 4>,<155 4>,<156 4>,<157 4>,<158 4>, 6847e01e7a1SKefeng Wang <159 4>,<576 1>,<577 1>,<578 1>,<579 1>, 6857e01e7a1SKefeng Wang <580 1>,<581 1>,<582 1>,<583 1>,<584 1>, 6867e01e7a1SKefeng Wang <585 1>,<586 1>,<587 1>,<588 1>,<589 1>, 6877e01e7a1SKefeng Wang <590 1>,<591 1>,<592 1>,<593 1>,<594 1>, 6887e01e7a1SKefeng Wang <595 1>,<596 1>,<597 1>,<598 1>,<599 1>, 6897e01e7a1SKefeng Wang <600 1>,<601 1>,<602 1>,<603 1>,<604 1>, 6907e01e7a1SKefeng Wang <605 1>,<606 1>,<607 1>; 6917e01e7a1SKefeng Wang status = "disabled"; 6927e01e7a1SKefeng Wang }; 6937e01e7a1SKefeng Wang 6947e01e7a1SKefeng Wang sas2: sas@a3000000 { 6957e01e7a1SKefeng Wang compatible = "hisilicon,hip06-sas-v2"; 6967e01e7a1SKefeng Wang reg = <0 0xa3000000 0 0x10000>; 6977e01e7a1SKefeng Wang sas-addr = [50 01 88 20 16 00 00 00]; 6987e01e7a1SKefeng Wang hisilicon,sas-syscon = <&pcie_subctl>; 6997e01e7a1SKefeng Wang ctrl-reset-reg = <0xae0>; 7007e01e7a1SKefeng Wang ctrl-reset-sts-reg = <0x5a70>; 7017e01e7a1SKefeng Wang ctrl-clock-ena-reg = <0x3a8>; 70285f5bd9eSJohn Garry clocks = <&refclk 0>; 7037e01e7a1SKefeng Wang queue-count = <16>; 7047e01e7a1SKefeng Wang phy-count = <9>; 7057e01e7a1SKefeng Wang dma-coherent; 7067e01e7a1SKefeng Wang interrupt-parent = <&mbigen_sas2>; 7077e01e7a1SKefeng Wang interrupts = <192 4>,<193 4>,<194 4>,<195 4>,<196 4>, 7087e01e7a1SKefeng Wang <197 4>,<198 4>,<199 4>,<200 4>,<201 4>, 7097e01e7a1SKefeng Wang <202 4>,<203 4>,<204 4>,<205 4>,<206 4>, 7107e01e7a1SKefeng Wang <207 4>,<208 4>,<209 4>,<210 4>,<211 4>, 7117e01e7a1SKefeng Wang <212 4>,<213 4>,<214 4>,<215 4>,<216 4>, 7127e01e7a1SKefeng Wang <217 4>,<218 4>,<219 4>,<220 4>,<221 4>, 7137e01e7a1SKefeng Wang <222 4>,<223 4>,<224 4>,<225 4>,<226 4>, 7147e01e7a1SKefeng Wang <227 4>,<228 4>,<229 4>,<230 4>,<231 4>, 7157e01e7a1SKefeng Wang <232 4>,<233 4>,<234 4>,<235 4>,<236 4>, 7167e01e7a1SKefeng Wang <237 4>,<238 4>,<239 4>,<240 4>,<241 4>, 7177e01e7a1SKefeng Wang <242 4>,<243 4>,<244 4>,<245 4>,<246 4>, 7187e01e7a1SKefeng Wang <247 4>,<248 4>,<249 4>,<250 4>,<251 4>, 7197e01e7a1SKefeng Wang <252 4>,<253 4>,<254 4>,<255 4>,<256 4>, 7207e01e7a1SKefeng Wang <257 4>,<258 4>,<259 4>,<260 4>,<261 4>, 7217e01e7a1SKefeng Wang <262 4>,<263 4>,<264 4>,<265 4>,<266 4>, 7227e01e7a1SKefeng Wang <267 4>,<268 4>,<269 4>,<270 4>,<271 4>, 7237e01e7a1SKefeng Wang <272 4>,<273 4>,<274 4>,<275 4>,<276 4>, 7247e01e7a1SKefeng Wang <277 4>,<278 4>,<279 4>,<280 4>,<281 4>, 7257e01e7a1SKefeng Wang <282 4>,<283 4>,<284 4>,<285 4>,<286 4>, 7267e01e7a1SKefeng Wang <287 4>,<608 1>,<609 1>,<610 1>,<611 1>, 7277e01e7a1SKefeng Wang <612 1>,<613 1>,<614 1>,<615 1>,<616 1>, 7287e01e7a1SKefeng Wang <617 1>,<618 1>,<619 1>,<620 1>,<621 1>, 7297e01e7a1SKefeng Wang <622 1>,<623 1>,<624 1>,<625 1>,<626 1>, 7307e01e7a1SKefeng Wang <627 1>,<628 1>,<629 1>,<630 1>,<631 1>, 7317e01e7a1SKefeng Wang <632 1>,<633 1>,<634 1>,<635 1>,<636 1>, 7327e01e7a1SKefeng Wang <637 1>,<638 1>,<639 1>; 7337e01e7a1SKefeng Wang status = "disabled"; 7347e01e7a1SKefeng Wang }; 73517f21343SShameerali Kolothum Thodi 736*a2c4daf4SKrzysztof Kozlowski pcie0: pcie@b0000000 { 73717f21343SShameerali Kolothum Thodi compatible = "hisilicon,hip06-pcie-ecam"; 73817f21343SShameerali Kolothum Thodi reg = <0 0xb0000000 0 0x2000000>, 73917f21343SShameerali Kolothum Thodi <0 0xa0090000 0 0x10000>; 74017f21343SShameerali Kolothum Thodi bus-range = <0 31>; 74117f21343SShameerali Kolothum Thodi msi-map = <0x0000 &its_dsa 0x0000 0x2000>; 74217f21343SShameerali Kolothum Thodi msi-map-mask = <0xffff>; 74317f21343SShameerali Kolothum Thodi #address-cells = <3>; 74417f21343SShameerali Kolothum Thodi #size-cells = <2>; 74517f21343SShameerali Kolothum Thodi device_type = "pci"; 74617f21343SShameerali Kolothum Thodi dma-coherent; 74747a6ca11SZhen Lei ranges = <0x02000000 0 0xb2000000 0x0 0xb2000000 0 0x5ff0000>, 74847a6ca11SZhen Lei <0x01000000 0 0 0 0xb7ff0000 0 0x10000>; 74917f21343SShameerali Kolothum Thodi #interrupt-cells = <1>; 75017f21343SShameerali Kolothum Thodi interrupt-map-mask = <0xf800 0 0 7>; 75117f21343SShameerali Kolothum Thodi interrupt-map = <0x0 0 0 1 &mbigen_pcie0 650 4 75217f21343SShameerali Kolothum Thodi 0x0 0 0 2 &mbigen_pcie0 650 4 75317f21343SShameerali Kolothum Thodi 0x0 0 0 3 &mbigen_pcie0 650 4 75417f21343SShameerali Kolothum Thodi 0x0 0 0 4 &mbigen_pcie0 650 4>; 75517f21343SShameerali Kolothum Thodi status = "disabled"; 75617f21343SShameerali Kolothum Thodi }; 75717f21343SShameerali Kolothum Thodi 758aa8d3e74SKefeng Wang }; 759aa8d3e74SKefeng Wang 760aa8d3e74SKefeng Wang}; 761