Home
last modified time | relevance | path

Searched full:pru (Results 1 – 25 of 33) sorted by relevance

12

/linux/Documentation/devicetree/bindings/remoteproc/
H A Dti,pru-rproc.yaml4 $id: http://devicetree.org/schemas/remoteproc/ti,pru-rproc.yaml#
7 title: TI Programmable Realtime Unit (PRU) cores
14 (PRU-ICSS or PRUSS) has two 32-bit load/store RISC CPU cores called
15 Programmable Real-Time Units (PRUs), each represented by a node. Each PRU
17 use the Data RAMs present within the PRU-ICSS for code execution.
20 PRU cores called RTUs with slightly different IP integration. The K3 SoCs
22 auxiliary Transmit PRU cores called Tx_PRUs that augment the PRUs. Each RTU
23 or Tx_PRU core can also be used independently like a PRU, or alongside a
24 corresponding PRU core to provide/implement auxiliary functionality/support.
26 Each PRU, RTU or Tx_PRU core node should be defined as a child node of the
[all …]
H A Dti,pru-consumer.yaml4 $id: http://devicetree.org/schemas/remoteproc/ti,pru-consumer.yaml#
7 title: TI PRU Consumer Common Properties
13 A PRU application/consumer/user node typically uses one or more PRU device
14 nodes to implement a PRU application/functionality. Each application/client
15 node would need a reference to at least a PRU node, and optionally define
17 properties are a list of common properties supported by the PRU remoteproc
26 description: phandles to the PRU, RTU or Tx_PRU nodes used
37 firmwares for the PRU cores, the default firmware for the core from
38 the PRU node will be used if not provided. The firmware names should
39 correspond to the PRU cores listed in the 'ti,prus' property
[all …]
/linux/include/linux/remoteproc/
H A Dpruss.h3 * PRU-ICSS Subsystem user interfaces
15 #define PRU_RPROC_DRVNAME "pru-rproc"
18 * enum pruss_pru_id - PRU core identifiers
19 * @PRUSS_PRU0: PRU Core 0.
20 * @PRUSS_PRU1: PRU Core 1.
21 * @PRUSS_NUM_PRUS: Total number of PRU Cores available.
/linux/Documentation/devicetree/bindings/interrupt-controller/
H A Dti,pruss-intc.yaml7 title: TI PRU-ICSS Local Interrupt Controller
13 Each PRU-ICSS has a single interrupt controller instance that is common
14 to all the PRU cores. Most interrupt controllers can route 64 input events
18 interrupts (0, 1) are fed exclusively to the internal PRU cores, with the
77 Client users shall use the PRU System event number (the interrupt source
78 that the client is interested in) [cell 1], PRU channel [cell 2] and PRU
113 /* AM33xx PRU-ICSS */
136 /* AM4376 PRU-ICSS */
/linux/drivers/soc/ti/
H A Dpruss.c3 * PRU-ICSS platform driver for various TI SoCs
39 * pruss_get() - get the pruss for a given PRU remoteproc
40 * @rproc: remoteproc handle of a PRU instance
42 * Finds the parent pruss device for a PRU given the @rproc handle of the
43 * PRU remote processor. This function increments the pruss device's refcount,
54 * -ENODEV if PRU device or PRUSS device is not found
67 /* make sure it is PRU rproc */ in pruss_get()
175 * pruss_cfg_get_gpmux() - get the current GPMUX value for a PRU device
177 * @pru_id: PRU identifier (0-1)
199 * pruss_cfg_set_gpmux() - set the GPMUX value for a PRU device
[all …]
H A DKconfig75 tristate "TI PRU-ICSS Subsystem Platform drivers"
79 TI PRU-ICSS Subsystem platform specific support.
81 Say Y or M here to support the Programmable Realtime Unit (PRU)
83 not interested in the PRU or if you are unsure.
H A Dpruss.h3 * PRU-ICSS Subsystem user interfaces
/linux/drivers/remoteproc/
H A Dpru_rproc.h13 * struct pruss_int_map - PRU system events _to_ channel and host mapping
18 * PRU system events are mapped to channels, and these channels are mapped
31 * struct pru_irq_rsc - PRU firmware section header for IRQ data
34 * @pru_intc_map: PRU interrupt routing description
36 * The PRU firmware blob can contain optional .pru_irq_map ELF section, which
/linux/arch/arm/boot/dts/ti/omap/
H A Dam57-pruss.dtsi88 pru1_0: pru@34000 {
89 compatible = "ti,am5728-pru";
97 pru1_1: pru@38000 {
98 compatible = "ti,am5728-pru";
197 pru2_0: pru@34000 {
198 compatible = "ti,am5728-pru";
206 pru2_1: pru@38000 {
207 compatible = "ti,am5728-pru";
H A Dam4372.dtsi499 pru1_0: pru@34000 {
500 compatible = "ti,am4376-pru";
508 pru1_1: pru@38000 {
509 compatible = "ti,am4376-pru";
586 pru0_0: pru@74000 {
587 compatible = "ti,am4376-pru";
595 pru0_1: pru@78000 {
596 compatible = "ti,am4376-pru";
/linux/drivers/net/ethernet/ti/
H A DKconfig187 tristate "TI Gigabit PRU Ethernet driver"
196 Support dual Gigabit Ethernet ports over the ICSSG PRU Subsystem.
204 tristate "TI Gigabit PRU SR1.0 Ethernet driver"
213 Support dual Gigabit Ethernet ports over the ICSSG PRU Subsystem.
221 tristate "TI PRU ICSS IEP driver"
226 This driver enables support for the PRU-ICSS Industrial Ethernet
227 Peripheral within a PRU-ICSS subsystem present on various TI SoCs.
/linux/include/linux/
H A Dpruss_driver.h3 * PRU-ICSS sub-system specific definitions
48 * enum pru_type - PRU core type identifier
101 struct mutex lock; /* PRU resource lock */
/linux/drivers/net/ethernet/ti/icssg/
H A Dicssg_prueth.c130 .pru = "ti-pruss/am65x-sr2-pru0-pruhsr-fw.elf",
135 .pru = "ti-pruss/am65x-sr2-pru1-pruhsr-fw.elf",
143 .pru = "ti-pruss/am65x-sr2-pru0-prusw-fw.elf",
148 .pru = "ti-pruss/am65x-sr2-pru1-prusw-fw.elf",
156 .pru = "ti-pruss/am65x-sr2-pru0-prueth-fw.elf",
161 .pru = "ti-pruss/am65x-sr2-pru1-prueth-fw.elf",
196 ret = prueth_start(prueth->pru[slice], firmwares[slice].pru); in prueth_emac_start()
198 dev_err(dev, "failed to boot PRU%d: %d\n", slice, ret); in prueth_emac_start()
205 rproc_shutdown(prueth->pru[slice]); in prueth_emac_start()
213 rproc_shutdown(prueth->pru[slice]); in prueth_emac_start()
[all …]
H A Dicssg_prueth_sr1.c402 .pru = "ti-pruss/am65x-pru0-prueth-fw.elf",
406 .pru = "ti-pruss/am65x-pru1-prueth-fw.elf",
427 ret = rproc_set_firmware(prueth->pru[slice], firmwares[slice].pru); in prueth_emac_start()
428 ret = rproc_boot(prueth->pru[slice]); in prueth_emac_start()
430 dev_err(dev, "failed to boot PRU%d: %d\n", slice, ret); in prueth_emac_start()
444 rproc_shutdown(prueth->pru[slice]); in prueth_emac_start()
469 rproc_shutdown(prueth->pru[slice]); in prueth_emac_stop()
565 /* reset and start PRU firmware */ in emac_ndo_open()
994 prueth->pru[ICSS_SLICE0] : prueth->pru[ICSS_SLICE1]); in prueth_probe()
1112 dev_info(dev, "TI PRU SR1.0 ethernet driver initialized: %s EMAC mode\n", in prueth_probe()
H A Dicssg_common.c1440 prueth->pru[slice] = pru_rproc_get(np, idx, &pruss_id); in prueth_get_cores()
1441 if (IS_ERR(prueth->pru[slice])) { in prueth_get_cores()
1442 ret = PTR_ERR(prueth->pru[slice]); in prueth_get_cores()
1443 prueth->pru[slice] = NULL; in prueth_get_cores()
1444 return dev_err_probe(dev, ret, "unable to get PRU%d\n", slice); in prueth_get_cores()
1479 if (prueth->pru[slice]) in prueth_put_cores()
1480 pru_rproc_put(prueth->pru[slice]); in prueth_put_cores()
H A Dicssg_config.c315 /* The driver only uses first 4 queues per PRU so only initialize them */ in prueth_fw_offload_buffer_setup()
477 /* enable XFR shift for PRU and RTU */ in icssg_config()
482 pru_rproc_set_ctable(prueth->pru[slice], PRU_C28, 0x100 << 8); in icssg_config()
H A Dicssg_mii_rt.h3 /* PRU-ICSS MII_RT register definitions
/linux/arch/arm64/boot/dts/ti/
H A Dk3-am65-main.dtsi1196 pru0_0: pru@34000 {
1197 compatible = "ti,am654-pru";
1221 compatible = "ti,am654-tx-pru";
1229 pru0_1: pru@38000 {
1230 compatible = "ti,am654-pru";
1254 compatible = "ti,am654-tx-pru";
1367 pru1_0: pru@34000 {
1368 compatible = "ti,am654-pru";
1392 compatible = "ti,am654-tx-pru";
1400 pru1_1: pru@38000 {
[all …]
H A Dk3-am64-main.dtsi1329 pru0_0: pru@34000 {
1330 compatible = "ti,am642-pru";
1354 compatible = "ti,am642-tx-pru";
1362 pru0_1: pru@38000 {
1363 compatible = "ti,am642-pru";
1387 compatible = "ti,am642-tx-pru";
1508 pru1_0: pru@34000 {
1509 compatible = "ti,am642-pru";
1533 compatible = "ti,am642-tx-pru";
1541 pru1_1: pru@38000 {
[all …]
H A Dk3-am642-sr-som.dtsi27 /* PRU Ethernet Controller */
50 * Configure icssg interrupt controller to map pru-internal
433 pru_rgmii1_default_pins: pru-rgmii1-default-pins {
450 pru_rgmii2_default_pins: pru-rgmii2-default-pins {
H A Dk3-j721e-main.dtsi2368 pru0_0: pru@34000 {
2369 compatible = "ti,j721e-pru";
2387 compatible = "ti,j721e-tx-pru";
2395 pru0_1: pru@38000 {
2396 compatible = "ti,j721e-pru";
2414 compatible = "ti,j721e-tx-pru";
2510 pru1_0: pru@34000 {
2511 compatible = "ti,j721e-pru";
2529 compatible = "ti,j721e-tx-pru";
2537 pru1_1: pru@38000 {
[all …]
H A Dk3-am654-idk.dtso23 /* Ethernet node on PRU-ICSSG0 */
90 /* Ethernet node on PRU-ICSSG1 */
/linux/drivers/irqchip/
H A Dirq-pruss-intc.c3 * PRU-ICSS INTC IRQChip driver for various TI SoCs
218 * Undo whatever was done in pruss_intc_map() for a PRU core.
657 MODULE_DESCRIPTION("TI PRU-ICSS INTC Driver");
H A DKconfig591 This enables support for the PRU-ICSS Local Interrupt Controller
592 present within a PRU-ICSS subsystem present on various TI SoCs.
/linux/include/linux/mfd/
H A Dda8xx-cfgchip.h132 /* CFGCHIP3 (EMAC/uPP/PLL1/ASYNC3/PRU/DIV4.5/EMIFA) register bits */

12