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:
parent
8e32b5ee0a
commit
862cd57a2a
2 changed files with 7 additions and 7 deletions
|
@ -142,13 +142,6 @@
|
|||
|
||||
#include "w1.dtsi"
|
||||
};
|
||||
|
||||
dht22 {
|
||||
compatible = "aosong,dht";
|
||||
status = "okay";
|
||||
dio-gpios = <&test_gpio 0 0>;
|
||||
/* dht22; */
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -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; */
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue