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/serial/sifive-serial.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/serial/sifive-serial.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: SiFive asynchronous serial interface (UART)
    8 
    9 maintainers:
   10   - Pragnesh Patel <pragnesh.patel@sifive.com>
   11   - Paul Walmsley  <paul.walmsley@sifive.com>
   12   - Palmer Dabbelt <palmer@sifive.com>
   13 
   14 allOf:
   15   - $ref: serial.yaml#
   16 
   17 properties:
   18   compatible:
   19     items:
   20       - enum:
   21           - sifive,fu540-c000-uart
   22           - sifive,fu740-c000-uart
   23           - canaan,k210-uarths
   24       - const: sifive,uart0
   25 
   26     description:
   27       Should be something similar to "sifive,<chip>-uart"
   28       for the UART as integrated on a particular chip,
   29       and "sifive,uart<version>" for the general UART IP
   30       block programming model.
   31 
   32       UART HDL that corresponds to the IP block version
   33       numbers can be found here -
   34 
   35       https://github.com/sifive/sifive-blocks/tree/master/src/main/scala/devices/uart
   36 
   37   reg:
   38     maxItems: 1
   39 
   40   interrupts:
   41     maxItems: 1
   42 
   43   clocks:
   44     maxItems: 1
   45 
   46 required:
   47   - compatible
   48   - reg
   49   - interrupts
   50   - clocks
   51 
   52 unevaluatedProperties: false
   53 
   54 examples:
   55   - |
   56       #include <dt-bindings/clock/sifive-fu540-prci.h>
   57       serial@10010000 {
   58         compatible = "sifive,fu540-c000-uart", "sifive,uart0";
   59         interrupt-parent = <&plic0>;
   60         interrupts = <80>;
   61         reg = <0x10010000 0x1000>;
   62         clocks = <&prci FU540_PRCI_CLK_TLCLK>;
   63       };
   64 
   65 ...

Cache object: 61546314c5e9a149197d3f32ba6c3a7f


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