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: 1974361 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=BcDdXust; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Wp5NN548Pz1yXf for ; Tue, 20 Aug 2024 20:31:16 +1000 (AEST) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4Wp5NN1lqsz2yMh for ; Tue, 20 Aug 2024 20:31:16 +1000 (AEST) X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; arc=none smtp.remote-ip="2607:f8b0:4864:20::62d" Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=BcDdXust; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::62d; helo=mail-pl1-x62d.google.com; envelope-from=peteryin.openbmc@gmail.com; receiver=lists.ozlabs.org) Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4Wp5NK38V3z2y33 for ; Tue, 20 Aug 2024 20:31:13 +1000 (AEST) Received: by mail-pl1-x62d.google.com with SMTP id d9443c01a7336-1fee6435a34so33564395ad.0 for ; Tue, 20 Aug 2024 03:31:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724149871; x=1724754671; darn=lists.ozlabs.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=BcDdXustvq9201LurjSTVNJ+M8jkIKhoatHvfaJ17um6+7+aJqWmLl4WiQS5p09wJY 14j4lCNclexPn7hLGNWGSE+WTFTg7fmXmYC7miLOq4ogiQX4kAzRnDg4PvYy/5uL/SEE SA0eCgrNOUp/8cgPk7o4l4CjW7p8zlsUESbXe890K+QzzGWVdxMmCi2iWsOfpaE3shuM WtdgW0EFoX2FBxdJxlg8W59sRFUoVqb7LRfUcpOoTG0YIsOHgV8OK5S48YHEBkcvm2LR ulIcClEx+1/ZoJIyysz4qP3L/LCB6SXB4rzNoP97N5I7huNwf/Iws+yo1izOm4/Zk8KK 2WRw== 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=Y6P79yma9Rsm382o+yhhiYZdS+x2R8NgrsrzZIqBsffUe/fI1QkXsBCFgniuR6hU1Q BFHBlfD22RM1rDrhvh/qdRTZH14MguEbl/SlMmnvKe3SkajMlLqfVXGUe8TRDuCjt3nj NT1/FnPtghyRA3k2nSvvP785ZXEEIeVTXbJwvgjgVWjJVuv5QQqfz8w1JD5y4qrKbJEb fVwnH7U47KRj2beuKDLoLeWOhQ63YAcej0d5N/iSRCzuzVFJE9SWwsMi9C6DRZpnv7CF EAiGNNv1LPEspRM2YfZMt/caqrVlFiywGYTY3FaelAm/KsjCkHqKTinUtCLUMtI4uK1n S7Ow== X-Forwarded-Encrypted: i=1; AJvYcCXxnfrBK6gou7eqOpM/XMKc0d5k0J5YWNAb88hJiCqLOYQ+s6QlyKU2P++utYKVhZIxEhBm4ia/E9ImlMY=@lists.ozlabs.org X-Gm-Message-State: AOJu0Yy/n0vbp/LQ9LN8bN9d/nId2rfP6dt7XQ5w+kDwiPf1HgFid3va kdNIX3T4f4YH8wkFoGGBiBjckBWMJ0ItP8GKwqsr/xhToWtZX7Fm 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-BeenThere: linux-aspeed@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux ASPEED SoC development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linux-aspeed" 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: 1974362 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=X5VLo7Sd; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=2404:9400:2:0:216:3eff:fee1:b9f1; helo=lists.ozlabs.org; envelope-from=linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=patchwork.ozlabs.org) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2404:9400:2:0:216:3eff:fee1:b9f1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Wp5NP0RP3z1yfg for ; Tue, 20 Aug 2024 20:31:17 +1000 (AEST) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4Wp5NN3Dtqz2yVV for ; Tue, 20 Aug 2024 20:31:16 +1000 (AEST) X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; arc=none smtp.remote-ip="2607:f8b0:4864:20::62d" Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=X5VLo7Sd; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::62d; helo=mail-pl1-x62d.google.com; envelope-from=peteryin.openbmc@gmail.com; receiver=lists.ozlabs.org) Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4Wp5NL6qjGz2yDj for ; Tue, 20 Aug 2024 20:31:14 +1000 (AEST) Received: by mail-pl1-x62d.google.com with SMTP id d9443c01a7336-201fbd0d7c2so33198865ad.0 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.ozlabs.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=X5VLo7SdoFmQ6JXXxn4Wkk7UlrRw4CKZXeLYrB0SzC9jPkD59u8GNTO7bpwVaFmqDz FzdbIFK0jk4sO7XeoQNYSI1Od5lXnmuwfs2klGJGt1BHQZ5+kmlE75GOq/xI0qXQtvDv /3cAqjrrsxUVOzQ4x4SSYBL17M5Of9VSrdh2mCF+vh9+UjV7p1Q7kG1yzfqHb13uug1V Ol0HP8kPwa8rDy2j3wRmbjOJMRfudG0FneDejNPo4JsI/8tIMHxeU5vosxfOpzeHOq+t u7ktZ/d/2lvNLBqK4am8tnxNnviv0OHJDCIcB+5ArOm2038vxNIt7d/qUq4pfcsS9HZv VUWQ== 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=wxjgjp/cSRiyyNIWyT0cs5XKm0EQF00hh3TtATRfuwlu6IKZIikLV0JJMfXq5jjK+E +66+DyppSXHA/+2PhYK5XA6pl7/ZmoiWG2FoLxDW9Lbot/kEccy3Lm3H7bPMRu1SJyUX 9X1IosKEwJZ99MiU1z6/4QMDx+2r7y9P5wXDzQ16WRrdwvsSoYBp+ie3lkgyyvWYKMF6 dUevpDyHCJkzZMFP23vqoEVNbYEROgWRoyR8XQv2xGtHfnSQU5TdaGNRC0wQXeHk2sRR FJY8jeBUojM5s5vYXjaJoYIfiTBpKfD/r/rFKmLxU/7D3xnYodJLdVwzmdW1Xc03Aw/N o3qg== X-Forwarded-Encrypted: i=1; AJvYcCVELu4HPxmgKKe7J6O3bBYHQ9xVvmENywJ2DDXFKnmeBSaRZ/xsWiHCXdRR90YXYLtniUbSR+A6pFFQgATShJA+BvWdff+OGrGiMvet1A== X-Gm-Message-State: AOJu0YxQuXg8WTiUw/lFtk7TulufkTybP10xSAAFriXy/RKqUiLlOXNh 9j/J9qdPh55ES4ulc/hithHtjRUOZ7sEeF1tMHXtPSGOUjOm2iKJ 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-BeenThere: linux-aspeed@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux ASPEED SoC development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linux-aspeed" 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*/