mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
imx6q-lxr: Add board support
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>
This commit is contained in:
committed by
Fabio Estevam
parent
29b053216f
commit
effe934e50
23
include/configs/lxr2.h
Normal file
23
include/configs/lxr2.h
Normal file
@@ -0,0 +1,23 @@
|
||||
/* 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
|
||||
Reference in New Issue
Block a user