dt-bindings: misc: Document reg for aspeed, p2a-ctrl nodes
authorAndrew Jeffery <andrew@aj.id.au>
Tue, 3 Dec 2019 12:04:03 +0000 (22:34 +1030)
committerJoel Stanley <joel@jms.id.au>
Mon, 16 Dec 2019 23:35:26 +0000 (10:35 +1100)
The P2A controller node sits under a syscon device, and can assume
offsets from the base of the syscon based on the compatible. However,
for devicetree correctness allow a reg property to be specified, which
an associated driver may choose to use to discover associated resources.

Cc: Patrick Venture <venture@google.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Documentation/devicetree/bindings/misc/aspeed-p2a-ctrl.txt

index 0e1fa5b..f2e2e28 100644 (file)
@@ -18,6 +18,7 @@ Required properties:
 Optional properties:
 ===================
 
+- reg: A hint for the memory regions associated with the P2A controller
 - memory-region: A phandle to a reserved_memory region to be used for the PCI
                to AHB mapping