Skip to content

Commit 1ca0fb4

Browse files
finikorgjhedberg
authored andcommitted
boards: ehl_crb: Add watchdog support
Add watchdog support to ELkhart Lake board basically copying configuration from Raptor Lake. Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
1 parent a534169 commit 1ca0fb4

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

boards/x86/ehl_crb/ehl_crb.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
};
2424

2525
aliases {
26+
watchdog0 = &tco_wdt;
2627
rtc = &rtc;
2728
};
2829
};

boards/x86/ehl_crb/ehl_crb.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ supported:
1010
- gpio
1111
- smbus
1212
- rtc
13+
- watchdog
1314
testing:
1415
ignore_tags:
1516
- net

dts/x86/intel/elkhart_lake.dtsi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -689,6 +689,13 @@
689689
status = "okay";
690690
};
691691

692+
tco_wdt: tco_wdt@400 {
693+
compatible = "intel,tco-wdt";
694+
reg = <0x0400 0x20>;
695+
696+
status = "disabled";
697+
};
698+
692699
rtc: counter: rtc@70 {
693700
compatible = "motorola,mc146818";
694701
reg = <0x70 0x0D 0x71 0x0D>;

0 commit comments

Comments
 (0)