-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: drivers: build_all: watchdog: Add i2c-devices build test
Add build test for following device. - nordic,npm6001-wdt Signed-off-by: TOKITA Hiroshi <[email protected]>
- Loading branch information
Showing
2 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/* | ||
* Copyright (c) 2024 TOKITA Hiroshi | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/ { | ||
test { | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
|
||
test_gpio: gpio@deadbeef { | ||
compatible = "vnd,gpio"; | ||
gpio-controller; | ||
reg = <0xdeadbeef 0x1000>; | ||
#gpio-cells = <0x2>; | ||
status = "okay"; | ||
}; | ||
|
||
test_i2c: i2c@11112222 { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
compatible = "vnd,i2c"; | ||
reg = <0x11112222 0x1000>; | ||
status = "okay"; | ||
clock-frequency = <100000>; | ||
|
||
npm6001_ek_pmic: pmic@0 { | ||
compatible = "nordic,npm6001"; | ||
reg = <0x0>; | ||
|
||
npm6001_ek_wdt: watchdog { | ||
compatible = "nordic,npm6001-wdt"; | ||
}; | ||
}; | ||
}; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters