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