Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1255258imu; Thu, 13 Dec 2018 11:56:06 -0800 (PST) X-Google-Smtp-Source: AFSGD/XctFGy/cZ4H3Dn3QqaX8wmfGy7ctU2UYt46lt2A+OqhFmC02JI+5Eu8Iq6afbxJz+fI3gI X-Received: by 2002:a17:902:c85:: with SMTP id 5mr110598plt.339.1544730966561; Thu, 13 Dec 2018 11:56:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544730966; cv=none; d=google.com; s=arc-20160816; b=AoCmZTFnY82MgGi99Rdyi9Fjyt0URfd/v0Y7p7Rcjqu53H3H9g/aI/cGaXnns/u4BV Q00ZcuWAzTbVc0gSGahMIUfqLDJzzhMzDKwp6oXfTw0KufarjGxptHONGUN2wJv9FG1P LvIJgmdX+pW4p5LeKMlQbMETEeRmmlflmZa4BcjmfMdcXuxSdCLHifQrdhj7CDCyPcLN X6rRyHHKJpuk2x8gFUJBu1XhYlwPYcLvuflBOckJtCAEtW4f8qPQxxKtoF8AlFQ4mVVE Mah8LCZrFC0s8y6kv7giUADN+MTsP44Dz/8fOhC9lCgMJI53azcV8QPQJwnK0T1T9z/B EHTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:smtp-origin-cluster:cc:to :smtp-origin-hostname:from:smtp-origin-hostprefix:dkim-signature; bh=ACeWLzKnSYqBGDXLt1crRl2V8ZtG4AgpgdT2ngd5KPQ=; b=YOtWsCak/fl/gSIVr5RVG91g+Ndf79KPRC5zaRzQurVDT9xIWdWth9WiTQLnQ+2Cpp jURTgwx3//CUamdp5XuT+ohZ3Rasq3ySs2L6fI2TtgPq95dpBG9EvVkn6z/GFuQxmBgT n3E/k5y+PupraoLwGFbrRe5E0Sos6SMk5Ph0vpExsFTNW9iYUnwyW7/teMcp9OWIKsYe nEyN+Q/UT9hrCfqdWlMpyVVI2PMF4mliQ45muf3Jd9KmvB1AwfbxL6ywSiDaZROd+WHf dYoKgdIB9u4sqNXM5JUAQHgK3DOq5ON00HG4/NPEFSNHZIWiPLg+tAAi6I8bfZgUAA+v 78aQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b=e9xfkcER; 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=NONE dis=NONE) header.from=fb.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g31si2194757pld.358.2018.12.13.11.55.51; Thu, 13 Dec 2018 11:56:06 -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=@fb.com header.s=facebook header.b=e9xfkcER; 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=NONE dis=NONE) header.from=fb.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728995AbeLMTyl (ORCPT + 99 others); Thu, 13 Dec 2018 14:54:41 -0500 Received: from mx0b-00082601.pphosted.com ([67.231.153.30]:47696 "EHLO mx0b-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727707AbeLMTyl (ORCPT ); Thu, 13 Dec 2018 14:54:41 -0500 Received: from pps.filterd (m0109331.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id wBDJmck2011721 for ; Thu, 13 Dec 2018 11:54:40 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=facebook; bh=ACeWLzKnSYqBGDXLt1crRl2V8ZtG4AgpgdT2ngd5KPQ=; b=e9xfkcERZ1kHnp4rZyO4Ht+S02L+yWOPr1PJATgvNv5GnPDCjfxnHYZ7VxX5yrhtC9zp O7wees05mIkgcucMN5AfHX1rzr+LQetKPbZnA6MOdcJ9pJLf8JYha9t04kmdON+M10hA 6aTNnVW5+Njy+KZSBPuIBH7ldgPj6xyFj5U= Received: from maileast.thefacebook.com ([199.201.65.23]) by mx0a-00082601.pphosted.com with ESMTP id 2pbvxag8ca-5 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Thu, 13 Dec 2018 11:54:40 -0800 Received: from mx-out.facebook.com (2620:10d:c0a1:3::13) by mail.thefacebook.com (2620:10d:c021:18::172) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA) id 15.1.1531.3; Thu, 13 Dec 2018 11:53:24 -0800 Received: by devvm4117.prn2.facebook.com (Postfix, from userid 167582) id C370E4EBD9B6; Thu, 13 Dec 2018 11:53:22 -0800 (PST) Smtp-Origin-Hostprefix: devvm From: Vijay Khemka Smtp-Origin-Hostname: devvm4117.prn2.facebook.com To: Rob Herring , Mark Rutland , Joel Stanley , Andrew Jeffery , , , , CC: , "openbmc @ lists . ozlabs . org" Smtp-Origin-Cluster: prn2c23 Subject: [PATCH 2/4] ARM: dts: aspeed: Add KCS support for LPC BMC Date: Thu, 13 Dec 2018 11:53:17 -0800 Message-ID: <20181213195319.1333402-2-vijaykhemka@fb.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181213195319.1333402-1-vijaykhemka@fb.com> References: <20181213195319.1333402-1-vijaykhemka@fb.com> X-FB-Internal: Safe MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-12-13_03:,, signatures=0 X-Proofpoint-Spam-Reason: safe X-FB-Internal: Safe Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Added kcs device support for lpc BMC. Signed-off-by: Vijay Khemka --- arch/arm/boot/dts/aspeed-g5.dtsi | 33 +++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/aspeed-g5.dtsi b/arch/arm/boot/dts/aspeed-g5.dtsi index d107459fc0f8..2743f400aa29 100644 --- a/arch/arm/boot/dts/aspeed-g5.dtsi +++ b/arch/arm/boot/dts/aspeed-g5.dtsi @@ -330,8 +330,32 @@ ranges = <0x0 0x1e789000 0x1000>; lpc_bmc: lpc-bmc@0 { - compatible = "aspeed,ast2500-lpc-bmc"; + compatible = "aspeed,ast2500-lpc-bmc", "simple-mfd", "syscon"; reg = <0x0 0x80>; + reg-io-width = <4>; + + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x0 0x80>; + + kcs1: kcs1@0 { + compatible = "aspeed,ast2500-kcs-bmc"; + interrupts = <8>; + kcs_chan = <1>; + status = "disabled"; + }; + kcs2: kcs2@0 { + compatible = "aspeed,ast2500-kcs-bmc"; + interrupts = <8>; + kcs_chan = <2>; + status = "disabled"; + }; + kcs3: kcs3@0 { + compatible = "aspeed,ast2500-kcs-bmc"; + interrupts = <8>; + kcs_chan = <3>; + status = "disabled"; + }; }; lpc_host: lpc-host@80 { @@ -343,6 +367,13 @@ #size-cells = <1>; ranges = <0x0 0x80 0x1e0>; + kcs4: kcs4@0 { + compatible = "aspeed,ast2500-kcs-bmc"; + interrupts = <8>; + kcs_chan = <4>; + status = "disabled"; + }; + lpc_ctrl: lpc-ctrl@0 { compatible = "aspeed,ast2500-lpc-ctrl"; reg = <0x0 0x80>; -- 2.17.1