tests: drivers: Move the DHT22 sensor to gpio.dtsi

Move the DHT22 GPIO sensor to the gpio.dtsi overlay file.

Signed-off-by: Franciszek Zdobylak <fzdobylak@antmicro.com>
This commit is contained in:
Franciszek Zdobylak 2023-09-04 12:46:38 +02:00 committed by Carles Cufí
commit 862cd57a2a
2 changed files with 7 additions and 7 deletions

View file

@ -142,13 +142,6 @@
#include "w1.dtsi"
};
dht22 {
compatible = "aosong,dht";
status = "okay";
dio-gpios = <&test_gpio 0 0>;
/* dht22; */
};
};
};

View file

@ -10,3 +10,10 @@ test_gpio_sm351lt: sm351lt0 {
compatible = "honeywell,sm351lt";
gpios = <&test_gpio 0 0>;
};
test_gpio_dht22: dht22 {
compatible = "aosong,dht";
status = "okay";
dio-gpios = <&test_gpio 0 0>;
/* dht22; */
};