[Patch v4 9/9] arm64: Update device tree for Layerscape SoCs

york sun york.sun at nxp.com
Tue Aug 23 14:37:35 PDT 2016


+Shawn Guo

On 08/09/2016 03:00 PM, York Sun wrote:
> Add DDR memory controller nodes to enable EDAC driver.
>
> Signed-off-by: York Sun <york.sun at nxp.com>
>
> ---
> Change log
>   v4: no change
>   v3: no change
>   v2: no change
>
>  arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi |  7 +++++++
>  arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi | 14 ++++++++++++++
>  2 files changed, 21 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
> index de0323b..cb33f23 100644
> --- a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
> +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
> @@ -196,6 +196,13 @@
>  			bus-width = <4>;
>  		};
>
> +		ddr: memory-controller at 1080000 {
> +			compatible = "fsl,qoriq-memory-controller";
> +			reg = <0x0 0x1080000 0x0 0x1000>;
> +			interrupts = <0 144 0x4>;
> +			big-endian;
> +		};
> +
>  		dspi0: dspi at 2100000 {
>  			compatible = "fsl,ls1043a-dspi", "fsl,ls1021a-v1.0-dspi";
>  			#address-cells = <1>;
> diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi
> index 3187c82..3221e5c 100644
> --- a/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi
> +++ b/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi
> @@ -689,4 +689,18 @@
>  			interrupts = <0 12 4>;
>  		};
>  	};
> +
> +	ddr1: memory-controller at 1080000 {
> +		compatible = "fsl,qoriq-memory-controller";
> +		reg = <0x0 0x1080000 0x0 0x1000>;
> +		interrupts = <0 17 0x4>;
> +		little-endian;
> +	};
> +
> +	ddr2: memory-controller at 1090000 {
> +		compatible = "fsl,qoriq-memory-controller";
> +		reg = <0x0 0x1090000 0x0 0x1000>;
> +		interrupts = <0 18 0x4>;
> +		little-endian;
> +	};
>  };
>




More information about the linux-arm-kernel mailing list