~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/pci/qcom,pcie-sa8775p.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/pci/qcom,pcie-sa8775p.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: Qualcomm SA8775p PCI Express Root Complex
  8 
  9 maintainers:
 10   - Bjorn Andersson <andersson@kernel.org>
 11   - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
 12 
 13 description:
 14   Qualcomm SA8775p SoC PCIe root complex controller is based on the Synopsys
 15   DesignWare PCIe IP.
 16 
 17 properties:
 18   compatible:
 19     const: qcom,pcie-sa8775p
 20 
 21   reg:
 22     minItems: 6
 23     maxItems: 6
 24 
 25   reg-names:
 26     items:
 27       - const: parf # Qualcomm specific registers
 28       - const: dbi # DesignWare PCIe registers
 29       - const: elbi # External local bus interface registers
 30       - const: atu # ATU address space
 31       - const: config # PCIe configuration space
 32       - const: mhi # MHI registers
 33 
 34   clocks:
 35     minItems: 5
 36     maxItems: 5
 37 
 38   clock-names:
 39     items:
 40       - const: aux # Auxiliary clock
 41       - const: cfg # Configuration clock
 42       - const: bus_master # Master AXI clock
 43       - const: bus_slave # Slave AXI clock
 44       - const: slave_q2a # Slave Q2A clock
 45 
 46   interrupts:
 47     minItems: 8
 48     maxItems: 8
 49 
 50   interrupt-names:
 51     items:
 52       - const: msi0
 53       - const: msi1
 54       - const: msi2
 55       - const: msi3
 56       - const: msi4
 57       - const: msi5
 58       - const: msi6
 59       - const: msi7
 60 
 61   resets:
 62     maxItems: 1
 63 
 64   reset-names:
 65     items:
 66       - const: pci
 67 
 68 required:
 69   - interconnects
 70   - interconnect-names
 71 
 72 allOf:
 73   - $ref: qcom,pcie-common.yaml#
 74 
 75 unevaluatedProperties: false
 76 
 77 examples:
 78   - |
 79     #include <dt-bindings/clock/qcom,sa8775p-gcc.h>
 80     #include <dt-bindings/clock/qcom,rpmh.h>
 81     #include <dt-bindings/gpio/gpio.h>
 82     #include <dt-bindings/interrupt-controller/arm-gic.h>
 83     #include <dt-bindings/interconnect/qcom,sa8775p-rpmh.h>
 84 
 85     soc {
 86         #address-cells = <2>;
 87         #size-cells = <2>;
 88 
 89         pcie@1c00000 {
 90             compatible = "qcom,pcie-sa8775p";
 91             reg = <0x0 0x01c00000 0x0 0x3000>,
 92                   <0x0 0x40000000 0x0 0xf20>,
 93                   <0x0 0x40000f20 0x0 0xa8>,
 94                   <0x0 0x40001000 0x0 0x4000>,
 95                   <0x0 0x40100000 0x0 0x100000>,
 96                   <0x0 0x01c03000 0x0 0x1000>;
 97             reg-names = "parf", "dbi", "elbi", "atu", "config", "mhi";
 98             ranges = <0x01000000 0x0 0x00000000 0x0 0x40200000 0x0 0x100000>,
 99                      <0x02000000 0x0 0x40300000 0x0 0x40300000 0x0 0x1fd00000>;
100 
101             bus-range = <0x00 0xff>;
102             device_type = "pci";
103             linux,pci-domain = <0>;
104             num-lanes = <2>;
105 
106             #address-cells = <3>;
107             #size-cells = <2>;
108 
109             assigned-clocks = <&gcc GCC_PCIE_0_AUX_CLK>;
110             assigned-clock-rates = <19200000>;
111 
112             clocks = <&gcc GCC_PCIE_0_AUX_CLK>,
113                      <&gcc GCC_PCIE_0_CFG_AHB_CLK>,
114                      <&gcc GCC_PCIE_0_MSTR_AXI_CLK>,
115                      <&gcc GCC_PCIE_0_SLV_AXI_CLK>,
116                      <&gcc GCC_PCIE_0_SLV_Q2A_AXI_CLK>;
117             clock-names = "aux",
118                           "cfg",
119                           "bus_master",
120                           "bus_slave",
121                           "slave_q2a";
122 
123             dma-coherent;
124 
125             interrupts = <GIC_SPI 307 IRQ_TYPE_LEVEL_HIGH>,
126                          <GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH>,
127                          <GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH>,
128                          <GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH>,
129                          <GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH>,
130                          <GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH>,
131                          <GIC_SPI 374 IRQ_TYPE_LEVEL_HIGH>,
132                          <GIC_SPI 375 IRQ_TYPE_LEVEL_HIGH>;
133             interrupt-names = "msi0",
134                               "msi1",
135                               "msi2",
136                               "msi3",
137                               "msi4",
138                               "msi5",
139                               "msi6",
140                               "msi7";
141             #interrupt-cells = <1>;
142             interrupt-map-mask = <0 0 0 0x7>;
143             interrupt-map = <0 0 0 1 &intc GIC_SPI 434 IRQ_TYPE_LEVEL_HIGH>,
144                             <0 0 0 2 &intc GIC_SPI 435 IRQ_TYPE_LEVEL_HIGH>,
145                             <0 0 0 3 &intc GIC_SPI 438 IRQ_TYPE_LEVEL_HIGH>,
146                             <0 0 0 4 &intc GIC_SPI 439 IRQ_TYPE_LEVEL_HIGH>;
147 
148             interconnects = <&pcie_anoc MASTER_PCIE_0 0 &mc_virt SLAVE_EBI1 0>,
149                             <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_PCIE_0 0>;
150             interconnect-names = "pcie-mem", "cpu-pcie";
151 
152             iommu-map = <0x0 &pcie_smmu 0x0000 0x1>,
153                         <0x100 &pcie_smmu 0x0001 0x1>;
154 
155             phys = <&pcie0_phy>;
156             phy-names = "pciephy";
157 
158             power-domains = <&gcc PCIE_0_GDSC>;
159 
160             resets = <&gcc GCC_PCIE_0_BCR>;
161             reset-names = "pci";
162 
163             perst-gpios = <&tlmm 2 GPIO_ACTIVE_LOW>;
164             wake-gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>;
165         };
166     };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php