[PATCH AUTOSEL 5.4 014/107] arm64: dts: ls1028a: fix endian setting for dcfg

From: Sasha Levin
Date: Fri Jan 24 2020 - 09:38:59 EST


From: Yinbo Zhu <yinbo.zhu@xxxxxxx>

[ Upstream commit 33eae7fb2e593fdbaac15d843e2558379c6d1149 ]

DCFG block uses little endian. Fix it so that register access becomes
correct.

Signed-off-by: Yinbo Zhu <yinbo.zhu@xxxxxxx>
Acked-by: Yangbo Lu <yangbo.lu@xxxxxxx>
Fixes: 8897f3255c9c ("arm64: dts: Add support for NXP LS1028A SoC")
Signed-off-by: Shawn Guo <shawnguo@xxxxxxxxxx>
Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>
---
arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
index bb960fe2bb64c..9589b15693d6e 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
@@ -158,7 +158,7 @@
dcfg: syscon@1e00000 {
compatible = "fsl,ls1028a-dcfg", "syscon";
reg = <0x0 0x1e00000 0x0 0x10000>;
- big-endian;
+ little-endian;
};

rst: syscon@1e60000 {
--
2.20.1