Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp618768iog; Fri, 17 Jun 2022 09:49:56 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uWLUgPMG24waPlXHQuQleHKMxid0dQkVuZgVkeFhNC16e4MXZHBuguipQ6zWxvo3u32oVI X-Received: by 2002:a17:902:8689:b0:14e:f1a4:d894 with SMTP id g9-20020a170902868900b0014ef1a4d894mr10421987plo.65.1655484596227; Fri, 17 Jun 2022 09:49:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655484596; cv=none; d=google.com; s=arc-20160816; b=lcRkqbBecTq8sbmMstnDe6cB4vLDyJ9ZHMf23bjJcDsWtZuzLC1BEtmqDx24UeiQ/n +llCYHYrM4dRfOh2YOMAESKoM3vyj6SbCgP8cXHwbxda3vldGXQk34eANl6RrhqIb2iJ VTRbFZyYGZXyCCjFDasniK/ZIGY5LkCx93saqLlXHRPdJeHar/uXNXi5FYE2Ng276/wN aRPfciOhh1xonSS2EEcwtarI4vQUpDPHsZz5Y1n8KdDjQlxRGlDUWWwgollxj4600eBw 0Yl7atqfrAX8IJzusiYJbZw+6speZByBgplGQ3noe7VSsGVbA5r55QoafIimwfVzWZhw H8zg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:feedback-id :dkim-signature:dkim-signature; bh=AiSSKnRv3mzrSKSMor1JpwujxpGQtnv79xXFLeYhgvM=; b=ul71rbciuH6y3mGKqUXHQXLzCsBt0X4OPjEFC1xNBU/FnlMtPYTL5Aen85g77i1s1U +sD34qnPwyUYhbH3fT67T6Mdz1ksAC4fwv57PCrkYZ2GXvDyVaGl2UeRe4g2DAmOds9E ntaWTAJgStyoBNHcodjSUVNB+35bCs2D2BpAzi6YVK70fMN4shUgDGiS5eR5iMjsxtol UpRFop1kixPzDSPkgplrKereyId/AnnPLo0sBF2KIHS3+hi68faMWlT+srjpxCeKbQYa KoW1XC+5UmdWXctrXw7kWp/HYTogTDOm7C4MlcKLQExpmAXC7fmg0i8N1xelgTbSIESc 9x1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@stwcx.xyz header.s=fm3 header.b=aWJ1WEAB; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=WdbnG9Mx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y4-20020a17090a8b0400b001dc62080a06si9360648pjn.74.2022.06.17.09.49.43; Fri, 17 Jun 2022 09:49:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@stwcx.xyz header.s=fm3 header.b=aWJ1WEAB; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=WdbnG9Mx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1383391AbiFQQms (ORCPT + 99 others); Fri, 17 Jun 2022 12:42:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52240 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1383384AbiFQQmo (ORCPT ); Fri, 17 Jun 2022 12:42:44 -0400 Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F11C632D; Fri, 17 Jun 2022 09:42:42 -0700 (PDT) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 880EF320094E; Fri, 17 Jun 2022 12:42:38 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Fri, 17 Jun 2022 12:42:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stwcx.xyz; h=cc :cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm3; t=1655484158; x=1655570558; bh=AiSSKnRv3m zrSKSMor1JpwujxpGQtnv79xXFLeYhgvM=; b=aWJ1WEAB7fpW3ksRDFuo+wlB7T QyH5gRz+OrZHIEnuu1Q0h2c/jNLK6vfxIeok3dOj6duThJ4E2xe4xTeaJp52gPp3 BXg9EqYuyV6LxTIGh7zGbF48O8ySDN7sGi6sHJL3iQ7AGmof0Q3v+9uWE4lz81xQ 1mgnObakMLIyipm6DqmQ5qRZu1hwH09VL84Nq8Nqm7TlJ4r0tbK7tyXK9nWBtycJ UUfHkijnECeXXTWD1H209NH+McAfaxZPwSdQy+1R8telkDSA3JfXUEWQ/tfq5U6X S+fgOwlzMsRhH1IO8dO+nxk8xOsk+duLf3P7ohvHGvDJSGv+dRwrzNOKOd+A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1655484158; x=1655570558; bh=AiSSKnRv3mzrSKSMor1JpwujxpGQ tnv79xXFLeYhgvM=; b=WdbnG9Mxrwj0toMuApALwtgRZd3wp96RyLRMt1T1T178 xmszSIuCUxiyV6v0J0hTzzZCEf6MS3cG3qYp5FG2jFp1Cj0nKL3CUc17HdO8xTaR 2Nqx4O3GTSw9Meek3sVu4JbPm6pZpFg6h3t/rj7ZMLKEwSQPx9z+B5yT0tq+2Q+T w7GzL6kczaTqJXVT8GVEix0X98I4foDSQi02NkZ1Tj2kYvy4h5C+E3irIy7lp+re 5fYnlOCqzk7okgLp2FYD7fLaJmf7Z9nEHqO7dLKCibtcd0Iz08iI4CQMrp7tHDwf sCFWpd6XQVaq+iGXql1RbCPaQ2GW0cXO7+l+Nuymlg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedruddvhedguddtudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enfghrlhcuvffnffculdefhedmnecujfgurhepfffhvfevuffkfhggtggujgesghdtreer tddtvdenucfhrhhomheprfgrthhrihgtkhcuhghilhhlihgrmhhsuceophgrthhrihgtkh esshhtfigtgidrgiihiieqnecuggftrfgrthhtvghrnhepjeejteelheelieejuddtudff hfeuueefhfefleehveegvdeigfffheduleehlefhnecuffhomhgrihhnpehgihhthhhusg drtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhm pehprghtrhhitghksehsthiftgigrdighiii X-ME-Proxy: Feedback-ID: i68a1478a:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 17 Jun 2022 12:42:36 -0400 (EDT) Date: Fri, 17 Jun 2022 11:42:35 -0500 From: Patrick Williams To: Logananth Sundararaj Cc: Arnd Bergmann , Olof Johansson , soc@kernel.org, Rob Herring , Joel Stanley , Andrew Jeffery , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-aspeed@lists.ozlabs.org, openbmc@lists.ozlabs.org, garnermic@gmail.com, thangavel.k@hcl.com, naveen.mosess@hcl.com Subject: Re: [PATCH v2] ARM: dts: aspeed: Adding Facebook Yosemite V3.5 BMC Message-ID: References: <20220616120707.GA22590@logan-ThinkPad-T14-Gen-1> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="5N0BVpXlyV7XdVV7" Content-Disposition: inline In-Reply-To: <20220616120707.GA22590@logan-ThinkPad-T14-Gen-1> X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROM_SUSPICIOUS_NTLD, PDS_OTHER_BAD_TLD,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --5N0BVpXlyV7XdVV7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 16, 2022 at 05:37:07PM +0530, Logananth Sundararaj wrote: > The Yosemite V3.5 is a facebook multi-node server > platform that host four OCP server. The BMC > in the Yosemite V3.5 platform based on AST2600 SoC. >=20 > This patch adds linux device tree entry related to > Yosemite V3.5 specific devices connected to BMC SoC. >=20 > Signed-off-by: Logananth Sundararaj >=20 > --- > --- v2 - Enabled i2c drivers. > --- v1 - Initial draft. > --- > arch/arm/boot/dts/Makefile | 1 + > .../boot/dts/aspeed-bmc-facebook-fby35.dts | 277 ++++++++++++++++++ > 2 files changed, 278 insertions(+) > create mode 100644 arch/arm/boot/dts/aspeed-bmc-facebook-fby35.dts A few comments below. =2E.. > +&uart5 { > + status =3D "okay"; > + /* Workaround for AST2600 A0 */ > + compatible =3D "snps,dw-apb-uart"; > +}; Is this comment accurate? Are we using A0 hardware on this system? > +&fmc { > + status =3D "okay"; > + reg =3D <0x1e620000 0xc4>, <0x20000000 0x8000000>; > + flash@0 { > + status =3D "okay"; > + m25p,fast-read; > + label =3D "spi0.1"; > + spi-max-frequency =3D <50000000>; > + spi-tx-bus-width =3D <2>; > + spi-rx-bus-width =3D <2>; > + #include "openbmc-flash-layout-64.dtsi" > + }; > +}; Aren't there two SPI flashes? It seems like it based on: https://github.com/facebook/openbmc-linux/blob/dev-5.10/arch/arm/boot/dts/a= speed-bmc-facebook-fby35.dts#L162 > + > +&spi1 { > + status =3D "okay"; > + pinctrl-names =3D "default"; > + pinctrl-0 =3D <&pinctrl_spi1_default>; > + > + flash@0 { > + status =3D "okay"; > + m25p,fast-read; > + label =3D "pnor"; > + spi-rx-bus-width =3D <4>; > + spi-max-frequency =3D <100000000>; > + }; > +}; What is SPI1 used for? I don't see it in the facebook/openbmc-linux DTS. > --=20 > 2.17.1 >=20 Are we missing the pwm/tach support? Or is that still not upstream from Aspeed? --=20 Patrick Williams --5N0BVpXlyV7XdVV7 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEBGD9ii4LE9cNbqJBqwNHzC0AwRkFAmKsrvsACgkQqwNHzC0A wRnIcQ//VcCo6ddGOZm0/gcObmyDc7rvp8grACdL5h0TbcdIsfsewa4a+/bp6ZmV flPUo9HCS4mqkHhip2YZbIfiv4ksneGst6p3LupEwLkba87dtBqgrbMhEGTcrjiz fJ3DfwnbPrmexUY3UiNZYifiej2L4PwKk/exlj2hx5VKyErHns+T3vuFov/LkLQX B5o1KWNis2E6Luj8olDfdnHQm7LR5Xsi7j9G1ZAYyb8Uro5Osja/GpAkqOxMKWoM ZpaavyncNeSBiJH6gMYDN2qEwhuWgMVd1nh0OEbNEk0ZfdySMjLHmHqTBX2fXQ/f OchWoLQVoC9Je9k8DAkmJ/cw5n9vOx63CyFezeuI5sFPU8S7DLXH1YFZGkES9cF7 mw+Waxpho39r3wTNMfA6gM1dQ7L+TJxXrjH6W3FfwD6100611QdKX6tfIjiVMAal 7Urzckk+EN2G5AbMnuede7Xfm2iRrZjSwDkG32/xSo7XtN0ZN/X9E4YWVWktxJ8E +pi0fLHaRl2jcgKWYKQGhQc+BTZxS6b1cjJQSNuJSTDaeyQLFAEyyWr2vXGv0OUv lYqB2y2bVrVX1VFHOsO+7eUyT84nekhmEbKJ6Yu95Wr1PgXaQRsQ4loA/aqHPqhY sb2g9WrcUvuycVQbXM4pKwwBfayoj4j8APpfFLqIJ9yiHk9R/tA= =aJmc -----END PGP SIGNATURE----- --5N0BVpXlyV7XdVV7--