From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lokesh Vutla Date: Thu, 6 May 2021 16:44:47 +0530 Subject: [PATCH 00/18] arm: k3-am64: Add initial support for AM64 SK Message-ID: <20210506111505.6741-1-lokeshvutla@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de AM642 StarterKit (SK) board is a low cost, small form factor board designed for TI?s AM642 SoC. It supports the following interfaces: * 2 GB LPDDR4 RAM * x2 Gigabit Ethernet interfaces capable of working in switch and MAC mode * x1 USB 3.0 Type-A port * x1 UHS-1 capable ?SD card slot * 2.4/5 GHz WLAN + Bluetooth 4.2 through WL1837 * 512 Mbit OSPI flash * x2 UART through UART-USB bridge * XDS110 for onboard JTAG debug using USB * Temperature sensors, user push buttons and LEDs * 40-pin Raspberry Pi compatible GPIO header * 24-pin header for peripherals in MCU island (I2C, UART, SPI, IO) * 54-pin header for Programmable Realtime Unit (PRU) IO pins * Interface for remote automation. Includes: * power measurement and reset control * boot mode change This series adds support for: - AM64 SoC detection - AM64 board detection - AM64 SK initial support - Re-use EVM defconfigs for SK. This series depends on the following series: - https://patchwork.ozlabs.org/user/todo/uboot/?series=240546 - https://patchwork.ozlabs.org/user/todo/uboot/?series=241946 - https://patchwork.ozlabs.org/user/todo/uboot/?series=242110 Lokesh Vutla (18): soc: ti: k3-socinfo: Add entry for AM64X SoC family board: ti: am64x: Add support for reading eeprom data board: ti: am64x: Enable support for reading EEPROM in R5 SPL board: ti: am64x: Add support for detecting multiple device trees arm: am64x: Add support for selecting DT based on EEPROM include: configs: am64x: Avoid overlap of BSS and stack area include: configs: am64x_evm: Optimize size of SPL BSS include: configs: Update env for selecting right dtb arm: dts: k3-am64-evm: Make chip id available before pre-reloc arm: dts: k3-am642-r5-evm: Do not use power-domains for I2C arm: dts: am642-evm: Add I2C nodes arm: dts: am642-sk: Add initial sk dts arm: dts: am642-r5-sk: Add r5 specific dts configs: am64x_evm_r5: Enable checks for spl and stack sizes configs: am64x_evm_r5: Enable support for building multiple device trees configs: am64x_evm_a53: Enable configs for printing cpuinfo configs: am64x_evm_a53: Enable support for reading eeprom configs: am64x_evm_a53: Enable support for building multiple dtbs arch/arm/dts/Makefile | 4 +- arch/arm/dts/k3-am64-main.dtsi | 44 + arch/arm/dts/k3-am64-sk-lp4-1333MTs.dtsi | 2190 +++++++++++++++++ arch/arm/dts/k3-am64.dtsi | 2 + arch/arm/dts/k3-am642-evm-u-boot.dtsi | 25 + arch/arm/dts/k3-am642-r5-evm.dts | 5 + arch/arm/dts/k3-am642-r5-sk.dts | 145 ++ arch/arm/dts/k3-am642-sk-u-boot.dtsi | 87 + arch/arm/dts/k3-am642-sk.dts | 94 + arch/arm/mach-k3/am642_init.c | 26 + arch/arm/mach-k3/include/mach/am64_hardware.h | 3 + board/ti/am64x/Kconfig | 6 + board/ti/am64x/evm.c | 105 +- configs/am64x_evm_a53_defconfig | 10 +- configs/am64x_evm_r5_defconfig | 8 + drivers/soc/soc_ti_k3.c | 4 + include/configs/am64x_evm.h | 18 +- 17 files changed, 2765 insertions(+), 11 deletions(-) create mode 100644 arch/arm/dts/k3-am64-sk-lp4-1333MTs.dtsi create mode 100644 arch/arm/dts/k3-am642-r5-sk.dts create mode 100644 arch/arm/dts/k3-am642-sk-u-boot.dtsi create mode 100644 arch/arm/dts/k3-am642-sk.dts -- 2.30.0