From 6e171b661e1d912d3e34fd3e53944f545a54a8f7 Mon Sep 17 00:00:00 2001 From: Niel Fourie Date: Mon, 3 Jun 2019 15:31:17 +0200 Subject: ARM: am335x: Add phyCORE AM335x R2 support 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 Signed-off-by: Parthiban Nallathambi Reviewed-by: Heiko Schocher Reviewed-by: Tom Rini Tested-by: Marek Vasut --- board/phytec/phycore_am335x_r2/board.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 board/phytec/phycore_am335x_r2/board.h (limited to 'board/phytec/phycore_am335x_r2/board.h') diff --git a/board/phytec/phycore_am335x_r2/board.h b/board/phytec/phycore_am335x_r2/board.h new file mode 100644 index 0000000000..1b90861dd3 --- /dev/null +++ b/board/phytec/phycore_am335x_r2/board.h @@ -0,0 +1,24 @@ +/* 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 -- cgit