mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 00:43:12 +00:00
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 <[email protected]> Acked-by: Rob Herring <[email protected]> Cc: [email protected] Cc: linux-edac <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Borislav Petkov <[email protected]>
30 lines
738 B
Plaintext
30 lines
738 B
Plaintext
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
|
|
- little-endian : Specifies little-endian access to registers
|
|
If omitted, big-endian will be used.
|
|
|
|
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>;
|
|
};
|