[PATCH linux dev-5.3] ARM: dts: aspeed: rainier: Set initial MAX31785 config
Matthew Barth
msbarth at linux.ibm.com
Wed Nov 27 09:25:58 AEDT 2019
Set the MAX31785 properties in the Rainier device tree for the 4U model
with the currently known settings.
Signed-off-by: Matthew Barth <msbarth at linux.ibm.com>
---
arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts | 56 ++++++++++++++++++++++++++--
1 file changed, 52 insertions(+), 4 deletions(-)
diff --git a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
index 0288709..b4adc57 100644
--- a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
@@ -240,25 +240,73 @@
fan at 0 {
compatible = "pmbus-fan";
reg = <0>;
- tach-pulses = <2>;
+ tach-pulses = <4>;
+ maxim,fan-rotor-input = "tach";
+ maxim,fan-pwm-freq = <25000>;
+ maxim,fan-no-watchdog;
+ maxim,fan-no-fault-ramp;
+ maxim,fan-ramp = <2>;
+ maxim,fan-fault-pin-mon;
};
fan at 1 {
compatible = "pmbus-fan";
reg = <1>;
- tach-pulses = <2>;
+ tach-pulses = <4>;
+ maxim,fan-rotor-input = "tach";
+ maxim,fan-pwm-freq = <25000>;
+ maxim,fan-no-watchdog;
+ maxim,fan-no-fault-ramp;
+ maxim,fan-ramp = <2>;
+ maxim,fan-fault-pin-mon;
};
fan at 2 {
compatible = "pmbus-fan";
reg = <2>;
- tach-pulses = <2>;
+ tach-pulses = <4>;
+ maxim,fan-rotor-input = "tach";
+ maxim,fan-pwm-freq = <25000>;
+ maxim,fan-no-watchdog;
+ maxim,fan-no-fault-ramp;
+ maxim,fan-ramp = <2>;
+ maxim,fan-fault-pin-mon;
};
fan at 3 {
compatible = "pmbus-fan";
reg = <3>;
- tach-pulses = <2>;
+ tach-pulses = <4>;
+ maxim,fan-rotor-input = "tach";
+ maxim,fan-pwm-freq = <25000>;
+ maxim,fan-no-watchdog;
+ maxim,fan-no-fault-ramp;
+ maxim,fan-ramp = <2>;
+ maxim,fan-fault-pin-mon;
+ };
+
+ fan at 4 {
+ compatible = "pmbus-fan";
+ reg = <4>;
+ tach-pulses = <4>;
+ maxim,fan-rotor-input = "tach";
+ maxim,fan-pwm-freq = <25000>;
+ maxim,fan-no-watchdog;
+ maxim,fan-no-fault-ramp;
+ maxim,fan-ramp = <2>;
+ maxim,fan-fault-pin-mon;
+ };
+
+ fan at 5 {
+ compatible = "pmbus-fan";
+ reg = <5>;
+ tach-pulses = <4>;
+ maxim,fan-rotor-input = "tach";
+ maxim,fan-pwm-freq = <25000>;
+ maxim,fan-no-watchdog;
+ maxim,fan-no-fault-ramp;
+ maxim,fan-ramp = <2>;
+ maxim,fan-fault-pin-mon;
};
};
--
2.7.4
More information about the openbmc
mailing list