xref: /linux/Documentation/devicetree/bindings/phy/rockchip-pcie-phy.txt (revision cf40a76e7d5874bb25f4404eecc58a2e033af885)
1Rockchip PCIE PHY
2-----------------------
3
4Required properties:
5 - compatible: rockchip,rk3399-pcie-phy
6 - clocks: Must contain an entry in clock-names.
7	See ../clocks/clock-bindings.txt for details.
8 - clock-names: Must be "refclk"
9 - resets: Must contain an entry in reset-names.
10	See ../reset/reset.txt for details.
11 - reset-names: Must be "phy"
12
13Required properties for legacy PHY mode (deprecated):
14 - #phy-cells: must be 0
15
16Required properties for per-lane PHY mode (preferred):
17 - #phy-cells: must be 1
18
19Example:
20
21grf: syscon@ff770000 {
22	compatible = "rockchip,rk3399-grf", "syscon", "simple-mfd";
23	#address-cells = <1>;
24	#size-cells = <1>;
25
26	...
27
28	pcie_phy: pcie-phy {
29		compatible = "rockchip,rk3399-pcie-phy";
30		#phy-cells = <0>;
31		clocks = <&cru SCLK_PCIEPHY_REF>;
32		clock-names = "refclk";
33		resets = <&cru SRST_PCIEPHY>;
34		reset-names = "phy";
35	};
36};
37