Skip to content

Commit

Permalink
boards: nxp: frdm_ke17z512: enable RTC driver
Browse files Browse the repository at this point in the history
Enable RTC driver to test 'drivers.counter.basic_api' sample.
Select clock-source to LPO clock.

Signed-off-by: Anke Xiao <anke.xiao@nxp.com>
  • Loading branch information
ankeXiao authored and fabiobaltieri committed Aug 13, 2024
1 parent 20820b4 commit 5368d7d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions boards/nxp/frdm_ke17z512/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ features:
+-----------+------------+-------------------------------------+
| I2C | on-chip | I2C |
+-----------+------------+-------------------------------------+
| RTC | on-chip | counter |
+-----------+------------+-------------------------------------+
| ACMP | on-chip | sensor |
+-----------+------------+-------------------------------------+
| SPI | on-chip | spi |
Expand Down
5 changes: 5 additions & 0 deletions boards/nxp/frdm_ke17z512/frdm_ke17z512.dts
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,11 @@
status = "okay";
};

&rtc {
status = "okay";
clock-source = "LPO";
};

&lpi2c0 {
status = "okay";
pinctrl-0 = <&lpi2c0_default>;
Expand Down
1 change: 1 addition & 0 deletions boards/nxp/frdm_ke17z512/frdm_ke17z512.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ toolchain:
- gnuarmemb
- xtools
supported:
- counter
- gpio
- adc
- uart
Expand Down

0 comments on commit 5368d7d

Please sign in to comment.