diff mbox

[13/17] Enable I2C hub and connected devices in Firestone DT

Message ID 1474058133-27363-14-git-send-email-tpearson@raptorengineering.com
State Accepted, archived
Headers show

Commit Message

Timothy Pearson Sept. 16, 2016, 8:35 p.m. UTC
Firestone contains an I2C hub with mostly uninteresting
(i.e. manufacturing only) devices, except for the main
chassis fan controller.  Add this hub and the fan controller
to the device tree in anticipation of a Linux driver for the
fan controller.

Signed-off-by: Timothy Pearson <tpearson@raptorengineering.com>
---
 arch/arm/boot/dts/aspeed-bmc-opp-firestone.dts |   10 ++++++++++
 1 file changed, 10 insertions(+)

Comments

Joel Stanley Sept. 23, 2016, 7:17 a.m. UTC | #1
On Sat, Sep 17, 2016 at 6:05 AM, Timothy Pearson
<tpearson@raptorengineering.com> wrote:
> Firestone contains an I2C hub with mostly uninteresting
> (i.e. manufacturing only) devices, except for the main
> chassis fan controller.  Add this hub and the fan controller
> to the device tree in anticipation of a Linux driver for the
> fan controller.
>
> Signed-off-by: Timothy Pearson <tpearson@raptorengineering.com>

Applied to dev-4.7 as 8bb42b321129916ba8827e807949eb9a56061781.

Cheers,

Joel
diff mbox

Patch

diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-firestone.dts b/arch/arm/boot/dts/aspeed-bmc-opp-firestone.dts
index 9a56510..053fafe 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-firestone.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-firestone.dts
@@ -102,7 +102,17 @@ 
 };
 
 &i2c3 {
+	status = "okay";
+
 	// i2c hub PCA9516A
+	// spruce / madrone PDB
+	// APSS
+	// FIR (fan / SATA backplane)
+	fanctl@52 {
+		compatible = "max,max31785";
+		reg = <0x52>;
+	};
+
 };
 
 &i2c4 {