1 From 97b563d9c0cf09897c1e7b793ef0fe677c66269a Mon Sep 17 00:00:00 2001
2 From: Nipun Gupta <nipun.gupta@nxp.com>
3 Date: Wed, 30 Jan 2019 19:18:13 +0530
4 Subject: [PATCH] sdk: arm64: dts: reduce usdpaa memory to 4K for LS1046/43
6 This patch reducing the USDPAA reseved memory to 4K.
7 In case USDPAA is to be used, 256MB needs to be reserved in the DTS file.
9 Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com>
11 arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb-usdpaa.dts | 9 +++++++--
12 arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb-usdpaa.dts | 9 +++++++--
13 2 files changed, 14 insertions(+), 4 deletions(-)
15 --- a/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb-usdpaa.dts
16 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb-usdpaa.dts
21 + /* For legacy usdpaa based use-cases, update the size and
22 + alignment parameters. e.g. to allocate 256 MB memory:
23 + size = <0 0x10000000>;
24 + alignment = <0 0x10000000>;
26 usdpaa_mem: usdpaa_mem {
27 compatible = "fsl,usdpaa-mem";
28 alloc-ranges = <0 0 0x10000 0>;
29 - size = <0 0x10000000>;
30 - alignment = <0 0x10000000>;
32 + alignment = <0 0x1000>;
36 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb-usdpaa.dts
37 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb-usdpaa.dts
42 + /* For legacy usdpaa based use-cases, update the size and
43 + alignment parameters. e.g. to allocate 256 MB memory:
44 + size = <0 0x10000000>;
45 + alignment = <0 0x10000000>;
47 usdpaa_mem: usdpaa_mem {
48 compatible = "fsl,usdpaa-mem";
49 alloc-ranges = <0 0 0x10000 0>;
50 - size = <0 0x10000000>;
51 - alignment = <0 0x10000000>;
53 + alignment = <0 0x1000>;