mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-28 18:10:32 +00:00

DTS example in the bindings should be indented with 2- or 4-spaces and aligned with opening '- |', so correct any differences like 3-spaces or mixtures 2- and 4-spaces in one binding. No functional changes here, but saves some comments during reviews of new patches built on existing code. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Reviewed-by: Rob Herring (Arm) <robh@kernel.org> Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://patch.msgid.link/20250324125202.81986-1-krzysztof.kozlowski@linaro.org
70 lines
1.7 KiB
YAML
70 lines
1.7 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/pci/intel,keembay-pcie-ep.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Intel Keem Bay PCIe controller Endpoint mode
|
|
|
|
maintainers:
|
|
- Wan Ahmad Zainie <wan.ahmad.zainie.wan.mohamad@intel.com>
|
|
- Srikanth Thokala <srikanth.thokala@intel.com>
|
|
|
|
properties:
|
|
compatible:
|
|
const: intel,keembay-pcie-ep
|
|
|
|
reg:
|
|
maxItems: 5
|
|
|
|
reg-names:
|
|
items:
|
|
- const: dbi
|
|
- const: dbi2
|
|
- const: atu
|
|
- const: addr_space
|
|
- const: apb
|
|
|
|
interrupts:
|
|
maxItems: 4
|
|
|
|
interrupt-names:
|
|
items:
|
|
- const: pcie
|
|
- const: pcie_ev
|
|
- const: pcie_err
|
|
- const: pcie_mem_access
|
|
|
|
num-lanes:
|
|
description: Number of lanes to use.
|
|
enum: [ 1, 2 ]
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- reg-names
|
|
- interrupts
|
|
- interrupt-names
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
|
#include <dt-bindings/interrupt-controller/irq.h>
|
|
pcie-ep@37000000 {
|
|
compatible = "intel,keembay-pcie-ep";
|
|
reg = <0x37000000 0x00001000>,
|
|
<0x37100000 0x00001000>,
|
|
<0x37300000 0x00001000>,
|
|
<0x36000000 0x01000000>,
|
|
<0x37800000 0x00000200>;
|
|
reg-names = "dbi", "dbi2", "atu", "addr_space", "apb";
|
|
interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
|
|
<GIC_SPI 108 IRQ_TYPE_EDGE_RISING>,
|
|
<GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
|
|
<GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
|
|
interrupt-names = "pcie", "pcie_ev", "pcie_err", "pcie_mem_access";
|
|
num-lanes = <2>;
|
|
};
|