Commit 67b8716280afe4baedbcb5e39595287aed10331d

Authored by Biwen Li
Committed by Priyanka Jain
1 parent 153139b000

arm64: dts: ls1088a: add gpio node

Add gpio node for SoC LS1088A

Signed-off-by: Biwen Li <biwen.li@nxp.com>

Showing 1 changed file with 45 additions and 0 deletions Side-by-side Diff

arch/arm/dts/fsl-ls1088a.dtsi
... ... @@ -4,6 +4,7 @@
4 4 *
5 5 * Copyright 2017, 2020 NXP
6 6 */
  7 +#include <dt-bindings/interrupt-controller/arm-gic.h>
7 8  
8 9 / {
9 10 compatible = "fsl,ls1088a";
... ... @@ -113,6 +114,50 @@
113 114 interrupts = <0 28 0x4>; /* Level high type */
114 115 little-endian;
115 116 bus-width = <4>;
  117 + };
  118 +
  119 + gpio0: gpio@2300000 {
  120 + compatible = "fsl,ls1088a-gpio", "fsl,qoriq-gpio";
  121 + reg = <0x0 0x2300000 0x0 0x10000>;
  122 + interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
  123 + little-endian;
  124 + gpio-controller;
  125 + #gpio-cells = <2>;
  126 + interrupt-controller;
  127 + #interrupt-cells = <2>;
  128 + };
  129 +
  130 + gpio1: gpio@2310000 {
  131 + compatible = "fsl,ls1088a-gpio", "fsl,qoriq-gpio";
  132 + reg = <0x0 0x2310000 0x0 0x10000>;
  133 + interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
  134 + little-endian;
  135 + gpio-controller;
  136 + #gpio-cells = <2>;
  137 + interrupt-controller;
  138 + #interrupt-cells = <2>;
  139 + };
  140 +
  141 + gpio2: gpio@2320000 {
  142 + compatible = "fsl,ls1088a-gpio", "fsl,qoriq-gpio";
  143 + reg = <0x0 0x2320000 0x0 0x10000>;
  144 + interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
  145 + little-endian;
  146 + gpio-controller;
  147 + #gpio-cells = <2>;
  148 + interrupt-controller;
  149 + #interrupt-cells = <2>;
  150 + };
  151 +
  152 + gpio3: gpio@2330000 {
  153 + compatible = "fsl,ls1088a-gpio", "fsl,qoriq-gpio";
  154 + reg = <0x0 0x2330000 0x0 0x10000>;
  155 + interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
  156 + little-endian;
  157 + gpio-controller;
  158 + #gpio-cells = <2>;
  159 + interrupt-controller;
  160 + #interrupt-cells = <2>;
116 161 };
117 162  
118 163 ifc: ifc@1530000 {