Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1041242imu; Tue, 11 Dec 2018 11:40:47 -0800 (PST) X-Google-Smtp-Source: AFSGD/U0V9D/2dGocGFWOuVUng0d/u/qPy3BwdbII2bPI/32UxTXxL96ibKA2tF0RehheNXhTfBI X-Received: by 2002:a65:49cd:: with SMTP id t13mr15949815pgs.376.1544557247191; Tue, 11 Dec 2018 11:40:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544557247; cv=none; d=google.com; s=arc-20160816; b=EGwjqmHhjwGzgqDUxtkSQ3OS+jCJMOYnYHi7vmgr7NRFpyiycV7U5OFVg46m2u7z+E vseg9eWgdxkCBgvBNHTpydNmNLnfbi0Wo3PT8fbMJMlKJK2h+gJcWcCNENVpAHbO+vWa 8HhqfTqXTkPu1SFanLvsuj1wAJOWdk+MRsseAqgf/yDCQPjrfpa0Jo8U6QJ5oE2iPqzD hWZPmNufQ1HlPGKXzI7ufBdJKqQme2rwJwsZ+XAQGVOqxD8VVgE3fM1hruc/LLNAqNPP mLLggJGyT7Y5CsjHCUNIJ7kpsYSqDZQjvsudytE5BPsnG7Wpj6PiaYs0PrKaX1qIZ4+E zaWg== 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=yHMWg7LgDhzV330eAf3PxPwRX+93Yb2qgSolLZ+ibmE=; b=UYLz4gQt45wfQtUhhwQOG5jE+NTI1juhPx+UUJ7jUQEq0TAQbIYSe7IpSzzbMPAKzi 7VezHUj44qZGLuHGI7CKdSMSUDFexi43q4dFuJq0zQ0/nAEVCVqhjycQc+Lwb1S49p7u ai5Vx86mmYb1b1OqJYx3oye0q9v1o8NU6jnq/678ysPt9WbRA+HqCGgbKxoSwZYURv1Z us9Wt6w5M2babfswq52Qir25Uz0I2INmwM0Trek0AUmmHw/toBYvMl1ZTQ+XcuHvaqgD jskUhFrnYz+YdSdBLZtFxEaXr+PDCKezGiY9CYJcGOYUWUxHJ8Q24sAYquZIHml4yiyT zIuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b=hJMNljAP; 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 q18si12920088pls.30.2018.12.11.11.40.32; Tue, 11 Dec 2018 11:40:47 -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=hJMNljAP; 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 S1726233AbeLKTjC (ORCPT + 99 others); Tue, 11 Dec 2018 14:39:02 -0500 Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:55650 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726218AbeLKTjA (ORCPT ); Tue, 11 Dec 2018 14:39:00 -0500 Received: from pps.filterd (m0148461.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id wBBJblJS022558 for ; Tue, 11 Dec 2018 11:38:59 -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=yHMWg7LgDhzV330eAf3PxPwRX+93Yb2qgSolLZ+ibmE=; b=hJMNljAPC/N+pnuOImF198j348VnQC9lC/A8rJJpFGvoyghxlbgKip+A/VRfPijcHNmV h0J9IVp99x7YVC1h6OxUIsFfs4q5dqm8yhLyFZuAV9OC+695GmpuwhOI8R1SVAwdUpHV PQlK1mikIMR0yKs+gS+4II4yewHbJayP138= Received: from mail.thefacebook.com ([199.201.64.23]) by mx0a-00082601.pphosted.com with ESMTP id 2pagv08t21-11 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Tue, 11 Dec 2018 11:38:59 -0800 Received: from mx-out.facebook.com (2620:10d:c081:10::13) by mail.thefacebook.com (2620:10d:c081:35::129) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA) id 15.1.1531.3; Tue, 11 Dec 2018 11:37:22 -0800 Received: by devvm4117.prn2.facebook.com (Postfix, from userid 167582) id C3BF04C791F2; Tue, 11 Dec 2018 11:37:21 -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 v3 2/2] ARM: dts: aspeed: Add KCS support for LPC BMC Date: Tue, 11 Dec 2018 11:37:19 -0800 Message-ID: <20181211193719.2232084-2-vijaykhemka@fb.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181211193719.2232084-1-vijaykhemka@fb.com> References: <20181211193719.2232084-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-11_06:,, 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..53e6ce4092dd 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