[PATCH v11 04/13] dt-bindings: gpio-mmio: Add compatible for QIXIS

Sean Anderson sean.anderson at seco.com
Mon Mar 13 09:11:28 PDT 2023


NXP has a "QIXIS" FPGA on several of their reference design boards. On
the LS1088ARDB there are several registers which control GPIOs. These
can be modeled with the MMIO GPIO driver.

Signed-off-by: Sean Anderson <sean.anderson at seco.com>
Reviewed-by: Rob Herring <robh at kernel.org>
---

(no changes since v10)

Changes in v10:
- New

 .../devicetree/bindings/gpio/gpio-mmio.yaml        | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/Documentation/devicetree/bindings/gpio/gpio-mmio.yaml b/Documentation/devicetree/bindings/gpio/gpio-mmio.yaml
index 10a93a92ed78..67975a464c59 100644
--- a/Documentation/devicetree/bindings/gpio/gpio-mmio.yaml
+++ b/Documentation/devicetree/bindings/gpio/gpio-mmio.yaml
@@ -20,10 +20,16 @@ properties:
   big-endian: true
 
   compatible:
-    enum:
-      - brcm,bcm6345-gpio # Broadcom BCM6345 GPIO controller
-      - wd,mbl-gpio # Western Digital MyBook Live memory-mapped GPIO controller
-      - ni,169445-nand-gpio # National Instruments 169445 GPIO NAND controller
+    oneOf:
+      - enum:
+          - brcm,bcm6345-gpio # Broadcom BCM6345 GPIO controller
+          - wd,mbl-gpio # Western Digital MyBook Live memory-mapped GPIO controller
+          - ni,169445-nand-gpio # National Instruments 169445 GPIO NAND controller
+      - items:
+          - enum:
+              - fsl,fpga-qixis-los-stat
+              - fsl,fpga-qixis-brdcfg9
+          - const: ni,169445-nand-gpio
 
   '#gpio-cells':
     const: 2
-- 
2.35.1.1320.gc452695387.dirty




More information about the linux-phy mailing list