2020-05-07 05:33:17 -07:00
|
|
|
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
|
|
# Copyright (C) 2020 Renesas Electronics Europe GmbH - https://www.renesas.com/eu/en/
|
|
|
|
%YAML 1.2
|
|
|
|
---
|
|
|
|
$id: http://devicetree.org/schemas/pci/rcar-pci-ep.yaml#
|
|
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
|
|
|
|
title: Renesas R-Car PCIe Endpoint
|
|
|
|
|
|
|
|
maintainers:
|
|
|
|
- Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
|
|
|
|
- Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
|
|
|
|
|
|
|
|
properties:
|
|
|
|
compatible:
|
|
|
|
items:
|
2020-08-14 10:30:33 -07:00
|
|
|
- enum:
|
|
|
|
- renesas,r8a774a1-pcie-ep # RZ/G2M
|
|
|
|
- renesas,r8a774b1-pcie-ep # RZ/G2N
|
|
|
|
- renesas,r8a774c0-pcie-ep # RZ/G2E
|
2020-09-04 03:38:49 -07:00
|
|
|
- renesas,r8a774e1-pcie-ep # RZ/G2H
|
2021-10-27 05:26:36 -07:00
|
|
|
- renesas,r8a7795-pcie-ep # R-Car H3
|
2020-08-14 10:30:33 -07:00
|
|
|
- const: renesas,rcar-gen3-pcie-ep # R-Car Gen3 and RZ/G2
|
2020-05-07 05:33:17 -07:00
|
|
|
|
|
|
|
reg:
|
|
|
|
maxItems: 5
|
|
|
|
|
|
|
|
reg-names:
|
|
|
|
items:
|
|
|
|
- const: apb-base
|
|
|
|
- const: memory0
|
|
|
|
- const: memory1
|
|
|
|
- const: memory2
|
|
|
|
- const: memory3
|
|
|
|
|
2020-12-09 03:12:31 -07:00
|
|
|
interrupts:
|
|
|
|
minItems: 3
|
|
|
|
maxItems: 3
|
|
|
|
|
2020-05-07 05:33:17 -07:00
|
|
|
power-domains:
|
|
|
|
maxItems: 1
|
|
|
|
|
|
|
|
resets:
|
|
|
|
maxItems: 1
|
|
|
|
|
|
|
|
clocks:
|
|
|
|
maxItems: 1
|
|
|
|
|
|
|
|
clock-names:
|
|
|
|
items:
|
|
|
|
- const: pcie
|
|
|
|
|
|
|
|
max-functions:
|
|
|
|
minimum: 1
|
|
|
|
maximum: 1
|
|
|
|
|
|
|
|
required:
|
|
|
|
- compatible
|
|
|
|
- reg
|
|
|
|
- reg-names
|
2020-12-09 03:12:31 -07:00
|
|
|
- interrupts
|
2020-05-07 05:33:17 -07:00
|
|
|
- resets
|
|
|
|
- power-domains
|
|
|
|
- clocks
|
|
|
|
- clock-names
|
|
|
|
- max-functions
|
|
|
|
|
2020-10-02 16:41:43 -07:00
|
|
|
additionalProperties: false
|
|
|
|
|
2020-05-07 05:33:17 -07:00
|
|
|
examples:
|
|
|
|
- |
|
|
|
|
#include <dt-bindings/clock/r8a774c0-cpg-mssr.h>
|
2020-12-09 03:12:31 -07:00
|
|
|
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
2020-05-07 05:33:17 -07:00
|
|
|
#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";
|
2020-12-09 03:12:31 -07:00
|
|
|
interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
|
2020-05-07 05:33:17 -07:00
|
|
|
resets = <&cpg 319>;
|
|
|
|
power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
|
|
|
|
clocks = <&cpg CPG_MOD 319>;
|
|
|
|
clock-names = "pcie";
|
|
|
|
max-functions = /bits/ 8 <1>;
|
|
|
|
};
|