Home
last modified time | relevance | path

Searched +full:ls1028a +full:- +full:enetc +full:- +full:ierb (Results 1 – 4 of 4) sorted by relevance

/linux/Documentation/devicetree/bindings/net/
H A Dfsl,enetc-ierb.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/net/fsl,enetc-ierb.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 which preconfigures the FIFO limits for the ENETC ports.
14 - Frank Li <Frank.Li@nxp.com>
15 - Vladimir Oltean <vladimir.oltean@nxp.com>
16 - Wei Fang <wei.fang@nxp.com>
17 - Claudiu Manoil <claudiu.manoil@nxp.com>
22 - fsl,ls1028a-enetc-ierb
[all …]
/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc_ierb.c1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
4 * The Integrated Endpoint Register Block (IERB) is configured by pre-boot
5 * software and is supposed to be to ENETC what a NVRAM is to a 'real' PCIe
6 * card. Upon FLR, values from the IERB are transferred to the ENETC PFs, and
7 * are read-only in the PF memory space.
9 * This driver fixes up the power-on reset values for the ENETC shared FIFO,
25 #include "enetc.h"
28 /* IERB registers */
42 static void enetc_ierb_write(struct enetc_ierb *ierb, u32 offset, u32 val) in enetc_ierb_write() argument
44 iowrite32(val, ierb->regs + offset); in enetc_ierb_write()
[all …]
H A Denetc_pf.c1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
2 /* Copyright 2017-2019 NXP */
9 #include <linux/pcs-lynx.h>
13 #define ENETC_DRV_NAME_STR "ENETC PF driver"
17 u32 upper = __raw_readl(hw->port + ENETC_PSIPMAR0(si)); in enetc_pf_get_primary_mac_addr()
18 u16 lower = __raw_readw(hw->port + ENETC_PSIPMAR1(si)); in enetc_pf_get_primary_mac_addr()
30 __raw_writel(upper, hw->port + ENETC_PSIPMAR0(si)); in enetc_pf_set_primary_mac_addr()
31 __raw_writew(lower, hw->port + ENETC_PSIPMAR1(si)); in enetc_pf_set_primary_mac_addr()
55 pf->vlan_promisc_simap |= BIT(si_idx); in enetc_enable_si_vlan_promisc()
56 enetc_set_vlan_promisc(&pf->si->hw, pf->vlan_promisc_simap); in enetc_enable_si_vlan_promisc()
[all …]
/linux/arch/arm64/boot/dts/freescale/
H A Dfsl-ls1028a.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Device Tree Include file for NXP Layerscape-1028A family SoC.
5 * Copyright 2018-2020 NXP
11 #include <dt-bindings/clock/fsl,qoriq-clockgen.h>
12 #include <dt-bindings/interrupt-controller/arm-gic.h>
13 #include <dt-bindings/thermal/thermal.h>
16 compatible = "fsl,ls1028a";
17 interrupt-parent = <&gic>;
18 #address-cells = <2>;
19 #size-cells = <2>;
[all …]