OSDN Git Service

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 20f5ebd..dfbead4 100644 (file)
                        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;
                        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;
                        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;
                        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;