xref: /freebsd/sys/contrib/device-tree/Bindings/spi/realtek,rtl-spi.yaml (revision af23369a6deaaeb612ab266eb88b8bb8d560c322)
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    enum:
19      - realtek,rtl8380-spi
20      - realtek,rtl8382-spi
21      - realtek,rtl8391-spi
22      - realtek,rtl8392-spi
23      - 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