blob: 4df7ff437e0d73cb23e5dca6314e30340b7983b1 [file] [log] [blame]
Jerome Brunetd1e5b142019-02-12 14:23:25 +01001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright (C) 2016 BayLibre, SAS
4 * Author: Neil Armstrong <narmstrong@baylibre.com>
5 */
6
7#include <common.h>
8#include <dm.h>
Simon Glass274e0b02020-05-10 11:39:56 -06009#include <net.h>
Jerome Brunetd1e5b142019-02-12 14:23:25 +010010#include <asm/io.h>
11#include <asm/arch/axg.h>
12#include <asm/arch/sm.h>
13#include <asm/arch/eth.h>
14#include <asm/arch/mem.h>
15
16int misc_init_r(void)
17{
18 meson_eth_init(PHY_INTERFACE_MODE_RMII,
19 MESON_USE_INTERNAL_RMII_PHY);
20
21 return 0;
22}