arm64: zynqmp: Add label property to all ina226 on zcu111

Label property is adding capability to distiguish chips from each other
when iio framework is used.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
Michal Simek
2019-08-26 10:00:26 +02:00
parent 65c4c3773b
commit b02ea93137

View File

@@ -220,84 +220,98 @@
u67: ina226@40 { /* u67 */ u67: ina226@40 { /* u67 */
compatible = "ti,ina226"; compatible = "ti,ina226";
#io-channel-cells = <1>; #io-channel-cells = <1>;
label = "ina226-u67";
reg = <0x40>; reg = <0x40>;
shunt-resistor = <2000>; shunt-resistor = <2000>;
}; };
u59: ina226@41 { /* u59 */ u59: ina226@41 { /* u59 */
compatible = "ti,ina226"; compatible = "ti,ina226";
#io-channel-cells = <1>; #io-channel-cells = <1>;
label = "ina226-u59";
reg = <0x41>; reg = <0x41>;
shunt-resistor = <5000>; shunt-resistor = <5000>;
}; };
u61: ina226@42 { /* u61 */ u61: ina226@42 { /* u61 */
compatible = "ti,ina226"; compatible = "ti,ina226";
#io-channel-cells = <1>; #io-channel-cells = <1>;
label = "ina226-u61";
reg = <0x42>; reg = <0x42>;
shunt-resistor = <5000>; shunt-resistor = <5000>;
}; };
u60: ina226@43 { /* u60 */ u60: ina226@43 { /* u60 */
compatible = "ti,ina226"; compatible = "ti,ina226";
#io-channel-cells = <1>; #io-channel-cells = <1>;
label = "ina226-u60";
reg = <0x43>; reg = <0x43>;
shunt-resistor = <5000>; shunt-resistor = <5000>;
}; };
u64: ina226@45 { /* u64 */ u64: ina226@45 { /* u64 */
compatible = "ti,ina226"; compatible = "ti,ina226";
#io-channel-cells = <1>; #io-channel-cells = <1>;
label = "ina226-u64";
reg = <0x45>; reg = <0x45>;
shunt-resistor = <5000>; shunt-resistor = <5000>;
}; };
u69: ina226@46 { /* u69 */ u69: ina226@46 { /* u69 */
compatible = "ti,ina226"; compatible = "ti,ina226";
#io-channel-cells = <1>; #io-channel-cells = <1>;
label = "ina226-u69";
reg = <0x46>; reg = <0x46>;
shunt-resistor = <2000>; shunt-resistor = <2000>;
}; };
u66: ina226@47 { /* u66 */ u66: ina226@47 { /* u66 */
compatible = "ti,ina226"; compatible = "ti,ina226";
#io-channel-cells = <1>; #io-channel-cells = <1>;
label = "ina226-u66";
reg = <0x47>; reg = <0x47>;
shunt-resistor = <5000>; shunt-resistor = <5000>;
}; };
u65: ina226@48 { /* u65 */ u65: ina226@48 { /* u65 */
compatible = "ti,ina226"; compatible = "ti,ina226";
#io-channel-cells = <1>; #io-channel-cells = <1>;
label = "ina226-u65";
reg = <0x48>; reg = <0x48>;
shunt-resistor = <5000>; shunt-resistor = <5000>;
}; };
u63: ina226@49 { /* u63 */ u63: ina226@49 { /* u63 */
compatible = "ti,ina226"; compatible = "ti,ina226";
#io-channel-cells = <1>; #io-channel-cells = <1>;
label = "ina226-u63";
reg = <0x49>; reg = <0x49>;
shunt-resistor = <5000>; shunt-resistor = <5000>;
}; };
u3: ina226@4a { /* u3 */ u3: ina226@4a { /* u3 */
compatible = "ti,ina226"; compatible = "ti,ina226";
#io-channel-cells = <1>; #io-channel-cells = <1>;
label = "ina226-u3";
reg = <0x4a>; reg = <0x4a>;
shunt-resistor = <5000>; shunt-resistor = <5000>;
}; };
u71: ina226@4b { /* u71 */ u71: ina226@4b { /* u71 */
compatible = "ti,ina226"; compatible = "ti,ina226";
#io-channel-cells = <1>; #io-channel-cells = <1>;
label = "ina226-u71";
reg = <0x4b>; reg = <0x4b>;
shunt-resistor = <5000>; shunt-resistor = <5000>;
}; };
u77: ina226@4c { /* u77 */ u77: ina226@4c { /* u77 */
compatible = "ti,ina226"; compatible = "ti,ina226";
#io-channel-cells = <1>; #io-channel-cells = <1>;
label = "ina226-u77";
reg = <0x4c>; reg = <0x4c>;
shunt-resistor = <5000>; shunt-resistor = <5000>;
}; };
u73: ina226@4d { /* u73 */ u73: ina226@4d { /* u73 */
compatible = "ti,ina226"; compatible = "ti,ina226";
#io-channel-cells = <1>; #io-channel-cells = <1>;
label = "ina226-u73";
reg = <0x4d>; reg = <0x4d>;
shunt-resistor = <5000>; shunt-resistor = <5000>;
}; };
u79: ina226@4e { /* u79 */ u79: ina226@4e { /* u79 */
compatible = "ti,ina226"; compatible = "ti,ina226";
#io-channel-cells = <1>; #io-channel-cells = <1>;
label = "ina226-u79";
reg = <0x4e>; reg = <0x4e>;
shunt-resistor = <5000>; shunt-resistor = <5000>;
}; };