From patchwork Thu Jan 2 14:17:24 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Robey X-Patchwork-Id: 239094 List-Id: U-Boot discussion From: c-robey at ti.com (Caleb Robey) Date: Thu, 2 Jan 2020 08:17:24 -0600 Subject: [PATCH v3 0/5] board: ti: beagleboneai: add initial support Message-ID: <20200102141731.9231-1-c-robey@ti.com> The following patches 1) Introduce the emmc based board detection for BBAI due to a lack of eeprom onboard the BBAI (to be fixed in future revision of the board). 2) Add structures in the pinctrl to detect the beaglebone AI and add checks for the beaglebone AI in the board detection scheme 3) Minor changes to files to support dts and bbai boot overall 4) Add device tree file for BeagleBone AI 5) Enable beaglebone ai in am57xx_evm_defconfig Device tree has gone to mainline kernel found here: https://patchwork.kernel.org/patch/11254903/ v2 Changes: - Introduced missed additions in board.c that allow the actual configuration of the BBAI when detected. I also removed the hardcoded change of uart0 serial confirution and added a CONFIG_PREBOOT variable to do the board detect and setenv of the console variable v3 Changes: - Swapped order of 2 and 3 to assure no patch breaks the build - aligned dts file with the one found in the latest release of psdk 06.02 Caleb Robey (5): board: ti: beagleboneai: emmc read changes board: ti: beagleboneai: IODELAY and pinmux board: ti: beagleboneai: add initial support board: ti: beagleboneai: add dts file board: ti: beagleboneai: enable in am57xx_evm_defconfig arch/arm/dts/Makefile | 1 + arch/arm/dts/am5729-beagleboneai.dts | 576 +++++++++++++++++++++++++++ arch/arm/mach-omap2/omap5/hw_data.c | 1 + board/ti/am57xx/board.c | 61 ++- board/ti/am57xx/mux_data.h | 280 +++++++++++++ board/ti/common/board_detect.c | 76 ++++ board/ti/common/board_detect.h | 9 + configs/am57xx_evm_defconfig | 3 +- include/configs/am57xx_evm.h | 1 - include/environment/ti/boot.h | 2 + 10 files changed, 1007 insertions(+), 3 deletions(-) create mode 100644 arch/arm/dts/am5729-beagleboneai.dts