treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152
[linux-block.git] / arch / arm / mach-ep93xx / gesbc9312.c
CommitLineData
2874c5fd 1// SPDX-License-Identifier: GPL-2.0-or-later
e7736d47
LB
2/*
3 * arch/arm/mach-ep93xx/gesbc9312.c
4 * Glomation GESBC-9312-sx support.
5 *
6 * Copyright (C) 2006 Lennert Buytenhek <buytenh@wantstofly.org>
e7736d47
LB
7 */
8
e7736d47
LB
9#include <linux/kernel.h>
10#include <linux/init.h>
0967b5f0 11#include <linux/platform_device.h>
c0817056 12#include <linux/sizes.h>
583ddafe 13
5b7cc904 14#include "hardware.h"
583ddafe 15
e7736d47
LB
16#include <asm/mach-types.h>
17#include <asm/mach/arch.h>
18
258249ec 19#include "soc.h"
583ddafe 20
b370e082 21static struct ep93xx_eth_data __initdata gesbc9312_eth_data = {
a0a08fdc 22 .phy_id = 1,
730ee9f3
LB
23};
24
e7736d47
LB
25static void __init gesbc9312_init_machine(void)
26{
27 ep93xx_init_devices();
16bcf78f 28 ep93xx_register_flash(4, EP93XX_CS6_PHYS_BASE, SZ_8M);
a0a08fdc 29 ep93xx_register_eth(&gesbc9312_eth_data, 0);
e7736d47
LB
30}
31
32MACHINE_START(GESBC9312, "Glomation GESBC-9312-sx")
33 /* Maintainer: Lennert Buytenhek <buytenh@wantstofly.org> */
e562cf17 34 .atag_offset = 0x100,
e7736d47
LB
35 .map_io = ep93xx_map_io,
36 .init_irq = ep93xx_init_irq,
6bb27d73 37 .init_time = ep93xx_timer_init,
e7736d47 38 .init_machine = gesbc9312_init_machine,
c914283f 39 .init_late = ep93xx_init_late,
3275166e 40 .restart = ep93xx_restart,
e7736d47 41MACHINE_END