]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: ls1021a.dtsi: Fix invalid reg on gpio nodes
authorLasse Klok Mikkelsen <lkmi@prevas.dk>
Tue, 8 Jun 2021 06:39:12 +0000 (08:39 +0200)
committerPriyanka Jain <priyanka.jain@nxp.com>
Thu, 17 Jun 2021 06:16:11 +0000 (11:46 +0530)
Address and size cells on SOC are set to 1. But gpio nodes are specified
with 2 cells. This fixes the gpio nodes to correct cells.

Signed-off-by: Lasse Klok Mikkelsen <lkmi@prevas.dk>
Reviewed-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
arch/arm/dts/ls1021a.dtsi

index 7b99ce02b353e4de5b4546f08e0124e98d91de07..7ba2dd226932da1675060db373dfbf23853b898f 100644 (file)
 
                gpio0: gpio@2300000 {
                        compatible = "fsl,ls1021a-gpio", "fsl,qoriq-gpio";
-                       reg = <0x0 0x2300000 0x0 0x10000>;
+                       reg = <0x2300000 0x10000>;
                        interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
                        gpio-controller;
                        #gpio-cells = <2>;
 
                gpio1: gpio@2310000 {
                        compatible = "fsl,ls1021a-gpio", "fsl,qoriq-gpio";
-                       reg = <0x0 0x2310000 0x0 0x10000>;
+                       reg = <0x2310000 0x10000>;
                        interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
                        gpio-controller;
                        #gpio-cells = <2>;
 
                gpio2: gpio@2320000 {
                        compatible = "fsl,ls1021a-gpio", "fsl,qoriq-gpio";
-                       reg = <0x0 0x2320000 0x0 0x10000>;
+                       reg = <0x2320000 0x10000>;
                        interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
                        gpio-controller;
                        #gpio-cells = <2>;
 
                gpio3: gpio@2330000 {
                        compatible = "fsl,ls1021a-gpio", "fsl,qoriq-gpio";
-                       reg = <0x0 0x2330000 0x0 0x10000>;
+                       reg = <0x2330000 0x10000>;
                        interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>;
                        gpio-controller;
                        #gpio-cells = <2>;