Rockchip AXI PCIe Endpoint
Schema identifier ($id): "http://devicetree.org/schemas/pci/rockchip,rk3399-pcie-ep.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Shawn Lin <shawn.lin@rock-chips.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/pci/pci-ep.yaml#
Rule 2 #
Shared schema rule (
$ref):rockchip,rk3399-pcie-common.yaml#
Properties and child nodes (properties) #
compatible — not listed as required here #
Exact value (const): "rockchip,rk3399-pcie-ep"
reg — not listed as required here #
true — No constraints added by this property rule.
reg-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"apb-base"
Item 2
Exact value (
const):"mem-base"
rockchip,max-outbound-regions — required here #
Maximum number of outbound regions
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Maximum value (maximum): 32
Default value (default): 32
Required in this object (required): "rockchip,max-outbound-regions"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/clock/rk3399-cru.h>
bus {
#address-cells = <2>;
#size-cells = <2>;
pcie-ep@f8000000 {
compatible = "rockchip,rk3399-pcie-ep";
reg = <0x0 0xfd000000 0x0 0x1000000>, <0x0 0xfa000000 0x0 0x2000000>;
reg-names = "apb-base", "mem-base";
clocks = <&cru ACLK_PCIE>, <&cru ACLK_PERF_PCIE>,
<&cru PCLK_PCIE>, <&cru SCLK_PCIE_PM>;
clock-names = "aclk", "aclk-perf",
"hclk", "pm";
max-functions = /bits/ 8 <8>;
num-lanes = <4>;
resets = <&cru SRST_PCIE_CORE>, <&cru SRST_PCIE_MGMT>,
<&cru SRST_PCIE_MGMT_STICKY>, <&cru SRST_PCIE_PIPE> ,
<&cru SRST_PCIE_PM>, <&cru SRST_P_PCIE>, <&cru SRST_A_PCIE>;
reset-names = "core", "mgmt", "mgmt-sticky", "pipe",
"pm", "pclk", "aclk";
phys = <&pcie_phy 0>, <&pcie_phy 1>, <&pcie_phy 2>, <&pcie_phy 3>;
phy-names = "pcie-phy-0", "pcie-phy-1", "pcie-phy-2", "pcie-phy-3";
rockchip,max-outbound-regions = <16>;
pinctrl-names = "default";
pinctrl-0 = <&pcie_clkreqnb_cpm>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)