tests: drivers: w1: Enable arduino_i2c and arduino_serial explicitly

This test uses the arduino_i2c and arduino_serial DT nodes, so it
should enable them explicitly, not assume they will be enabled by
default for a given board.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
This commit is contained in:
Andrzej Głąbek 2023-01-12 15:38:41 +01:00 committed by Carles Cufí
commit 96d0773fcf
3 changed files with 6 additions and 0 deletions

View file

@ -5,6 +5,8 @@
*/ */
&arduino_i2c { &arduino_i2c {
status = "okay";
w1_0: w1@18 { w1_0: w1@18 {
compatible = "maxim,ds2484"; compatible = "maxim,ds2484";
reg = <0x18>; reg = <0x18>;

View file

@ -1,4 +1,6 @@
&arduino_i2c { &arduino_i2c {
status = "okay";
w1_0: w1@40 { w1_0: w1@40 {
compatible = "maxim,ds2485"; compatible = "maxim,ds2485";
reg = <0x40>; reg = <0x40>;

View file

@ -5,6 +5,8 @@
*/ */
&arduino_serial { &arduino_serial {
status = "okay";
w1_0: w1 { w1_0: w1 {
compatible = "zephyr,w1-serial"; compatible = "zephyr,w1-serial";
}; };