On v8 the compatibility name differs but the node is otherwise specified the
same. See linux/Documentation/devicetree/bindings/arm/arch_timer.txt
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
unsigned int i;
dev = dt_find_compatible_node(NULL, NULL, "arm,armv7-timer");
+ if ( !dev )
+ dev = dt_find_compatible_node(NULL, NULL, "arm,armv8-timer");
if ( !dev )
panic("Unable to find a compatible timer in the device tree\n");