Home
last modified time | relevance | path

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

/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/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
H A DKconfig153 tristate "TI PRU remoteproc support"
157 Support for TI PRU remote processors present within a PRU-ICSS
160 Say Y or M here to support the Programmable Realtime Unit (PRU)
162 not interested in the PRU or if you are unsure.
/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";
H A Dam335x-icev2.dts471 /* ETH1 mux: Low for MII-PRU, high for RMII-CPSW */
/linux/drivers/soc/ti/
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/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_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_prueth.c161 ret = prueth_start(prueth->pru[slice], firmwares[slice].pru); in prueth_emac_start()
163 dev_err(dev, "failed to boot PRU%d: %d\n", slice, ret); in prueth_emac_start()
170 rproc_shutdown(prueth->pru[slice]); in prueth_emac_start()
178 rproc_shutdown(prueth->pru[slice]); in prueth_emac_start()
189 prueth_shutdown(prueth->pru[slice]); in prueth_emac_start()
202 prueth_shutdown(prueth->pru[slice]); in prueth_emac_stop()
1383 /* Stop both pru cores for both PRUeth ports*/ in prueth_emac_restart()
1390 /* Start both pru cores for both PRUeth ports */ in prueth_emac_restart()
1635 &fw[i].pru); in icssg_read_firmware_names()
1689 * with @to in the firmware names (pru, rtu, txpru) for each MAC. The
[all …]
H A Dicssg_prueth.h265 const char *pru; member
274 * @pru: rproc instances of PRUs
315 struct rproc *pru[PRUSS_NUM_PRUS]; member
H A Dicssg_common.c1441 prueth->pru[slice] = pru_rproc_get(np, idx, &pruss_id); in prueth_get_cores()
1442 if (IS_ERR(prueth->pru[slice])) { in prueth_get_cores()
1443 ret = PTR_ERR(prueth->pru[slice]); in prueth_get_cores()
1444 prueth->pru[slice] = NULL; in prueth_get_cores()
1445 return dev_err_probe(dev, ret, "unable to get PRU%d\n", slice); in prueth_get_cores()
1480 if (prueth->pru[slice]) in prueth_put_cores()
1481 pru_rproc_put(prueth->pru[slice]); in prueth_put_cores()
H A Dicssg_mii_rt.h3 /* PRU-ICSS MII_RT register definitions
H A Dicssg_config.c322 /* The driver only uses first 4 queues per PRU, in prueth_fw_offload_buffer_setup()
531 /* enable XFR shift for PRU and RTU */ in icssg_config()
536 pru_rproc_set_ctable(prueth->pru[slice], PRU_C28, 0x100 << 8); in icssg_config()
H A Dicssg_classifier.c125 /* These are register offsets per PRU */
/linux/arch/arm64/boot/dts/ti/
H A Dk3-am65-main.dtsi1197 pru0_0: pru@34000 {
1198 compatible = "ti,am654-pru";
1222 compatible = "ti,am654-tx-pru";
1230 pru0_1: pru@38000 {
1231 compatible = "ti,am654-pru";
1255 compatible = "ti,am654-tx-pru";
1368 pru1_0: pru@34000 {
1369 compatible = "ti,am654-pru";
1393 compatible = "ti,am654-tx-pru";
1401 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");
/linux/include/linux/mfd/
H A Dda8xx-cfgchip.h132 /* CFGCHIP3 (EMAC/uPP/PLL1/ASYNC3/PRU/DIV4.5/EMIFA) register bits */
/linux/Documentation/devicetree/bindings/net/
H A Dti,icssg-prueth.yaml146 - $ref: /schemas/remoteproc/ti,pru-consumer.yaml#
/linux/drivers/bus/
H A Dti-sysc.c1999 * PRU-ICSS subsystem. in sysc_module_enable_quirk_pruss()