[PATCH v2 6/6] ARM: dts: aspeed: Harma: add adc128d818
Peter Yin
peteryin.openbmc at gmail.com
Thu Nov 21 13:53:23 AEDT 2024
Add the ADC128D818 to bus 22 and bus 23 for voltage monitoring.
Signed-off-by: Peter Yin <peteryin.openbmc at gmail.com>
---
.../boot/dts/aspeed/aspeed-bmc-facebook-harma.dts | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts
index 58eba5fb6262..947622ead349 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts
@@ -529,6 +529,19 @@ eeprom at 54 {
compatible = "atmel,24c64";
reg = <0x54>;
};
+
+ adc at 1d {
+ compatible = "ti,adc128d818";
+ reg = <0x1d>;
+ ti,mode = /bits/ 8 <1>;
+ };
+
+ adc at 1f {
+ compatible = "ti,adc128d818";
+ reg = <0x1f>;
+ ti,mode = /bits/ 8 <1>;
+ };
+
};
imux30: i2c at 2 {
#address-cells = <1>;
--
2.25.1
More information about the Linux-aspeed
mailing list