Renesas R-Car PCIe Host
Schema identifier ($id): "http://devicetree.org/schemas/pci/rcar-pci-host.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Marek Vasut <marek.vasut+renesas@gmail.com>", "Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/pci/pci-host-bridge.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"renesas,pcie-r8a7779"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"renesas,pcie-r8a7742","renesas,pcie-r8a7743","renesas,pcie-r8a7744","renesas,pcie-r8a7790","renesas,pcie-r8a7791","renesas,pcie-r8a7793"Item 2
Exact value (
const):"renesas,pcie-rcar-gen2"
Rule 3
Array item rules (
items)Item 1
Allowed values (
enum):"renesas,pcie-r8a774a1","renesas,pcie-r8a774b1","renesas,pcie-r8a774c0","renesas,pcie-r8a774e1","renesas,pcie-r8a7795","renesas,pcie-r8a7796","renesas,pcie-r8a77961","renesas,pcie-r8a77965","renesas,pcie-r8a77980","renesas,pcie-r8a77990"Item 2
Exact value (
const):"renesas,pcie-rcar-gen3"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Minimum number of items (minItems): 3
Maximum number of items (maxItems): 3
clocks — required here #
Maximum number of items (maxItems): 2
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"pcie"
Item 2
Exact value (
const):"pcie_bus"
power-domains — required here #
Maximum number of items (maxItems): 1
resets — not listed as required here #
Maximum number of items (maxItems): 1
phys — not listed as required here #
Maximum number of items (maxItems): 1
phy-names — not listed as required here #
Exact value (const): "pcie"
vpcie1v5-supply — not listed as required here #
The 1.5v regulator to use for PCIe.
vpcie3v3-supply — not listed as required here #
The 3.3v regulator to use for PCIe.
vpcie12v-supply — not listed as required here #
The 12v regulator to use for PCIe.
iommu-map — not listed as required here #
true — No constraints added by this property rule.
iommu-map-mask — not listed as required here #
true — No constraints added by this property rule.
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "power-domains"
Condition (if) #
This rule must not match (
not) #Properties and child nodes (
properties) #
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"renesas,pcie-r8a7779"
When the condition matches (then) #
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/r8a7791-cpg-mssr.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/r8a7791-sysc.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
pcie: pcie@fe000000 {
compatible = "renesas,pcie-r8a7791", "renesas,pcie-rcar-gen2";
reg = <0 0xfe000000 0 0x80000>;
#address-cells = <3>;
#size-cells = <2>;
bus-range = <0x00 0xff>;
device_type = "pci";
ranges = <0x01000000 0 0x00000000 0 0xfe100000 0 0x00100000>,
<0x02000000 0 0xfe200000 0 0xfe200000 0 0x00200000>,
<0x02000000 0 0x30000000 0 0x30000000 0 0x08000000>,
<0x42000000 0 0x38000000 0 0x38000000 0 0x08000000>;
dma-ranges = <0x42000000 0 0x40000000 0 0x40000000 0 0x40000000>,
<0x42000000 2 0x00000000 2 0x00000000 0 0x40000000>;
interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
#interrupt-cells = <1>;
interrupt-map-mask = <0 0 0 0>;
interrupt-map = <0 0 0 0 &gic GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 319>, <&pcie_bus_clk>;
clock-names = "pcie", "pcie_bus";
power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
resets = <&cpg 319>;
vpcie3v3-supply = <&pcie_3v3>;
vpcie12v-supply = <&pcie_12v>;
};
};
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 Corp.
Line 20: R-Car H1
Line 23: RZ/G1H
Line 24: RZ/G1M
Line 25: RZ/G1N
Line 26: R-Car H2
Line 27: R-Car M2-W
Line 28: R-Car M2-N
Line 29: R-Car Gen2 and RZ/G1
Line 32: RZ/G2M
Line 33: RZ/G2N
Line 34: RZ/G2E
Line 35: RZ/G2H
Line 36: R-Car H3
Line 37: R-Car M3-W
Line 38: R-Car M3-W+
Line 39: R-Car M3-N
Line 40: R-Car V3H
Line 41: R-Car E3
Line 42: R-Car Gen3 and RZ/G2