1295fca79SMiquel Raynal# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2295fca79SMiquel Raynal%YAML 1.2 3295fca79SMiquel Raynal--- 4295fca79SMiquel Raynal$id: http://devicetree.org/schemas/spi/mxicy,mx25f0a-spi.yaml# 5295fca79SMiquel Raynal$schema: http://devicetree.org/meta-schemas/core.yaml# 6295fca79SMiquel Raynal 7dd3cb467SAndrew Lunntitle: Macronix SPI controller 8295fca79SMiquel Raynal 9295fca79SMiquel Raynalmaintainers: 10295fca79SMiquel Raynal - Miquel Raynal <miquel.raynal@bootlin.com> 11295fca79SMiquel Raynal 12295fca79SMiquel RaynalallOf: 13*99a7fa0eSKrzysztof Kozlowski - $ref: spi-controller.yaml# 14295fca79SMiquel Raynal 15295fca79SMiquel Raynalproperties: 16295fca79SMiquel Raynal compatible: 17295fca79SMiquel Raynal const: mxicy,mx25f0a-spi 18295fca79SMiquel Raynal 19295fca79SMiquel Raynal reg: 20295fca79SMiquel Raynal minItems: 2 21295fca79SMiquel Raynal maxItems: 2 22295fca79SMiquel Raynal 23295fca79SMiquel Raynal reg-names: 24295fca79SMiquel Raynal items: 25295fca79SMiquel Raynal - const: regs 26295fca79SMiquel Raynal - const: dirmap 27295fca79SMiquel Raynal 28295fca79SMiquel Raynal interrupts: 29295fca79SMiquel Raynal maxItems: 1 30295fca79SMiquel Raynal 31295fca79SMiquel Raynal clocks: 32295fca79SMiquel Raynal minItems: 3 33295fca79SMiquel Raynal maxItems: 3 34295fca79SMiquel Raynal 35295fca79SMiquel Raynal clock-names: 36295fca79SMiquel Raynal items: 37295fca79SMiquel Raynal - const: send_clk 38295fca79SMiquel Raynal - const: send_dly_clk 39295fca79SMiquel Raynal - const: ps_clk 40295fca79SMiquel Raynal 41475e826bSMiquel Raynal nand-ecc-engine: 42475e826bSMiquel Raynal description: NAND ECC engine used by the SPI controller in order to perform 43475e826bSMiquel Raynal on-the-fly correction when using a SPI-NAND memory. 44475e826bSMiquel Raynal $ref: /schemas/types.yaml#/definitions/phandle 45475e826bSMiquel Raynal 46295fca79SMiquel Raynalrequired: 47295fca79SMiquel Raynal - compatible 48295fca79SMiquel Raynal - reg 49295fca79SMiquel Raynal - reg-names 50295fca79SMiquel Raynal - clocks 51295fca79SMiquel Raynal - clock-names 52295fca79SMiquel Raynal 53295fca79SMiquel RaynalunevaluatedProperties: false 54295fca79SMiquel Raynal 55295fca79SMiquel Raynalexamples: 56295fca79SMiquel Raynal - | 57295fca79SMiquel Raynal spi@43c30000 { 58295fca79SMiquel Raynal compatible = "mxicy,mx25f0a-spi"; 59295fca79SMiquel Raynal reg = <0x43c30000 0x10000>, <0xa0000000 0x20000000>; 60295fca79SMiquel Raynal reg-names = "regs", "dirmap"; 61295fca79SMiquel Raynal clocks = <&clkwizard 0>, <&clkwizard 1>, <&clkc 18>; 62295fca79SMiquel Raynal clock-names = "send_clk", "send_dly_clk", "ps_clk"; 63295fca79SMiquel Raynal #address-cells = <1>; 64295fca79SMiquel Raynal #size-cells = <0>; 65295fca79SMiquel Raynal }; 66