Return-Path: Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=linux.ibm.com (client-ip=148.163.158.5; helo=mx0a-001b2d01.pphosted.com; envelope-from=eajames@linux.ibm.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=linux.ibm.com Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 46Yywv67sgzDqFB for ; Thu, 19 Sep 2019 23:53:19 +1000 (AEST) Received: from pps.filterd (m0098420.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x8JDnbEK150257; Thu, 19 Sep 2019 09:53:14 -0400 Received: from ppma01wdc.us.ibm.com (fd.55.37a9.ip4.static.sl-reverse.com [169.55.85.253]) by mx0b-001b2d01.pphosted.com with ESMTP id 2v4a9s1k5f-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 19 Sep 2019 09:53:13 -0400 Received: from pps.filterd (ppma01wdc.us.ibm.com [127.0.0.1]) by ppma01wdc.us.ibm.com (8.16.0.27/8.16.0.27) with SMTP id x8JDnXX9018976; Thu, 19 Sep 2019 13:53:14 GMT Received: from b03cxnp07029.gho.boulder.ibm.com (b03cxnp07029.gho.boulder.ibm.com [9.17.130.16]) by ppma01wdc.us.ibm.com with ESMTP id 2v3vbtnths-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 19 Sep 2019 13:53:13 +0000 Received: from b03ledav001.gho.boulder.ibm.com (b03ledav001.gho.boulder.ibm.com [9.17.130.232]) by b03cxnp07029.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x8JDrCMw56558038 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 19 Sep 2019 13:53:12 GMT Received: from b03ledav001.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 7F1676E04E; Thu, 19 Sep 2019 13:53:12 +0000 (GMT) Received: from b03ledav001.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E5FEA6E058; Thu, 19 Sep 2019 13:53:11 +0000 (GMT) Received: from [9.85.183.6] (unknown [9.85.183.6]) by b03ledav001.gho.boulder.ibm.com (Postfix) with ESMTP; Thu, 19 Sep 2019 13:53:11 +0000 (GMT) Subject: Re: [PATCH linux dev-5.3 2/3] ARM: dts: aspeed-g6: Add lpc devices To: Brad Bishop , joel@jms.id.au Cc: openbmc@lists.ozlabs.org References: <20190917202039.25266-1-bradleyb@fuzziesquirrel.com> <20190917202039.25266-3-bradleyb@fuzziesquirrel.com> From: Eddie James Message-ID: <123dc843-ec2e-590e-8512-f73c5a2afe24@linux.ibm.com> Date: Thu, 19 Sep 2019 08:53:11 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20190917202039.25266-3-bradleyb@fuzziesquirrel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-09-19_04:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=966 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1908290000 definitions=main-1909190130 X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Sep 2019 13:53:22 -0000 On 9/17/19 3:20 PM, Brad Bishop wrote: > Assume everything is the same as G5, except the interrupt is updated. Reviewed-by: Eddie James > > Signed-off-by: Brad Bishop > --- > arch/arm/boot/dts/aspeed-g6.dtsi | 91 ++++++++++++++++++++++++++++++++ > 1 file changed, 91 insertions(+) > > diff --git a/arch/arm/boot/dts/aspeed-g6.dtsi b/arch/arm/boot/dts/aspeed-g6.dtsi > index 72038c16f541..b4991cbe1f36 100644 > --- a/arch/arm/boot/dts/aspeed-g6.dtsi > +++ b/arch/arm/boot/dts/aspeed-g6.dtsi > @@ -249,6 +249,97 @@ > status = "disabled"; > }; > > + lpc: lpc@1e789000 { > + compatible = "aspeed,ast2600-lpc", "simple-mfd"; > + reg = <0x1e789000 0x1000>; > + > + #address-cells = <1>; > + #size-cells = <1>; > + ranges = <0x0 0x1e789000 0x1000>; > + > + lpc_bmc: lpc-bmc@0 { > + compatible = "aspeed,ast2600-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,ast2600-kcs-bmc"; > + interrupts = ; > + kcs_chan = <1>; > + status = "disabled"; > + }; > + kcs2: kcs2@0 { > + compatible = "aspeed,ast2600-kcs-bmc"; > + interrupts = ; > + kcs_chan = <2>; > + status = "disabled"; > + }; > + kcs3: kcs3@0 { > + compatible = "aspeed,ast2600-kcs-bmc"; > + interrupts = ; > + kcs_chan = <3>; > + status = "disabled"; > + }; > + }; > + > + lpc_host: lpc-host@80 { > + compatible = "aspeed,ast2600-lpc-host", "simple-mfd", "syscon"; > + reg = <0x80 0x1e0>; > + reg-io-width = <4>; > + > + #address-cells = <1>; > + #size-cells = <1>; > + ranges = <0x0 0x80 0x1e0>; > + > + kcs4: kcs4@0 { > + compatible = "aspeed,ast2600-kcs-bmc"; > + interrupts = ; > + kcs_chan = <4>; > + status = "disabled"; > + }; > + > + lpc_ctrl: lpc-ctrl@0 { > + compatible = "aspeed,ast2600-lpc-ctrl"; > + reg = <0x0 0x80>; > + clocks = <&syscon ASPEED_CLK_GATE_LCLK>; > + status = "disabled"; > + }; > + > + lpc_snoop: lpc-snoop@0 { > + compatible = "aspeed,ast2600-lpc-snoop"; > + reg = <0x0 0x80>; > + interrupts = ; > + status = "disabled"; > + }; > + > + lhc: lhc@20 { > + compatible = "aspeed,ast2600-lhc"; > + reg = <0x20 0x24 0x48 0x8>; > + }; > + > + lpc_reset: reset-controller@18 { > + compatible = "aspeed,ast2600-lpc-reset"; > + reg = <0x18 0x4>; > + #reset-cells = <1>; > + }; > + > + ibt: ibt@c0 { > + compatible = "aspeed,ast2600-ibt-bmc"; > + reg = <0xc0 0x18>; > + interrupts = ; > + status = "disabled"; > + }; > + > + sio_regs: regs { > + compatible = "aspeed,bmc-misc"; > + }; > + }; > + }; > + > sdc: sdc@1e740000 { > compatible = "aspeed,ast2600-sd-controller"; > reg = <0x1e740000 0x100>;