arm64: dts: salvator-x: Add current sense amplifiers
authorJacopo Mondi <jacopo+renesas@jmondi.org>
Tue, 2 May 2017 18:46:13 +0000 (20:46 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 22 May 2017 12:54:40 +0000 (14:54 +0200)
Add device nodes for two Maxim max961x current sense amplifiers
sensing VDD_08 and DVFS_08 lines.

Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
[geert: r8a7796-salvator-x.dts => salvator-x.dtsi]
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm64/boot/dts/renesas/salvator-x.dtsi

index 47a482f20c9d511f47006ef333ec5cd7896c3d13..d5eb022d247cad6eaecbdd6bd4f544624857763d 100644 (file)
        };
 };
 
+&i2c4 {
+       status = "okay";
+
+       csa_vdd: adc@7c {
+               compatible = "maxim,max9611";
+               reg = <0x7c>;
+
+               shunt-resistor-micro-ohms = <5000>;
+       };
+
+       csa_dvfs: adc@7f {
+               compatible = "maxim,max9611";
+               reg = <0x7f>;
+
+               shunt-resistor-micro-ohms = <5000>;
+       };
+};
+
 &i2c_dvfs {
        status = "okay";
 };