]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: dts: ls1088a: Revise gpio registers to little-endian
authorChuanhua Han <chuanhua.han@nxp.com>
Wed, 29 May 2019 08:32:54 +0000 (16:32 +0800)
committerShawn Guo <shawnguo@kernel.org>
Sat, 3 Aug 2019 10:28:21 +0000 (12:28 +0200)
Since fsl-ls1088a Soc GPIO registers are used as little endian,
the patch adds the little-endian attribute to each gpio node.

Signed-off-by: Chuanhua Han <chuanhua.han@nxp.com>
Acked-by: Li Yang <leoyang.li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi

index 20f5ebd742009793743644fecbd374253c8bc72b..dfbead40578341deb064d1cbc6e0a2684e72ee9f 100644 (file)
@@ -272,6 +272,7 @@ gpio0: gpio@2300000 {
                        compatible = "fsl,qoriq-gpio";
                        reg = <0x0 0x2300000 0x0 0x10000>;
                        interrupts = <0 36 IRQ_TYPE_LEVEL_HIGH>;
+                       little-endian;
                        gpio-controller;
                        #gpio-cells = <2>;
                        interrupt-controller;
@@ -282,6 +283,7 @@ gpio1: gpio@2310000 {
                        compatible = "fsl,qoriq-gpio";
                        reg = <0x0 0x2310000 0x0 0x10000>;
                        interrupts = <0 36 IRQ_TYPE_LEVEL_HIGH>;
+                       little-endian;
                        gpio-controller;
                        #gpio-cells = <2>;
                        interrupt-controller;
@@ -292,6 +294,7 @@ gpio2: gpio@2320000 {
                        compatible = "fsl,qoriq-gpio";
                        reg = <0x0 0x2320000 0x0 0x10000>;
                        interrupts = <0 37 IRQ_TYPE_LEVEL_HIGH>;
+                       little-endian;
                        gpio-controller;
                        #gpio-cells = <2>;
                        interrupt-controller;
@@ -302,6 +305,7 @@ gpio3: gpio@2330000 {
                        compatible = "fsl,qoriq-gpio";
                        reg = <0x0 0x2330000 0x0 0x10000>;
                        interrupts = <0 37 IRQ_TYPE_LEVEL_HIGH>;
+                       little-endian;
                        gpio-controller;
                        #gpio-cells = <2>;
                        interrupt-controller;