summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts
diff options
context:
space:
mode:
authorMatthew Barth <msbarth@us.ibm.com>2021-03-29 17:00:11 +0200
committerJoel Stanley <joel@jms.id.au>2021-04-08 03:43:56 +0200
commit7313cde52aed3f391ad25a66f283d6cac27afaf1 (patch)
tree2797c014d6edcd8b17a9823386275b725c065404 /arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts
parentARM: dts: aspeed: everest: Add I2C components (diff)
downloadlinux-7313cde52aed3f391ad25a66f283d6cac27afaf1.tar.xz
linux-7313cde52aed3f391ad25a66f283d6cac27afaf1.zip
ARM: dts: aspeed: everest: Add max31785 fan controller device
Add the max31785 configuration at address 0x52 on i2c14 behind mux0 channel 3. Signed-off-by: Matthew Barth <msbarth@us.ibm.com> Signed-off-by: Eddie James <eajames@linux.ibm.com> Link: https://lore.kernel.org/r/20210329150020.13632-14-eajames@linux.ibm.com Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts')
-rw-r--r--arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts44
1 files changed, 40 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts b/arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts
index ab7be4d511a5..9fbb3afd0f8a 100644
--- a/arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts
@@ -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;
@@ -457,6 +458,41 @@
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>;
+ };
+
+ fan@1 {
+ compatible = "pmbus-fan";
+ reg = <1>;
+ tach-pulses = <2>;
+ };
+
+ fan@2 {
+ compatible = "pmbus-fan";
+ reg = <2>;
+ tach-pulses = <2>;
+ };
+
+ fan@3 {
+ compatible = "pmbus-fan";
+ reg = <3>;
+ tach-pulses = <2>;
+ };
+ };
+ };
};
i2c-switch@71 {