Received: by 10.223.185.116 with SMTP id b49csp4639586wrg; Tue, 6 Mar 2018 21:06:45 -0800 (PST) X-Google-Smtp-Source: AG47ELseEFudGfLaY586ad1EdKLUrhVsVOvDO1ngpP7e4/4P3um1T5lzJkValFlPO9D/cOvn/hgr X-Received: by 2002:a17:902:bb06:: with SMTP id l6-v6mr19027226pls.394.1520399205503; Tue, 06 Mar 2018 21:06:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520399205; cv=none; d=google.com; s=arc-20160816; b=WSiSuD0nVSZpLwHw0PlBaH0bURwqrbCgBnWQPLw3/k9h+sQixyLBC4vDXWWDQCw9oe t1n2Ks+9u07MdDCfen7WuqvAI/fQVN9u/RsjlMI+GHFIyYLVzDHYngQpScIdUz1QWKpS WfB1RsGvPhgqSXADmhaqChrGyeBKJOcdj0PkphIWfUdcV1qqpXkUfGAuG+zmZxOruOvD hh19KZHJEVZutzbJTI1kujMSuDbbDljl9oJi47+DM+cC2wIvAN8OJl8CcdEXgrjcfLU6 0MkTDwGoZUBN8hZKLjlP2b13k09nUhFzpXZOgOF+WCmeumg4uogGiTbmo61/CxwsqQvu /F/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=Xm+Sk4bIStbVDi/CuPkEp4GP2UqDg6jmY+r1utoEq4Y=; b=PnXuiwjWvOFa+8AkG7tUT421XRepCXvXKDs0eA5OdYYT0FSQDnwMIl1NVSNqd9g8Iq MTx9TmqNkwT+agyqpZbBh7zQN/BuUgi/ZgYBbQz886zj6pvBvyCfNZHNXp2WQtiYU2Hr iqyXWXAx/noCkxCT9Jcpwx6us8aEvSvYleBem3gIZnfHknAe05IZ5oagYzaGlRMPKnVc Y/u/WX2pnda4ueFjS9kmjwqm+gnRbLGN6IYF6EBPGzHI0lFWJD/M84h2g7BPmmgd7Sqh hNublB6YNBH/wyZem4JNVQFj/xv7N5lbRE17Yxh+fBZcDA1tRWwy1ZgU/wwgNZzG74AM y1hg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f33-v6si10797913plf.650.2018.03.06.21.06.30; Tue, 06 Mar 2018 21:06:45 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751072AbeCGFEU (ORCPT + 99 others); Wed, 7 Mar 2018 00:04:20 -0500 Received: from mga04.intel.com ([192.55.52.120]:46483 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750957AbeCGFEU (ORCPT ); Wed, 7 Mar 2018 00:04:20 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Mar 2018 21:04:19 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,434,1515484800"; d="scan'208";a="36571570" Received: from build0101.sh.intel.com ([10.239.164.138]) by orsmga001.jf.intel.com with ESMTP; 06 Mar 2018 21:04:17 -0800 From: Haiyue Wang To: joel@jms.id.au, andrew@aj.id.au, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Cc: Haiyue Wang Subject: [PATCH dts/arm/aspeed-g5 v1] ARM: dts: aspeed-g5: Add IPMI KCS node Date: Wed, 7 Mar 2018 13:04:50 +0800 Message-Id: <1520399090-2455-1-git-send-email-haiyue.wang@linux.intel.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The IPMI KCS device part of the LPC interface and is used for communication with the host processor. Signed-off-by: Haiyue Wang --- arch/arm/boot/dts/aspeed-g5.dtsi | 43 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/aspeed-g5.dtsi b/arch/arm/boot/dts/aspeed-g5.dtsi index 8eac57c..f443169 100644 --- a/arch/arm/boot/dts/aspeed-g5.dtsi +++ b/arch/arm/boot/dts/aspeed-g5.dtsi @@ -267,8 +267,40 @@ 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>; + kcs_addr = <0x0>; + status = "disabled"; + }; + + kcs2: kcs2@0 { + compatible = "aspeed,ast2500-kcs-bmc"; + reg = <0x0 0x80>; + interrupts = <8>; + kcs_chan = <2>; + kcs_addr = <0x0>; + status = "disabled"; + }; + + kcs3: kcs3@0 { + compatible = "aspeed,ast2500-kcs-bmc"; + reg = <0x0 0x80>; + interrupts = <8>; + kcs_chan = <3>; + kcs_addr = <0x0>; + status = "disabled"; + }; }; lpc_host: lpc-host@80 { @@ -294,6 +326,15 @@ status = "disabled"; }; + kcs4: kcs4@0 { + compatible = "aspeed,ast2500-kcs-bmc"; + reg = <0x0 0xa0>; + interrupts = <8>; + kcs_chan = <4>; + kcs_addr = <0x0>; + status = "disabled"; + }; + lhc: lhc@20 { compatible = "aspeed,ast2500-lhc"; reg = <0x20 0x24 0x48 0x8>; -- 2.7.4