Commit 94701fcb authored by Hongtao Jia's avatar Hongtao Jia Committed by Scott Wood

powerpc: Add INA220 to device tree for supported boards

Including: P3041DS P5020DS P5040DS B4QDS
Signed-off-by: default avatarJia Hongtao <hongtao.jia@freescale.com>
Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
parent 3b6b1790
......@@ -153,6 +153,18 @@ rtc@68 {
};
};
i2c@2 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0x2>;
ina220@40 {
compatible = "ti,ina220";
reg = <0x40>;
shunt-resistor = <1000>;
};
};
i2c@3 {
#address-cells = <1>;
#size-cells = <0>;
......
......@@ -98,6 +98,26 @@ rtc@68 {
reg = <0x68>;
interrupts = <0x1 0x1 0 0>;
};
ina220@40 {
compatible = "ti,ina220";
reg = <0x40>;
shunt-resistor = <1000>;
};
ina220@41 {
compatible = "ti,ina220";
reg = <0x41>;
shunt-resistor = <1000>;
};
ina220@44 {
compatible = "ti,ina220";
reg = <0x44>;
shunt-resistor = <1000>;
};
ina220@45 {
compatible = "ti,ina220";
reg = <0x45>;
shunt-resistor = <1000>;
};
adt7461@4c {
compatible = "adi,adt7461";
reg = <0x4c>;
......
......@@ -98,6 +98,26 @@ rtc@68 {
reg = <0x68>;
interrupts = <0x1 0x1 0 0>;
};
ina220@40 {
compatible = "ti,ina220";
reg = <0x40>;
shunt-resistor = <1000>;
};
ina220@41 {
compatible = "ti,ina220";
reg = <0x41>;
shunt-resistor = <1000>;
};
ina220@44 {
compatible = "ti,ina220";
reg = <0x44>;
shunt-resistor = <1000>;
};
ina220@45 {
compatible = "ti,ina220";
reg = <0x45>;
shunt-resistor = <1000>;
};
adt7461@4c {
compatible = "adi,adt7461";
reg = <0x4c>;
......
......@@ -95,6 +95,26 @@ rtc@68 {
reg = <0x68>;
interrupts = <0x1 0x1 0 0>;
};
ina220@40 {
compatible = "ti,ina220";
reg = <0x40>;
shunt-resistor = <1000>;
};
ina220@41 {
compatible = "ti,ina220";
reg = <0x41>;
shunt-resistor = <1000>;
};
ina220@44 {
compatible = "ti,ina220";
reg = <0x44>;
shunt-resistor = <1000>;
};
ina220@45 {
compatible = "ti,ina220";
reg = <0x45>;
shunt-resistor = <1000>;
};
adt7461@4c {
compatible = "adi,adt7461";
reg = <0x4c>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment