]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: imxrt1020: add gpio5 node to this SoC
authorGiulio Benetti <giulio.benetti@benettiengineering.com>
Sun, 16 May 2021 21:57:02 +0000 (23:57 +0200)
committerStefano Babic <sbabic@denx.de>
Wed, 9 Jun 2021 11:03:26 +0000 (13:03 +0200)
i.MXRT1020 supports gpio5, so let's add a node for it.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
arch/arm/dts/imxrt1020.dtsi

index 884d57f61401bd9923991adae37b1acadd17db35..5ba314f99534ab75ae9e954311917b8775c203e6 100644 (file)
                        #interrupt-cells = <2>;
                };
 
+               gpio5: gpio@400c0000 {
+                       compatible = "fsl,imxrt-gpio", "fsl,imx35-gpio";
+                       reg = <0x400c0000 0x4000>;
+                       interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>,
+                               <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
+                       gpio-controller;
+                       #gpio-cells = <2>;
+                       interrupt-controller;
+                       #interrupt-cells = <2>;
+               };
+
                gpt1: gpt1@401ec000 {
                        compatible = "fsl,imxrt-gpt";
                        reg = <0x401ec000 0x4000>;