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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/spi/fsl-spi.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 ] ~

Diff markup

Differences between /Documentation/devicetree/bindings/spi/fsl-spi.txt (Architecture alpha) and /Documentation/devicetree/bindings/spi/fsl-spi.txt (Architecture ppc)


  1 * SPI (Serial Peripheral Interface)                 1 * SPI (Serial Peripheral Interface)
  2                                                     2 
  3 Required properties:                                3 Required properties:
  4 - cell-index : QE SPI subblock index.               4 - cell-index : QE SPI subblock index.
  5                 0: QE subblock SPI1                 5                 0: QE subblock SPI1
  6                 1: QE subblock SPI2                 6                 1: QE subblock SPI2
  7 - compatible : should be "fsl,spi" or "aerofle      7 - compatible : should be "fsl,spi" or "aeroflexgaisler,spictrl".
  8 - mode : the SPI operation mode, it can be "cp      8 - mode : the SPI operation mode, it can be "cpu" or "cpu-qe".
  9 - reg : Offset and length of the register set       9 - reg : Offset and length of the register set for the device
 10 - interrupts : <a b> where a is the interrupt      10 - interrupts : <a b> where a is the interrupt number and b is a
 11   field that represents an encoding of the sen     11   field that represents an encoding of the sense and level
 12   information for the interrupt.  This should      12   information for the interrupt.  This should be encoded based on
 13   the information in section 2) depending on t     13   the information in section 2) depending on the type of interrupt
 14   controller you have.                             14   controller you have.
 15 - clock-frequency : input clock frequency to n     15 - clock-frequency : input clock frequency to non FSL_SOC cores
 16                                                    16 
 17 Optional properties:                               17 Optional properties:
 18 - cs-gpios : specifies the gpio pins to be use     18 - cs-gpios : specifies the gpio pins to be used for chipselects.
 19   The gpios will be referred to as reg = <inde     19   The gpios will be referred to as reg = <index> in the SPI child nodes.
 20   If unspecified, a single SPI device without      20   If unspecified, a single SPI device without a chip select can be used.
 21 - fsl,spisel_boot : for the MPC8306 and MPC830     21 - fsl,spisel_boot : for the MPC8306 and MPC8309, specifies that the
 22   SPISEL_BOOT signal is used as chip select fo     22   SPISEL_BOOT signal is used as chip select for a slave device. Use
 23   reg = <number of gpios> in the corresponding     23   reg = <number of gpios> in the corresponding child node, i.e. 0 if
 24   the cs-gpios property is not present.            24   the cs-gpios property is not present.
 25                                                    25 
 26 Example:                                           26 Example:
 27         spi@4c0 {                                  27         spi@4c0 {
 28                 cell-index = <0>;                  28                 cell-index = <0>;
 29                 compatible = "fsl,spi";            29                 compatible = "fsl,spi";
 30                 reg = <4c0 40>;                    30                 reg = <4c0 40>;
 31                 interrupts = <82 0>;               31                 interrupts = <82 0>;
 32                 interrupt-parent = <700>;          32                 interrupt-parent = <700>;
 33                 mode = "cpu";                      33                 mode = "cpu";
 34                 cs-gpios = <&gpio 18 1             34                 cs-gpios = <&gpio 18 1          // device reg=<0>
 35                             &gpio 19 1>;           35                             &gpio 19 1>;        // device reg=<1>
 36         };                                         36         };
 37                                                    37 
 38                                                    38 
 39 * eSPI (Enhanced Serial Peripheral Interface)      39 * eSPI (Enhanced Serial Peripheral Interface)
 40                                                    40 
 41 Required properties:                               41 Required properties:
 42 - compatible : should be "fsl,mpc8536-espi".       42 - compatible : should be "fsl,mpc8536-espi".
 43 - reg : Offset and length of the register set      43 - reg : Offset and length of the register set for the device.
 44 - interrupts : should contain eSPI interrupt,      44 - interrupts : should contain eSPI interrupt, the device has one interrupt.
 45 - fsl,espi-num-chipselects : the number of the     45 - fsl,espi-num-chipselects : the number of the chipselect signals.
 46                                                    46 
 47 Optional properties:                               47 Optional properties:
 48 - fsl,csbef: chip select assertion time in bit     48 - fsl,csbef: chip select assertion time in bits before frame starts
 49 - fsl,csaft: chip select negation time in bits     49 - fsl,csaft: chip select negation time in bits after frame ends
 50                                                    50 
 51 Example:                                           51 Example:
 52         spi@110000 {                               52         spi@110000 {
 53                 #address-cells = <1>;              53                 #address-cells = <1>;
 54                 #size-cells = <0>;                 54                 #size-cells = <0>;
 55                 compatible = "fsl,mpc8536-espi     55                 compatible = "fsl,mpc8536-espi";
 56                 reg = <0x110000 0x1000>;           56                 reg = <0x110000 0x1000>;
 57                 interrupts = <53 0x2>;             57                 interrupts = <53 0x2>;
 58                 interrupt-parent = <&mpic>;        58                 interrupt-parent = <&mpic>;
 59                 fsl,espi-num-chipselects = <4>     59                 fsl,espi-num-chipselects = <4>;
 60                 fsl,csbef = <1>;                   60                 fsl,csbef = <1>;
 61                 fsl,csaft = <1>;                   61                 fsl,csaft = <1>;
 62         };                                         62         };
                                                      

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