[PATCH linux dev-4.10] msn: add adc to msn dts.

Mykola Kostenok c_mykolak at mellanox.com
Fri Jul 7 19:12:41 AEST 2017


Add adc for Mellanox msn platform to dts.

Signed-off-by: Mykola Kostenok <c_mykolak at mellanox.com>
---
 arch/arm/boot/dts/aspeed-bmc-mellanox-msn.dts | 45 +++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

diff --git a/arch/arm/boot/dts/aspeed-bmc-mellanox-msn.dts b/arch/arm/boot/dts/aspeed-bmc-mellanox-msn.dts
index 0774959b1222..462a638e66c6 100644
--- a/arch/arm/boot/dts/aspeed-bmc-mellanox-msn.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-mellanox-msn.dts
@@ -139,3 +139,48 @@
 	status = "okay";
 };
 
+&adc {
+	status = "okay";
+	#address-cells = <1>;
+	#size-cells = <0>;
+	adc1 {
+		channel = <0>;
+		min = <677>;
+		max = <828>;
+	};
+	adc2 {
+		channel = <2>;
+		min = <684>;
+		max = <836>;
+	};
+	adc3 {
+		channel = <3>;
+		min = <684>;
+		max = <836>;
+	};
+	adc4 {
+		channel = <4>;
+		min = <676>;
+		max = <826>;
+	};
+	adc5 {
+		channel = <10>;
+		min = <691>;
+		max = <845>;
+	};
+	adc6 {
+		channel = <11>;
+		min = <640>;
+		max = <782>;
+	};
+	adc7 {
+		channel = <12>;
+		min = <615>;
+		max = <751>;
+	};
+	adc8 {
+		channel = <13>;
+		min = <587>;
+		max = <719>;
+	};
+};
-- 
2.11.0



More information about the openbmc mailing list