diff options
| author | Fabio Estevam <[email protected]> | 2024-09-13 21:56:05 -0300 |
|---|---|---|
| committer | Fabio Estevam <[email protected]> | 2024-09-19 00:13:20 -0300 |
| commit | effe934e50f03c92ba6febecfe132c9cb34ecf59 (patch) | |
| tree | a2d3adcaa5566fc70541b65cd73cbf011fff520b /include | |
| parent | 29b053216f65aee9f5ae0ecdcc9f851c993b7c5c (diff) | |
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 <[email protected]>.
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/[email protected]/
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 <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/configs/lxr2.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/include/configs/lxr2.h b/include/configs/lxr2.h new file mode 100644 index 00000000000..d8d37a42228 --- /dev/null +++ b/include/configs/lxr2.h @@ -0,0 +1,23 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +// Copyright (C) Stefano Babic <[email protected]> + +#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 |
