From 590d41aca11d083a58511bb85e4dc10327bf0de0 Mon Sep 17 00:00:00 2001 From: Nick Xie Date: Mon, 5 Aug 2019 15:33:39 +0800 Subject: [PATCH] arm64: dts: VIM2: add memory-region for logo Signed-off-by: Nick Xie --- arch/arm64/boot/dts/amlogic/kvim2_linux.dts | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/amlogic/kvim2_linux.dts b/arch/arm64/boot/dts/amlogic/kvim2_linux.dts index c8bceb6..c857190 100644 --- a/arch/arm64/boot/dts/amlogic/kvim2_linux.dts +++ b/arch/arm64/boot/dts/amlogic/kvim2_linux.dts @@ -74,6 +74,15 @@ reg = <0x0 0x05300000 0x0 0x2000000>; no-map; }; + + logo_reserved:linux,meson-fb { + compatible = "shared-dma-pool"; + reusable; + size = <0x0 0x800000>; + alignment = <0x0 0x400000>; + alloc-ranges = <0x0 0x7f800000 0x0 0x800000>; + }; + ion_reserved:linux,ion-dev { compatible = "shared-dma-pool"; reusable; @@ -724,6 +733,7 @@ meson-fb { compatible = "amlogic, meson-gxm"; + memory-region = <&logo_reserved>; dev_name = "meson-fb"; status = "okay"; interrupts = <0 3 1 @@ -737,7 +747,7 @@ display_size_default = <1920 1080 1920 3240 32>; /*1920*1080*4*3 = 0x17BB000*/ mem_alloc = <1>; - logo_addr_2g = "0x7dc00000"; + logo_addr_2g = "0x7f800000"; logo_addr_3g = "0xbdc00000"; }; ge2d { -- 2.7.4