diff options
author | Jagan Teki <jagan@amarulasolutions.com> | 2019-03-01 22:40:51 +0530 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@bootlin.com> | 2019-03-18 08:09:23 +0100 |
commit | ea738c324c7d80ef6267f91dc980ada902cf74f6 (patch) | |
tree | ec973022fae73c21638f6080c280bb43582cbe27 | |
parent | 24bd5d2cb93bc282e3c15e4d10fcd3210192f954 (diff) | |
download | linux-stable-ea738c324c7d80ef6267f91dc980ada902cf74f6.tar.gz linux-stable-ea738c324c7d80ef6267f91dc980ada902cf74f6.tar.bz2 linux-stable-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>
-rw-r--r-- | arch/arm64/boot/dts/allwinner/sun50i-a64-amarula-relic.dts | 15 |
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>; |