brintos

brintos / linux-shallow public Read only

0
0
Text · 2.1 KiB · 2811334 Raw
61 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/remoteproc/ti,pru-consumer.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: TI PRU Consumer Common Properties8 9maintainers:10  - Suman Anna <s-anna@ti.com>11 12description: |13  A PRU application/consumer/user node typically uses one or more PRU device14  nodes to implement a PRU application/functionality. Each application/client15  node would need a reference to at least a PRU node, and optionally define16  some properties needed for hardware/firmware configuration. The below17  properties are a list of common properties supported by the PRU remoteproc18  infrastructure.19 20  The application nodes shall define their own bindings like regular platform21  devices, so below are in addition to each node's bindings.22 23properties:24  ti,prus:25    $ref: /schemas/types.yaml#/definitions/phandle-array26    description: phandles to the PRU, RTU or Tx_PRU nodes used27    minItems: 128    maxItems: 629    items:30      maxItems: 131 32  firmware-name:33    $ref: /schemas/types.yaml#/definitions/string-array34    minItems: 135    maxItems: 636    description: |37      firmwares for the PRU cores, the default firmware for the core from38      the PRU node will be used if not provided. The firmware names should39      correspond to the PRU cores listed in the 'ti,prus' property40 41  ti,pruss-gp-mux-sel:42    $ref: /schemas/types.yaml#/definitions/uint32-array43    minItems: 144    maxItems: 645    items:46      enum: [0, 1, 2, 3, 4]47    description: |48      array of values for the GP_MUX_SEL under PRUSS_GPCFG register for a PRU.49      This selects the internal muxing scheme for the PRU instance. Values50      should correspond to the PRU cores listed in the 'ti,prus' property. The51      GP_MUX_SEL setting is a per-slice setting (one setting for PRU0, RTU0,52      and Tx_PRU0 on K3 SoCs). Use the same value for all cores within the53      same slice in the associative array. If the array size is smaller than54      the size of 'ti,prus' property, the default out-of-reset value (0) for the55      PRU core is used.56 57required:58  - ti,prus59 60additionalProperties: true61