blob: ef9740a20883de8b97310a213f1691343353e01a [file] [log] [blame]
Hauke Mehrtens5b293eb2014-02-04 00:01:43 +01001/*
2 * Broadcom BCM470X / BCM5301X ARM platform code.
3 *
4 * Copyright 2013 Hauke Mehrtens <hauke@hauke-m.de>
5 *
6 * Licensed under the GNU/GPL. See COPYING for details.
7 */
8#include <linux/of_platform.h>
9#include <asm/hardware/cache-l2x0.h>
10
11#include <asm/mach/arch.h>
12
13
14static void __init bcm5301x_dt_init(void)
15{
16 l2x0_of_init(0, ~0UL);
17 of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
18}
19
20static const char __initconst *bcm5301x_dt_compat[] = {
21 "brcm,bcm4708",
22 NULL,
23};
24
25DT_MACHINE_START(BCM5301X, "BCM5301X")
26 .init_machine = bcm5301x_dt_init,
27 .dt_compat = bcm5301x_dt_compat,
28MACHINE_END