uboot-rockchip: add dummy regulator for saradc

Fixes: 21cede76d1 ("uboot-rockchip: add generic RK3588 uboot")
This commit is contained in:
Liangbin Lian 2025-02-06 17:07:16 +08:00
parent b10a7c661a
commit bb98bf8ff7
2 changed files with 11 additions and 0 deletions

View File

@ -30,6 +30,7 @@ CONFIG_CMD_GPT=y
CONFIG_CMD_I2C=y
CONFIG_CMD_MMC=y
# CONFIG_CMD_SETEXPR is not set
CONFIG_CMD_REGULATOR=y
# CONFIG_SPL_DOS_PARTITION is not set
CONFIG_SPL_OF_CONTROL=y
CONFIG_OF_LIVE=y

View File

@ -19,6 +19,15 @@
chosen {
stdout-path = "serial2:1500000n8";
};
dummy_1v8: vcc-dummy-1v8-regulator {
compatible = "regulator-fixed";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-name = "dummy_1v8";
};
};
&gmac1 {
@ -56,6 +65,7 @@
};
&saradc {
vref-supply = <&dummy_1v8>;
status = "okay";
};