Sophgo SG2042 PCIe Host (Cadence PCIe Wrapper)

Schema identifier ($id): "http://devicetree.org/schemas/pci/sophgo,sg2042-pcie-host.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Sophgo SG2042 PCIe host controller is based on the Cadence PCIe core.

Maintainers (maintainers): "Chen Wang <unicorn_wang@outlook.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "sophgo,sg2042-pcie-host"

reg — required here #

Maximum number of items (maxItems): 2

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "reg"

Item 2

Exact value (const): "cfg"

vendor-id — not listed as required here #

Exact value (const): 7964

device-id — not listed as required here #

Exact value (const): 8258

msi-parent — not listed as required here #

true — No constraints added by this property rule.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): cdns-pcie-host.yaml#

Required in this object (required): "compatible", "reg", "reg-names"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>

pcie@62000000 {
  compatible = "sophgo,sg2042-pcie-host";
  device_type = "pci";
  reg = <0x62000000  0x00800000>,
        <0x48000000  0x00001000>;
  reg-names = "reg", "cfg";
  #address-cells = <3>;
  #size-cells = <2>;
  ranges = <0x81000000 0 0x00000000 0xde000000 0 0x00010000>,
           <0x82000000 0 0xd0400000 0xd0400000 0 0x0d000000>;
  bus-range = <0x00 0xff>;
  vendor-id = <0x1f1c>;
  device-id = <0x2042>;
  cdns,no-bar-match-nbits = <48>;
  msi-parent = <&msi>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Edit this page