1/* Copyright (c) 2023 North River Systems Ltd 2 * SPDX-License-Identifier: Apache-2.0 3 */ 4 5#include <zephyr/dt-bindings/sensor/ina237.h> 6 7&i2c0 { 8 status = "okay"; 9 10 /* standard precision mode */ 11 ina237_default_test: ina237@40 { 12 compatible = "ti,ina237"; 13 reg = <0x40>; 14 rshunt-micro-ohms = <400>; 15 current-lsb-microamps = <123>; 16 status = "okay"; 17 }; 18 19 /* high precision mode */ 20 ina237@41 { 21 compatible = "ti,ina237"; 22 reg = <0x41>; 23 high-precision; 24 rshunt-micro-ohms = <400>; 25 current-lsb-microamps = <123>; 26 status = "okay"; 27 }; 28 29 /* high precision mode, maximum current lsb */ 30 ina237@42 { 31 compatible = "ti,ina237"; 32 reg = <0x42>; 33 high-precision; 34 rshunt-micro-ohms = <0x00ff>; 35 current-lsb-microamps = <0xffff>; 36 status = "okay"; 37 }; 38 39 /* high precision mode, maximum rshunt */ 40 ina237@43 { 41 compatible = "ti,ina237"; 42 reg = <0x43>; 43 high-precision; 44 rshunt-micro-ohms = <0xffff>; 45 current-lsb-microamps = <0x00ff>; 46 status = "okay"; 47 }; 48}; 49