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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/soc/fsl/cpm_qe/cpm.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 Communications Processor Module
  2 
  3 NOTE: This is an interim binding, and will likely change slightly,
  4 as more devices are supported.  The QE bindings especially are
  5 incomplete.
  6 
  7 * Root CPM node
  8 
  9 Properties:
 10 - compatible : "fsl,cpm1", "fsl,cpm2", or "fsl,qe".
 11 - reg : A 48-byte region beginning with CPCR.
 12 
 13 Example:
 14      cpm@119c0 {
 15         #address-cells = <1>;
 16         #size-cells = <1>;
 17         #interrupt-cells = <2>;
 18         compatible = "fsl,mpc8272-cpm", "fsl,cpm2";
 19         reg = <119c0 30>;
 20      }
 21 
 22 * Properties common to multiple CPM/QE devices
 23 
 24 - fsl,cpm-command : This value is ORed with the opcode and command flag
 25                     to specify the device on which a CPM command operates.
 26 
 27 - fsl,cpm-brg : Indicates which baud rate generator the device
 28                 is associated with.  If absent, an unused BRG
 29                 should be dynamically allocated.  If zero, the
 30                 device uses an external clock rather than a BRG.
 31 
 32 - reg : Unless otherwise specified, the first resource represents the
 33         scc/fcc/ucc registers, and the second represents the device's
 34         parameter RAM region (if it has one).
 35 
 36 * Multi-User RAM (MURAM)
 37 
 38 The multi-user/dual-ported RAM is expressed as a bus under the CPM node.
 39 
 40 Ranges must be set up subject to the following restrictions:
 41 
 42 - Children's reg nodes must be offsets from the start of all muram, even
 43   if the user-data area does not begin at zero.
 44 - If multiple range entries are used, the difference between the parent
 45   address and the child address must be the same in all, so that a single
 46   mapping can cover them all while maintaining the ability to determine
 47   CPM-side offsets with pointer subtraction.  It is recommended that
 48   multiple range entries not be used.
 49 - A child address of zero must be translatable, even if no reg resources
 50   contain it.
 51 
 52 A child "data" node must exist, compatible with "fsl,cpm-muram-data", to
 53 indicate the portion of muram that is usable by the OS for arbitrary
 54 purposes.  The data node may have an arbitrary number of reg resources,
 55 all of which contribute to the allocatable muram pool.
 56 
 57 Example, based on mpc8272:
 58         muram@0 {
 59                 #address-cells = <1>;
 60                 #size-cells = <1>;
 61                 ranges = <0 0 10000>;
 62 
 63                 data@0 {
 64                         compatible = "fsl,cpm-muram-data";
 65                         reg = <0 2000 9800 800>;
 66                 };
 67         };

~ [ 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