diff options
author | York Sun <york.sun@nxp.com> | 2016-08-09 23:55:43 +0200 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2016-09-01 10:28:02 +0200 |
commit | 339fdff14c1ed34acc9c3368e01b56f80692cf83 (patch) | |
tree | 390b7ae614e13a47f61dfda06939d6b1923b938b /Documentation/devicetree/bindings/powerpc | |
parent | EDAC, fsl_ddr: Add missing DDR DRAM types (diff) | |
download | linux-339fdff14c1ed34acc9c3368e01b56f80692cf83.tar.xz linux-339fdff14c1ed34acc9c3368e01b56f80692cf83.zip |
EDAC, fsl_ddr: Add support for little endian
Get endianness from device tree. Both big endian and little endian are
supported. Default to big endian for backwards compatibility to MPC85xx.
Signed-off-by: York Sun <york.sun@nxp.com>
Acked-by: Rob Herring <robh+dt@kernel.org>
Cc: devicetree@vger.kernel.org
Cc: linux-edac <linux-edac@vger.kernel.org>
Cc: morbidrsa@gmail.com
Cc: oss@buserror.net
Cc: stuart.yoder@nxp.com
Link: http://lkml.kernel.org/r/1470779760-16483-7-git-send-email-york.sun@nxp.com
Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'Documentation/devicetree/bindings/powerpc')
-rw-r--r-- | Documentation/devicetree/bindings/powerpc/fsl/mem-ctrlr.txt | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/Documentation/devicetree/bindings/powerpc/fsl/mem-ctrlr.txt b/Documentation/devicetree/bindings/powerpc/fsl/mem-ctrlr.txt deleted file mode 100644 index f87856faf1ab..000000000000 --- a/Documentation/devicetree/bindings/powerpc/fsl/mem-ctrlr.txt +++ /dev/null @@ -1,27 +0,0 @@ -Freescale DDR memory controller - -Properties: - -- compatible : Should include "fsl,chip-memory-controller" where - chip is the processor (bsc9132, mpc8572 etc.), or - "fsl,qoriq-memory-controller". -- reg : Address and size of DDR controller registers -- interrupts : Error interrupt of DDR controller - -Example 1: - - memory-controller@2000 { - compatible = "fsl,bsc9132-memory-controller"; - reg = <0x2000 0x1000>; - interrupts = <16 2 1 8>; - }; - - -Example 2: - - ddr1: memory-controller@8000 { - compatible = "fsl,qoriq-memory-controller-v4.7", - "fsl,qoriq-memory-controller"; - reg = <0x8000 0x1000>; - interrupts = <16 2 1 23>; - }; |