Commit 03444ad8 authored by Prabhakar Kushwaha's avatar Prabhakar Kushwaha Committed by Shawn Guo

arm64: dts: Add big-endian in nor node for ls104xa

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: default avatarPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Acked-by: default avatarLi Yang <leoyang.li@nxp.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 57361846
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
* Device Tree Include file for Freescale Layerscape-1043A family SoC. * Device Tree Include file for Freescale Layerscape-1043A family SoC.
* *
* Copyright 2014-2015 Freescale Semiconductor, Inc. * Copyright 2014-2015 Freescale Semiconductor, Inc.
* Copyright 2018 NXP
* *
* Mingkai Hu <Mingkai.hu@freescale.com> * Mingkai Hu <Mingkai.hu@freescale.com>
*/ */
...@@ -50,6 +51,7 @@ &ifc { ...@@ -50,6 +51,7 @@ &ifc {
nor@0,0 { nor@0,0 {
compatible = "cfi-flash"; compatible = "cfi-flash";
reg = <0x0 0x0 0x8000000>; reg = <0x0 0x0 0x8000000>;
big-endian;
bank-width = <2>; bank-width = <2>;
device-width = <1>; device-width = <1>;
}; };
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
* Device Tree Include file for Freescale Layerscape-1043A family SoC. * Device Tree Include file for Freescale Layerscape-1043A family SoC.
* *
* Copyright 2014-2015 Freescale Semiconductor, Inc. * Copyright 2014-2015 Freescale Semiconductor, Inc.
* Copyright 2018 NXP
* *
* Mingkai Hu <Mingkai.hu@freescale.com> * Mingkai Hu <Mingkai.hu@freescale.com>
*/ */
...@@ -65,6 +66,7 @@ nor@0,0 { ...@@ -65,6 +66,7 @@ nor@0,0 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
reg = <0x0 0x0 0x8000000>; reg = <0x0 0x0 0x8000000>;
big-endian;
bank-width = <2>; bank-width = <2>;
device-width = <1>; device-width = <1>;
}; };
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
* Device Tree Include file for Freescale Layerscape-1046A family SoC. * Device Tree Include file for Freescale Layerscape-1046A family SoC.
* *
* Copyright 2016 Freescale Semiconductor, Inc. * Copyright 2016 Freescale Semiconductor, Inc.
* Copyright 2018 NXP
* *
* Shaohui Xie <Shaohui.Xie@nxp.com> * Shaohui Xie <Shaohui.Xie@nxp.com>
*/ */
...@@ -141,6 +142,7 @@ &ifc { ...@@ -141,6 +142,7 @@ &ifc {
nor@0,0 { nor@0,0 {
compatible = "cfi-flash"; compatible = "cfi-flash";
reg = <0x0 0x0 0x8000000>; reg = <0x0 0x0 0x8000000>;
big-endian;
bank-width = <2>; bank-width = <2>;
device-width = <1>; device-width = <1>;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment