Home
last modified time | relevance | path

Searched +full:cpsw +full:- +full:mdio (Results 1 – 25 of 60) sorted by relevance

123

/openbmc/linux/Documentation/devicetree/bindings/net/
H A Dti,cpsw-switch.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/net/ti,cpsw-switch.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: TI SoC Ethernet Switch Controller (CPSW)
10 - Grygorii Strashko <grygorii.strashko@ti.com>
11 - Sekhar Nori <nsekhar@ti.com>
14 The 3-port switch gigabit ethernet subsystem provides ethernet packet
18 the management data input output (MDIO) for physical layer device (PHY)
24 - const: ti,cpsw-switch
[all …]
H A 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.
38 Management Data Input/Output (MDIO) interface for PHYs management
52 "#address-cells": true
53 "#size-cells": true
[all …]
H A Dti,davinci-mdio.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/net/ti,davinci-mdio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: TI SoC Davinci/Keystone2 MDIO Controller
10 - Grygorii Strashko <grygorii.strashko@ti.com>
13 TI SoC Davinci/Keystone2 MDIO Controller
16 - $ref: mdio.yaml#
21 - const: ti,davinci_mdio
22 - items:
[all …]
/openbmc/linux/drivers/net/ethernet/ti/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
33 tristate "TI DaVinci MDIO Support"
38 This driver supports TI's DaVinci MDIO module.
44 bool "TI CPSW Phy mode Selection (DEPRECATED)"
48 the CPSW. DEPRECATED: use PHY_TI_GMII_SEL.
51 tristate "TI CPSW Switch Support"
60 This driver supports TI's CPSW Ethernet Switch.
63 will be called cpsw.
66 tristate "TI CPSW Switch Support with switchdev"
77 This driver supports TI's CPSW Ethernet Switch.
[all …]
H A Dcpsw.c1 // SPDX-License-Identifier: GPL-2.0
41 #include "cpsw.h"
52 MODULE_PARM_DESC(debug_level, "cpsw debug level (NETIF_MSG bits)");
56 MODULE_PARM_DESC(ale_ageout, "cpsw ale ageout interval (seconds)");
69 struct cpsw_common *cpsw = (priv)->cpsw; \
71 if (cpsw->data.dual_emac) \
72 (func)((cpsw)->slaves + priv->emac_port, ##arg);\
74 for (n = cpsw->data.slaves, \
75 slave = cpsw->slaves; \
76 n; n--) \
[all …]
H A Dam65-cpsw-nuss.c1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com/
31 #include <linux/dma/ti-cppi5.h>
32 #include <linux/dma/k3-udma-glue.h>
37 #include "am65-cpsw-nuss.h"
38 #include "am65-cpsw-switchdev.h"
39 #include "k3-cppi-desc-pool.h"
40 #include "am65-cpts.h"
117 /* The PTP event messages - Sync, Delay_Req, Pdelay_Req, and Pdelay_Resp. */
146 writel(mac_hi, slave->port_base + AM65_CPSW_PORTN_REG_SA_H); in am65_cpsw_port_set_sl_mac()
[all …]
/openbmc/linux/arch/arm/boot/dts/ti/omap/
H A Dam335x-chiliboard.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2015 Jablotron s.r.o. -- https://www.jablotron.com/
6 /dts-v1/;
7 #include "am335x-chilisom.dtsi"
11 compatible = "grinn,am335x-chiliboard", "grinn,am335x-chilisom",
15 stdout-path = &uart0;
19 compatible = "gpio-leds";
20 pinctrl-names = "default";
21 pinctrl-0 = <&led_gpio_pins>;
26 default-state = "keep";
[all …]
H A Dam335x-icev2.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2016 Texas Instruments Incorporated - https://www.ti.com/
11 /dts-v1/;
16 model = "TI AM3359 ICE-V2";
17 compatible = "ti,am3359-icev2", "ti,am33xx";
25 stdout-path = &uart3;
29 compatible = "regulator-fixed";
30 regulator-name = "vbat";
31 regulator-min-microvolt = <5000000>;
32 regulator-max-microvolt = <5000000>;
[all …]
H A Dam335x-lxm.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2014 NovaTech LLC - https://www.novatechweb.com
5 /dts-v1/;
11 compatible = "novatech,am335x-lxm", "ti,am33xx";
15 cpu0-supply = <&vdd1_reg>;
26 compatible = "regulator-fixed";
27 regulator-name = "vbat";
28 regulator-min-microvolt = <5000000>;
29 regulator-max-microvolt = <5000000>;
30 regulator-boot-on;
[all …]
H A Dam335x-bone-common.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/
9 cpu0-supply = <&dcdc2_reg>;
19 stdout-path = &uart0;
23 pinctrl-names = "default";
24 pinctrl-0 = <&user_leds_s0>;
26 compatible = "gpio-leds";
31 linux,default-trigger = "heartbeat";
32 default-state = "off";
38 linux,default-trigger = "mmc0";
[all …]
H A Dam335x-baltos.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/
12 #include <dt-bindings/pwm/pwm.h>
13 #include <dt-bindings/interrupt-controller/irq.h>
20 cpu0-supply = <&vdd1_reg>;
30 compatible = "regulator-fixed";
31 regulator-name = "vbat";
32 regulator-min-microvolt = <5000000>;
33 regulator-max-microvolt = <5000000>;
34 regulator-boot-on;
[all …]
H A Dam335x-osd3358-sm-red.dts1 //SPDX-License-Identifier: GPL-2.0
2 /* Copyright (C) 2018 Octavo Systems LLC - https://www.octavosystems.com/
9 /dts-v1/;
12 #include "am335x-osd335x-common.dtsi"
13 #include <dt-bindings/interrupt-controller/irq.h>
15 #include <dt-bindings/display/tda998x.h>
18 model = "Octavo Systems OSD3358-SM-RED";
19 compatible = "oct,osd3358-sm-refdesign", "ti,am335x-bone-black", "ti,am335x-bone", "ti,am33xx";
23 regulator-min-microvolt = <1800000>;
24 regulator-max-microvolt = <1800000>;
[all …]
H A Dam437x-idk-evm.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2014 Texas Instruments Incorporated - https://www.ti.com/
6 /dts-v1/;
9 #include <dt-bindings/pinctrl/am43xx.h>
10 #include <dt-bindings/pwm/pwm.h>
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/input/input.h>
16 compatible = "ti,am437x-idk-evm","ti,am4372","ti,am43";
19 stdout-path = &uart0;
22 v24_0d: fixed-regulator-v24_0d {
[all …]
H A Dam335x-cm-t335.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * am335x-cm-t335.dts - Device Tree file for Compulab CM-T335
5 * Copyright (C) 2014 - 2015 CompuLab Ltd. - http://www.compulab.co.il/
8 /dts-v1/;
11 #include <dt-bindings/interrupt-controller/irq.h>
14 model = "CompuLab CM-T335";
15 compatible = "compulab,cm-t335", "ti,am33xx";
23 compatible = "gpio-leds";
24 pinctrl-names = "default";
25 pinctrl-0 = <&gpio_led_pins>;
[all …]
H A Dam335x-shc.dts1 // SPDX-License-Identifier: GPL-2.0
8 /dts-v1/;
11 #include <dt-bindings/input/input.h>
15 compatible = "ti,am335x-shc", "ti,am335x-bone", "ti,am33xx";
29 operating-points = <
34 voltage-tolerance = <2>; /* 2 percentage */
35 cpu0-supply = <&dcdc2_reg>;
39 gpio-keys {
40 compatible = "gpio-keys";
42 back-button {
[all …]
H A Dam335x-evmsk.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/
11 /dts-v1/;
14 #include <dt-bindings/pwm/pwm.h>
15 #include <dt-bindings/interrupt-controller/irq.h>
18 model = "TI AM335x EVM-SK";
19 compatible = "ti,am335x-evmsk", "ti,am33xx";
23 cpu0-supply = <&vdd1_reg>;
33 stdout-path = &uart0;
37 compatible = "regulator-fixed";
[all …]
H A Dam335x-sl50.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2015 Toby Churchill - http://www.toby-churchill.com/
5 /dts-v1/;
8 #include <dt-bindings/pwm/pwm.h>
9 #include <dt-bindings/interrupt-controller/irq.h>
13 compatible = "tcl,am335x-sl50", "ti,am33xx";
17 cpu0-supply = <&dcdc2_reg>;
27 stdout-path = &uart0;
31 compatible = "gpio-leds";
32 pinctrl-names = "default";
[all …]
H A Dam57xx-cl-som-am57x.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Support for CompuLab CL-SOM-AM57x System-on-Module
5 * Copyright (C) 2015 CompuLab Ltd. - http://www.compulab.co.il/
9 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/interrupt-controller/irq.h>
16 model = "CompuLab CL-SOM-AM57x";
17 compatible = "compulab,cl-som-am57x", "ti,am5728", "ti,dra742", "ti,dra74", "ti,dra7";
21 reg = <0x0 0x80000000 0x0 0x20000000>; /* 512 MB - minimal configuration */
25 compatible = "gpio-leds";
[all …]
/openbmc/u-boot/drivers/net/ti/
H A Dcpsw_mdio.h1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * CPSW MDIO generic driver API for TI AMxx/K2x/EMAC devices.
5 * Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com/
H A Dcpsw_mdio.c1 // SPDX-License-Identifier: GPL-2.0+
3 * CPSW MDIO generic driver for TI AMxx/K2x/EMAC devices.
5 * Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com/
51 * This timeout definition is a worst-case ultra defensive measure against
64 static int cpsw_mdio_wait_for_user_access(struct cpsw_mdio *mdio) in cpsw_mdio_wait_for_user_access() argument
66 return wait_for_bit_le32(&mdio->regs->user[0].access, in cpsw_mdio_wait_for_user_access()
74 struct cpsw_mdio *mdio = bus->priv; in cpsw_mdio_read() local
79 return -EINVAL; in cpsw_mdio_read()
81 ret = cpsw_mdio_wait_for_user_access(mdio); in cpsw_mdio_read()
87 writel(reg, &mdio->regs->user[0].access); in cpsw_mdio_read()
[all …]
H A Dkeystone_net.c1 // SPDX-License-Identifier: GPL-2.0+
5 * (C) Copyright 2012-2014
20 #include <asm/ti-common/keystone_nav.h>
21 #include <asm/ti-common/keystone_net.h>
22 #include <asm/ti-common/keystone_serdes.h>
64 /* CPSW Switch slave registers */
75 /* CPSW Switch slave registers */
108 * Check if link detected is giga-bit in keystone2_eth_gigabit_enable()
111 if (priv->has_mdio) { in keystone2_eth_gigabit_enable()
112 if (priv->phydev->speed != 1000) in keystone2_eth_gigabit_enable()
[all …]
H A Dcpsw.c1 // SPDX-License-Identifier: GPL-2.0+
3 * CPSW Ethernet Switch Driver
5 * Copyright (C) 2010-2018 Texas Instruments Incorporated - http://www.ti.com/
15 #include <cpsw.h>
28 #define BITMASK(bits) (BIT(bits) - 1)
75 * This timeout definition is a worst-case ultra defensive measure against
163 /* ALE unicast entry flags - passed into cpsw_ale_add_ucast() */
203 #define desc_write(desc, fld, val) __raw_writel((u32)(val), &(desc)->fld)
204 #define desc_read(desc, fld) __raw_readl(&(desc)->fld)
205 #define desc_read_ptr(desc, fld) ((void *)__raw_readl(&(desc)->fld))
[all …]
/openbmc/u-boot/arch/arm/include/asm/ti-common/
H A Dkeystone_net.h1 /* SPDX-License-Identifier: GPL-2.0+ */
5 * (C) Copyright 2012-2014
51 /* MDIO module input frequency */
57 /* MDIO clock output frequency */
95 #define GMACSL_RET_INVALID_PORT -1
96 #define GMACSL_RET_WARN_RESET_INCOMPLETE -2
97 #define GMACSL_RET_WARN_MAXLEN_TOO_BIG -3
98 #define GMACSL_RET_CONFIG_FAIL_RESET_ACTIVE -4
108 /* CPSW */
118 #define DEVICE_N_GMACSL_PORTS (DEVICE_CPSW_NUM_PORTS - 1)
[all …]
/openbmc/linux/arch/arm64/boot/dts/ti/
H A Dk3-j721s2-evm-gesi-exp-board.dtso1 // SPDX-License-Identifier: GPL-2.0
7 * Copyright (C) 2023 Texas Instruments Incorporated - https://www.ti.com/
10 /dts-v1/;
13 #include <dt-bindings/gpio/gpio.h>
14 #include <dt-bindings/net/ti-dp83867.h>
16 #include "k3-pinctrl.h"
20 ethernet1 = "/bus@100000/ethernet@c200000/ethernet-ports/port@1";
25 main_cpsw_mdio_default_pins: main-cpsw-mdio-default-pins {
26 pinctrl-single,pins = <
32 rgmii1_default_pins: rgmii1-default-pins {
[all …]
H A Dk3-am64-phycore-som.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2021 PHYTEC America, LLC - https://www.phytec.com
10 * https://www.phytec.com/product/phycore-am64x
13 #include <dt-bindings/gpio/gpio.h>
14 #include <dt-bindings/leds/common.h>
15 #include <dt-bindings/net/ti-dp83867.h>
18 model = "PHYTEC phyCORE-AM64x";
19 compatible = "phytec,am64-phycore-som", "ti,am642";
32 reserved-memory {
33 #address-cells = <2>;
[all …]

123