From 0a6085fedd4c0b3314c3e836f84d5bda53af9147 Mon Sep 17 00:00:00 2001 From: Zev Weiss Date: Mon, 11 Mar 2024 21:14:15 +0000 Subject: meta-asrock: e3c256d4i: Work around hardware bug with NMI signals Signed-off-by: Zev Weiss Change-Id: I507f963b15106b686b04275b13137f1036afcd03 --- .../chassis/x86-power-control/power-config-host0.json | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'meta-asrock') diff --git a/meta-asrock/meta-e3c256d4i/recipes-x86/chassis/x86-power-control/power-config-host0.json b/meta-asrock/meta-e3c256d4i/recipes-x86/chassis/x86-power-control/power-config-host0.json index 44025242ad..2d5538225e 100644 --- a/meta-asrock/meta-e3c256d4i/recipes-x86/chassis/x86-power-control/power-config-host0.json +++ b/meta-asrock/meta-e3c256d4i/recipes-x86/chassis/x86-power-control/power-config-host0.json @@ -7,16 +7,25 @@ "Polarity": "ActiveLow" }, { + // See below for why this is disabled instead of using NMI_BTN_N "Name" : "NMIButton", - "LineName" : "NMI_BTN_N", + "LineName" : "", "Type" : "GPIO", "Polarity": "ActiveLow" }, { + // Some revisions of the e3c256d4i board have a hardware bug that + // breaks the BMC_NMI line (asserting it doesn't actually trigger an + // NMI on the host), but as a workaround treating the NMI_BTN_N line + // (normally the NMI button input) instead as an output and driving + // it low will actually do it. Since there's (AFAIK) no actual + // physical button or connector for one available on the board + // anyway, making the button input unusable isn't a big loss, and + // the hack works on boards both with and without the bug. "Name" : "NMIOut", - "LineName" : "BMC_NMI", + "LineName" : "NMI_BTN_N", "Type" : "GPIO", - "Polarity": "ActiveHigh" + "Polarity": "ActiveLow" }, { "Name" : "PostComplete", -- cgit v1.2.3