mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-01-09 19:58:55 +00:00
048899ba8c
Support EHCI host driver used on Panasonic UniPhier platform. Since Device Tree is not supported on UniPhier yet, the base address of USB cores are passed from board files (platdevice.c). TODO for me: Move the base address to device trees. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Acked-by: Marek Vasut <marex@denx.de>
28 lines
628 B
C
28 lines
628 B
C
/*
|
|
* Copyright (C) 2014 Panasonic Corporation
|
|
* Author: Masahiro Yamada <yamada.m@jp.panasonic.com>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#include <asm/arch/platdevice.h>
|
|
|
|
#define UART_MASTER_CLK 36864000
|
|
|
|
SERIAL_DEVICE(0, 0x54006800, UART_MASTER_CLK)
|
|
SERIAL_DEVICE(1, 0x54006900, UART_MASTER_CLK)
|
|
SERIAL_DEVICE(2, 0x54006a00, UART_MASTER_CLK)
|
|
SERIAL_DEVICE(3, 0x54006b00, UART_MASTER_CLK)
|
|
|
|
/* USB : TODO for Masahiro Yamada: move base address to Device Tree */
|
|
struct uniphier_ehci_platform_data uniphier_ehci_platdata[] = {
|
|
{
|
|
.base = 0x5a800100,
|
|
},
|
|
{
|
|
.base = 0x5a810100,
|
|
},
|
|
{
|
|
.base = 0x5a820100,
|
|
},
|
|
};
|