Searched +full:dra7 +full:- +full:cpsw +full:- +full:switch (Results 1 – 8 of 8) sorted by relevance
/linux-6.12.1/Documentation/devicetree/bindings/net/ |
D | ti,cpsw-switch.yaml | 1 # 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 - Siddharth Vadapalli <s-vadapalli@ti.com> 11 - Roger Quadros <rogerq@kernel.org> 14 The 3-port switch gigabit ethernet subsystem provides ethernet packet 15 communication and can be configured as an ethernet switch. It provides the 24 - const: ti,cpsw-switch [all …]
|
D | cpsw.txt | 1 TI SoC Ethernet Switch Controller Device Tree Bindings 2 ------------------------------------------------------ 5 - compatible : Should be one of the below:- 6 "ti,cpsw" for backward compatible 7 "ti,am335x-cpsw" for AM335x controllers 8 "ti,am4372-cpsw" for AM437x controllers 9 "ti,dra7-cpsw" for DRA7x controllers 10 - reg : physical base address and size of the cpsw 12 - interrupts : property with a value describing the interrupt 14 - cpdma_channels : Specifies number of channels in CPDMA [all …]
|
/linux-6.12.1/drivers/net/ethernet/ti/ |
D | cpsw-common.c | 1 // SPDX-License-Identifier: GPL-2.0+ 9 #include "cpsw.h" 21 syscon = syscon_regmap_lookup_by_phandle(dev->of_node, "syscon"); in davinci_emac_3517_get_macid() 23 if (PTR_ERR(syscon) == -ENODEV) in davinci_emac_3517_get_macid() 48 syscon = syscon_regmap_lookup_by_phandle(dev->of_node, "syscon"); in cpsw_am33xx_cm_get_macid() 50 if (PTR_ERR(syscon) == -ENODEV) in cpsw_am33xx_cm_get_macid() 76 if (of_device_is_compatible(dev->of_node, "ti,am3517-emac")) in ti_cm_get_macid() 79 if (of_device_is_compatible(dev->of_node, "ti,dm816-emac")) in ti_cm_get_macid() 85 if (of_machine_is_compatible("ti,dra7")) in ti_cm_get_macid() 89 return -ENOENT; in ti_cm_get_macid() [all …]
|
D | cpsw_new.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Texas Instruments Ethernet Switch Driver 37 #include "cpsw.h" 53 struct cpsw_common *cpsw; member 65 static int cpsw_slave_index_priv(struct cpsw_common *cpsw, in cpsw_slave_index_priv() argument 68 if (priv->emac_port == HOST_PORT_NUM) in cpsw_slave_index_priv() 69 return -1; in cpsw_slave_index_priv() 71 return priv->emac_port - 1; in cpsw_slave_index_priv() 74 static bool cpsw_is_switch_en(struct cpsw_common *cpsw) in cpsw_is_switch_en() argument 76 return !cpsw->data.dual_emac; in cpsw_is_switch_en() [all …]
|
D | cpsw.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Texas Instruments Ethernet Switch Driver 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; \ [all …]
|
D | cpsw_ale.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Texas Instruments N-Port Ethernet Switch Address Lookup Engine 24 #define BITMASK(bits) (BIT(bits) - 1) 42 /* ALE NetCP NU switch specific Registers */ 75 * struct ale_entry_fld - The ALE tbl entry field description 94 * struct cpsw_ale_dev_id - The ALE version/SoC specific configuration 100 * @nu_switch_ale: NU Switch ALE 134 idx2 = (start + bits - 1) / 32; in cpsw_ale_get_field() 137 idx2 = 2 - idx2; /* flip */ in cpsw_ale_get_field() 138 hi_val = ale_entry[idx2] << ((idx2 * 32) - start); in cpsw_ale_get_field() [all …]
|
/linux-6.12.1/arch/arm/boot/dts/ti/omap/ |
D | dra7-l4.dtsi | 2 compatible = "ti,dra7-l4-cfg", "simple-pm-bus"; 3 power-domains = <&prm_coreaon>; 5 clock-names = "fck"; 9 reg-names = "ap", "la", "ia0"; 10 #address-cells = <1>; 11 #size-cells = <1>; 17 compatible = "simple-pm-bus"; 18 #address-cells = <1>; 19 #size-cells = <1>; 50 target-module@2000 { /* 0x4a002000, ap 3 08.0 */ [all …]
|
/linux-6.12.1/drivers/bus/ |
D | ti-sysc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * ti-sysc.c - Texas Instruments sysc interconnect target driver 8 * Copyright (C) 2017-2024 Texas Instruments Incorporated - https://www.ti.com/ 13 * Copyright (C) 2009-2011 Nokia Corporation 14 * Copyright (C) 2011-2021 Texas Instruments Incorporated - https://www.ti.com/ 35 #include <linux/platform_data/ti-sysc.h> 37 #include <dt-bindings/bus/ti-sysc.h> 107 * struct sysc - TI sysc interconnect target module registers and capabilities 113 * @mdata: ti-sysc to hwmod translation data for a module 130 * @pre_reset_quirk: module specific pre-reset quirk [all …]
|