From patchwork Fri Dec 13 14:50:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ninad Palsule X-Patchwork-Id: 13907309 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 4E46CE7717D for ; Fri, 13 Dec 2024 14:56:11 +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=1A4o9TJk57MA+9zwLE6hTD2yisDJsgIjNaPzNrZQc3g=; b=aRtaOlfe7/NN0vLqqMLt7ab4Pg fN0JMuYg5RjAhL3eL8gNF3vNp0CfBnmdbSVX/g/jk8IQr7Rvc3BQPuf3WH7NwHfjXJZGWPYzDqwIj Sa+FaLRIXuEa+ZrELO4BB63QBefj7KZAJq7vlVaEFE4mRQVnKbuMYaF95jsCTXWxBmyCLKgBuO+Kt AmmupkadTNA8oKSK80kTH0K15uUTIfYcqExxHg3qyotsvw5zppzwLFNtrPfqO2jH5Wgc+C7a6xC9U PxroEvOKUxFYLs/hEIDOZe508X4UD7GIONEXO6ePOyTHmA87PzPc+kwK82gP1Wi+f74e/ZVAUXM6h A/5fwd9w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tM75E-00000004Ar0-2dM7; Fri, 13 Dec 2024 14:56:00 +0000 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tM70I-000000049Xx-1yYo for linux-arm-kernel@lists.infradead.org; Fri, 13 Dec 2024 14:50:55 +0000 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 4BDEIvoh022063; Fri, 13 Dec 2024 14:50:43 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=1A4o9TJk57MA+9zwL E6hTD2yisDJsgIjNaPzNrZQc3g=; b=ZwHM5D8HRQ4PKG7Szss0SzWQ5KYiVCfcW 1mfm6sFO6/AdDWM9nHhjWHwS2HNOfPsJf6q34dRP++MYyaZzVRoN/jnjW9Rm2Wu4 Je7uB8+0ERCwouuWcGulSLQeYFy3EiURmkpj+lowH7EcoVtiVBq9w/t0NIuh+Xs4 gONTNgvxmPUAHtHiRLGYeNSlhvQd1zk3KQon+agCYxSytihL3AkteHhdPHoK3eEb lDns8pxyFX1ywx6pwaXP9wk2l3uZEzIfttpTCZUX9hj4sr5wSy6Pt8NvBxEHHhD6 eaeE/fNMXtCrhAIoonxzg3pH/Jnb71npmhL5BMcBV8pDcw2saPp5w== Received: from ppma22.wdc07v.mail.ibm.com (5c.69.3da9.ip4.static.sl-reverse.com [169.61.105.92]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 43g9yhkm5e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 13 Dec 2024 14:50:43 +0000 (GMT) Received: from pps.filterd (ppma22.wdc07v.mail.ibm.com [127.0.0.1]) by ppma22.wdc07v.mail.ibm.com (8.18.1.2/8.18.1.2) with ESMTP id 4BDC5lK1016926; Fri, 13 Dec 2024 14:50:42 GMT Received: from smtprelay02.wdc07v.mail.ibm.com ([172.16.1.69]) by ppma22.wdc07v.mail.ibm.com (PPS) with ESMTPS id 43d12yphgs-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 13 Dec 2024 14:50:42 +0000 Received: from smtpav04.wdc07v.mail.ibm.com (smtpav04.wdc07v.mail.ibm.com [10.39.53.231]) by smtprelay02.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 4BDEofnc37159360 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 13 Dec 2024 14:50:41 GMT Received: from smtpav04.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 106275805E; Fri, 13 Dec 2024 14:50:41 +0000 (GMT) Received: from smtpav04.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 3E50E58050; Fri, 13 Dec 2024 14:50:40 +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:40 +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 1/8] ARM: dts: aspeed: system1: Add IPMB device Date: Fri, 13 Dec 2024 08:50:27 -0600 Message-ID: <20241213145037.3784931-2-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: fKRPsI_CUA403YpcABO9Wt2nvZdUH5no X-Proofpoint-ORIG-GUID: fKRPsI_CUA403YpcABO9Wt2nvZdUH5no 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 phishscore=0 clxscore=1015 priorityscore=1501 spamscore=0 lowpriorityscore=0 suspectscore=0 malwarescore=0 impostorscore=0 mlxscore=0 bulkscore=0 mlxlogscore=758 adultscore=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_065054_511970_7A519189 X-CRM114-Status: GOOD ( 11.36 ) 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 Add IPMB device sitting behind PCH module Signed-off-by: Ninad Palsule --- arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts | 10 ++++++++++ 1 file changed, 10 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 8f77bc9e860c..51a116d7041a 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts @@ -763,6 +763,16 @@ i2c3mux0chn7: i2c@7 { &i2c4 { status = "okay"; + multi-master; + bus-frequency = <1000000>; + + //Set bmc' slave address; + bmc_slave@10 { + compatible = "ipmb-dev"; + reg = <(0x10 | I2C_OWN_SLAVE_ADDRESS)>; + + i2c-protocol; + }; }; &i2c5 { From patchwork Fri Dec 13 14:50:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ninad Palsule X-Patchwork-Id: 13907313 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 EC977E7717D for ; Fri, 13 Dec 2024 15:00:35 +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=UocTi7oRN+iOYa+MQvxKvfZM/TJSV5HA8KqxvwB2eoI=; b=YSpvP/0xdTmUoiwwU+Xs0OHYqs VU0/zN+5l4g2h15/uhsIgkwAKbM7m/ZpMMuxK/vIxyoxUreq+dWBS7soVsqWV1NfD9daHKGzSUbDs FEPUZ5/tW+kdq6j879olJGnVMENEWZdS8XHZskz8JGTJNZtAlgCbNF19Sla434PegTk0qQx+2JChv KG51RmyoKMmsSCek7bL5xeS2xmNBGA9e3k5vWgITDCTPEGnTd9padwIlMTETaN45dAuNgFfaVQ+4f BzjYvRjieCjcsXs6XHlIrOUgMlHSgryKZynHhoXUgg4nRse8CfrRTv7e5f2qq1X9uDXqbAb0vqHEt UDlXhotg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tM79S-00000004Bq2-14hR; Fri, 13 Dec 2024 15:00:22 +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 1tM70M-000000049Z7-1L8A for linux-arm-kernel@lists.infradead.org; Fri, 13 Dec 2024 14:50:59 +0000 Received: from pps.filterd (m0356516.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4BDEIutU006394; Fri, 13 Dec 2024 14:50:44 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=UocTi7oRN+iOYa+MQ vxKvfZM/TJSV5HA8KqxvwB2eoI=; b=aJjhF4v7Fexfc0jPABeRUTBgaQH3Lpa7m RYPsXKVyTVNjhFwokMgw/NPIgLYV3HTByYENNV6SaDWkfIlGroOD5tOr50buyEPa v30cIUuOfyWMwEo/r5Z4UHtfjJXL8aDQzg0WdbtSXyVwFbJ1WeJD8BsaYZAvdv/p jN44cV1SahpxugaPYNW/6RWR7cXj+dB1/ss/AACmbUmxgMqdcspAJDyuxxieMrfK /Zs0OM/z+IUmpn/0hiHhPo1P2y0dMTMQIEpPPpDTs/Y/ulVOP0z9eoSPQK8UrFrg Xxr0qh1t9qv+qUtBFBLvArDCbWaNC4KQXsBH+0Uus0TkXjnZalZOA== 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 43g9nbbg7u-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 13 Dec 2024 14:50:43 +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 4BDBx6KW007781; Fri, 13 Dec 2024 14:50:43 GMT Received: from smtprelay03.wdc07v.mail.ibm.com ([172.16.1.70]) by ppma21.wdc07v.mail.ibm.com (PPS) with ESMTPS id 43ft11ysfa-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 13 Dec 2024 14:50:43 +0000 Received: from smtpav04.wdc07v.mail.ibm.com (smtpav04.wdc07v.mail.ibm.com [10.39.53.231]) by smtprelay03.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 4BDEof9p28902002 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 13 Dec 2024 14:50:41 GMT Received: from smtpav04.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id F32F258054; Fri, 13 Dec 2024 14:50:41 +0000 (GMT) Received: from smtpav04.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 2C7D05805F; Fri, 13 Dec 2024 14:50:41 +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:41 +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 2/8] ARM: dts: aspeed: system1: Add GPIO line name Date: Fri, 13 Dec 2024 08:50:28 -0600 Message-ID: <20241213145037.3784931-3-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: EHRW2FeXuzv9kxVR8eFjUwD7fhBMogCV X-Proofpoint-ORIG-GUID: EHRW2FeXuzv9kxVR8eFjUwD7fhBMogCV 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 priorityscore=1501 adultscore=0 impostorscore=0 malwarescore=0 phishscore=0 clxscore=1015 mlxlogscore=731 lowpriorityscore=0 suspectscore=0 bulkscore=0 spamscore=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_065058_475637_BB640AFB X-CRM114-Status: GOOD ( 13.20 ) 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 Add following GPIO line name so that userspace can control them - Flash write override - pch-reset Signed-off-by: Ninad Palsule --- arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 51a116d7041a..db4b9fb674fe 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts @@ -370,7 +370,7 @@ &gpio0 { /*K0-K7*/ "","","","","","","","", /*L0-L7*/ "","","","","","","","bmc-ready", /*M0-M7*/ "","","","","","","","", - /*N0-N7*/ "fpga-debug-enable","","","","","","","", + /*N0-N7*/ "pch-reset","","","","","flash-write-override","","", /*O0-O7*/ "","","","","","","","", /*P0-P7*/ "","","","","","","","bmc-hb", /*Q0-Q7*/ "","","","","","","pch-ready","", From patchwork Fri Dec 13 14:50:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ninad Palsule X-Patchwork-Id: 13907310 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 E5E28E7717D for ; Fri, 13 Dec 2024 14:57:19 +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=MD6/YjMzy1EUjNUsxCPEgaQcTdupsWZAD//ZJovyAeg=; b=sePC0zZggyV+yF87MjV3Ck9r0u Whl3L+yyomd+xUlAhhr5t/xK7lRzKHydOf5DUEUoT10Jfwus/dm39znugQRaTSLIVwAQLYdv31/mt m18XH3ou+tPRZid10FCGUr8MRgm7C2AhOoKSziBqdICBw/+y0DwwnNJY3hkIx2FdhK0RtNGDudRpR FxxlwJQsnN0mvXzz7WZphwoPFV0qzJ+zazlFvK2qUyPASs3L49T8HK/3H/VChXcnENFCeHvNh1ZnW TDCwCyYeWyevLeP/NTS2XLOlw9YJXG9FjawEcBU2pNIGMi0aakgNDOnfAGo8DCdyxTjbgLeC+0YE9 DfzaBbOw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tM76I-00000004B5B-1Kl8; Fri, 13 Dec 2024 14:57:06 +0000 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tM70K-000000049YW-2Ca3 for linux-arm-kernel@lists.infradead.org; Fri, 13 Dec 2024 14:50:57 +0000 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 4BDEJBbP022666; Fri, 13 Dec 2024 14:50:45 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=MD6/YjMzy1EUjNUsx CPEgaQcTdupsWZAD//ZJovyAeg=; b=M92wGyNrkc62B2PX7uXrXuV9byXsPAZvP YcRbhTRFtVHfFfiK/obpu4y1Z+dg+ovHAK37n4FeN8c92+LnC6Yn2ruhf5u5Peny RElPSfiXAp8ijL+Xs+69oYO1KLi20n7ZAjo1e8XqIQLp6YCpAviUOvGnJmSEfyJj P3kGh+WdyNf1bfohYhXyOdWlghGAQYbTfOdXMxopkHPCRwFCsfD11sHvNc+kG8AA WYBslTiuorHc40kmG/0xxH1SH1RJHoV39H61fWsPzHNQDqI7Db4J80+tdNpU66FW /3Yis5n+eEZDZ1QOOQO56Xo3d3+TdTBH+t9iDVjf48laB0d/neCXA== 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 43g9yhkm5j-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 13 Dec 2024 14:50:45 +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 4BDBWD5a007795; Fri, 13 Dec 2024 14:50:44 GMT Received: from smtprelay03.wdc07v.mail.ibm.com ([172.16.1.70]) by ppma21.wdc07v.mail.ibm.com (PPS) with ESMTPS id 43ft11ysfg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 13 Dec 2024 14:50:44 +0000 Received: from smtpav04.wdc07v.mail.ibm.com (smtpav04.wdc07v.mail.ibm.com [10.39.53.231]) by smtprelay03.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 4BDEogUZ15073934 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 13 Dec 2024 14:50:42 GMT Received: from smtpav04.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id CE81F5805F; Fri, 13 Dec 2024 14:50:42 +0000 (GMT) Received: from smtpav04.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1ACEE58056; Fri, 13 Dec 2024 14:50:42 +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:42 +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 3/8] ARM: dts: aspeed: system1: Add RGMII support Date: Fri, 13 Dec 2024 08:50:29 -0600 Message-ID: <20241213145037.3784931-4-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: dtvFjMW3mnhDsOrs6Yo5bSWSokQVuOmn X-Proofpoint-ORIG-GUID: dtvFjMW3mnhDsOrs6Yo5bSWSokQVuOmn 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 phishscore=0 clxscore=1015 priorityscore=1501 spamscore=0 lowpriorityscore=0 suspectscore=0 malwarescore=0 impostorscore=0 mlxscore=0 bulkscore=0 mlxlogscore=781 adultscore=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_065056_568327_43F32D8A X-CRM114-Status: GOOD ( 12.54 ) 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 system1 has 2 transceiver connected through the RGMII interfaces. Added device tree entry to enable RGMII support. Signed-off-by: Ninad Palsule --- .../dts/aspeed/aspeed-bmc-ibm-system1.dts | 38 ++++++++++++++++--- 1 file changed, 33 insertions(+), 5 deletions(-) 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 db4b9fb674fe..775a95470f5c 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts @@ -425,14 +425,42 @@ &lpc_ctrl { memory-region = <&flash_memory>; }; +&mdio0 { + status = "okay"; + + ethphy0: ethernet-phy@0 { + compatible = "ethernet-phy-ieee802.3-c22"; + reg = <0>; + }; +}; + +&mdio2 { + status = "okay"; + + ethphy2: ethernet-phy@0 { + compatible = "ethernet-phy-ieee802.3-c22"; + reg = <0>; + }; +}; + +&mac0 { + status = "okay"; + + phy-mode = "rgmii-rxid"; + phy-handle = <ðphy0>; + + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_rgmii1_default>; +}; + &mac2 { status = "okay"; + + phy-mode = "rgmii"; + phy-handle = <ðphy2>; + pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_rmii3_default>; - clocks = <&syscon ASPEED_CLK_GATE_MAC3CLK>, - <&syscon ASPEED_CLK_MAC3RCLK>; - clock-names = "MACCLK", "RCLK"; - use-ncsi; + pinctrl-0 = <&pinctrl_rgmii3_default>; }; &mac3 { From patchwork Fri Dec 13 14:50:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ninad Palsule X-Patchwork-Id: 13907314 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 F2AADE7717D for ; Fri, 13 Dec 2024 15:01:43 +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=scCqRt9+wXG08mIFrmDBUHCfl6IMYXxJXkTm3sBWNJE=; b=jQE11QBz0iF/4E9QuyM0jfbuzS lqajWnQXWkcg0RHj5Jw7BFpvGhPo9as3UB6zQ6u1g9FfKgBvYaMCwIFO3/JXUDzaemr5GDkHd2yf3 TYAhWXzYNWn8cQbwrc4ZTGO5kq4oMnR3f1iGVxBjVxd/TBnIm13K7ErOot90AB6Uhe6Yl2YiwAF/P 3lOgMpQyCor0BOAAE/gl5XK5CjXDTH8j+3oyXa/dYPzKrfGWGyN7Vya1TZWMdVB5sfXAzI5KdjoO5 AK21tYNuHn+ZH3aye3yH8fOraV4R2Sqw7PElQTDOIE6zywQRQG2X5+Ca7ZMncwRd6sLRS004uHLif NVh5Gpmg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tM7AV-00000004C7D-3uFc; Fri, 13 Dec 2024 15:01:27 +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 1tM70N-000000049Zr-0dJE for linux-arm-kernel@lists.infradead.org; Fri, 13 Dec 2024 14:51:00 +0000 Received: from pps.filterd (m0356516.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4BDEIwoK006580; Fri, 13 Dec 2024 14:50:45 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=scCqRt9+wXG08mIFr mDBUHCfl6IMYXxJXkTm3sBWNJE=; b=rWz4pY6IFzXGYV7vfj0N4oNWbD/VJqpeF d2t3JpAQ7m0kAT0YX+642GMJP4v3Kq/ntKXV1DNYPACUBZImpi3ECpK2W5kSkhtr dNDNzwSGR1omsm0MhCHRt6zQbvpZ7ZX+EH9LQfHc1/WRv4W/4C9sWCd9pQVNAS4d VZg7SINEaMtE1hIKlUTZ8S5AmgMKCN5yVkQhlIyJWnwt1FIsM4S30M/JljsffDik yoUYBTWTh3o7xBFl7VgQ9dUpdX/d/IkP3nONHx7+YVqje04TIG4nIB67GhMBXnqS XtkwwHkaQ0S2Lzz8CSmnaWFIlGA3slOyK7yRp7mvykBBit/Yhda1Q== Received: from ppma22.wdc07v.mail.ibm.com (5c.69.3da9.ip4.static.sl-reverse.com [169.61.105.92]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 43g9nbbg83-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 13 Dec 2024 14:50:45 +0000 (GMT) Received: from pps.filterd (ppma22.wdc07v.mail.ibm.com [127.0.0.1]) by ppma22.wdc07v.mail.ibm.com (8.18.1.2/8.18.1.2) with ESMTP id 4BDCc80H016910; Fri, 13 Dec 2024 14:50:44 GMT Received: from smtprelay04.wdc07v.mail.ibm.com ([172.16.1.71]) by ppma22.wdc07v.mail.ibm.com (PPS) with ESMTPS id 43d12yphh6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 13 Dec 2024 14:50:44 +0000 Received: from smtpav04.wdc07v.mail.ibm.com (smtpav04.wdc07v.mail.ibm.com [10.39.53.231]) by smtprelay04.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 4BDEohgO24314476 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 13 Dec 2024 14:50:43 GMT Received: from smtpav04.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C47A158060; Fri, 13 Dec 2024 14:50:43 +0000 (GMT) Received: from smtpav04.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id F31DB58045; Fri, 13 Dec 2024 14:50:42 +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:42 +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 4/8] ARM: dts: aspeed: system1: Reduce sgpio speed Date: Fri, 13 Dec 2024 08:50:30 -0600 Message-ID: <20241213145037.3784931-5-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: WpCXbPnCtcvV1vcdy7V6-yIWjjpNSiqq X-Proofpoint-ORIG-GUID: WpCXbPnCtcvV1vcdy7V6-yIWjjpNSiqq 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 priorityscore=1501 adultscore=0 impostorscore=0 malwarescore=0 phishscore=0 clxscore=1015 mlxlogscore=518 lowpriorityscore=0 suspectscore=0 bulkscore=0 spamscore=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_065059_302458_AF30DC66 X-CRM114-Status: GOOD ( 13.77 ) 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 Reduce sgpio speed to improve stability with the current PCB layout. Signed-off-by: Ninad Palsule --- arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 775a95470f5c..ebbb14241256 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts @@ -401,7 +401,7 @@ &emmc { &sgpiom0 { status = "okay"; ngpios = <128>; - bus-frequency = <1000000>; + bus-frequency = <500000>; }; &ibt { From patchwork Fri Dec 13 14:50:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ninad Palsule X-Patchwork-Id: 13907311 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 3A158E7717D for ; Fri, 13 Dec 2024 14:58:21 +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=4QMQ6p9jwb10HzoPtj8Rx2HNidg4JJwpDtZyBmY6kE0=; b=IAi02f9Und3jIj2tKp7zpKldLN dGL5UTSLIo+g/9YnBXv3h9cVqMSqXFKPzBV6HOfaCHKoe6IQN6CwqDLyfc0wP/Pi7exd77s/KM8Z8 nVmCOjFc4Fjh/IzsyjtQ29ormQrWQ6D69RCh2rIB0iUtwriMkfCMDgyMAzXhrO3VOneaZjoUhUXom iDAqzCo/Ad+hyrn8tPvd8NPYCZvR7wq8s9B5vgrUvVa98y6FzoijiPrm455ZECBHNtp1cspCay1ma wv8pWKj6NKsJ1mayUfWgZFWl4cs8J6JKy+F/y7TtvaznpovCsce72i7Fh+nsnRFrMLCVYu7jjldW6 Y8eW0lHw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tM77K-00000004BMd-49T7; Fri, 13 Dec 2024 14:58:10 +0000 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tM70K-000000049Yq-3tU2 for linux-arm-kernel@lists.infradead.org; Fri, 13 Dec 2024 14:50:57 +0000 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 4BDEIuv4021999; Fri, 13 Dec 2024 14:50:47 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=4QMQ6p9jwb10HzoPt j8Rx2HNidg4JJwpDtZyBmY6kE0=; b=VspaazLpW9rOKpToG1jTn79EkG6DktuKK jf6B774Lo1eDL12J598nHa9iLsUGxnDnSFjzHMxR3iWEl+pgKNdoXcALhNT/cWz4 7gExjfze6FDqIjJIrJS63lZZ4g8WysdYZgKVaGKYkQUTK+0gliwoafZWHV9rGNrt 0Dtb4pyN3MH+KAApZwVP5+/db/5nvyxoa5fPhZWYkeXs/QeGZWV5CsIntMw42wTx PestmMlmXSm5WE+mnbxMAWPxolwdLvbvTzOvySjX0dOUOaZYWoplZqotGihuV+2g fFbSPoqMxBYHazOZsw1Ov2uPZ9aq9ijfRlfmWBcyrB2DAor3k998A== Received: from ppma22.wdc07v.mail.ibm.com (5c.69.3da9.ip4.static.sl-reverse.com [169.61.105.92]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 43g9yhkm5n-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 13 Dec 2024 14:50:46 +0000 (GMT) Received: from pps.filterd (ppma22.wdc07v.mail.ibm.com [127.0.0.1]) by ppma22.wdc07v.mail.ibm.com (8.18.1.2/8.18.1.2) with ESMTP id 4BDCc80I016910; Fri, 13 Dec 2024 14:50:45 GMT Received: from smtprelay05.wdc07v.mail.ibm.com ([172.16.1.72]) by ppma22.wdc07v.mail.ibm.com (PPS) with ESMTPS id 43d12yphh8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 13 Dec 2024 14:50:45 +0000 Received: from smtpav04.wdc07v.mail.ibm.com (smtpav04.wdc07v.mail.ibm.com [10.39.53.231]) by smtprelay05.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 4BDEoiTt31523466 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 13 Dec 2024 14:50:44 GMT Received: from smtpav04.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9FB0258045; Fri, 13 Dec 2024 14:50:44 +0000 (GMT) Received: from smtpav04.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E0ADA58062; Fri, 13 Dec 2024 14:50:43 +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:43 +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 5/8] ARM: dts: aspeed: system1: Update LED gpio name Date: Fri, 13 Dec 2024 08:50:31 -0600 Message-ID: <20241213145037.3784931-6-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: Qdq6CIj-01rhi3kgUlQ4sLh129MHagD- X-Proofpoint-ORIG-GUID: Qdq6CIj-01rhi3kgUlQ4sLh129MHagD- 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 phishscore=0 clxscore=1015 priorityscore=1501 spamscore=0 lowpriorityscore=0 suspectscore=0 malwarescore=0 impostorscore=0 mlxscore=0 bulkscore=0 mlxlogscore=775 adultscore=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_065056_972287_0E8FAA30 X-CRM114-Status: GOOD ( 10.84 ) 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 Rename LEDs with meaningful names for easier identification. Signed-off-by: Ninad Palsule --- .../dts/aspeed/aspeed-bmc-ibm-system1.dts | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) 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 ebbb14241256..149b9ad23dbb 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts @@ -116,63 +116,63 @@ vga_memory: region@bf000000 { leds { compatible = "gpio-leds"; - led-0 { + led-bmc-ready { gpios = <&gpio0 ASPEED_GPIO(L, 7) GPIO_ACTIVE_HIGH>; }; - led-1 { + led-bmc-hb { gpios = <&gpio0 ASPEED_GPIO(P, 7) GPIO_ACTIVE_HIGH>; }; - led-2 { + led-rear-enc-fault0 { gpios = <&gpio0 ASPEED_GPIO(S, 6) GPIO_ACTIVE_HIGH>; }; - led-3 { + led-rear-enc-id0 { gpios = <&gpio0 ASPEED_GPIO(S, 7) GPIO_ACTIVE_HIGH>; }; - led-4 { + led-fan0-fault { gpios = <&pca3 5 GPIO_ACTIVE_LOW>; }; - led-5 { + led-fan1-fault { gpios = <&pca3 6 GPIO_ACTIVE_LOW>; }; - led-6 { + led-fan2-fault { gpios = <&pca3 7 GPIO_ACTIVE_LOW>; }; - led-7 { + led-fan3-fault { gpios = <&pca3 8 GPIO_ACTIVE_LOW>; }; - led-8 { + led-fan4-fault { gpios = <&pca3 9 GPIO_ACTIVE_LOW>; }; - led-9 { + led-fan5-fault { gpios = <&pca3 10 GPIO_ACTIVE_LOW>; }; - led-a { + led-fan6-fault { gpios = <&pca3 11 GPIO_ACTIVE_LOW>; }; - led-b { + led-nvmed0-fault { gpios = <&pca4 4 GPIO_ACTIVE_HIGH>; }; - led-c { + led-nvmed1-fault { gpios = <&pca4 5 GPIO_ACTIVE_HIGH>; }; - led-d { + led-nvmed2-fault { gpios = <&pca4 6 GPIO_ACTIVE_HIGH>; }; - led-e { + led-nvmed3-fault { gpios = <&pca4 7 GPIO_ACTIVE_HIGH>; }; }; @@ -368,14 +368,14 @@ &gpio0 { /*I0-I7*/ "","","","","","","","", /*J0-J7*/ "","","","","","","","", /*K0-K7*/ "","","","","","","","", - /*L0-L7*/ "","","","","","","","bmc-ready", + /*L0-L7*/ "","","","","","","","led-bmc-ready", /*M0-M7*/ "","","","","","","","", /*N0-N7*/ "pch-reset","","","","","flash-write-override","","", /*O0-O7*/ "","","","","","","","", - /*P0-P7*/ "","","","","","","","bmc-hb", + /*P0-P7*/ "","","","","","","","led-bmc-hb", /*Q0-Q7*/ "","","","","","","pch-ready","", /*R0-R7*/ "","","","","","","","", - /*S0-S7*/ "","","","","","","rear-enc-fault0","rear-enc-id0", + /*S0-S7*/ "","","","","","","led-rear-enc-fault0","led-rear-enc-id0", /*T0-T7*/ "","","","","","","","", /*U0-U7*/ "","","","","","","","", /*V0-V7*/ "","rtc-battery-voltage-read-enable","","power-chassis-control","","","","", From patchwork Fri Dec 13 14:50:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ninad Palsule X-Patchwork-Id: 13907312 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 5CC8CE7717D for ; Fri, 13 Dec 2024 14:59:28 +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=JAD71IwOAA32z1JJ/0HMb/xqrSSgnABthIuidtyzRmg=; b=cze4OHsk8F3z1a8XXTUrlA60Di FISvGk1chrp3lpwnSivk2bpwiQSyf+JJTcfo4bumkyhngpG1iU/elI46LbFkrX4cJBPAOJ6Ypt/mh 6FyF4bxkwS0TqeX+tt/o0Q91tSeiRMO3gaQueQQHLMsWoLDxKfZHb4CUXqJk2faC95etJ79x/RaIs OELTP0lMfsdOUYp/uZ0Ab84rBQfe9KNnIMbcXVKS6+q9v+gWcnc20grzH/F98Yp6PlLMeSqy3SFtI XRaq+GS8APVab1Re5mB/CDG8lyodREfH5rfKf/ClL49kk4olESu9ucqFbf+btRqwnr5y1o5gFL/f/ GKXFgBmQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tM78O-00000004BaN-2dJ6; Fri, 13 Dec 2024 14:59:16 +0000 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tM70L-000000049ZE-47Q2 for linux-arm-kernel@lists.infradead.org; Fri, 13 Dec 2024 14:50:59 +0000 Received: from pps.filterd (m0360083.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4BDEIu8Q017056; 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=JAD71IwOAA32z1JJ/ 0HMb/xqrSSgnABthIuidtyzRmg=; b=RN7ny8VNWs4Bulybi304DEF/W6Avm8zMo 06oPR+A2AaWUpGkhAqXsc6AeH5gFh52gki/xcvBBk9vDmDvyJiYSzfu8+Q5orFZ3 ygEWzyA8WcQrerog4hYSVwqhLkBS9ItZi/OsjfB7JWDxyUSeglaixLrfYWkiZvtT ELByXakHpQXcMxAPhPyeeXiKrVXgaYFHOAzCshopTinT7YSZe2Xv8EMNElioDwq6 WbmjEU1KF2NC8wWA8it7AXEsdFcDu2DXFVlYravyS05KjOQOaY5pdQczaB9Vwtkt 767a7P8s0f1YJSurTd3tEVJ6z8JbneQE5EunbGErob1Ep6RuWGNVQ== Received: from ppma23.wdc07v.mail.ibm.com (5d.69.3da9.ip4.static.sl-reverse.com [169.61.105.93]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 43gddbtv9x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 13 Dec 2024 14:50:47 +0000 (GMT) Received: from pps.filterd (ppma23.wdc07v.mail.ibm.com [127.0.0.1]) by ppma23.wdc07v.mail.ibm.com (8.18.1.2/8.18.1.2) with ESMTP id 4BDD63g6018618; Fri, 13 Dec 2024 14:50:46 GMT Received: from smtprelay06.wdc07v.mail.ibm.com ([172.16.1.73]) by ppma23.wdc07v.mail.ibm.com (PPS) with ESMTPS id 43d26kx6kw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 13 Dec 2024 14:50:46 +0000 Received: from smtpav04.wdc07v.mail.ibm.com (smtpav04.wdc07v.mail.ibm.com [10.39.53.231]) by smtprelay06.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 4BDEojVj18612950 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 13 Dec 2024 14:50:45 GMT Received: from smtpav04.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 8E78B58052; Fri, 13 Dec 2024 14:50:45 +0000 (GMT) Received: from smtpav04.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C58BF58054; Fri, 13 Dec 2024 14:50:44 +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:44 +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 6/8] ARM: dts: aspeed: system1: Remove VRs max8952 Date: Fri, 13 Dec 2024 08:50:32 -0600 Message-ID: <20241213145037.3784931-7-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-ORIG-GUID: 5bAFWIizQVQFb68IYlBMzgxTpdTeSbAT X-Proofpoint-GUID: 5bAFWIizQVQFb68IYlBMzgxTpdTeSbAT 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 phishscore=0 bulkscore=0 clxscore=1015 suspectscore=0 mlxlogscore=999 adultscore=0 impostorscore=0 lowpriorityscore=0 malwarescore=0 priorityscore=1501 mlxscore=0 spamscore=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_065058_029572_BD05CA0C X-CRM114-Status: GOOD ( 10.82 ) 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 Removing voltage regulators max8952 from device tree. Those are fully controlled by hardware and firmware should not thouch them. Signed-off-by: Ninad Palsule --- .../dts/aspeed/aspeed-bmc-ibm-system1.dts | 34 ------------------- 1 file changed, 34 deletions(-) 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 149b9ad23dbb..ca2d4a292687 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts @@ -514,23 +514,6 @@ eeprom@50 { compatible = "atmel,24c64"; reg = <0x50>; }; - - regulator@60 { - compatible = "maxim,max8952"; - reg = <0x60>; - - max8952,default-mode = <0>; - max8952,dvs-mode-microvolt = <1250000>, <1200000>, - <1050000>, <950000>; - max8952,sync-freq = <0>; - max8952,ramp-speed = <0>; - - regulator-name = "VR_v77_1v4"; - regulator-min-microvolt = <770000>; - regulator-max-microvolt = <1400000>; - regulator-always-on; - regulator-boot-on; - }; }; &i2c1 { @@ -1227,23 +1210,6 @@ eeprom@50 { compatible = "atmel,24c64"; reg = <0x50>; }; - - regulator@60 { - compatible = "maxim,max8952"; - reg = <0x60>; - - max8952,default-mode = <0>; - max8952,dvs-mode-microvolt = <1250000>, <1200000>, - <1050000>, <950000>; - max8952,sync-freq = <0>; - max8952,ramp-speed = <0>; - - regulator-name = "VR_v77_1v4"; - regulator-min-microvolt = <770000>; - regulator-max-microvolt = <1400000>; - regulator-always-on; - regulator-boot-on; - }; }; &i2c11 { 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 { From patchwork Fri Dec 13 14:50:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ninad Palsule X-Patchwork-Id: 13907315 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 43EC2E7717F for ; Fri, 13 Dec 2024 15:02:45 +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:To:From:Reply-To: Cc:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=cMh6AeyFpvczebWCh8FNv94z64GtVsxRzl/pqnu6d8U=; b=yl0oCD7I64CI3ALByeBnz6Z4Sh DPe28yMsbdCnVLn7kg65hhP7ADH72qLQzQL1qLIzKLsMOlWg1Xv2MLn+e0ugrHiac/Zyg8P6c8Q85 kpYtInR1oxxp7R3hngksKtpc+pDrEuKvhk85UI21Vqh5qbkdpQ2tgGuTfXtBWOKtMmbLrpozgqYb5 qWQ4jN+J4gp8L4dk9w5Z56NNt7ek6/JxTne3oru42uheHXYxMq9BhoBE7AmcPHunBQLz5wpIE8atk m2pBQh3s2ls2alrODkJof9LImQmHk9sBvikPgsI6VNcFrsysZlPotI6fSZ+a7LmuoEB5xwxpke45Q ivwgweFA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tM7BY-00000004CLH-29bm; Fri, 13 Dec 2024 15:02:32 +0000 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tM70N-000000049aG-2lhl for linux-arm-kernel@lists.infradead.org; Fri, 13 Dec 2024 14:51:00 +0000 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 4BDEIvoi022063; Fri, 13 Dec 2024 14:50:49 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=cMh6AeyFpvczebWCh 8FNv94z64GtVsxRzl/pqnu6d8U=; b=WO7A8we5Jf+NW479G9PN/JunpaGHQbfGZ agkzf46PhcfmVVWrr9129WKOE3JNu+z+3cnGD6TeJ2gXmMGgHIXLxPo1yBLmXTfN EzbBX2GMUVoGTNaW7or3DfrpPXC84i+h7PnPirjt9UXBiT1+3dE5xDhPqSfgoWKO VUsPtgTosQCBq7xwNMA3U4nE2U+XTRY+5eKJkyQHyRp3tDy26a2qN+Mk7XAyh7bA TqpC69QODv4QYVAD9LVooMfeAbUe36UbrwC0SdGofT06kfiplDQ2g71Tu7Oe4hjU 2niI3KMQaQUbd45Q86OBttacDA9pipg5mE9B76sHNMkWiU+mbJsVA== Received: from ppma13.dal12v.mail.ibm.com (dd.9e.1632.ip4.static.sl-reverse.com [50.22.158.221]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 43g9yhkm61-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 13 Dec 2024 14:50:49 +0000 (GMT) Received: from pps.filterd (ppma13.dal12v.mail.ibm.com [127.0.0.1]) by ppma13.dal12v.mail.ibm.com (8.18.1.2/8.18.1.2) with ESMTP id 4BDDt6mx023023; Fri, 13 Dec 2024 14:50:48 GMT Received: from smtprelay02.dal12v.mail.ibm.com ([172.16.1.4]) by ppma13.dal12v.mail.ibm.com (PPS) with ESMTPS id 43d2wke1f1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 13 Dec 2024 14:50:48 +0000 Received: from smtpav04.wdc07v.mail.ibm.com (smtpav04.wdc07v.mail.ibm.com [10.39.53.231]) by smtprelay02.dal12v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 4BDEolCG32637568 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 13 Dec 2024 14:50:47 GMT Received: from smtpav04.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 3F7B858056; Fri, 13 Dec 2024 14:50:47 +0000 (GMT) Received: from smtpav04.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 8E0E858045; Fri, 13 Dec 2024 14:50:46 +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:46 +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 Subject: [PATCH v1 8/8] ARM: dts: aspeed: system1: Disable gpio pull down Date: Fri, 13 Dec 2024 08:50:34 -0600 Message-ID: <20241213145037.3784931-9-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: AIwkqErLoC_II4uRgkPVjB1yp8bRh88Y X-Proofpoint-ORIG-GUID: AIwkqErLoC_II4uRgkPVjB1yp8bRh88Y 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 phishscore=0 clxscore=1015 priorityscore=1501 spamscore=0 lowpriorityscore=0 suspectscore=0 malwarescore=0 impostorscore=0 mlxscore=0 bulkscore=0 mlxlogscore=849 adultscore=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_065059_702172_7B286250 X-CRM114-Status: GOOD ( 11.54 ) 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 Disable internal pull down for the following GPIO lines. - GPIOL4 - Reset PCH registers in the rtc. - GPIOL5 - Reset portition of Intel ME - GPIOL6 - FM smi active - GPIOL7 - psu all dc power good. 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 be0cd6152c61..c9575dd59b03 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-system1.dts @@ -355,7 +355,35 @@ &uhci { status = "okay"; }; +&pinctrl { + pinctrl_gpiol4_unbiased: gpiol4 { + pins = "C15"; + bias-disable; + }; + + pinctrl_gpiol5_unbiased: gpiol5 { + pins = "F15"; + bias-disable; + }; + + pinctrl_gpiol6_unbiased: gpiol6 { + pins = "B14"; + bias-disable; + }; + + pinctrl_gpiol7_unbiased: gpiol7 { + pins = "C14"; + bias-disable; + }; +}; + &gpio0 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpiol4_unbiased + &pinctrl_gpiol5_unbiased + &pinctrl_gpiol6_unbiased + &pinctrl_gpiol7_unbiased>; + gpio-line-names = /*A0-A7*/ "","","","","","","","", /*B0-B7*/ "","","","","bmc-tpm-reset","","","",