From patchwork Tue Jan 7 16:23:46 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ninad Palsule X-Patchwork-Id: 13929293 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 395591DF995; Tue, 7 Jan 2025 16:24:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.163.156.1 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736267080; cv=none; b=NWMA2lZyYoyhc5cc4a9ySm5VgLEZ/CBTzhHNau+GtUJCLwVrIGwK2JSUTxSk2+XDXR1GZLJLY3cNoU2FcjtD0owmJY6RvVDTz89QOeww0WCgV4nQPLlyXqD8slgjjENDmBXccjKu7oowr9x4yz2/fplWnnmebLEljTAcazPKmk0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736267080; c=relaxed/simple; bh=AQCRwZAzb00+7Tfi4RtkaDhOgmVn/mhBZkKzlV4pdxM=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=rgMO+3ckYM8B42ilYZhmiUDKHCJmTg3BIBekcWNZ6JtCYAmteFrg2ubfxQuxNIRX6sBg3xpbV00S506yez/BjeWlW0d3OWY4fk/a9IZcgl6de2aLkhhALnI3fmZc9t+SsDX4mfXgMU/WTmjY5X85E4396GWxN51TnrIz7I4DwRc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com; spf=pass smtp.mailfrom=linux.ibm.com; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b=VHv1MKhc; arc=none smtp.client-ip=148.163.156.1 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.ibm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="VHv1MKhc" Received: from pps.filterd (m0353729.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 507CKOmo024527; Tue, 7 Jan 2025 16:23:58 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h= content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=pp1; bh=fsZaBvqB5dpJzWpJ5 hZO5QeO8dMiC6iqXWnWtWWoyMU=; b=VHv1MKhcz7EUmaaKcX2csr9vkh9tlkrU6 RGLeUV4fwGIOa+t+xnXoOtJcYdWFnmI0az4SQ5dxFXJaTi+ZOMZfP/h971qqn6Bb GWtvG2xGTFjTj0k8Y53fb3Cfhf/s+lBdg1wplp6hvRzU16+jDYcTfAMVqcYRanvU VhivyqsifFfR0VdjEqd+/78xvG9B4AAoVFu4LkVO2pmo01JYi0uRWKeZtj0lhtxc GUC0QhetvxY+gE5YhrXV2YozZS2saAmQjWGoLVUm3vUMtscBIGprork3V4TbJsvf Fh2KnP2lbzoJrtMkIaVX+4MQBpORsO/CtQ0oJzdjLDy4ySqFCREpQ== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 440sahm0tq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 07 Jan 2025 16:23:58 +0000 (GMT) Received: from m0353729.ppops.net (m0353729.ppops.net [127.0.0.1]) by pps.reinject (8.18.0.8/8.18.0.8) with ESMTP id 507G81ud031884; Tue, 7 Jan 2025 16:23:57 GMT Received: from ppma21.wdc07v.mail.ibm.com (5b.69.3da9.ip4.static.sl-reverse.com [169.61.105.91]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 440sahm0tk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 07 Jan 2025 16:23:57 +0000 (GMT) Received: from pps.filterd (ppma21.wdc07v.mail.ibm.com [127.0.0.1]) by ppma21.wdc07v.mail.ibm.com (8.18.1.2/8.18.1.2) with ESMTP id 507DCHCi013698; Tue, 7 Jan 2025 16:23:56 GMT Received: from smtprelay07.wdc07v.mail.ibm.com ([172.16.1.74]) by ppma21.wdc07v.mail.ibm.com (PPS) with ESMTPS id 43yganua9e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 07 Jan 2025 16:23:56 +0000 Received: from smtpav01.dal12v.mail.ibm.com (smtpav01.dal12v.mail.ibm.com [10.241.53.100]) by smtprelay07.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 507GNtnn525036 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 7 Jan 2025 16:23:55 GMT Received: from smtpav01.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E5F7358057; Tue, 7 Jan 2025 16:23:54 +0000 (GMT) Received: from smtpav01.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id AB67F58059; Tue, 7 Jan 2025 16:23:54 +0000 (GMT) Received: from gfwa153.aus.stglabs.ibm.com (unknown [9.3.84.127]) by smtpav01.dal12v.mail.ibm.com (Postfix) with ESMTP; Tue, 7 Jan 2025 16:23:54 +0000 (GMT) From: Ninad Palsule To: minyard@acm.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, ninad@linux.ibm.com, ratbert@faraday-tech.com, openipmi-developer@lists.sourceforge.net, netdev@vger.kernel.org, joel@jms.id.au, andrew@codeconstruct.com.au, devicetree@vger.kernel.org, eajames@linux.ibm.com, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 09/10] ARM: dts: aspeed: system1: Mark GPIO line high/low Date: Tue, 7 Jan 2025 10:23:46 -0600 Message-ID: <20250107162350.1281165-10-ninad@linux.ibm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250107162350.1281165-1-ninad@linux.ibm.com> References: <20250107162350.1281165-1-ninad@linux.ibm.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-GUID: RW8ctAcUiZq7KqIAjjMpEpiNvSY41dY7 X-Proofpoint-ORIG-GUID: ov1xOyK9vR5w8ZWIWfA73ncuAKD18Zr1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1051,Hydra:6.0.680,FMLib:17.12.62.30 definitions=2024-10-15_01,2024-10-11_01,2024-09-30_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 mlxscore=0 adultscore=0 mlxlogscore=929 impostorscore=0 priorityscore=1501 clxscore=1015 lowpriorityscore=0 spamscore=0 suspectscore=0 phishscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2411120000 definitions=main-2501070133 - Mark following GPIO lines as input high: - GPIOL4 (reset PCH registers) - GPIOL5 (reset portition of intel ME) - Mark isolate errors from cpu1 gpio (GPIOO6) as active low output. - The fan controller reset line should be active high. Signed-off-by: Ninad Palsule --- .../dts/aspeed/aspeed-bmc-ibm-system1.dts | 28 +++++++++++++++++++ 1 file changed, 28 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 90570b4d6d35..8026c67ecaee 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts @@ -383,6 +383,34 @@ &gpio0 { /*X0-X7*/ "fpga-pgood","power-chassis-good","pch-pgood","","","","","", /*Y0-Y7*/ "","","","","","","","", /*Z0-Z7*/ "","","","","","","",""; + + hog-0 { + gpio-hog; + gpios = ; + input; + line-name = "RST_RTCRST_N"; + }; + + hog-1 { + gpio-hog; + gpios = ; + input; + line-name = "RST_SRTCRST_N"; + }; + + hog-2 { + gpio-hog; + gpios = ; + output-high; + line-name = "BMC_FAN_E3_SVC_PEX_INT_N"; + }; + + hog-3 { + gpio-hog; + gpios = ; + output-low; + line-name = "isolate_errs_cpu1"; + }; }; &emmc_controller {