~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/pci/socionext,uniphier-pcie-ep.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/pci/socionext,uniphier-pcie-ep.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: Socionext UniPhier PCIe endpoint controller
  8 
  9 description: |
 10   UniPhier PCIe endpoint controller is based on the Synopsys DesignWare
 11   PCI core. It shares common features with the PCIe DesignWare core and
 12   inherits common properties defined in
 13   Documentation/devicetree/bindings/pci/snps,dw-pcie-ep.yaml.
 14 
 15 maintainers:
 16   - Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
 17 
 18 properties:
 19   compatible:
 20     enum:
 21       - socionext,uniphier-pro5-pcie-ep
 22       - socionext,uniphier-nx1-pcie-ep
 23 
 24   reg:
 25     minItems: 4
 26     maxItems: 5
 27 
 28   reg-names:
 29     minItems: 4
 30     items:
 31       - const: dbi
 32       - const: dbi2
 33       - const: link
 34       - const: addr_space
 35       - const: atu
 36 
 37   clocks:
 38     minItems: 1
 39     maxItems: 2
 40 
 41   clock-names:
 42     minItems: 1
 43     maxItems: 2
 44 
 45   resets:
 46     minItems: 1
 47     maxItems: 2
 48 
 49   reset-names:
 50     minItems: 1
 51     maxItems: 2
 52 
 53   num-ib-windows:
 54     const: 16
 55 
 56   num-ob-windows:
 57     const: 16
 58 
 59   num-lanes: true
 60 
 61   phys:
 62     maxItems: 1
 63 
 64   phy-names:
 65     const: pcie-phy
 66 
 67 allOf:
 68   - $ref: /schemas/pci/snps,dw-pcie-ep.yaml#
 69   - if:
 70       properties:
 71         compatible:
 72           contains:
 73             const: socionext,uniphier-pro5-pcie-ep
 74     then:
 75       properties:
 76         reg:
 77           maxItems: 4
 78         reg-names:
 79           maxItems: 4
 80         clocks:
 81           minItems: 2
 82         clock-names:
 83           items:
 84             - const: gio
 85             - const: link
 86         resets:
 87           minItems: 2
 88         reset-names:
 89           items:
 90             - const: gio
 91             - const: link
 92     else:
 93       properties:
 94         reg:
 95           minItems: 5
 96         reg-names:
 97           minItems: 5
 98         clocks:
 99           maxItems: 1
100         clock-names:
101           const: link
102         resets:
103           maxItems: 1
104         reset-names:
105           const: link
106 
107 required:
108   - compatible
109   - reg
110   - reg-names
111   - clocks
112   - clock-names
113   - resets
114   - reset-names
115 
116 unevaluatedProperties: false
117 
118 examples:
119   - |
120     pcie_ep: pcie-ep@66000000 {
121         compatible = "socionext,uniphier-pro5-pcie-ep";
122         reg-names = "dbi", "dbi2", "link", "addr_space";
123         reg = <0x66000000 0x1000>, <0x66001000 0x1000>,
124               <0x66010000 0x10000>, <0x67000000 0x400000>;
125         clock-names = "gio", "link";
126         clocks = <&sys_clk 12>, <&sys_clk 24>;
127         reset-names = "gio", "link";
128         resets = <&sys_rst 12>, <&sys_rst 24>;
129         num-ib-windows = <16>;
130         num-ob-windows = <16>;
131         num-lanes = <4>;
132         phy-names = "pcie-phy";
133         phys = <&pcie_phy>;
134     };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php