From patchwork Fri Dec 13 14:50:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ninad Palsule X-Patchwork-Id: 13907316 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 705E9E7717F for ; Fri, 13 Dec 2024 15:03:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=1Ps8PZ48azPDmDkGqM447j7mdpJN2YPTJOYaXEaVT0E=; b=s4PlIoYFeIAhp/13fR9YpLS0gi 0D3GQKGhNZRqkipl3IrtHuwPo6Rx1YnguoKdtIEfOI1/iH5POQu9hiSpfh/lkE9XYPpRrUk29vUJ5 fi3q5QKVwkZi++8kVq6kbGdLpcxhRJ2X5kOFbNzjSWLM3N8oTMAz3U7LZ5BBIiIKq7PVXwYY1oJe0 RTD4YcK1A9hcnrLe/Vqrng/xGLAutBdypThcgxOG2IDIXtlyIqvnf2AuqgkCehs8owtMmMjNwgRsU +Fw4NLP4mzqBQnskWRmYKqVn6lYploT8ciok/rniJ6RPljpg13HAq/VSGwN6z4iep6UvyXzzt0ahJ z93pHCzA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tM7Cc-00000004Cao-0bxJ; Fri, 13 Dec 2024 15:03:38 +0000 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tM70O-000000049ag-34pI for linux-arm-kernel@lists.infradead.org; Fri, 13 Dec 2024 14:51:01 +0000 Received: from pps.filterd (m0353725.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4BDEIu6Y031404; Fri, 13 Dec 2024 14:50:48 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=cc :content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=pp1; bh=1Ps8PZ48azPDmDkGq M447j7mdpJN2YPTJOYaXEaVT0E=; b=QzLDTDgVN4TKxfGX4gd7aI0WYVoi5J/+g G1MxC1klgoWXIdkNw0gp2p/opgpS9d2etvc7ckaf5cFBUW31DBpkUsBopeKLN8sJ aFSf1qW0c/0qV51dN+e7ICERKBnRHRnG+Z3X1CCl1LVYzCVY6o1nc2wCZISZEtlc rQktq8XFY7nqhFxaxLBH56WA0nYyBAh9I2VJxGq/4ALP92UwFawtqAQ08aLHD2Cc PpAa659TfxpNoTPxnCGdP+icj3o96++goCfHb4DP8CGPP8BOarVGjjWI2QM4YMqp 7Q9J7rJWW/s6rmRkZuBUR2nr490n9rhrQ1PU3ix86PXoKYDIrEoEA== Received: from ppma11.dal12v.mail.ibm.com (db.9e.1632.ip4.static.sl-reverse.com [50.22.158.219]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 43gpd5r7bu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 13 Dec 2024 14:50:48 +0000 (GMT) Received: from pps.filterd (ppma11.dal12v.mail.ibm.com [127.0.0.1]) by ppma11.dal12v.mail.ibm.com (8.18.1.2/8.18.1.2) with ESMTP id 4BDBM392029231; Fri, 13 Dec 2024 14:50:47 GMT Received: from smtprelay07.wdc07v.mail.ibm.com ([172.16.1.74]) by ppma11.dal12v.mail.ibm.com (PPS) with ESMTPS id 43gcprtheh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 13 Dec 2024 14:50:47 +0000 Received: from smtpav04.wdc07v.mail.ibm.com (smtpav04.wdc07v.mail.ibm.com [10.39.53.231]) by smtprelay07.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 4BDEokBU30802490 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 13 Dec 2024 14:50:46 GMT Received: from smtpav04.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 7280D58061; Fri, 13 Dec 2024 14:50:46 +0000 (GMT) Received: from smtpav04.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id AA5985805E; Fri, 13 Dec 2024 14:50:45 +0000 (GMT) Received: from gfwa153.aus.stglabs.ibm.com (unknown [9.3.84.127]) by smtpav04.wdc07v.mail.ibm.com (Postfix) with ESMTP; Fri, 13 Dec 2024 14:50:45 +0000 (GMT) From: Ninad Palsule To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, joel@jms.id.au, andrew@codeconstruct.com.au, devicetree@vger.kernel.org, eajames@linux.ibm.com, ninad@linux.ibm.com, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Cc: NINAD PALSULE Subject: [PATCH v1 7/8] ARM: dts: aspeed: system1: Mark GPIO line high/low Date: Fri, 13 Dec 2024 08:50:33 -0600 Message-ID: <20241213145037.3784931-8-ninad@linux.ibm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241213145037.3784931-1-ninad@linux.ibm.com> References: <20241213145037.3784931-1-ninad@linux.ibm.com> MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-GUID: TtDooRRfjmuIUIvNQt1ObXcxJoI3CeBP X-Proofpoint-ORIG-GUID: TtDooRRfjmuIUIvNQt1ObXcxJoI3CeBP 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 mlxscore=0 mlxlogscore=938 spamscore=0 impostorscore=0 phishscore=0 priorityscore=1501 lowpriorityscore=0 clxscore=1015 suspectscore=0 adultscore=0 bulkscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2411120000 definitions=main-2412130103 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241213_065100_890159_D7DC562F X-CRM114-Status: GOOD ( 11.25 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: NINAD PALSULE - 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 ca2d4a292687..be0cd6152c61 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*/ "","","","","","","",""; + + rtc_reset { + gpio-hog; + gpios = ; + input; + line-name = "RST_RTCRST_N"; + }; + + srtc_reset { + gpio-hog; + gpios = ; + input; + line-name = "RST_SRTCRST_N"; + }; + + fan_controller_reset { + gpio-hog; + gpios = ; + output-high; + line-name = "BMC_FAN_E3_SVC_PEX_INT_N"; + }; + + isolate_errs_cpu1 { + gpio-hog; + gpios = ; + output-low; + line-name = "isolate_errs_cpu1"; + }; }; &emmc_controller {