Skip to content

Commit

Permalink
Merge pull request openbmc#82 from msbarth/max31785-everest-dts_1020-…
Browse files Browse the repository at this point in the history
…dev-5.8

ARM: dts: Aspeed: Everest: Add max31785 fan controller device
  • Loading branch information
geissonator authored and GitHub Enterprise committed Jan 7, 2021
2 parents a9b4ea8 + d9c8e67 commit 8ef11a7
Showing 1 changed file with 67 additions and 4 deletions.
71 changes: 67 additions & 4 deletions arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,11 @@
i2c27 = &i2c14mux0chn0;
i2c28 = &i2c14mux0chn1;
i2c29 = &i2c14mux0chn2;
i2c30 = &i2c14mux1chn0;
i2c31 = &i2c14mux1chn1;
i2c32 = &i2c14mux1chn2;
i2c33 = &i2c14mux1chn3;
i2c30 = &i2c14mux0chn3;
i2c31 = &i2c14mux1chn0;
i2c32 = &i2c14mux1chn1;
i2c33 = &i2c14mux1chn2;
i2c34 = &i2c14mux1chn3;

serial4 = &uart5;

Expand Down Expand Up @@ -476,6 +477,68 @@
reg = <0x50>;
};
};

i2c14mux0chn3: i2c@3 {
#address-cells = <1>;
#size-cells = <0>;
reg = <3>;
max31785@52 {
compatible = "maxim,max31785a";
reg = <0x52>;

fan@0 {
compatible = "pmbus-fan";
reg = <0>;
tach-pulses = <2>;
maxim,fan-rotor-input = "tach";
maxim,fan-pwm-freq = <25000>;
maxim,fan-dual-tach;
maxim,fan-no-watchdog;
maxim,fan-no-fault-ramp;
maxim,fan-ramp = <2>;
maxim,fan-fault-pin-mon;
};

fan@1 {
compatible = "pmbus-fan";
reg = <1>;
tach-pulses = <2>;
maxim,fan-rotor-input = "tach";
maxim,fan-pwm-freq = <25000>;
maxim,fan-dual-tach;
maxim,fan-no-watchdog;
maxim,fan-no-fault-ramp;
maxim,fan-ramp = <2>;
maxim,fan-fault-pin-mon;
};

fan@2 {
compatible = "pmbus-fan";
reg = <2>;
tach-pulses = <2>;
maxim,fan-rotor-input = "tach";
maxim,fan-pwm-freq = <25000>;
maxim,fan-dual-tach;
maxim,fan-no-watchdog;
maxim,fan-no-fault-ramp;
maxim,fan-ramp = <2>;
maxim,fan-fault-pin-mon;
};

fan@3 {
compatible = "pmbus-fan";
reg = <3>;
tach-pulses = <2>;
maxim,fan-rotor-input = "tach";
maxim,fan-pwm-freq = <25000>;
maxim,fan-dual-tach;
maxim,fan-no-watchdog;
maxim,fan-no-fault-ramp;
maxim,fan-ramp = <2>;
maxim,fan-fault-pin-mon;
};
};
};
};

i2c-switch@71 {
Expand Down

0 comments on commit 8ef11a7

Please sign in to comment.