Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1007665imu; Tue, 11 Dec 2018 11:04:20 -0800 (PST) X-Google-Smtp-Source: AFSGD/UpNubSxs5CKrg6gZoiyGIugRsdpxkvAn0wF23132TGCKf0BRXE8zweNrb5Q85Yk3Yl0BnI X-Received: by 2002:a17:902:47aa:: with SMTP id r39mr16949440pld.219.1544555060090; Tue, 11 Dec 2018 11:04:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544555060; cv=none; d=google.com; s=arc-20160816; b=ALPsghKcwUXZ/2rCItJu5k8lewk6oUe1Qy3Io2Q8o4xS7jCRCsIlIOBl6YeYaFu9k9 jW3/KOfMYwcdEOYS+kIkmqzfmcxrQJZBMeU7nLViQUYgBRigN8geN8ndBXCit0yxEqM8 +ZO8qGTdOEBkXH9FmU1EYq7L72JW1HcRj0ort8+9OEMyEqiDqVrsYan8jyQDJ5yxOiki mcNMogchj9PGZ0BY2uZEH4lxI6fz8igZbLx3S8OphUjxHKHT5YlqShJxdjyIYNIpP6Gp 07wJ/VzO0ytBSD4taakvhimgg4vdIb8L9UuPdKOD1KwGws86f7bmFBdvu3LVMWvO5cJN CTvA== 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=giQhL85stseyqCRPbKXft+tBsY9a/5TLW+C3737igHU=; b=WJ4lvSZV9nv0QiyiV9DWvierZ7rvyIsHNskK4k1IbFNlfHrLMjfzrtPm9XtzZuJsuX XuYJWBEbaYTssTAAzyqnfC6s7SO380Ee9cljXcNbX24TRWj6BsdhQ6TC3kw6HMZ8bt+Z w0vNLlm2Zo2j/rLouZWPYgcM4S+8J/yRPXKq/6O3tNG+d6fYTcEBMOissXljfowQFNC1 d6VrUUzLfLC/lZuBJ46ZBw+EBGylhLDPO4SU/aAaADTGHt7r6+O850kDdOdYI8G/XFsp fVcZfkqbkUQsyWSPxQwoMORVOktjUidt05+rbwifGIApuQN8Et/hwq67ZUfg3GIjD0XX 3EKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b=h3vc+ZHe; 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 t11si12493683plo.293.2018.12.11.11.04.05; Tue, 11 Dec 2018 11:04:20 -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=h3vc+ZHe; 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 S1726536AbeLKTDM (ORCPT + 99 others); Tue, 11 Dec 2018 14:03:12 -0500 Received: from mx0b-00082601.pphosted.com ([67.231.153.30]:35804 "EHLO mx0b-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726313AbeLKTDM (ORCPT ); Tue, 11 Dec 2018 14:03:12 -0500 Received: from pps.filterd (m0109332.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id wBBIsErP003473 for ; Tue, 11 Dec 2018 11:03:09 -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=giQhL85stseyqCRPbKXft+tBsY9a/5TLW+C3737igHU=; b=h3vc+ZHe42AIOmhVXo0518swkCPq/+O4Bjlof3UysLXAIaI1AHmsHH92XEzwcAYAVGvA o7chMXbha8vQdA8M14nBV2znSi53q+rYqakHswtpJDRHCEOnNLedXDW7JBB1Wy7V7vl6 RwpcCfYqo93YmIUUvMyGUtCUe/L+dLgmBn4= Received: from maileast.thefacebook.com ([199.201.65.23]) by mx0a-00082601.pphosted.com with ESMTP id 2pahk40g0j-6 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Tue, 11 Dec 2018 11:03:09 -0800 Received: from mx-out.facebook.com (2620:10d:c0a1:3::13) by mail.thefacebook.com (2620:10d:c021:18::174) 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:03:05 -0800 Received: by devvm4117.prn2.facebook.com (Postfix, from userid 167582) id 234064C74214; Tue, 11 Dec 2018 11:03:01 -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 v2 2/2] ARM: dts: aspeed: Add KCS support for LPC BMC Date: Tue, 11 Dec 2018 11:02:46 -0800 Message-ID: <20181211190246.2134590-2-vijaykhemka@fb.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181211190246.2134590-1-vijaykhemka@fb.com> References: <20181211190246.2134590-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..cb35a3ab580a 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