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/socionext,uniphier-spi.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Socionext UniPhier SPI controller |
| 8 | |
| 9 | description: | |
| 10 | UniPhier SoCs have SCSSI which supports SPI single channel. |
| 11 | |
| 12 | maintainers: |
| 13 | - Kunihiko Hayashi <hayashi.kunihiko@socionext.com> |
| 14 | - Keiji Hayashibara <hayashibara.keiji@socionext.com> |
| 15 | |
| 16 | allOf: |
| 17 | - $ref: spi-controller.yaml# |
| 18 | |
| 19 | properties: |
| 20 | compatible: |
| 21 | const: socionext,uniphier-scssi |
| 22 | |
| 23 | reg: |
| 24 | maxItems: 1 |
| 25 | |
| 26 | interrupts: |
| 27 | maxItems: 1 |
| 28 | |
| 29 | clocks: |
| 30 | maxItems: 1 |
| 31 | |
| 32 | resets: |
| 33 | maxItems: 1 |
| 34 | |
| 35 | required: |
| 36 | - compatible |
| 37 | - reg |
| 38 | - interrupts |
| 39 | - clocks |
| 40 | - resets |
| 41 | - "#address-cells" |
| 42 | - "#size-cells" |
| 43 | |
| 44 | unevaluatedProperties: false |
| 45 | |
| 46 | examples: |
| 47 | - | |
| 48 | spi0: spi@54006000 { |
| 49 | compatible = "socionext,uniphier-scssi"; |
| 50 | reg = <0x54006000 0x100>; |
| 51 | #address-cells = <1>; |
| 52 | #size-cells = <0>; |
| 53 | interrupts = <0 39 4>; |
| 54 | clocks = <&peri_clk 11>; |
| 55 | resets = <&peri_rst 11>; |
| 56 | }; |