1
linux/Documentation/devicetree/bindings/pci/rockchip,rk3399-pcie-common.yaml
Rob Herring aa222f9311 dt-bindings: PCI: Convert Rockchip RK3399 PCIe to DT schema
Convert the Rockchip RK3399 PCIe Host/Endpoint controller to DT schema
format. Like most dual mode PCI controllers, we need to split the schema
into common, host and endpoint schemas.

Link: https://lore.kernel.org/r/20221219191209.1975834-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
2023-01-18 13:56:50 -06:00

70 lines
1.1 KiB
YAML

# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/pci/rockchip,rk3399-pcie-common.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Rockchip AXI PCIe Bridge Common Properties
maintainers:
- Shawn Lin <shawn.lin@rock-chips.com>
properties:
reg:
maxItems: 2
clocks:
maxItems: 4
clock-names:
items:
- const: aclk
- const: aclk-perf
- const: hclk
- const: pm
num-lanes:
maximum: 4
phys:
oneOf:
- maxItems: 1
- maxItems: 4
phy-names:
oneOf:
- const: pcie-phy
- items:
- const: pcie-phy-0
- const: pcie-phy-1
- const: pcie-phy-2
- const: pcie-phy-3
resets:
maxItems: 7
reset-names:
items:
- const: core
- const: mgmt
- const: mgmt-sticky
- const: pipe
- const: pm
- const: pclk
- const: aclk
required:
- compatible
- reg
- reg-names
- clocks
- clock-names
- phys
- phy-names
- resets
- reset-names
additionalProperties: true
...