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.

(cherry picked from commit 5368d7d)

Original-Signed-off-by: Anke Xiao <anke.xiao@nxp.com>
GitOrigin-RevId: 5368d7d
Cr-Build-Id: 8739725789595072145
Cr-Build-Url: https://cr-buildbucket.appspot.com/build/8739725789595072145
Copybot-Job-Name: zephyr-main-copybot-downstream
Change-Id: Ida88e0f3f45952290570730df3577e3a0160a915
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5786073
Tested-by: Dawid Niedźwiecki <dawidn@google.com>
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Commit-Queue: Dawid Niedźwiecki <dawidn@google.com>
Reviewed-by: Dawid Niedźwiecki <dawidn@google.com>
  • Loading branch information
ankeXiao authored and Chromeos LUCI committed Aug 14, 2024
1 parent 5eed0b2 commit 8b60ce5
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 8b60ce5

Please sign in to comment.