xref: /linux/Documentation/devicetree/bindings/pci/socionext,uniphier-pcie-ep.yaml (revision 1ba415a277c02f650f78fac9d493d6312cd27c47)
1eeab133eSKunihiko Hayashi# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2eeab133eSKunihiko Hayashi%YAML 1.2
3eeab133eSKunihiko Hayashi---
4eeab133eSKunihiko Hayashi$id: http://devicetree.org/schemas/pci/socionext,uniphier-pcie-ep.yaml#
5eeab133eSKunihiko Hayashi$schema: http://devicetree.org/meta-schemas/core.yaml#
6eeab133eSKunihiko Hayashi
7eeab133eSKunihiko Hayashititle: Socionext UniPhier PCIe endpoint controller
8eeab133eSKunihiko Hayashi
9eeab133eSKunihiko Hayashidescription: |
10eeab133eSKunihiko Hayashi  UniPhier PCIe endpoint controller is based on the Synopsys DesignWare
11eeab133eSKunihiko Hayashi  PCI core. It shares common features with the PCIe DesignWare core and
12eeab133eSKunihiko Hayashi  inherits common properties defined in
13eeab133eSKunihiko Hayashi  Documentation/devicetree/bindings/pci/designware-pcie.txt.
14eeab133eSKunihiko Hayashi
15eeab133eSKunihiko Hayashimaintainers:
16eeab133eSKunihiko Hayashi  - Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
17eeab133eSKunihiko Hayashi
18eeab133eSKunihiko HayashiallOf:
19eeab133eSKunihiko Hayashi  - $ref: "pci-ep.yaml#"
20eeab133eSKunihiko Hayashi
21eeab133eSKunihiko Hayashiproperties:
22eeab133eSKunihiko Hayashi  compatible:
23eeab133eSKunihiko Hayashi    const: socionext,uniphier-pro5-pcie-ep
24eeab133eSKunihiko Hayashi
25eeab133eSKunihiko Hayashi  reg:
26*1ba415a2SKunihiko Hayashi    minItems: 4
27*1ba415a2SKunihiko Hayashi    maxItems: 5
28eeab133eSKunihiko Hayashi
29eeab133eSKunihiko Hayashi  reg-names:
30*1ba415a2SKunihiko Hayashi    oneOf:
31*1ba415a2SKunihiko Hayashi      - items:
32eeab133eSKunihiko Hayashi        - const: dbi
33eeab133eSKunihiko Hayashi        - const: dbi2
34eeab133eSKunihiko Hayashi        - const: link
35eeab133eSKunihiko Hayashi        - const: addr_space
36*1ba415a2SKunihiko Hayashi      - items:
37*1ba415a2SKunihiko Hayashi        - const: dbi
38*1ba415a2SKunihiko Hayashi        - const: dbi2
39*1ba415a2SKunihiko Hayashi        - const: link
40*1ba415a2SKunihiko Hayashi        - const: addr_space
41*1ba415a2SKunihiko Hayashi        - const: atu
42eeab133eSKunihiko Hayashi
43eeab133eSKunihiko Hayashi  clocks:
44eeab133eSKunihiko Hayashi    maxItems: 2
45eeab133eSKunihiko Hayashi
46eeab133eSKunihiko Hayashi  clock-names:
47eeab133eSKunihiko Hayashi    items:
48eeab133eSKunihiko Hayashi      - const: gio
49eeab133eSKunihiko Hayashi      - const: link
50eeab133eSKunihiko Hayashi
51eeab133eSKunihiko Hayashi  resets:
52eeab133eSKunihiko Hayashi    maxItems: 2
53eeab133eSKunihiko Hayashi
54eeab133eSKunihiko Hayashi  reset-names:
55eeab133eSKunihiko Hayashi    items:
56eeab133eSKunihiko Hayashi      - const: gio
57eeab133eSKunihiko Hayashi      - const: link
58eeab133eSKunihiko Hayashi
59eeab133eSKunihiko Hayashi  num-ib-windows:
60eeab133eSKunihiko Hayashi    const: 16
61eeab133eSKunihiko Hayashi
62eeab133eSKunihiko Hayashi  num-ob-windows:
63eeab133eSKunihiko Hayashi    const: 16
64eeab133eSKunihiko Hayashi
65eeab133eSKunihiko Hayashi  num-lanes: true
66eeab133eSKunihiko Hayashi
67eeab133eSKunihiko Hayashi  phys:
68eeab133eSKunihiko Hayashi    maxItems: 1
69eeab133eSKunihiko Hayashi
70eeab133eSKunihiko Hayashi  phy-names:
71eeab133eSKunihiko Hayashi    const: pcie-phy
72eeab133eSKunihiko Hayashi
73eeab133eSKunihiko Hayashirequired:
74eeab133eSKunihiko Hayashi  - compatible
75eeab133eSKunihiko Hayashi  - reg
76eeab133eSKunihiko Hayashi  - reg-names
77eeab133eSKunihiko Hayashi  - clocks
78eeab133eSKunihiko Hayashi  - clock-names
79eeab133eSKunihiko Hayashi  - resets
80eeab133eSKunihiko Hayashi  - reset-names
81eeab133eSKunihiko Hayashi
82eeab133eSKunihiko HayashiadditionalProperties: false
83eeab133eSKunihiko Hayashi
84eeab133eSKunihiko Hayashiexamples:
85eeab133eSKunihiko Hayashi  - |
86eeab133eSKunihiko Hayashi    pcie_ep: pcie-ep@66000000 {
87eeab133eSKunihiko Hayashi        compatible = "socionext,uniphier-pro5-pcie-ep";
88eeab133eSKunihiko Hayashi        reg-names = "dbi", "dbi2", "link", "addr_space";
89eeab133eSKunihiko Hayashi        reg = <0x66000000 0x1000>, <0x66001000 0x1000>,
90eeab133eSKunihiko Hayashi              <0x66010000 0x10000>, <0x67000000 0x400000>;
91eeab133eSKunihiko Hayashi        clock-names = "gio", "link";
92eeab133eSKunihiko Hayashi        clocks = <&sys_clk 12>, <&sys_clk 24>;
93eeab133eSKunihiko Hayashi        reset-names = "gio", "link";
94eeab133eSKunihiko Hayashi        resets = <&sys_rst 12>, <&sys_rst 24>;
95eeab133eSKunihiko Hayashi        num-ib-windows = <16>;
96eeab133eSKunihiko Hayashi        num-ob-windows = <16>;
97eeab133eSKunihiko Hayashi        num-lanes = <4>;
98eeab133eSKunihiko Hayashi        phy-names = "pcie-phy";
99eeab133eSKunihiko Hayashi        phys = <&pcie_phy>;
100eeab133eSKunihiko Hayashi    };
101