Skip to content

Commit b11c821

Browse files
shawn1221kishon
authored andcommitted
Documentation: bindings: add dt documentation for Rockchip PCIe PHY
This patch adds a binding that describes the Rockchip PCIe PHY found on Rockchip SoCs PCIe interface. Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
1 parent 0e08d2a commit b11c821

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
Rockchip PCIE PHY
2+
-----------------------
3+
4+
Required properties:
5+
- compatible: rockchip,rk3399-pcie-phy
6+
- #phy-cells: must be 0
7+
- clocks: Must contain an entry in clock-names.
8+
See ../clocks/clock-bindings.txt for details.
9+
- clock-names: Must be "refclk"
10+
- resets: Must contain an entry in reset-names.
11+
See ../reset/reset.txt for details.
12+
- reset-names: Must be "phy"
13+
14+
Example:
15+
16+
grf: syscon@ff770000 {
17+
compatible = "rockchip,rk3399-grf", "syscon", "simple-mfd";
18+
#address-cells = <1>;
19+
#size-cells = <1>;
20+
21+
...
22+
23+
pcie_phy: pcie-phy {
24+
compatible = "rockchip,rk3399-pcie-phy";
25+
#phy-cells = <0>;
26+
clocks = <&cru SCLK_PCIEPHY_REF>;
27+
clock-names = "refclk";
28+
resets = <&cru SRST_PCIEPHY>;
29+
reset-names = "phy";
30+
};
31+
};

0 commit comments

Comments
 (0)