Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp13371yba; Thu, 25 Apr 2019 17:05:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqwqkf3fjOlQ0b6JwZ+wzOjb62rCATnqgHv7rBghMH8UDbeUICyTXVAP11nbPrnCbc/B4DHQ X-Received: by 2002:a17:902:2c01:: with SMTP id m1mr43784218plb.22.1556237149287; Thu, 25 Apr 2019 17:05:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556237149; cv=none; d=google.com; s=arc-20160816; b=WnUCWMCXr/QAz53VraizcbWJBED+z/V//CICMG0CvByZR1lCr0xNssF7VrEVAdracl xNi6w3IhWyB08/mbppgwDp56hgNBw3rmCjZFc0pmP/n2cknCmDbJ5qcQaWpHSEngDO60 hGsWHRbhZ9iWHvQRn4zUBWb+v8lXEelohLIpmxYV2deDXWWnkjQSH3YW6S7iwE2JUTYU kcdrfycmYRyJzF64u9yYest37P1V/McoN2y9CMAEsqZpBiaeKPoaEW8TaxYxEp5fJY3b DxDigMaY53PHCpw+u0EINFjNmkLKd+LyStLzjTMgZL/OlrEx89NgQJWPlkkeegcHtYIY TT3g== 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=KQMVZFBYV3l7bj2x5noGMtlzW2OP8eFi+jkangDmvwU=; b=Dp1uOPeOtufcaH3R/+RhmnAYMcj3Cmn6/k76nPu02MIOvU/X8wPtcD0jUVIo+tn6/e 67RSJ2gAt1ji6Blk45/My1KZhMODw5f0C9VvymL7sUtkrVH653K2IclXNlVIdCnPdqGD UfQ+sXLv7e48fIOJ4FeB3dZpJfosZAPsBxi4D/I/DSZ3BfOSdz7dWpOkz9Er4lVg7lQI ZYvtq0DUP7cz1RJYSD3R6qaaq2LWW82x0dMmVjNpehOA+oIczvcQ4dfrkEpK9gr8+FJH 57/irnLWIzDWV9BaFWLqLQxMlAAMm7Bjy9Q5NlP8B/eI3M43p6fdSnnghpLklWsGCgLe 6fhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=HwKxCamA; 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 c17si24068720pls.23.2019.04.25.17.05.34; Thu, 25 Apr 2019 17:05:49 -0700 (PDT) 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=HwKxCamA; 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 S1730386AbfDYTs6 (ORCPT + 99 others); Thu, 25 Apr 2019 15:48:58 -0400 Received: from mail-ot1-f73.google.com ([209.85.210.73]:44723 "EHLO mail-ot1-f73.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726435AbfDYTs6 (ORCPT ); Thu, 25 Apr 2019 15:48:58 -0400 Received: by mail-ot1-f73.google.com with SMTP id w3so518354otg.11 for ; Thu, 25 Apr 2019 12:48:57 -0700 (PDT) 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=KQMVZFBYV3l7bj2x5noGMtlzW2OP8eFi+jkangDmvwU=; b=HwKxCamAoHOE6nUFmXQ8v/yFGaMkGY4T09T8MB7vAvXMSDsBD6K89hPOV94dn38H7R qnMHn1xN9rryCO0LGRp3pJCqxh/d4tp8xRAjZWI5T9z1oV+5G3NW/RXDlL6/v2bJAWik s/2yq1WF7xOaipb0jRRQKBJCihnxbwQyvSAHmn5B4qyIVM5+E7vlZ1R3AA3SgUYxd2tx WkcvZ2wJjoUZXterXYUKr8kk6tAKycr6LnkvNkJ+1f7tBXNY84B5AYvBiYyvpwZSZtjv vkw4Rg2roGNov0FgmD/HW8F+dk1llV3+Bs9yBnP4n5DOMNAmc3ZH+eBpw0EQrZmMAb79 PX5g== 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=KQMVZFBYV3l7bj2x5noGMtlzW2OP8eFi+jkangDmvwU=; b=aS4MvbHSw8U1/14X+ML6+od1AO+xr63UHr14KrIrvAnKj/aC7cAPiJzOPv6ZdrsEZA ivZuwRxto02aDl+JuYRVoCFE7ay/HxjMKlXS20xGoj/lyO5yNw32XtWuEMfVfP3e4qOt xs6cEKtcNZWSB6RVnydH9/hiimAd50a75EMRw75bEaHkfg3U8DswkVabQheZjDipjVQn fMbxYhYZHuLT4nNWd3V9884EO50LZT3b82y4MKoitftGx5EskUKeYeuxdsPzgo45jUay yFEWhTeJDAY60ypEjWFvi+LzbPhO/CBLNUKeBU84jRkOfYT6lit4cYIrf6UJHKFFg0qd slVw== X-Gm-Message-State: APjAAAWfacfg5ws47uL7oZlPCuwlBGAFQhNis3+JVhR8dDzsocT5Ds8g Y32z+lUTdpJyYaK+RPV5Q2om5jhWz+hO X-Received: by 2002:a9d:6ad1:: with SMTP id m17mr10625475otq.108.1556221737304; Thu, 25 Apr 2019 12:48:57 -0700 (PDT) Date: Thu, 25 Apr 2019 12:48:53 -0700 Message-Id: <20190425194853.140617-1-venture@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.21.0.593.g511ec345e18-goog Subject: [PATCH 1/2] ARM: dts: aspeed: Add aspeed-p2a-ctrl node From: Patrick Venture To: venture@google.com, robh+dt@kernel.org, mark.rutland@arm.com, joel@jms.id.au, andrew@aj.id.au Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, arm@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 Add a node for the aspeed-p2a-ctrl module. This node, when enabled will disable the PCI-to-AHB bridge and then allow control of this bridge via ioctls, and access via mmap. Signed-off-by: Patrick Venture --- arch/arm/boot/dts/aspeed-g4.dtsi | 4 ++++ arch/arm/boot/dts/aspeed-g5.dtsi | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-g4.dtsi b/arch/arm/boot/dts/aspeed-g4.dtsi index 9549f867aa1ef..0b7bc6072aed0 100644 --- a/arch/arm/boot/dts/aspeed-g4.dtsi +++ b/arch/arm/boot/dts/aspeed-g4.dtsi @@ -165,6 +165,10 @@ compatible = "aspeed,g4-pinctrl"; }; + p2a: p2a-control { + compatible = "aspeed,ast2400-p2a-ctrl"; + status = "disabled"; + }; }; rng: hwrng@1e6e2078 { diff --git a/arch/arm/boot/dts/aspeed-g5.dtsi b/arch/arm/boot/dts/aspeed-g5.dtsi index 3e4ed081505cc..5f01befcca1e2 100644 --- a/arch/arm/boot/dts/aspeed-g5.dtsi +++ b/arch/arm/boot/dts/aspeed-g5.dtsi @@ -212,6 +212,11 @@ aspeed,external-nodes = <&gfx &lhc>; }; + + p2a: p2a-control { + compatible = "aspeed,ast2500-p2a-ctrl"; + status = "disabled"; + }; }; rng: hwrng@1e6e2078 { -- 2.21.0.593.g511ec345e18-goog