From patchwork Thu Dec 12 13:32:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Chen X-Patchwork-Id: 13905200 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 7A75BE7717F for ; Thu, 12 Dec 2024 13:36:57 +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=MWMAc4zmfYhsrt0DV+vmCYXKX/GHYBxniAba73eEZ6c=; b=iM9huj7JYTaG36asWzaYR3p1Wy Topm+kNJ34ToGVZFr3hk892iYjrpkUAYMMfbcxYoj3pZ03FttA85MGVJ0mbLevFMvXBJvKUC/WJDy TmC7+fmuiECEJxtjIImYCFWJg6PLG6+GcIpulCWxLfb/IXKTFlv+i9VbdfsA9iEP4Nqm/MPymb0P8 TvA9jd7otyGVKrPuMD35QH2ssWSnqRiQUL2Eg6n3cU4r+ybe9c03X7vxA9Ww1KotY/1hZaO5JZYdW LrOzTmoit+WF3iGRFsd6M61myzOb7WcR9Uel1TFKHYxYWnMj9JQ3nfx/jidoGoMcsnzahAShLiSY2 dh61GSJw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tLjMx-00000000VE1-08eO; Thu, 12 Dec 2024 13:36:43 +0000 Received: from mail-pl1-x62f.google.com ([2607:f8b0:4864:20::62f]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tLjKt-00000000UkQ-3tD2 for linux-arm-kernel@lists.infradead.org; Thu, 12 Dec 2024 13:34:37 +0000 Received: by mail-pl1-x62f.google.com with SMTP id d9443c01a7336-216426b0865so5336495ad.0 for ; Thu, 12 Dec 2024 05:34:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734010475; x=1734615275; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=MWMAc4zmfYhsrt0DV+vmCYXKX/GHYBxniAba73eEZ6c=; b=cnTf6No/ubkNX5h0+bnu5nZqblE6ytM5b16ZBIOOAdwggPYKyg6XLjE0IH7taEhrDw 1MS4/5dhKy7dZG/n9RefeK+HLDA9tYGDpMhKYEVBrEpq/EY5pXZ6l8mhpUlGvm00nu/n o5kB5hNNce7OZgFs3wne98RWR65bTtAIHugQJ+5zsTRU4rqsr0+nekktSmWSRWVPJ6ol ZszqWj+LIO7rop4fjAYKAKK4IQlQ9nywoyCgyuKE06HR1k4cfoLZ+PjAlAfDceRC0L2i wUhennKShrqX6CwaUKnt1PUcGE6Ns8XOooaPLdetYonFT28/91cQKB9Xa63n4sLiVcGw sPUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734010475; x=1734615275; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=MWMAc4zmfYhsrt0DV+vmCYXKX/GHYBxniAba73eEZ6c=; b=L2vcdgjLJb1+6bJ6LxNp11DYJ0Tax2twMmay/ROtr0B4A1UeMDOiZu++S32cZ1vwwA Z/STHs2+MENtXsyF13K/Y3CAV0pvtwusLnGXD4qaNvH094iqlWPxx1sHtPuFD3dQ9sea wnY/WFzKRfPiozGq5aXu0ukU8lDtMPVOJu9CbW0KhdiW2kBorHdxy74bd8I+vVIukFDI alfcM0K7qwMpBx1amycCwPhUZT640KKtfo66sefAyAFB0jCPjJBUlAaXqa0j93uBfuT8 SsuuNXzdoMQcW1TAlcDVYQ1j/Deglp/MipPmOx5COgLH8GnhpxBIQCashuYFWzY8N3Ga cBUA== X-Forwarded-Encrypted: i=1; AJvYcCXLP/jKkYa7lMuAkQqQvaS+Na7Z4ZEKDK/+HBQ5Bg471qZWWn44hub3E+1RwGQrmUf5IP7ZLn1eVvLbdL/Xih0y@lists.infradead.org X-Gm-Message-State: AOJu0YxZFZyjUrZZpR/3PiUgBc0AUw4alMb77BNGpOGIUsjwzKcKXp1R UaeFscvywPPNb115WHlxbtNrlRDeBFsL7ySPjq3j9gh0++8R+Eny X-Gm-Gg: ASbGncuQVdCseJPCciQV8PadFssXuO7ARIjvi+mkpwWrXjR5Bp0dvhEyuX+blR9EtZz zwmIRI6CXzEfbnF5BuLFwgBFvx8FPopX2oArdKUh45MV5A9mk7JJR4Bdrpbr9gbWqcQ6t7iGbsS hFM7GEXsPOr0dN8A0gjc5wnQYjqGmrbEZPp012OsQ7oBXDvAY6xSjOpxgVI4Y+ds19SApp6FmSe fqZVBcCWs6SQ+4XFyTlDPhjivjFkkxj9q29PVcmcecs3Cvsw/Y5BpMubeeRnzFnAeBvRF5pk1qd q3huuV8qQ8rLunhO0b4bL1IGoJvJCDIZ/IRAzpgvsIk2S0Cae8q/yAaKGtFFaZApuvmBlJssSba hEkWd X-Google-Smtp-Source: AGHT+IEkAjpA5aepVMZDNkc8vUvUYOwLibC5GFvwj+RJ/gySt8BuEg8jjIp5XHCBFQBsOmxVfSqR1g== X-Received: by 2002:a17:902:ce86:b0:215:7cde:7fa3 with SMTP id d9443c01a7336-21778509fa3mr108167325ad.25.1734010473524; Thu, 12 Dec 2024 05:34:33 -0800 (PST) Received: from obliging-System-Product-Name.dhcpserver.bu9bmc.local (61-220-246-151.hinet-ip.hinet.net. [61.220.246.151]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2163562a838sm83390165ad.29.2024.12.12.05.34.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Dec 2024 05:34:33 -0800 (PST) From: Yang Chen To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, andrew@codeconstruct.com.au, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, patrick@stwcx.xyz, amithash@meta.com Cc: Jerry.Lin@quantatw.com, yang.chen@quantatw.com Subject: [PATCH v1 1/4] ARM: dts: aspeed: minerva: add i/o expanders on bus 0 Date: Thu, 12 Dec 2024 21:32:23 +0800 Message-Id: <20241212133226.342937-2-yangchen.openbmc@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241212133226.342937-1-yangchen.openbmc@gmail.com> References: <20241212133226.342937-1-yangchen.openbmc@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241212_053436_403554_03A782B3 X-CRM114-Status: GOOD ( 10.14 ) 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 three I/O expanders on i2c bus 0, assign the GPIO line name to each GPIO in use, and specify the interrupt GPIO that has been used on it and give the interrupt gpio number. Signed-off-by: Yang Chen --- .../aspeed/aspeed-bmc-facebook-minerva.dts | 57 +++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts index 468a33f50ef2..426e249c3326 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts @@ -208,6 +208,63 @@ leds_gpio: gpio@19 { gpio-controller; #gpio-cells = <2>; }; + + gpio@11 { + compatible = "nxp,pca9555"; + reg = <0x11>; + gpio-controller; + #gpio-cells = <2>; + interrupt-parent = <&sgpiom0>; + interrupts = <238 IRQ_TYPE_LEVEL_LOW>; + + gpio-line-names = + "PWRGD_P24V_SMPWROK", "P1V5_PWROK", + "P3V3_PWROK", "P5V_PWROK", + "P12V_SCM_PWROK", "P12V_PWROK", + "P24V_PWROK", "P48V_HSC_PWROK", + "ERR_GPIO_IRQ", "TMP75_ALERT_N", + "BMC_PWROK", "P12V_INA230_ALERT_N", + "P24V_INA230_ALERT_N","", + "P48V_HSC_ALERT_N", "P1V05_PWROK"; + }; + + gpio@12 { + compatible = "nxp,pca9555"; + reg = <0x12>; + gpio-controller; + #gpio-cells = <2>; + interrupt-parent = <&sgpiom0>; + interrupts = <240 IRQ_TYPE_LEVEL_LOW>; + + gpio-line-names = + "P1V05_PWR_FAIL", "P1V5_PWR_FAIL", + "P24V_PWR_FAIL", "P24V_SM_PWR_FAIL", + "IRQ_NW0/1/2_N", "IRQ_NW3/4/5_N", + "RTC_INT_N_R", "ERR_GPIO_IRQ", + "", "", + "", "", + "", "", + "", ""; + }; + + gpio@13 { + compatible = "nxp,pca9555"; + reg = <0x13>; + gpio-controller; + #gpio-cells = <2>; + interrupt-parent = <&sgpiom0>; + interrupts = <242 IRQ_TYPE_LEVEL_LOW>; + + gpio-line-names = + "", "", + "", "", + "", "", + "", "", + "RACKMON_A_1", "RACKMON_A_2", + "RACKMON_B_1", "RACKMON_B_2", + "", "", + "", ""; + }; }; &i2c1 { From patchwork Thu Dec 12 13:32:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Chen X-Patchwork-Id: 13905201 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 7ED27E77180 for ; Thu, 12 Dec 2024 13:38:01 +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=GeCo6voBzfvsd9B5AKf1XLFT78VWFwo447c6e8aMI7g=; b=mDrWm0SFMkiaxRWUSlRCta+dqj yJHJQPSXtq9EVeUnJiTQvU1B5Q12+Kg+sYCuehffb22Sd4kG19UV9fHBec25ncbOLoDzRILf8YzxU j8bAWQ++izhi5Sh3LDcKQqNz5Spr25mSCu6EUKlziffwst8x9umm2EClxxQnW6kTLTsagvQqvoS7U 78MreYnOP5hsUYErw6khWzbTbJM/GfW7bx+EfhAL3Ne5ITRDGE8GWLTj0cGjsY3azFCC0gAn2K/lA fAKLj+XiZpVmEY0oA7LGhf5+wQsSCb3mqoPsKXkVHYJIOP/+KKcX8s9zWRmI8Y4+pDUh2Y9Ixbk1A wH1prq6g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tLjNz-00000000VNK-2dy9; Thu, 12 Dec 2024 13:37:47 +0000 Received: from mail-pl1-x635.google.com ([2607:f8b0:4864:20::635]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tLjKw-00000000Uku-3ABc for linux-arm-kernel@lists.infradead.org; Thu, 12 Dec 2024 13:34:39 +0000 Received: by mail-pl1-x635.google.com with SMTP id d9443c01a7336-21654fdd5daso5129795ad.1 for ; Thu, 12 Dec 2024 05:34:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734010478; x=1734615278; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=GeCo6voBzfvsd9B5AKf1XLFT78VWFwo447c6e8aMI7g=; b=bUITe07VhOT6x71uPoofSO+F2NAPcEc+b3RNkbE67SKAYf8uer1AWXiD57EwVP+iPp imwoPLI53g0H5rqZDD0k0/pUapjhI/6HoNgMHSMCTjpE8c8LmXZLPpQfF9/4UcsSyiFy bcxyY6Xz4EHB0MuV9QX4DkN3F0c4Q9GDNAICliY5e/+UQHION5tbjVLZiMtZzi/vMmLl hUubt2+KSP2TeE38ZK4cbRF+oaspdybHmN9V2wyEKs/qdtlIUeNeNSW6uyW1iLblLdL2 qEhtJzIFHMoKiy6a03imPTtiHJfWmqHloX7FXE1fNhdP7igHgfGuTOXaPe/k0zmgw3/V SRHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734010478; x=1734615278; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=GeCo6voBzfvsd9B5AKf1XLFT78VWFwo447c6e8aMI7g=; b=FEgKPjvYxXAvoWEVhj7E6SxsSKd86xzt1vnqZ2TbtxcM2CMvs4K/CLOAMXU2jJDsqE Ak5DVxZ+tv1GZ0FjnJlKCqzeEaDdibF/GH27fAqMut2Z42ysMmy7Z5HZqYizXUD03tyL qMYBdGIzD20FW9+k71XPKBXYqJizRGH4fLbjcNcoKPChQkqJoN1rVLglm1ghKMTzOTPF GelSOimqmn1ndTh4VyLEmBWmsRy3f9UO7INsKkqCUVYlvZB/po4Cr1psb3sgsV7+/bKM j7o4+r7RD+IK7weWm1aCZo+KeF92OiSGSYZplmuwzpBRAIXJPCLflxOA2ChpUrSb0zae uXKw== X-Forwarded-Encrypted: i=1; AJvYcCVYozUdhgBaIII2rdL4BAG/00eXBqw6DMS9PrkkdqQ8JfTXDWKvc6gwqzADUVczYV+6bMgI0uFzKFNYo6rASCdj@lists.infradead.org X-Gm-Message-State: AOJu0YxJgDUypMrw0P+aoYDuJ/Chn6NW6yCf4+IRP4NAInu42j0v+tWr djc0XpcVKyWlRDaJT/JnaH8kKKzhOV0V4aBw0n7FJpi6ZGT4npQq X-Gm-Gg: ASbGnctLMsqZh2v1uGWy5uFLPBCzmiKxAUR3g0dyUhZGmVB5phoArjeCjVYuyxwgVA1 4wQKOLf9OOgXVvwYraKXLImaCr/Dfjp8wZ0NcVSpECu7QRMK2q7Of1vmpNzbvZoUf+zOu0EeW6F DQUUG2UjXSYmZ4QItppqMf7Z6BVmV2xJ4HbS656YXRQdOSl1HmMBKuQFk5qGUG2reUwTwLq9z62 nEGDBtO6TUGvdSJ5Krl7S68CGX5vlsvdup5TVCSV57VbtqWubO/mKdSl3l5mpvkCLZm859s/khm cwHFU5dZahQDFY6bX2LxJx+9I6c9wrSz2p86xj8OgZyHTBHd9UXTDSGmQwTbhX2ghvyxAoG19K0 TYOmt X-Google-Smtp-Source: AGHT+IEz+JRhCfmuLuRPQjfAY6LvHPw+8lus0bkpzmOra75yYYsCHcZ2q2Oh1JNu4NCSZCdVZ0hghg== X-Received: by 2002:a17:902:c947:b0:215:b75f:a1cb with SMTP id d9443c01a7336-2178ae4d3c3mr55231155ad.9.1734010476166; Thu, 12 Dec 2024 05:34:36 -0800 (PST) Received: from obliging-System-Product-Name.dhcpserver.bu9bmc.local (61-220-246-151.hinet-ip.hinet.net. [61.220.246.151]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2163562a838sm83390165ad.29.2024.12.12.05.34.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Dec 2024 05:34:35 -0800 (PST) From: Yang Chen To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, andrew@codeconstruct.com.au, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, patrick@stwcx.xyz, amithash@meta.com Cc: Jerry.Lin@quantatw.com, yang.chen@quantatw.com Subject: [PATCH v1 2/4] ARM: dts: aspeed: minerva: add i/o expanders on each FCB Date: Thu, 12 Dec 2024 21:32:24 +0800 Message-Id: <20241212133226.342937-3-yangchen.openbmc@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241212133226.342937-1-yangchen.openbmc@gmail.com> References: <20241212133226.342937-1-yangchen.openbmc@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241212_053438_792856_C3EFB79D X-CRM114-Status: UNSURE ( 9.56 ) 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 Add four I/O expanders on each i2c of fan control board (FCB), assign the GPIO line name to each GPIO in use, and specify the interrupt GPIO number for each FCB's i/o expander. Signed-off-by: Yang Chen --- .../aspeed/aspeed-bmc-facebook-minerva.dts | 456 ++++++++++++++++++ 1 file changed, 456 insertions(+) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts index 426e249c3326..9cd225ae96cb 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts @@ -342,6 +342,82 @@ temperature-sensor@4b { compatible = "ti,tmp75"; reg = <0x4b>; }; + + gpio@11 { + compatible = "nxp,pca9555"; + reg = <0x11>; + gpio-controller; + #gpio-cells = <2>; + interrupt-parent = <&sgpiom0>; + interrupts = <218 IRQ_TYPE_LEVEL_LOW>; + + gpio-line-names = + "P48V_FAN1_PWRGD_R", "P48V_FAN2_PWRGD_R", + "P48V_FAN3_PWRGD_R", "P48V_FAN4_PWRGD_R", + "FCB_1_P48V_ZONE0_PWRGD_R", "FCB_1_P48V_ZONE1_PWRGD_R", + "FCB_1_PWRGD_P3V3_R", "", + "", "", + "", "", + "", "", + "", ""; + }; + + gpio@12 { + compatible = "nxp,pca9555"; + reg = <0x12>; + gpio-controller; + #gpio-cells = <2>; + interrupt-parent = <&sgpiom0>; + interrupts = <218 IRQ_TYPE_LEVEL_LOW>; + + gpio-line-names = + "INA238_FAN1_ALERT_N", "INA238_FAN2_ALERT_N", + "INA238_FAN3_ALERT_N", "INA238_FAN4_ALERT_N", + "FCB_1_TMP75_ALERT_N", "", + "", "", + "FAN1_PRSNT", "FAN2_PRSNT", + "FAN3_PRSNT", "FAN4_PRSNT", + "", "", + "", ""; + }; + + gpio@13 { + compatible = "nxp,pca9555"; + reg = <0x13>; + gpio-controller; + #gpio-cells = <2>; + interrupt-parent = <&sgpiom0>; + interrupts = <218 IRQ_TYPE_LEVEL_LOW>; + + gpio-line-names = + "FAN1_IL_TACH_ALERT", "FAN1_OL_TACH_ALERT", + "FAN2_IL_TACH_ALERT", "FAN2_OL_TACH_ALERT", + "FAN3_IL_TACH_ALERT", "FAN3_OL_TACH_ALERT", + "FAN4_IL_TACH_ALERT", "FAN4_IL_TACH_ALERT", + "", "", + "", "", + "", "", + "", ""; + }; + + gpio@17 { + compatible = "nxp,pca9555"; + reg = <0x17>; + gpio-controller; + #gpio-cells = <2>; + interrupt-parent = <&sgpiom0>; + interrupts = <218 IRQ_TYPE_LEVEL_LOW>; + + gpio-line-names = + "FCB_1_P1V0_POWER_FAIL", "FCB_1_P1V8_POWER_FAIL", + "FCB_1_P48V_ZONE0_POWER_FAIL", "FAN1_POWER_FAIL", + "FAN2_POWER_FAIL", "FAN3_POWER_FAIL", + "FAN4_POWER_FAIL", "", + "", "", + "", "", + "", "", + "", ""; + }; }; // FCB 2 imux17: i2c@0 { @@ -389,6 +465,82 @@ temperature-sensor@4b { compatible = "ti,tmp75"; reg = <0x4b>; }; + + gpio@11 { + compatible = "nxp,pca9555"; + reg = <0x11>; + gpio-controller; + #gpio-cells = <2>; + interrupt-parent = <&sgpiom0>; + interrupts = <220 IRQ_TYPE_LEVEL_LOW>; + + gpio-line-names = + "P48V_FAN5_PWRGD_R", "P48V_FAN6_PWRGD_R", + "P48V_FAN7_PWRGD_R", "P48V_FAN8_PWRGD_R", + "FCB_2_P48V_ZONE0_PWRGD_R", "FCB_2_P48V_ZONE1_PWRGD_R", + "FCB_2_PWRGD_P3V3_R", "", + "", "", + "", "", + "", "", + "", ""; + }; + + gpio@12 { + compatible = "nxp,pca9555"; + reg = <0x12>; + gpio-controller; + #gpio-cells = <2>; + interrupt-parent = <&sgpiom0>; + interrupts = <220 IRQ_TYPE_LEVEL_LOW>; + + gpio-line-names = + "INA238_FAN5_ALERT_N", "INA238_FAN6_ALERT_N", + "INA238_FAN7_ALERT_N", "INA238_FAN8_ALERT_N", + "FCB_2_TMP75_ALERT_N", "", + "", "", + "FAN5_PRSNT", "FAN6_PRSNT", + "FAN7_PRSNT", "FAN8_PRSNT", + "", "", + "", ""; + }; + + gpio@13 { + compatible = "nxp,pca9555"; + reg = <0x13>; + gpio-controller; + #gpio-cells = <2>; + interrupt-parent = <&sgpiom0>; + interrupts = <220 IRQ_TYPE_LEVEL_LOW>; + + gpio-line-names = + "FAN5_IL_TACH_ALERT", "FAN5_OL_TACH_ALERT", + "FAN6_IL_TACH_ALERT", "FAN6_OL_TACH_ALERT", + "FAN7_IL_TACH_ALERT", "FAN7_OL_TACH_ALERT", + "FAN8_IL_TACH_ALERT", "FAN8_IL_TACH_ALERT", + "", "", + "", "", + "", "", + "", ""; + }; + + gpio@17 { + compatible = "nxp,pca9555"; + reg = <0x17>; + gpio-controller; + #gpio-cells = <2>; + interrupt-parent = <&sgpiom0>; + interrupts = <220 IRQ_TYPE_LEVEL_LOW>; + + gpio-line-names = + "FCB_2_P1V0_POWER_FAIL", "FCB_2_P1V8_POWER_FAIL", + "FCB_2_P48V_ZONE0_POWER_FAIL", "FAN5_POWER_FAIL", + "FAN6_POWER_FAIL", "FAN7_POWER_FAIL", + "FAN8_POWER_FAIL", "", + "", "", + "", "", + "", "", + "", ""; + }; }; // FCB 3 imux18: i2c@3 { @@ -436,6 +588,82 @@ temperature-sensor@4b { compatible = "ti,tmp75"; reg = <0x4b>; }; + + gpio@11 { + compatible = "nxp,pca9555"; + reg = <0x11>; + gpio-controller; + #gpio-cells = <2>; + interrupt-parent = <&sgpiom0>; + interrupts = <230 IRQ_TYPE_LEVEL_LOW>; + + gpio-line-names = + "P48V_FAN9_PWRGD_R", "P48V_FAN10_PWRGD_R", + "P48V_FAN11_PWRGD_R", "P48V_FAN12_PWRGD_R", + "FCB_3_P48V_ZONE0_PWRGD_R", "FCB_3_P48V_ZONE1_PWRGD_R", + "FCB_3_PWRGD_P3V3_R", "", + "", "", + "", "", + "", "", + "", ""; + }; + + gpio@12 { + compatible = "nxp,pca9555"; + reg = <0x12>; + gpio-controller; + #gpio-cells = <2>; + interrupt-parent = <&sgpiom0>; + interrupts = <230 IRQ_TYPE_LEVEL_LOW>; + + gpio-line-names = + "INA238_FAN9_ALERT_N", "INA238_FAN10_ALERT_N", + "INA238_FAN11_ALERT_N", "INA238_FAN12_ALERT_N", + "FCB_3_TMP75_ALERT_N", "", + "", "", + "FAN9_PRSNT", "FAN10_PRSNT", + "FAN11_PRSNT", "FAN12_PRSNT", + "", "", + "", ""; + }; + + gpio@13 { + compatible = "nxp,pca9555"; + reg = <0x13>; + gpio-controller; + #gpio-cells = <2>; + interrupt-parent = <&sgpiom0>; + interrupts = <230 IRQ_TYPE_LEVEL_LOW>; + + gpio-line-names = + "FAN9_IL_TACH_ALERT", "FAN9_OL_TACH_ALERT", + "FAN10_IL_TACH_ALERT", "FAN10_OL_TACH_ALERT", + "FAN11_IL_TACH_ALERT", "FAN11_OL_TACH_ALERT", + "FAN12_IL_TACH_ALERT", "FAN12_IL_TACH_ALERT", + "", "", + "", "", + "", "", + "", ""; + }; + + gpio@17 { + compatible = "nxp,pca9555"; + reg = <0x17>; + gpio-controller; + #gpio-cells = <2>; + interrupt-parent = <&sgpiom0>; + interrupts = <230 IRQ_TYPE_LEVEL_LOW>; + + gpio-line-names = + "FCB_3_P1V0_POWER_FAIL", "FCB_3_P1V8_POWER_FAIL", + "FCB_3_P48V_ZONE0_POWER_FAIL", "FAN9_POWER_FAIL", + "FAN10_POWER_FAIL", "FAN11_POWER_FAIL", + "FAN12_POWER_FAIL", "", + "", "", + "", "", + "", "", + "", ""; + }; }; // FCB 4 imux19: i2c@2 { @@ -483,6 +711,82 @@ temperature-sensor@4b { compatible = "ti,tmp75"; reg = <0x4b>; }; + + gpio@11 { + compatible = "nxp,pca9555"; + reg = <0x11>; + gpio-controller; + #gpio-cells = <2>; + interrupt-parent = <&sgpiom0>; + interrupts = <232 IRQ_TYPE_LEVEL_LOW>; + + gpio-line-names = + "P48V_FAN13_PWRGD_R", "P48V_FAN14_PWRGD_R", + "P48V_FAN15_PWRGD_R", "P48V_FAN16_PWRGD_R", + "FCB_4_P48V_ZONE0_PWRGD_R", "FCB_4_P48V_ZONE1_PWRGD_R", + "FCB_4_PWRGD_P3V3_R", "", + "", "", + "", "", + "", "", + "", ""; + }; + + gpio@12 { + compatible = "nxp,pca9555"; + reg = <0x12>; + gpio-controller; + #gpio-cells = <2>; + interrupt-parent = <&sgpiom0>; + interrupts = <232 IRQ_TYPE_LEVEL_LOW>; + + gpio-line-names = + "INA238_FAN13_ALERT_N", "INA238_FAN14_ALERT_N", + "INA238_FAN15_ALERT_N", "INA238_FAN16_ALERT_N", + "FCB_4_TMP75_ALERT_N", "", + "", "", + "FAN13_PRSNT", "FAN14_PRSNT", + "FAN15_PRSNT", "FAN16_PRSNT", + "", "", + "", ""; + }; + + gpio@13 { + compatible = "nxp,pca9555"; + reg = <0x13>; + gpio-controller; + #gpio-cells = <2>; + interrupt-parent = <&sgpiom0>; + interrupts = <232 IRQ_TYPE_LEVEL_LOW>; + + gpio-line-names = + "FAN13_IL_TACH_ALERT", "FAN13_OL_TACH_ALERT", + "FAN14_IL_TACH_ALERT", "FAN14_OL_TACH_ALERT", + "FAN15_IL_TACH_ALERT", "FAN15_OL_TACH_ALERT", + "FAN16_IL_TACH_ALERT", "FAN16_IL_TACH_ALERT", + "", "", + "", "", + "", "", + "", ""; + }; + + gpio@17 { + compatible = "nxp,pca9555"; + reg = <0x17>; + gpio-controller; + #gpio-cells = <2>; + interrupt-parent = <&sgpiom0>; + interrupts = <232 IRQ_TYPE_LEVEL_LOW>; + + gpio-line-names = + "FCB_4_P1V0_POWER_FAIL", "FCB_4_P1V8_POWER_FAIL", + "FCB_4_P48V_ZONE0_POWER_FAIL", "FAN13_POWER_FAIL", + "FAN14_POWER_FAIL", "FAN15_POWER_FAIL", + "FAN16_POWER_FAIL", "", + "", "", + "", "", + "", "", + "", ""; + }; }; // FCB 5 imux20: i2c@4 { @@ -529,6 +833,82 @@ temperature-sensor@4b { compatible = "ti,tmp75"; reg = <0x4b>; }; + + gpio@11 { + compatible = "nxp,pca9555"; + reg = <0x11>; + gpio-controller; + #gpio-cells = <2>; + interrupt-parent = <&sgpiom0>; + interrupts = <254 IRQ_TYPE_LEVEL_LOW>; + + gpio-line-names = + "P48V_FAN20_PWRGD_R", "P48V_FAN19_PWRGD_R", + "P48V_FAN18_PWRGD_R", "P48V_FAN17_PWRGD_R", + "FCB_5_P48V_ZONE0_PWRGD_R", "FCB_5_P48V_ZONE1_PWRGD_R", + "FCB_5_PWRGD_P3V3_R", "", + "", "", + "", "", + "", "", + "", ""; + }; + + gpio@12 { + compatible = "nxp,pca9555"; + reg = <0x12>; + gpio-controller; + #gpio-cells = <2>; + interrupt-parent = <&sgpiom0>; + interrupts = <254 IRQ_TYPE_LEVEL_LOW>; + + gpio-line-names = + "INA238_FAN20_ALERT_N", "INA238_FAN19_ALERT_N", + "INA238_FAN18_ALERT_N", "INA238_FAN17_ALERT_N", + "FCB_5_TMP75_ALERT_N", "", + "", "", + "FAN20_PRSNT", "FAN19_PRSNT", + "FAN18_PRSNT", "FAN17_PRSNT", + "", "", + "", ""; + }; + + gpio@13 { + compatible = "nxp,pca9555"; + reg = <0x13>; + gpio-controller; + #gpio-cells = <2>; + interrupt-parent = <&sgpiom0>; + interrupts = <254 IRQ_TYPE_LEVEL_LOW>; + + gpio-line-names = + "FAN20_IL_TACH_ALERT", "FAN20_OL_TACH_ALERT", + "FAN19_IL_TACH_ALERT", "FAN19_OL_TACH_ALERT", + "FAN18_IL_TACH_ALERT", "FAN18_OL_TACH_ALERT", + "FAN17_IL_TACH_ALERT", "FAN17_OL_TACH_ALERT", + "", "", + "", "", + "", "", + "", ""; + }; + + gpio@17 { + compatible = "nxp,pca9555"; + reg = <0x17>; + gpio-controller; + #gpio-cells = <2>; + interrupt-parent = <&sgpiom0>; + interrupts = <254 IRQ_TYPE_LEVEL_LOW>; + + gpio-line-names = + "FCB_5_P1V0_POWER_FAIL", "FCB_5_P1V8_POWER_FAIL", + "FCB_5_P48V_ZONE0_POWER_FAIL", "FAN20_POWER_FAIL", + "FAN19_POWER_FAIL", "FAN18_POWER_FAIL", + "FAN17_POWER_FAIL", "", + "", "", + "", "", + "", "", + "", ""; + }; }; // FCB 6 imux21: i2c@5 { @@ -575,6 +955,82 @@ temperature-sensor@4b { compatible = "ti,tmp75"; reg = <0x4b>; }; + + gpio@11 { + compatible = "nxp,pca9555"; + reg = <0x11>; + gpio-controller; + #gpio-cells = <2>; + interrupt-parent = <&sgpiom0>; + interrupts = <252 IRQ_TYPE_LEVEL_LOW>; + + gpio-line-names = + "P48V_FAN24_PWRGD_R", "P48V_FAN23_PWRGD_R", + "P48V_FAN22_PWRGD_R", "P48V_FAN21_PWRGD_R", + "FCB_6_P48V_ZONE0_PWRGD_R", "FCB_6_P48V_ZONE1_PWRGD_R", + "FCB_6_PWRGD_P3V3_R", "", + "", "", + "", "", + "", "", + "", ""; + }; + + gpio@12 { + compatible = "nxp,pca9555"; + reg = <0x12>; + gpio-controller; + #gpio-cells = <2>; + interrupt-parent = <&sgpiom0>; + interrupts = <252 IRQ_TYPE_LEVEL_LOW>; + + gpio-line-names = + "INA238_FAN24_ALERT_N", "INA238_FAN23_ALERT_N", + "INA238_FAN22_ALERT_N", "INA238_FAN21_ALERT_N", + "FCB_6_TMP75_ALERT_N", "", + "", "", + "FAN24_PRSNT", "FAN23_PRSNT", + "FAN22_PRSNT", "FAN21_PRSNT", + "", "", + "", ""; + }; + + gpio@13 { + compatible = "nxp,pca9555"; + reg = <0x13>; + gpio-controller; + #gpio-cells = <2>; + interrupt-parent = <&sgpiom0>; + interrupts = <252 IRQ_TYPE_LEVEL_LOW>; + + gpio-line-names = + "FAN24_IL_TACH_ALERT", "FAN24_OL_TACH_ALERT", + "FAN23_IL_TACH_ALERT", "FAN23_OL_TACH_ALERT", + "FAN22_IL_TACH_ALERT", "FAN22_OL_TACH_ALERT", + "FAN21_IL_TACH_ALERT", "FAN21_OL_TACH_ALERT", + "", "", + "", "", + "", "", + "", ""; + }; + + gpio@17 { + compatible = "nxp,pca9555"; + reg = <0x17>; + gpio-controller; + #gpio-cells = <2>; + interrupt-parent = <&sgpiom0>; + interrupts = <252 IRQ_TYPE_LEVEL_LOW>; + + gpio-line-names = + "FCB_6_P1V0_POWER_FAIL", "FCB_6_P1V8_POWER_FAIL", + "FCB_6_P48V_ZONE0_POWER_FAIL", "FAN24_POWER_FAIL", + "FAN23_POWER_FAIL", "FAN22_POWER_FAIL", + "FAN21_POWER_FAIL", "", + "", "", + "", "", + "", "", + "", ""; + }; }; imux22: i2c@6 { From patchwork Thu Dec 12 13:32:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Chen X-Patchwork-Id: 13905224 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 1B492E7717F for ; Thu, 12 Dec 2024 13:39:07 +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=Wf0lUEIsGTnJndimnrt/UOqCv8R701BigsdRuKPieQY=; b=2vpIUpQv4Ae6NgdlaADqjeN2e7 qcE2AFclqICp4cirJXVTH8XcwGMp8WCMzKj5a8340lITkSHbY7M0rsYtLFTGKH8Tp1KRvnt8DDeag FapWkIV+rUOMGt3+zQ2NrEKTjj3AHIa3spQlcoxnstMcdt+tHj+mTVgp8bPL/aKu4WfoNsb41ZTi7 tz37Z39SuurBIjC1LvFxuZNefhPW0adYwpOyIBnjNTtYeaPf93jSBOWNBYZflT8GELs3MKk2qngNk U8oPUz/nF0jTJMBXRctoA4RCJe+2W0W+uLuvyUFguHjS6jCFWNoMKbaoL3DwKadhn4dqojyD1WzB8 3zbFgmCg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tLjP2-00000000VVC-16I9; Thu, 12 Dec 2024 13:38:52 +0000 Received: from mail-pl1-f179.google.com ([209.85.214.179]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tLjKy-00000000Ul9-0GkD for linux-arm-kernel@lists.infradead.org; Thu, 12 Dec 2024 13:34:41 +0000 Received: by mail-pl1-f179.google.com with SMTP id d9443c01a7336-2164b1f05caso5490095ad.3 for ; Thu, 12 Dec 2024 05:34:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734010479; x=1734615279; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Wf0lUEIsGTnJndimnrt/UOqCv8R701BigsdRuKPieQY=; b=NINXRw6ZVuyZbJG29FTeLOOfACrrdRZMc95de1JJyGmqJ1chjcSLT3wq0544Q0DqSj Vqu+RR2E+0ClzvjGOrlIp9yM0Z+uMbKZ5HHsstk0tR3KlveivPu/RKM9sDXePFgYT79T fvMKsdF1Kb18mmSbTuS+klkzE7aOZg9CMYZ66W1yp2OGB5mhmj18j0MmkRHS8RSkM8hf fQNv77YM/vGdyoZrqxFhyNbNLVDEKQYuTxFCH91ouzNZJkkqbCHqc1MwmyCxhRqEs0m1 T+X4DQN3MAaVbYOwnRmMvFbX1RC18da2olq0RzP5VulsC7ZYEZ1PBg2UD2qbm+QScyQP sA+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734010479; x=1734615279; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Wf0lUEIsGTnJndimnrt/UOqCv8R701BigsdRuKPieQY=; b=j6NUQVAIIRwcKcQDKrdE93QYjgETHxlnRkC3L9KjomVmSl5Siw7ErTfQOadComiF46 qtzjc0yxBTxhNxSl8XXRldcH65aoZilp5Rf+2kaSOoG5MswVQzapTmbXEtyoOVr9P2+l q28o7I8hq0PKHgabRL5c1PTxUgIBA1mJHncMMMFz4SEZsLKNdYxbOR40SH/6rC11Fq8Y /iQkSEp/8WkSwM5sW1ry0+a9pNYpiZaC4KOGyPQyEwtuqHPVkneiYRkmwuaWScSyX9pi gJ5m5yx6LId3kiecWSNpe0wToX7MlnlSsYw2EWxjb5LdU3TIa7qFQJ15WC+GYSYrfzok ha/w== X-Forwarded-Encrypted: i=1; AJvYcCXIhMi43nMC1qYACH+gyD8RUEe1EOysKnnf42rv8i49BeMxHo4ijZiheh8jN9MiUvkhktA6IbUxXei5oM5LKKTV@lists.infradead.org X-Gm-Message-State: AOJu0Yz18qp5Zz7yaDLOm5esj8efXqiWheTNbRIDJsph5V9Fb35NzXfl 0C5kYsBLV9KwnAXnJcREsB0Ahjw2FHjoKOJLTMVgI95GVBATwFsP X-Gm-Gg: ASbGncvHzDLP6X+9vbO4MdCP+/VlBv7UGDdQBEB922JLK9A/qSlgchzL9M/dkjBHWqr 3CRo2mFm6Oyx1xK6G7I16np+HJy45yfY7/H993nn6qg5SxVsd3T8ZI5MVVxSx9miYe5J/Qc6jEF VUhwc+Za4JCBewACrAHtMBz4YLkwXHHyQChY0CwFdN9NJsiG7W1CKvvxIUqHno5uEFu9woNTbTr 8lqx7kGz2jxcotqtYdAueszackjMMYi28EZ63M2qcmCGyYKUThTHGrkp+qF3NfGL/+MxoDNYgPR gsxOfqtwoxXTOuwQhxCwMU8RQQvIksDqaDIrla2yf66fsmteLMWN/zoJhbzvXLGHScIa6LMH/HG PoQRx X-Google-Smtp-Source: AGHT+IG72CSpTzAbD2aJjX7X490Q3VfJnza4dGyLAZeAdhGFBrbCMchjemqwfL5MBOt5N81pQsYWJw== X-Received: by 2002:a17:902:da86:b0:216:725c:a137 with SMTP id d9443c01a7336-217783c0b13mr109498415ad.28.1734010478887; Thu, 12 Dec 2024 05:34:38 -0800 (PST) Received: from obliging-System-Product-Name.dhcpserver.bu9bmc.local (61-220-246-151.hinet-ip.hinet.net. [61.220.246.151]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2163562a838sm83390165ad.29.2024.12.12.05.34.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Dec 2024 05:34:38 -0800 (PST) From: Yang Chen To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, andrew@codeconstruct.com.au, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, patrick@stwcx.xyz, amithash@meta.com Cc: Jerry.Lin@quantatw.com, yang.chen@quantatw.com Subject: [PATCH v1 3/4] ARM: dts: aspeed: minerva: add bmc ready led setting Date: Thu, 12 Dec 2024 21:32:25 +0800 Message-Id: <20241212133226.342937-4-yangchen.openbmc@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241212133226.342937-1-yangchen.openbmc@gmail.com> References: <20241212133226.342937-1-yangchen.openbmc@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241212_053440_103862_F3CD39B0 X-CRM114-Status: UNSURE ( 9.59 ) 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 Add GPIO BMC_READY on LED and give it active value and transitory flag. Signed-off-by: Yang Chen --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts index 9cd225ae96cb..7fddbe833cc2 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts @@ -101,6 +101,11 @@ led-4 { gpios = <&leds_gpio 10 GPIO_ACTIVE_LOW>; default-state = "off"; }; + + led-5 { + label = "bmc_ready_noled"; + gpios = <&sgpiom0 141 (GPIO_ACTIVE_HIGH|GPIO_TRANSITORY)>; + }; }; spi_gpio: spi { From patchwork Thu Dec 12 13:32:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Chen X-Patchwork-Id: 13905225 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 89C41E77180 for ; Thu, 12 Dec 2024 13:40:08 +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=B+9a62ZNb/EWT2KZraUPUvnwvMhSxc9YsoXJSC42SEw=; b=J4AsHpORlTQO0NF1yoQ0uXdiJl VSqXuNa0oc/m2g7vz1CMpUJzRyRAm+B/YbbIZjido9bVldhlrZ2Mik2KMRDfVVdSjO4Oq20uX1g0Y OluR0msFf65sddjDKL2nSLHwG3Wl2a4+hQqvqEB+fsVF+mkxJ0TqK2MTfglmUoqaLWT7PefanxAiI qnRTc1TISsG5AZIkUSXNbazkxtm4+0Jr2Ca4BtVBuE2EzzpgO9OcbScO5Cbere84qqFQsOJ68pzMp fp/xAhBQMNrdDD1XMJPBQBoYrgDyEntBdvk/O2pjkmw9cCTj3SpovGa4DqfOfL5AoBGpmPx2cJusX yXONJ76w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tLjQ4-00000000Vj7-3bxQ; Thu, 12 Dec 2024 13:39:56 +0000 Received: from mail-pl1-x631.google.com ([2607:f8b0:4864:20::631]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tLjL0-00000000Ulr-2FQX for linux-arm-kernel@lists.infradead.org; Thu, 12 Dec 2024 13:34:43 +0000 Received: by mail-pl1-x631.google.com with SMTP id d9443c01a7336-2166360285dso5667195ad.1 for ; Thu, 12 Dec 2024 05:34:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734010481; x=1734615281; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=B+9a62ZNb/EWT2KZraUPUvnwvMhSxc9YsoXJSC42SEw=; b=PrvxFmORx3oDNzbencQxn7Fr4k4sbDGxOQgPJE8OUhglocQ6FMDDwrySAiwDz/sJSG 5eLNrPrP26EgeqDxY0Vt26zyv+H1/i/DH6Nl9FqLgMJPlu/6WEJXuhFFnCl3qWZAftsQ eva6eGnrT+am2e6eE99v0pHFJ7n1waMIFiG5IYodrHVmvnLF3UNmJyL/88q7jvGLP5py Aq+/L3PlemDDV6XTga4Qnp6aXK6WMvGMcKgOSy0wrPmv8FIZq0sIhZ+2XpA7np53fDRr +stNTkiNY2dfprCmQWR+Von0iGrSb2YXxn18AvyZcO+PSC4kSCUzSjvCvBAZSF3gvw8U 3Zug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734010481; x=1734615281; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=B+9a62ZNb/EWT2KZraUPUvnwvMhSxc9YsoXJSC42SEw=; b=kN0hgQYSsyibScr02HJXxf195R78a3t9UNQQGVrfNIuhm3zLm6iPS0lJRvF3+hWoAh rNYO3e836GLH1jxXra29/+xOqt+0MxibGB/16wH84JLhM5gposkwzcrOOrNXaV1KVe/u obirSMpIt4bRKmCshKB2cyx2BhvzZcUowSyzAp2bFSiAbbKBSs2manDH1m0FoTPTV5NM qBHUA56sz+4WK+0gbFBX1xZihLertzHrKnd9gB/exyrUL2+e5OcdzihI58/OTtxBwf9R YZeV/Tqj62CtLjBahWm/230vqP8EV1qczqU4QFnZ+lNTUv/XQNb5qQ9gbltwGCCWKmuJ 7SSA== X-Forwarded-Encrypted: i=1; AJvYcCV4gscFZTnRtiwWQdvhS76xlbk4M1cQbiPL4tPF1VJJ6rv2nWVQmSV5UkdJ1BmXyT5QdartwSrpWaIKw6wlV9r7@lists.infradead.org X-Gm-Message-State: AOJu0YyRP6t2qGFEUyCO0vrwAoQlXFTQN29kecBG2cOPVeXtBqJXR/xj 3Qeu0d+puwHXDqyAwsKWoFlc3qCRTVakRBr4xhqr85RrMgJ/y4AC X-Gm-Gg: ASbGncvobw83s1CAuZLd/s33465hzeBQ7MbqFtfUzOCU6dxm9h8JxZ6/pRaLeTiNtRM 7bIYFQvbhTqNxwoFb/s4RH47AwDUdK9E68CwP1ctuny9rP6stuRZU+Vf9EtFDAdeNxkplKW31tc sKqDj2grDA2NNrgOCbJexP2HHQr4AZR+AjfKfMiiUhjORYzp0NzNmK+ou8BXXjlvhcB2YufakuW tRr2C+/1LlnptM5T2qVkF9k5Yl5oSxyFNWU/DN3eIujjyAGSS0B0WhzyOiLPD56jrdUVLGnf3rd bdwOBLL3uffbI6y8nGpkggqzoSKUzPoOjzXA/1dMmXOgSsypDWKS27PVpU0An5/vmAnv7gjlEBp Q0qaE X-Google-Smtp-Source: AGHT+IHy1BSLKHF/ez/arq9rOsDz9L+2JIM6hHhlvZ3suOhtFcy4XDdXZnNQNlk3OKOkub/hn6NdTQ== X-Received: by 2002:a17:902:cec4:b0:216:5e6e:68b4 with SMTP id d9443c01a7336-2178aeed4c4mr63751705ad.46.1734010481565; Thu, 12 Dec 2024 05:34:41 -0800 (PST) Received: from obliging-System-Product-Name.dhcpserver.bu9bmc.local (61-220-246-151.hinet-ip.hinet.net. [61.220.246.151]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2163562a838sm83390165ad.29.2024.12.12.05.34.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Dec 2024 05:34:41 -0800 (PST) From: Yang Chen To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, andrew@codeconstruct.com.au, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, patrick@stwcx.xyz, amithash@meta.com Cc: Jerry.Lin@quantatw.com, yang.chen@quantatw.com Subject: [PATCH v1 4/4] ARM: dts: aspeed: minerva: add second source RTC Date: Thu, 12 Dec 2024 21:32:26 +0800 Message-Id: <20241212133226.342937-5-yangchen.openbmc@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241212133226.342937-1-yangchen.openbmc@gmail.com> References: <20241212133226.342937-1-yangchen.openbmc@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241212_053442_569560_397327C4 X-CRM114-Status: UNSURE ( 9.30 ) 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 Add second source RTC on i2c bus 9. Signed-off-by: Yang Chen --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts index 7fddbe833cc2..ef96b17becb2 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minerva.dts @@ -1292,6 +1292,11 @@ rtc@51 { compatible = "nxp,pcf8563"; reg = <0x51>; }; + + rtc@68 { + compatible = "dallas,ds1339"; + reg = <0x68>; + }; }; &i2c12 {