Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp36429imu; Mon, 10 Dec 2018 15:33:07 -0800 (PST) X-Google-Smtp-Source: AFSGD/Wb0Qq2uebLxjrlbNOhUrYYjjh0SZveCdIh6EdhIjErqr/GrADwo7mbdWD8hEXv0vA5uXa+ X-Received: by 2002:a63:6cc:: with SMTP id 195mr12735832pgg.52.1544484787217; Mon, 10 Dec 2018 15:33:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544484787; cv=none; d=google.com; s=arc-20160816; b=rtcWlkAzChFNrQueHP4UyxHCF/Beljk1p/14os2fprLCd89m+WqsDJCTB70u9KxAuj WkclxIP2tsgyE2V3v50z9TlnP+DnEm7FBFyNnPynWhbIuhRojWI7FLfB9rSiGyJXMbyh OSlfxfNQ8HEjxwneDctqXdDFejbEmHUeUNcErGCLihquk1Lvs0WToz2QRoGo5CA0i2io 7HaoG03V9aZVBygdF7HVbUreZxC2Gu2qNFX1mU8wL7nHwq0QBnm53kIWxDUZ4AGDmvWX mnESlk3nd6GvTWlNISKli8jSxto8BvnQ+F038zGfLlAR1FvVfSqjgF9qJxyj3MWVbdy/ 9gAg== 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=vDMHH7kVNxyVk8Fng38m06gHInfn+XQCbFE45M2pZ6c=; b=udDcdISMsXSEv3BP040xJ6Lp0CIUinqP7Mb4HM2H75ESR3wokjh86rRRmtS27rvuO5 avpg4dmYuX9wKQd1dbMuKfesg/YUcPSLwtah4V8f1sEE2sOE4MoUNfbQO+7hVABzn9lx LcMwV+Vc//cDb5wh9Vv5li0D12RtaO60JthmZUVfseDlSZIarj4zD1lj6CtU0Qj3RYQc 2Yy+fLFQaYagOCKgtVDTym2PDsVOiCrPVbGa8QTnnlLa+5MYTibQIyUfAqODk7anX342 crboTtcKrjbtibvtPAiGXse/UzwgTmldlMqL+fSaiGL9jkhQKw/ZN5utYa9icRv2R4rn x78w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b=OJZGT9mR; 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 d189si11995091pfa.70.2018.12.10.15.32.51; Mon, 10 Dec 2018 15:33:07 -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=OJZGT9mR; 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 S1729125AbeLJUIa (ORCPT + 99 others); Mon, 10 Dec 2018 15:08:30 -0500 Received: from mx0b-00082601.pphosted.com ([67.231.153.30]:42160 "EHLO mx0b-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727146AbeLJUI3 (ORCPT ); Mon, 10 Dec 2018 15:08:29 -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 wBAK482B032718 for ; Mon, 10 Dec 2018 12:08:28 -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=vDMHH7kVNxyVk8Fng38m06gHInfn+XQCbFE45M2pZ6c=; b=OJZGT9mRI4/dSS7aCZXqMfimSWOa4kgjSWGbBXCKfLGpRIc7kEBjbBoh2HUQC0RpEeSw W7CB5kNww351G6jYu8VJx5e3fCSAZkzdsnKCKKvAdivqfHl+Mp/wJXbdX9gdxKRmX58R pI+a2HQhHHWiJhZybMLkxj3Dkg1Dgm1bc2c= Received: from mail.thefacebook.com ([199.201.64.23]) by mx0a-00082601.pphosted.com with ESMTP id 2p9vdprmc6-10 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Mon, 10 Dec 2018 12:08:28 -0800 Received: from mx-out.facebook.com (2620:10d:c081:10::13) by mail.thefacebook.com (2620:10d:c081:35::126) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA) id 15.1.1531.3; Mon, 10 Dec 2018 12:08:18 -0800 Received: by devvm4117.prn2.facebook.com (Postfix, from userid 167582) id ED1B04BDB0A3; Mon, 10 Dec 2018 12:08:15 -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/2] ARM: dts: aspeed: Add KCS support for LPC BMC Date: Mon, 10 Dec 2018 12:07:53 -0800 Message-ID: <20181210200753.3018124-3-vijaykhemka@fb.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181210200753.3018124-1-vijaykhemka@fb.com> References: <20181210200753.3018124-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-10_07:,, 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 | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/aspeed-g5.dtsi b/arch/arm/boot/dts/aspeed-g5.dtsi index d107459fc0f8..1bd48655bacb 100644 --- a/arch/arm/boot/dts/aspeed-g5.dtsi +++ b/arch/arm/boot/dts/aspeed-g5.dtsi @@ -330,8 +330,35 @@ 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"; + reg = <0x0 0x80>; + interrupts = <8>; + kcs_chan = <1>; + status = "disabled"; + }; + kcs2: kcs2@0 { + compatible = "aspeed,ast2500-kcs-bmc"; + reg = <0x0 0x80>; + interrupts = <8>; + kcs_chan = <2>; + status = "disabled"; + }; + kcs3: kcs3@0 { + compatible = "aspeed,ast2500-kcs-bmc"; + reg = <0x0 0x80>; + interrupts = <8>; + kcs_chan = <3>; + status = "disabled"; + }; }; lpc_host: lpc-host@80 { -- 2.17.1