starfive: add new target for StarFive JH7100/7110 SoC
[openwrt/staging/981213.git] / target / linux / starfive / patches-6.1 / 0061-dt-bindings-net-motorcomm-Add-pad-driver-strength-cf.patch
1 From 16214121afaadb8ae9aaf73351e874405eb47c15 Mon Sep 17 00:00:00 2001
2 From: Samin Guo <samin.guo@starfivetech.com>
3 Date: Tue, 25 Apr 2023 18:51:15 +0800
4 Subject: [PATCH 061/122] dt-bindings: net: motorcomm: Add pad driver strength
5 cfg
6
7 The motorcomm phy (YT8531) supports the ability to adjust the drive
8 strength of the rx_clk/rx_data, the value range of pad driver
9 strength is 0 to 7.
10
11 Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
12 ---
13 .../devicetree/bindings/net/motorcomm,yt8xxx.yaml | 12 ++++++++++++
14 1 file changed, 12 insertions(+)
15
16 --- a/Documentation/devicetree/bindings/net/motorcomm,yt8xxx.yaml
17 +++ b/Documentation/devicetree/bindings/net/motorcomm,yt8xxx.yaml
18 @@ -62,6 +62,18 @@ properties:
19 for a timer.
20 type: boolean
21
22 + motorcomm,rx-clk-driver-strength:
23 + description: drive strength of rx_clk pad.
24 + $ref: /schemas/types.yaml#/definitions/uint32
25 + enum: [ 0, 1, 2, 3, 4, 5, 6, 7 ]
26 + default: 3
27 +
28 + motorcomm,rx-data-driver-strength:
29 + description: drive strength of rx_data/rx_ctl rgmii pad.
30 + $ref: /schemas/types.yaml#/definitions/uint32
31 + enum: [ 0, 1, 2, 3, 4, 5, 6, 7 ]
32 + default: 3
33 +
34 motorcomm,tx-clk-adj-enabled:
35 description: |
36 This configuration is mainly to adapt to VF2 with JH7110 SoC.