ARM: dts: aspeed: tacoma: Add iio-hwmon nodes for IIO devices
authorEddie James <eajames@linux.ibm.com>
Mon, 30 Mar 2020 21:14:30 +0000 (16:14 -0500)
committerJoel Stanley <joel@jms.id.au>
Tue, 5 May 2020 07:07:16 +0000 (16:37 +0930)
Connect the BMP280 and DPS310 to the hwmon subsystem with iio-hwmon
nodes.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts

index b7d8b27..1526127 100644 (file)
                        linux,code = <7>;
                };
        };
+
+       iio-hwmon-dps310 {
+               compatible = "iio-hwmon";
+               io-channels = <&dps 0>;
+       };
+
+       iio-hwmon-bmp280 {
+               compatible = "iio-hwmon";
+               io-channels = <&bmp 1>;
+       };
 };
 
 &gpio0 {