Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2780671ybc; Mon, 18 Nov 2019 04:39:10 -0800 (PST) X-Google-Smtp-Source: APXvYqz0SmSJcfoZUP0rCNpyRoPsPYitm49vB9eSIUWc9gQ/BH2mJzFATczkw341VRVIsx9Kop9e X-Received: by 2002:a17:906:1354:: with SMTP id x20mr27002346ejb.131.1574080750383; Mon, 18 Nov 2019 04:39:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574080750; cv=none; d=google.com; s=arc-20160816; b=QlCrmNiLzj0iopPgIL6bCzbTpfPIz6Yv+hpr4jtYRHVPgqCl5miSIdfpkPrgQoJP+w hpAvS/g/8bZoq8eIQvtrHvsZ5e1vlJEBwG6Yz74rMRqpGqvwT3jBhr7PbhQQiatiUI+x eJhh+p417Hai/9C+IjcOLaVSp5tG9kWMxsyB0iK3tdxzS1szUqTThWLjgbhp/Z5tEkwY bEtppZUgyRcJ6tjN1ER4+eMfYB3prRWYI00gg4a8BI5kCyGb+TH5kltVDmnaSkPeDQip 7Q2VEnlLxisFUWwapYbh8C43gNpBA39NjuPXu6ioqX8F01vXJcHOeosJjmb7eGNEFOL8 R9Bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date:dkim-signature; bh=eA/JCApNlYCU5jrBnTYvAgCpSZcMA311vllL5COdNvE=; b=Bq65IT00RZiAd65MBJ27QbJfniEQPh8Ccd2oAVp+EaGQLZqoXByAqqLUI+W1ICNXu2 lzRhozb/VQXicPE5XOTMvk5prY+XiCvwZ2LW4wSAWDdVAJEGS3d3n3vJji4ngfDb2ISZ exemoFRrHUGIs4wZz/I7rvsf+fC3Xe3hZTHCzQb9oNQ3R6KZDZqQiuR/Z8e+d8tp6n3E KH6ZnfzlMts7AEXXe5gFpLC9elv5rG+Y4Nh3pjudO0xc9V9pzYBoL9XxJhxQcGBKrvYi 36zjD/RWnWkoAmgUd2n5AaKf8TohCv2gyqO4BLm4MkW53AyxX3AOzHYBrN6lKkicoD2K 0LaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tC3R1xX7; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n2si11568698ejx.38.2019.11.18.04.38.46; Mon, 18 Nov 2019 04:39:10 -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=@gmail.com header.s=20161025 header.b=tC3R1xX7; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726627AbfKRMhQ (ORCPT + 99 others); Mon, 18 Nov 2019 07:37:16 -0500 Received: from mail-pg1-f195.google.com ([209.85.215.195]:41822 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726506AbfKRMhQ (ORCPT ); Mon, 18 Nov 2019 07:37:16 -0500 Received: by mail-pg1-f195.google.com with SMTP id 207so2226725pge.8; Mon, 18 Nov 2019 04:37:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=eA/JCApNlYCU5jrBnTYvAgCpSZcMA311vllL5COdNvE=; b=tC3R1xX7Ly//6QapOiAnsxuV4HsZCGw4AD+75iAtE4u88DFAcNSTLWlWXwElelB2Zh tFpNdM+/+5xrT0BkRHGPfOqPKfLnGNoTM6ttfpO5Xb3NPvQYtTxq1AudMI6D6YPTJEF2 9qdTlApxAMQbbWUDxmIeFWp2Elcgn9f+MHmq++Lo1tPXHz3yhVYDPX9gAJzCANfUcBqI Sb12jvKBVlC9bnW6DwrrF4isIX7izBN6aiEeoJZk4tM5GKip4zl9wXHik1+ULg2dwnBW QkbTqfPrjUrGtIgBy5dYGcKMr2aWwjuVnybjEBirTZH4fh8L1mP179+0IfbhHcvCF+3R 2pkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=eA/JCApNlYCU5jrBnTYvAgCpSZcMA311vllL5COdNvE=; b=LyKcu+ZCtdo0ydxCnbKf4GwT2cQbIjuYYO92J1k0irnhqOAK9+F8oe67O6yG53qo5F xfk/rJoBp1vkNmawVjiFi/qsQ5iMCJ5gRHDmu5kcLC1101nqP8ICnAzdCYWbiwfVo+yP HZ8AGi6jMpuRGhHNChNJ8Jpu/6iCaWigV5kAY3S46MJzsY89PG9b30lbV9H+dTo+FOM2 Fo3ZiZVzvCMoCFWDJiZkLUCivYu/mwbm28YQKwG6VHEQC6kD/SKZLmQ/Q0p2hm5h3fwm VO/FwdT+jEd7xlinZQSFKNvMJJ26cA+tY0mgD3D2bstK91BmpZPyQ9SUmImNRYzp/ObK 9Ykg== X-Gm-Message-State: APjAAAWg07Artb0+idAVHX2BNdcOFfOi3pTefEo1nBKaZi4s7cgAU9Ks JO9UH7fpo9gUQwtnl0K6oGI= X-Received: by 2002:a63:231b:: with SMTP id j27mr21681980pgj.106.1574080635213; Mon, 18 Nov 2019 04:37:15 -0800 (PST) Received: from cnn ([2402:3a80:474:446:ad42:52cf:560a:df52]) by smtp.gmail.com with ESMTPSA id i22sm18055887pjx.1.2019.11.18.04.37.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Nov 2019 04:37:14 -0800 (PST) Date: Mon, 18 Nov 2019 18:07:07 +0530 From: manikandan-e To: joel@jms.id.au, andrew@aj.id.au Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-aspeed@lists.ozlabs.org, manikandan.e@hcl.com Subject: [PATCH] ARM: dts: aspeed: Adding Facebook Yosemite V2 BMC Message-ID: <20191118123707.GA5560@cnn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. This patch adds linux device tree entry related to Yosemite V2 specific devices connected to BMC SoC. Signed-off-by: manikandan-e --- .../boot/dts/aspeed-bmc-facebook-yosemitev2.dts | 170 +++++++++++++++++++++ 1 file changed, 170 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..46a285a --- /dev/null +++ b/arch/arm/boot/dts/aspeed-bmc-facebook-yosemitev2.dts @@ -0,0 +1,170 @@ +// SPDX-License-Identifier: GPL-2.0+ +// Copyright (c) 2018 Facebook Inc. +// Author: +/dts-v1/; + +#include "aspeed-g5.dtsi" +#include + +/ { + model = "Facebook Yosemitev2 BMC"; + compatible = "facebook,yosemitev2-bmc", "aspeed,ast2500"; + aliases { + serial0 = &uart1; + serial4 = &uart5; + }; + chosen { + stdout-path = &uart5; + bootargs = "console=ttyS4,115200 earlyprintk"; + }; + + 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"; + }; +}; + +&lpc_snoop { + status = "okay"; + snoop-ports = <0x80>; +}; + +&lpc_ctrl { + // Enable lpc clock + status = "okay"; +}; + +&vuart { + // VUART Host Console + status = "okay"; +}; + +&uart1 { + // Host Console + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_txd1_default + &pinctrl_rxd1_default>; +}; + +&uart2 { + // SoL Host Console + status = "okay"; +}; + +&uart3 { + // SoL BMC Console + status = "okay"; +}; + +&uart5 { + // BMC Console + status = "okay"; +}; + +&mac0 { + status = "okay"; + + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_rmii1_default>; + use-ncsi; +}; + +&adc { + status = "okay"; +}; + +&i2c8 { + status = "okay"; + //FRU EEPROM + eeprom@51 { + compatible = "atmel,24c64"; + reg = <0x51>; + pagesize = <32>; + }; +}; + +&i2c9 { + status = "okay"; + tmp421@4e { + //INLET TEMP + 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