From 8d250f34cd2678acfa249a10b92fa5976b61336f Mon Sep 17 00:00:00 2001 From: Delphine CC Chiu Date: Wed, 29 Mar 2023 16:32:35 +0800 Subject: [PATCH] ARM: dts: aspeed: greatlakes: add mctp device Add mctp node on I2C bus Signed-off-by: Delphine CC Chiu Link: https://lore.kernel.org/r/20230329083235.24123-3-Delphine_CC_Chiu@Wiwynn.com Signed-off-by: Joel Stanley --- arch/arm/boot/dts/aspeed-bmc-facebook-greatlakes.dts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-greatlakes.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-greatlakes.dts index 5981911..7a53f54 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@1f { compatible = "ti,tmp421"; reg = <0x1f>; @@ -165,6 +166,10 @@ compatible = "st,24c32"; reg = <0x50>; }; + mctp@10 { + compatible = "mctp-i2c-controller"; + reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; + }; }; &i2c9 { @@ -238,7 +243,7 @@ &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", @@ -280,7 +285,6 @@ }; &gpio1 { - status = "okay"; gpio-line-names = /*18A0-18A7*/ "","","","","","","","", /*18B0-18B7*/ "","","","","","","","", -- 2.7.4