ARM: dts: aspeed: greatlakes: add mctp device
authorDelphine CC Chiu <Delphine_CC_Chiu@Wiwynn.com>
Wed, 29 Mar 2023 08:32:35 +0000 (16:32 +0800)
committerJoel Stanley <joel@jms.id.au>
Thu, 13 Apr 2023 07:11:54 +0000 (16:41 +0930)
Add mctp node on I2C bus

Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@Wiwynn.com>
Link: https://lore.kernel.org/r/20230329083235.24123-3-Delphine_CC_Chiu@Wiwynn.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-bmc-facebook-greatlakes.dts

index 5981911..7a53f54 100644 (file)
 
 &i2c8 {
        status = "okay";
+       mctp-controller;
        temperature-sensor@1f {
                compatible = "ti,tmp421";
                reg = <0x1f>;
                compatible = "st,24c32";
                reg = <0x50>;
        };
+       mctp@10 {
+               compatible = "mctp-i2c-controller";
+               reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>;
+       };
 };
 
 &i2c9 {
 &gpio0 {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_gpiu1_default &pinctrl_gpiu7_default>;
-       status = "okay";
+
        gpio-line-names =
        /*A0-A7*/ "","","","","","","","",
        /*B0-B7*/ "power-bmc-nic","presence-ocp-debug",
 };
 
 &gpio1 {
-       status = "okay";
        gpio-line-names =
        /*18A0-18A7*/ "","","","","","","","",
        /*18B0-18B7*/ "","","","","","","","",