-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
spi: rb4xx: add corresponding device tree documentation
This patch adds the correcsponding MikroTik vendor and device tree documentation Signed-off-by: Christopher Hill <ch6574@gmail.com> Link: https://lore.kernel.org/r/20200521183631.37806-3-ch6574@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
- Loading branch information
Christopher Hill
authored and
Mark Brown
committed
May 22, 2020
1 parent
9a436c6
commit 39690c8
Showing
2 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
36 changes: 36 additions & 0 deletions
36
Documentation/devicetree/bindings/spi/mikrotik,rb4xx-spi.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# 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 | ||
|
||
examples: | ||
- | | ||
spi: spi@1f000000 { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
compatible = "mikrotik,rb4xx-spi"; | ||
reg = <0x1f000000 0x10>; | ||
}; | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters