fix(rcar3): fix RPC-IF device node name

According to the Generic Names Recommendation in the Devicetree
Specification Release v0.3, and the DT Bindings for the Renesas Reduced
Pin Count Interface, the node name for a Renesas RPC-IF device should be
"spi".  The node name matters, as the node is enabled by passing a DT
fragment from TF-A to subsequent software.

Fix this by renaming the device node in the passed DT fragment from
"rpc" to "spi".

Fixes: 12c75c8886 ("feat(plat/rcar3): emit RPC status to DT fragment if RPC unlocked")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Change-Id: Idb43353947607611331abc344f8c8ae932a20408
This commit is contained in:
Geert Uytterhoeven 2022-03-23 14:21:31 +01:00 committed by Sandrine Bailleux
parent aa9d315009
commit 08ae2471b1

View file

@ -574,7 +574,7 @@ static void bl2_add_rpc_node(void)
goto err;
}
node = ret = fdt_add_subnode(fdt, node, "rpc@ee200000");
node = ret = fdt_add_subnode(fdt, node, "spi@ee200000");
if (ret < 0) {
goto err;
}