[PATCH v5 10/10] ARM: dts: aspeed: catalina: Enable MCTP support for NIC management
Potin Lai
potin.lai.pt at gmail.com
Fri Mar 21 02:22:00 AEDT 2025
Add the `mctp-controller` property and MCTP nodes to enable support for
backend NIC management via PLDM over MCTP.
Signed-off-by: Potin Lai <potin.lai.pt at gmail.com>
---
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts
index 653afacc7af4..6eb6c5889113 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts
@@ -186,18 +186,23 @@ flash at 1 {
&i2c0 {
status = "okay";
+ multi-master;
+ mctp at 10 {
+ compatible = "mctp-i2c-controller";
+ reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>;
+ };
i2c-mux at 71 {
compatible = "nxp,pca9546";
reg = <0x71>;
#address-cells = <1>;
#size-cells = <0>;
- i2c-mux-idle-disconnect;
i2c0mux0ch0: i2c at 0 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0>;
+ mctp-controller;
// IOB0 NIC0 TEMP
temperature-sensor at 1f {
@@ -214,6 +219,7 @@ i2c0mux0ch2: i2c at 2 {
#address-cells = <1>;
#size-cells = <0>;
reg = <2>;
+ mctp-controller;
// IOB0 NIC1 TEMP
temperature-sensor at 1f {
@@ -305,12 +311,12 @@ i2c-mux at 75 {
reg = <0x75>;
#address-cells = <1>;
#size-cells = <0>;
- i2c-mux-idle-disconnect;
i2c0mux3ch0: i2c at 0 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0>;
+ mctp-controller;
// IOB1 NIC0 TEMP
temperature-sensor at 1f {
@@ -327,6 +333,7 @@ i2c0mux3ch2: i2c at 2 {
#address-cells = <1>;
#size-cells = <0>;
reg = <2>;
+ mctp-controller;
// IOB1 NIC1 TEMP
temperature-sensor at 1f {
--
2.31.1
More information about the Linux-aspeed
mailing list