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/realtek,rtl-spi.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Realtek RTL838x/RTL839x SPI controller |
| 8 | |
| 9 | maintainers: |
| 10 | - Bert Vermeulen <bert@biot.com> |
| 11 | - Birger Koblitz <mail@birger-koblitz.de> |
| 12 | |
| 13 | allOf: |
| 14 | - $ref: spi-controller.yaml# |
| 15 | |
| 16 | properties: |
| 17 | compatible: |
| 18 | enum: |
| 19 | - realtek,rtl8380-spi |
| 20 | - realtek,rtl8382-spi |
| 21 | - realtek,rtl8391-spi |
| 22 | - realtek,rtl8392-spi |
| 23 | - realtek,rtl8393-spi |
| 24 | |
| 25 | reg: |
| 26 | maxItems: 1 |
| 27 | |
| 28 | required: |
| 29 | - compatible |
| 30 | - reg |
| 31 | |
| 32 | unevaluatedProperties: false |
| 33 | |
| 34 | examples: |
| 35 | - | |
| 36 | spi: spi@1200 { |
| 37 | compatible = "realtek,rtl8382-spi"; |
| 38 | reg = <0x1200 0x100>; |
| 39 | #address-cells = <1>; |
| 40 | #size-cells = <0>; |
| 41 | }; |