From patchwork Thu Jan 4 13:45:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Yin X-Patchwork-Id: 759952 Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2C83B224E6; Thu, 4 Jan 2024 13:47:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="RSfQPNdn" Received: by mail-pl1-f180.google.com with SMTP id d9443c01a7336-1d409bcb0e7so2857795ad.1; Thu, 04 Jan 2024 05:47:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704376059; x=1704980859; darn=vger.kernel.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=IxGy7pLjWz6nitoY50e2aJeZJJqgkNuCQ+WC6P62+FQ=; b=RSfQPNdnp/T8vi7COWyJVWI5B+ya1D1j5YxH34VCU/IkhvAKaLcXdj/hJmub26i85K BFFo4nPL5NpUad8ONVjoFokNeieXc/mxW65h9Pecgk7wJARkOsnqLk3z/Ud/2jwr4h57 aYkIQJHPV0F+Kdp6WpbH6Rye5Qk1HWLJ/Zcco3w8WIcAmFtwbSRYe77N9Q7z369gMCin yX7Y3Q34BIaaYPJQalNr0du2x9khRw8GucvezyDNmg0XYgXWO/tA/ZxIQkx7PpoEP9mA eouGoYwgyW3BwkMRTKp3rgJnozigC87xptCSskVJWTE1+b1y7WwhPb7LgjBsR3K5n9yW Ezbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704376059; x=1704980859; 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=IxGy7pLjWz6nitoY50e2aJeZJJqgkNuCQ+WC6P62+FQ=; b=lS7VFsEds08bXVa9SPxd5nsjptL7VbcdVyvQG+jSc1mzGPrc0k7i8dPnktrXZk1xKE 0xnOKxc2lDwdNbCPo0nrPo/JbLmnyqv0aSSPuMnOnPusTrSCs8HQ3y2Jqbg/mvhSfCWU 4hzaFeZ6oNFeEcLuFOd6rMJdHoc3oDXACFph7PB4IJAflLSwj11UVlt6HenMH3iEcyYF S2s6Tg6AlDrhAa8yuaKvPFDcLnEUyyxP/fxhiwSNjvjYWwiihq/AUu666DyMsC4DTsKY UHD5Z9NvrlEQaHd7QYzDrSjjA5EA62BZTeIhA5BBwnHwLXXUOhv0Bjwcq+f1lfDp1ijb NBGQ== X-Gm-Message-State: AOJu0YxL5D77D3kr9SKke3tqzVFvO1rVazAUNUv9D+0h2T2t2i56YsfA szOAk3tlQSQVqGte1byxI3zPRS62p5E= X-Google-Smtp-Source: AGHT+IHjZB4c8LT5IHLe50DMbalsQ9CbaL2Y4/m+a8a1k9zs5tQH0Y5UKPao5FbMsaY+QyINqSis1A== X-Received: by 2002:a17:902:6548:b0:1d4:1dac:9fa9 with SMTP id d8-20020a170902654800b001d41dac9fa9mr471413pln.72.1704376059493; Thu, 04 Jan 2024 05:47:39 -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 a22-20020a1709027d9600b001d425d495c9sm22990550plm.190.2024.01.04.05.47.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jan 2024 05:47:38 -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 v2 1/6] ARM: dts: aspeed: Harma: Revise SGPIO line name. Date: Thu, 4 Jan 2024 21:45:27 +0800 Message-Id: <20240104134532.536793-2-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240104134532.536793-1-peteryin.openbmc@gmail.com> References: <20240104134532.536793-1-peteryin.openbmc@gmail.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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 -> v2 - Add infineon,slb9670 information for tpm. - Patch 0006 - Add PDB temperature. 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 Thu Jan 4 13:45:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Yin X-Patchwork-Id: 760537 Received: from mail-pj1-f42.google.com (mail-pj1-f42.google.com [209.85.216.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C36EF22EED; Thu, 4 Jan 2024 13:47:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="UsOoaoTi" Received: by mail-pj1-f42.google.com with SMTP id 98e67ed59e1d1-28b400f08a4so375887a91.1; Thu, 04 Jan 2024 05:47:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704376062; x=1704980862; darn=vger.kernel.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=UsOoaoTiaLKeMSLkXmDPUOx8d8LNWoOSVr8PMWB/ufMBVH/Fik5hjnV4it8GpE6B8R ZGH1+nu8IhaU6E/vwErJSB1926nXDNrW9mBJFmRyQINjQUDCp9gPTJzbRCoSoYxQUpXU ojVBZqtLagMVxcICXzIiW9fOoq8BK6+1R5BpMsCRdJJszCMax5jD1Tx9dxxkUUpyOWva ve2NTAQVCnWdMak1LNZ45CQc0E3S3QHqaXDhAh+Jb8Bjaf2PpPrI0+uS4ITuziIjxkAX 2Y8m9MzInpSKOLcvtzMRXrLYrhgHiLEYxrFZ+DCnVIGB2PBHgBr/PhWxUDSRbUAL38n3 0ZzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704376062; x=1704980862; 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=j3o9hKpGh/CNsvCXHMwizCZOyWg6YbteiOMCNzLN1Alc7Bah+6sLsb7m2GRbrAUeZd 9hAID0p/iSu54vcZIkCPjC9kaSHRZqMEEABmRbmiZkefH0t2djz1oivCZZidiegqLkVB cnE+4OJ7VU2s/MRYvZsnU3DsDsr09XZ+jpIHJrxAK+7Zibv3IMpH56pKGTaa/7dwVpbu oyrMJZFruIjjVkkEWK96EGAk7obydrqbCD+8KfJNcZQ5UKXxI29cCBwTZNdWfbfWnSTN IqkWDJNTp4UHdhMfb+gnyfhPJCjUuxZ/QrQU5hITDLvAWDn5it0kE5Q92TEHt5JZK+Vu BdsQ== X-Gm-Message-State: AOJu0Yz0Ta6yeMSQDlJPbglY7joSlbMon2E9RQtJNJC5sLStWrF+ej1N 17nwH/1cpMMJuYRsSiB7eYA= X-Google-Smtp-Source: AGHT+IFCbGdnPEtxJYKYWC3wH6B6pOmF3J7YVEBHF0oMLhCvgGy2SmtHvjHpNVtfg0AjaZGf0RoPqg== X-Received: by 2002:a17:90a:d149:b0:28c:2786:48be with SMTP id t9-20020a17090ad14900b0028c278648bemr535511pjw.49.1704376062106; Thu, 04 Jan 2024 05:47:42 -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 a22-20020a1709027d9600b001d425d495c9sm22990550plm.190.2024.01.04.05.47.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jan 2024 05:47:41 -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 v2 2/6] ARM: dts: aspeed: Harma: mapping ttyS2 to UART4. Date: Thu, 4 Jan 2024 21:45:28 +0800 Message-Id: <20240104134532.536793-3-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240104134532.536793-1-peteryin.openbmc@gmail.com> References: <20240104134532.536793-1-peteryin.openbmc@gmail.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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 Thu Jan 4 13:45:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Yin X-Patchwork-Id: 759951 Received: from mail-pl1-f179.google.com (mail-pl1-f179.google.com [209.85.214.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 35B5D22F0B; Thu, 4 Jan 2024 13:47:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Wo0jgfd2" Received: by mail-pl1-f179.google.com with SMTP id d9443c01a7336-1d4414ec9c7so2879085ad.0; Thu, 04 Jan 2024 05:47:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704376064; x=1704980864; darn=vger.kernel.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=Wo0jgfd25f+tiAMVFm1YcW7fCZVtZPWD6PPs2FMcVnEMEeX98PNgzfKLy5XCGGbf5a jfnf7TNuXl/xA1hoVHFWbuszQoiqtyjkG7A9LsDr4D64hizCMN4MrxVs8NETBcuyNk+f RoksPz5cbdJmbriwalhnd9GouhucN2nUFL9kTBhFOtn/+ppHteGuWgZbZJpn8X8UsVDr wATh6wzO99sw7P2YqomXFTWok9FcsLPUgD6FAir6EKyXEtBvW6axgLM2F+fGMPoMh9Th yRuLnq2sfypcbMWZiQRWpPGnCjX3hS5hdKdZSas7Ggtgj/+3YVZUfL+BNvncIq9rDPbw v5YQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704376064; x=1704980864; 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=TRmEI3Ij0nVyHr/XbtIuDur55o9z8oEZc2+w1FdoXwPKRDgkt4O0wTqqnuB10j7Y1n kFrAatSm86MScw/7vao4ZldqB9ARv049fJlhj241s6+KNsj+dNtrPKTNJTChT/LH1GjQ 8qn3kHEHmKYxIid3BXjyDMnz9klFkr2hac0DCZuyZKKGati68hvWageYJCuJwyes6Oa7 CzLhd5VkyNZ2ZwLMHTZbcBIV35oscrM8vs0p/pWImw+DnUlsUbS6FSHN5PJCNm29bdyz L1/9XQWszWqv0sugIpFwtKBF0QxGCeDd8zpKHXqwWWppLPCYhJXP6E7UFlt5qwBl6Vce XldA== X-Gm-Message-State: AOJu0Yw/3usK72QxZurCgrkqjp3NPZ7qSWZkWeGsQ6aVcOLGZV3Al339 xuW2sZvctzQPFrV/VQkBQjn5gFRgdgI= X-Google-Smtp-Source: AGHT+IHUiOTg4zCNAIBM0tpqHX3KafYYflpL77hic8vey7JDTAmJ354vcnuYX8fns2HYsVVBMeoeQw== X-Received: by 2002:a17:903:1c3:b0:1d4:cea8:5d6a with SMTP id e3-20020a17090301c300b001d4cea85d6amr595332plh.4.1704376064558; Thu, 04 Jan 2024 05:47:44 -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 a22-20020a1709027d9600b001d425d495c9sm22990550plm.190.2024.01.04.05.47.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jan 2024 05:47:44 -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 v2 3/6] ARM: dts: aspeed: Harma: Remove Vuart Date: Thu, 4 Jan 2024 21:45:29 +0800 Message-Id: <20240104134532.536793-4-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240104134532.536793-1-peteryin.openbmc@gmail.com> References: <20240104134532.536793-1-peteryin.openbmc@gmail.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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 Thu Jan 4 13:45:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Yin X-Patchwork-Id: 760536 Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DFC3023760; Thu, 4 Jan 2024 13:47:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="mmzwAkmm" Received: by mail-pl1-f175.google.com with SMTP id d9443c01a7336-1d427518d52so3410695ad.0; Thu, 04 Jan 2024 05:47:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704376067; x=1704980867; darn=vger.kernel.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=mmzwAkmmv6Jp2oZzEgM/ossWtbTEosSwGTs/AIGMA+2+QVsc3h2JaMPy/pzmXYKk7Y M3q8etyHRkISjKiZDa7biJs7X201uL6stHQc/zHaaVeE+LBmAvrTyacQD9cJ/pcrZjuy zMS8vntiNnvSm+PrMYGga629uSD2o19Pi6cbfKbLkUcB6pZDh9/GS26OhQcu84nh75zE IotzOoa7209X7iG7Q/pPvC9GSm2K29sznC0gKgXhaG/x+IoRvlCV/O4yI9EZbgPak8Ms gGeXnhLISHSn24mtHh3p5VtahAk4OKpWTlSnM/NBZqPS4A7q1DBFEo/vX8wpjXiJNobI eonw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704376067; x=1704980867; 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=Q6GBZC5SZnNL1nP//BnMI4ZVsOOfYh7ffN+RLIP5MzOsHeRaSlTAal2jxWkjObp7jL AyE3CyY+rjuTXPaN7DsxdshySukesfqE8fiLJzWbNusds7TZ38XoqPA1YqAf2VZ74WnC Hoa0thh8zoUUtV1E0rwHHKRzQ3rfH28ASvRkGjUCv3QKEbwRhWHIiX9+rUFVpeUHfg3e p5qwzjBL+SeNZ5nrGdA6KYfPmiUxwGEfwZzhuFckn2CdlbMvsYvsz3ShyrRV+KwHxn9P kPsvJ6cS1sCwOiJmHN/nvV0WYTC+QRD/SMk62O+yvq/pFt/KbAlwf/pr/MFJby8frShL WmEQ== X-Gm-Message-State: AOJu0Yz/Oz+zSR4e/qsRVmPa3DsdReKLqWAjJuKu6HjUXffalDzE/daJ mqwpnLGVhPQqscoEpTCqRHk= X-Google-Smtp-Source: AGHT+IF7X1lreIaoGxYOY0Mw924RintZD1lo9Uf8+TBROV+grUK3C7/HxBu+kT8owOJIrT3JfzUsBg== X-Received: by 2002:a17:902:dac5:b0:1d3:f344:6b01 with SMTP id q5-20020a170902dac500b001d3f3446b01mr745037plx.3.1704376067201; Thu, 04 Jan 2024 05:47:47 -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 a22-20020a1709027d9600b001d425d495c9sm22990550plm.190.2024.01.04.05.47.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jan 2024 05:47:46 -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 v2 4/6] ARM: dts: aspeed: Harma: Add cpu power good line name Date: Thu, 4 Jan 2024 21:45:30 +0800 Message-Id: <20240104134532.536793-5-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240104134532.536793-1-peteryin.openbmc@gmail.com> References: <20240104134532.536793-1-peteryin.openbmc@gmail.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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 Thu Jan 4 13:45:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Yin X-Patchwork-Id: 759950 Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7E81523779; Thu, 4 Jan 2024 13:47:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Ow0V4YEb" Received: by mail-pl1-f178.google.com with SMTP id d9443c01a7336-1d44200b976so3288885ad.2; Thu, 04 Jan 2024 05:47:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704376070; x=1704980870; darn=vger.kernel.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=7+fqIWtBV/T+80XSNaZFcmZX/ftnbYEEAJ0ueKG+0WM=; b=Ow0V4YEbj75sw3j8idCE/zXTN8k+zmKaFn7luq5gzmOO9WYaXdBTPcIfXKOF2NxVE+ 5zaWNwgxWAz5roI3qM5Q+C6l7ALUkHo24PfYX1JeaMhfKWgV95yfnRFo4CIGqeL/mLWD uKLDKVdUQejgnnNQ5CFx4GNmch1vVwphNJ2mBGnkPKN6VJaaa4bvQbh5JDMcfqZvmcQr Uj0YtaxLFTCRjmE61Lv3G5uwWMuYUieoZlio/ShuxuMuQErZifIuRHfAB668G3mk6pqq /XOs2ndwOOjFE7R/xwNe16AQ1Khsee+4/FWaNZKwuSxqPuOXzMUtqjye66z3FiQG2x45 mV0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704376070; x=1704980870; 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=7+fqIWtBV/T+80XSNaZFcmZX/ftnbYEEAJ0ueKG+0WM=; b=aRbOZS+ljDOaex0etJ4x2r5bYbxi0m1f9LLSrMSQG4rb+Xu03qEepkw3OQSDzzQE/x 3VZQyLK2TE5exkEPSWflsdBOgn3Hi56FwPr3/xCrYCb3p4lCxSidkmX8SxOsX+EJ3W+X nHCmpVHya9vappiK25UY1QdbgfQOxKPvDLivL2AlkZWQdJzbOfUlVCM0gNXR4u6CjkUi ARo6MSHqvEdJQmtrkgVBTuSknGgT33sqNWXStBVnRZwJpfoq/b8BQf9CFdZOThsUOX7u SQcNfqipe6YFx2SA0vaCD/axAWeT9gqxtYB6ayxZoGhF1ZX8I4KdSnHZuKxrSi2hFy7q sSmg== X-Gm-Message-State: AOJu0YyopPVSA50NXiNMfIHBKnuzUHBMGeMW64DsIB4Rf3ERU4fpKo5/ wbj1zKaCGPoFcwUVJ1tn3HY= X-Google-Smtp-Source: AGHT+IHBxBwSpW28GZdntaZFG1A80qvbNoZ957AWOQCPnqqsFROz+rNn2v5UlOyhSbVyKo80+N6cXw== X-Received: by 2002:a17:903:120a:b0:1d3:beea:972b with SMTP id l10-20020a170903120a00b001d3beea972bmr514003plh.93.1704376069727; Thu, 04 Jan 2024 05:47:49 -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 a22-20020a1709027d9600b001d425d495c9sm22990550plm.190.2024.01.04.05.47.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jan 2024 05:47:49 -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 v2 5/6] ARM: dts: aspeed: Harma: Add spi-gpio Date: Thu, 4 Jan 2024 21:45:31 +0800 Message-Id: <20240104134532.536793-6-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240104134532.536793-1-peteryin.openbmc@gmail.com> References: <20240104134532.536793-1-peteryin.openbmc@gmail.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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..ca3052cce0e0 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 = "infineon,slb9670", "tcg,tpm_tis-spi"; + spi-max-frequency = <33000000>; + reg = <0>; + }; + }; }; // HOST BIOS Debug From patchwork Thu Jan 4 13:45:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Yin X-Patchwork-Id: 760535 Received: from mail-pl1-f176.google.com (mail-pl1-f176.google.com [209.85.214.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CB2EB241F7; Thu, 4 Jan 2024 13:47:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="CvrdRdyj" Received: by mail-pl1-f176.google.com with SMTP id d9443c01a7336-1d4a2526a7eso3264225ad.3; Thu, 04 Jan 2024 05:47:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704376072; x=1704980872; darn=vger.kernel.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=yp8IfCHTatW0ncFNjRQTUbnECiIcWKU3D3cZUARMrCo=; b=CvrdRdyjOMdFeB2V7NM76ENEofdN+nfmZeKVqCMjgWMa5z81xuP6hBaZOHou5LLe/R betGbR7ICMuVqDub8gq6CuJT8vjGVjZk+IB0v7bJN1AbRy9Lm43cWMqUtxexhAEWjjsY 7gyXKCh9AIimIm3h2YGll/WSJf/wfueDvMUkzmP0g7Jk+WYE81ivzJZQ4C0KBPD35Dfv 056HjU5Gbu0wdeN50GjFzGI2prwzzxCo01Jk61zYN7vXZKwfQFA3wOATk81lpJEctkxi waFLfU5vSM2ssce/qsBy1KgoSVwuo8kp0TgmojlB+Rb4n4jgGUwe5juLsPsfrP1WoxMy LqYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704376072; x=1704980872; 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=yp8IfCHTatW0ncFNjRQTUbnECiIcWKU3D3cZUARMrCo=; b=SwsNtf/meRWiWI9snd+BSi0r0Zeo9jG/zd64rbyn/0lCKKBnkwAXGDzpsoHcDhnpYh uqvtHCHjQG64JU30fpI9pjH6rf8KZirRT41QUD72QxrXQ16DBsnjfPn62K7Isi3Y0IjB RQcsQcZO/TiOpSw9PWsNmug4GXyhHv67U2LcOQCanM7XRp88vYGmKmnJKmTwnNCSe2nA /vhXxz0M14NmB7ZI9MgQ01jcHpz99vxcAUWGaJ8My0t24JJYGzzXIucR5nmTpznv/oD9 2CM0asSJ3glcQ1k/A9qyBARM2QS9wmfZX91JPi6QDQV6xlpd877gJp3Vn1Jm2ksFLKzq e0DQ== X-Gm-Message-State: AOJu0YwJ1WS/BuNuFEqN6GPspprIsDWtbMWKqnvm1tVKWIuncKoTgkHC z4bmcXdzrWojljKV8sMTxGY= X-Google-Smtp-Source: AGHT+IFQHHYmwet3CoyyX/LqgEYVSersCYJ0/Vp/D600j6Qa7Pxw2BNU534S67X/82jEKX0M7gmpsw== X-Received: by 2002:a17:902:76c6:b0:1d4:3795:710f with SMTP id j6-20020a17090276c600b001d43795710fmr475758plt.135.1704376072280; Thu, 04 Jan 2024 05:47:52 -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 a22-20020a1709027d9600b001d425d495c9sm22990550plm.190.2024.01.04.05.47.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jan 2024 05:47:51 -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 v2 6/6] ARM: dts: aspeed: Harma: Add PDB temperature Date: Thu, 4 Jan 2024 21:45:32 +0800 Message-Id: <20240104134532.536793-7-peteryin.openbmc@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240104134532.536793-1-peteryin.openbmc@gmail.com> References: <20240104134532.536793-1-peteryin.openbmc@gmail.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Add PDB temperature sensor. Signed-off-by: Peter Yin --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts | 5 +++++ 1 file changed, 5 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 ca3052cce0e0..4d5d1c822fa3 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts @@ -260,6 +260,11 @@ delta_brick@69 { compatible = "pmbus"; reg = <0x69>; }; + + tmp75@49 { + compatible = "ti,tmp75"; + reg = <0x49>; + }; }; &i2c5 {