summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts
diff options
context:
space:
mode:
authorPotin Lai <potin.lai@quantatw.com>2022-02-15 19:31:49 +0300
committerJoel Stanley <joel@jms.id.au>2022-02-16 08:07:24 +0300
commit98af9ffd17ed818e9c68365981de9b95597dd5bd (patch)
tree544501cba669eb425368b787cc6867cc2b17e56b /arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts
parent602c441c63919fab1065afa68f0fb0532c67f759 (diff)
downloadlinux-98af9ffd17ed818e9c68365981de9b95597dd5bd.tar.xz
ARM: dts: aspeed: bletchley: Add INA230 sensor on each sled
Add INA230 node on each sled based on EVT HW. Signed-off-by: Potin Lai <potin.lai@quantatw.com> Reviewed-by: Joel Stanley <joel@jms.id.au> Reviewed-by: Patrick Williams <patrick@stwcx.xyz> Link: https://lore.kernel.org/r/20220215163151.32252-9-potin.lai@quantatw.com Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts')
-rw-r--r--arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts36
1 files changed, 30 insertions, 6 deletions
diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts
index c9c3ff39bee5..3ab48420b712 100644
--- a/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts
@@ -248,7 +248,11 @@
&i2c0 {
status = "okay";
- /* TODO: Add ADC INA230 */
+ ina230@45 {
+ compatible = "ti,ina230";
+ reg = <0x45>;
+ shunt-resistor = <2000>;
+ };
mp5023@40 {
compatible = "mps,mp5023";
@@ -314,7 +318,11 @@
&i2c1 {
status = "okay";
- /* TODO: Add ADC INA230 */
+ ina230@45 {
+ compatible = "ti,ina230";
+ reg = <0x45>;
+ shunt-resistor = <2000>;
+ };
mp5023@40 {
compatible = "mps,mp5023";
@@ -384,7 +392,11 @@
&i2c2 {
status = "okay";
- /* TODO: Add ADC INA230 */
+ ina230@45 {
+ compatible = "ti,ina230";
+ reg = <0x45>;
+ shunt-resistor = <2000>;
+ };
mp5023@40 {
compatible = "mps,mp5023";
@@ -450,7 +462,11 @@
&i2c3 {
status = "okay";
- /* TODO: Add ADC INA230 */
+ ina230@45 {
+ compatible = "ti,ina230";
+ reg = <0x45>;
+ shunt-resistor = <2000>;
+ };
mp5023@40 {
compatible = "mps,mp5023";
@@ -516,7 +532,11 @@
&i2c4 {
status = "okay";
- /* TODO: Add ADC INA230 */
+ ina230@45 {
+ compatible = "ti,ina230";
+ reg = <0x45>;
+ shunt-resistor = <2000>;
+ };
mp5023@40 {
compatible = "mps,mp5023";
@@ -582,7 +602,11 @@
&i2c5 {
status = "okay";
- /* TODO: Add ADC INA230 */
+ ina230@45 {
+ compatible = "ti,ina230";
+ reg = <0x45>;
+ shunt-resistor = <2000>;
+ };
mp5023@40 {
compatible = "mps,mp5023";