~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/powerpc/fsl/srio.txt

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 * Freescale Serial RapidIO (SRIO) Controller
  2 
  3 RapidIO port node:
  4 Properties:
  5    - compatible
  6         Usage: required
  7         Value type: <string>
  8         Definition: Must include "fsl,srio" for IP blocks with IP Block
  9         Revision Register (SRIO IPBRR1) Major ID equal to 0x01c0.
 10 
 11         Optionally, a compatible string of "fsl,srio-vX.Y" where X is Major
 12         version in IP Block Revision Register and Y is Minor version.  If this
 13         compatible is provided it should be ordered before "fsl,srio".
 14 
 15    - reg
 16         Usage: required
 17         Value type: <prop-encoded-array>
 18         Definition: A standard property.  Specifies the physical address and
 19                 length of the SRIO configuration registers.  The size should
 20                 be set to 0x11000.
 21 
 22    - interrupts
 23         Usage: required
 24         Value type: <prop_encoded-array>
 25         Definition:  Specifies the interrupts generated by this device.  The
 26                 value of the interrupts property consists of one interrupt
 27                 specifier. The format of the specifier is defined by the
 28                 binding document describing the node's interrupt parent.
 29 
 30                 A single IRQ that handles error conditions is specified by this
 31                 property.  (Typically shared with port-write).
 32 
 33    - fsl,srio-rmu-handle:
 34         Usage: required if rmu node is defined
 35         Value type: <phandle>
 36         Definition: A single <phandle> value that points to the RMU.
 37         (See srio-rmu.txt for more details on RMU node binding)
 38 
 39 Port Child Nodes:  There should a port child node for each port that exists in
 40 the controller.  The ports are numbered starting at one (1) and should have
 41 the following properties:
 42 
 43    - cell-index
 44         Usage: required
 45         Value type: <u32>
 46         Definition: A standard property.  Matches the port id.
 47 
 48    - ranges
 49         Usage: required if local access windows preset
 50         Value type: <prop-encoded-array>
 51         Definition: A standard property. Utilized to describe the memory mapped
 52                 IO space utilized by the controller.  This corresponds to the
 53                 setting of the local access windows that are targeted to this
 54                 SRIO port.
 55 
 56    - fsl,liodn
 57         Usage: optional-but-recommended (for devices with PAMU)
 58         Value type: <prop-encoded-array>
 59         Definition: The logical I/O device number for the PAMU (IOMMU) to be
 60                 correctly configured for SRIO accesses.  The property should
 61                 not exist on devices that do not support PAMU.
 62 
 63                 For HW (ie, the P4080) that only supports a LIODN for both
 64                 memory and maintenance transactions then a single LIODN is
 65                 represented in the property for both transactions.
 66 
 67                 For HW (ie, the P304x/P5020, etc) that supports an LIODN for
 68                 memory transactions and a unique LIODN for maintenance
 69                 transactions then a pair of LIODNs are represented in the
 70                 property.  Within the pair, the first element represents the
 71                 LIODN associated with memory transactions and the second element
 72                 represents the LIODN associated with maintenance transactions
 73                 for the port.
 74 
 75 Note: All other standard properties (see the Devicetree Specification)
 76 are allowed but are optional.
 77 
 78 Example:
 79 
 80         rapidio: rapidio@ffe0c0000 {
 81                 #address-cells = <2>;
 82                 #size-cells = <2>;
 83                 reg = <0xf 0xfe0c0000 0 0x11000>;
 84                 compatible = "fsl,srio";
 85                 interrupts = <16 2 1 11>; /* err_irq */
 86                 fsl,srio-rmu-handle = <&rmu>;
 87                 ranges;
 88 
 89                 port1 {
 90                         cell-index = <1>;
 91                         #address-cells = <2>;
 92                         #size-cells = <2>;
 93                         fsl,liodn = <34>;
 94                         ranges = <0 0 0xc 0x20000000 0 0x10000000>;
 95                 };
 96 
 97                 port2 {
 98                         cell-index = <2>;
 99                         #address-cells = <2>;
100                         #size-cells = <2>;
101                         fsl,liodn = <48>;
102                         ranges = <0 0 0xc 0x30000000 0 0x10000000>;
103                 };
104         };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php