]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: aspeed: Add aspeed-p2a-ctrl node
authorPatrick Venture <venture@google.com>
Thu, 25 Apr 2019 19:48:53 +0000 (12:48 -0700)
committerJoel Stanley <joel@jms.id.au>
Fri, 24 May 2019 04:25:15 +0000 (13:55 +0930)
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 <venture@google.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-g4.dtsi
arch/arm/boot/dts/aspeed-g5.dtsi

index 27a1da78f5c039e080a056f74f83d56ffc98a0de..dd4b0b15afcfdc114305931bed0a9757595acf68 100644 (file)
@@ -165,6 +165,10 @@ pinctrl: pinctrl {
                                        compatible = "aspeed,g4-pinctrl";
                                };
 
+                               p2a: p2a-control {
+                                       compatible = "aspeed,ast2400-p2a-ctrl";
+                                       status = "disabled";
+                               };
                        };
 
                        rng: hwrng@1e6e2078 {
index de0bb6f25bbfef089c5176057103c87fb44b5256..5b1ca265c2ce487c57aa6171ade5ff413f1ef8b4 100644 (file)
@@ -219,6 +219,11 @@ pinctrl: pinctrl {
                                        aspeed,external-nodes = <&gfx &lhc>;
 
                                };
+
+                               p2a: p2a-control {
+                                       compatible = "aspeed,ast2500-p2a-ctrl";
+                                       status = "disabled";
+                               };
                        };
 
                        rng: hwrng@1e6e2078 {