1*c66ec88fSEmmanuel Vadot====================================================================== 2*c66ec88fSEmmanuel VadotDevice tree bindings for Aspeed AST2400/AST2500 PCI-to-AHB Bridge Control Driver 3*c66ec88fSEmmanuel Vadot====================================================================== 4*c66ec88fSEmmanuel Vadot 5*c66ec88fSEmmanuel VadotThe bridge is available on platforms with the VGA enabled on the Aspeed device. 6*c66ec88fSEmmanuel VadotIn this case, the host has access to a 64KiB window into all of the BMC's 7*c66ec88fSEmmanuel Vadotmemory. The BMC can disable this bridge. If the bridge is enabled, the host 8*c66ec88fSEmmanuel Vadothas read access to all the regions of memory, however the host only has read 9*c66ec88fSEmmanuel Vadotand write access depending on a register controlled by the BMC. 10*c66ec88fSEmmanuel Vadot 11*c66ec88fSEmmanuel VadotRequired properties: 12*c66ec88fSEmmanuel Vadot=================== 13*c66ec88fSEmmanuel Vadot 14*c66ec88fSEmmanuel Vadot - compatible: must be one of: 15*c66ec88fSEmmanuel Vadot - "aspeed,ast2400-p2a-ctrl" 16*c66ec88fSEmmanuel Vadot - "aspeed,ast2500-p2a-ctrl" 17*c66ec88fSEmmanuel Vadot 18*c66ec88fSEmmanuel VadotOptional properties: 19*c66ec88fSEmmanuel Vadot=================== 20*c66ec88fSEmmanuel Vadot 21*c66ec88fSEmmanuel Vadot- reg: A hint for the memory regions associated with the P2A controller 22*c66ec88fSEmmanuel Vadot- memory-region: A phandle to a reserved_memory region to be used for the PCI 23*c66ec88fSEmmanuel Vadot to AHB mapping 24*c66ec88fSEmmanuel Vadot 25*c66ec88fSEmmanuel VadotThe p2a-control node should be the child of a syscon node with the required 26*c66ec88fSEmmanuel Vadotproperty: 27*c66ec88fSEmmanuel Vadot 28*c66ec88fSEmmanuel Vadot- compatible : Should be one of the following: 29*c66ec88fSEmmanuel Vadot "aspeed,ast2400-scu", "syscon", "simple-mfd" 30*c66ec88fSEmmanuel Vadot "aspeed,ast2500-scu", "syscon", "simple-mfd" 31*c66ec88fSEmmanuel Vadot 32*c66ec88fSEmmanuel VadotExample 33*c66ec88fSEmmanuel Vadot=================== 34*c66ec88fSEmmanuel Vadot 35*c66ec88fSEmmanuel Vadotg4 Example 36*c66ec88fSEmmanuel Vadot---------- 37*c66ec88fSEmmanuel Vadot 38*c66ec88fSEmmanuel Vadotsyscon: scu@1e6e2000 { 39*c66ec88fSEmmanuel Vadot compatible = "aspeed,ast2400-scu", "syscon", "simple-mfd"; 40*c66ec88fSEmmanuel Vadot reg = <0x1e6e2000 0x1a8>; 41*c66ec88fSEmmanuel Vadot 42*c66ec88fSEmmanuel Vadot p2a: p2a-control { 43*c66ec88fSEmmanuel Vadot compatible = "aspeed,ast2400-p2a-ctrl"; 44*c66ec88fSEmmanuel Vadot memory-region = <&reserved_memory>; 45*c66ec88fSEmmanuel Vadot }; 46*c66ec88fSEmmanuel Vadot}; 47