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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/powerpc/fsl/mpc5121-psc.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 MPC5121 PSC Device Tree Bindings
  2 
  3 PSC in UART mode
  4 ----------------
  5 
  6 For PSC in UART mode the needed PSC serial devices
  7 are specified by fsl,mpc5121-psc-uart nodes in the
  8 fsl,mpc5121-immr SoC node. Additionally the PSC FIFO
  9 Controller node fsl,mpc5121-psc-fifo is required there:
 10 
 11 fsl,mpc512x-psc-uart nodes
 12 --------------------------
 13 
 14 Required properties :
 15  - compatible : Should contain "fsl,<soc>-psc-uart" and "fsl,<soc>-psc"
 16    Supported <soc>s: mpc5121, mpc5125
 17  - reg : Offset and length of the register set for the PSC device
 18  - interrupts : <a b> where a is the interrupt number of the
 19    PSC FIFO Controller and b is a field that represents an
 20    encoding of the sense and level information for the interrupt.
 21 
 22 Recommended properties :
 23  - fsl,rx-fifo-size : the size of the RX fifo slice (a multiple of 4)
 24  - fsl,tx-fifo-size : the size of the TX fifo slice (a multiple of 4)
 25 
 26 PSC in SPI mode
 27 ---------------
 28 
 29 Similar to the UART mode a PSC can be operated in SPI mode. The compatible used
 30 for that is fsl,mpc5121-psc-spi. It requires a fsl,mpc5121-psc-fifo as well.
 31 The required and recommended properties are identical to the
 32 fsl,mpc5121-psc-uart nodes, just use spi instead of uart in the compatible
 33 string.
 34 
 35 fsl,mpc512x-psc-fifo node
 36 -------------------------
 37 
 38 Required properties :
 39  - compatible : Should be "fsl,<soc>-psc-fifo"
 40    Supported <soc>s: mpc5121, mpc5125
 41  - reg : Offset and length of the register set for the PSC
 42          FIFO Controller
 43  - interrupts : <a b> where a is the interrupt number of the
 44    PSC FIFO Controller and b is a field that represents an
 45    encoding of the sense and level information for the interrupt.
 46 
 47 Recommended properties :
 48  - clocks : specifies the clock needed to operate the fifo controller
 49  - clock-names : name(s) for the clock(s) listed in clocks
 50 
 51 Example for a board using PSC0 and PSC1 devices in serial mode:
 52 
 53 serial@11000 {
 54         compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc";
 55         cell-index = <0>;
 56         reg = <0x11000 0x100>;
 57         interrupts = <40 0x8>;
 58         interrupt-parent = < &ipic >;
 59         fsl,rx-fifo-size = <16>;
 60         fsl,tx-fifo-size = <16>;
 61 };
 62 
 63 serial@11100 {
 64         compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc";
 65         cell-index = <1>;
 66         reg = <0x11100 0x100>;
 67         interrupts = <40 0x8>;
 68         interrupt-parent = < &ipic >;
 69         fsl,rx-fifo-size = <16>;
 70         fsl,tx-fifo-size = <16>;
 71 };
 72 
 73 pscfifo@11f00 {
 74         compatible = "fsl,mpc5121-psc-fifo";
 75         reg = <0x11f00 0x100>;
 76         interrupts = <40 0x8>;
 77         interrupt-parent = < &ipic >;
 78 };

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