From patchwork Fri Aug 30 09:21:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Yin X-Patchwork-Id: 13784797 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 9DC73CA0EF9 for ; Fri, 30 Aug 2024 09:32:46 +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=24ONLHDIg4IPXcssauearHwBYBXH9GZM3HUtiuvktw0=; b=Vq710ASJRqlGKvyI/+ud0geaJf 7P5ErvjXpvInv4MMD8Ovr/9fzCiKDXe3/5S0ZvGaLGxTnHyWTQI/L7tW2NJjk7vW1Iwsqe5mUzweg x7iNzbGaCYAEmVeW+T/hb2gMCGIW8gI3wk2jPf65GFDEwfZvRyZS+wUIQ57TNiQGSGuegmfBGVBQV pEMAHSFGIIsMj2+Se5GVMv8bw4su/KN9+E3PSDGEqSSFb//DisIBB4NnTYPn16cx9lq5Ol8ptiVVG zZEfjak3SCYTZYfCELoy7/N/vN1N+1i/rhYljbhvuuyexU/on/WE5u9A8N1Bg+HSfxxvexdzqSQHR 8wwfI5Kg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sjxzf-00000005ZaX-2Fzq; Fri, 30 Aug 2024 09:32:35 +0000 Received: from mail-pf1-x434.google.com ([2607:f8b0:4864:20::434]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sjxrH-00000005Wbw-44Ah for linux-arm-kernel@lists.infradead.org; Fri, 30 Aug 2024 09:23:57 +0000 Received: by mail-pf1-x434.google.com with SMTP id d2e1a72fcca58-71434174201so1378453b3a.0 for ; Fri, 30 Aug 2024 02:23:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725009835; x=1725614635; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=24ONLHDIg4IPXcssauearHwBYBXH9GZM3HUtiuvktw0=; b=PM450BHRQldLZPWke0sRMrc1EgoRv5omdRBGe1e0JPjmxyFyhU2+p64rN8L/ZgTJG7 neo6CDw0gSyGWPkmjuPi3axRqzG5QPWdTdm+Gmv4MWXixnhucVyFHrS7oOzoRSdNOHEM jl5U+8m+MfMebhcvfFUe27ds4qQb13im4GQ8j9HxeHNshuvHGaqUyCeJRcKgKL00U3Jc kF/6OKKKk7TYdO8rKRDqpJA7rPqm/J8VeMwfkT0+7gGum400tN/laDCAAkHSMtPNPryM /Dy4ms3xZjLL3ou7JFzG8kFNTKT4nPC8psb6syj8SmfK0HAsbS21nLLQ7dhM/GWEsgGE ZWsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725009835; x=1725614635; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=24ONLHDIg4IPXcssauearHwBYBXH9GZM3HUtiuvktw0=; b=IBDyOtMgmsbmuFIqMqUSPxfABnKnQxssEbog51FQPuTCikNAJ2tRsEelD2dP4R1ICw aThUc/ED0MK4cetE5QSvmn2yb+PZ2ASpMGRRWPOKwNZKVte79XbiW4ZxSSyju1COkCWa wAL2b3BS55wxDQeHG0th2Eak+/8TmxDhpdcTw8PswVhOSA3Mi1a37MxlNk/2UZC8DTAx avWKyywLnN6n1K4p9BPtsubAkjxXVijj33Ay/wuxAhhCUe17x2rwKFVQq4Ik0LqKeM9q Q7dRlPZc33HcJqYtVWnMNWc0Li8lTJ/sNLR5pykqPi+iSJ3Gpx8UIQa4+3oyysEew75i qKNg== X-Forwarded-Encrypted: i=1; AJvYcCX3GGBDumIk345+aO5e1fg+I7QsxbUHRbrRaxKAX7AAzHEUYLsqgEjgsrGcCXe5s7uoWEhs9oBiOGR2UFCgNWb5@lists.infradead.org X-Gm-Message-State: AOJu0Yypp6ulKfhrzZ5ty1424SpSG7WhQ2Rg7nl0aQNLccR7s0LVeSGI CCfL5LScB+Q4RmXAJVXOgqbLtokw1ejRXOrJwHgSElrpKA48iZPg X-Google-Smtp-Source: AGHT+IHVds/gNBeqiQw80n4Y1TOS9j/5h8Ndwc6d6YZI5Jzr6qTP18YyB5qpXOuOINGKTBpa6o8eng== X-Received: by 2002:a05:6a00:6f13:b0:714:2198:26bd with SMTP id d2e1a72fcca58-715dfb46bedmr6360284b3a.11.1725009834948; Fri, 30 Aug 2024 02:23:54 -0700 (PDT) Received: from peter-bmc.dhcpserver.bu9bmc.local (61-220-246-151.hinet-ip.hinet.net. [61.220.246.151]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7d22e66d8f4sm2566744a12.0.2024.08.30.02.23.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Aug 2024 02:23:54 -0700 (PDT) From: Peter Yin To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/2] ARM: dts: aspeed: Harma: add rtc device Date: Fri, 30 Aug 2024 17:21:46 +0800 Message-Id: <20240830092148.1574520-2-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240830092148.1574520-1-peteryin.openbmc@gmail.com> References: <20240830092148.1574520-1-peteryin.openbmc@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240830_022356_026733_A92A0D0A X-CRM114-Status: GOOD ( 11.49 ) 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 Add "nxp,pcf8563" device and the slave address is 0x51. Signed-off-by: Peter Yin --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts index cf3f807a38fe..92068c65eae4 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts @@ -135,10 +135,6 @@ &mac3 { use-ncsi; }; -&rtc { - status = "okay"; -}; - &fmc { status = "okay"; @@ -506,6 +502,11 @@ imux31: i2c@3 { #address-cells = <1>; #size-cells = <0>; reg = <3>; + + rtc@51 { + compatible = "nxp,pcf8563"; + reg = <0x51>; + }; }; }; }; From patchwork Fri Aug 30 09:21:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Yin X-Patchwork-Id: 13784807 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 315E2CA0EF7 for ; Fri, 30 Aug 2024 09:33:38 +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=2qJ5H4TeLGmSdfoWP7b3jAie759gREUlRrWmjjXFdQw=; b=t8MbSqRVNdxbp5jP4fqyLJXp8J S7nMbH5Vn4swgegggjLgEPMnYQ8R6ANE+RX4A5pgYfjHfV3DqBfzWVKRSTsK5WYEsZ0JlnTnKCh8p rHV1rKI6omkAuYvg5HXiWdcEIih0H+y88aJ+xmNn7oxs821ekm5b8c9MS5rCmvwvRYGQrZE2pSdZZ MHggdz2KbLk7t6PRsWpAq7G0wJI3FHtQ2uijoTlZ+QFvq8AeuqTGzaAG+rPLXczeId+Vdivvclgbr 9/tCGzRtS3vT7WZoMcUvUIkDdOeIqurigTCBe8rnsqLhsPcdn9Ax7QwHFVGTxpVc3KivXDMT8pSNq FQjinHcQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sjy0X-00000005Zu1-12aV; Fri, 30 Aug 2024 09:33:29 +0000 Received: from mail-oi1-x22d.google.com ([2607:f8b0:4864:20::22d]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sjxrK-00000005Wcg-2N7w for linux-arm-kernel@lists.infradead.org; Fri, 30 Aug 2024 09:23:59 +0000 Received: by mail-oi1-x22d.google.com with SMTP id 5614622812f47-3df121f7088so365451b6e.2 for ; Fri, 30 Aug 2024 02:23:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725009837; x=1725614637; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=2qJ5H4TeLGmSdfoWP7b3jAie759gREUlRrWmjjXFdQw=; b=EqkxVTfgEHckgeh7VDvWVUFfsbo9LQgxp75ov+ubuH0jRxoFzhfIyaZFdL9VykjKnK dmIaWHUGHGI9VpNEWj25CUZT63K4eEnmGPHqZs5aOZtdUUbwey6O0dolUQux/6qD8s3P 5jBEOuYRzqYGv1Rbh9BW7TPr+1Rb3tdTXRdLXUA6yd8OCXfi4oyEUyrzROgibJ52LxKs GTzTmm2nS2QxZlOotRY8Ti8y8Oyrv5z+9B9PJCJ+D8VLOrLl0X6PdldFc52wZ0ZdX+SG FUvtnJVYTlmrL/cZIYSTfy3dR/FrM8ah/WAsj/9wDhmEeKkJgHQ4TmYfAw85V8/Y9Sgz K5hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725009837; x=1725614637; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2qJ5H4TeLGmSdfoWP7b3jAie759gREUlRrWmjjXFdQw=; b=AAJ8ehfKDppnnYbvzsHObgyAmWP40fWAx3YE+r1i+dFjin3zvSoTsP/f6u615Q6kSO 08RToDLh0Kl2Ie1CfQjhIa4X/OsfVDZ4PFDfhdEk84xtZIBtxwdZUimfUuea9u5s3wW1 TxFmXJSLf8OjQXFEeNyKhuwzJ0x07e+U4y9C4li0PHCRvbRHV3aomx99ED+I+jvPhlQR WMR/DDmx4twtQWlt0xxj4I3v2bk9nkkrbqFqTxIQbwpPCQRtxwoHWksjscZYf/Qt+Hf9 rpFkij87DD9kxd17Cp1F8Ce+Mn0qZf0uHjhlXbn9wX65NGcFo51bnPSvP0jevZV2VhBM d3Rw== X-Forwarded-Encrypted: i=1; AJvYcCV4kX7YZX377lpnBrVZ0jx/c1Q0laDACXvq8pdYu3DfV/jtgkkkBOoHrYp1a//yQaYkb3hrseYZcLuKRUefoMQ1@lists.infradead.org X-Gm-Message-State: AOJu0YxtxRUoOkZcU8S1CMGzfPpHgk6HNGtsp9woUFOo3HZAtmTOWqe2 pKzgrBdPB7xMEAPfyRq95FHaUO8QjQHghwv5ReTAd6NsjuSVyqTK X-Google-Smtp-Source: AGHT+IFM1tLoimDRFy3xRY0N39UW6MPxB6ovxXNeLIg6sw1fC7i7BPyaqG7A6GRFXJb8TCfCa6tCXQ== X-Received: by 2002:a05:6808:178c:b0:3db:2070:909d with SMTP id 5614622812f47-3df05d7b3bdmr6260766b6e.19.1725009837322; Fri, 30 Aug 2024 02:23:57 -0700 (PDT) Received: from peter-bmc.dhcpserver.bu9bmc.local (61-220-246-151.hinet-ip.hinet.net. [61.220.246.151]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7d22e66d8f4sm2566744a12.0.2024.08.30.02.23.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Aug 2024 02:23:56 -0700 (PDT) From: Peter Yin To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/2] ARM: dts: aspeed: Harma: update sgpio line name Date: Fri, 30 Aug 2024 17:21:47 +0800 Message-Id: <20240830092148.1574520-3-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240830092148.1574520-1-peteryin.openbmc@gmail.com> References: <20240830092148.1574520-1-peteryin.openbmc@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240830_022358_625963_8D0BAB5F X-CRM114-Status: UNSURE ( 9.35 ) X-CRM114-Notice: Please train this message. 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 power-card-enable uart-switch-button power-fault-n asic0-card-type-detection0-n asic0-card-type-detection1-n asic0-card-type-detection2-n uart-switch-lsb uart-switch-msb presence-cmm Signed-off-by: Peter Yin --- .../dts/aspeed/aspeed-bmc-facebook-harma.dts | 32 ++++++++----------- 1 file changed, 14 insertions(+), 18 deletions(-) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts index 92068c65eae4..5440181730f6 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts @@ -393,12 +393,6 @@ gpio@31 { reg = <0x31>; gpio-controller; #gpio-cells = <2>; - - gpio-line-names = - "","","","", - "","","presence-cmm","", - "","","","", - "","","",""; }; // PTTV FRU @@ -422,12 +416,6 @@ gpio@31 { reg = <0x31>; gpio-controller; #gpio-cells = <2>; - - gpio-line-names = - "","","","", - "","","presence-cmm","", - "","","","", - "","","",""; }; // Aegis FRU @@ -566,7 +554,7 @@ &gpio0 { /*B0-B7*/ "","","","", "bmc-spi-mux-select-0","led-identify","","", /*C0-C7*/ "reset-cause-platrst","","","","", - "cpu0-err-alert","","", + "cpu0-err-alert","power-card-enable","", /*D0-D7*/ "","","sol-uart-select","","","","","", /*E0-E7*/ "","","","","","","","", /*F0-F7*/ "","","","","","","","", @@ -585,7 +573,9 @@ &gpio0 { /*O0-O7*/ "","","","","","","","", /*P0-P7*/ "power-button","power-host-control", "reset-button","","led-power","","","", - /*Q0-Q7*/ "","","","","","power-chassis-control","","", + /*Q0-Q7*/ + "","","","", + "","power-chassis-control","","uart-switch-button", /*R0-R7*/ "","","","","","","","", /*S0-S7*/ "","","","","","","","", /*T0-T7*/ "","","","","","","","", @@ -673,7 +663,7 @@ &sgpiom0 { "presence-asic-modules-0","rt-cpu0-p1-force-enable", "presence-asic-modules-1","bios-debug-msg-disable", "","uart-control-buffer-select", - "","ac-control-n", + "presence-cmm","ac-control-n", /*G0-G3 line 96-103*/ "FM_CPU_CORETYPE2","", "FM_CPU_CORETYPE1","", @@ -685,7 +675,7 @@ &sgpiom0 { "FM_BOARD_REV_ID2","", "FM_BOARD_REV_ID1","", /*H0-H3 line 112-119*/ - "FM_BOARD_REV_ID0","", + "FM_BOARD_REV_ID0","reset-control-cmos-clear", "","","","","","", /*H4-H7 line 120-127*/ "","", @@ -716,9 +706,15 @@ &sgpiom0 { "cpu0-thermtrip-alert","", "reset-cause-pcie","", /*L4-L7 line 184-191*/ - "pvdd11-ocp-alert","","","","","","","", + "pvdd11-ocp-alert","", + "power-fault-n","", + "asic0-card-type-detection0-n","", + "asic0-card-type-detection1-n","", /*M0-M3 line 192-199*/ - "","","","","","","","", + "asic0-card-type-detection2-n","", + "uart-switch-lsb","", + "uart-switch-msb","", + "","", /*M4-M7 line 200-207*/ "","","","","","","","", /*N0-N3 line 208-215*/