xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/phy/phy-rockchip-naneng-combphy.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunROCKCHIP COMBO PHY WITH NANENG IP BLOCK
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties (phy (parent) node):
4*4882a593Smuzhiyun - compatible : should be one of the listed compatibles:
5*4882a593Smuzhiyun	* "rockchip,rk3568-naneng-combphy"
6*4882a593Smuzhiyun - reg : the address offset of grf for combo-phy configuration.
7*4882a593Smuzhiyun - rockchip,pipe-grf : phandle to the syscon managing the "pipe general register files"
8*4882a593Smuzhiyun - rockchip,pipe-phy-grf: phandle to the syscon managing the "phy general register files"
9*4882a593Smuzhiyun - clocks : phandle + phy specifier pair, for the input clocks of phy.
10*4882a593Smuzhiyun - clock-names : input clocks name of phy.
11*4882a593Smuzhiyun - resets : phandle + reset specifier pairs.
12*4882a593Smuzhiyun - reset-names : reset names of phy.
13*4882a593Smuzhiyun - #clock-cells : should be 1.
14*4882a593Smuzhiyun
15*4882a593SmuzhiyunOptional properties:
16*4882a593Smuzhiyun - assigned-clocks : phandle of refclk.
17*4882a593Smuzhiyun - assigned-clock-parents : parent of clk_xxx_osc or clk_xxx_div.
18*4882a593Smuzhiyun		 Refer to clk/clock-bindings.txt for generic clock
19*4882a593Smuzhiyun		 consumer properties.
20*4882a593Smuzhiyun - rockchip,dis-u3otg0-port: when set, disable the u3 root port of otg0 host.
21*4882a593Smuzhiyun - rockchip,dis-u3otg1-port: when set, disable the u3 root port of otg1 host.
22*4882a593Smuzhiyun
23*4882a593SmuzhiyunExample:
24*4882a593Smuzhiyun
25*4882a593Smuzhiyuncombphy0: phy@fe820000 {
26*4882a593Smuzhiyun	compatible = "rockchip,rk3568-naneng-combphy";
27*4882a593Smuzhiyun	reg = <0x0 0xfe820000 0x0 0x100>;
28*4882a593Smuzhiyun	#phy-cells = <1>;
29*4882a593Smuzhiyun	clocks = <&pmucru CLK_PCIEPHY0_REF>, <&cru PCLK_PIPEPHY0>;
30*4882a593Smuzhiyun	clock-names = "refclk", "apbclk";
31*4882a593Smuzhiyun	resets = <&cru SRST_P_PIPEPHY0>, <&cru SRST_PIPEPHY0>;
32*4882a593Smuzhiyun	reset-names = "combphy-apb", "combphy";
33*4882a593Smuzhiyun	rockchip,pipe-grf = <&pipegrf>;
34*4882a593Smuzhiyun	rockchip,pipe-phy-grf = <&pipe_phy_grf0>;
35*4882a593Smuzhiyun	status = "disabled";
36*4882a593Smuzhiyun};
37