diff --git a/linux/arch/riscv/boot/dts/starfive/jh7110-milkv-mars-cm.dtsi b/linux/arch/riscv/boot/dts/starfive/jh7110-milkv-mars-cm.dtsi index 45cfb9efe..4cff53099 100755 --- a/linux/arch/riscv/boot/dts/starfive/jh7110-milkv-mars-cm.dtsi +++ b/linux/arch/riscv/boot/dts/starfive/jh7110-milkv-mars-cm.dtsi @@ -454,6 +454,12 @@ pagesize = <16>; }; + pcf85063: pcf85063@51 { + compatible = "nxp,pcf85063a"; + reg = <0x51>; + status = "okay"; + }; + pmic: axp15060_reg@36 { compatible = "stf,axp15060-regulator"; reg = <0x36>; diff --git a/linux/arch/riscv/configs/starfive_visionfive2_defconfig b/linux/arch/riscv/configs/starfive_visionfive2_defconfig index d2613482f..b76563a28 100644 --- a/linux/arch/riscv/configs/starfive_visionfive2_defconfig +++ b/linux/arch/riscv/configs/starfive_visionfive2_defconfig @@ -323,6 +323,7 @@ CONFIG_LEDS_GPIO=y CONFIG_LEDS_TRIGGER_HEARTBEAT=y CONFIG_LEDS_TRIGGER_GPIO=y CONFIG_RTC_CLASS=y +CONFIG_RTC_DRV_PCF85063=y CONFIG_RTC_DRV_STARFIVE=y CONFIG_RTC_DRV_GOLDFISH=y CONFIG_DMADEVICES=y