arm64: dts: Add big-endian in nor node for ls104xa
authorPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Tue, 28 Aug 2018 06:59:36 +0000 (12:29 +0530)
committerShawn Guo <shawnguo@kernel.org>
Mon, 3 Sep 2018 04:25:37 +0000 (12:25 +0800)
NOR and IFC controller connectivity is big-endian.
So add big-endian field in nor device tree node allowing
IFC controller to read/write data from/to the flash correctly.

Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Acked-by: Li Yang <leoyang.li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts
arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts
arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts

index c7b8d2c..dff3d64 100644 (file)
@@ -3,6 +3,7 @@
  * Device Tree Include file for Freescale Layerscape-1043A family SoC.
  *
  * Copyright 2014-2015 Freescale Semiconductor, Inc.
+ * Copyright 2018 NXP
  *
  * Mingkai Hu <Mingkai.hu@freescale.com>
  */
@@ -50,6 +51,7 @@
        nor@0,0 {
                compatible = "cfi-flash";
                reg = <0x0 0x0 0x8000000>;
+               big-endian;
                bank-width = <2>;
                device-width = <1>;
        };
index 7b01ba8..17ca357 100644 (file)
@@ -3,6 +3,7 @@
  * Device Tree Include file for Freescale Layerscape-1043A family SoC.
  *
  * Copyright 2014-2015 Freescale Semiconductor, Inc.
+ * Copyright 2018 NXP
  *
  * Mingkai Hu <Mingkai.hu@freescale.com>
  */
@@ -65,6 +66,7 @@
                        #address-cells = <1>;
                        #size-cells = <1>;
                        reg = <0x0 0x0 0x8000000>;
+                       big-endian;
                        bank-width = <2>;
                        device-width = <1>;
                };
index e69306e..e58a8ca 100644 (file)
@@ -3,6 +3,7 @@
  * Device Tree Include file for Freescale Layerscape-1046A family SoC.
  *
  * Copyright 2016 Freescale Semiconductor, Inc.
+ * Copyright 2018 NXP
  *
  * Shaohui Xie <Shaohui.Xie@nxp.com>
  */
        nor@0,0 {
                compatible = "cfi-flash";
                reg = <0x0 0x0 0x8000000>;
+               big-endian;
                bank-width = <2>;
                device-width = <1>;
        };