Message ID | 20240228-net-v6-6-6d78d3d598c1@outlook.com (mailing list archive) |
---|---|
State | Superseded |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | net: hisi-femac: add support for Hi3798MV200, remove unmaintained compatibles | expand |
On 28/02/2024 10:02, Yang Xiwen via B4 Relay wrote: > From: Yang Xiwen <forbidden405@outlook.com> > > A few clocks are missing in old binding file. Add them to match the real > hardware. > This also can be squashed. Best regards, Krzysztof
diff --git a/Documentation/devicetree/bindings/net/hisilicon,hisi-femac.yaml b/Documentation/devicetree/bindings/net/hisilicon,hisi-femac.yaml index be8e34b48243..ba207f2c9ae4 100644 --- a/Documentation/devicetree/bindings/net/hisilicon,hisi-femac.yaml +++ b/Documentation/devicetree/bindings/net/hisilicon,hisi-femac.yaml @@ -30,6 +30,14 @@ properties: clocks: items: - description: MAC main clock + - description: MAC bus interface clock + - description: PHY clock + + clock-names: + items: + - const: mac + - const: macif + - const: phy resets: items: @@ -70,7 +78,8 @@ examples: compatible = "hisilicon,hi3516cv300-femac", "hisilicon,hisi-femac"; reg = <0x10090000 0x1000>, <0x10091300 0x200>; interrupts = <12>; - clocks = <&clk_femac>; + clocks = <&clk_femac>, <&clk_femacif>, <&clk_fephy>; + clock-names = "mac", "macif", "phy"; resets = <&crg 0xec 0>, <&crg 0xec 3>; reset-names = "mac", "phy"; mac-address = [00 00 00 00 00 00];