mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 16:44:58 +02:00
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>
This commit is contained in:
parent
81a97afe7c
commit
3a3eefecbf
|
|
@ -40,6 +40,14 @@ &uart1 {
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c4 {
|
||||
current-sensor@40 {
|
||||
compatible = "ti,ina231";
|
||||
reg = <0x40>;
|
||||
shunt-resistor = <1000>;
|
||||
};
|
||||
};
|
||||
|
||||
&usdhc0 {
|
||||
pinctrl-names = "default", "state_100mhz", "state_200mhz";
|
||||
pinctrl-0 = <&pinctrl_usdhc0>;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user