Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

spi: Add Socionext F_OSPI controller bindings

Add devicetree binding documentation for Socionext F_OSPI SPI flash
controller.

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20221124003351.7792-2-hayashi.kunihiko@socionext.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Kunihiko Hayashi and committed by
Mark Brown
bcd58c8c 1b74dd64

+57
+57
Documentation/devicetree/bindings/spi/socionext,f-ospi.yaml
··· 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,f-ospi.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Socionext F_OSPI controller 8 + 9 + description: | 10 + The Socionext F_OSPI is a controller used to interface with flash 11 + memories using the SPI communication interface. 12 + 13 + maintainers: 14 + - Kunihiko Hayashi <hayashi.kunihiko@socionext.com> 15 + 16 + allOf: 17 + - $ref: spi-controller.yaml# 18 + 19 + properties: 20 + compatible: 21 + const: socionext,f-ospi 22 + 23 + reg: 24 + maxItems: 1 25 + 26 + clocks: 27 + maxItems: 1 28 + 29 + num-cs: 30 + minimum: 1 31 + maximum: 4 32 + 33 + required: 34 + - compatible 35 + - reg 36 + - clocks 37 + - "#address-cells" 38 + - "#size-cells" 39 + 40 + unevaluatedProperties: false 41 + 42 + examples: 43 + - | 44 + ospi0: spi@80000000 { 45 + compatible = "socionext,f-ospi"; 46 + reg = <0x80000000 0x1000>; 47 + clocks = <&clks 0>; 48 + num-cs = <1>; 49 + #address-cells = <1>; 50 + #size-cells = <0>; 51 + 52 + flash@0 { 53 + compatible = "spansion,s25fl128s", "jedec,spi-nor"; 54 + reg = <0>; 55 + spi-max-frequency = <50000000>; 56 + }; 57 + };