summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTang Yuantian <yuantian.tang@freescale.com>2013-09-24 02:57:27 (GMT)
committerRivera Jose-B46482 <German.Rivera@freescale.com>2013-10-16 15:11:57 (GMT)
commit1aaacef1990c43aab282458a4fff14c7e5207134 (patch)
tree419f4a4c58abcc8c2c04559b88e51a4d729a642b
parent068b20945b044e6a28af76db7c98ca0cf676d9cd (diff)
downloadlinux-fsl-qoriq-1aaacef1990c43aab282458a4fff14c7e5207134.tar.xz
powerpc/mpc85xx: Add ina220 node support
Add power sensor chip ina220 node in dts to support power monitoring Signed-off-by: Tang Yuantian <Yuantian.Tang@freescale.com> Change-Id: Ie1367ccdb06e625a1d62f5b8f230e9b8b9d8fc0f Reviewed-on: http://git.am.freescale.net:8181/4787 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Hongtao Jia <hongtao.jia@freescale.com> Reviewed-by: Rivera Jose-B46482 <German.Rivera@freescale.com>
-rw-r--r--arch/powerpc/boot/dts/t4240qds.dts44
1 files changed, 44 insertions, 0 deletions
diff --git a/arch/powerpc/boot/dts/t4240qds.dts b/arch/powerpc/boot/dts/t4240qds.dts
index af4e73c..8f77df9 100644
--- a/arch/powerpc/boot/dts/t4240qds.dts
+++ b/arch/powerpc/boot/dts/t4240qds.dts
@@ -320,6 +320,50 @@
pca9547@77 {
compatible = "philips,pca9547";
reg = <0x77>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ i2c@2 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ reg = <0x2>;
+
+ 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>;
+ };
+
+ ina220@46 {
+ compatible = "ti,ina220";
+ reg = <0x46>;
+ shunt-resistor = <1000>;
+ };
+
+ ina220@47 {
+ compatible = "ti,ina220";
+ reg = <0x47>;
+ shunt-resistor = <1000>;
+ };
+ };
};
eeprom@51 {
compatible = "at24,24c256";