mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v1] ARM: dts: aspeed: harma: Add MCTP I2C controller node
@ 2025-09-26  2:59 Daniel Hsu
  2025-09-29  3:07 ` Andrew Jeffery
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Hsu @ 2025-09-26  2:59 UTC (permalink / raw)
  To: robh, krzk+dt, conor+dt, joel, andrew
  Cc: devicetree, linux-arm-kernel, linux-aspeed, linux-kernel, Daniel Hsu

The Facebook Harma BMC uses I2C1 as an MCTP (Management Component
Transport Protocol) bus. This patch enables the controller by
adding the `mctp-i2c-controller` node under I2C1, with multi-master
support.

Signed-off-by: Daniel Hsu <Daniel-Hsu@quantatw.com>
---
 arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts
index b9a93f23bd0a..2b7019c55eb6 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts
@@ -242,6 +242,14 @@ gpio@12 {
 &i2c1 {
 	status = "okay";
 
+	mctp-controller;
+	multi-master;
+
+	mctp@10 {
+		compatible = "mctp-i2c-controller";
+		reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>;
+	};
+
 	temperature-sensor@4b {
 		compatible = "ti,tmp75";
 		reg = <0x4b>;
-- 
2.43.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH v1] ARM: dts: aspeed: harma: Add MCTP I2C controller node
  2025-09-26  2:59 [PATCH v1] ARM: dts: aspeed: harma: Add MCTP I2C controller node Daniel Hsu
@ 2025-09-29  3:07 ` Andrew Jeffery
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Jeffery @ 2025-09-29  3:07 UTC (permalink / raw)
  To: robh, krzk+dt, conor+dt, joel, Daniel Hsu
  Cc: devicetree, linux-arm-kernel, linux-aspeed, linux-kernel, Daniel Hsu

On Fri, 26 Sep 2025 10:59:52 +0800, Daniel Hsu wrote:
> The Facebook Harma BMC uses I2C1 as an MCTP (Management Component
> Transport Protocol) bus. This patch enables the controller by
> adding the `mctp-i2c-controller` node under I2C1, with multi-master
> support.
> 
> 

Thanks, I've applied this to the BMC tree.

-- 
Andrew Jeffery <andrew@codeconstruct.com.au>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-09-29  3:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-26  2:59 [PATCH v1] ARM: dts: aspeed: harma: Add MCTP I2C controller node Daniel Hsu
2025-09-29  3:07 ` Andrew Jeffery

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®