Skip to content

Commit

Permalink
arm64: dts: allwinner: a64-amarula-relic: Add STLM75 sensor
Browse files Browse the repository at this point in the history
Amarula A64 Relic has STLM75 sensor for digital temperature
and thermal watchdog.

Add support for it.

Signed-off-by: Jagan Teki <[email protected]>
Signed-off-by: Maxime Ripard <[email protected]>
  • Loading branch information
openedev authored and mripard committed Mar 18, 2019
1 parent 24bd5d2 commit ea738c3
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions arch/arm64/boot/dts/allwinner/sun50i-a64-amarula-relic.dts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,21 @@
status = "okay";
};

&i2c0 {
pinctrl-names = "default";
pinctrl-0 = <&i2c0_pins>;
status = "okay";

sensor@48 {
compatible = "st,stlm75";
reg = <0x48>;
};
};

&i2c0_pins {
bias-pull-up;
};

&mmc1 {
pinctrl-names = "default";
pinctrl-0 = <&mmc1_pins>;
Expand Down

0 comments on commit ea738c3

Please sign in to comment.