On Mon, Apr 17, 2017 at 12:00:32PM -0700, [email protected] wrote: > Add support for clocks needed by MACs to ast2500 clock driver. > The clocks are D2-PLL, which is used by both MACs and PCLK_MAC1 and > PCLK_MAC2 for MAC1 and MAC2 respectively. > > The rate of D2-PLL is hardcoded to 250MHz -- the value used in Aspeed > SDK. It is not entirely clear from the datasheet how this clock is used > by MACs, so not clear if the rate would ever need to be different. So, > for now, hardcoding it is probably safer. > > The rate of PCLK_MAC{1,2} is chosen based on MAC speed selected through > hardware strapping. > > So, the network driver would only need to enable these clocks, no need > to configure the rate. > > Signed-off-by: Maxim Sloyko <[email protected]> > Reviewed-by: Simon Glass <[email protected]>
Applied to u-boot/master, thanks! -- Tom
signature.asc
Description: Digital signature
_______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

