Received: by 10.223.185.116 with SMTP id b49csp1278026wrg; Sat, 3 Mar 2018 21:05:32 -0800 (PST) X-Google-Smtp-Source: AG47ELvWl6Idb6XBUQDSvDUwOfeCftypWBymu45IyHLaWWiqV/1BxvCM73p5QrSwi4IT4rhGhi4C X-Received: by 10.99.157.142 with SMTP id i136mr9065547pgd.14.1520139932779; Sat, 03 Mar 2018 21:05:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520139932; cv=none; d=google.com; s=arc-20160816; b=t6v4ubHdg+lpGHfhte9I65aTt55Tw8MWVvq3/fn3BWJxA48P8mn0Xl8wh44QFj+ZE7 AaVL7lx0DsyW2T71cpaFzqfd/85fhenWuv0SXAxvM4gRZZVxAc2eLF550Y9HcvxrJ91E W/xPXXXyqEXzhx66JnpkhQ5HZdcWMdZUjHxnWfp3TpdDTRQXATHpGysSEHMw52oI4D/f 2ZJMAukxJcO4pzgqU/P9+tcqv3QIIjmUd7gmPc4cpiCzHu+lphyBrGQgyBezuwoa7ioJ xJqeWM5gRalBqzJEPzEIAZlz5UCORvHT5467J4uGOIbEwREdya6o/PeDq1tfxwnMjGBg ashA== 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=szv+bksmq1EMZmanih8aQ7mt8EWdFjNafBKyVIFj/Yo=; b=Uk6tmAuH0UTGV1x2ygSYsUhz0zjuCdTRCjwk9T6aNhQ5GAHeRZnY6aqN11LppAZKsQ k7ngd02/D6y9XvxrydkwFcSG9tdzjOlhpjiEi7BGF/jTbI95DdfVtM5mq4NArzG9nNql eMX1BJhQNfVxVJ8NbmC8apNvSacjfoYbJGe1A1jCV+goupDr6Ptt1d0yj6qtKOMbSikH XPDLMOq4c5g8LFu9TVXHJJgpvAiYg3SOEV8mXz3T8HzA4+pjjIMvl4L1CnRZiJ9b1nyq Vqj1QKVYxUBehV5dzH1Z8ArBwn8jekkBBNIjfWqQBW2GzK6e6vxy5mWG5jsAqv2m0yJC lmvw== 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 k15si7837481pfi.174.2018.03.03.21.04.34; Sat, 03 Mar 2018 21:05:32 -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 S1751878AbeCDFCc (ORCPT + 99 others); Sun, 4 Mar 2018 00:02:32 -0500 Received: from mga12.intel.com ([192.55.52.136]:5692 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750759AbeCDFCb (ORCPT ); Sun, 4 Mar 2018 00:02:31 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Mar 2018 21:02:30 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,420,1515484800"; d="scan'208";a="35302386" Received: from build0101.sh.intel.com ([10.239.164.138]) by fmsmga001.fm.intel.com with ESMTP; 03 Mar 2018 21:02:29 -0800 From: Haiyue Wang To: joel@jms.id.au, andrew@aj.id.au, openbmc@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: Sun, 4 Mar 2018 13:03:49 +0800 Message-Id: <1520139829-10672-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 --- Hi Joel & Andrew, The kcs-bmc-aspeed module has been in: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/drivers/char/ipmi/kcs_bmc_aspeed.c https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/Documentation/devicetree/bindings/ipmi/aspeed-kcs-bmc.txt I updated the device tree node about kcs-bmc, this is passed on my board. And the patch is generated by rebasing on: https://git.kernel.org/pub/scm/linux/kernel/git/joel/aspeed.git Please help to review. BR, Haiyue --- 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