18c2ecf20Sopenharmony_ci======================================================================
28c2ecf20Sopenharmony_ciDevice tree bindings for Aspeed AST2400/AST2500 PCI-to-AHB Bridge Control Driver
38c2ecf20Sopenharmony_ci======================================================================
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ciThe bridge is available on platforms with the VGA enabled on the Aspeed device.
68c2ecf20Sopenharmony_ciIn this case, the host has access to a 64KiB window into all of the BMC's
78c2ecf20Sopenharmony_cimemory.  The BMC can disable this bridge.  If the bridge is enabled, the host
88c2ecf20Sopenharmony_cihas read access to all the regions of memory, however the host only has read
98c2ecf20Sopenharmony_ciand write access depending on a register controlled by the BMC.
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ciRequired properties:
128c2ecf20Sopenharmony_ci===================
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ci - compatible: must be one of:
158c2ecf20Sopenharmony_ci	- "aspeed,ast2400-p2a-ctrl"
168c2ecf20Sopenharmony_ci	- "aspeed,ast2500-p2a-ctrl"
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ciOptional properties:
198c2ecf20Sopenharmony_ci===================
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_ci- reg: A hint for the memory regions associated with the P2A controller
228c2ecf20Sopenharmony_ci- memory-region: A phandle to a reserved_memory region to be used for the PCI
238c2ecf20Sopenharmony_ci		to AHB mapping
248c2ecf20Sopenharmony_ci
258c2ecf20Sopenharmony_ciThe p2a-control node should be the child of a syscon node with the required
268c2ecf20Sopenharmony_ciproperty:
278c2ecf20Sopenharmony_ci
288c2ecf20Sopenharmony_ci- compatible : Should be one of the following:
298c2ecf20Sopenharmony_ci		"aspeed,ast2400-scu", "syscon", "simple-mfd"
308c2ecf20Sopenharmony_ci		"aspeed,ast2500-scu", "syscon", "simple-mfd"
318c2ecf20Sopenharmony_ci
328c2ecf20Sopenharmony_ciExample
338c2ecf20Sopenharmony_ci===================
348c2ecf20Sopenharmony_ci
358c2ecf20Sopenharmony_cig4 Example
368c2ecf20Sopenharmony_ci----------
378c2ecf20Sopenharmony_ci
388c2ecf20Sopenharmony_cisyscon: scu@1e6e2000 {
398c2ecf20Sopenharmony_ci	compatible = "aspeed,ast2400-scu", "syscon", "simple-mfd";
408c2ecf20Sopenharmony_ci	reg = <0x1e6e2000 0x1a8>;
418c2ecf20Sopenharmony_ci
428c2ecf20Sopenharmony_ci	p2a: p2a-control {
438c2ecf20Sopenharmony_ci		compatible = "aspeed,ast2400-p2a-ctrl";
448c2ecf20Sopenharmony_ci		memory-region = <&reserved_memory>;
458c2ecf20Sopenharmony_ci	};
468c2ecf20Sopenharmony_ci};
47