-------- 原始信息 -------- 主题: Re: [PATCH v5 07/12] dt-bindings: net: starfive,jh7110-dwmac: Add starfive,syscon From: Rob Herring <robh@xxxxxxxxxx> > On Fri, Mar 03, 2023 at 04:59:23PM +0800, Samin Guo wrote: >> A phandle to syscon with two arguments that configure phy mode. > > This change belongs in patch 4. > Thank you for pointing out that the next version will be merged into patch4 Best regards, Samin >> >> Signed-off-by: Samin Guo <samin.guo@xxxxxxxxxxxxxxxx> >> --- >> .../bindings/net/starfive,jh7110-dwmac.yaml | 13 +++++++++++++ >> 1 file changed, 13 insertions(+) >> >> diff --git a/Documentation/devicetree/bindings/net/starfive,jh7110-dwmac.yaml b/Documentation/devicetree/bindings/net/starfive,jh7110-dwmac.yaml >> index ca49f08d50dd..79ae635db0a5 100644 >> --- a/Documentation/devicetree/bindings/net/starfive,jh7110-dwmac.yaml >> +++ b/Documentation/devicetree/bindings/net/starfive,jh7110-dwmac.yaml >> @@ -58,6 +58,18 @@ properties: >> Tx clock is provided by external rgmii clock. >> type: boolean >> >> + starfive,syscon: >> + $ref: /schemas/types.yaml#/definitions/phandle-array >> + items: >> + - items: >> + - description: phandle to syscon that configures phy mode >> + - description: Offset of phy mode selection >> + - description: Mask of phy mode selection >> + description: >> + A phandle to syscon with two arguments that configure phy mode. >> + The argument one is the offset of phy mode selection, the >> + argument two is the mask of phy mode selection. >> + >> allOf: >> - $ref: snps,dwmac.yaml# >> >> @@ -96,6 +108,7 @@ examples: >> snps,en-tx-lpi-clockgating; >> snps,txpbl = <16>; >> snps,rxpbl = <16>; >> + starfive,syscon = <&aon_syscon 0xc 0x1c0000>; >> phy-handle = <&phy0>; >> >> mdio { >> -- >> 2.17.1 >>