Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp6182380ybc; Wed, 27 Nov 2019 16:47:43 -0800 (PST) X-Google-Smtp-Source: APXvYqzfMvwlUlbBAXqiX423GPp7o0SrqjX750FbvQWeLfrIgqzQPaj5e2O5UFwN2wcnRNVs3S2Y X-Received: by 2002:a50:ac06:: with SMTP id v6mr5189706edc.4.1574902063740; Wed, 27 Nov 2019 16:47:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574902063; cv=none; d=google.com; s=arc-20160816; b=mNZ2Bytv1EPzvZcra/a+t4WVRU/5LnK37vdDxXxYGspX/tbiU6FIkmG4BAL5c+B/IA tPrNkawVUvvlHrhnWyfA+wXUMNpl7c2RPEM8KEDCg0asNldlt4KMC3hgzYrUmjsM66lD 5ko42mTeywkvPjF6GbIcogKh4Hw8rJymPawPsdI8Lqn23Srp4Xea1J81zQNiLwll3wfK qGz9omcPbDlI4rhVSnYNJZoIBug1ipgtVGPfUpOsbk4qdLLpHzjKq4TTaEvNnPyPSxrG G25eRjoVWwbUGOqll/66E+EdbOvdF4PoxD8aKINRNmOT5KQc8/whbLplN5p/dLZZZYEp YXJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=aJeoqcmKSSQvMjifG41URfXpoPD2I45j8yZ0E+rYsGo=; b=0magVtGOixs8zIyLfqHbUjdykpNfH1DoX1dPO7BNJYJRtLt/HeX6XnrQI/EprSi2pY EULayUeKMcJIgJUPHZWZ/kximV5Ic25NcvwQmgvcA6V3acPWIkd+fkqdiTPWbTGYULRy MozdRM4ksO1BjEcTOSLl2VrYvCvuiFRbBfz4Huhu9GCYIfpIHJ8dKdqMPsqbIP4twtJH jPrtXtTcaZOQbrjdA8eKAzRxN9KHEm/dq3oOZ2sh01KP6YK1XlRNysmxoMucPpJ9Tg2T LOWL0Tr0J1IfvTBeCC1ZPI7KwJ2Tl0f+16KcGlewt51G5eeEMpyv87uW/T8rxJyMt2nO Armw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@jms.id.au header.s=google header.b=JW2HM0d3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d10si12744388edk.122.2019.11.27.16.47.20; Wed, 27 Nov 2019 16:47:43 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@jms.id.au header.s=google header.b=JW2HM0d3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727191AbfK1AqK (ORCPT + 99 others); Wed, 27 Nov 2019 19:46:10 -0500 Received: from mail-qt1-f194.google.com ([209.85.160.194]:43723 "EHLO mail-qt1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726947AbfK1AqJ (ORCPT ); Wed, 27 Nov 2019 19:46:09 -0500 Received: by mail-qt1-f194.google.com with SMTP id q8so24664788qtr.10; Wed, 27 Nov 2019 16:46:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jms.id.au; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=aJeoqcmKSSQvMjifG41URfXpoPD2I45j8yZ0E+rYsGo=; b=JW2HM0d38B3YxpLDeP3VdWE5jC1VN+rWirnpsjbm7P1MG3Qvquz6yXZNb/VcCji6uh B0aao0fYaU+rr3A/SmPrwOt9WA4bI5NBrlIQPqK5v/EKfh9j48phG2kk7fcK0d1D+Blm UhV3sq6Z0f1FOKVWceulCSq6/F+rQ/sWTigVk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=aJeoqcmKSSQvMjifG41URfXpoPD2I45j8yZ0E+rYsGo=; b=NiciWzvKwnhMRUu9iuuZhBCQ0xM6ga1G5Er94uZoHZNP1PUMIleQAKLj2fiQB5yTHV ARQ00uz/xjfxRmPvqoI4WRaC8kSiIaxox+Q6FIkniY8k6GpJUPIWbmThpynqw2GwAVAU lkqtcKysALyM4aNrXJqTSXfTmtBA7Yg8gqA1LxhMnbtLH1Ysr4HOHetVk5TayoPBP4aM wmmNDdj7WkNdGTevXO/djVm/qNJ214wErNJO0AcsVJI84zpkSFUAkb6pooLnJO2Dr3XW p+bicQKxPWNdcP0KhCBTyIkqMhPa0WqTn0zPIrP7/gssNYwDGSLq/MEDe3mRRVnbmyX3 +z6Q== X-Gm-Message-State: APjAAAVIWaofWjtK3DjTS0CuV2Do31u1tjpbPJY+yngip3gu3Wkkir7h SV2cUymD4XJMwJEwQvTGEp9ch6eA4U84RnRrQPw= X-Received: by 2002:ac8:167c:: with SMTP id x57mr28046701qtk.255.1574901968058; Wed, 27 Nov 2019 16:46:08 -0800 (PST) MIME-Version: 1.0 References: <20191127060747.GA30829@cnn> In-Reply-To: <20191127060747.GA30829@cnn> From: Joel Stanley Date: Thu, 28 Nov 2019 00:45:56 +0000 Message-ID: Subject: Re: [PATCH v4] ARM: dts: aspeed: Adding Facebook Yosemite V2 BMC To: manikandan-e Cc: Vijay Khemka , Andrew Jeffery , Linux Kernel Mailing List , devicetree , linux-aspeed , manikandan.e@hcl.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 27 Nov 2019 at 06:07, manikandan-e wrote: > > The Yosemite V2 is a facebook multi-node server > platform that host four OCP server. The BMC > in the Yosemite V2 platorm based on AST2500 SoC. spelling: platform > > This patch adds linux device tree entry related to > Yosemite V2 specific devices connected to BMC SoC. > > Signed-off-by: manikandan-e Please see this: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst#n418 > then you just add a line saying: > > Signed-off-by: Random J Developer > > using your real name (sorry, no pseudonyms or anonymous contributions.) Can you make sure you've got your real name there? You can make this global with: > git config --global user.name "Random J Developer" > git commit --amend --reset-author > --- > .../boot/dts/aspeed-bmc-facebook-yosemitev2.dts | 150 +++++++++++++++++++++ > 1 file changed, 150 insertions(+) > create mode 100644 arch/arm/boot/dts/aspeed-bmc-facebook-yosemitev2.dts > > diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-yosemitev2.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-yosemitev2.dts > new file mode 100644 > index 0000000..44e2b17 > --- /dev/null > +++ b/arch/arm/boot/dts/aspeed-bmc-facebook-yosemitev2.dts > @@ -0,0 +1,150 @@ > +// SPDX-License-Identifier: GPL-2.0+ The kernel prefers this to be spelt "GPL-2.0-or-later" > +// Copyright (c) 2018 Facebook Inc. > +/dts-v1/; > + > +#include "aspeed-g5.dtsi" > +#include > + > +/ { > + model = "Facebook Yosemitev2 BMC"; > + compatible = "facebook,yosemitev2-bmc", "aspeed,ast2500"; > + aliases { > + serial4 = &uart5; > + }; > + chosen { > + stdout-path = &uart5; > + }; > + > + memory@80000000 { > + reg = <0x80000000 0x20000000>; > + }; > + > + iio-hwmon { > + // VOLATAGE SENSOR > + compatible = "iio-hwmon"; > + io-channels = <&adc 0> , <&adc 1> , <&adc 2> , <&adc 3> , > + <&adc 4> , <&adc 5> , <&adc 6> , <&adc 7> , > + <&adc 8> , <&adc 9> , <&adc 10>, <&adc 11> , > + <&adc 12> , <&adc 13> , <&adc 14> , <&adc 15> ; > + }; > +}; > + > +&fmc { > + status = "okay"; > + flash@0 { > + status = "okay"; > + m25p,fast-read; > +#include "openbmc-flash-layout.dtsi" > + }; > +}; > + > +&spi1 { > + status = "okay"; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_spi1_default>; > + flash@0 { > + status = "okay"; > + m25p,fast-read; > + label = "pnor"; > + }; > +}; > + > +&uart5 { > + // BMC Console > + status = "okay"; > +}; > + > +&mac0 { > + status = "okay"; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_rmii1_default>; > + use-ncsi; > +}; > + > +&adc { > + status = "okay"; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_adc0_default > + &pinctrl_adc1_default > + &pinctrl_adc2_default > + &pinctrl_adc3_default > + &pinctrl_adc4_default > + &pinctrl_adc5_default > + &pinctrl_adc6_default > + &pinctrl_adc7_default > + &pinctrl_adc8_default > + &pinctrl_adc9_default > + &pinctrl_adc10_default > + &pinctrl_adc11_default > + &pinctrl_adc12_default > + &pinctrl_adc13_default > + &pinctrl_adc14_default > + &pinctrl_adc15_default>; > +}; > + > +&i2c8 { > + status = "okay"; > + //FRU EEPROM > + eeprom@51 { > + compatible = "atmel,24c64"; > + reg = <0x51>; > + pagesize = <32>; > + }; > +}; > + > +&i2c9 { > + status = "okay"; > + tmp421@4e { > + //INLET TEMP Make this consistent by putting it one line up. > + compatible = "ti,tmp421"; > + reg = <0x4e>; > + }; > + //OUTLET TEMP > + tmp421@4f { > + compatible = "ti,tmp421"; > + reg = <0x4f>; > + }; > +}; > + > +&i2c10 { > + status = "okay"; > + //HSC > + adm1278@40 { > + compatible = "adi,adm1278"; > + reg = <0x40>; > + }; > +}; > + > +&i2c11 { > + status = "okay"; > + //MEZZ_TEMP_SENSOR > + tmp421@1f { > + compatible = "ti,tmp421"; > + reg = <0x1f>; > + }; > +}; > + > +&i2c12 { > + status = "okay"; > + //MEZZ_FRU > + eeprom@51 { > + compatible = "atmel,24c64"; > + reg = <0x51>; > + pagesize = <32>; > + }; > +}; > + > +&pwm_tacho { > + status = "okay"; > + //FSC > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_pwm0_default &pinctrl_pwm1_default>; > + fan@0 { > + reg = <0x00>; > + aspeed,fan-tach-ch = /bits/ 8 <0x00>; > + }; > + fan@1 { > + reg = <0x01>; > + aspeed,fan-tach-ch = /bits/ 8 <0x02>; > + }; > +}; > -- > 2.7.4 >