mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-12 14:23:00 +00:00
149c751dc7
If CONFIG_OF_CONTROL is defined, search device tree nodes that are compatible with "panasonic,uniphier-ehci" and take the base address from their "reg" property. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Cc: Marek Vasut <marex@denx.de>
27 lines
557 B
C
27 lines
557 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 80000000
|
|
|
|
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)
|
|
|
|
struct uniphier_ehci_platform_data uniphier_ehci_platdata[] = {
|
|
{
|
|
.base = 0x5a800100,
|
|
},
|
|
{
|
|
.base = 0x5a810100,
|
|
},
|
|
{
|
|
.base = 0x5a820100,
|
|
},
|
|
};
|