boards: arm: mimxrt1024_evk: enable watchdog
Enable the on-chip watchdog of the NXP i.MX RT1024 Evaluation Kit. Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
This commit is contained in:
parent
aa4b75b58c
commit
7cc24c370a
3 changed files with 8 additions and 0 deletions
|
@ -89,6 +89,8 @@ features:
|
||||||
+-----------+------------+-------------------------------------+
|
+-----------+------------+-------------------------------------+
|
||||||
| CAN | on-chip | can |
|
| CAN | on-chip | can |
|
||||||
+-----------+------------+-------------------------------------+
|
+-----------+------------+-------------------------------------+
|
||||||
|
| WATCHDOG | on-chip | watchdog |
|
||||||
|
+-----------+------------+-------------------------------------+
|
||||||
|
|
||||||
The default configuration can be found in the defconfig file:
|
The default configuration can be found in the defconfig file:
|
||||||
``boards/arm/mimxrt1024_evk/mimxrt1024_evk_defconfig``
|
``boards/arm/mimxrt1024_evk/mimxrt1024_evk_defconfig``
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
aliases {
|
aliases {
|
||||||
led0 = &green_led;
|
led0 = &green_led;
|
||||||
sw0 = &user_button;
|
sw0 = &user_button;
|
||||||
|
watchdog0 = &wdog0;
|
||||||
};
|
};
|
||||||
|
|
||||||
chosen {
|
chosen {
|
||||||
|
@ -98,6 +99,10 @@
|
||||||
bus-speed = <125000>;
|
bus-speed = <125000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&wdog0 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
&lpi2c4 {
|
&lpi2c4 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
|
|
|
@ -17,3 +17,4 @@ flash: 4096
|
||||||
supported:
|
supported:
|
||||||
- netif:eth
|
- netif:eth
|
||||||
- can
|
- can
|
||||||
|
- watchdog
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue