ee8d422c91
Cleanup examples: - use 4-space indentation (for cases when it is neither 4 not 2 space), - drop redundant blank lines, - use lowercase hex. No functional impact except adjusting to preferred coding style. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> # renesas Reviewed-by: Andrew Jeffery <andrew@aj.id.au> # aspeed Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> # meson Link: https://lore.kernel.org/r/20230124083342.34869-2-krzysztof.kozlowski@linaro.org Signed-off-by: Mark Brown <broonie@kernel.org>
55 lines
1.2 KiB
YAML
55 lines
1.2 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
|
|
# Copyright 2019 BayLibre, SAS
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/spi/amlogic,meson6-spifc.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Amlogic Meson SPI Flash Controller
|
|
|
|
maintainers:
|
|
- Neil Armstrong <neil.armstrong@linaro.org>
|
|
|
|
allOf:
|
|
- $ref: spi-controller.yaml#
|
|
|
|
description: |
|
|
The Meson SPIFC is a controller optimized for communication with SPI
|
|
NOR memories, without DMA support and a 64-byte unified transmit /
|
|
receive buffer.
|
|
|
|
properties:
|
|
compatible:
|
|
enum:
|
|
- amlogic,meson6-spifc # SPI Flash Controller on Meson6 and compatible SoCs
|
|
- amlogic,meson-gxbb-spifc # SPI Flash Controller on GXBB and compatible SoCs
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
clocks:
|
|
maxItems: 1
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- clocks
|
|
|
|
unevaluatedProperties: false
|
|
|
|
examples:
|
|
- |
|
|
spi@c1108c80 {
|
|
compatible = "amlogic,meson6-spifc";
|
|
reg = <0xc1108c80 0x80>;
|
|
clocks = <&clk81>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
flash: flash@0 {
|
|
compatible = "spansion,m25p80", "jedec,spi-nor";
|
|
reg = <0>;
|
|
spi-max-frequency = <40000000>;
|
|
};
|
|
};
|