diff options
author | Vijay Khemka <vijaykhemka@fb.com> | 2018-12-17 21:04:02 +0100 |
---|---|---|
committer | Joel Stanley <joel@jms.id.au> | 2019-01-17 04:03:07 +0100 |
commit | 1a5ebcd4356d5354e001898595ce9c50f3e8d09f (patch) | |
tree | 9000cd7d187d95c191d63c8254d4f7eb8caa6c6e /arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts | |
parent | ARM: dts: aspeed: tiogapass: Enable KCS (diff) | |
download | linux-1a5ebcd4356d5354e001898595ce9c50f3e8d09f.tar.xz linux-1a5ebcd4356d5354e001898595ce9c50f3e8d09f.zip |
ARM: dts: aspeed: tiogapass: Add sensors
Added ADC and other sensor devices present in the Facebook Tiogapass
machine.
Signed-off-by: Vijay Khemka <vijaykhemka@fb.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts')
-rw-r--r-- | arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts index a4c7e205ca96..73e58a821613 100644 --- a/arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts +++ b/arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts @@ -21,6 +21,17 @@ memory@80000000 { reg = <0x80000000 0x20000000>; }; + + iio-hwmon { + compatible = "iio-hwmon"; + io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>, + <&adc 4>, <&adc 5>, <&adc 6>; + }; + + iio-hwmon-battery { + compatible = "iio-hwmon"; + io-channels = <&adc 7>; + }; }; &fmc { @@ -76,6 +87,10 @@ use-ncsi; }; +&adc { + status = "okay"; +}; + &i2c0 { status = "okay"; //Airmax Conn B, CPU0 PIROM, CPU1 PIROM @@ -134,6 +149,10 @@ &i2c8 { status = "okay"; + tmp421@1f { + compatible = "ti,tmp421"; + reg = <0x1f>; + }; //Mezz Sensor SMBus }; @@ -152,7 +171,7 @@ }; fan@1 { - reg = <0x00>; - aspeed,fan-tach-ch = /bits/ 8 <0x01>; + reg = <0x01>; + aspeed,fan-tach-ch = /bits/ 8 <0x02>; }; }; |