Skip to content

Commit 39690c8

Browse files
ch6574broonie
authored andcommitted
spi: rb4xx: add corresponding device tree documentation
This patch adds the correcsponding MikroTik vendor and device tree documentation Signed-off-by: Christopher Hill <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 9a436c6 commit 39690c8

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
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+
7+
title: MikroTik RB4xx series SPI master
8+
9+
maintainers:
10+
- Gabor Juhos <[email protected]>
11+
- Bert Vermeulen <[email protected]>
12+
13+
allOf:
14+
- $ref: "spi-controller.yaml#"
15+
16+
properties:
17+
compatible:
18+
const: mikrotik,rb4xx-spi
19+
20+
reg:
21+
maxItems: 1
22+
23+
required:
24+
- compatible
25+
- reg
26+
27+
examples:
28+
- |
29+
spi: spi@1f000000 {
30+
#address-cells = <1>;
31+
#size-cells = <0>;
32+
compatible = "mikrotik,rb4xx-spi";
33+
reg = <0x1f000000 0x10>;
34+
};
35+
36+
...

Documentation/devicetree/bindings/vendor-prefixes.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -633,6 +633,8 @@ patternProperties:
633633
description: Microsoft Corporation
634634
"^mikroe,.*":
635635
description: MikroElektronika d.o.o.
636+
"^mikrotik,.*":
637+
description: MikroTik
636638
"^miniand,.*":
637639
description: Miniand Tech
638640
"^minix,.*":

0 commit comments

Comments
 (0)