Skip to content

Commit

Permalink
dt-bindings: phy: ti,phy-j721e-wiz: Add bindings for AM64 SERDES Wrapper
Browse files Browse the repository at this point in the history
Add bindings for AM64 SERDES Wrapper.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20210310112745.3445-2-kishon@ti.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
  • Loading branch information
kishon authored and vinodkoul committed Mar 17, 2021
1 parent a38fd87 commit 6c363ea
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Documentation/devicetree/bindings/phy/ti,phy-j721e-wiz.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ properties:
enum:
- ti,j721e-wiz-16g
- ti,j721e-wiz-10g
- ti,am64-wiz-10g

power-domains:
maxItems: 1
Expand Down Expand Up @@ -42,6 +43,9 @@ properties:
"#reset-cells":
const: 1

"#clock-cells":
const: 1

ranges: true

assigned-clocks:
Expand Down
21 changes: 21 additions & 0 deletions include/dt-bindings/phy/phy-ti.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/* SPDX-License-Identifier: GPL-2.0 */
/*
* This header provides constants for TI SERDES.
*/

#ifndef _DT_BINDINGS_TI_SERDES
#define _DT_BINDINGS_TI_SERDES

/* Clock index for output clocks from WIZ */

/* MUX Clocks */
#define TI_WIZ_PLL0_REFCLK 0
#define TI_WIZ_PLL1_REFCLK 1
#define TI_WIZ_REFCLK_DIG 2

/* Reserve index here for future additions */

/* MISC Clocks */
#define TI_WIZ_PHY_EN_REFCLK 16

#endif /* _DT_BINDINGS_TI_SERDES */

0 comments on commit 6c363ea

Please sign in to comment.