Commit 380054cb authored by Binbin Zhou's avatar Binbin Zhou Committed by Arnd Bergmann
Browse files

dt-bindings: soc: loongson,ls2k-pmc: Use fallbacks for ls2k-pmc compatible



The Loongson-2K series chips (ls2k0500/ls2k1000/ls2k2000) share the same
PM system controller, using ls2k0500 compatible as fallback for the
others.

Signed-off-by: default avatarBinbin Zhou <zhoubinbin@loongson.cn>
Acked-by: default avatarConor Dooley <conor.dooley@microchip.com>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 8e4a28f9
Loading
Loading
Loading
Loading
+11 −6
Original line number Diff line number Diff line
@@ -11,10 +11,15 @@ maintainers:

properties:
  compatible:
    items:
    oneOf:
      - items:
          - const: loongson,ls2k0500-pmc
          - const: syscon
      - items:
          - enum:
          - loongson,ls2k0500-pmc
              - loongson,ls2k1000-pmc
              - loongson,ls2k2000-pmc
          - const: loongson,ls2k0500-pmc
          - const: syscon

  reg:
@@ -44,7 +49,7 @@ examples:
    #include <dt-bindings/interrupt-controller/irq.h>

    power-management@1fe27000 {
        compatible = "loongson,ls2k1000-pmc", "syscon";
        compatible = "loongson,ls2k1000-pmc", "loongson,ls2k0500-pmc", "syscon";
        reg = <0x1fe27000 0x58>;
        interrupt-parent = <&liointc1>;
        interrupts = <11 IRQ_TYPE_LEVEL_LOW>;