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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/spi/spi-sifive.yaml

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/spi-sifive.yaml (Architecture ppc) and /Documentation/devicetree/bindings/spi/spi-sifive.yaml (Architecture m68k)


  1 # SPDX-License-Identifier: GPL-2.0                  1 # SPDX-License-Identifier: GPL-2.0
  2 %YAML 1.2                                           2 %YAML 1.2
  3 ---                                                 3 ---
  4 $id: http://devicetree.org/schemas/spi/spi-sif      4 $id: http://devicetree.org/schemas/spi/spi-sifive.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: SiFive SPI controller                        7 title: SiFive SPI controller
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Pragnesh Patel <pragnesh.patel@sifive.com>      10   - Pragnesh Patel <pragnesh.patel@sifive.com>
 11   - Paul Walmsley  <paul.walmsley@sifive.com>       11   - Paul Walmsley  <paul.walmsley@sifive.com>
 12   - Palmer Dabbelt <palmer@sifive.com>              12   - Palmer Dabbelt <palmer@sifive.com>
 13                                                    13 
 14 allOf:                                             14 allOf:
 15   - $ref: spi-controller.yaml#                     15   - $ref: spi-controller.yaml#
 16                                                    16 
 17 properties:                                        17 properties:
 18   compatible:                                      18   compatible:
 19     items:                                         19     items:
 20       - enum:                                      20       - enum:
 21           - sifive,fu540-c000-spi                  21           - sifive,fu540-c000-spi
 22           - sifive,fu740-c000-spi                  22           - sifive,fu740-c000-spi
 23       - const: sifive,spi0                         23       - const: sifive,spi0
 24                                                    24 
 25     description:                                   25     description:
 26       Should be "sifive,<chip>-spi" and "sifiv     26       Should be "sifive,<chip>-spi" and "sifive,spi<version>".
 27       Supported compatible strings are -           27       Supported compatible strings are -
 28       "sifive,fu540-c000-spi" and "sifive,fu74     28       "sifive,fu540-c000-spi" and "sifive,fu740-c000-spi" for the SiFive SPI v0
 29       as integrated onto the SiFive FU540 and      29       as integrated onto the SiFive FU540 and FU740 chip resp, and "sifive,spi0"
 30       for the SiFive SPI v0 IP block with no c     30       for the SiFive SPI v0 IP block with no chip integration tweaks.
 31       Please refer to sifive-blocks-ip-version     31       Please refer to sifive-blocks-ip-versioning.txt for details
 32                                                    32 
 33       SPI RTL that corresponds to the IP block     33       SPI RTL that corresponds to the IP block version numbers can be found here -
 34       https://github.com/sifive/sifive-blocks/     34       https://github.com/sifive/sifive-blocks/tree/master/src/main/scala/devices/spi
 35                                                    35 
 36   reg:                                             36   reg:
 37     minItems: 1                                    37     minItems: 1
 38     items:                                         38     items:
 39       - description: SPI registers region          39       - description: SPI registers region
 40       - description: Memory mapped flash regio     40       - description: Memory mapped flash region
 41                                                    41 
 42   interrupts:                                      42   interrupts:
 43     maxItems: 1                                    43     maxItems: 1
 44                                                    44 
 45   clocks:                                          45   clocks:
 46     maxItems: 1                                    46     maxItems: 1
 47                                                    47 
 48     description:                                   48     description:
 49       Must reference the frequency given to th     49       Must reference the frequency given to the controller
 50                                                    50 
 51   sifive,fifo-depth:                               51   sifive,fifo-depth:
 52     description:                                   52     description:
 53       Depth of hardware queues; defaults to 8      53       Depth of hardware queues; defaults to 8
 54     $ref: /schemas/types.yaml#/definitions/uin     54     $ref: /schemas/types.yaml#/definitions/uint32
 55     enum: [8]                                      55     enum: [8]
 56     default: 8                                     56     default: 8
 57                                                    57 
 58   sifive,max-bits-per-word:                        58   sifive,max-bits-per-word:
 59     description:                                   59     description:
 60       Maximum bits per word; defaults to 8         60       Maximum bits per word; defaults to 8
 61     $ref: /schemas/types.yaml#/definitions/uin     61     $ref: /schemas/types.yaml#/definitions/uint32
 62     enum: [0, 1, 2, 3, 4, 5, 6, 7, 8]              62     enum: [0, 1, 2, 3, 4, 5, 6, 7, 8]
 63     default: 8                                     63     default: 8
 64                                                    64 
 65 required:                                          65 required:
 66   - compatible                                     66   - compatible
 67   - reg                                            67   - reg
 68   - interrupts                                     68   - interrupts
 69   - clocks                                         69   - clocks
 70                                                    70 
 71 unevaluatedProperties: false                       71 unevaluatedProperties: false
 72                                                    72 
 73 examples:                                          73 examples:
 74   - |                                              74   - |
 75     spi: spi@10040000 {                            75     spi: spi@10040000 {
 76       compatible = "sifive,fu540-c000-spi", "s     76       compatible = "sifive,fu540-c000-spi", "sifive,spi0";
 77       reg = <0x10040000 0x1000>, <0x20000000 0     77       reg = <0x10040000 0x1000>, <0x20000000 0x10000000>;
 78       interrupt-parent = <&plic>;                  78       interrupt-parent = <&plic>;
 79       interrupts = <51>;                           79       interrupts = <51>;
 80       clocks = <&tlclk>;                           80       clocks = <&tlclk>;
 81       #address-cells = <1>;                        81       #address-cells = <1>;
 82       #size-cells = <0>;                           82       #size-cells = <0>;
 83       sifive,fifo-depth = <8>;                     83       sifive,fifo-depth = <8>;
 84       sifive,max-bits-per-word = <8>;              84       sifive,max-bits-per-word = <8>;
 85     };                                             85     };
 86                                                    86 
 87 ...                                                87 ...
                                                      

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