]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: dts: ls1088a: add gpio node
authorBiwen Li <biwen.li@nxp.com>
Fri, 5 Feb 2021 11:01:53 +0000 (19:01 +0800)
committerPriyanka Jain <priyanka.jain@nxp.com>
Mon, 8 Feb 2021 08:31:20 +0000 (14:01 +0530)
Add gpio node for SoC LS1088A

Signed-off-by: Biwen Li <biwen.li@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
arch/arm/dts/fsl-ls1088a.dtsi

index 7b4ac6d3ded4a4bb3c984cf68aca2b050bd0f445..64caa600ad77624135206aff28778b8dac5cf700 100644 (file)
@@ -2,9 +2,10 @@
 /*
  * NXP ls1088a SOC common device tree source
  *
- * Copyright 2017, 2020 NXP
+ * Copyright 2017, 2020-2021 NXP
  */
 
+#include <dt-bindings/interrupt-controller/arm-gic.h>
 / {
        compatible = "fsl,ls1088a";
        interrupt-parent = <&gic>;
                bus-width = <4>;
        };
 
+       gpio0: gpio@2300000 {
+               compatible = "fsl,ls1088a-gpio", "fsl,qoriq-gpio";
+               reg = <0x0 0x2300000 0x0 0x10000>;
+               interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
+               little-endian;
+               gpio-controller;
+               #gpio-cells = <2>;
+               interrupt-controller;
+               #interrupt-cells = <2>;
+       };
+
+       gpio1: gpio@2310000 {
+               compatible = "fsl,ls1088a-gpio", "fsl,qoriq-gpio";
+               reg = <0x0 0x2310000 0x0 0x10000>;
+               interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
+               little-endian;
+               gpio-controller;
+               #gpio-cells = <2>;
+               interrupt-controller;
+               #interrupt-cells = <2>;
+       };
+
+       gpio2: gpio@2320000 {
+               compatible = "fsl,ls1088a-gpio", "fsl,qoriq-gpio";
+               reg = <0x0 0x2320000 0x0 0x10000>;
+               interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
+               little-endian;
+               gpio-controller;
+               #gpio-cells = <2>;
+               interrupt-controller;
+               #interrupt-cells = <2>;
+       };
+
+       gpio3: gpio@2330000 {
+               compatible = "fsl,ls1088a-gpio", "fsl,qoriq-gpio";
+               reg = <0x0 0x2330000 0x0 0x10000>;
+               interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
+               little-endian;
+               gpio-controller;
+               #gpio-cells = <2>;
+               interrupt-controller;
+               #interrupt-cells = <2>;
+       };
+
        ifc: ifc@1530000 {
                compatible = "fsl,ifc", "simple-bus";
                reg = <0x0 0x2240000 0x0 0x20000>;