[PATCH v1 2/2] ARM: dts: aspeed: greatlakes: add mctp device

Delphine CC Chiu Delphine_CC_Chiu at Wiwynn.com
Wed Mar 29 01:32:35 PDT 2023


Add mctp node on I2C bus

Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu at Wiwynn.com>
---
 arch/arm/boot/dts/aspeed-bmc-facebook-greatlakes.dts | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-greatlakes.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-greatlakes.dts
index 59819115c39d..2f83693e4f85 100644
--- a/arch/arm/boot/dts/aspeed-bmc-facebook-greatlakes.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-facebook-greatlakes.dts
@@ -156,6 +156,7 @@
 
 &i2c8 {
 	status = "okay";
+	mctp-controller;
 	temperature-sensor at 1f {
 		compatible = "ti,tmp421";
 		reg = <0x1f>;
@@ -165,6 +166,10 @@
 		compatible = "st,24c32";
 		reg = <0x50>;
 	};
+	mctp at 10 {
+		compatible = "mctp-i2c-controller";
+		reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>;
+	};
 };
 
 &i2c9 {
-- 
2.17.1




More information about the linux-arm-kernel mailing list