Skip to content

Commit

Permalink
kernel: enable RTC chip pcf85063 for Mars-CM
Browse files Browse the repository at this point in the history
  • Loading branch information
carbonfix committed Oct 31, 2023
1 parent ae5b7d6 commit 3a26f5d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions linux/arch/riscv/boot/dts/starfive/jh7110-milkv-mars-cm.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
Expand Down
1 change: 1 addition & 0 deletions linux/arch/riscv/configs/starfive_visionfive2_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3a26f5d

Please sign in to comment.