dt-bindings: phy: Renesas R-Car Gen3 PCIe PHY bindings
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Sun, 10 Jun 2018 18:22:46 +0000 (21:22 +0300)
committerKishon Vijay Abraham I <kishon@ti.com>
Tue, 10 Jul 2018 08:15:11 +0000 (13:45 +0530)
This PHY is  still  mostly undocumented --  the only documented registers
exist on R-Car V3H (R8A77980) SoC.  Add the corresponding device tree
bindings.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Documentation/devicetree/bindings/phy/rcar-gen3-phy-pcie.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/phy/rcar-gen3-phy-pcie.txt b/Documentation/devicetree/bindings/phy/rcar-gen3-phy-pcie.txt
new file mode 100644 (file)
index 0000000..63853b3
--- /dev/null
@@ -0,0 +1,24 @@
+* Renesas R-Car generation 3 PCIe PHY
+
+This file provides information on what the device node for the R-Car
+generation 3 PCIe PHY contains.
+
+Required properties:
+- compatible: "renesas,r8a77980-pcie-phy" if the device is a part of the
+             R8A77980 SoC.
+- reg: offset and length of the register block.
+- clocks: clock phandle and specifier pair.
+- power-domains: power domain phandle and specifier pair.
+- resets: reset phandle and specifier pair.
+- #phy-cells: see phy-bindings.txt in the same directory, must be <0>.
+
+Example (R-Car V3H):
+
+       pcie-phy@e65d0000 {
+               compatible = "renesas,r8a77980-pcie-phy";
+               reg = <0 0xe65d0000 0 0x8000>;
+               #phy-cells = <0>;
+               clocks = <&cpg CPG_MOD 319>;
+               power-domains = <&sysc 32>;
+               resets = <&cpg 319>;
+       };