diff options
author | Oskar Senft <osk@google.com> | 2021-11-05 04:29:10 +0100 |
---|---|---|
committer | Joel Stanley <joel@jms.id.au> | 2021-11-16 06:23:17 +0100 |
commit | 82099d76cb6ff6738306e90e816754a5d6b046ce (patch) | |
tree | 6f8d13bfad5ec24eea8a1405fa15973922573806 /arch/arm/boot | |
parent | Linux 5.16-rc1 (diff) | |
download | linux-82099d76cb6ff6738306e90e816754a5d6b046ce.tar.xz linux-82099d76cb6ff6738306e90e816754a5d6b046ce.zip |
ARM: dts: aspeed: tyan-s7106: Update nct7802 config
This change updates the configuration for the nct7802 hardware
monitor to correctly configure its temperature sensors.
Signed-off-by: Oskar Senft <osk@google.com>
Link: https://lore.kernel.org/r/20211105032910.446492-1-osk@google.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r-- | arch/arm/boot/dts/aspeed-bmc-tyan-s7106.dts | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/aspeed-bmc-tyan-s7106.dts b/arch/arm/boot/dts/aspeed-bmc-tyan-s7106.dts index 68f332ee1886..60ac6d3f03b5 100644 --- a/arch/arm/boot/dts/aspeed-bmc-tyan-s7106.dts +++ b/arch/arm/boot/dts/aspeed-bmc-tyan-s7106.dts @@ -213,6 +213,30 @@ nct7802@28 { compatible = "nuvoton,nct7802"; reg = <0x28>; + + #address-cells = <1>; + #size-cells = <0>; + + channel@0 { /* LTD */ + reg = <0>; + }; + + channel@1 { /* RTD1 */ + reg = <1>; + sensor-type = "temperature"; + temperature-mode = "thermistor"; + }; + + channel@2 { /* RTD2 */ + reg = <2>; + sensor-type = "temperature"; + temperature-mode = "thermistor"; + }; + + channel@3 { /* RTD3 */ + reg = <3>; + sensor-type = "temperature"; + }; }; /* Also connected to: |