1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/phy/phy-rockchip-naneng-combphy.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Rockchip SoC Naneng Combo Phy
10 - Heiko Stuebner <heiko@sntech.de>
15 - rockchip,rk3568-naneng-combphy
16 - rockchip,rk3588-naneng-combphy
23 - description: reference clock
24 - description: apb clock
25 - description: pipe clock
46 The option SSC can be enabled for U3, SATA and PCIE.
47 Most commercially available platforms use SSC to reduce EMI.
52 Many PCIe connections, especially backplane connections,
53 require a synchronous reference clock between the two link partners.
54 To achieve this a common clock source, referred to as REFCLK in
55 the PCI Express Card Electromechanical Specification,
56 should be used by both ends of the PCIe link.
57 In PCIe mode one can choose to use an internal or an external reference
59 By default the internal clock is selected. The PCIe PHY provides a 100MHz
60 differential clock output(optional with SSC) for system applications.
61 When selecting this option an externally 100MHz differential
62 reference clock needs to be provided to the PCIe PHY.
65 $ref: /schemas/types.yaml#/definitions/phandle
67 Some additional phy settings are accessed through GRF regs.
69 rockchip,pipe-phy-grf:
70 $ref: /schemas/types.yaml#/definitions/phandle
72 Some additional pipe settings are accessed through GRF regs.
84 - rockchip,pipe-phy-grf
92 const: rockchip,rk3568-naneng-combphy
103 const: rockchip,rk3588-naneng-combphy
113 additionalProperties: false
117 #include <dt-bindings/clock/rk3568-cru.h>
119 pipegrf: syscon@fdc50000 {
120 compatible = "rockchip,rk3568-pipe-grf", "syscon";
121 reg = <0xfdc50000 0x1000>;
124 pipe_phy_grf0: syscon@fdc70000 {
125 compatible = "rockchip,rk3568-pipe-phy-grf", "syscon";
126 reg = <0xfdc70000 0x1000>;
129 combphy0: phy@fe820000 {
130 compatible = "rockchip,rk3568-naneng-combphy";
131 reg = <0xfe820000 0x100>;
132 clocks = <&pmucru CLK_PCIEPHY0_REF>,
133 <&cru PCLK_PIPEPHY0>,
135 clock-names = "ref", "apb", "pipe";
136 assigned-clocks = <&pmucru CLK_PCIEPHY0_REF>;
137 assigned-clock-rates = <100000000>;
138 resets = <&cru SRST_PIPEPHY0>;
139 rockchip,pipe-grf = <&pipegrf>;
140 rockchip,pipe-phy-grf = <&pipe_phy_grf0>;