Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions Documentation/devicetree/bindings/pci/phytium,pe2201-pcie-ep.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/pci/phytium,pe2201-pcie-ep.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Phytium PCIe endpoint controller

maintainers:
- Li Tongfeng <litongfeng1497@phytium.com.cn>

allOf:
- $ref: "pci-ep.yaml#"

properties:
compatible:
const: phytium,pe2201-pcie-ep

reg:
maxItems: 2

reg-names:
items:
- const: reg
- const: mem
Comment on lines +20 to +25

required:
- compatible
- reg
- reg-names

examples:
- |
ep0: ep@0x31000000 {
compatible = "phytium,pe2201-pcie-ep";
interrupts = <0x00000000 0x0000000a 0x00000004 0x00000000 0x0000000b 0x00000004>;
reg = <0x00000000 0x31000000 0x00000000 0x00010000 0x00000011 0x00000000 0x00000001 0x00000000 0x00000000 0x31100000 0x00000000 0x00001000>;
reg-names = "reg", "mem", "hpb";
max-outbound-regions = <0x00000003>;
Comment on lines +37 to +39
max-functions = [02];
status = "disabled";
};
1 change: 1 addition & 0 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -17547,6 +17547,7 @@ F: Documentation/devicetree/bindings/gpio/phytium,gpio.yaml
F: Documentation/devicetree/bindings/usb/phytium,usb2-2.0.yaml
F: Documentation/devicetree/bindings/usb/phytium,usb2.yaml
F: Documentation/devicetree/bindings/usb/phytium.role-sw.yaml
F: Documentation/devicetree/bindings/pci/phytium,pe2201-pcie-ep.yaml
F: drivers/usb/phytium/*
F: drivers/usb/phytium/phytium_usb_v2*
F: drivers/usb/typec/role-switch-phytium.c
Expand Down
1 change: 1 addition & 0 deletions drivers/pci/controller/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ config PCIE_MT7621

config PCIE_PHYTIUM_EP
tristate "Phytium PCIe endpoint controller"
depends on ARCH_PHYTIUM
depends on OF
depends on PCI_ENDPOINT
help
Expand Down
Loading
Loading