realtek,rtl-spi.yaml 809 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/spi/realtek,rtl-spi.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Realtek RTL838x/RTL839x SPI controller

maintainers:
  - Bert Vermeulen <bert@biot.com>
  - Birger Koblitz <mail@birger-koblitz.de>

allOf:
  - $ref: "spi-controller.yaml#"

properties:
  compatible:
18 19 20 21 22 23
    enum:
      - realtek,rtl8380-spi
      - realtek,rtl8382-spi
      - realtek,rtl8391-spi
      - realtek,rtl8392-spi
      - realtek,rtl8393-spi
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41

  reg:
    maxItems: 1

required:
  - compatible
  - reg

unevaluatedProperties: false

examples:
  - |
    spi: spi@1200 {
        compatible = "realtek,rtl8382-spi";
        reg = <0x1200 0x100>;
        #address-cells = <1>;
        #size-cells = <0>;
    };