/openbmc/u-boot/board/freescale/imx8qxp_mek/ |
H A D | README | 1 U-Boot for the NXP i.MX8QXP EVK board 6 - Build the ARM Trusted firmware binary 7 - Get scfw_tcm.bin and ahab-container.img 8 - Build U-Boot 9 - Flash the binary into the SD card 10 - Boot 15 $ git clone https://source.codeaurora.org/external/imx/imx-atf 16 $ cd imx-atf/ 17 $ git checkout origin/imx_4.9.88_imx8qxp_beta2 -b imx_4.9.88_imx8qxp_beta2 20 Get scfw_tcm.bin and ahab-container.img [all …]
|
/openbmc/u-boot/board/freescale/imx8mq_evk/ |
H A D | README | 1 U-Boot for the NXP i.MX8MQ EVK board 5 - Build the ARM Trusted firmware binary 6 - Get ddr and hdmi fimware 7 - Build U-Boot 8 - Boot 12 Note: srctree is U-Boot source directory 13 Get ATF from: https://source.codeaurora.org/external/imx/imx-atf 20 $ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-7.9.bin 21 $ chmod +x firmware-imx-7.9.bin 22 $ ./firmware-imx-7.9.bin [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/bcu/ |
H A D | bcu_1.1.100.bb | 1 SUMMARY = "NXP Board Control Utilities" 2 DESCRIPTION = "The NXP Board Control Utilities are able to control various \ 3 features of NXP i.MX evaluation boards (EVK) from a host \ 7 HOMEPAGE = "https://github.com/nxp-imx/bcu" 9 LICENSE = "BSD-3-Clause" 12 SRC_URI = "git://github.com/nxp-imx/bcu;protocol=https;branch=master \ 13 file://0001-CMakeLists-do-not-use-vendored-libcurl.patch \
|
/openbmc/linux/Documentation/devicetree/bindings/net/ |
H A D | nxp,dwmac-imx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/nxp,dwmac-imx.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NXP i.MX8/9 DWMAC glue layer 10 - Clark Wang <xiaoning.wang@nxp.com> 11 - Shawn Guo <shawnguo@kernel.org> 12 - NXP Linux Team <linux-imx@nxp.com> 20 - nxp,imx8mp-dwmac-eqos 21 - nxp,imx8dxl-dwmac-eqos [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | imx-audio-hdmi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/imx-audio-hdmi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NXP i.MX audio complex with HDMI 10 - Shengjiu Wang <shengjiu.wang@nxp.com> 15 - fsl,imx-audio-hdmi 16 - fsl,imx-audio-sii902x 22 audio-cpu: 26 hdmi-out: [all …]
|
H A D | imx-audio-card.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/imx-audio-card.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NXP i.MX audio sound card. 10 - Shengjiu Wang <shengjiu.wang@nxp.com> 13 - $ref: sound-card-common.yaml# 18 - fsl,imx-audio-card 21 ".*-dai-link$": 29 link-name: [all …]
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-imx-scu.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright 2021~2022 NXP 13 #include <linux/firmware/imx/svc/rm.h> 14 #include <dt-bindings/firmware/imx/rsrc.h> 40 if (offset >= chip->ngpio) in imx_scu_gpio_get() 41 return -EINVAL; in imx_scu_gpio_get() 43 mutex_lock(&priv->lock); in imx_scu_gpio_get() 46 err = imx_sc_misc_get_control(priv->handle, in imx_scu_gpio_get() 48 mutex_unlock(&priv->lock); in imx_scu_gpio_get() 51 dev_err(priv->dev, "SCU get failed: %d\n", err); in imx_scu_gpio_get() [all …]
|
/openbmc/linux/drivers/thermal/ |
H A D | imx_sc_thermal.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2018-2020 NXP. 6 #include <dt-bindings/firmware/imx/rsrc.h> 8 #include <linux/firmware/imx/sci.h> 51 msg.data.req.resource_id = sensor->resource_id; in imx_sc_thermal_get_temp() 54 hdr->ver = IMX_SC_RPC_VERSION; in imx_sc_thermal_get_temp() 55 hdr->svc = IMX_SC_RPC_SVC_MISC; in imx_sc_thermal_get_temp() 56 hdr->func = IMX_SC_MISC_FUNC_GET_TEMP; in imx_sc_thermal_get_temp() 57 hdr->size = 2; in imx_sc_thermal_get_temp() 82 resource_id = of_device_get_match_data(&pdev->dev); in imx_sc_thermal_probe() [all …]
|
/openbmc/linux/drivers/firmware/imx/ |
H A D | imx-dsp.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2019 NXP 4 * Author: Daniel Baluta <daniel.baluta@nxp.com> 9 #include <linux/firmware/imx/dsp.h> 17 * imx_dsp_ring_doorbell - triggers an interrupt on the other side (DSP) 22 * Returns non-negative value for success, negative value for error 30 return -EINVAL; in imx_dsp_ring_doorbell() 32 dsp_chan = &ipc->chans[idx]; in imx_dsp_ring_doorbell() 33 ret = mbox_send_message(dsp_chan->ch, NULL); in imx_dsp_ring_doorbell() 42 * imx_dsp_handle_rx - rx callback used by imx mailbox [all …]
|
H A D | imx-scu.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2018 NXP 4 * Author: Dong Aisheng <aisheng.dong@nxp.com> 11 #include <linux/firmware/imx/ipc.h> 12 #include <linux/firmware/imx/sci.h> 70 -EINVAL, /* IMX_SC_ERR_VERSION */ 71 -EINVAL, /* IMX_SC_ERR_CONFIG */ 72 -EINVAL, /* IMX_SC_ERR_PARM */ 73 -EACCES, /* IMX_SC_ERR_NOACCESS */ 74 -EACCES, /* IMX_SC_ERR_LOCKED */ [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/interrupt-controller/ |
H A D | fsl,intmux.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/interrupt-controller/fsl,intmux.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Shawn Guo <shawnguo@kernel.org> 11 - NXP Linux Team <linux-imx@nxp.com> 15 const: fsl,imx-intmux 27 interrupt-controller: true 29 '#interrupt-cells': 37 clock-names: [all …]
|
/openbmc/u-boot/arch/arm/ |
H A D | Kconfig | 14 bool "Generate position-independent pre-relocation code" 16 U-Boot expects to be linked to a specific hard-coded address, and to 20 information that is embedded into the binary to support U-Boot 21 relocating itself to the top-of-RAM later during execution. 28 U-Boot typically uses a hard-coded value for the stack pointer 30 initial SP at run-time. This is useful to avoid hard-coding addresses 31 into U-Boot, so that can be loaded and executed at arbitrary 41 Place a Linux kernel image header at the start of the U-Boot binary. 45 U-Boot needs to use, but which isn't part of the binary. 74 Do not enable instruction cache in U-Boot [all …]
|
/openbmc/linux/drivers/rtc/ |
H A D | rtc-imx-sc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2018 NXP. 6 #include <dt-bindings/firmware/imx/rsrc.h> 7 #include <linux/arm-smccc.h> 8 #include <linux/firmware/imx/sci.h> 48 hdr->ver = IMX_SC_RPC_VERSION; in imx_sc_rtc_read_time() 49 hdr->svc = IMX_SC_RPC_SVC_TIMER; in imx_sc_rtc_read_time() 50 hdr->func = IMX_SC_TIMER_FUNC_GET_RTC_SEC1970; in imx_sc_rtc_read_time() 51 hdr->size = 1; in imx_sc_rtc_read_time() 70 ((tm->tm_year + 1900) << 16) | (tm->tm_mon + 1), in imx_sc_rtc_set_time() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/usb/ |
H A D | fsl,imx8qm-cdns3.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 # Copyright (c) 2020 NXP 4 --- 5 $id: http://devicetree.org/schemas/usb/fsl,imx8qm-cdns3.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: NXP iMX8QM Soc USB Controller 11 - Frank Li <Frank.Li@nxp.com> 15 const: fsl,imx8qm-usb3 19 - description: Register set for iMX USB3 Platform Control 21 "#address-cells": [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/firmware/ |
H A D | fsl,scu.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NXP i.MX System Controller Firmware (SCFW) 10 - Dong Aisheng <aisheng.dong@nxp.com> 13 The System Controller Firmware (SCFW) is a low-level system function 14 which runs on a dedicated Cortex-M core to provide power, clock, and 17 The AP communicates with the SC using a multi-ported MU module found 26 const: fsl,imx-scu 28 clock-controller: [all …]
|
/openbmc/linux/drivers/media/platform/nxp/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 5 comment "NXP media platform drivers" 8 tristate "NXP CSI Bridge driver" 17 Driver for the NXP Camera Sensor Interface (CSI) Bridge. This device 21 tristate "NXP i.MX8MQ MIPI CSI-2 receiver" 28 Video4Linux2 driver for the MIPI CSI-2 receiver found on the i.MX8MQ 32 tristate "NXP MIPI CSI-2 CSIS receiver found on i.MX7 and i.MX8 models" 39 Video4Linux2 sub-device driver for the MIPI CSI-2 CSIS receiver 42 source "drivers/media/platform/nxp/imx8-isi/Kconfig" 47 tristate "NXP i.MX Pixel Pipeline (PXP)" [all …]
|
/openbmc/linux/drivers/input/keyboard/ |
H A D | imx_sc_key.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright 2019 NXP. 8 #include <linux/firmware/imx/sci.h> 50 schedule_delayed_work(&priv->check_work, in imx_sc_key_notify() 52 pm_wakeup_event(priv->input->dev.parent, 0); in imx_sc_key_notify() 64 struct input_dev *input = priv->input; in imx_sc_check_for_events() 70 hdr->ver = IMX_SC_RPC_VERSION; in imx_sc_check_for_events() 71 hdr->svc = IMX_SC_RPC_SVC_MISC; in imx_sc_check_for_events() 72 hdr->func = IMX_SC_MISC_FUNC_GET_BUTTON_STATUS; in imx_sc_check_for_events() 73 hdr->size = 1; in imx_sc_check_for_events() [all …]
|
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwmac-imx.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * dwmac-imx.c - DWMAC Specific Glue layer for NXP imx8 5 * Copyright 2020 NXP 70 struct imx_priv_data *dwmac = plat_dat->bsp_priv; in imx8mp_set_intf_mode() 73 switch (plat_dat->mac_interface) { in imx8mp_set_intf_mode() 79 val |= (dwmac->rmii_refclk_ext ? 0 : GPR_ENET_QOS_CLK_TX_CLK_SEL); in imx8mp_set_intf_mode() 89 pr_debug("imx dwmac doesn't support %d interface\n", in imx8mp_set_intf_mode() 90 plat_dat->mac_interface); in imx8mp_set_intf_mode() 91 return -EINVAL; in imx8mp_set_intf_mode() 95 return regmap_update_bits(dwmac->intf_regmap, dwmac->intf_reg_off, in imx8mp_set_intf_mode() [all …]
|
/openbmc/linux/include/linux/firmware/imx/ |
H A D | sci.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 4 * Copyright 2017~2018 NXP 13 #include <linux/firmware/imx/ipc.h> 15 #include <linux/firmware/imx/svc/misc.h> 16 #include <linux/firmware/imx/svc/pm.h> 17 #include <linux/firmware/imx/svc/rm.h> 29 return -EOPNOTSUPP; in imx_scu_soc_init() 34 return -EOPNOTSUPP; in imx_scu_enable_general_irq_channel() 39 return -EOPNOTSUPP; in imx_scu_irq_register_notifier() 44 return -EOPNOTSUPP; in imx_scu_irq_unregister_notifier() [all …]
|
/openbmc/linux/drivers/watchdog/ |
H A D | imx_sc_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright 2018-2019 NXP. 6 #include <linux/arm-smccc.h> 7 #include <linux/firmware/imx/sci.h> 65 return -EACCES; in imx_sc_wdt_start() 70 return res.a0 ? -EACCES : 0; in imx_sc_wdt_start() 80 return res.a0 ? -EACCES : 0; in imx_sc_wdt_stop() 88 wdog->timeout = timeout; in imx_sc_wdt_set_timeout() 92 return res.a0 ? -EACCES : 0; in imx_sc_wdt_set_timeout() 106 (wdog->timeout - pretimeout) * 1000, 0, 0, 0, in imx_sc_wdt_set_pretimeout() [all …]
|
/openbmc/linux/sound/soc/fsl/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 14 This option is only useful for out-of-tree drivers since 15 in-tree drivers select it automatically. 26 This option is only useful for out-of-tree drivers since 27 in-tree drivers select it automatically. 36 This option is only useful for out-of-tree drivers since 37 in-tree drivers select it automatically. 44 support for the NXP iMX CPUs. 54 This option is only useful for out-of-tree drivers since 55 in-tree drivers select it automatically. [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/watchdog/ |
H A D | fsl,scu-wdt.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/watchdog/fsl,scu-wdt.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: i.MX SCU Client Device Node - Watchdog Based on SCU Message Protocol 10 - Dong Aisheng <aisheng.dong@nxp.com> 13 Client nodes are maintained as children of the relevant IMX-SCU device node. 16 - $ref: watchdog.yaml# 21 - const: fsl,imx8qxp-sc-wdt 22 - const: fsl,imx-sc-wdt [all …]
|
/openbmc/linux/drivers/pinctrl/freescale/ |
H A D | pinctrl-scu.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Copyright 2017-2018 NXP 5 * Dong Aisheng <aisheng.dong@nxp.com> 9 #include <linux/firmware/imx/sci.h> 16 #include "pinctrl-imx.h" 68 hdr->ver = IMX_SC_RPC_VERSION; in imx_pinconf_get_scu() 69 hdr->svc = IMX_SC_RPC_SVC_PAD; in imx_pinconf_get_scu() 70 hdr->func = IMX_SC_PAD_FUNC_GET; in imx_pinconf_get_scu() 71 hdr->size = 2; in imx_pinconf_get_scu() 80 *config = resp->val; in imx_pinconf_get_scu() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/thermal/ |
H A D | fsl,scu-thermal.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/thermal/fsl,scu-thermal.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: i.MX SCU Client Device Node - Thermal Based on SCU Message Protocol 10 - Dong Aisheng <aisheng.dong@nxp.com> 13 Client nodes are maintained as children of the relevant IMX-SCU device node. 16 - $ref: thermal-sensor.yaml# 21 - const: fsl,imx8qxp-sc-thermal 22 - const: fsl,imx-sc-thermal [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/input/ |
H A D | fsl,scu-key.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/input/fsl,scu-key.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: i.MX SCU Client Device Node - SCU Key Based on SCU Message Protocol 10 - Dong Aisheng <aisheng.dong@nxp.com> 13 Client nodes are maintained as children of the relevant IMX-SCU device node. 16 - $ref: input.yaml# 21 - const: fsl,imx8qxp-sc-key 22 - const: fsl,imx-sc-key [all …]
|