powerpc: Add INA220 to device tree for supported boards

Including: P3041DS P5020DS P5040DS B4QDS

Signed-off-by: Jia Hongtao <hongtao.jia@freescale.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
This commit is contained in:
Hongtao Jia 2014-11-05 14:59:53 +08:00 committed by Scott Wood
parent 3b6b17900b
commit 94701fcb2f
4 changed files with 72 additions and 0 deletions

View File

@ -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>;

View File

@ -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>;

View File

@ -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>;

View File

@ -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>;