mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-20 08:58:52 +09:00
![Niel Fourie](/assets/img/avatar_default.png)
Support for Phytech phyCORE AM335x R2 SOM (PCL060) on the Phytec phyBOARD-Wega AM335x. CPU : AM335X-GP rev 2.1 Model: Phytec AM335x phyBOARD-WEGA DRAM: 256 MiB NAND: 256 MiB MMC: OMAP SD/MMC: 0 eth0: ethernet@4a100000 Working: - Eth0 - i2C - MMC/SD - NAND - UART - USB (host) Device trees were taken from Linux mainline: commit 37624b58542f ("Linux 5.1-rc7") Signed-off-by: Niel Fourie <lusus@denx.de> Signed-off-by: Parthiban Nallathambi <pn@denx.de> Reviewed-by: Heiko Schocher <hs@denx.de> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Marek Vasut <marex@denx.de>
25 lines
689 B
C
25 lines
689 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* board.h
|
|
*
|
|
* Phytec phyCORE-AM335x (PCL060 / PCM060) boards information header
|
|
*
|
|
* Copyright (C) 2013 Lars Poeschel, Lemonage Software GmbH
|
|
* Copyright (C) 2019 DENX Software Engineering GmbH
|
|
*/
|
|
|
|
#ifndef _BOARD_H_
|
|
#define _BOARD_H_
|
|
|
|
/*
|
|
* We have three pin mux functions that must exist. We must be able to enable
|
|
* uart0, for initial output and i2c0 to access the PMIC. We then have a main
|
|
* pinmux function that can be overridden to enable all other pinmux that
|
|
* is required on the board.
|
|
*/
|
|
void enable_uart0_pin_mux(void);
|
|
void enable_i2c0_pin_mux(void);
|
|
void enable_board_pin_mux(void);
|
|
void enable_cbmux_pin_mux(void);
|
|
#endif
|