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/atmel,at91rm9200-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-only OR BSD-2-Clause)
    2 # Copyright (C) 2022 Microchip Technology, Inc. and its subsidiaries
    3 %YAML 1.2
    4 ---
    5 $id: http://devicetree.org/schemas/spi/atmel,at91rm9200-spi.yaml#
    6 $schema: http://devicetree.org/meta-schemas/core.yaml#
    7 
    8 title: Atmel SPI device
    9 
   10 maintainers:
   11   - Tudor Ambarus <tudor.ambarus@microchip.com>
   12 
   13 allOf:
   14   - $ref: spi-controller.yaml#
   15 
   16 properties:
   17   compatible:
   18     oneOf:
   19       - const: atmel,at91rm9200-spi
   20       - items:
   21           - const: microchip,sam9x60-spi
   22           - const: atmel,at91rm9200-spi
   23 
   24   reg:
   25     maxItems: 1
   26 
   27   interrupts:
   28     maxItems: 1
   29 
   30   clock-names:
   31     contains:
   32       const: spi_clk
   33 
   34   clocks:
   35     maxItems: 1
   36 
   37   atmel,fifo-size:
   38     $ref: /schemas/types.yaml#/definitions/uint32
   39     description: |
   40       Maximum number of data the RX and TX FIFOs can store for FIFO
   41       capable SPI controllers.
   42     enum: [ 16, 32 ]
   43 
   44 required:
   45   - compatible
   46   - reg
   47   - interrupts
   48   - clock-names
   49   - clocks
   50 
   51 unevaluatedProperties: false
   52 
   53 examples:
   54   - |
   55     #include <dt-bindings/gpio/gpio.h>
   56     #include <dt-bindings/interrupt-controller/irq.h>
   57 
   58     spi1: spi@fffcc000 {
   59         compatible = "atmel,at91rm9200-spi";
   60         reg = <0xfffcc000 0x4000>;
   61         interrupts = <13 IRQ_TYPE_LEVEL_HIGH 5>;
   62         #address-cells = <1>;
   63         #size-cells = <0>;
   64         clocks = <&spi1_clk>;
   65         clock-names = "spi_clk";
   66         cs-gpios = <&pioB 3 GPIO_ACTIVE_HIGH>;
   67         atmel,fifo-size = <32>;
   68 
   69         mmc@0 {
   70             compatible = "mmc-spi-slot";
   71             reg = <0>;
   72             gpios = <&pioC 4 GPIO_ACTIVE_HIGH>;    /* CD */
   73             spi-max-frequency = <25000000>;
   74         };
   75     };

Cache object: 8d7d3d812da003d5f2e4b81ef8dc290e


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