mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-03 17:51:23 +00:00

Cleanup by removing unneeded quotes from refs and redundant blank lines. No functional impact except adjusting to preferred coding style. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Andrew Jeffery <andrew@aj.id.au> # aspeed Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> # meson Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com> # st Reviewed-by: Heiko Stuebner <heiko@sntech.de> # rockchip Reviewed-by: Serge Semin <fancer.lancer@gmail.com> # synopsys Acked-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20230124083342.34869-1-krzysztof.kozlowski@linaro.org Signed-off-by: Mark Brown <broonie@kernel.org>
66 lines
1.3 KiB
YAML
66 lines
1.3 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/spi/mxicy,mx25f0a-spi.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Macronix SPI controller
|
|
|
|
maintainers:
|
|
- Miquel Raynal <miquel.raynal@bootlin.com>
|
|
|
|
allOf:
|
|
- $ref: spi-controller.yaml#
|
|
|
|
properties:
|
|
compatible:
|
|
const: mxicy,mx25f0a-spi
|
|
|
|
reg:
|
|
minItems: 2
|
|
maxItems: 2
|
|
|
|
reg-names:
|
|
items:
|
|
- const: regs
|
|
- const: dirmap
|
|
|
|
interrupts:
|
|
maxItems: 1
|
|
|
|
clocks:
|
|
minItems: 3
|
|
maxItems: 3
|
|
|
|
clock-names:
|
|
items:
|
|
- const: send_clk
|
|
- const: send_dly_clk
|
|
- const: ps_clk
|
|
|
|
nand-ecc-engine:
|
|
description: NAND ECC engine used by the SPI controller in order to perform
|
|
on-the-fly correction when using a SPI-NAND memory.
|
|
$ref: /schemas/types.yaml#/definitions/phandle
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- reg-names
|
|
- clocks
|
|
- clock-names
|
|
|
|
unevaluatedProperties: false
|
|
|
|
examples:
|
|
- |
|
|
spi@43c30000 {
|
|
compatible = "mxicy,mx25f0a-spi";
|
|
reg = <0x43c30000 0x10000>, <0xa0000000 0x20000000>;
|
|
reg-names = "regs", "dirmap";
|
|
clocks = <&clkwizard 0>, <&clkwizard 1>, <&clkc 18>;
|
|
clock-names = "send_clk", "send_dly_clk", "ps_clk";
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
};
|