Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

boards: arm: Add RTC clock source for 96b_aerocore2 and az3166_iotdevkit #66397

Merged
merged 2 commits into from
Dec 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 10 additions & 0 deletions boards/arm/96b_aerocore2/96b_aerocore2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@

};

&clk_lsi {
status = "okay";
};

&clk_hse {
clock-frequency = <DT_FREQ_M(24)>;
status = "okay";
Expand Down Expand Up @@ -180,6 +184,12 @@ zephyr_udc0: &usbotg_fs {
status = "okay";
};

&rtc {
clocks = <&rcc STM32_CLOCK_BUS_APB1 0x10000000>,
<&rcc STM32_SRC_LSI RTC_SEL(2)>;
status = "okay";
};

&rng {
status = "okay";
};
Expand Down
6 changes: 6 additions & 0 deletions boards/arm/az3166_iotdevkit/az3166_iotdevkit.dts
Original file line number Diff line number Diff line change
Expand Up @@ -205,3 +205,9 @@
pinctrl-names = "default";
};
};

&rtc {
clocks = <&rcc STM32_CLOCK_BUS_APB1 0x10000000>,
<&rcc STM32_SRC_LSI RTC_SEL(2)>;
status = "okay";
};