From patchwork Thu Aug 3 23:03:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tao Ren X-Patchwork-Id: 13341007 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 D63BFC001DB for ; Thu, 3 Aug 2023 23:04: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: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=xrifrBPBluBCmb4qzst8VRS+WHau4O6DkYRylUvt8EE=; b=TKGcgzinspe79F gyY5MUlV2A3Y4tRtxw2TpWAbbULR1y0/DBdjFu+I3E/sbsH+lJPDznrcAw6wnbhXpxOxVlWVqjlIW 3Lxq3L/hp5e60Ig4oQKlYTSdSyJh9kKOZsc0giDpsx2GinkNxHza59B+rfOe0x2RSCil+j0D1WdxN DslhnS7hxG5vkR+5h+uNOuXT0F0R+MlPK6SLuf8D24rQG3bo4dWBAUEJj8ixEEQUn8SSQ9VwSX6xn Li/aB0iss3H2uFhCYNIwuNf/3PB/+L0ZTl4Er2Vh9urrSy+UlZpj3IFm+megEfVrtF1hD+W3/p1Bg 7EHN0lmyq/3tde3jAZsg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qRhM4-00B3Vx-2C; Thu, 03 Aug 2023 23:03:40 +0000 Received: from mail-pf1-x432.google.com ([2607:f8b0:4864:20::432]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qRhLz-00B3Si-20 for linux-arm-kernel@lists.infradead.org; Thu, 03 Aug 2023 23:03:37 +0000 Received: by mail-pf1-x432.google.com with SMTP id d2e1a72fcca58-686f090310dso1390157b3a.0 for ; Thu, 03 Aug 2023 16:03:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691103812; x=1691708612; 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=rqQhR/5Zg/iUnJ10XmwJefyLz1QkYmSYn+GFkwwlYbc=; b=fhxBpCO3SQTUHyytwbtWYj1SDwLbSUkacsfS7IFhv4GS4d24YEZB54L6kSZMpRxSU4 SOHzyVUgKVmC6DSkb9016yUKAR8ca5RVgyUjvi0UPlUTBty3e+QmQapVf1VV5ZDZSdQH dKtRBX+lK71xW4/lL/sIVoJMs/JOgz2N2NVQ+3P9FN0sP6FFVvyrOrVTqh4e5Ouwh6H2 6eyNtqjjqNZ7KJULOJZFGkZnEf3K8t7fOVIFWlDkPti1GXcTjuyzQi/Cb9yzPlJ69Yjn R+1Oi50z3ZUbrJLX2U7BZ3PIPJ5p7k6cev1ucTu5udSm5TNgWdP8/BvvrL7fsEsHyRJX uLDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691103812; x=1691708612; 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=rqQhR/5Zg/iUnJ10XmwJefyLz1QkYmSYn+GFkwwlYbc=; b=Js2ruqQ8KwjFMybcyYj6JOmH9+kLXCLhQWdKLvCJ5Alx3ZmoOjamtrpYS/7vtK39r/ E4ubdC9K9IOePE7dNaOQT9/ox3FmeZYMqCkmAF/v9wMrSGVnPQGDAmj9wYflGQL4qEh+ F+NAPsyRaB9ApRfSKabAn1+OiKXjgM4HW1hHI3/6oQZUYlyxHXGR7GT1CMgXmnEa9CF+ UHYSmE3Q8cOFOL5hrzX1Jcsf3cpXIAA2KXDulRDs/EsleqREDF9C+/IP1goWXqM6veAy yOdBeE/QIUT4NyoDMNnZQCbnBuxUBE0nAblmUkpSYKnnBNboA8FJj220+ZrDBZdoqZUM ZHNw== X-Gm-Message-State: AOJu0Ywrj72Zfq0mAMQx4/CuM1U4EEQS61S4sn1u7ZBQtYr8DayJ11LG G7EqAIXgzu6M7POs8UFEup0= X-Google-Smtp-Source: AGHT+IH6qzLAEk0DNXUGSi4Ov1sMseW89CXGNENYfRxBDHDuYglyYwG/GmeBL1qR9REfd6DQoc6BZg== X-Received: by 2002:a17:902:e744:b0:1bb:bbd4:aadf with SMTP id p4-20020a170902e74400b001bbbbd4aadfmr122041plf.61.1691103812666; Thu, 03 Aug 2023 16:03:32 -0700 (PDT) Received: from taoren-fedora-PC23YAB4.thefacebook.com ([2620:10d:c090:500::5:e60a]) by smtp.gmail.com with ESMTPSA id y7-20020a17090322c700b001bbb598b8bbsm372349plg.41.2023.08.03.16.03.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Aug 2023 16:03:32 -0700 (PDT) From: rentao.bupt@gmail.com 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, taoren@meta.com Cc: Tao Ren Subject: [PATCH 1/3] ARM: dts: aspeed: Update spi alias in Facebook AST2500 Common dtsi Date: Thu, 3 Aug 2023 16:03:22 -0700 Message-Id: <20230803230324.731268-2-rentao.bupt@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230803230324.731268-1-rentao.bupt@gmail.com> References: <20230803230324.731268-1-rentao.bupt@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230803_160335_659486_26C333BF X-CRM114-Status: GOOD ( 11.50 ) 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: Tao Ren Set FMC controller to "spi0" in ast2500-facebook-netbmc-common.dtsi so the spi bus is consistent with the flash labels defined in flash layout. Signed-off-by: Tao Ren --- arch/arm/boot/dts/aspeed/ast2500-facebook-netbmc-common.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/aspeed/ast2500-facebook-netbmc-common.dtsi b/arch/arm/boot/dts/aspeed/ast2500-facebook-netbmc-common.dtsi index c0c43b8644ee..7f1ae3f4df9d 100644 --- a/arch/arm/boot/dts/aspeed/ast2500-facebook-netbmc-common.dtsi +++ b/arch/arm/boot/dts/aspeed/ast2500-facebook-netbmc-common.dtsi @@ -4,6 +4,10 @@ #include "aspeed-g5.dtsi" / { + aliases { + spi0 = &fmc; + }; + memory@80000000 { reg = <0x80000000 0x40000000>; }; From patchwork Thu Aug 3 23:03:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tao Ren X-Patchwork-Id: 13341009 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 82DBAC001DF for ; Thu, 3 Aug 2023 23:04: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: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=MeD9wX3lKv92Sby1ksIg2K/djjqwLdhRPIBQEwZy+aA=; b=J+7fzv7xiHUdLk UBKG7QxyZn3fIp+/O0kY8TkFeyefocDRRXazgPwUjSjh0P+FuzGc4gUYjl9UYM9uElD8jtGiQ40ZA nTPbwjX9wuzpL1a7RrPsxFaX3zSFxsuLrACqK/MLI1euvgFopBEGMGjy/XOSLGyQ2E2he61baRBN+ KkJXClvXrg2mtb5MJfwPdBZoWS1aAzjIAJ685lHk2Ci8WbkSz70av9i2AjfFPGVZr0CAxPIy25wYJ 0XaZ15O9t+QvHcoZOh2sheLZDuvon5m8LfqvOG/PwPgxP7/5Vysq5LOFLoyvjAlJuVWNY4ubsteuc CHHXBmG7bbGL30+GLEeQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qRhM4-00B3Vc-0d; Thu, 03 Aug 2023 23:03:40 +0000 Received: from mail-pl1-x62b.google.com ([2607:f8b0:4864:20::62b]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qRhLy-00B3Sv-38 for linux-arm-kernel@lists.infradead.org; Thu, 03 Aug 2023 23:03:37 +0000 Received: by mail-pl1-x62b.google.com with SMTP id d9443c01a7336-1bbc64f9a91so13116015ad.0 for ; Thu, 03 Aug 2023 16:03:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691103814; x=1691708614; 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=FCqXZ3aIK41APZmJUyJtIADVAZfdOyyUdWhlq/zah+A=; b=fDdnhKSG4bsPDkze8O0TyzQZbYZp6PewHRUfNahc+nCM4/zHnU/hC33jgPCn8WxNGI PanrrHiN2ixafjxeVoWpUTdFgrePLV5gljn6hX41bIvgcyVDvYdy9XdEa8pJU6hb8p91 825Npwd8BrAs603s0OCIFp3X0lc1NvYzCIULip3Nu7I2+n4zfoFsJVAL0uKGqS8WTL6G F1Pos0eVj3+fxcFo1XvpMnHv8NS/0a2uJwr1ULwQoq3UzFKmu/HOuh/0VoAkS0xmaKZ/ aYTcwtExKf8TMofcCaOzFse9RiByWN0X9J+52yaIupkdwp7d/FyXlocqIpbB1pb+iJKi pidg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691103814; x=1691708614; 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=FCqXZ3aIK41APZmJUyJtIADVAZfdOyyUdWhlq/zah+A=; b=Gu2sc4wV0O9D53Jgbegf4rlt9/VuuYORELFA2r76MMECo2+LYcxorjnXMYfJskJ7Yc JdO+VQOhCA1q/IUrYoHEYsjtPBPh7/1xEH9aV29jLqvb8fw9ENO21ZjV3YPSA4CWFHyJ 490zptNF8wR9+SOcNOFgPWMi+MmB7htGz74vvswmXMlmTqVDkMPQCZ4/QnvAsUz3roO+ Gz8MgOd+oGGIXdngLdB2l+waZUPb8zio1WsP4sjL6R8b50KRNcHDOYND7pdyzsjbGK+e PTxatsJGPIw/LrTUqyKU7pqbMF6ICUlPQhOYbWja42LEqZt+ruiChJ79+aTacqz9OYio UyGg== X-Gm-Message-State: AOJu0YxyaEl3Pajrzg2dU0/GhgHgOLtXKtkysVsq2WnwCsk/WpCTBxez 13O1G+GVkHKaNi6JdhNoMJA= X-Google-Smtp-Source: AGHT+IFw83JkMH1zRFqh+nnFbGXM33XYKbnbZ7+OTETUvcthEPrk5UoB/wpJrlNmpd81eYTIu+evLw== X-Received: by 2002:a17:902:7d91:b0:1bb:9c45:130f with SMTP id a17-20020a1709027d9100b001bb9c45130fmr94201plm.69.1691103813895; Thu, 03 Aug 2023 16:03:33 -0700 (PDT) Received: from taoren-fedora-PC23YAB4.thefacebook.com ([2620:10d:c090:500::5:e60a]) by smtp.gmail.com with ESMTPSA id y7-20020a17090322c700b001bbb598b8bbsm372349plg.41.2023.08.03.16.03.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Aug 2023 16:03:33 -0700 (PDT) From: rentao.bupt@gmail.com 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, taoren@meta.com Cc: Tao Ren Subject: [PATCH 2/3] ARM: dts: aspeed: wedge400: Enable more ADC channels Date: Thu, 3 Aug 2023 16:03:23 -0700 Message-Id: <20230803230324.731268-3-rentao.bupt@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230803230324.731268-1-rentao.bupt@gmail.com> References: <20230803230324.731268-1-rentao.bupt@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230803_160335_014774_E63F19B2 X-CRM114-Status: GOOD ( 11.99 ) 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: Tao Ren Enable ASPEED-ADC channels 5-8 to support voltage monitoring of all the Wedge400 hardware revisions. Signed-off-by: Tao Ren --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-wedge400.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-wedge400.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-wedge400.dts index ed305948386f..5c55afed946f 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-wedge400.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-wedge400.dts @@ -59,7 +59,8 @@ chosen { ast-adc-hwmon { compatible = "iio-hwmon"; - io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>, <&adc 4>; + io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>, <&adc 4>, + <&adc 5>, <&adc 6>, <&adc 7>, <&adc 8>; }; /* From patchwork Thu Aug 3 23:03:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tao Ren X-Patchwork-Id: 13341010 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 676A6C001DB for ; Thu, 3 Aug 2023 23:04:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=MjuIE3vV9lYz2OoTVRI5Ajlb4vHvCMCgRG9nzXawKoY=; b=f5J52US5ynqS8C v9KmeNxsq3iTsxTy6BIZ8ZmLmbD3GOfgmlF9VjlXTr1uxOegmXa6A4lIunOLaEBtFi4bG2fmsQnOg lzvFYTJtzAXgq+VEBStS/UMTr/Dc1yBkLLtqkidexlypL5CMhNCnZSTNraU7/dsuAGbOBU9jf/9UM Hb7V7zxz6RYyAszfb1iD9q7L/rJneKjIv4Dujeuwv1BxOTxYsmBXyVA8Ej2h/i0EDTxDK6TULIYsb VBRk53/XNTw7gOz3oX4SzWxNCEJ58OOo0Bq7wwilWs1z31TFBTIPsnjT1dwMDncGILC8b4/x2iHeW UvumsLMpH5m7j/Ezse8w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qRhM8-00B3Wp-0v; Thu, 03 Aug 2023 23:03:44 +0000 Received: from mail-pl1-x62d.google.com ([2607:f8b0:4864:20::62d]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qRhM2-00B3Tr-0u for linux-arm-kernel@lists.infradead.org; Thu, 03 Aug 2023 23:03:39 +0000 Received: by mail-pl1-x62d.google.com with SMTP id d9443c01a7336-1bbf3da0ea9so10799725ad.2 for ; Thu, 03 Aug 2023 16:03:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691103815; x=1691708615; 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=YxdVo0H4Ogsm6y1B4bh/ICRf8zL9r8pBxK6Ht1YN6QU=; b=B1FXxq3xyAYEetNblcpVr3eqFdEVp27JMD86CR/EggjGafPeF6E0Qu787tQ5KXJGaT v2cPuAg+C1i93EfB4TizxepVrFZH8lbPopNs//XFToHcKPt5EXql5L4sydDrtAEgDsvW f2UVLu+Cpk0mTfsWlJMwdFU4oz6sy4l3L+mV/ekGiYJH1pmF1SfZBDh9hW+9YKLB/FHB QHPhqIEhBEYI0QDXYfS2Fg2SYwf6oa9VXHPJ5cFl9WkyNe5Zhk8E2dYjAKBWGU11l3w1 kexodF7CcnK1IgEvhp6oc1Iwrt7FJ/5T8UGjWZXMGMCAd2UhG1T8XjCm6XfX7nwj69t4 eDEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691103815; x=1691708615; 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=YxdVo0H4Ogsm6y1B4bh/ICRf8zL9r8pBxK6Ht1YN6QU=; b=O+cOxtUVTkBEmmqdddJvkKdQRgMKHUycETMrDlfEIX6VTggElb+2tVmXsb3SfFLywh oWrJeXkJC7KuD5pSzLkd3tB10I2SQJjiBxedlzu5fXTBp6WUX+1lgRtzaWEgOD/uMbtD 5vxsuOA8xtWbpfJi9EbGvXyCmcMP2THeCUnBngVcIMsYVePaLLa0PdiE5yxb4xto3EJ9 cpL4ztD+PNKl245ZE7e88/QU96N7WiPmHX87LSjG3jPpeW7oMjZYLOZYWBkZTTyc5YhA D+0hGahbRjUWy4Nq9ssycRbthXTaDiYDd2reYVaOzzoyt6YKknempIycIL9oBtUjdCRb poNA== X-Gm-Message-State: AOJu0YzK0TIXQNKKDogvEysT0WqGOO1pyifwhwR3Q6VVlKQ0iEOQwOSr n43vTLvxhWvg/LS2bjnnsEI= X-Google-Smtp-Source: AGHT+IGTLIqDQyKKtQsXBAKVqKtFN5RUGOE+6K1WmgCYMpo3tJqJIIm02ZnnhklD8xBZED4d9EF6UQ== X-Received: by 2002:a17:902:b78c:b0:1bb:809d:ae72 with SMTP id e12-20020a170902b78c00b001bb809dae72mr115625pls.33.1691103815263; Thu, 03 Aug 2023 16:03:35 -0700 (PDT) Received: from taoren-fedora-PC23YAB4.thefacebook.com ([2620:10d:c090:500::5:e60a]) by smtp.gmail.com with ESMTPSA id y7-20020a17090322c700b001bbb598b8bbsm372349plg.41.2023.08.03.16.03.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Aug 2023 16:03:34 -0700 (PDT) From: rentao.bupt@gmail.com 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, taoren@meta.com Cc: Tao Ren Subject: [PATCH 3/3] ARM: dts: aspeed: wedge400: Set eMMC max frequency Date: Thu, 3 Aug 2023 16:03:24 -0700 Message-Id: <20230803230324.731268-4-rentao.bupt@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230803230324.731268-1-rentao.bupt@gmail.com> References: <20230803230324.731268-1-rentao.bupt@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230803_160338_319773_5D3C8DB5 X-CRM114-Status: GOOD ( 10.60 ) 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: Tao Ren Set eMMC max frequency to 25MHz to prevent intermittent eMMC access failures. Signed-off-by: Tao Ren --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-wedge400.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-wedge400.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-wedge400.dts index 5c55afed946f..d17b977fee9b 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-wedge400.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-wedge400.dts @@ -367,6 +367,7 @@ &uhci { }; &sdhci1 { + max-frequency = <25000000>; /* * DMA mode needs to be disabled to avoid conflicts with UHCI * Controller in AST2500 SoC.