mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-18 19:04:38 +00:00

Add support for the Comvetia i.MX6Q LXR2 board, which is uses the Phytec PFLA02 SoM. Based on the original work from Stefano Babic <sbabic@denx.de>. The Phytec PFLA02 devicetrees are taken from kernel 6.11-rc7. The imx6q-lxr.dts has been submitted upstream: https://lore.kernel.org/linux-devicetree/20240913200906.1753458-3-festevam@gmail.com/ After it gets accepted in mainline (most likely in kernel 6.13), the lxr2 board can then be switched to OF_UPSTREAM and these device trees can be removed from U-Boot. Signed-off-by: Fabio Estevam <festevam@denx.de>
23 lines
507 B
C
23 lines
507 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
// Copyright (C) Stefano Babic <sbabic@denx.de>
|
|
|
|
#ifndef __LXR2_CONFIG_H
|
|
#define __LXR2_CONFIG_H
|
|
|
|
#include <config_distro_bootcmd.h>
|
|
|
|
#include "mx6_common.h"
|
|
|
|
#define PHYS_SDRAM_SIZE SZ_1G
|
|
|
|
/* Physical Memory Map */
|
|
#define PHYS_SDRAM MMDC0_ARB_BASE_ADDR
|
|
|
|
#define CFG_SYS_SDRAM_BASE PHYS_SDRAM
|
|
#define CFG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR
|
|
#define CFG_SYS_INIT_RAM_SIZE IRAM_SIZE
|
|
|
|
#define CFG_SYS_FSL_ESDHC_ADDR 0
|
|
#define CFG_MXC_UART_BASE UART4_BASE
|
|
|
|
#endif
|