Skip to contentSkip to conversation

arm: dts: bcm2711: Add emc2301 to the CM4 IO board

PATCH Applied Peter Robinson 2 participants 2 messages Sep 25 – Sep 28

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: dts: bcm2711: Add emc2301 to the CM4 IO board

The CM4 IO carrier board has a emc2301 fan controller. Add it so it can be used on the CM4 board.

---
 arch/arm/boot/dts/broadcom/bcm2711-rpi-cm4-io.dts | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
arch/arm/boot/dts/broadcom/bcm2711-rpi-cm4-io.dts +14 -0
index 8e45de01d2ad1..4f81fbdb85b56 100644
@@ -107,6 +107,20 @@ &genet {
 };
 
 &i2c0_1 {
+	emc2301: fan-controller@2f {
+		compatible = "microchip,emc2301", "microchip,emc2305";
+		reg = <0x2f>;
+		#address-cells = <1>;
+		#size-cells = <0>;
+		#pwm-cells = <3>;
+
+		fan@0 {
+			reg = <0x0>;
+			pwms = <&emc2301 26000 0 1>;
+			#cooling-cells = <2>;
+		};
+	};
+
 	pcf85063: rtc@51 {
 		/* Attention: An alarm resets the machine */
 		compatible = "nxp,pcf85063a";
Signature · 1 line
2.55.0