summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2025-08-13 23:26:59 +0200
committerMarek Vasut <[email protected]>2025-08-17 14:41:23 +0200
commit1df2880e9512f4760f615668e5d06aa5f44b778a (patch)
tree6024b2dc1ca7b63cd079ea2f87ae9a829fb9b675 /board
parent74bc80190c48dce43a59cbae1975ccf10f671bc2 (diff)
arm64: dts: renesas: r8a779g3: Set VDDQ18_25_AVB voltage on Retronix R-Car V4H Sparrow Hawk EVTB1
The Retronix R-Car V4H Sparrow Hawk EVTB1 uses 1V8 IO voltage supply for VDDQ18_25_AVB power rail. Update the AVB0 pinmux to reflect the change in IO voltage. Since the VDDQ18_25_AVB power rail is shared, all four AVB0, AVB1, AVB2, TSN0 PFC/GPIO POC[7..4] registers have to be configured the same way. Correct the voltage for EVTA1 boards accordingly by patching the U-Boot control DT in SPL. Signed-off-by: Marek Vasut <[email protected]>
Diffstat (limited to 'board')
-rw-r--r--board/renesas/sparrowhawk/sparrowhawk.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/board/renesas/sparrowhawk/sparrowhawk.c b/board/renesas/sparrowhawk/sparrowhawk.c
index 1fd7a63d2fa..58de7f25cbd 100644
--- a/board/renesas/sparrowhawk/sparrowhawk.c
+++ b/board/renesas/sparrowhawk/sparrowhawk.c
@@ -231,6 +231,18 @@ void spl_perform_fixups(struct spl_image_info *spl_image)
printf("Failed to disable UHS pins in MicroSD node: %d\n", err);
return;
}
+
+ offs = fdt_path_offset(blob, "/soc/pinctrl@e6050000/avb0/pins-vddq18-25-avb");
+ if (offs < 0) {
+ printf("Failed to locate AVB pinctrl node: %d\n", offs);
+ return;
+ }
+
+ err = fdt_setprop_u32(blob, offs, "power-source", 2500);
+ if (err < 0) {
+ printf("Failed to set AVB IO voltage: %d\n", err);
+ return;
+ }
}
#endif