Renesas R-Car PCIe Endpoint
Schema identifier ($id): "http://devicetree.org/schemas/pci/rcar-pci-ep.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>", "Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>"
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Allowed values (
enum):"renesas,r8a774a1-pcie-ep","renesas,r8a774b1-pcie-ep","renesas,r8a774c0-pcie-ep","renesas,r8a774e1-pcie-ep","renesas,r8a7795-pcie-ep"
Item 2
Exact value (
const):"renesas,rcar-gen3-pcie-ep"
reg — required here #
Maximum number of items (maxItems): 5
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"apb-base"
Item 2
Exact value (
const):"memory0"
Item 3
Exact value (
const):"memory1"
Item 4
Exact value (
const):"memory2"
Item 5
Exact value (
const):"memory3"
interrupts — required here #
Minimum number of items (minItems): 3
Maximum number of items (maxItems): 3
power-domains — required here #
Maximum number of items (maxItems): 1
resets — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"pcie"
max-functions — required here #
Minimum value (minimum): 1
Maximum value (maximum): 1
Required in this object (required): "compatible", "reg", "reg-names", "interrupts", "resets", "power-domains", "clocks", "clock-names", "max-functions"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/r8a774c0-cpg-mssr.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/r8a774c0-sysc.h>
pcie0_ep: pcie-ep@fe000000 {
compatible = "renesas,r8a774c0-pcie-ep",
"renesas,rcar-gen3-pcie-ep";
reg = <0xfe000000 0x80000>,
<0xfe100000 0x100000>,
<0xfe200000 0x200000>,
<0x30000000 0x8000000>,
<0x38000000 0x8000000>;
reg-names = "apb-base", "memory0", "memory1", "memory2", "memory3";
interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
resets = <&cpg 319>;
power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
clocks = <&cpg CPG_MOD 319>;
clock-names = "pcie";
max-functions = /bits/ 8 <1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright (C) 2020 Renesas Electronics Europe GmbH - https://www.renesas.com/eu/en/
Line 18: RZ/G2M
Line 19: RZ/G2N
Line 20: RZ/G2E
Line 21: RZ/G2H
Line 22: R-Car H3
Line 23: R-Car Gen3 and RZ/G2