Return-Path: Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=fuzziesquirrel.com (client-ip=173.167.31.197; helo=bajor.fuzziesquirrel.com; envelope-from=bradleyb@fuzziesquirrel.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=fuzziesquirrel.com Received: from bajor.fuzziesquirrel.com (mail.fuzziesquirrel.com [173.167.31.197]) (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 46dBYb2FpgzDqb0 for ; Wed, 25 Sep 2019 05:47:47 +1000 (AEST) X-Virus-Scanned: amavisd-new at fuzziesquirrel.com From: Brad Bishop To: joel@jms.id.au Cc: openbmc@lists.ozlabs.org Subject: [PATCH v3 linux dev-5.3 06/10] ARM: dts: aspeed-g6: Add lpc devices Date: Tue, 24 Sep 2019 15:47:55 -0400 Message-Id: <20190924194759.26854-7-bradleyb@fuzziesquirrel.com> In-Reply-To: <20190924194759.26854-1-bradleyb@fuzziesquirrel.com> References: <20190924194759.26854-1-bradleyb@fuzziesquirrel.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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: Tue, 24 Sep 2019 19:47:47 -0000 Everything is the same as G5, except the devices have their own interrupt now. Signed-off-by: Brad Bishop --- v2: new for v2 v3: fixed broken ipmi/lpc interrupts --- arch/arm/boot/dts/aspeed-g6.dtsi | 87 ++++++++++++++++++++++++++++++++ 1 file changed, 87 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-g6.dtsi b/arch/arm/boot/dts/aspeed-= g6.dtsi index 72038c16f541..3b42404b2ace 100644 --- a/arch/arm/boot/dts/aspeed-g6.dtsi +++ b/arch/arm/boot/dts/aspeed-g6.dtsi @@ -249,6 +249,93 @@ status =3D "disabled"; }; =20 + lpc: lpc@1e789000 { + compatible =3D "aspeed,ast2600-lpc", "simple-mfd"; + reg =3D <0x1e789000 0x1000>; + + #address-cells =3D <1>; + #size-cells =3D <1>; + ranges =3D <0x0 0x1e789000 0x1000>; + + lpc_bmc: lpc-bmc@0 { + compatible =3D "aspeed,ast2600-lpc-bmc", "simple-mfd", "syscon"; + reg =3D <0x0 0x80>; + reg-io-width =3D <4>; + + #address-cells =3D <1>; + #size-cells =3D <1>; + ranges =3D <0x0 0x0 0x80>; + + kcs1: kcs1@0 { + compatible =3D "aspeed,ast2600-kcs-bmc"; + interrupts =3D ; + kcs_chan =3D <1>; + status =3D "disabled"; + }; + kcs2: kcs2@0 { + compatible =3D "aspeed,ast2600-kcs-bmc"; + interrupts =3D ; + kcs_chan =3D <2>; + status =3D "disabled"; + }; + kcs3: kcs3@0 { + compatible =3D "aspeed,ast2600-kcs-bmc"; + interrupts =3D ; + kcs_chan =3D <3>; + status =3D "disabled"; + }; + }; + + lpc_host: lpc-host@80 { + compatible =3D "aspeed,ast2600-lpc-host", "simple-mfd", "syscon"; + reg =3D <0x80 0x1e0>; + reg-io-width =3D <4>; + + #address-cells =3D <1>; + #size-cells =3D <1>; + ranges =3D <0x0 0x80 0x1e0>; + + kcs4: kcs4@0 { + compatible =3D "aspeed,ast2600-kcs-bmc"; + interrupts =3D ; + kcs_chan =3D <4>; + status =3D "disabled"; + }; + + lpc_ctrl: lpc-ctrl@0 { + compatible =3D "aspeed,ast2600-lpc-ctrl"; + reg =3D <0x0 0x80>; + clocks =3D <&syscon ASPEED_CLK_GATE_LCLK>; + status =3D "disabled"; + }; + + lpc_snoop: lpc-snoop@0 { + compatible =3D "aspeed,ast2600-lpc-snoop"; + reg =3D <0x0 0x80>; + interrupts =3D ; + status =3D "disabled"; + }; + + lhc: lhc@20 { + compatible =3D "aspeed,ast2600-lhc"; + reg =3D <0x20 0x24 0x48 0x8>; + }; + + lpc_reset: reset-controller@18 { + compatible =3D "aspeed,ast2600-lpc-reset"; + reg =3D <0x18 0x4>; + #reset-cells =3D <1>; + }; + + ibt: ibt@c0 { + compatible =3D "aspeed,ast2600-ibt-bmc"; + reg =3D <0xc0 0x18>; + interrupts =3D ; + status =3D "disabled"; + }; + }; + }; + sdc: sdc@1e740000 { compatible =3D "aspeed,ast2600-sd-controller"; reg =3D <0x1e740000 0x100>; --=20 2.21.0