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/sunplus,sp7021-uart.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) Sunplus Co., Ltd. 2021
    3 %YAML 1.2
    4 ---
    5 $id: "http://devicetree.org/schemas/serial/sunplus,sp7021-uart.yaml#"
    6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
    7 
    8 title: Sunplus SoC SP7021 UART Controller Device Tree Bindings
    9 
   10 maintainers:
   11   - Hammer Hsieh <hammerh0314@gmail.com>
   12 
   13 allOf:
   14   - $ref: serial.yaml#
   15 
   16 properties:
   17   compatible:
   18     const: sunplus,sp7021-uart
   19 
   20   reg:
   21     maxItems: 1
   22 
   23   interrupts:
   24     maxItems: 1
   25 
   26   clocks:
   27     maxItems: 1
   28 
   29   resets:
   30     maxItems: 1
   31 
   32 required:
   33   - compatible
   34   - reg
   35   - interrupts
   36   - clocks
   37   - resets
   38 
   39 additionalProperties: false
   40 
   41 examples:
   42   - |
   43     #include <dt-bindings/interrupt-controller/irq.h>
   44     aliases {
   45         serial0 = &uart0;
   46     };
   47 
   48     uart0: serial@9c000900 {
   49         compatible = "sunplus,sp7021-uart";
   50         reg = <0x9c000900 0x80>;
   51         interrupt-parent = <&intc>;
   52         interrupts = <53 IRQ_TYPE_LEVEL_HIGH>;
   53         clocks = <&clkc 0x28>;
   54         resets = <&rstc 0x18>;
   55     };
   56 ...

Cache object: e5b7af896124e3de9e127d94cd1aa60d


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