# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/spi/mikrotik,rb4xx-spi.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: MikroTik RB4xx series SPI master

maintainers:
  - Gabor Juhos <juhosg@openwrt.org>
  - Bert Vermeulen <bert@biot.com>

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

properties:
  compatible:
    const: mikrotik,rb4xx-spi

  reg:
    maxItems: 1

required:
  - compatible
  - reg

unevaluatedProperties: false

examples:
  - |
    spi: spi@1f000000 {
        #address-cells = <1>;
        #size-cells = <0>;
        compatible = "mikrotik,rb4xx-spi";
        reg = <0x1f000000 0x10>;
    };

...
