/openbmc/linux/Documentation/devicetree/bindings/misc/ |
H A D | fsl,qoriq-mc.txt | 3 The Freescale Management Complex (fsl-mc) is a hardware resource 5 network-oriented packet processing applications. After the fsl-mc 12 For an overview of the DPAA2 architecture and fsl-mc bus see: 16 same hardware "isolation context" and a 10-bit value called an ICID 21 between ICIDs and IOMMUs, so an iommu-map property is used to define 28 For arm-smmu binding, see: 32 The msi-map property is used to associate the devices with both the ITS 36 Documentation/devicetree/bindings/interrupt-controller/msi.txt. 39 Documentation/devicetree/bindings/interrupt-controller/arm,gic-v3.yaml. 43 - compatible [all …]
|
/openbmc/linux/drivers/bus/fsl-mc/ |
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 3 # Freescale Management Complex (MC) bus drivers 7 obj-$(CONFIG_FSL_MC_BUS) += mc-bus-driver.o 9 mc-bus-driver-objs := fsl-mc-bus.o \ 10 mc-sys.o \ 11 mc-io.o \ 15 dprc-driver.o \ 16 fsl-mc-allocator.o \ 17 fsl-mc-msi.o \ 19 obj-api.o [all …]
|
H A D | fsl-mc-allocator.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * fsl-mc object allocator driver 5 * Copyright (C) 2013-2016 Freescale Semiconductor, Inc. 11 #include <linux/fsl/mc.h> 13 #include "fsl-mc-private.h" 23 * fsl_mc_resource_pool_add_device - add allocatable object to a resource 24 * pool of a given fsl-mc bus 26 * @mc_bus: pointer to the fsl-mc bus 28 * @mc_dev: pointer to allocatable fsl-mc device 39 struct fsl_mc_device *mc_bus_dev = &mc_bus->mc_dev; in fsl_mc_resource_pool_add_device() [all …]
|
H A D | fsl-mc-bus.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Freescale Management Complex (MC) bus driver 5 * Copyright (C) 2014-2016 Freescale Semiconductor, Inc. 6 * Copyright 2019-2020 NXP 11 #define pr_fmt(fmt) "fsl-mc: " fmt 21 #include <linux/dma-mapping.h> 24 #include <linux/dma-map-ops.h> 26 #include "fsl-mc-private.h" 29 * Default DMA mask for devices on a fsl-mc bus 36 * struct fsl_mc - Private data of a "fsl,qoriq-mc" platform device [all …]
|
H A D | dprc-driver.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2014-2016 Freescale Semiconductor, Inc. 6 * Copyright 2019-2020 NXP 14 #include <linux/fsl/mc.h> 16 #include "fsl-mc-private.h" 28 return mc_dev->obj_desc.id == obj_desc->id && in fsl_mc_device_match() 29 strcmp(mc_dev->obj_desc.type, obj_desc->type) == 0; in fsl_mc_device_match() 34 if (strcmp(obj->type, "dpmcp") == 0 || in fsl_mc_obj_desc_is_allocatable() 35 strcmp(obj->type, "dpcon") == 0 || in fsl_mc_obj_desc_is_allocatable() 36 strcmp(obj->type, "dpbp") == 0) in fsl_mc_obj_desc_is_allocatable() [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 3 # DPAA2 fsl-mc bus 5 # Copyright (C) 2014-2016 Freescale Semiconductor, Inc. 9 bool "QorIQ DPAA2 fsl-mc bus driver" 14 architecture. The fsl-mc bus driver handles discovery of 19 bool "Management Complex (MC) userspace support"
|
H A D | dpmcp.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright 2013-2016 Freescale Semiconductor Inc. 7 #include <linux/fsl/mc.h> 9 #include "fsl-mc-private.h" 12 * dpmcp_open() - Open a control session for the specified object. 13 * @mc_io: Pointer to MC portal's I/O object 22 * associated with the specific object ID and the specific MC 41 cmd_params->dpmcp_id = cpu_to_le32(dpmcp_id); in dpmcp_open() 43 /* send command to mc*/ in dpmcp_open() 55 * dpmcp_close() - Close the control session of the object [all …]
|
/openbmc/u-boot/drivers/net/fsl-mc/ |
H A D | mc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright 2017-2018 NXP 14 #include <fsl-mc/fsl_mc.h> 15 #include <fsl-mc/fsl_mc_sys.h> 16 #include <fsl-mc/fsl_mc_private.h> 17 #include <fsl-mc/fsl_dpmng.h> 18 #include <fsl-mc/fsl_dprc.h> 19 #include <fsl-mc/fsl_dpio.h> 20 #include <fsl-mc/fsl_dpni.h> 21 #include <fsl-mc/fsl_qbman_portal.h> [all …]
|
H A D | dpmng.c | 1 // SPDX-License-Identifier: GPL-2.0+ 2 /* Copyright 2013-2015 Freescale Semiconductor Inc. 4 #include <fsl-mc/fsl_mc_sys.h> 5 #include <fsl-mc/fsl_mc_cmd.h> 6 #include <fsl-mc/fsl_dpmng.h> 21 /* send command to mc*/ in mc_get_version()
|
H A D | dpbp.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Freescale Layerscape MC I/O wrapper 5 * Copyright 2013-2016 Freescale Semiconductor, Inc. 8 #include <fsl-mc/fsl_mc_sys.h> 9 #include <fsl-mc/fsl_mc_cmd.h> 10 #include <fsl-mc/fsl_dpbp.h> 26 /* send command to mc*/ in dpbp_open() 47 /* send command to mc*/ in dpbp_close() 67 /* send command to mc*/ in dpbp_create() 93 /* send command to mc*/ in dpbp_destroy() [all …]
|
H A D | mc_sys.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Freescale Layerscape MC I/O wrapper 5 * Copyright (C) 2013-2015 Freescale Semiconductor, Inc. 9 #include <fsl-mc/fsl_mc_sys.h> 10 #include <fsl-mc/fsl_mc_cmd.h> 19 * mc_send_command - Send MC command and wait for response 21 * @mc_io: Pointer to MC I/O object to be used 22 * @cmd: MC command buffer. On input, it contains the command to send to the MC. 23 * On output, it contains the response from the MC if any. 25 * Depending on the sharing option specified when creating the MC portal [all …]
|
H A D | dpmac.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Freescale Layerscape MC I/O wrapper 5 * Copyright 2015-2016 Freescale Semiconductor, Inc. 10 #include <fsl-mc/fsl_mc_sys.h> 11 #include <fsl-mc/fsl_mc_cmd.h> 12 #include <fsl-mc/fsl_dpmac.h> 28 /* send command to mc*/ in dpmac_open() 49 /* send command to mc*/ in dpmac_close() 68 /* send command to mc*/ in dpmac_create() 94 /* send command to mc*/ in dpmac_destroy() [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-fsl-mc | 1 What: /sys/bus/fsl-mc/drivers/.../bind 8 and is the same as found in /sys/bus/fsl-mc/devices/. 12 # echo dpni.2 > /sys/bus/fsl-mc/drivers/fsl_dpaa2_eth/bind 14 What: /sys/bus/fsl-mc/drivers/.../unbind 21 and is the same as found in /sys/bus/fsl-mc/devices/. 25 # echo dpni.2 > /sys/bus/fsl-mc/drivers/fsl_dpaa2_eth/unbind
|
/openbmc/linux/Documentation/ABI/stable/ |
H A D | sysfs-bus-fsl-mc | 1 What: /sys/bus/fsl-mc/rescan 5 Description: Writing a non-zero value to this attribute will 6 force a rescan of fsl-mc bus in the system and 7 synchronize the objects under fsl-mc bus and the 11 What: /sys/bus/fsl-mc/autorescan 17 of the fsl-mc bus is performed. A non-zero value
|
/openbmc/u-boot/drivers/net/ldpaa_eth/ |
H A D | ldpaa_eth.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Copyright 2014-2016 Freescale Semiconductor, Inc. 11 #include <fsl-mc/fsl_mc.h> 12 #include <fsl-mc/fsl_dpaa_fd.h> 13 #include <fsl-mc/fsl_dprc.h> 14 #include <fsl-mc/fsl_dpni.h> 15 #include <fsl-mc/fsl_dpbp.h> 16 #include <fsl-mc/fsl_dpio.h> 17 #include <fsl-mc/fsl_qbman_portal.h> 18 #include <fsl-mc/fsl_mc_private.h> [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/net/ |
H A D | fsl,qoriq-mc-dpmac.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/fsl,qoriq-mc-dpmac.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Ioana Ciornei <ioana.ciornei@nxp.com> 13 This binding represents the DPAA2 MAC objects found on the fsl-mc bus and 14 located under the 'dpmacs' node for the fsl-mc bus DTS node. 17 - $ref: ethernet-controller.yaml# 21 const: fsl,qoriq-mc-dpmac 27 phy-handle: true [all …]
|
/openbmc/u-boot/include/fsl-mc/ |
H A D | fsl_mc_private.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Copyright 2014-2016 Freescale Semiconductor, Inc. 18 #include <fsl-mc/fsl_mc_sys.h> 19 #include <fsl-mc/fsl_mc_cmd.h> 20 #include <fsl-mc/fsl_dprc.h> 21 #include <fsl-mc/fsl_dpbp.h> 22 #include <fsl-mc/fsl_dpni.h> 27 * struct dpbp_node - DPBP strucuture 40 * struct fsl_dpio_obj - DPIO strucuture 53 * struct dpni_node - DPNI strucuture
|
/openbmc/linux/arch/arm64/boot/dts/freescale/ |
H A D | fsl-ls208xa.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree Include file for Freescale Layerscape-2080A family SoC. 6 * Copyright 2017-2020 NXP 12 #include <dt-bindings/clock/fsl,qoriq-clockgen.h> 13 #include <dt-bindings/thermal/thermal.h> 14 #include <dt-bindings/interrupt-controller/arm-gic.h> 17 compatible = "fsl,ls2080a"; 18 interrupt-parent = <&gic>; 19 #address-cells = <2>; 20 #size-cells = <2>; [all …]
|
H A D | fsl-ls1088a.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree Include file for NXP Layerscape-1088A family SoC. 5 * Copyright 2017-2020 NXP 10 #include <dt-bindings/clock/fsl,qoriq-clockgen.h> 11 #include <dt-bindings/interrupt-controller/arm-gic.h> 12 #include <dt-bindings/thermal/thermal.h> 15 compatible = "fsl,ls1088a"; 16 interrupt-parent = <&gic>; 17 #address-cells = <2>; 18 #size-cells = <2>; [all …]
|
H A D | fsl-lx2160a.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 3 // Device Tree Include file for Layerscape-LX2160A family SoC. 5 // Copyright 2018-2020 NXP 7 #include <dt-bindings/clock/fsl,qoriq-clockgen.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include <dt-bindings/thermal/thermal.h> 15 compatible = "fsl,lx2160a"; 16 interrupt-parent = <&gic>; 17 #address-cells = <2>; [all …]
|
/openbmc/u-boot/drivers/net/fsl-mc/dpio/ |
H A D | dpio.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2013-2016 Freescale Semiconductor, Inc. 7 #include <fsl-mc/fsl_mc_sys.h> 8 #include <fsl-mc/fsl_mc_cmd.h> 9 #include <fsl-mc/fsl_dpio.h> 25 /* send command to mc*/ in dpio_open() 47 /* send command to mc*/ in dpio_close() 66 /* send command to mc*/ in dpio_create() 92 /* send command to mc*/ in dpio_destroy() 107 /* send command to mc*/ in dpio_enable() [all …]
|
/openbmc/linux/drivers/vfio/fsl-mc/ |
H A D | Kconfig | 5 tristate "VFIO support for QorIQ DPAA2 fsl-mc bus devices" 8 Driver to enable support for the VFIO QorIQ DPAA2 fsl-mc 10 fsl-mc bus devices using the VFIO framework.
|
/openbmc/u-boot/board/freescale/ls2080a/ |
H A D | ls2080a.c | 1 // SPDX-License-Identifier: GPL-2.0+ 14 #include <fsl-mc/fsl_mc.h> 25 gd->env_addr = (ulong)&default_environment[0]; in board_init() 40 print_size(gd->bd->bi_dram[0].size + gd->bd->bi_dram[1].size, ""); in detail_board_ddr_info() 43 if (soc_has_dp_ddr() && gd->bd->bi_dram[2].size) { in detail_board_ddr_info() 44 puts("\nDP-DDR "); in detail_board_ddr_info() 45 print_size(gd->bd->bi_dram[2].size, ""); in detail_board_ddr_info() 77 offset = fdt_path_offset(fdt, "/soc/fsl-mc"); in fdt_fixup_board_enet() 81 * with old DT node (/fsl-mc) is no longer needed. in fdt_fixup_board_enet() 84 offset = fdt_path_offset(fdt, "/fsl-mc"); in fdt_fixup_board_enet() [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | fsl-ls1088a.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR X11 9 compatible = "fsl,ls1088a"; 10 interrupt-parent = <&gic>; 11 #address-cells = <2>; 12 #size-cells = <2>; 17 /* DRAM space - 1, size : 2 GB DRAM */ 20 gic: interrupt-controller@6000000 { 21 compatible = "arm,gic-v3"; 24 #interrupt-cells = <3>; 25 interrupt-controller; [all …]
|
H A D | fsl-ls2080a.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR X11 5 * Copyright 2013-2015 Freescale Semiconductor, Inc. 9 compatible = "fsl,ls2080a"; 10 interrupt-parent = <&gic>; 11 #address-cells = <2>; 12 #size-cells = <2>; 17 /* DRAM space - 1, size : 2 GB DRAM */ 20 gic: interrupt-controller@6000000 { 21 compatible = "arm,gic-v3"; 24 #interrupt-cells = <3>; [all …]
|