Commit 70cdc145 authored by Frank Li's avatar Frank Li Committed by Miquel Raynal
Browse files

dt-bindings: mtd: gpmi-nand: Add 'fsl,imx8qxp-gpmi-nand' compatible string



Add 'fsl,imx8qxp-gpmi-nand' compatible string and clock-names restriction.

Signed-off-by: default avatarFrank Li <Frank.Li@nxp.com>
Reviewed-by: default avatarRob Herring (Arm) <robh@kernel.org>
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20240520-gpmi_nand-v2-1-e3017e4c9da5@nxp.com
parent 8675330a
Loading
Loading
Loading
Loading
+22 −0
Original line number Diff line number Diff line
@@ -24,6 +24,7 @@ properties:
          - fsl,imx6q-gpmi-nand
          - fsl,imx6sx-gpmi-nand
          - fsl,imx7d-gpmi-nand
          - fsl,imx8qxp-gpmi-nand
      - items:
          - enum:
              - fsl,imx8mm-gpmi-nand
@@ -151,6 +152,27 @@ allOf:
            - const: gpmi_io
            - const: gpmi_bch_apb

  - if:
      properties:
        compatible:
          contains:
            enum:
              - fsl,imx8qxp-gpmi-nand
    then:
      properties:
        clocks:
          items:
            - description: SoC gpmi io clock
            - description: SoC gpmi apb clock
            - description: SoC gpmi bch clock
            - description: SoC gpmi bch apb clock
        clock-names:
          items:
            - const: gpmi_io
            - const: gpmi_apb
            - const: gpmi_bch
            - const: gpmi_bch_apb

examples:
  - |
    nand-controller@8000c000 {