Skip to content

Commit 555a560

Browse files
committed
arm64: dts: s32g399a-rdb3: Add INA231 sensor entry over I2C4
JIRA: https://issues.redhat.com/browse/RHEL-116642 commit 3a3eefe Author: Ciprian Marian Costea <ciprianmarian.costea@oss.nxp.com> Date: Mon Jan 13 13:05:12 2025 +0200 arm64: dts: s32g399a-rdb3: Add INA231 sensor entry over I2C4 Add INA231 current sensor for S32G399A-RDB3 boards. Signed-off-by: Ciprian Marian Costea <ciprianmarian.costea@oss.nxp.com> Reviewed-by: Matthias Brugger <mbrugger@suse.com> Reviewed-by: Frank Li <Frank.Li@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org> Signed-off-by: Jared Kangas <jkangas@redhat.com>
1 parent 3804be1 commit 555a560

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

arch/arm64/boot/dts/freescale/s32g399a-rdb3.dts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,14 @@
4040
status = "okay";
4141
};
4242

43+
&i2c4 {
44+
current-sensor@40 {
45+
compatible = "ti,ina231";
46+
reg = <0x40>;
47+
shunt-resistor = <1000>;
48+
};
49+
};
50+
4351
&usdhc0 {
4452
pinctrl-names = "default", "state_100mhz", "state_200mhz";
4553
pinctrl-0 = <&pinctrl_usdhc0>;

0 commit comments

Comments
 (0)