xref: /freebsd/sys/contrib/device-tree/Bindings/spi/socionext,uniphier-spi.yaml (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*c66ec88fSEmmanuel Vadot%YAML 1.2
3*c66ec88fSEmmanuel Vadot---
4*c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/spi/socionext,uniphier-spi.yaml#
5*c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*c66ec88fSEmmanuel Vadot
7*c66ec88fSEmmanuel Vadottitle: Socionext UniPhier SPI controller
8*c66ec88fSEmmanuel Vadot
9*c66ec88fSEmmanuel Vadotdescription: |
10*c66ec88fSEmmanuel Vadot  UniPhier SoCs have SCSSI which supports SPI single channel.
11*c66ec88fSEmmanuel Vadot
12*c66ec88fSEmmanuel Vadotmaintainers:
13*c66ec88fSEmmanuel Vadot  - Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
14*c66ec88fSEmmanuel Vadot  - Keiji Hayashibara <hayashibara.keiji@socionext.com>
15*c66ec88fSEmmanuel Vadot
16*c66ec88fSEmmanuel VadotallOf:
17*c66ec88fSEmmanuel Vadot  - $ref: spi-controller.yaml#
18*c66ec88fSEmmanuel Vadot
19*c66ec88fSEmmanuel Vadotproperties:
20*c66ec88fSEmmanuel Vadot  "#address-cells": true
21*c66ec88fSEmmanuel Vadot  "#size-cells": true
22*c66ec88fSEmmanuel Vadot
23*c66ec88fSEmmanuel Vadot  compatible:
24*c66ec88fSEmmanuel Vadot    const: socionext,uniphier-scssi
25*c66ec88fSEmmanuel Vadot
26*c66ec88fSEmmanuel Vadot  reg:
27*c66ec88fSEmmanuel Vadot    maxItems: 1
28*c66ec88fSEmmanuel Vadot
29*c66ec88fSEmmanuel Vadot  interrupts:
30*c66ec88fSEmmanuel Vadot    maxItems: 1
31*c66ec88fSEmmanuel Vadot
32*c66ec88fSEmmanuel Vadot  clocks:
33*c66ec88fSEmmanuel Vadot    maxItems: 1
34*c66ec88fSEmmanuel Vadot
35*c66ec88fSEmmanuel Vadot  resets:
36*c66ec88fSEmmanuel Vadot    maxItems: 1
37*c66ec88fSEmmanuel Vadot
38*c66ec88fSEmmanuel Vadotrequired:
39*c66ec88fSEmmanuel Vadot  - compatible
40*c66ec88fSEmmanuel Vadot  - reg
41*c66ec88fSEmmanuel Vadot  - interrupts
42*c66ec88fSEmmanuel Vadot  - clocks
43*c66ec88fSEmmanuel Vadot  - resets
44*c66ec88fSEmmanuel Vadot  - "#address-cells"
45*c66ec88fSEmmanuel Vadot  - "#size-cells"
46*c66ec88fSEmmanuel Vadot
47*c66ec88fSEmmanuel Vadotexamples:
48*c66ec88fSEmmanuel Vadot  - |
49*c66ec88fSEmmanuel Vadot    spi0: spi@54006000 {
50*c66ec88fSEmmanuel Vadot        compatible = "socionext,uniphier-scssi";
51*c66ec88fSEmmanuel Vadot        reg = <0x54006000 0x100>;
52*c66ec88fSEmmanuel Vadot        #address-cells = <1>;
53*c66ec88fSEmmanuel Vadot        #size-cells = <0>;
54*c66ec88fSEmmanuel Vadot        interrupts = <0 39 4>;
55*c66ec88fSEmmanuel Vadot        clocks = <&peri_clk 11>;
56*c66ec88fSEmmanuel Vadot        resets = <&peri_rst 11>;
57*c66ec88fSEmmanuel Vadot    };
58