xref: /freebsd/sys/contrib/device-tree/Bindings/spi/mikrotik,rb4xx-spi.yaml (revision e32fecd0c2c3ee37c47ee100f169e7eb0282a873)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/spi/mikrotik,rb4xx-spi.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: MikroTik RB4xx series SPI master
8
9maintainers:
10  - Gabor Juhos <juhosg@openwrt.org>
11  - Bert Vermeulen <bert@biot.com>
12
13allOf:
14  - $ref: "spi-controller.yaml#"
15
16properties:
17  compatible:
18    const: mikrotik,rb4xx-spi
19
20  reg:
21    maxItems: 1
22
23required:
24  - compatible
25  - reg
26
27unevaluatedProperties: false
28
29examples:
30  - |
31    spi: spi@1f000000 {
32        #address-cells = <1>;
33        #size-cells = <0>;
34        compatible = "mikrotik,rb4xx-spi";
35        reg = <0x1f000000 0x10>;
36    };
37
38...
39