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