diff options
author | Yang Chen <[email protected]> | 2023-12-12 15:51:53 +0800 |
---|---|---|
committer | Andrew Jeffery <[email protected]> | 2024-05-01 11:49:18 +0930 |
commit | 331dfa00f4ae8595e86f798951a10c1bbfa67880 (patch) | |
tree | d365913be5b96f3cf8c69bb35402fb5f62d9bd3e | |
parent | 8061d80d7a6bd33598d82a4cbcd06dd78c691e7d (diff) |
ARM: dts: aspeed: minerva: Enable power monitor device
Enable power monitor device ina230 and ltc2945 on the i2c bus 0
Signed-off-by: Yang Chen <[email protected]>
Reviewed-by: Joel Stanley <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joel Stanley <[email protected]>
Signed-off-by: Andrew Jeffery <[email protected]>
-rw-r--r-- | arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts index ad77057f921c..ee9691647e4a 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts @@ -86,6 +86,28 @@ &i2c0 { status = "okay"; + + power-monitor@40 { + compatible = "ti,ina230"; + reg = <0x40>; + shunt-resistor = <1000>; + }; + + power-monitor@41 { + compatible = "ti,ina230"; + reg = <0x41>; + shunt-resistor = <1000>; + }; + + power-monitor@67 { + compatible = "adi,ltc2945"; + reg = <0x67>; + }; + + power-monitor@68 { + compatible = "adi,ltc2945"; + reg = <0x68>; + }; }; &i2c1 { |