boards: rd_rw612_bga: Enable counters
Enable CTimer0 and MRT0 channel 0 by default on the board, and add more of the device instances in the counter api test overlay. Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
This commit is contained in:
parent
a65ae89b9e
commit
557e5969f3
4 changed files with 46 additions and 0 deletions
|
@ -51,6 +51,10 @@ Supported Features
|
||||||
+-----------+------------+-----------------------------------+
|
+-----------+------------+-----------------------------------+
|
||||||
| WWDT | on-chip | watchdog |
|
| WWDT | on-chip | watchdog |
|
||||||
+-----------+------------+-----------------------------------+
|
+-----------+------------+-----------------------------------+
|
||||||
|
| CTIMER | on-chip | counter |
|
||||||
|
+-----------+------------+-----------------------------------+
|
||||||
|
| MRT | on-chip | counter |
|
||||||
|
+-----------+------------+-----------------------------------+
|
||||||
|
|
||||||
|
|
||||||
The default configuration can be found in the defconfig file:
|
The default configuration can be found in the defconfig file:
|
||||||
|
|
|
@ -128,3 +128,11 @@ arduino_i2c: &flexcomm2 {
|
||||||
&dma0 {
|
&dma0 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&mrt0_channel0 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&ctimer0 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
|
@ -21,3 +21,4 @@ supported:
|
||||||
- i2c
|
- i2c
|
||||||
- entropy
|
- entropy
|
||||||
- watchdog
|
- watchdog
|
||||||
|
- counter
|
||||||
|
|
|
@ -0,0 +1,33 @@
|
||||||
|
/*
|
||||||
|
* Copyright 2023 NXP
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
&ctimer1 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&ctimer2 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&ctimer3 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&mrt0_channel1 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&mrt0_channel3 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&mrt1_channel2 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&mrt1_channel3 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
Loading…
Add table
Add a link
Reference in a new issue