diff options
author | Jacopo Mondi <[email protected]> | 2017-05-02 20:46:13 +0200 |
---|---|---|
committer | Simon Horman <[email protected]> | 2017-05-22 14:54:40 +0200 |
commit | c3dc4604131940908b922e3b3c36c3ea3ee4df55 (patch) | |
tree | bf0385c6af3d8c0a02802d22c1d8f20665e2b2b1 | |
parent | 253ed045a34d16d9f8305e18069a8843925046a5 (diff) |
arm64: dts: salvator-x: Add current sense amplifiers
Add device nodes for two Maxim max961x current sense amplifiers
sensing VDD_08 and DVFS_08 lines.
Signed-off-by: Jacopo Mondi <[email protected]>
[geert: r8a7796-salvator-x.dts => salvator-x.dtsi]
Signed-off-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Simon Horman <[email protected]>
-rw-r--r-- | arch/arm64/boot/dts/renesas/salvator-x.dtsi | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/renesas/salvator-x.dtsi b/arch/arm64/boot/dts/renesas/salvator-x.dtsi index 47a482f20c9d..d5eb022d247c 100644 --- a/arch/arm64/boot/dts/renesas/salvator-x.dtsi +++ b/arch/arm64/boot/dts/renesas/salvator-x.dtsi @@ -283,6 +283,24 @@ }; }; +&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"; }; |