Received: by 2002:ac0:a679:0:0:0:0:0 with SMTP id p54csp932775imp; Thu, 21 Feb 2019 14:27:33 -0800 (PST) X-Google-Smtp-Source: AHgI3IbpSfJPoO5w3qgwBJ3ecO9tEpmWK0LuBrsgpXuucL9q9ALcRZhrXLvgnF/hiy+mB+9ldZ+1 X-Received: by 2002:a17:902:28e9:: with SMTP id f96mr847654plb.169.1550788052956; Thu, 21 Feb 2019 14:27:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550788052; cv=none; d=google.com; s=arc-20160816; b=IzF9sRBsng+rgON1X7WMk5BFgLVhd2j67+xhYp3wpUhfEqgK2wI86Gr2YFIAdLHFQQ Rru5kO2LhGGBvTxEghIKKCOVPFMdEp3EO5Z+jxIgeIxIgjFXhXZs84rH2+/+RSxPH9LC QFah6fCszDvzYUR4nxWIu3npxXmTjJ95rt4Z5IU18hpQqSUJ6Nf3LhmouUrV1PDeDPiN DW/zHqSTAf9wKfixnJ70CCBnDlNMCGqa2gcXNimzccq2+T0bqRbaeql3uJEhCn6hDhHJ OK3+5kWFij+Ynp2oRG33EWsowcVMCV+szxMg3hwnixsjgGO7WNt29D61O1s3/GwaApFx tApA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:from:subject:mime-version :message-id:date:dkim-signature; bh=xLBRuMMrq0cNA0zgwp4oOxjDeaWQ2llxgXZA+AoiLoA=; b=M3OnBUWl4qx3bDAjm40+A/OIJuhog3HkyL5osaRPenoQSey6YsoxdOAXJBMIR+Wq3P y8Giy77rc3QofU2ud3Jon/Xn+CeA8GCLCDxFdXNkBULzyaRXZ8icZyM9j+2ZL/V9ZsLx zJR+lMUooAsd24YhaN5g0mZeeW9RzTuBey9HJQHgBm7clTFKzGD4QgGjk44WQbQWq98P Pcvf4AwijNj1pwIQBalmoOKsyuu91P/U/4ISYLNA2nte4g35V/ZuxXfbQ8lbs0IgeHin SpU1c0JwbSQGPK/hn5KFgwg6IRqF9m2cfImYZ9YgLyyu/pxVMt4CiSa5vekyste8avoG cZ6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b="s/MwN8fJ"; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t1si64982pgi.364.2019.02.21.14.27.16; Thu, 21 Feb 2019 14:27: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; dkim=pass header.i=@google.com header.s=20161025 header.b="s/MwN8fJ"; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727075AbfBUWZa (ORCPT + 99 others); Thu, 21 Feb 2019 17:25:30 -0500 Received: from mail-qt1-f201.google.com ([209.85.160.201]:55957 "EHLO mail-qt1-f201.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726075AbfBUWZa (ORCPT ); Thu, 21 Feb 2019 17:25:30 -0500 Received: by mail-qt1-f201.google.com with SMTP id e31so198885qtb.22 for ; Thu, 21 Feb 2019 14:25:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:message-id:mime-version:subject:from:to:cc; bh=xLBRuMMrq0cNA0zgwp4oOxjDeaWQ2llxgXZA+AoiLoA=; b=s/MwN8fJqdU4JJnSkRG929/qC+zalwdqJlGZJhQjpiFCInLx2blcK3XIhjOXSvDeEw x5iTvmAvjADGfobNXn93JNovuei7H55uxKbZPnVirmCM45axH8iwSuTwptZqVype86fh t8glXYmLfjEJyDBWkB4ytbC6BA6SqPhnrco2RTyIWEUSn8kakvqofTeKcvNgV4YdSmOB wiNdrhHWMpdfKwccKKpVXhahUOM1pKFHghPrg9LDuTY+7F1VrjaTf7gJqNv2JOF3/eXx tIkKfiNQWacOgqoLCImZ+soqresIyARpfz2gKEqle3v/AqDr0dUzt8gN/nk1TIZzDFFz fFhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:mime-version:subject:from:to:cc; bh=xLBRuMMrq0cNA0zgwp4oOxjDeaWQ2llxgXZA+AoiLoA=; b=RZwa/7hO4i36P8Fsh/7T57ws2w02UVGjh9s9bgemUPww26gbYont/Fsrl8rMNkl1nq uR12GFMlu/S/VNPdpSccvjPFnidiVQQuy5v8aDFAgBeGJnBeu/cauOyETagpNPU+1BL6 6tOsr7MvLk3IY8IKA7RQvbsdNUZETlnyh0xMJLpjEQtAS6Hnz35ZSmi50ySGg2WchftU 3yUhtfBDqLs3tmop0FA5bar+cG7eVWprL/l0FJZvZ2O3k4y0kIPfA4GxXKUTZhH3zwiW +poRKoa6x6Sp9llafp79DwHA5vcbPiOagauWzl/EA1vPsoasba+NA+Eq6ZVsoP0WZ8z/ ubNQ== X-Gm-Message-State: AHQUAuY+Uxb6wn+bvTEHbR+tXzTTDfFiF0nbJ/jtp468xU0kUB6sNjSA TYK7Tvsr/tAmllWMUSh2uOJhhH9xSUS+ X-Received: by 2002:aed:3a25:: with SMTP id n34mr548310qte.17.1550787928702; Thu, 21 Feb 2019 14:25:28 -0800 (PST) Date: Thu, 21 Feb 2019 14:25:23 -0800 Message-Id: <20190221222523.136829-1-venture@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.21.0.rc0.258.g878e2cd30e-goog Subject: [PATCH 1/2] dt-bindings: misc: aspeed-p2a-ctrl: add support From: Patrick Venture To: venture@google.com, robh+dt@kernel.org, mark.rutland@arm.com, joel@jms.id.au, andrew@aj.id.au, gregkh@linuxfoundation.org Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Document the ast2400, ast2500 PCI-to-AHB bridge control driver bindings. Signed-off-by: Patrick Venture --- .../bindings/misc/aspeed-p2a-ctrl.txt | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 Documentation/devicetree/bindings/misc/aspeed-p2a-ctrl.txt diff --git a/Documentation/devicetree/bindings/misc/aspeed-p2a-ctrl.txt b/Documentation/devicetree/bindings/misc/aspeed-p2a-ctrl.txt new file mode 100644 index 000000000000..9c4d036ad5f5 --- /dev/null +++ b/Documentation/devicetree/bindings/misc/aspeed-p2a-ctrl.txt @@ -0,0 +1,33 @@ +====================================================================== +Device tree bindings for Aspeed AST2400/AST2500 PCI-to-AHB Bridge Control Driver +====================================================================== + +The bridge is available on platforms with the VGA enabled on the Aspeed device. +In this case, the host has access to a 64KiB window into all of the BMC's +memory. The BMC can disable this bridge. If the bridge is enabled, the host +has read access to all the regions of memory, however the host only has read +and write access depending on a register controlled by the BMC. + +Required properties: +=================== + + - compatible: must be one of: + - "aspeed,ast2400-p2a-ctrl" + - "aspeed,ast2500-p2a-ctrl" + + - reg: physical address of SCU2C followed by SCU180 + +Optional properties: +=================== + +- memory-region: A phandle to a reserved_memory region to be used for the PCI + to AHB mapping + +Example: + +p2a: p2a-control@1e6e2000 { + compatible = "aspeed,ast2400-p2a-ctrl"; + reg = <0x1e6e202C 4 + 0x1e6e2180 4>; + memory-region = <&reserved_memory>; +}; -- 2.21.0.rc0.258.g878e2cd30e-goog