From: Manojkiran Eda <manojkiran.eda@xxxxxxxxx> This patch enables the PECI interface and configures the LPC Snoop for ports 0x80 and 0x81 in the ASPEED BMC for IBM System1. Signed-off-by: Manojkiran Eda <manojkiran.eda@xxxxxxxxx> --- This patch enables PECI and LPC snoop functionality on the IBM System1 BMC in the device tree. The following changes have been made: 1. Enabled the PECI controller (peci0) by marking its status to "okay". 2. Enabled the LPC snoop engine, configuring snoop ports at 0x80 and 0x81. These changes are required to support PECI communication and LPC snooping for system monitoring and debugging purposes. To: Ninad Palsule <ninad@xxxxxxxxxxxxx> To: Joel Stanley <joel@xxxxxxxxx> To: Andrew Jeffery <andrew@xxxxxxxxxxxxxxxxxxxx> To: openbmc@xxxxxxxxxxxxxxxx To: Eddie James <eajames@xxxxxxxxxxxxx> To: Rob Herring <robh+dt@xxxxxxxxxx> To: Krzysztof Kozlowski <krzysztof.kozlowski+dt@xxxxxxxxxx> To: Conor Dooley <conor+dt@xxxxxxxxxx> Cc: devicetree@xxxxxxxxxxxxxxx Cc: linux-arm-kernel@xxxxxxxxxxxxxxxxxxx Cc: linux-aspeed@xxxxxxxxxxxxxxxx Cc: linux-kernel@xxxxxxxxxxxxxxx Changes in v2: - Added ibm system1 in the subject & added upstream mailing list as well for reviews. - Link to v1: https://lore.kernel.org/r/20240917-dts-aspeed-system1-peci-snoop-v1-1-b967fb3a6735@xxxxxxxxx --- arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts index cb3063413d1f..738a86c787c0 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts @@ -464,6 +464,15 @@ &kcs3 { aspeed,lpc-interrupts = <11 IRQ_TYPE_LEVEL_LOW>; }; +&peci0 { + status = "okay"; +}; + +&lpc_snoop { + status = "okay"; + snoop-ports = <0x80>, <0x81>; +}; + &i2c0 { status = "okay"; --- base-commit: ca2478a7d974f38d29d27acb42a952c7f168916e change-id: 20240917-dts-aspeed-system1-peci-snoop-725c70f4a485 Best regards, -- Manojkiran Eda <manojkiran.eda@xxxxxxxxx>