The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/spi/spi-cadence.yaml

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
    2 %YAML 1.2
    3 ---
    4 $id: http://devicetree.org/schemas/spi/spi-cadence.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: Cadence SPI controller Device Tree Bindings
    8 
    9 maintainers:
   10   - Michal Simek <michal.simek@xilinx.com>
   11 
   12 allOf:
   13   - $ref: "spi-controller.yaml#"
   14 
   15 properties:
   16   compatible:
   17     enum:
   18       - cdns,spi-r1p6
   19       - xlnx,zynq-spi-r1p6
   20 
   21   reg:
   22     maxItems: 1
   23 
   24   interrupts:
   25     maxItems: 1
   26 
   27   clock-names:
   28     items:
   29       - const: ref_clk
   30       - const: pclk
   31 
   32   clocks:
   33     maxItems: 2
   34 
   35   num-cs:
   36     description: |
   37       Number of chip selects used. If a decoder is used,
   38       this will be the number of chip selects after the
   39       decoder.
   40     $ref: /schemas/types.yaml#/definitions/uint32
   41     minimum: 1
   42     maximum: 4
   43     default: 4
   44 
   45   is-decoded-cs:
   46     description: |
   47       Flag to indicate whether decoder is used or not.
   48     $ref: /schemas/types.yaml#/definitions/uint32
   49     enum: [ 0, 1 ]
   50     default: 0
   51 
   52 required:
   53   - compatible
   54   - reg
   55   - interrupts
   56   - clock-names
   57   - clocks
   58 
   59 unevaluatedProperties: false
   60 
   61 examples:
   62   - |
   63     spi@e0007000 {
   64       compatible = "xlnx,zynq-spi-r1p6";
   65       clock-names = "ref_clk", "pclk";
   66       clocks = <&clkc 26>, <&clkc 35>;
   67       interrupt-parent = <&intc>;
   68       interrupts = <0 49 4>;
   69       num-cs = <4>;
   70       is-decoded-cs = <0>;
   71       reg = <0xe0007000 0x1000>;
   72     };
   73 ...

Cache object: 6aac65a8506ea374d6e17a42854affdb


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.