1Texas Instruments INA3221 Device Tree Bindings 2 31) ina3221 node 4 Required properties: 5 - compatible: Must be "ti,ina3221" 6 - reg: I2C address 7 8 Optional properties: 9 = The node contains optional child nodes for three channels = 10 = Each child node describes the information of input source = 11 12 - #address-cells: Required only if a child node is present. Must be 1. 13 - #size-cells: Required only if a child node is present. Must be 0. 14 152) child nodes 16 Required properties: 17 - reg: Must be 0, 1 or 2, corresponding to IN1, IN2 or IN3 port of INA3221 18 19 Optional properties: 20 - label: Name of the input source 21 - shunt-resistor-micro-ohms: Shunt resistor value in micro-Ohm 22 23Example: 24 25ina3221@40 { 26 compatible = "ti,ina3221"; 27 reg = <0x40>; 28 #address-cells = <1>; 29 #size-cells = <0>; 30 31 input@0 { 32 reg = <0x0>; 33 status = "disabled"; 34 }; 35 input@1 { 36 reg = <0x1>; 37 shunt-resistor-micro-ohms = <5000>; 38 }; 39 input@2 { 40 reg = <0x2>; 41 label = "VDD_5V"; 42 shunt-resistor-micro-ohms = <5000>; 43 }; 44}; 45