Skip to content

Commit

Permalink
recomputer:Replace rtc with pcf8565
Browse files Browse the repository at this point in the history
  • Loading branch information
is-qian committed Mar 26, 2024
1 parent bf8d4b6 commit 9129152
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions overlays/rpi/reComputer-overlay.dts
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@
#address-cells = <1>;
#size-cells = <0>;

pcf85063@51 {
compatible = "nxp,pcf85063";
pcf8563w@51 {
compatible = "nxp,pcf8563w";
reg = <0x51>;
reset-source;
/* 0 = 4096Hz, 1 = 64Hz, 2 = 1Hz, 3 = 1/60Hz */
Expand Down
2 changes: 2 additions & 0 deletions scripts/reTerminal.sh
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,7 @@ function install {
# and we insmod a new driver for ch342f
blacklist_driver cdc_acm
elif [ "$device" = "reComputer" ]; then
install_modules rtc-pcf8563w
install_overlay_reComputer
fi
# display
Expand Down Expand Up @@ -525,6 +526,7 @@ function uninstall {
uninstall_overlay_DM
unblacklist_driver cdc_acm
elif [ "$device" = "reComputer" ]; then
uninstall_modules rtc-pcf8563w
uninstall_overlay_reComputer
fi
}
Expand Down

0 comments on commit 9129152

Please sign in to comment.