diff options
author | Jagan Teki <jagan@amarulasolutions.com> | 2019-03-01 18:10:51 +0100 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@bootlin.com> | 2019-03-18 08:09:23 +0100 |
commit | ea738c324c7d80ef6267f91dc980ada902cf74f6 (patch) | |
tree | ec973022fae73c21638f6080c280bb43582cbe27 /arch/arm64/boot/dts/allwinner/sun50i-a64-amarula-relic.dts | |
parent | arm64: dts: allwinner: a64: teres-i: enable backlight (diff) | |
download | linux-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.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>; |