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 13320e1098SMauro Carvalho Chehab Documentation/devicetree/bindings/pci/snps,dw-pcie-ep.yaml. 14eeab133eSKunihiko Hayashi 15eeab133eSKunihiko Hayashimaintainers: 16eeab133eSKunihiko Hayashi - Kunihiko Hayashi <hayashi.kunihiko@socionext.com> 17eeab133eSKunihiko Hayashi 18eeab133eSKunihiko Hayashiproperties: 19eeab133eSKunihiko Hayashi compatible: 20f28b2404SKunihiko Hayashi enum: 21f28b2404SKunihiko Hayashi - socionext,uniphier-pro5-pcie-ep 22f28b2404SKunihiko Hayashi - socionext,uniphier-nx1-pcie-ep 23eeab133eSKunihiko Hayashi 24eeab133eSKunihiko Hayashi reg: 251ba415a2SKunihiko Hayashi minItems: 4 261ba415a2SKunihiko Hayashi maxItems: 5 27eeab133eSKunihiko Hayashi 28eeab133eSKunihiko Hayashi reg-names: 296f5e55dfSKunihiko Hayashi minItems: 4 306f5e55dfSKunihiko Hayashi items: 311ba415a2SKunihiko Hayashi - const: dbi 321ba415a2SKunihiko Hayashi - const: dbi2 331ba415a2SKunihiko Hayashi - const: link 341ba415a2SKunihiko Hayashi - const: addr_space 351ba415a2SKunihiko Hayashi - const: atu 36eeab133eSKunihiko Hayashi 37eeab133eSKunihiko Hayashi clocks: 38f28b2404SKunihiko Hayashi minItems: 1 39eeab133eSKunihiko Hayashi maxItems: 2 40eeab133eSKunihiko Hayashi 41*a5c1bf7eSKrzysztof Kozlowski clock-names: 42*a5c1bf7eSKrzysztof Kozlowski minItems: 1 43*a5c1bf7eSKrzysztof Kozlowski maxItems: 2 44eeab133eSKunihiko Hayashi 45eeab133eSKunihiko Hayashi resets: 46f28b2404SKunihiko Hayashi minItems: 1 47eeab133eSKunihiko Hayashi maxItems: 2 48eeab133eSKunihiko Hayashi 49*a5c1bf7eSKrzysztof Kozlowski reset-names: 50*a5c1bf7eSKrzysztof Kozlowski minItems: 1 51*a5c1bf7eSKrzysztof Kozlowski maxItems: 2 52eeab133eSKunihiko Hayashi 53eeab133eSKunihiko Hayashi num-ib-windows: 54eeab133eSKunihiko Hayashi const: 16 55eeab133eSKunihiko Hayashi 56eeab133eSKunihiko Hayashi num-ob-windows: 57eeab133eSKunihiko Hayashi const: 16 58eeab133eSKunihiko Hayashi 59eeab133eSKunihiko Hayashi num-lanes: true 60eeab133eSKunihiko Hayashi 61eeab133eSKunihiko Hayashi phys: 62eeab133eSKunihiko Hayashi maxItems: 1 63eeab133eSKunihiko Hayashi 64eeab133eSKunihiko Hayashi phy-names: 65eeab133eSKunihiko Hayashi const: pcie-phy 66eeab133eSKunihiko Hayashi 676f5e55dfSKunihiko HayashiallOf: 686f5e55dfSKunihiko Hayashi - $ref: /schemas/pci/snps,dw-pcie-ep.yaml# 696f5e55dfSKunihiko Hayashi - if: 706f5e55dfSKunihiko Hayashi properties: 716f5e55dfSKunihiko Hayashi compatible: 726f5e55dfSKunihiko Hayashi contains: 736f5e55dfSKunihiko Hayashi const: socionext,uniphier-pro5-pcie-ep 746f5e55dfSKunihiko Hayashi then: 756f5e55dfSKunihiko Hayashi properties: 766f5e55dfSKunihiko Hayashi reg: 776f5e55dfSKunihiko Hayashi maxItems: 4 786f5e55dfSKunihiko Hayashi reg-names: 796f5e55dfSKunihiko Hayashi maxItems: 4 806f5e55dfSKunihiko Hayashi clocks: 816f5e55dfSKunihiko Hayashi minItems: 2 826f5e55dfSKunihiko Hayashi clock-names: 836f5e55dfSKunihiko Hayashi items: 846f5e55dfSKunihiko Hayashi - const: gio 856f5e55dfSKunihiko Hayashi - const: link 866f5e55dfSKunihiko Hayashi resets: 876f5e55dfSKunihiko Hayashi minItems: 2 886f5e55dfSKunihiko Hayashi reset-names: 896f5e55dfSKunihiko Hayashi items: 906f5e55dfSKunihiko Hayashi - const: gio 916f5e55dfSKunihiko Hayashi - const: link 926f5e55dfSKunihiko Hayashi else: 936f5e55dfSKunihiko Hayashi properties: 946f5e55dfSKunihiko Hayashi reg: 956f5e55dfSKunihiko Hayashi minItems: 5 966f5e55dfSKunihiko Hayashi reg-names: 976f5e55dfSKunihiko Hayashi minItems: 5 986f5e55dfSKunihiko Hayashi clocks: 996f5e55dfSKunihiko Hayashi maxItems: 1 1006f5e55dfSKunihiko Hayashi clock-names: 1016f5e55dfSKunihiko Hayashi const: link 1026f5e55dfSKunihiko Hayashi resets: 1036f5e55dfSKunihiko Hayashi maxItems: 1 1046f5e55dfSKunihiko Hayashi reset-names: 1056f5e55dfSKunihiko Hayashi const: link 1066f5e55dfSKunihiko Hayashi 107eeab133eSKunihiko Hayashirequired: 108eeab133eSKunihiko Hayashi - compatible 109eeab133eSKunihiko Hayashi - reg 110eeab133eSKunihiko Hayashi - reg-names 111eeab133eSKunihiko Hayashi - clocks 112eeab133eSKunihiko Hayashi - clock-names 113eeab133eSKunihiko Hayashi - resets 114eeab133eSKunihiko Hayashi - reset-names 115eeab133eSKunihiko Hayashi 116b92225b0SRob HerringunevaluatedProperties: false 117eeab133eSKunihiko Hayashi 118eeab133eSKunihiko Hayashiexamples: 119eeab133eSKunihiko Hayashi - | 120eeab133eSKunihiko Hayashi pcie_ep: pcie-ep@66000000 { 121eeab133eSKunihiko Hayashi compatible = "socionext,uniphier-pro5-pcie-ep"; 122eeab133eSKunihiko Hayashi reg-names = "dbi", "dbi2", "link", "addr_space"; 123eeab133eSKunihiko Hayashi reg = <0x66000000 0x1000>, <0x66001000 0x1000>, 124eeab133eSKunihiko Hayashi <0x66010000 0x10000>, <0x67000000 0x400000>; 125eeab133eSKunihiko Hayashi clock-names = "gio", "link"; 126eeab133eSKunihiko Hayashi clocks = <&sys_clk 12>, <&sys_clk 24>; 127eeab133eSKunihiko Hayashi reset-names = "gio", "link"; 128eeab133eSKunihiko Hayashi resets = <&sys_rst 12>, <&sys_rst 24>; 129eeab133eSKunihiko Hayashi num-ib-windows = <16>; 130eeab133eSKunihiko Hayashi num-ob-windows = <16>; 131eeab133eSKunihiko Hayashi num-lanes = <4>; 132eeab133eSKunihiko Hayashi phy-names = "pcie-phy"; 133eeab133eSKunihiko Hayashi phys = <&pcie_phy>; 134eeab133eSKunihiko Hayashi }; 135