From f72eeb2d227702817d38b44bec8ee988f30f1fb3 Mon Sep 17 00:00:00 2001 From: David Hu Date: Mon, 18 Nov 2024 18:08:52 +0000 Subject: [PATCH] fix(rd1ae): fix rd1-ae device tree Fix issues in RD1-AE flattened device tree source - Update GIC GICR register region size to 0x40_0000. GICR region size = 16 (RDcount) * 64KB frame size * 4 (with GIC v4.1) - Update cpu_on function ID in psci node. Use SMC64 version function ID 0xc4000003 instead. Although this property doesn't actually take effect, align its value with cpu_suspend selection to avoid any confusion. Change-Id: Ib0840db45d32f0c8f1eb7dc74dc7d9b4ca6de0c3 Signed-off-by: David Hu --- fdts/rd1ae.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fdts/rd1ae.dts b/fdts/rd1ae.dts index 3060b5a72..08f771d20 100644 --- a/fdts/rd1ae.dts +++ b/fdts/rd1ae.dts @@ -258,7 +258,7 @@ gic: interrupt-controller@30000000 { compatible = "arm,gic-v3"; reg = <0x0 0x30000000 0 0x10000>, // GICD - <0x0 0x301c0000 0 0x8000000>; // GICR + <0x0 0x301c0000 0 0x400000>; // GICR #interrupt-cells = <3>; #address-cells = <2>; #size-cells = <2>; @@ -410,7 +410,7 @@ method = "smc"; cpu_suspend = <0xc4000001>; cpu_off = <0x84000002>; - cpu_on = <0x84000003>; + cpu_on = <0xc4000003>; }; };