Commit | Line | Data |
---|---|---|
5b293ebe HM |
1 | /* |
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 | ||
14 | static 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 | ||
20 | static const char __initconst *bcm5301x_dt_compat[] = { | |
21 | "brcm,bcm4708", | |
22 | NULL, | |
23 | }; | |
24 | ||
25 | DT_MACHINE_START(BCM5301X, "BCM5301X") | |
26 | .init_machine = bcm5301x_dt_init, | |
27 | .dt_compat = bcm5301x_dt_compat, | |
28 | MACHINE_END |