summaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/allwinner/sun50i-a64-amarula-relic.dts
diff options
context:
space:
mode:
authorJagan Teki <jagan@amarulasolutions.com>2019-03-01 18:10:51 +0100
committerMaxime Ripard <maxime.ripard@bootlin.com>2019-03-18 08:09:23 +0100
commitea738c324c7d80ef6267f91dc980ada902cf74f6 (patch)
treeec973022fae73c21638f6080c280bb43582cbe27 /arch/arm64/boot/dts/allwinner/sun50i-a64-amarula-relic.dts
parentarm64: dts: allwinner: a64: teres-i: enable backlight (diff)
downloadlinux-ea738c324c7d80ef6267f91dc980ada902cf74f6.tar.xz
linux-ea738c324c7d80ef6267f91dc980ada902cf74f6.zip
arm64: dts: allwinner: a64-amarula-relic: Add STLM75 sensor
Amarula A64 Relic has STLM75 sensor for digital temperature and thermal watchdog. Add support for it. Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Diffstat (limited to 'arch/arm64/boot/dts/allwinner/sun50i-a64-amarula-relic.dts')
-rw-r--r--arch/arm64/boot/dts/allwinner/sun50i-a64-amarula-relic.dts15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-amarula-relic.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-amarula-relic.dts
index 6cb2b7f0c817..3575db216016 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-amarula-relic.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-amarula-relic.dts
@@ -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>;