summaryrefslogtreecommitdiff
path: root/arch/arm/boot
diff options
context:
space:
mode:
authorEddie James <eajames@linux.ibm.com>2020-03-30 16:14:30 -0500
committerJoel Stanley <joel@jms.id.au>2020-05-05 16:37:16 +0930
commitbf6c99f3aeda127efe54b3d2ede2a98a815a90f6 (patch)
treebb3515a494d6126a1182fa147decc505a6470fa8 /arch/arm/boot
parent3208f3a513393aa94c3eaef21c00bbfd003086e1 (diff)
downloadlinux-bf6c99f3aeda127efe54b3d2ede2a98a815a90f6.tar.gz
ARM: dts: aspeed: tacoma: Add iio-hwmon nodes for IIO devices
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>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r--arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts b/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts
index b7d8b27da161..1526127b27af 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts
@@ -142,6 +142,16 @@
linux,code = <7>;
};
};
+
+ iio-hwmon-dps310 {
+ compatible = "iio-hwmon";
+ io-channels = <&dps 0>;
+ };
+
+ iio-hwmon-bmp280 {
+ compatible = "iio-hwmon";
+ io-channels = <&bmp 1>;
+ };
};
&gpio0 {