Intel Keem Bay PCIe controller Root Complex mode

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

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

Maintainers (maintainers): "Wan Ahmad Zainie <wan.ahmad.zainie.wan.mohamad@intel.com>", "Srikanth Thokala <srikanth.thokala@intel.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 #

Exact value (const): "intel,keembay-pcie"

ranges — required here #

Maximum number of items (maxItems): 1

reset-gpios — required here #

Maximum number of items (maxItems): 1

reg — required here #

Maximum number of items (maxItems): 4

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "dbi"

Item 2

Exact value (const): "atu"

Item 3

Exact value (const): "config"

Item 4

Exact value (const): "apb"

clocks — required here #

Maximum number of items (maxItems): 2

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "master"

Item 2

Exact value (const): "aux"

interrupts — required here #

Maximum number of items (maxItems): 3

interrupt-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "pcie"

Item 2

Exact value (const): "pcie_ev"

Item 3

Exact value (const): "pcie_err"

num-lanes — not listed as required here #

Number of lanes to use.

Allowed values (enum): 1, 2

Required in this object (required): "compatible", "reg", "reg-names", "ranges", "clocks", "clock-names", "interrupts", "interrupt-names", "reset-gpios"

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/interrupt-controller/irq.h>
#include <dt-bindings/gpio/gpio.h>
#define KEEM_BAY_A53_PCIE
#define KEEM_BAY_A53_AUX_PCIE
pcie@37000000 {
    compatible = "intel,keembay-pcie";
    reg = <0x37000000 0x00001000>,
          <0x37300000 0x00001000>,
          <0x36e00000 0x00200000>,
          <0x37800000 0x00000200>;
    reg-names = "dbi", "atu", "config", "apb";
    #address-cells = <3>;
    #size-cells = <2>;
    device_type = "pci";
    ranges = <0x02000000 0 0x36000000 0x36000000 0 0x00e00000>;
    interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
    interrupt-names = "pcie", "pcie_ev", "pcie_err";
    clocks = <&scmi_clk KEEM_BAY_A53_PCIE>,
             <&scmi_clk KEEM_BAY_A53_AUX_PCIE>;
    clock-names = "master", "aux";
    reset-gpios = <&pca2 9 GPIO_ACTIVE_LOW>;
    num-lanes = <2>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page