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