brintos

brintos / linux-shallow public Read only

0
0
Text · 1.3 KiB · 221fe6e Raw
66 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/spi/mxicy,mx25f0a-spi.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Macronix SPI controller8 9maintainers:10  - Miquel Raynal <miquel.raynal@bootlin.com>11 12allOf:13  - $ref: spi-controller.yaml#14 15properties:16  compatible:17    const: mxicy,mx25f0a-spi18 19  reg:20    minItems: 221    maxItems: 222 23  reg-names:24    items:25      - const: regs26      - const: dirmap27 28  interrupts:29    maxItems: 130 31  clocks:32    minItems: 333    maxItems: 334 35  clock-names:36    items:37      - const: send_clk38      - const: send_dly_clk39      - const: ps_clk40 41  nand-ecc-engine:42    description: NAND ECC engine used by the SPI controller in order to perform43      on-the-fly correction when using a SPI-NAND memory.44    $ref: /schemas/types.yaml#/definitions/phandle45 46required:47  - compatible48  - reg49  - reg-names50  - clocks51  - clock-names52 53unevaluatedProperties: false54 55examples:56  - |57    spi@43c30000 {58      compatible = "mxicy,mx25f0a-spi";59      reg = <0x43c30000 0x10000>, <0xa0000000 0x20000000>;60      reg-names = "regs", "dirmap";61      clocks = <&clkwizard 0>, <&clkwizard 1>, <&clkc 18>;62      clock-names = "send_clk", "send_dly_clk", "ps_clk";63      #address-cells = <1>;64      #size-cells = <0>;65    };66