1 From 26e95c876831692f28894041c5a1db5934715939 Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.org>
3 Date: Wed, 18 Dec 2019 10:41:33 +0000
4 Subject: [PATCH] overlays: dht11: Allow multiple instantiation
6 Add addresses to the dht11 and dht11_pins nodes to allow unique names
7 to be generated by assigning to the "reg" property.
9 Signed-off-by: Phil Elwell <phil@raspberrypi.org>
11 arch/arm/boot/dts/overlays/dht11-overlay.dts | 6 ++++--
12 1 file changed, 4 insertions(+), 2 deletions(-)
14 --- a/arch/arm/boot/dts/overlays/dht11-overlay.dts
15 +++ b/arch/arm/boot/dts/overlays/dht11-overlay.dts
20 - dht11_pins: dht11_pins {
21 + dht11_pins: dht11_pins@0 {
23 brcm,function = <0>; // in
24 brcm,pull = <0>; // off
28 gpiopin = <&dht11_pins>,"brcm,pins:0",
30 + <&dht11_pins>, "reg:0",