Commit 4b2e9ce5 authored by Martin Blumenstingl's avatar Martin Blumenstingl
Browse files

dt-bindings: net: dwmac-meson: Add the Ethernet clock input for Meson6/8



The additional DWMAC register on Amlogic Meson6 and Meson8 SoCs take a
clock input (which is provided by the HHI clock controller). For RMII
mode this clock is derived from the RMII reference clock. Document this
clock input so the clock can be enabled when needed.

Signed-off-by: default avatarMartin Blumenstingl <martin.blumenstingl@googlemail.com>
parent e4494ad6
Loading
Loading
Loading
Loading
+22 −0
Original line number Diff line number Diff line
@@ -129,6 +129,28 @@ allOf:
            - 2800
            - 3000

  - if:
      properties:
        compatible:
          contains:
            enum:
              - amlogic,meson6-dwmac
    then:
      properties:
        clocks:
          minItems: 1
          maxItems: 2
          items:
            - description: GMAC main clock
            - description: The RMII reference clock

        clock-names:
          minItems: 1
          maxItems: 2
          items:
            - const: stmmaceth
            - const: ethernet

properties:
  compatible:
    additionalItems: true