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