Commit 0a382be0 authored by Lorenzo Bianconi's avatar Lorenzo Bianconi Committed by Stephen Boyd
Browse files

dt-bindings: clock: airoha: add EN7581 binding

parent 4cece764
Loading
Loading
Loading
Loading
+29 −2
Original line number Diff line number Diff line
@@ -29,10 +29,13 @@ description: |
properties:
  compatible:
    items:
      - const: airoha,en7523-scu
      - enum:
          - airoha,en7523-scu
          - airoha,en7581-scu

  reg:
    maxItems: 2
    minItems: 2
    maxItems: 3

  "#clock-cells":
    description:
@@ -45,6 +48,30 @@ required:
  - reg
  - '#clock-cells'

allOf:
  - if:
      properties:
        compatible:
          const: airoha,en7523-scu
    then:
      properties:
        reg:
          items:
            - description: scu base address
            - description: misc scu base address

  - if:
      properties:
        compatible:
          const: airoha,en7581-scu
    then:
      properties:
        reg:
          items:
            - description: scu base address
            - description: misc scu base address
            - description: pb scu base address

additionalProperties: false

examples: