From patchwork Tue Jan 2 04:44:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: PeterYin X-Patchwork-Id: 13508806 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 9A789C47073 for ; Tue, 2 Jan 2024 04:46:59 +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:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Pa9VME9DuYtRQVJPhTtWw6Ny5DyRSD9LlhynnYhCf5U=; b=gbLDbtxnuNd9Gr 2jMBTMmTj6NTaqwi+Q7+Ba1SyIgItCeRJ1L6/V2zD3h1Bqgvq4cFTZgirsCjYMNLh89OUWq+D27EI s5naHH/W1PQJc5ysINDtLyf8jvrEg0S/uinlCZp9GaO+NhO5wNTkXIz+Zd76e6NJFN4ynBRLgho71 E53L8DUmSfZ5Vuud7bw/whEtYLy3ly/EMjkjXnOaOqJJjDcc2wm5n4XC+oj1SyobrzmiKZpOXcJAm Yl8dIp5LvXjTbJq8PucqbUhCwZw8NDHaxOUtni4R+PKAFRhwNbq8BrhsYD/da5V9AOmzGXTn77/fX pMYKWFjKeWnASF4jye2w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rKWfU-0074fp-35; Tue, 02 Jan 2024 04:46:20 +0000 Received: from mail-pj1-x1035.google.com ([2607:f8b0:4864:20::1035]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rKWfQ-0074ey-1G for linux-arm-kernel@lists.infradead.org; Tue, 02 Jan 2024 04:46:18 +0000 Received: by mail-pj1-x1035.google.com with SMTP id 98e67ed59e1d1-28c0df4b42eso4714626a91.1 for ; Mon, 01 Jan 2024 20:46:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704170775; x=1704775575; 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=cAxabFINcvVYO/q2LghOlxe+58oZ0L+QsCNCz6T1Lcg=; b=K97cVKRbMHZeT+Tcs4B8L2GL4FkIF5AtswNMqLYalo+BbKyI8fRZ3Od5rBxxvmof2W bEJrs6D4DRMKpb1H9nN46577z22ZvlfUdl7hcuQ9ysdQOaRROQQnva7Hp124VeOb8BjY Nkv07yzxYXW9dwYA4I1Aq6IlaOfQz/IZMLGmjxjAs1vIRvHkCPuCh3ag5Wp6RtiXCaKZ rIFNBESyx6DWoEovCHfzIAxsS7mqP4TIysHy0kU0ZTG1BJddZHQDCOqvsNhQdEHXykFE dcGDW4Gxf/d6jQR+L9nQmPLzq+kLREEvcYCRDUNi2OsGYluwuQAH76YNCYLsjcQRujYB /z8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704170775; x=1704775575; 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=cAxabFINcvVYO/q2LghOlxe+58oZ0L+QsCNCz6T1Lcg=; b=YkeyN1OIPAY9d43k0a9jJVwLxiPgEInanfo8dEWNbNkSYRxUuOiF1wzFroXbCAVxpk zvcx344AcIGdZ+YCJLtmYv4Yv80uiseN/xmUuvEyJ6LACStOW3xYW6Dn5q+KSN7Nce3i F28QMgMgBdwnWw4YO41oq8MH/f8GJtXLMy7tndj1LoTDW6BLK3kk6wMKCTHFXr/0KZXl ewWob10x90XcIsKZd/wHLxyfODVz0j9yCm8+qEvKPSPwKx1NlJt2Ldfq2XAwmCEwySlj Uv1V7/FbyEo/BrXGt1pZLu4xBDPKe3sJzv2aOudoT9LPcpN+XOKzZtZFes52fvrZA1O9 47Cw== X-Gm-Message-State: AOJu0YyVEpBsgkxjlygYU/RwhwL5eJTmO1J4hTod6mMIVGDhEI/OjRml UN8uiMDiZnf39+NTPz/Jg4M= X-Google-Smtp-Source: AGHT+IH9IqOgrvDHv0JBk46CuYwK0n0E7o0qckt63SLybfH3Rj3RdJ4BvjYWOLWs2BqYO1BI/Oun0g== X-Received: by 2002:a17:90a:8685:b0:28c:95fc:c322 with SMTP id p5-20020a17090a868500b0028c95fcc322mr10494576pjn.5.1704170775269; Mon, 01 Jan 2024 20:46:15 -0800 (PST) Received: from peter-bmc.dhcpserver.bu9bmc.local (1-34-21-66.hinet-ip.hinet.net. [1.34.21.66]) by smtp.gmail.com with ESMTPSA id d21-20020a17090abf9500b0028c2b2b76c0sm17308392pjs.22.2024.01.01.20.46.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Jan 2024 20:46:15 -0800 (PST) From: Peter Yin To: patrick@stwcx.xyz, 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/5] ARM: dts: aspeed: Harma: Revise SGPIO line name. Date: Tue, 2 Jan 2024 12:44:05 +0800 Message-Id: <20240102044409.3810873-2-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240102044409.3810873-1-peteryin.openbmc@gmail.com> References: <20240102044409.3810873-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-20240101_204616_427989_FE7EAE4D X-CRM114-Status: GOOD ( 12.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 The same name as reset-control-smb-e1s change to reset-control-smb-e1s-0 and reset-control-smb-e1s-0. Signed-off-by: Peter Yin --- Revise linux device tree entry related to Meta(Facebook) Harma specific devices connected to BMC(AST2600) SoC. Base on : https://lore.kernel.org/all/CACPK8XePx+PvDKzPMjPRn_g9z8yrtAmLvP8Qbepm1AVjuCbaKw@mail.gmail.com/ Change log: v1 - Patch 0001 - Revise SGPIO line name. - Patch 0002 - Mapping ttyS2 to UART4. - Patch 0003 - Remove Vuart. - Patch 0004 - Add cpu power good line name. - Patch 0005 - Add spi-gpio. --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 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 7db3f9eb0016..8a173863ef24 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts @@ -505,9 +505,9 @@ &sgpiom0 { "","reset-control-cpu0-p1-mux", "","reset-control-e1s-mux", "power-host-good","reset-control-mb-mux", - "","reset-control-smb-e1s", + "","reset-control-smb-e1s-0", /*E0-E3 line 64-71*/ - "","reset-control-smb-e1s", + "","reset-control-smb-e1s-1", "host-ready-n","reset-control-srst", "presence-e1s-0","reset-control-usb-hub", "","reset-control", From patchwork Tue Jan 2 04:44:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: PeterYin X-Patchwork-Id: 13508807 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 47391C46CD2 for ; Tue, 2 Jan 2024 04:47:04 +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:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=sv9Akjk0h0/0SBQ9X9M3amjvmkShp6f1Vzw0lSNDqIQ=; b=zkJxQc8skvaE19 ZgBqqjbRZakfokyZRAkXzO4aEMF7fQ8+84UXhtye1G4E4CYeqXfwRyRTxLqvUmNc2CmV9utqfMpud JojSVa1L96e0JjefuNf46E/Belmas2u6nNfr/gzAtyPBb0uAH98RKNF4a5r9IlwnF7f9d7Cv/IrkR apYiCjX0GT/ukTHS9ZC3yodgJXbQnLZMFKxPA0S2QlCybqUYY2q0YMqIgetwhaglc7fZRGctoAGVA 8wuKKWn2YC8c1sNMboNC0ixHdaO9D2htZpWsUEO+MOWCwv+UArMTrmhvdNhuLw8IyhsoRRvR+y80F 5YCu4OCuXvXb1zCzZ31Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rKWfW-0074gH-0J; Tue, 02 Jan 2024 04:46:22 +0000 Received: from mail-pj1-x102a.google.com ([2607:f8b0:4864:20::102a]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rKWfS-0074fH-2S for linux-arm-kernel@lists.infradead.org; Tue, 02 Jan 2024 04:46:20 +0000 Received: by mail-pj1-x102a.google.com with SMTP id 98e67ed59e1d1-28bd85bda06so3829389a91.3 for ; Mon, 01 Jan 2024 20:46:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704170777; x=1704775577; 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=pegTGAgIl7701EaFNdsQSg89lpjeCGj36MeNrr3t5wk=; b=Ru97UJMzO7uiaZTChUgBwwql6PfRDgTdKJl31Vw6sQEAgN9Z/b3UZY2SIqvckfB8V3 t3xmrHYK7PXfN9pt6GIMJ71HT7jVB+8CxT6QwZk02bWp/N2qpgDELdVLtGIKQbSpaElz Fal4gjOht/yTAxBwg3Sxl2F8oX3IrVNkp9L7xyk4/oannk/pwV4Av3eCs/41kjT/Nb2C 5t8Gi/IQDKPmkztQP1TNy/hOicW9h7jfd72PHPRLs6DndycLQTylsLfLmp57tN7ZK0Pb eZtRum6+zd9fDgsGwO1QARtZ2fsllQfQGXzj/rIXiQA0WnEOHqRtd/GyWf7QaH0Lqujl xaeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704170777; x=1704775577; 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=pegTGAgIl7701EaFNdsQSg89lpjeCGj36MeNrr3t5wk=; b=SZN41cTlygsk+YT/2ij4bpf4yBBtg4wJXreDCHjV70IysUZudQuBXg6FmerWGVNcXg 82/L/Xu+W/4S/6jI1MzQUBxhPR4ET7mHhDsCI53PpJmGd03QMGD/T8VEzGX4MzkCfYHy r3plRF/oRYDVemWzZ1i7VR7ey6nRtNU0un23Ug148g30oO7G0ZNAvBKISCVkuaBuMR9d cgcamJaLn6CTA/GfCcx7/NJp5RP+yLshP9MCaqTpGWELCCg3TPp+WJsv7R+nT+WnI36L Nwfm4jK1f0FcY9RA9cwBH0eggumspwJNdVq7pSvwteV3x7iJXy/WfWvnpc5egzwf3FcB J9hg== X-Gm-Message-State: AOJu0YwQR0k0oA2A4yH4qYZGnCE3nBQTS6tSOESN8jri5Ee4jKBe/WGJ WhMUBIn5H/1TUUaa5NtW1To= X-Google-Smtp-Source: AGHT+IF3LqXMu5rUi/ayumGisrNXTGKX7bcbdyYwyFjHp54a4fVsRcuAeq2mGkGmVOteQsOtxFRFeA== X-Received: by 2002:a17:90a:f98d:b0:28c:843c:105b with SMTP id cq13-20020a17090af98d00b0028c843c105bmr3699238pjb.27.1704170777666; Mon, 01 Jan 2024 20:46:17 -0800 (PST) Received: from peter-bmc.dhcpserver.bu9bmc.local (1-34-21-66.hinet-ip.hinet.net. [1.34.21.66]) by smtp.gmail.com with ESMTPSA id d21-20020a17090abf9500b0028c2b2b76c0sm17308392pjs.22.2024.01.01.20.46.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Jan 2024 20:46:17 -0800 (PST) From: Peter Yin To: patrick@stwcx.xyz, 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/5] ARM: dts: aspeed: Harma: mapping ttyS2 to UART4. Date: Tue, 2 Jan 2024 12:44:06 +0800 Message-Id: <20240102044409.3810873-3-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240102044409.3810873-1-peteryin.openbmc@gmail.com> References: <20240102044409.3810873-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-20240101_204618_795591_9EA46D94 X-CRM114-Status: GOOD ( 12.77 ) 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 Change routing to match SOL(Serial Over LAN) settings. Signed-off-by: Peter Yin --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 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 8a173863ef24..a0056d633eb1 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts @@ -12,8 +12,8 @@ / { aliases { serial0 = &uart1; - serial1 = &uart6; - serial2 = &uart2; + serial1 = &uart2; + serial2 = &uart4; serial4 = &uart5; i2c20 = &imux20; From patchwork Tue Jan 2 04:44:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: PeterYin X-Patchwork-Id: 13508803 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 EC26BC46CD2 for ; Tue, 2 Jan 2024 04:46:49 +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:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=55Saun2tijhXZh3M2STTB/Uez7rzppITeMyQXC2lJUg=; b=myPxKWyc/CaDMd 0U7U8MaD6BIbAsavBZ8t9TSbrkoGNPV2T4iSaz/Wna+GhbpAvAPF6Fu3JBCfeM/7LZA/2FezL7nb9 Bs/hXOHldJOA+Sfz9Dmq5FLVZLFF+MwVPcUnzpZVfzyu5jc2FHjCNiUHLaud+I7sAKFhfb3r4eYAY CGPF0Aozs5T4yl0X4Y6s45E/JQ57vkcxtK5Q4TFK0/ypP8AXVX7caXTKGM46nFeUQdkG7BQqUk2Uf Ns0eRUvHw8/H+f/sadWJ4gDkQG1Ln60m1OWU2VzOa/iHaneWjd5/YnTCPtFk2XurYIdhqqteTTSbP IcSK+ROuMsq+sqSjhbMA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rKWfX-0074h5-2H; Tue, 02 Jan 2024 04:46:23 +0000 Received: from mail-pj1-x102e.google.com ([2607:f8b0:4864:20::102e]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rKWfV-0074fj-0O for linux-arm-kernel@lists.infradead.org; Tue, 02 Jan 2024 04:46:22 +0000 Received: by mail-pj1-x102e.google.com with SMTP id 98e67ed59e1d1-28c075ad8e7so6445411a91.2 for ; Mon, 01 Jan 2024 20:46:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704170780; x=1704775580; 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=KHfABZko5E3OyVpk0Pm7Tx9/GwQM3X5Y0l7yapoWLPM=; b=No06mJRaQS3zlwpZyRQ3/qJltapmsAS4UD2C4NFnAR+NzsGahFEatxvJEZFnGdMVG/ QVkIkDtarmMdQFWv7XOqRJdn7wLHpSE8lk6WyeN1wJF+wJOFZR9am0IxcrF0Z5YxgqK8 kyxPoAyywhUl585WPDAJ2LIyem2S/V0bcgStAxwrbe21pM8v6mNadjh1x27uNmBDu53F 4PJKpvz98ZsieyHoPCep/Maur6seOiib3ygiUUoWnp8vqsnyRzqDbGsFWH0x+dTRe/6F GcaOobm5wN6Pel1mH8c3MfwwPXzIj/keLSfMsY4Apg/e33bJe1IuA57gbCTYNkyHEWU0 HC6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704170780; x=1704775580; 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=KHfABZko5E3OyVpk0Pm7Tx9/GwQM3X5Y0l7yapoWLPM=; b=Z5rW8SGsV71fSKqtRed/cbaRrCURAyM4hp6fk3298dm3ehGsyPLf1uPGrsoRYdr3mX +qVR/HRoaKf4Xug/uV58Y8CNpa/R26VisMVugSnHkg/+vc/7C6tgxfINNjNvTsEG0b6a Ym5aJqsOMsml7rP9UWbYnhSD2hab31jOqCUdpckvxpUEjF2Dht4akSZtV1sbnOyOie9F J4s8FLhwv+PsEfQ2kPCLuQtMDv6YEYGcZkSaC41OHTSC13oEzI5lMyowZemxgwJYAbpy UUHTgL5LHJj96OSR7FkcDnGWprrrG67Lpaki2f/U5GR2wSWDFxHXzJEhRzECGy8k2T1n oLUw== X-Gm-Message-State: AOJu0YzpQP29Aq8Ta21SlFoL9jGNqdqwtFpO4Y0yCoJMKpPeXQPe5Y0v FVqzyI5m7FtWsXr+pv6lldkkykYzOc4= X-Google-Smtp-Source: AGHT+IEzzDEg3r0oZfdhsV1Nr6yrEvbWCtjZygtLmN2XYZpEq4qUatFFkmkI9O0r7Lsjjffya75KzA== X-Received: by 2002:a17:90a:8f03:b0:28b:904a:93f2 with SMTP id g3-20020a17090a8f0300b0028b904a93f2mr8478432pjo.32.1704170780021; Mon, 01 Jan 2024 20:46:20 -0800 (PST) Received: from peter-bmc.dhcpserver.bu9bmc.local (1-34-21-66.hinet-ip.hinet.net. [1.34.21.66]) by smtp.gmail.com with ESMTPSA id d21-20020a17090abf9500b0028c2b2b76c0sm17308392pjs.22.2024.01.01.20.46.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Jan 2024 20:46:19 -0800 (PST) From: Peter Yin To: patrick@stwcx.xyz, 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 3/5] ARM: dts: aspeed: Harma: Remove Vuart Date: Tue, 2 Jan 2024 12:44:07 +0800 Message-Id: <20240102044409.3810873-4-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240102044409.3810873-1-peteryin.openbmc@gmail.com> References: <20240102044409.3810873-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-20240101_204621_163922_A06C0740 X-CRM114-Status: GOOD ( 10.54 ) 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 Remove vuart to avoid port conflict with uart2 Signed-off-by: Peter Yin --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts | 4 ---- 1 file changed, 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 a0056d633eb1..5d692e9f541e 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts @@ -100,10 +100,6 @@ &uart_routing { status = "okay"; }; -&vuart1 { - status = "okay"; -}; - &wdt1 { status = "okay"; pinctrl-names = "default"; From patchwork Tue Jan 2 04:44:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: PeterYin X-Patchwork-Id: 13508804 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 A94A5C47073 for ; Tue, 2 Jan 2024 04:46:50 +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:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=nqr5as7BSn16lPAb4liGU0Z7RU0zaVtplcJfv1RURj0=; b=qMExKXQqP72wnW GbpGWS9CAmBCm9tzfy6Td8/3J/0jrjiCquqD50gn8mb5X2D6WFIFT2vFNid6QgDWW5dfzMK7C2k6V HFGCAobe61zGrTECvFsxJNhHkHcjawCbdXboWfQ/rPauyVAUHsZLRZSm9gT+Hyxl012aPCaxhJ6e4 i5xte/T1PQD/tIhJrD1tSAUk1C8S7pcx53D02jUbBYATbsBu8EYHUPBjkjEbDL8N4JfgXkeBkwA5A eGxph+Jn1CSy+9PGJelDGZN8IpVkUjhtg0jR94G/Vuxxao4i5nTaOl/FbFZVbj+Pa6DKm5ObtQQug Sgql/lruNl6q8AOd7G3w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rKWfa-0074jA-17; Tue, 02 Jan 2024 04:46:26 +0000 Received: from mail-qv1-xf33.google.com ([2607:f8b0:4864:20::f33]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rKWfY-0074gk-09 for linux-arm-kernel@lists.infradead.org; Tue, 02 Jan 2024 04:46:25 +0000 Received: by mail-qv1-xf33.google.com with SMTP id 6a1803df08f44-67f9f6caabcso73182916d6.3 for ; Mon, 01 Jan 2024 20:46:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704170782; x=1704775582; 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=4mmt0UdSDV+w1BWZtmNFxfAxPy3KjCbVYZPCzBNdDlQ=; b=Y1MA9oIaabYw+QAOWRJAx2AqqKNDKx8YPKBjuPIx8GYDCzsoPimSPbhXYVRljrgbMq JN3Rlk6ILz7Iq0hwOpM1QWbDy5jmuT77odwwae2GF7ubhGXEXDZbz3X9qY8wQkoUJot7 /35j3ZaxXCcfi0iHiFX2n051hrL/Fr0lkeAFuefXC+suV5sJXx73MiAN3m4NdvWZB0YK Gzy3YlCB/MTVWoiF8si1YrWHAXOEz7G7+HEhHe6iNqrcihWj/U05h3+0DWJ2is6+EiGN qob7gdPF+Sg78Htqi85D9BadkCWLPXCbQLaSjPiXtj4pWPbhWWrlZ5jDxcocJUqSWFZW PnbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704170782; x=1704775582; 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=4mmt0UdSDV+w1BWZtmNFxfAxPy3KjCbVYZPCzBNdDlQ=; b=YvjIoPCQet3ZOD5dCQk6rQEsO+9iLC+vs7pZmwUX2bF7WOl3m5WBtL1gjcnDYKb5UF B/trRntsmeYizzONdUkSK0wK6p/SqZtDC2Z8wD+5xGp+/kMP6/w4e2jlJr6nM5u+ku89 KvcDmIS9x9Bs1mfXmJ5/qyoEgF6XL3m0d28YGWLllAJ5s1pE+6/2NtmvkSr3OzXQaNtn oc/5Q8HJmyfIjBln9C78YCdDhCzY06FAvemtOcFtWMjjh1twN8i2PEfqAOWvFuAEG3zm 0knysCKKYObOrptXIstYFCmHbtZUp5354TRJ1NNgntF7Orzug47LgJGBMmmwHvQYzsfC wPeg== X-Gm-Message-State: AOJu0Yz1ckRxHBZkfbEEb3DbyVy9kXr0kPMK07yqFVoiqhdV88kCmyAf QlyLNSaBaG0ip+83B5e+hSOZD7XFS1o= X-Google-Smtp-Source: AGHT+IFekV5ykuriyA0cyhHIsh3wYdvqjCWU5c4oxMfbMAa88xJi8Tq/V8wVvPx7CwejKkS8Ffl2Uw== X-Received: by 2002:a05:620a:4ace:b0:781:bac6:e252 with SMTP id sq14-20020a05620a4ace00b00781bac6e252mr3738109qkn.8.1704170782408; Mon, 01 Jan 2024 20:46:22 -0800 (PST) Received: from peter-bmc.dhcpserver.bu9bmc.local (1-34-21-66.hinet-ip.hinet.net. [1.34.21.66]) by smtp.gmail.com with ESMTPSA id d21-20020a17090abf9500b0028c2b2b76c0sm17308392pjs.22.2024.01.01.20.46.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Jan 2024 20:46:22 -0800 (PST) From: Peter Yin To: patrick@stwcx.xyz, 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 4/5] ARM: dts: aspeed: Harma: Add cpu power good line name Date: Tue, 2 Jan 2024 12:44:08 +0800 Message-Id: <20240102044409.3810873-5-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240102044409.3810873-1-peteryin.openbmc@gmail.com> References: <20240102044409.3810873-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-20240101_204624_082514_1CF7DE5A X-CRM114-Status: GOOD ( 12.25 ) 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 a line name for cpu power good. Signed-off-by: Peter Yin --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 5d692e9f541e..36aad01dda20 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts @@ -501,7 +501,7 @@ &sgpiom0 { "","reset-control-cpu0-p1-mux", "","reset-control-e1s-mux", "power-host-good","reset-control-mb-mux", - "","reset-control-smb-e1s-0", + "power-cpu-good","reset-control-smb-e1s-0", /*E0-E3 line 64-71*/ "","reset-control-smb-e1s-1", "host-ready-n","reset-control-srst", From patchwork Tue Jan 2 04:44:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: PeterYin X-Patchwork-Id: 13508805 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 BC8DDC46CD2 for ; Tue, 2 Jan 2024 04:46:56 +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:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=slOEeUNVUAtS79aEv7IYu7nXLvMq0K6d+MLlgpi44gE=; b=jM0cAL+j2tZGKE W+rmklBMW8LbDH93RblaZAZBJOK+veiOSSYssGP79pQj+RLD2I1sXTs3uc285xCMio+QrLFftvqwv 3xQvjdJLWcj4NNetXUvqVeDClDDXlOjFU6OJT36yabGqkdHQlzHSH+0BzQLMLyqXeV8OfUpCl7Gew 667qpe6v4e6kY+LeOc5Yem4j3vbqXbDYqjOel49tvwcWXMEPaF6DgvHUdz15DgZFYQs0wHlu1Ahc5 XNGty8Yd25i0yYtKWqcqNCi1Snv8rwzkjEFtCwuat/ByyYn2ubKVMsnlAWHIV+hVMHaU6EtaXVbYG E7RlW4nFRe7CAsI6h6ag==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rKWfd-0074kk-3B; Tue, 02 Jan 2024 04:46:29 +0000 Received: from mail-pj1-x1030.google.com ([2607:f8b0:4864:20::1030]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rKWfZ-0074iA-2d for linux-arm-kernel@lists.infradead.org; Tue, 02 Jan 2024 04:46:28 +0000 Received: by mail-pj1-x1030.google.com with SMTP id 98e67ed59e1d1-28c075ad8e7so6445432a91.2 for ; Mon, 01 Jan 2024 20:46:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704170785; x=1704775585; 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=tfJIsodrpZIIAMpybgAC7qz4iEokdxJ5UnhS1fS4za0=; b=F/f0hcIRSKr/oa4LK2riQYC4vThRjOyS/h5LOmvYkodqPBYgeJfW/Ix05uLieTbi4v MwanUpunOaZHD39wr1YwbK8KVZdvVW9fCsUvNJPTFI7hv649mlMGbWNy4haxvAHFTwUb PM8EVWgpnrK/eo8K1C5JOQCp7vysovhcEdsksTom//z6Gqx91izFBwfjzLl4nb088AMB mI56v9qxv8/xFC2jS2vv6+zGw2lGg5/gl/+rsZpepLJrlaLuSTR4vw/TjNzajXz0hZ87 ksiOoQlhALImif6YTURom3VzEjGIkWos+uhyNZ5Vtv0qKuMgOWWCowaOyRtMBNHRsEma wGiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704170785; x=1704775585; 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=tfJIsodrpZIIAMpybgAC7qz4iEokdxJ5UnhS1fS4za0=; b=XoHj+LmsgDuPC28viM/7JqdvyzCisNcv1VJ3MAviKk98p04I02azZ855QfUR05RxnU K53FaT9+OVc/bc2OHuL2gjYqqOjk8ljAmII/b45zKfNbYUuGVcHyWmh/4TO+m5Y3tTMs x4YPDYH1zA7FhpNm+IFbw9L6fcZenNfPihnjJh53zPqwBTxXcYlcbLL1gpl7p0ffbDGb XHL3v64ue3CY4+l8TivbsBnbz5s/ZAxMyL1UMU0PyAxZjsAjXbdUUEsQb05O49xmD2/c 06/ryC4xDOu8w5XEVTGsj3Fihdh3ZrifA8AGvMXB41MXF6oJ16GdRPx5i5Y6c3ahAfuB qObw== X-Gm-Message-State: AOJu0YxtINUkGhw8LBPjko6C8ug/tvXs+z6ZbcnMSnPdKSrfSwQFFyNA XKqKGql9mzFM/GkQDjwMiu8= X-Google-Smtp-Source: AGHT+IHqRXcCWjxv7N4EPqiNsAsagi/uGM9jN5nqeDXbh3ZChgvTzpXvqFuFgkHctP21eOphDhuWJQ== X-Received: by 2002:a17:90b:1b41:b0:28c:2e37:bd97 with SMTP id nv1-20020a17090b1b4100b0028c2e37bd97mr7354431pjb.80.1704170784753; Mon, 01 Jan 2024 20:46:24 -0800 (PST) Received: from peter-bmc.dhcpserver.bu9bmc.local (1-34-21-66.hinet-ip.hinet.net. [1.34.21.66]) by smtp.gmail.com with ESMTPSA id d21-20020a17090abf9500b0028c2b2b76c0sm17308392pjs.22.2024.01.01.20.46.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Jan 2024 20:46:24 -0800 (PST) From: Peter Yin To: patrick@stwcx.xyz, 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 5/5] ARM: dts: aspeed: Harma: Add spi-gpio Date: Tue, 2 Jan 2024 12:44:09 +0800 Message-Id: <20240102044409.3810873-6-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240102044409.3810873-1-peteryin.openbmc@gmail.com> References: <20240102044409.3810873-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-20240101_204625_866010_B8665FCE X-CRM114-Status: GOOD ( 11.04 ) 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 spi-gpio for tpm device. Signed-off-by: Peter Yin --- .../dts/aspeed/aspeed-bmc-facebook-harma.dts | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) 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 36aad01dda20..25ae044cd176 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts @@ -28,6 +28,8 @@ aliases { i2c29 = &imux29; i2c30 = &imux30; i2c31 = &imux31; + + spi1 = &spi_gpio; }; chosen { @@ -67,6 +69,25 @@ led-2 { gpios = <&gpio0 124 GPIO_ACTIVE_HIGH>; }; }; + + spi_gpio: spi-gpio { + status = "okay"; + compatible = "spi-gpio"; + #address-cells = <1>; + #size-cells = <0>; + + gpio-sck = <&gpio0 ASPEED_GPIO(Z, 3) GPIO_ACTIVE_HIGH>; + gpio-mosi = <&gpio0 ASPEED_GPIO(Z, 4) GPIO_ACTIVE_HIGH>; + gpio-miso = <&gpio0 ASPEED_GPIO(Z, 5) GPIO_ACTIVE_HIGH>; + num-chipselects = <1>; + cs-gpios = <&gpio0 ASPEED_GPIO(Z, 0) GPIO_ACTIVE_LOW>; + + tpmdev@0 { + compatible = "tcg,tpm_tis-spi"; + spi-max-frequency = <33000000>; + reg = <0>; + }; + }; }; // HOST BIOS Debug