Skip to content

Commit 1e7b75d

Browse files
pbalsundarcarlescufi
authored andcommitted
samples: drivers: watchdog: add sample application support
add agilex and agilex5 board support in watchdog sample application Signed-off-by: Balsundar Ponnusamy <[email protected]>
1 parent 5df70f8 commit 1e7b75d

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/*
2+
* Copyright (C) 2023 Intel Corporation
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/ {
8+
aliases {
9+
watchdog0 = &watchdog0;
10+
};
11+
};
12+
13+
&watchdog0 {
14+
interrupt-parent = <&gic>;
15+
interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL
16+
IRQ_DEFAULT_PRIORITY>;
17+
status = "okay";
18+
};
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/*
2+
* Copyright (C) 2023 Intel Corporation
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/ {
8+
aliases {
9+
watchdog0 = &watchdog0;
10+
};
11+
};
12+
13+
&watchdog0 {
14+
interrupt-parent = <&gic>;
15+
interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL
16+
IRQ_DEFAULT_PRIORITY>;
17+
status = "okay";
18+
};

0 commit comments

Comments
 (0)