diff options
author | Oskar Senft <osk@google.com> | 2021-11-05 06:29:10 +0300 |
---|---|---|
committer | Joel Stanley <joel@jms.id.au> | 2021-11-05 07:04:15 +0300 |
commit | 781a66e81bbb9081e74d9ba0fcee095fefa1048e (patch) | |
tree | 79be1ee5111a8be556f3bff1a10a27244d2f33ff /arch | |
parent | da6376d7893ec6fd4ebdcd3e778dc20facf0dea0 (diff) | |
download | linux-781a66e81bbb9081e74d9ba0fcee095fefa1048e.tar.xz |
ARM: dts: aspeed: tyan-s7106: Update nct7802 config
This change updates the configuration for the nct7802 hardware
monitor to correctly configure its temperature sensors.
OpenBMC-Staging-Count: 1
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')
-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: |