]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blame - arch/arm/mach-ep93xx/adssphere.c
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 200
[mirror_ubuntu-jammy-kernel.git] / arch / arm / mach-ep93xx / adssphere.c
CommitLineData
2874c5fd 1// SPDX-License-Identifier: GPL-2.0-or-later
5283304b
LB
2/*
3 * arch/arm/mach-ep93xx/adssphere.c
4 * ADS Sphere support.
5 *
6 * Copyright (C) 2006 Lennert Buytenhek <buytenh@wantstofly.org>
5283304b
LB
7 */
8
9#include <linux/kernel.h>
10#include <linux/init.h>
5283304b 11#include <linux/platform_device.h>
c0817056 12#include <linux/sizes.h>
583ddafe 13
5b7cc904 14#include "hardware.h"
583ddafe 15
5283304b
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 adssphere_eth_data = {
5283304b
LB
22 .phy_id = 1,
23};
24
5283304b
LB
25static void __init adssphere_init_machine(void)
26{
27 ep93xx_init_devices();
16bcf78f 28 ep93xx_register_flash(4, EP93XX_CS6_PHYS_BASE, SZ_32M);
a0a08fdc 29 ep93xx_register_eth(&adssphere_eth_data, 1);
5283304b
LB
30}
31
32MACHINE_START(ADSSPHERE, "ADS Sphere board")
33 /* Maintainer: Lennert Buytenhek <buytenh@wantstofly.org> */
e562cf17 34 .atag_offset = 0x100,
5283304b
LB
35 .map_io = ep93xx_map_io,
36 .init_irq = ep93xx_init_irq,
6bb27d73 37 .init_time = ep93xx_timer_init,
5283304b 38 .init_machine = adssphere_init_machine,
c914283f 39 .init_late = ep93xx_init_late,
3275166e 40 .restart = ep93xx_restart,
5283304b 41MACHINE_END