Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
if (!rootnp)
goto bad;
np = of_find_node_by_name(rootnp, "GAISLER_IRQMP");
- if (!np)
- goto bad;
+ if (!np) {
+ np = of_find_node_by_name(rootnp, "01_00d");
+ if (!np)
+ goto bad;
+ }
pp = of_find_property(np, "reg", &len);
if (!pp)
goto bad;
/* Find GPTIMER Timer Registers base address otherwise bail out. */
np = of_find_node_by_name(rootnp, "GAISLER_GPTIMER");
- if (!np)
- goto bad;
+ if (!np) {
+ np = of_find_node_by_name(np, "01_011");
+ if (!np)
+ goto bad;
+ }
pp = of_find_property(np, "reg", &len);
if (!pp)
goto bad;