xref: /freebsd/sys/contrib/device-tree/Bindings/spi/socionext,uniphier-spi.yaml (revision d37eb51047221dc3322b34db1038ff3aa533883f)
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  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
35required:
36  - compatible
37  - reg
38  - interrupts
39  - clocks
40  - resets
41  - "#address-cells"
42  - "#size-cells"
43
44unevaluatedProperties: false
45
46examples:
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    };
57