Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 <juhosg@openwrt.org> |
| 11 | - Bert Vermeulen <bert@biot.com> |
| 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 | unevaluatedProperties: false |
| 28 | |
| 29 | examples: |
| 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 | ... |