StarFive JH7110 PCIe host controller
Schema identifier ($id): "http://devicetree.org/schemas/pci/starfive,jh7110-pcie.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Kevin Xie <kevin.xie@starfivetech.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):plda,xpressrich3-axi-common.yaml#
Properties and child nodes (properties) #
compatible — not listed as required here #
Exact value (const): "starfive,jh7110-pcie"
reg — not listed as required here #
Maximum number of items (maxItems): 2
reg-names — not listed as required here #
Maximum number of items (maxItems): 2
clocks — required here #
Array item rules (items) #
Item 1
NOC bus clock
Item 2
Transport layer clock
Item 3
AXI MST0 clock
Item 4
APB clock
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"noc"
Item 2
Exact value (
const):"tl"
Item 3
Exact value (
const):"axi_mst0"
Item 4
Exact value (
const):"apb"
resets — required here #
Array item rules (items) #
Item 1
AXI MST0 reset
Item 2
AXI SLAVE0 reset
Item 3
AXI SLAVE reset
Item 4
PCIE BRIDGE reset
Item 5
PCIE CORE reset
Item 6
PCIE APB reset
reset-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"mst0"
Item 2
Exact value (
const):"slv0"
Item 3
Exact value (
const):"slv"
Item 4
Exact value (
const):"brg"
Item 5
Exact value (
const):"core"
Item 6
Exact value (
const):"apb"
starfive,stg-syscon — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
The phandle to System Register Controller syscon node.
perst-gpios — not listed as required here #
GPIO controlled connection to PERST# signal
Maximum number of items (maxItems): 1
phys — not listed as required here #
Specified PHY is attached to PCIe controller.
Maximum number of items (maxItems): 1
Required in this object (required): "clocks", "resets", "starfive,stg-syscon"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
pcie@940000000 {
compatible = "starfive,jh7110-pcie";
reg = <0x9 0x40000000 0x0 0x10000000>,
<0x0 0x2b000000 0x0 0x1000000>;
reg-names = "cfg", "apb";
#address-cells = <3>;
#size-cells = <2>;
#interrupt-cells = <1>;
device_type = "pci";
ranges = <0x82000000 0x0 0x30000000 0x0 0x30000000 0x0 0x08000000>,
<0xc3000000 0x9 0x00000000 0x9 0x00000000 0x0 0x40000000>;
starfive,stg-syscon = <&stg_syscon>;
bus-range = <0x0 0xff>;
interrupt-parent = <&plic>;
interrupts = <56>;
interrupt-map-mask = <0x0 0x0 0x0 0x7>;
interrupt-map = <0x0 0x0 0x0 0x1 &pcie_intc0 0x1>,
<0x0 0x0 0x0 0x2 &pcie_intc0 0x2>,
<0x0 0x0 0x0 0x3 &pcie_intc0 0x3>,
<0x0 0x0 0x0 0x4 &pcie_intc0 0x4>;
msi-controller;
clocks = <&syscrg 86>,
<&stgcrg 10>,
<&stgcrg 8>,
<&stgcrg 9>;
clock-names = "noc", "tl", "axi_mst0", "apb";
resets = <&stgcrg 11>,
<&stgcrg 12>,
<&stgcrg 13>,
<&stgcrg 14>,
<&stgcrg 15>,
<&stgcrg 16>;
perst-gpios = <&gpios 26 GPIO_ACTIVE_LOW>;
phys = <&pciephy0>;
pcie_intc0: interrupt-controller {
#address-cells = <0>;
#interrupt-cells = <1>;
interrupt-controller;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)