ARM: keystone2: K2G: Add support for different arm/device speeds
authorLokesh Vutla <lokeshvutla@ti.com>
Fri, 4 Mar 2016 16:36:41 +0000 (10:36 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 14 Mar 2016 23:18:44 +0000 (19:18 -0400)
commitef76ebb1ef7b9b4c72c71b003c6617187e4cd7d9
treea09633f36b04fd5b492c7ad3cc8d677fef540801
parent5cd1f6bd7a44e8c3c62a548257bc5ceff61d1691
ARM: keystone2: K2G: Add support for different arm/device speeds

The maximum device and arm speeds can be determined by reading
EFUSE_BOOTROM register. As there is already a framework for reading this
register, adding support for all possible speeds on k2g devices.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/mach-keystone/clock.c
arch/arm/mach-keystone/include/mach/clock-k2g.h
arch/arm/mach-keystone/include/mach/clock.h
board/ti/ks2_evm/board_k2g.c