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