xref: /linux/Documentation/devicetree/bindings/spi/socionext,f-ospi.yaml (revision 7ae9fb1b7ecbb5d85d07857943f677fd1a559b18)
1*bcd58c8cSKunihiko Hayashi# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*bcd58c8cSKunihiko Hayashi%YAML 1.2
3*bcd58c8cSKunihiko Hayashi---
4*bcd58c8cSKunihiko Hayashi$id: http://devicetree.org/schemas/spi/socionext,f-ospi.yaml#
5*bcd58c8cSKunihiko Hayashi$schema: http://devicetree.org/meta-schemas/core.yaml#
6*bcd58c8cSKunihiko Hayashi
7*bcd58c8cSKunihiko Hayashititle: Socionext F_OSPI controller
8*bcd58c8cSKunihiko Hayashi
9*bcd58c8cSKunihiko Hayashidescription: |
10*bcd58c8cSKunihiko Hayashi  The Socionext F_OSPI is a controller used to interface with flash
11*bcd58c8cSKunihiko Hayashi  memories using the SPI communication interface.
12*bcd58c8cSKunihiko Hayashi
13*bcd58c8cSKunihiko Hayashimaintainers:
14*bcd58c8cSKunihiko Hayashi  - Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
15*bcd58c8cSKunihiko Hayashi
16*bcd58c8cSKunihiko HayashiallOf:
17*bcd58c8cSKunihiko Hayashi  - $ref: spi-controller.yaml#
18*bcd58c8cSKunihiko Hayashi
19*bcd58c8cSKunihiko Hayashiproperties:
20*bcd58c8cSKunihiko Hayashi  compatible:
21*bcd58c8cSKunihiko Hayashi    const: socionext,f-ospi
22*bcd58c8cSKunihiko Hayashi
23*bcd58c8cSKunihiko Hayashi  reg:
24*bcd58c8cSKunihiko Hayashi    maxItems: 1
25*bcd58c8cSKunihiko Hayashi
26*bcd58c8cSKunihiko Hayashi  clocks:
27*bcd58c8cSKunihiko Hayashi    maxItems: 1
28*bcd58c8cSKunihiko Hayashi
29*bcd58c8cSKunihiko Hayashi  num-cs:
30*bcd58c8cSKunihiko Hayashi    minimum: 1
31*bcd58c8cSKunihiko Hayashi    maximum: 4
32*bcd58c8cSKunihiko Hayashi
33*bcd58c8cSKunihiko Hayashirequired:
34*bcd58c8cSKunihiko Hayashi  - compatible
35*bcd58c8cSKunihiko Hayashi  - reg
36*bcd58c8cSKunihiko Hayashi  - clocks
37*bcd58c8cSKunihiko Hayashi  - "#address-cells"
38*bcd58c8cSKunihiko Hayashi  - "#size-cells"
39*bcd58c8cSKunihiko Hayashi
40*bcd58c8cSKunihiko HayashiunevaluatedProperties: false
41*bcd58c8cSKunihiko Hayashi
42*bcd58c8cSKunihiko Hayashiexamples:
43*bcd58c8cSKunihiko Hayashi  - |
44*bcd58c8cSKunihiko Hayashi    ospi0: spi@80000000 {
45*bcd58c8cSKunihiko Hayashi        compatible = "socionext,f-ospi";
46*bcd58c8cSKunihiko Hayashi        reg = <0x80000000 0x1000>;
47*bcd58c8cSKunihiko Hayashi        clocks = <&clks 0>;
48*bcd58c8cSKunihiko Hayashi        num-cs = <1>;
49*bcd58c8cSKunihiko Hayashi        #address-cells = <1>;
50*bcd58c8cSKunihiko Hayashi        #size-cells = <0>;
51*bcd58c8cSKunihiko Hayashi
52*bcd58c8cSKunihiko Hayashi        flash@0 {
53*bcd58c8cSKunihiko Hayashi            compatible = "spansion,s25fl128s", "jedec,spi-nor";
54*bcd58c8cSKunihiko Hayashi            reg = <0>;
55*bcd58c8cSKunihiko Hayashi            spi-max-frequency = <50000000>;
56*bcd58c8cSKunihiko Hayashi        };
57*bcd58c8cSKunihiko Hayashi    };
58