27 lines
560 B
Plaintext
27 lines
560 B
Plaintext
/* Copyright (c) 2023 North River Systems Ltd
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include <zephyr/dt-bindings/sensor/ina230.h>
|
|
|
|
&i2c0 {
|
|
status = "okay";
|
|
|
|
/* Datasheet example and Default DT Configuration Test */
|
|
ina230_default_test: ina230@40 {
|
|
compatible = "ti,ina230";
|
|
reg = <0x40>;
|
|
rshunt-micro-ohms = <2000>;
|
|
current-lsb-microamps = <1000>;
|
|
status = "okay";
|
|
};
|
|
|
|
ina236_default_test: ina236@41 {
|
|
compatible = "ti,ina236";
|
|
reg = <0x41>;
|
|
rshunt-micro-ohms = <2000>;
|
|
current-lsb-microamps = <1000>;
|
|
status = "okay";
|
|
};
|
|
};
|