1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/spi/realtek,rtl-spi.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Realtek RTL838x/RTL839x SPI controller
8
9maintainers:
10  - Bert Vermeulen <bert@biot.com>
11  - Birger Koblitz <mail@birger-koblitz.de>
12
13allOf:
14  - $ref: "spi-controller.yaml#"
15
16properties:
17  compatible:
18    oneOf:
19      - const: realtek,rtl8380-spi
20      - const: realtek,rtl8382-spi
21      - const: realtek,rtl8391-spi
22      - const: realtek,rtl8392-spi
23      - const: realtek,rtl8393-spi
24
25  reg:
26    maxItems: 1
27
28required:
29  - compatible
30  - reg
31
32unevaluatedProperties: false
33
34examples:
35  - |
36    spi: spi@1200 {
37        compatible = "realtek,rtl8382-spi";
38        reg = <0x1200 0x100>;
39        #address-cells = <1>;
40        #size-cells = <0>;
41    };
42