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/allwinner,sun4i-a10-spi.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
    2 %YAML 1.2
    3 ---
    4 $id: http://devicetree.org/schemas/spi/allwinner,sun4i-a10-spi.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: Allwinner A10 SPI Controller Device Tree Bindings
    8 
    9 allOf:
   10   - $ref: "spi-controller.yaml"
   11 
   12 maintainers:
   13   - Chen-Yu Tsai <wens@csie.org>
   14   - Maxime Ripard <mripard@kernel.org>
   15 
   16 properties:
   17   "#address-cells": true
   18   "#size-cells": true
   19 
   20   compatible:
   21     const: allwinner,sun4i-a10-spi
   22 
   23   reg:
   24     maxItems: 1
   25 
   26   interrupts:
   27     maxItems: 1
   28 
   29   clocks:
   30     items:
   31       - description: Bus Clock
   32       - description: Module Clock
   33 
   34   clock-names:
   35     items:
   36       - const: ahb
   37       - const: mod
   38 
   39   dmas:
   40     items:
   41       - description: RX DMA Channel
   42       - description: TX DMA Channel
   43 
   44   dma-names:
   45     items:
   46       - const: rx
   47       - const: tx
   48 
   49   num-cs: true
   50 
   51 patternProperties:
   52   "^.*@[0-9a-f]+":
   53     type: object
   54     properties:
   55       reg:
   56         items:
   57           minimum: 0
   58           maximum: 4
   59 
   60       spi-rx-bus-width:
   61         const: 1
   62 
   63       spi-tx-bus-width:
   64         const: 1
   65 
   66 required:
   67   - compatible
   68   - reg
   69   - interrupts
   70   - clocks
   71   - clock-names
   72 
   73 additionalProperties: false
   74 
   75 examples:
   76   - |
   77     spi1: spi@1c06000 {
   78         compatible = "allwinner,sun4i-a10-spi";
   79         reg = <0x01c06000 0x1000>;
   80         interrupts = <11>;
   81         clocks = <&ahb_gates 21>, <&spi1_clk>;
   82         clock-names = "ahb", "mod";
   83         #address-cells = <1>;
   84         #size-cells = <0>;
   85     };
   86 
   87 ...

Cache object: defad0341932b4c376b4edce2a9ba4fc


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