Home
last modified time | relevance | path

Searched +full:am65 +full:- +full:cpts (Results 1 – 15 of 15) sorted by relevance

/Linux-v6.1/drivers/net/ethernet/ti/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
83 tristate "TI Common Platform Time Sync (CPTS) Support"
103 The two-port Gigabit Ethernet MAC (MCU_CPSW0) subsystem provides
109 will be called ti-am65-cpsw-nuss.
117 Switch. Enable this driver to support hardware switch support for AM65
121 tristate "TI K3 AM65x CPTS"
125 Say y here to support the TI K3 AM65x CPTS with 1588 features such as
126 PTP hardware clock for each CPTS device and network packets
128 Depending on integration CPTS blocks enable compliance with
129 the IEEE 1588-2008 standard for a precision clock synchronization
[all …]
DMakefile1 # SPDX-License-Identifier: GPL-2.0
6 obj-$(CONFIG_TI_CPSW) += cpsw-common.o
7 obj-$(CONFIG_TI_DAVINCI_EMAC) += cpsw-common.o
8 obj-$(CONFIG_TI_CPSW_SWITCHDEV) += cpsw-common.o
10 obj-$(CONFIG_TLAN) += tlan.o
11 obj-$(CONFIG_CPMAC) += cpmac.o
12 obj-$(CONFIG_TI_DAVINCI_EMAC) += ti_davinci_emac.o
13 ti_davinci_emac-y := davinci_emac.o davinci_cpdma.o
14 obj-$(CONFIG_TI_DAVINCI_MDIO) += davinci_mdio.o
15 obj-$(CONFIG_TI_CPSW_PHY_SEL) += cpsw-phy-sel.o
[all …]
Dam65-cpts.h1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /* TI K3 AM65 CPTS driver interface
4 * Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com
23 int am65_cpts_phc_index(struct am65_cpts *cpts);
24 void am65_cpts_tx_timestamp(struct am65_cpts *cpts, struct sk_buff *skb);
25 void am65_cpts_prep_tx_timestamp(struct am65_cpts *cpts, struct sk_buff *skb);
26 void am65_cpts_rx_enable(struct am65_cpts *cpts, bool en);
27 u64 am65_cpts_ns_gettime(struct am65_cpts *cpts);
28 int am65_cpts_estf_enable(struct am65_cpts *cpts, int idx,
30 void am65_cpts_estf_disable(struct am65_cpts *cpts, int idx);
[all …]
Dam65-cpts.c1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com
9 #include <linux/clk-provider.h>
23 #include "am65-cpts.h"
186 #define am65_cpts_write32(c, v, r) writel(v, &(c)->reg->r)
187 #define am65_cpts_read32(c, r) readl(&(c)->reg->r)
189 static void am65_cpts_settime(struct am65_cpts *cpts, u64 start_tstamp) in am65_cpts_settime() argument
194 am65_cpts_write32(cpts, val, ts_load_val_hi); in am65_cpts_settime()
196 am65_cpts_write32(cpts, val, ts_load_val_lo); in am65_cpts_settime()
198 am65_cpts_write32(cpts, AM65_CPTS_TS_LOAD_EN, ts_load_en); in am65_cpts_settime()
[all …]
Dam65-cpsw-qos.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Texas Instruments K3 AM65 Ethernet QoS submodule
3 * Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com/
6 * Enhanced Scheduler Traffic (EST - P802.1Qbv/D2.2)
13 #include "am65-cpsw-nuss.h"
14 #include "am65-cpsw-qos.h"
15 #include "am65-cpts.h"
60 return port->qos.est_oper || port->qos.est_admin; in am65_cpsw_port_est_enabled()
67 val = readl(common->cpsw_base + AM65_CPSW_REG_CTL); in am65_cpsw_est_enable()
74 writel(val, common->cpsw_base + AM65_CPSW_REG_CTL); in am65_cpsw_est_enable()
[all …]
Dam65-cpsw-nuss.h1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com/
15 #include <linux/soc/ti/k3-ringacc.h>
17 #include "am65-cpsw-qos.h"
72 spinlock_t lock; /* protect TX rings in multi-port mode */
138 struct am65_cpts *cpts; member
167 #define am65_ndev_to_port(ndev) (am65_ndev_to_priv(ndev)->port)
168 #define am65_ndev_to_common(ndev) (am65_ndev_to_port(ndev)->common)
169 #define am65_ndev_to_slave(ndev) (&am65_ndev_to_port(ndev)->slave)
171 #define am65_common_get_host(common) (&(common)->host)
[all …]
Dam65-cpsw-nuss.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Texas Instruments K3 AM65 Ethernet Switch SubSystem Driver
4 * Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com/
29 #include <linux/dma/ti-cppi5.h>
30 #include <linux/dma/k3-udma-glue.h>
35 #include "am65-cpsw-nuss.h"
36 #include "am65-cpsw-switchdev.h"
37 #include "k3-cppi-desc-pool.h"
38 #include "am65-cpts.h"
113 /* The PTP event messages - Sync, Delay_Req, Pdelay_Req, and Pdelay_Resp. */
[all …]
Dam65-cpsw-ethtool.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Texas Instruments K3 AM65 Ethernet Switch SubSystem Driver ethtool ops
4 * Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com/
13 #include "am65-cpsw-nuss.h"
15 #include "am65-cpts.h"
33 * struct am65_cpsw_regdump_hdr - regdump record header
45 * struct am65_cpsw_regdump_item - regdump module description
64 .hdr.len = (end + 4 - start) * 2 + \
375 "p0-rx-ptype-rrobin",
383 ret = pm_runtime_resume_and_get(common->dev); in am65_cpsw_ethtool_op_begin()
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/net/
Dti,k3-am654-cpts.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/net/ti,k3-am654-cpts.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: The TI AM654x/J721E Common Platform Time Sync (CPTS) module
10 - Grygorii Strashko <grygorii.strashko@ti.com>
11 - Sekhar Nori <nsekhar@ti.com>
14 The TI AM654x/J721E CPTS module is used to facilitate host control of time
16 Main features of CPTS module are
17 - selection of multiple external clock sources
[all …]
Dti,k3-am654-cpsw-nuss.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/net/ti,k3-am654-cpsw-nuss.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Grygorii Strashko <grygorii.strashko@ti.com>
11 - Sekhar Nori <nsekhar@ti.com>
22 Complex (UDMA-P) controller.
40 new version of Common Platform Time Sync (CPTS)
52 "#address-cells": true
53 "#size-cells": true
[all …]
/Linux-v6.1/arch/arm64/boot/dts/ti/
Dk3-j721s2-mcu-wakeup.dtsi1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2021 Texas Instruments Incorporated - https://www.ti.com/
9 sms: system-controller@44083000 {
10 compatible = "ti,k2g-sci";
11 ti,host-id = <12>;
13 mbox-names = "rx", "tx";
18 reg-names = "debug_messages";
21 k3_pds: power-controller {
22 compatible = "ti,sci-pm-domain";
23 #power-domain-cells = <2>;
[all …]
Dk3-am65-mcu.dtsi1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2016-2020 Texas Instruments Incorporated - https://www.ti.com/
9 mcu_conf: scm-conf@40f00000 {
10 compatible = "syscon", "simple-mfd";
12 #address-cells = <1>;
13 #size-cells = <1>;
17 compatible = "ti,am654-phy-gmii-sel";
19 #phy-cells = <1>;
24 compatible = "ti,am654-uart";
27 clock-frequency = <96000000>;
[all …]
Dk3-j7200-mcu-wakeup.dtsi1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2020-2021 Texas Instruments Incorporated - https://www.ti.com/
9 dmsc: system-controller@44083000 {
10 compatible = "ti,k2g-sci";
11 ti,host-id = <12>;
13 mbox-names = "rx", "tx";
18 reg-names = "debug_messages";
21 k3_pds: power-controller {
22 compatible = "ti,sci-pm-domain";
23 #power-domain-cells = <2>;
[all …]
Dk3-j721e-mcu-wakeup.dtsi1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2016-2020 Texas Instruments Incorporated - https://www.ti.com/
9 dmsc: system-controller@44083000 {
10 compatible = "ti,k2g-sci";
11 ti,host-id = <12>;
13 mbox-names = "rx", "tx";
18 reg-names = "debug_messages";
21 k3_pds: power-controller {
22 compatible = "ti,sci-pm-domain";
23 #power-domain-cells = <2>;
[all …]
Dk3-am65-main.dtsi1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2016-2018 Texas Instruments Incorporated - https://www.ti.com/
7 #include <dt-bindings/phy/phy-am654-serdes.h>
11 compatible = "mmio-sram";
13 #address-cells = <1>;
14 #size-cells = <1>;
17 atf-sram@0 {
21 sysfw-sram@f0000 {
25 l3cache-sram@100000 {
30 gic500: interrupt-controller@1800000 {
[all …]