Skip to content

Commit

Permalink
boards: adi: max32662evkit: Enable counter RTC
Browse files Browse the repository at this point in the history
This commit enables counter RTC for MAX32662 EVKIT.

Co-authored-by: Okan Sahin <okan.sahin@analog.com>
Signed-off-by: Maureen Helm <maureen.helm@analog.com>
  • Loading branch information
MaureenHelm and oknshn committed Oct 22, 2024
1 parent fd3d090 commit cf473d1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions boards/adi/max32662evkit/max32662evkit.dts
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,13 @@
status = "okay";
};

/*
* ERTCO requires for counter RTC
*/
&clk_ertco {
status = "okay";
};

&gpio0 {
status = "okay";
};
Expand All @@ -120,6 +127,10 @@
status = "okay";
};

&rtc_counter {
status = "okay";
};

&spi0 {
status = "okay";
pinctrl-0 = <&spi0a_copi_p0_3 &spi0a_cito_p0_2 &spi0a_sck_p0_4 &spi0a_ts0_p0_5>;
Expand Down
1 change: 1 addition & 0 deletions boards/adi/max32662evkit/max32662evkit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ supported:
- spi
- adc
- counter
- rtc_counter
- pwm
ram: 80
flash: 256

0 comments on commit cf473d1

Please sign in to comment.