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 <marek.vasut+renesas@mailbox.org>
This commit is contained in:
Marek Vasut 2025-08-13 23:26:59 +02:00
parent 74bc80190c
commit 1df2880e95
2 changed files with 19 additions and 0 deletions

View File

@ -7,6 +7,13 @@
#include "r8a779g0-u-boot.dtsi" #include "r8a779g0-u-boot.dtsi"
&avb0_pins {
pins-vddq18-25-avb {
pins = "PIN_VDDQ_AVB0", "PIN_VDDQ_AVB1", "PIN_VDDQ_AVB2", "PIN_VDDQ_TSN0";
power-source = <1800>;
};
};
/* Page 31 / FAN */ /* Page 31 / FAN */
&gpio1 { &gpio1 {
pwm-fan-hog { pwm-fan-hog {

View File

@ -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); printf("Failed to disable UHS pins in MicroSD node: %d\n", err);
return; 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 #endif