summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorTom Hochstein <tom.hochstein@nxp.com>2020-12-06 11:17:38 -0600
committerOtavio Salvador <otavio@ossystems.com.br>2021-01-21 08:37:58 -0300
commitddd038caa062da061a534755831afa7896232903 (patch)
treebeb42217deb1ab09037e97a136221ca450291a5c /conf
parent5ec8c6e06b6d68cc0cb2af99d826f98a82c5a55f (diff)
downloadmeta-freescale-ddd038caa062da061a534755831afa7896232903.tar.gz
imx8qxpmek: Add PCI, OP-TEE, Broadcom WiFi, and device trees
Fix missing pci support. Add OP-TEE support. Add optee to MACHINE_FEATURES to enable OP-TEE in u-boot-imx. OP-TEE is currently not supported by u-boot-fslc. Enable Broadcom 4356, 4359, and 43455 WiFi modules. Add device trees for PCIE EP, lcdif, and rpmsg. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Diffstat (limited to 'conf')
-rw-r--r--conf/machine/imx8qxpmek.conf42
1 files changed, 32 insertions, 10 deletions
diff --git a/conf/machine/imx8qxpmek.conf b/conf/machine/imx8qxpmek.conf
index 122c40ce..fa362180 100644
--- a/conf/machine/imx8qxpmek.conf
+++ b/conf/machine/imx8qxpmek.conf
@@ -1,7 +1,7 @@
1#@TYPE: Machine 1#@TYPE: Machine
2#@NAME: i.MX 8QXP MEK 2#@NAME: i.MX 8QXP MEK
3#@DESCRIPTION: i.MX 8QXP Multisensory Enablement Kit (MEK) board 3#@DESCRIPTION: i.MX 8QXP Multisensory Enablement Kit (MEK) board
4#@MAINTAINER: Cristinel Panfir <cristinel.panfir@nxp.com> 4#@MAINTAINER: Lauren Post <lauren.post@nxp.com>
5 5
6MACHINEOVERRIDES =. "mx8:mx8x:mx8qxp:" 6MACHINEOVERRIDES =. "mx8:mx8x:mx8qxp:"
7 7
@@ -10,7 +10,8 @@ require conf/machine/include/tune-cortexa35.inc
10 10
11IMX_DEFAULT_BSP = "nxp" 11IMX_DEFAULT_BSP = "nxp"
12 12
13MACHINE_FEATURES_append = " qca6174" 13MACHINE_FEATURES += "pci optee bcm43455 bcm4356"
14MACHINE_FEATURES_append_use-nxp-bsp = " bcm4359"
14 15
15# Don't include kernels in standard images 16# Don't include kernels in standard images
16RDEPENDS_${KERNEL_PACKAGE_NAME}-base = "" 17RDEPENDS_${KERNEL_PACKAGE_NAME}-base = ""
@@ -25,29 +26,45 @@ SERIAL_CONSOLES = "115200;ttyAMA0"
25USE_VT = "0" 26USE_VT = "0"
26 27
27KERNEL_DEVICETREE = " \ 28KERNEL_DEVICETREE = " \
29 freescale/imx8qxp-mek.dtb \
28 freescale/imx8qxp-mek-a0.dtb \ 30 freescale/imx8qxp-mek-a0.dtb \
29 freescale/imx8qxp-mek-dom0.dtb \ 31 freescale/imx8qxp-mek-dom0.dtb \
32 freescale/imx8qxp-mek-dpu-lcdif.dtb \
33 freescale/imx8qxp-mek-dpu-lcdif-rpmsg.dtb \
30 freescale/imx8qxp-mek-dsi-rm67191.dtb \ 34 freescale/imx8qxp-mek-dsi-rm67191.dtb \
35 freescale/imx8qxp-mek-dsi-rm67191-rpmsg.dtb \
31 freescale/imx8qxp-mek-dsp.dtb \ 36 freescale/imx8qxp-mek-dsp.dtb \
32 freescale/imx8qxp-mek.dtb \
33 freescale/imx8qxp-mek-enet2.dtb \
34 freescale/imx8qxp-mek-enet2-tja1100.dtb \ 37 freescale/imx8qxp-mek-enet2-tja1100.dtb \
38 freescale/imx8qxp-mek-enet2.dtb \
35 freescale/imx8qxp-mek-inmate.dtb \ 39 freescale/imx8qxp-mek-inmate.dtb \
36 freescale/imx8qxp-mek-it6263-lvds0-dual-channel.dtb \ 40 freescale/imx8qxp-mek-it6263-lvds0-dual-channel.dtb \
41 freescale/imx8qxp-mek-it6263-lvds0-dual-channel-rpmsg.dtb \
37 freescale/imx8qxp-mek-it6263-lvds1-dual-channel.dtb \ 42 freescale/imx8qxp-mek-it6263-lvds1-dual-channel.dtb \
43 freescale/imx8qxp-mek-it6263-lvds1-dual-channel-rpmsg.dtb \
38 freescale/imx8qxp-mek-jdi-wuxga-lvds0-panel.dtb \ 44 freescale/imx8qxp-mek-jdi-wuxga-lvds0-panel.dtb \
45 freescale/imx8qxp-mek-jdi-wuxga-lvds0-panel-rpmsg.dtb \
39 freescale/imx8qxp-mek-jdi-wuxga-lvds1-panel.dtb \ 46 freescale/imx8qxp-mek-jdi-wuxga-lvds1-panel.dtb \
47 freescale/imx8qxp-mek-jdi-wuxga-lvds1-panel-rpmsg.dtb \
48 freescale/imx8qxp-mek-lcdif.dtb \
49 freescale/imx8qxp-mek-lcdif-rpmsg.dtb \
40 freescale/imx8qxp-mek-ov5640.dtb \ 50 freescale/imx8qxp-mek-ov5640.dtb \
51 freescale/imx8qxp-mek-ov5640-rpmsg.dtb \
52 freescale/imx8qxp-mek-pcie-ep.dtb \
41 freescale/imx8qxp-mek-root.dtb \ 53 freescale/imx8qxp-mek-root.dtb \
42 freescale/imx8qxp-mek-rpmsg.dtb \ 54 freescale/imx8qxp-mek-rpmsg.dtb \
43 freescale/imx8qxp-mek-sof-cs42888.dtb \ 55 freescale/imx8qxp-mek-sof-cs42888.dtb \
44 freescale/imx8qxp-mek-sof-wm8960.dtb \ 56 freescale/imx8qxp-mek-sof-wm8960.dtb \
45" 57"
46 58
47UBOOT_MAKE_TARGET = "u-boot.bin" 59UBOOT_MAKE_TARGET = \
48UBOOT_SUFFIX = "bin" 60 "${@bb.utils.contains('MACHINE_FEATURES', 'optee', '', \
61 'u-boot.bin', d)}"
62SPL_BINARY = \
63 "${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'spl/u-boot-spl.bin', \
64 '', d)}"
65
49UBOOT_CONFIG ??= "sd" 66UBOOT_CONFIG ??= "sd"
50UBOOT_CONFIG[sd] = "imx8qxp_mek_config,sdcard" 67UBOOT_CONFIG[sd] = "imx8qxp_mek_defconfig,sdcard"
51UBOOT_CONFIG[fspi] = "imx8qxp_mek_fspi_defconfig" 68UBOOT_CONFIG[fspi] = "imx8qxp_mek_fspi_defconfig"
52 69
53IMX_BOOT_SEEK = "32" 70IMX_BOOT_SEEK = "32"
@@ -55,10 +72,15 @@ IMX_BOOT_SEEK = "32"
55# Set ATF platform name 72# Set ATF platform name
56ATF_PLATFORM = "imx8qx" 73ATF_PLATFORM = "imx8qx"
57 74
75IMXBOOT_TARGETS_SD = \
76 "${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'flash_spl', \
77 'flash', d)}"
78IMXBOOT_TARGETS_FSPI = \
79 "${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'flash_spl_flexspi', \
80 'flash_flexspi', d)}"
58IMXBOOT_TARGETS = \ 81IMXBOOT_TARGETS = \
59 "${@bb.utils.contains('UBOOT_CONFIG', 'sd', 'flash', \ 82 "${@bb.utils.contains('UBOOT_CONFIG', 'sd', '${IMXBOOT_TARGETS_SD}', \
60 bb.utils.contains('UBOOT_CONFIG', 'fspi', 'flash_flexspi', \ 83 '${IMXBOOT_TARGETS_FSPI}', d)}"
61 'UNKNOWN', d), d)}"
62IMX_BOOT_SOC_TARGET = "iMX8QX" 84IMX_BOOT_SOC_TARGET = "iMX8QX"
63 85
64BOARD_TYPE = "mek" 86BOARD_TYPE = "mek"