From patchwork Tue Jul 3 07:04:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Jeffery X-Patchwork-Id: 10503235 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8F96C6028F for ; Tue, 3 Jul 2018 07:06:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7DEA028ADE for ; Tue, 3 Jul 2018 07:06:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 71E2D28AE3; Tue, 3 Jul 2018 07:06:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id F15A528ADE for ; Tue, 3 Jul 2018 07:06:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=PNRbozY8umF+J/fy36pDAlfRPqHYy1gA1C6xiKkPCkk=; b=jcsQYXqE3F7mCQc5CrN6aJdDKW uBVNHG2zn5I1aAutEoDrnFiW0Y7+dbTGUI08QKl6gbvIrTN5mTUPAYTFyhywx9Zi8Lk7RX4t4oKTR KkKw6eBTwwCFRIScBr8D++aC9yFDJLsgBdyfWfxYnV+plYwc81rim7jRbUGL25MTrPqu4l/bRRmHb EHCR3JQnzJiOHDcyx3L8BvLnT8Mgz/8KUGvU2Ba1OiarOzFnsfuk/+9tsJmumPaTZTcDxbcqJcN7r yJll5sUk1UteKFifrojfjsKHedm5IMhNwW3NDuNjRZs6zAsuNcSr1xVzxqcdKsSelOrblxhGuEE9A 3AoBLllA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1faFNx-0008G1-2L; Tue, 03 Jul 2018 07:06:01 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1faFNA-0007LN-GH for linux-arm-kernel@bombadil.infradead.org; Tue, 03 Jul 2018 07:05:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=awTW+1TRddREQsN/zvjhbxkfdzoqaMwofnHS5CZgsrk=; b=x6goD0BO7RajT9fqjVBXYUiHO 6Iemd6mbVNlDmes/xF+CzNhLkBFIQCZioJOQ6xkuUEs+l3kla49Wd7pQS6q8R5yACOLhEw+pr8oL9 kjLmVG3Qr0p6AzEicWHXUroTV5A5rZQiH9MAd7DgY5rx+EKylIY65Eo9p0ASbqibG4Ypj8k8uM6kq WyIig4/6Ezxz9JulugOY3PYI0hOD0+lH671QfLZqB8BZwHh+Np96KSdxZcxVtIsw5tIXVn40w8kgh 3V7/q3JWKdgL9jmDPFkAxczqAhgdbI6v948A/ml0TBl9RqVtSG85cTcF2fr/Ob+qFYE6ruIlxFvwf +JcZXrD+g==; Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1faFN7-0003GF-Bv for linux-arm-kernel@lists.infradead.org; Tue, 03 Jul 2018 07:05:10 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id E1EB721EAE; Tue, 3 Jul 2018 03:04:54 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Tue, 03 Jul 2018 03:04:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aj.id.au; h=cc :date:from:in-reply-to:message-id:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=awTW+1TRddREQsN/z vjhbxkfdzoqaMwofnHS5CZgsrk=; b=Jf6z/G8YsMG7EfMrhdmQKxOhtWOP1DzfN sbVaz7gbyNh6/JtN/sNZrJUTCdTjysHKR0Q3MfUZAsBio5qrk0sLvaOHZtlCtVfI NnBohO52Ch944/8lKRrq+VH2VzKTe632Z2x1cp7zzPv3maEX1NSkTHUUKmAmSiTP HJ5I+qzbWBv/8If5QQ/tnkS51f+m0KEvhKrZNxG7g08iYIc+eHmHgxtMR0k0TOTU 7+xU7FCBnxI8+OcyyEfjiBmQU5FNyu1lRGrwj7KBv6b613W9rwcT49naC8+WQCrA rv+vEfihGhKKYEyO0qBzzaMmW7ZmANIwIKrgBesrIRTCoHDcgKAXw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=awTW+1TRddREQsN/zvjhbxkfdzoqaMwofnHS5CZgsrk=; b=pH3w/M0x 9czQkmBBwHoWCTyd/wWQyL/pgp+3PCRiD1Roie4YGYfiLmFEK5oFj3LmQ7+zXBWt nktcn17WSALj26j0pE/RFYHVrF7/dTKtgAbpELMramQUt7Zw6kjQlHyumk/IlfkR eq/aMLZfwMeQtSDp84ImzD8yccuUTlZGj+tmtd67yD6VCYDo/zQZoPjFHQYzhWwV WhPsQYW0JcT9ccLDonu0mC3lN5+33iaBlZwa9qN//5HSSfCbSz67wHS8aO55BXs5 9N1gu6jqh8ax3Kf41jwW2leRMzrONP1I70InDURWXmLR0U3lKf0VLAAcgFqBj9cR gA8ycZiSi9k68Q== X-ME-Proxy: X-ME-Sender: Received: from dave.bha-au.ibmmobiledemo.com (unknown [202.81.18.28]) by mail.messagingengine.com (Postfix) with ESMTPA id 0A5251026E; Tue, 3 Jul 2018 03:04:49 -0400 (EDT) From: Andrew Jeffery To: linux-kernel@vger.kernel.org Subject: [RFC PATCH 4/4] dts: aspeed-g5: Add bmc-misc-ctrl nodes to devicetree Date: Tue, 3 Jul 2018 17:04:13 +1000 Message-Id: <20180703070413.28756-5-andrew@aj.id.au> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180703070413.28756-1-andrew@aj.id.au> References: <20180703070413.28756-1-andrew@aj.id.au> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180703_030509_507892_03ED469C X-CRM114-Status: UNSURE ( 6.66 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, Andrew Jeffery , gregkh@linuxfoundation.org, Eugene.Cho@dell.com, a.amelkin@yadro.com, robh+dt@kernel.org, joel@jms.id.au, stewart@linux.ibm.com, benh@kernel.crashing.org, openbmc@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Andrew Jeffery --- arch/arm/boot/dts/aspeed-g5.dtsi | 192 +++++++++++++++++++++++++++++++ 1 file changed, 192 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-g5.dtsi b/arch/arm/boot/dts/aspeed-g5.dtsi index 17f2714d18a7..57d477e17c0c 100644 --- a/arch/arm/boot/dts/aspeed-g5.dtsi +++ b/arch/arm/boot/dts/aspeed-g5.dtsi @@ -187,6 +187,77 @@ aspeed,external-nodes = <&gfx &lhc>; }; + + field@2c.16 { + compatible = "bmc-misc-ctrl"; + offset = <0x2c>; + mask = <0x00030000>; + label = "dac-mux"; + }; + + field@50.0 { + compatible = "bmc-misc-ctrl"; + offset = <0x50>; + mask = <0xffffffff>; + label = "vga0"; + read-only; + }; + + field@54.0 { + compatible = "bmc-misc-ctrl"; + offset = <0x54>; + mask = <0xffffffff>; + label = "vga1"; + read-only; + }; + + field@58.0 { + compatible = "bmc-misc-ctrl"; + offset = <0x58>; + mask = <0xffffffff>; + label = "vga2"; + read-only; + }; + + field@5c.0 { + compatible = "bmc-misc-ctrl"; + offset = <0x5c>; + mask = <0xffffffff>; + label = "vga3"; + read-only; + }; + + field@60.0 { + compatible = "bmc-misc-ctrl"; + offset = <0x60>; + mask = <0xffffffff>; + label = "vga4"; + read-only; + }; + + field@64.0 { + compatible = "bmc-misc-ctrl"; + offset = <0x64>; + mask = <0xffffffff>; + label = "vga5"; + read-only; + }; + + field@68.0 { + compatible = "bmc-misc-ctrl"; + offset = <0x68>; + mask = <0xffffffff>; + label = "vga6"; + read-only; + }; + + field@6c.0 { + compatible = "bmc-misc-ctrl"; + offset = <0x6c>; + mask = <0xffffffff>; + label = "vga7"; + read-only; + }; }; rng: hwrng@1e6e2078 { @@ -343,6 +414,127 @@ #reset-cells = <1>; }; + field@f0.24 { + compatible = "bmc-misc-ctrl"; + offset = <0xf0 24 8>; + mask = <0xff000000>; + label = "sio-2b"; + }; + + field@f0.16 { + compatible = "bmc-misc-ctrl"; + offset = <0xf0>; + mask = <0x00ff0000>; + label = "sio-2a"; + }; + + field@f0.8 { + compatible = "bmc-misc-ctrl"; + offset = <0xf0>; + mask = <0x0000ff00>; + bit-shift = <8>; + label = "sio-29"; + }; + + field@f0.0 { + compatible = "bmc-misc-ctrl"; + offset = <0xf0>; + mask = <0x000000ff>; + label = "sio-28"; + }; + + field@f4.24 { + compatible = "bmc-misc-ctrl"; + offset = <0xf4>; + mask = <0xff000000>; + label = "sio-2f"; + }; + + field@f4.16 { + compatible = "bmc-misc-ctrl"; + offset = <0xf4>; + mask = <0x00ff0000>; + label = "sio-2e"; + }; + + field@f4.8 { + compatible = "bmc-misc-ctrl"; + offset = <0xf4>; + mask = <0x0000ff00>; + label = "sio-2d"; + }; + + field@f4.0 { + compatible = "bmc-misc-ctrl"; + offset = <0xf4>; + mask = <0x000000ff>; + label = "sio-2c"; + }; + + field@f8.24 { + compatible = "bmc-misc-ctrl"; + offset = <0xf8>; + mask = <0xff000000>; + read-only; + label = "sio-23"; + }; + + field@f8.16 { + compatible = "bmc-misc-ctrl"; + offset = <0xf8>; + mask = <0x00ff0000>; + read-only; + label = "sio-22"; + }; + + field@f8.8 { + compatible = "bmc-misc-ctrl"; + offset = <0xf8>; + mask = <0x0000ff00>; + read-only; + label = "sio-21"; + }; + + field@f8.0 { + compatible = "bmc-misc-ctrl"; + offset = <0xf8>; + mask = <0x000000ff>; + read-only; + label = "sio-20"; + }; + + field@fc.24 { + compatible = "bmc-misc-ctrl"; + offset = <0xfc>; + mask = <0xff000000>; + read-only; + label = "sio-27"; + }; + + field@fc.16 { + compatible = "bmc-misc-ctrl"; + offset = <0xfc>; + mask = <0x00ff0000>; + read-only; + label = "sio-26"; + }; + + field@fc.8 { + compatible = "bmc-misc-ctrl"; + offset = <0xfc>; + mask = <0x0000ff00>; + read-only; + label = "sio-25"; + }; + + field@fc.0 { + compatible = "bmc-misc-ctrl"; + offset = <0xfc>; + mask = <0x000000ff>; + read-only; + label = "sio-24"; + }; + ibt: ibt@c0 { compatible = "aspeed,ast2500-ibt-bmc"; reg = <0xc0 0x18>;