]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: Add big-endian in nor node for ls1021a
authorPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Tue, 28 Aug 2018 06:59:35 +0000 (12:29 +0530)
committerShawn Guo <shawnguo@kernel.org>
Mon, 3 Sep 2018 04:25:24 +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/arm/boot/dts/ls1021a-qds.dts
arch/arm/boot/dts/ls1021a-twr.dts

index 499f41a2c6f0af40c235c5098cd871d7cec4ea92..923a25760516562db04c715235d5e4a427969914 100644 (file)
@@ -1,5 +1,6 @@
 /*
  * Copyright 2013-2014 Freescale Semiconductor, Inc.
+ * Copyright 2018 NXP
  *
  * This file is dual-licensed: you can use it either under the terms
  * of the GPL or the X11 license, at your option. Note that this dual
@@ -235,6 +236,7 @@ nor@0,0 {
                #size-cells = <1>;
                compatible = "cfi-flash";
                reg = <0x0 0x0 0x8000000>;
+               big-endian;
                bank-width = <2>;
                device-width = <1>;
        };
index f0c949d748331939be497ddb4d93c2364a85347e..8b48c3c7cd216131aecaca4f21a49c8eea842734 100644 (file)
@@ -1,5 +1,6 @@
 /*
  * Copyright 2013-2014 Freescale Semiconductor, Inc.
+ * Copyright 2018 NXP
  *
  * This file is dual-licensed: you can use it either under the terms
  * of the GPL or the X11 license, at your option. Note that this dual
@@ -203,6 +204,7 @@ nor@0,0 {
                #size-cells = <1>;
                compatible = "cfi-flash";
                reg = <0x0 0x0 0x8000000>;
+               big-endian;
                bank-width = <2>;
                device-width = <1>;
        };