diff options
author | Peter Yin <peteryin.openbmc@gmail.com> | 2024-08-01 18:01:28 +0200 |
---|---|---|
committer | Joel Stanley <joel@jms.id.au> | 2024-08-22 05:38:11 +0200 |
commit | 7d0597019acb344bdafd8766cd7b24b7f7717387 (patch) | |
tree | 12bf095bf78448ab8c05fbac250fc0fc5fc710f5 /arch/arm | |
parent | ARM: dts: aspeed: harma: Add sgpio name (diff) | |
download | linux-7d0597019acb344bdafd8766cd7b24b7f7717387.tar.xz linux-7d0597019acb344bdafd8766cd7b24b7f7717387.zip |
ARM: dts: aspeed: harma: Add ina238
Add INA238 power monitor for Harma fan board.
Signed-off-by: Peter Yin <peteryin.openbmc@gmail.com>
Link: https://lore.kernel.org/r/20240801160136.1281291-5-peteryin.openbmc@gmail.com
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts | 48 |
1 files changed, 48 insertions, 0 deletions
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 0c4bf165d0b0..7d809f1636d6 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts @@ -198,6 +198,30 @@ #address-cells = <1>; #size-cells = <0>; }; + + power-sensor@40 { + compatible = "ti,ina238"; + reg = <0x40>; + shunt-resistor = <1000>; + }; + + power-sensor@41 { + compatible = "ti,ina238"; + reg = <0x41>; + shunt-resistor = <1000>; + }; + + power-sensor@44 { + compatible = "ti,ina238"; + reg = <0x44>; + shunt-resistor = <1000>; + }; + + power-sensor@45 { + compatible = "ti,ina238"; + reg = <0x45>; + shunt-resistor = <1000>; + }; }; &i2c1 { @@ -224,6 +248,30 @@ #address-cells = <1>; #size-cells = <0>; }; + + power-sensor@40 { + compatible = "ti,ina238"; + reg = <0x40>; + shunt-resistor = <1000>; + }; + + power-sensor@41 { + compatible = "ti,ina238"; + reg = <0x41>; + shunt-resistor = <1000>; + }; + + power-sensor@44 { + compatible = "ti,ina238"; + reg = <0x44>; + shunt-resistor = <1000>; + }; + + power-sensor@45 { + compatible = "ti,ina238"; + reg = <0x45>; + shunt-resistor = <1000>; + }; }; &i2c3 { |