]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ARM: dts: aspeed: catalina: Enable MCTP support for NIC management
authorPotin Lai <potin.lai.pt@gmail.com>
Fri, 21 Mar 2025 07:26:11 +0000 (15:26 +0800)
committerAndrew Jeffery <andrew@codeconstruct.com.au>
Wed, 11 Jun 2025 04:19:19 +0000 (13:49 +0930)
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@gmail.com>
Link: https://patch.msgid.link/20250321-potin-catalina-dts-update-20250102-v6-10-4bd85efeb9b4@gmail.com
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts

index a6a2dd72526694d64a88ccf81953983df78c2260..5fb67ad2d77702f308b21181223989353af877ca 100644 (file)
 
 &i2c0 {
        status = "okay";
+       multi-master;
+       mctp@10 {
+               compatible = "mctp-i2c-controller";
+               reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>;
+       };
 
        i2c-mux@71 {
                compatible = "nxp,pca9546";
                reg = <0x71>;
                #address-cells = <1>;
                #size-cells = <0>;
-               i2c-mux-idle-disconnect;
 
                i2c0mux0ch0: i2c@0 {
                        #address-cells = <1>;
                        #size-cells = <0>;
                        reg = <0>;
+                       mctp-controller;
 
                        // IOB0 NIC0 TEMP
                        temperature-sensor@1f {
                        #address-cells = <1>;
                        #size-cells = <0>;
                        reg = <2>;
+                       mctp-controller;
 
                        // IOB0 NIC1 TEMP
                        temperature-sensor@1f {
                reg = <0x75>;
                #address-cells = <1>;
                #size-cells = <0>;
-               i2c-mux-idle-disconnect;
 
                i2c0mux3ch0: i2c@0 {
                        #address-cells = <1>;
                        #size-cells = <0>;
                        reg = <0>;
+                       mctp-controller;
 
                        // IOB1 NIC0 TEMP
                        temperature-sensor@1f {
                        #address-cells = <1>;
                        #size-cells = <0>;
                        reg = <2>;
+                       mctp-controller;
 
                        // IOB1 NIC1 TEMP
                        temperature-sensor@1f {