mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-28 21:33:52 +00:00
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>
This commit is contained in:
parent
e7b66ba2db
commit
1a5ebcd435
1 changed files with 21 additions and 2 deletions
|
@ -21,6 +21,17 @@ chosen {
|
|||
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 @@ &mac0 {
|
|||
use-ncsi;
|
||||
};
|
||||
|
||||
&adc {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c0 {
|
||||
status = "okay";
|
||||
//Airmax Conn B, CPU0 PIROM, CPU1 PIROM
|
||||
|
@ -134,6 +149,10 @@ &i2c7 {
|
|||
|
||||
&i2c8 {
|
||||
status = "okay";
|
||||
tmp421@1f {
|
||||
compatible = "ti,tmp421";
|
||||
reg = <0x1f>;
|
||||
};
|
||||
//Mezz Sensor SMBus
|
||||
};
|
||||
|
||||
|
@ -152,7 +171,7 @@ fan@0 {
|
|||
};
|
||||
|
||||
fan@1 {
|
||||
reg = <0x00>;
|
||||
aspeed,fan-tach-ch = /bits/ 8 <0x01>;
|
||||
reg = <0x01>;
|
||||
aspeed,fan-tach-ch = /bits/ 8 <0x02>;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue