From patchwork Tue Aug 20 10:29:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Yin X-Patchwork-Id: 13769886 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 8385AC531DF for ; Tue, 20 Aug 2024 10:32: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=24ONLHDIg4IPXcssauearHwBYBXH9GZM3HUtiuvktw0=; b=n0OEaIIoKEmDV0YPzyc00FoP3n 8KxoclI/Wb3yMBWhkNAuTdsYzyVDzFSVUw3muBVISBPWFmOTlf7mQj6AkTvz6mX8/2LHU7uf8TUQB 404OaF9pRDU6I+0Ugn/k3JTGgRlx+6dmanfl7PYtE4f/2/WqUzTBADkccuTWBvoN0Oebozqy05gY9 /NTgeKU+Rtid5aqOk3webWiwTsGzZK/R7iCzdQ/ZoNKLRB7bbnluef8fmrWczUWg5TA9nLjZ+ZAaN RPJzswsT97hPFbB8HQ9L1D3mskzq0jiWH+BceqHLAM6jQzszJrEC3q2kSrVlx9sCs1AvAQeHhb4dh qtu278bA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sgMAD-00000004olL-1y4n; Tue, 20 Aug 2024 10:32:33 +0000 Received: from mail-pl1-x62d.google.com ([2607:f8b0:4864:20::62d]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sgM8t-00000004oPG-3rag for linux-arm-kernel@lists.infradead.org; Tue, 20 Aug 2024 10:31:13 +0000 Received: by mail-pl1-x62d.google.com with SMTP id d9443c01a7336-2020e83eca1so32854235ad.2 for ; Tue, 20 Aug 2024 03:31:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724149871; x=1724754671; 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=Js1sNg/zcAqs8zK7lM7zXADstRP5LIVMojDJEi6r/MLpIqTtN9SFVF0k8bE/QIjNSj 6br78dfkW+Lf+/bw2mkEmgBEpu39mC21JXOb1vL6vLy8uQ5ymJfTSKGjewHNhrXxPnJI EHAjFDiUT/Ci8QGOow4OJXwv3UWyWxmcGeImBKi5NdUvsociZsFMdEtNRqV6W7J4+jXF 1uussVHFaYNUI+uSWwEDpLiyXK9oJePunue7K3zniqIH2KkPT1b8kDS+jLcoDLMDDi00 spxcOFIwLCRr90W0U8msGW18bz0kX0f/dTAPopK47TKeOSPOEHvSWvvVPfWtnNISwltr +Ayw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724149871; x=1724754671; 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=DwgAMU7Mc7+nke06wPDWvCt7YYekkik9AmgZ28TnaBnt9fhOi4rQWZhXIbiUEnCDT5 lakgnAyGAsZauUhCHiLaZy+9wnA95RH2oyxIEDxUs/qlKYzMTA7q1aFAAPvM0n01pXnh lIt78nWdxpBHOlaMAFmNq/aOHKxzMTUWhDK24sNdL7W8T58fgzvivS6kl/X8O0r8ERyz 1/llkXZKHSJpN124pPRGtRkqgB0Xs9bUFfEQtsCjShlTd28ztrpDdhyqHwVc09WYineF hZQPna29kLNpNDgScPBlIX/EJiGtciaKc27gbrITqlHrzWoe8b9PNp+/q3TdfEUl2KQ6 hDgw== X-Forwarded-Encrypted: i=1; AJvYcCVxYaQDsHbqlXz3IUrmuMMayqRKOCsvpDBLv0GlDJZupZtyxUMT3E6AG+55i9ud/yYV/tcMyc1Q6n9jTbR9kXHH@lists.infradead.org X-Gm-Message-State: AOJu0YyS4bJrQDAtleSyCcOevSzEOA5ahXKIK4FXggQoa7mIWJzgz/tn Oou4vVHnXINS/pt2rkEhhFMGgd79wuMsdMuAYmrbYznEjtn5zptE X-Google-Smtp-Source: AGHT+IF34yvCZ+WaAxx8Rz0TTX7mD5iF01qeopb0BCg3H+ioPzaZt5thGHcQz8juaF/35r7N5SVxlg== X-Received: by 2002:a17:902:ec88:b0:202:2ed:b3a3 with SMTP id d9443c01a7336-20203ebecd8mr104218515ad.32.1724149870867; Tue, 20 Aug 2024 03:31:10 -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 d9443c01a7336-201f02faa5dsm75444115ad.2.2024.08.20.03.31.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Aug 2024 03:31:10 -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 v1 1/2] ARM: dts: aspeed: Harma: add rtc device Date: Tue, 20 Aug 2024 18:29:02 +0800 Message-Id: <20240820102904.1756785-2-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240820102904.1756785-1-peteryin.openbmc@gmail.com> References: <20240820102904.1756785-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-20240820_033111_980982_A1818930 X-CRM114-Status: GOOD ( 11.70 ) 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 Tue Aug 20 10:29:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Yin X-Patchwork-Id: 13769887 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 E6F30C531DF for ; Tue, 20 Aug 2024 10:33:24 +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=rTyPLFrq0EUm/GtouTOsZKz2XgR6IlJiL/XQEMTvFnc=; b=OcfVG+5Goc3E4tmE5eifbjEwUa QVvyiOfxWWSBeB7YMSpJf8CffHsKsiladj/Zgavj28lbokQtYzwuN75MkkrAsr0rOoHjVLG9bgHIu GLorPw7RssP8LLCZbewqMV7xibX/LORpzu1BnDg356qsTBdn5b/zAadp1OYtLZoRivVl7RZhACwfn NzTuqdRGvhtGNwKmlbjQ5dAB6SQ0GjwXz5SE+eQazgx3dqz6GTfaMtnjGe8kgHoOVIiQ8BvEu4OLD YzmZNHe8NkJwwp8NPUFxfXQUELAWA8M/SYLedSG4dt9zkRykigIrEkrECAWhqNDu2jkxdW64uV/Ay fi9nOo8g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sgMAs-00000004p0p-1Tn6; Tue, 20 Aug 2024 10:33:14 +0000 Received: from mail-pl1-x636.google.com ([2607:f8b0:4864:20::636]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sgM8w-00000004oPw-1V4D for linux-arm-kernel@lists.infradead.org; Tue, 20 Aug 2024 10:31:15 +0000 Received: by mail-pl1-x636.google.com with SMTP id d9443c01a7336-201fae21398so31075915ad.1 for ; Tue, 20 Aug 2024 03:31:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724149873; x=1724754673; 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=rTyPLFrq0EUm/GtouTOsZKz2XgR6IlJiL/XQEMTvFnc=; b=GcwsqYwhA+gjYB7Cr9viAq+RTXZuzJ4+wfaHGjVq+lyliIPpEN5GYwEVy1bWihdqGx 5U+HQQo/C4p67ENzMD1/HU9+ZB4BVkOITLlwpEGYrZ0FTyTMiOvdVDKawzKNoVv3eqaX jGmC2CiEjjFR0sPeLTiWNoLnSNBfk3wH8LuodlULL/05Hshc9JR4Y5hf5CLQhk+xQ6zx QK7Q9UD2MYwK7ufPPV4xSTlOnGow6gZNo19L6aEN5q/+QDcetDP2jCOZIz04n9lHIqOB YNMy9xQ6Yhd1GPOdqh25Tpb/hztQj3MbY1x9k5XtVpULTa718dCoEW5wv12aITFPKb+a 7m/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724149873; x=1724754673; 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=rTyPLFrq0EUm/GtouTOsZKz2XgR6IlJiL/XQEMTvFnc=; b=hHdtW5y3m2R3/qsnD2FjPYsRvWA4UiDHbpQE7hMflPsb9JY34oqRhiCl1cwfoyCZ9d pjUQ/2GFdtQZQfxRJAVTRY+RVjf6bpXZKGXpfzGrar+mDL6Teh5smYT8c0joXwzK58Ub Gku9z5QVSj/q4wfRJXghL3XmpQVOsdRPVn49r5aUHtDAEFp9SfiSa4pyB6gIue4eITg2 DaszErkjfrp2oTQu7/UY9b2IF91OZaY6hz8bq/dETWdb6z+iaVeIOUM1S0jIRgIA13xe bOSDEa9WCWzltLhv3R4lujGM4BS3nVYsRMKKpvLw6Yf3S97whPrrZ13btYXj5rmfAbgW NMmA== X-Forwarded-Encrypted: i=1; AJvYcCXYCYSKteX4V/r9CQDVroCF3m4GmYiLYQVZP2lIBmGj+UQvUCesj5QiLlO138INbNNTq4JYVIzyCAw/EiJ1ThpX7TcAujnm2E4LN68Oly5SV7F/mFs= X-Gm-Message-State: AOJu0YyCXAW/zpODqEF5c78EPzzbUcvFyJ2AtEdNasVM/A69ib9/Gl5n 1taAPojtJT5oF8osxzM+AjpAccnIB9HXJHQkumHNtoXytprV00gr X-Google-Smtp-Source: AGHT+IF28HPdbzKluxqfocEuK8zyLeXo+mM26BKkQHj+7PAhu+8wajGr/92NbNQoZbYgiqDyMz8AKg== X-Received: by 2002:a17:902:ea0a:b0:202:32cf:5dbe with SMTP id d9443c01a7336-20232cf5e3emr64763775ad.58.1724149873281; Tue, 20 Aug 2024 03:31:13 -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 d9443c01a7336-201f02faa5dsm75444115ad.2.2024.08.20.03.31.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Aug 2024 03:31:12 -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 v1 2/2] ARM: dts: aspeed: Harma: update sgpio line name Date: Tue, 20 Aug 2024 18:29:03 +0800 Message-Id: <20240820102904.1756785-3-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240820102904.1756785-1-peteryin.openbmc@gmail.com> References: <20240820102904.1756785-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-20240820_033114_418715_53C7E01F X-CRM114-Status: GOOD ( 10.06 ) 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: Peter Yin 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 Signed-off-by: Peter Yin --- .../dts/aspeed/aspeed-bmc-facebook-harma.dts | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 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..9db95a791128 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts @@ -566,7 +566,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 +585,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*/ "","","","","","","","", @@ -685,7 +687,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 +718,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*/